summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2013-04-03pass argb32 pixmaps from vcl to canvas, avoiding costly x11 roundtripsRadek Doulik6-9/+60
- fixes also problem with emf+ rendering for slideshow Change-Id: Icb894d3f37b29f23d3f267c944d827eefbf47fda
2013-04-03fix canvas bitmap rendering (argb32 pixmaps) fixes color issue in n#780830Radek Doulik6-72/+97
Change-Id: I5242bbb171ba21da43e535255b7e9dd73c1d4930
2013-03-16Resolves: rhbz#906137 slide show inverts outputsCaolán McNamara1-10/+6
we go to some effort to determine the right value of ret and then throw it away and return 0 regression since 4a7e3482912c90b73d6e12c82bcd9ce31975e3f1 Change-Id: I652cfbe44fdab6560c1c8dc8fe25d6211b5357cb (cherry picked from commit 67aae198f80195e77bd62e7675a372312075b126) Reviewed-on: https://gerrit.libreoffice.org/2743 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com> Related: rhbz#906137 g_module_symbol returned nothing for gdk_screen_get_primary_monitor but osl_getAsciiFunctionSymbol does the right thing Change-Id: Ibf1a17724a9393d95c4fbe0d26aa82148eea33a9 Reviewed-on: https://gerrit.libreoffice.org/2744 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-on: https://gerrit.libreoffice.org/2745 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be>
2013-03-02Resolves: fdo#61656 use order and orientation combobox select pos as indexCaolán McNamara1-9/+3
not the associated entry data, which isn't set for these simple 1 to 1 position -> data comboboxes Change-Id: I0c73786bca00684cedc4672d0ad5e61d0c1f9bd7 (cherry picked from commit 9c7cf46fbf01f62ea9520c4ba1ec4748fe62b20b) Reviewed-on: https://gerrit.libreoffice.org/2490 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-26Don't abort when myPoints is emptyLionel Elie Mamane1-1/+2
Change-Id: I6bbb2a1cce1c89b94d027acf94fd712706bff422 Reviewed-on: https://gerrit.libreoffice.org/2425 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-02-25n#780748: Basic EMF+ implementation.Muthu Subramanian2-1/+215
* Minimalistic implementation of EMF+ export * Currently exports transparent polygons. (cherry picked from commit f1fee2a65c8c1968798e1246a4b455d9160d8eb9) Change-Id: I0c24c29b77c50f898fe1b8ce1904179292a1bb72 Reviewed-on: https://gerrit.libreoffice.org/2395 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-25fdo#59405 fdo#60638: EMFWriter::ImplWrite: write EMF_PLUS "comments"Michael Stahl1-1/+14
When editing the Visio OLE object, there is a "preview" file generated, which is apparently an EMF file (strangely initially inserting the Visio object seems to result in a totally unproblematic WMF file). The EMF file apparently has almost its entire content stored in MetaCommentAction of type "EMF_PLUS", which is thrown away when writing the file again. Change-Id: I77a08454da673c1825aaa8421606737e7e8bc82c (cherry picked from commit bf8450cfa2e9e899c716fbddadd7d5485aefe520) Reviewed-on: https://gerrit.libreoffice.org/2396 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-25Resolves: fdo#60764 sort options can grow too wide to fit on screenCaolán McNamara7-1/+60
(cherry picked from commit 7c760f34a00462d5904d0e2eed4132761c2e51c5) Conflicts: sc/uiconfig/scalc/ui/sortoptionspage.ui vcl/inc/vcl/lstbox.hxx vcl/source/control/lstbox.cxx Change-Id: Id3aed9ef251f61710b43ceda1a28c6895e91872f Reviewed-on: https://gerrit.libreoffice.org/2392 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-25Resolves: rhbz#895196 sc filter float a11y parent of itself loop/recurseCaolán McNamara3-3/+18
Change-Id: I3679e7cfcd32a78b40c6a7b803c92ff0abe6f32c (cherry picked from commit 1b13c952f50aab2b907dab13395ab23d0955c238) Reviewed-on: https://gerrit.libreoffice.org/2261 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-25perf: avoid scaling images to the same size at some cost.Michael Meeks1-1/+3
Change-Id: Icae65a8bf48f76801c536607055be066be0bd49f (cherry picked from commit cb8fcf5a169f030827b1150c50b6ed284717e485) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2013-02-21Related: fdo#60920 various efforts to consistently apply HIG rulesCaolán McNamara1-50/+53
(cherry picked from commit 76bc43823a53d76e49260a601e893bc1a791fb03) Change-Id: Ic55935d449cf69eb69da1be5bdb44d93f56f7d88 Reviewed-on: https://gerrit.libreoffice.org/2301 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-16Resolves: rhbz#910176 cannot select directory with gnome folder pickerCaolán McNamara1-2/+11
<< gtk documentation gtk_file_chooser_get_current_folder_uri () Gets the current folder of chooser as an URI. Note that this is the folder that the file chooser is currently displaying ... which is not the same as the currently-selected folder if the chooser is in GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode ... to get the currently-selected folder in that mode, use gtk_file_chooser_get_uri() as the usual way to get the selection. >> << offapi documentation XFolderPicker getDisplayDirectory: Returns the root directory that the FolderPicker is showing. getDirectory Returns the selected directory >> so getDisplayDirectory <-> gtk_file_chooser_get_current_folder_uri and getDirectory <-> gtk_file_chooser_get_uri Change-Id: Iaa5ab16a250cd59fe5e8bd02149298eef6d1dec2 (cherry picked from commit 914de32b27c7fe164b21f9247275ee3117c0864b) Reviewed-on: https://gerrit.libreoffice.org/2170 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-11resolve fdo#60450 - Printer list is missing its border in Print dialogCaolán McNamara2-14/+21
Reviewed-on: https://gerrit.libreoffice.org/2043 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f10ba07935951e6c74663a35de9a79b7d66beb37) Conflicts: vcl/source/window/builder.cxx allow a custom border property for drawing areas (cherry picked from commit e258b760563dc2a69a1cc8b0c8b7b4c15a2774ad) Change-Id: I2e28b9f9d52bcb01b04f98d39d12b6d8a627bec5 1e5777e5dcc04d0aa53d1ac4b9091f310ae59035 Reviewed-on: https://gerrit.libreoffice.org/2052 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-06implement spread button layoutCaolán McNamara2-54/+155
Change-Id: Ia17d3f4d14319adec6b0b20dced5daf5b8018c36 (cherry picked from commit 5dc0c03f797e53aef7411c26782b6d39b7e93d0c) Resolves: fdo#59767 detect outlier widths and exclude from size normalization For non-homogeneous (the default) button boxes we want in general to give all buttons the same width as the max button width. But if we detect that certain buttons are > 1.5 the average button width, then leave those outliers at their natural size and set the rest of the buttons to the max width of the remainder. (cherry picked from commit 6e81082dbb2d16f0e61527c5ad13f91d49828125) Conflicts: vcl/source/window/layout.cxx Change-Id: Ice514e741e3a7725d69e150e5752158a1c267141 Reviewed-on: https://gerrit.libreoffice.org/1973 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-03fdo#54629 MultiSalLayout::GetBoundRect always uses level 0 fallback fontCaolán McNamara2-27/+0
...in X11SalGraphics::GetGlyphBoundRect In MultiSalLayout::GetBoundRect we loop through each fallback font and union each level's GetBoundRect to get the result, which seems reasonable, except that for each level that means a call to SalLayout::GetBoundRect which calls X11SalGraphics::GetGlyphBoundRect. Those sublevel SalLayouts don't know that they are sublevels so they never set the level bits on their glyphs. Which results in X11SalGraphics::GetGlyphBoundRect always searching for that glyph in the level 0 font, so there's a mismatch between the font the SalLayout's are created to use and the font that gets used. Now, SalLayout::GetBoundRect is a fairly simple thing, it just calls GetNextGlyphs 1 by 1 and X11SalGraphics::GetGlyphBoundRect on the result of that. So I *think* that if we remove the specialized MultiSalLayout::GetBoundRect in favour of the default implementation, then because MultiSalLayout::GetNextGlyphs is specialized to do-the-right-thing and set up the glyph ids correctly, then we bubble the ids down to X11SalGraphics::GetGlyphBoundRect correctly to get it to use the right font and we get the correct bounding size. defb4d60a2d22fd36a0ff3f077faa6a0932b45a4 defb4d60a2d22fd36a0ff3f077faa6a0932b45a4 Change-Id: Idefb4d60a2d22fd36a0ff3f077faa6a0932b45a4 Reviewed-on: https://gerrit.libreoffice.org/1907 Tested-by: Lior Kaplan <kaplanlior@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-30fdo#44582 fixing horizontal scroll bar in sub windowsAbdulaziz A Alayed1-1/+6
Change-Id: Ifea57dec77c5b23771684a1e46267f8431478075 Reviewed-on: https://gerrit.libreoffice.org/1806 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/1908 Tested-by: Lior Kaplan <kaplanlior@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-29Do not call putenv with a temporary string argumentStephan Bergmann1-10/+6
These bad calls to putenv suddenly caused the buildIdFile string (macro-expanded from bootstraprc's UserInstallation) in cleanExtensionCache (desktop/source/app/app.cxx) to contain nonsense at least in a local libreoffice-4-0-0 of mine, as getenv("UserInstallation") started to return some non-null pointer pointing to garbage. Change-Id: Ib93fd4e1caef016bd0e00bf09800b9532824ac4b (cherry picked from commit d841273ba54b173020aa8da18ba7841cf950c13c) Reviewed-on: https://gerrit.libreoffice.org/1917 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-01-25Resolves: fdo#59422 if loading a ll-TT trans succeeds, don't fallback to llCaolán McNamara1-0/+1
Change-Id: I169d9e95a2ac1f22bc94e46781bfcee07b133ad4 (cherry picked from commit fbfba66ac4990875e90f7af56113ca453d83f069) Reviewed-on: https://gerrit.libreoffice.org/1855 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-01-23Fix fdo#59616 - ensure BitmapEx has same-sized subbitmapsThorsten Behrens1-0/+18
Lots of code relies on the fact that the two bitmaps inside a BitmapEx actually have the same size. Enforce that convention during import. Change-Id: I436ccc33b06c627cd6347747d22c24bfaf7ca932
2013-01-22Translate keyboard shortcuts also for LinuxMartin Srebotnjak1-0/+36
Change-Id: I4d2f85106045a22be61c6b42fad941e4d4cf88d5 Signed-off-by: Petr Mladek <pmladek@suse.cz>
2013-01-21Add Asturian, Slovenian, and Spanish translations of keymanes for WindowsPetr Mladek1-0/+60
Asturian by Xuacu <xuacusk8 at gmail dot com> Spanish by Adolfo Jayme Barrientos <fitoschido at ubuntu dot com> Slovenian by Martin Srebotnjak <miles at filmsi dot net> Change-Id: I29387f5908ea456abc5c464a03cc74c718ae6b74 Reviewed-on: https://gerrit.libreoffice.org/1793 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-01-17Personas: Clear the BitmapEx first, so that we can switch off Personas.Jan Holesovsky2-10/+11
[Also rename mpPersona*Bitmap -> maPersona*Bitmap, it is not a pointer.] Change-Id: I93cc56b1f30c4fe966b8de87b766e820d9e2cefa Reviewed-on: https://gerrit.libreoffice.org/1741 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-17Personas: Fix fdo#59230 - make Personas fully work in non-NWF case too.Jan Holesovsky2-2/+7
Change-Id: I19a475f198fcb24c4d66134eb67da719fc99099e Reviewed-on: https://gerrit.libreoffice.org/1740 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-17Personas: Fix one more potential crash.Jan Holesovsky1-6/+7
Change-Id: Ib7aca26c34aa8484e8c71873805ca8e8812526a7 Reviewed-on: https://gerrit.libreoffice.org/1739 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-17Personas: Fix fdo#59208 - get rid of artifacts when we run out of bitmap.Jan Holesovsky2-0/+3
So far I am using the same color that is used for the workspace; should it be a problem, we can use a different color. Change-Id: I06fde7f31a9d37d2e387a7e3fd0b6d3d33f8d6e6 Reviewed-on: https://gerrit.libreoffice.org/1742 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-16fdo#54165: Add key replacement names for Estonian (Patch by: Mihkel Tõnnov)Jesús Corrius1-0/+12
Change-Id: I6cb2eddf3fa2fbd492214fd092b394227d1e52c0 Reviewed-on: https://gerrit.libreoffice.org/1696 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-14Resolves: fdo#58324 keep both halves of surrogate pairs if glyph isn't foundCaolán McNamara1-2/+12
Change-Id: I8fda443bb224a7a99b992611221a65e9869da8b9 Reviewed-on: https://gerrit.libreoffice.org/1676 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-14export cleaned up dotted version in environment and GtkWindow user-data.Michael Meeks4-5/+14
Change-Id: If865127a9a5560f4b3636fb870699e2f3bac0e83 Signed-off-by: Noel Power <noel.power@suse.com>
2013-01-14fix crash with new personas when notifying windowsMarkus Mohrhard1-1/+5
Change-Id: I41e4c747c4662fb066746c0ca87d17ea6742080e Reviewed-on: https://gerrit.libreoffice.org/1658 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-14split out the ComboBox code that determines the positioning of subwidgetsCaolán McNamara2-45/+73
and re-use it to get a better calculation of the optimal size of a widget, rather than taking the current position of the subedit the upshot of this is that with CTL and/or CJK mode enabled in... a) calc, then the format->cells font dialog doesn't have squashed font size and font style listboxes b) writer, the 10.5 default size for CJK doesn't have part of the .5 clipped off it the calcComboBoxDropDownComponentBounds code should be entirely equivalent to the existing ::Resize calculation given the same input, we just call it with effectively unbounded available size in the GetOptimalSize case to find the desired margins around the subedit field (cherry picked from commit d19eab221f168aed12249ffc8a36a9f1aca5a94e) Change-Id: I85cb3ff98f23d21d7cfdcc28188e36616a19b5e8 Reviewed-on: https://gerrit.libreoffice.org/1657 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-11Personas: As Michael suggested, use BitmapEx instead of BitmapEx*.Jan Holesovsky4-38/+30
Change-Id: Ib1d84b37d452785d12502095c0eedaac4a25fb6b (cherry picked from commit 0721b5b83e34de1e2fcb320d6a7deae1ad109d61) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-11Resolves: fdo#58301 make sure ScrollBar OptimalSize is up to dateCaolán McNamara2-3/+11
if the scrollbar sizes haven't been calculated yet then the optimalsize will be wrong, so it's necessary to enforce calculating them in that case. (cherry picked from commit f41a2804dd4a23352b7af2dd28c03df02debfb13) Change-Id: I12e95c3594ffbb508c7f79bd512e07aaf44a6eab Reviewed-on: https://gerrit.libreoffice.org/1630 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2013-01-10Resolves: fdo#59131 resolve default backend on printer->setupCaolán McNamara3-2/+10
For setting permanent defaults via spadmin we don't want to resolve the default backend on saving "default", this happens during the print initialization stuff. But when we tweak the printer settings for a single print job and reset back to default, we need to resolve that to what backend we want Change-Id: Iac2370624b6d248c9658fb0fbc2f2d449849d81a (cherry picked from commit 9c4d77f22d58f5b500c95f65a431628a8d8d6e6e) Reviewed-on: https://gerrit.libreoffice.org/1609 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-08Personas: Broadcast the information that the Persona has changed.Jan Holesovsky1-0/+1
Change-Id: Ic563204c1a1a64d315e3e73dff30b6a6d05cfd87 Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Fix build on linux.Jan Holesovsky2-4/+4
Change-Id: I5753a822e9f18d1afa831ece6134e030f88ad47f Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Personas: Fix copy constructor + always reference the Application settingsJan Holesovsky3-8/+8
...to avoid reading the bitmaps more than once. Change-Id: I7577f5df96a5a28f1ac1f800867af5eee298663e Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Kill workaround of i#75264 - it breaks drawing of a perfectly fine bitmap.Jan Holesovsky1-65/+0
The case where it broke was a bitmap that is very wide (3000 pixels), but not too tall - and the small height satisfied the aPosAry.mnDestHeight > 3*mnOutHeight condition. Such workarounds that are triggered only in very rare cases are a bad idea in general, unless there is a unit test. I've tested with the document from i#75264, and it works for me - there were some improvements in the bitmap scaling, hopefully the root cause is fixed by that, or maybe I just have more memory; who knows. Change-Id: I4b7a749378ef35469db78dfc680fc77f87bc4382 Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Personas: Make the Persona working in the top docking area too.Jan Holesovsky1-2/+26
Change-Id: I1d3986675ceb7a2748a77b736beb8a654a514e0d Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Personas: Make the Persona in the menubar working.Jan Holesovsky2-18/+45
Change-Id: I21a45159f6b27aa7beff5ec07530b14480675729 Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Fix base location of the bitmap Wallpaper computation.Jan Holesovsky1-2/+2
The nX / nY is correct for clipping operation, but not for base; visible with WALLPAPER_TOPRIGHT style. Change-Id: I8de92b68b822a156bc376201e97ce458d1a6ba08 Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Personas: Read the bitmaps in StyleSettings.Jan Holesovsky2-3/+116
Change-Id: I52b67c82f69059a7d2babf1b49e59f27062cc02c Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Make LO buildable again after the GraphicFilter move.Jan Holesovsky19-280/+243
Conflicts: svtools/Library_svt.mk q# Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08Move GraphicFilter class to vcl.Jan Holesovsky105-0/+24212
Change-Id: I2318eeda59cee1cfdb074f9a90fd7d8d80aab19f Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-01-08fdo#54165: Allow localized shortcut names on WindowsJesús4-13/+145
Change-Id: I2de53cd8d888ecf819271e96f8eb2cc4a90e554d Reviewed-on: https://gerrit.libreoffice.org/1554 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-04fdo#50415: Add Catalan translations of keyboard shortcutsJesús Corrius1-0/+31
Change-Id: Ieeab5b84674d26e4d29324614641813d8b65c517 Reviewed-on: https://gerrit.libreoffice.org/1544 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-22fdo#38090: vcl: remove ImplFontCache::maFontNameList:Michael Stahl2-30/+0
The font cache in VCL returns different fonts for identical parameters, which causes layout differences in Writer. first we search the font with language 1054: debug: XXX 0x2103950 add to maFontNameList: TH SarabunPSK->waree p maFontNameList $9 = boost::unordered_map with 1 elements = { ["TH SarabunPSK"] = "waree" debug: XXX 0x2103950 found in maFontNameList: TH SarabunPSK->waree in this very same invocation the "waree" is then rerouted to Deja Vu (which can only be because it was called with language 1033): debug: XXX 0x2103950 add to maFontNameList: TH SarabunPSK->dejavusans p maFontNameList $11 = boost::unordered_map with 1 elements = { ["TH SarabunPSK"] = "dejavusans" } debug: XXX 0x2103950 found in maFontNameList: TH SarabunPSK->dejavusans - the selection of different fonts happens in FcPreMatchSubstititution::FindFontSubstitute. - we never get a direct cache hit from maFontInstanceList because there are some differences like WIDTH_DONTKNOW, and the maSearchName - the first time a font is searched, it ends up in maFontInstanceList - the second time a font is searched, it may end up in maFontNameList, which maps _only_ based on the name (appears to be an invalid optimization) - once we have TH SarabunPSK->dejavusans in maFontNameList we can never select the other one because apparently dejavusans covers all languages Change-Id: Ibd73de88d8fc3b6e1319eb34c261e55ea217a988 (cherry picked from commit bb51791ae49ecded0f618b4534893adb8fcf917e)
2012-12-22fdo#47553: UniscribeLayout: adjust mnSubStringMinMichael Stahl1-0/+9
... to actual minimum so that the fix for fdo#33090 in UniscribeLayout::GetNextGlyphs subtracts exactly the right number. The original value of mnSubStringMin is guessed and may be up to 8 smaller than the actual start of the first VisualItem. For the bugdoc it happens that sometimes it's too small by 8 and then the wrong entries in mpGlyphs2Chars are initialized and then apparently there are single glyphs that represent multiple characters and so GetNextGlyphs returns a -1 character which is invalid. ->GetNextGlyphs dir 1 36 mnSubStringMin 28 ->GetNextGlyphs g2c #1 [8] = 36 ->GetNextGlyphs g2c #1 [9] = 37 ->GetNextGlyphs g2c #1 [10] = 38 ->GetNextGlyphs g2c #1 [11] = 39 ->GetNextGlyphs g2c #1 [12] = 40 ->GetNextGlyphs g2c #2 [4] = 40 ->GetNextGlyphs g2c #2 [3] = 39 ->GetNextGlyphs g2c #2 [1] = 38 ->GetNextGlyphs g2c #2 [1] = 37 ->GetNextGlyphs g2c #2 [0] = 36 ... ->GetNextGlyphs init nCharPos -1 ->GetNextGlyphs g2c [2] nCharPos -1 ->GetNextGlyphs set pCharPosAry -1 layout[0]->GetNextGlyphs 768,1024 a1800 c-1 0 Change-Id: Ie33ec797a412aa898bec3f4e8f97b88dcfed4d11 (cherry picked from commit cec68bceba9aa1e984d74897fcd7bf4db702d14b)
2012-12-21fdo#55044: OutputDevice::ImplDrawAlpha:Michael Stahl1-2/+2
reset members before calling GetBitmap(), as apparently they are used by GetBitmap(), resulting in missing/not rendering parts of the preview image in the bugdoc. (regression from c0ce7ca4884f7f6d1016bd1dbcc22066cb4a7797) Change-Id: I02a6abb822900e1a28a1c632a122c1e093b73553 (cherry picked from commit 06968a96afd334c276b425bf6b809c011f88b716)
2012-12-19fix KDE file dialog setting checkboxes to trueLuboš Luňák1-1/+1
No idea how long this has been broken, or if it ever worked, but inserting a picture sets the 'link' and 'preview' checkboxes to true for the next time (as getValue() returns void*, which gets silently converted to bool *sigh*). Change-Id: I6af0e09ac5e475fc9ff04cd7f937af0bc7aeea77
2012-12-18fdo#56937 - mac a11y hang related to traversing vast, broken hierarchies.Michael Meeks1-10/+27
Change-Id: Iff0537a69b2c6ae929da6a05f26c0d55415d6d8a