summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-27fdo#39003: fix autoformat Undo cursors:libreoffice-3-5-2Michael Stahl1-0/+4
SwEditShell::Undo: Because the Undo actions nowadays create new shell cursors directly (while previously they worked on a SwUndoIter), it is necessary to remove the shell cursor ring before Pop() because Pop(false) only restores the current cursor from the stack, not the rest of the ring. (regression from CWS undoapi, 1ba0c1878116ada5dc4ebdecdb1e0a3da9758547) (cherry picked from commit f24153cded54954da7f0d80941707715c78e4627) Signed-off-by: Caolán McNamara <caolanm@redhat.com> Signed-off-by: Cedric Bosdonnat <cbosdonnat@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-27fdo#46942: Fix a regression caused by List removal.Kohei Yoshida1-0/+1
3236c2c3af9355157c62f68fcbd429498f7f747b accidentally removed the gallery item count which was used to differentiate the gallery symbols from normal ones. Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Signed-off-by: Noel Power <nopower@suse.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-03-27fdo#46102: Load Java scripts with class loaders that actually find themStephan Bergmann6-9/+54
ScriptMetaData.createURL produces weird URLs (ending in "/ucb/", and potentially still containing vnd.sun.star.expand: prefix) that are apparently good for loading documents for editing via UCBStreamHandler, but cannot meaningfully be passed to a URLClassLoader. It is unclear to me how the Java script provider shall ever have found the script jars in the past. (cherry picked from commit dd6c4f4db1d62268d73e09ae52d23f760a967dcc) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-03-27fdo#46102: Fix Java script examples after gbuild'ificationStephan Bergmann23-5/+41
...they contained no class files anymore, due to missing gb_Jar_set_packageroot calls. However, those calls only work for subdirectories, i.e., the example .java files need to be put into a package (I chose org.libreoffice.example.java_scripts) for all of them). This in turn required adaption of the parcel-descriptor.xml files; not sure what the logicalname entries there are good for if anything -- the macro names at "Tools - Macros - Run Macro..." now unfortunately(?) contain the fully qualified paths for the HelloWorld, HighlightText, and MemoryUpdate examples. There are additional examples at scripting/examples/java/ that apparently do not get packaged (but I adapted them anyway). (cherry picked from commit 0b9fda25f321ce2697179064e330843237177668) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-03-27fdo#46102: Fix scripting jar manifests after gbuild'ificationStephan Bergmann6-3/+14
(cherry picked from commit 91d60be7eeafa1f7872bda452bfb38936003f517) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-03-27Revert "fdo#42750: delay painting borders until after subsidiary lines"Petr Mladek1-33/+11
It still causes some regressions and it is more safe to be on the state of 3.5.1. This reverts commit c7524ab32f801910673da5c9c68669ada7c98769. Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Cedric Bosdonnat <cbosdonnat@suse.com>
2012-03-26prevent update during init in new autofilter dlg, fdo#45679Markus Mohrhard2-0/+4
Signed-off-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-26In the current glib version only the main glib.h can be included directly.Daniel Mihalyi1-1/+1
Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Fridrich Strba <fridrich.strba@graduateinstitute.ch>
2012-03-26fdo#45522: WW8TableInfo::processSwTable: check that table has layoutCaolán McNamara3-2/+10
(cherry picked from commit 5c3dd5af41bc801ee6023513399c01c632dc7779) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Miklos Vajna <vmiklos@suse.cz> Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-26Compatibility option for incorrect relative moves after closePath (fdo#47406)Fridrich Štrba8-16/+28
Signed-off-by: Thorsten Behrens <tbehrens@suse.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-26Fix fdo#47406 incorrect relative moves after closePathThorsten Behrens1-0/+10
I missed the fact that odf export still uses the old exporter in xmloff/source/draw/xexptran.cxx, which was not fixed wrt. the update of current position in basegfx/source/polygon/b2dsvgpolypolygon.cxx Conflicts: xmloff/source/draw/xexptran.cxx Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch> Signed-off-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-26Adapt arrowhead pathes to corrected svg path z hanglingRegina Henschel1-4/+4
Signed-off-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-03-20bump product version to 3.5.2-rc1+, release number to 201Petr Mladek2-17/+17
2012-03-20Branch libreoffice-3-5-2Petr Mladek0-0/+0
This is 'libreoffice-3-5-2' - the stable branch for the 3.5.2 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.5.x release, please use the 'libreoffice-3-5' branch. If you want to build something cool, unstable, and risky, use master.
2012-03-20cppcheck report: logical disjunction always evaluates to trueJulien Nabet1-1/+1
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-20Resolves: fdo#46923 fdo#46750 revert thai glyph fallbackCaolán McNamara1-22/+0
Revert "fdo#33090 better glyph fallback under windows for complex text" This reverts commit e601c32661735e9fd78def7ee11bfe21279cca71.
2012-03-20fix icu parallel buildLuboš Luňák2-1/+22
(cherry picked from commit ff5a80024aab426d03394ad0b4da8067028097ff) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-03-20Missing sub-menu arrows with 3.5.x and GTK < 2.15David Bolen1-2/+10
Signed-off-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-20fdo#47560 properly separate each new sorting columnLionel Elie Mamane1-1/+1
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-20fdo#47370 properly duplicate (invisible) out-of-order sort columnsLionel Elie Mamane2-2/+11
Keep track of position of previous sorting column and use it to decide whether to duplicate invisible new sort column Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-20fdo#42750: delay painting borders until after subsidiary linesMichael Stahl1-11/+33
With commit 0f0896c26fb260d1bbf31d7a886df3f61837f0f2, borders are drawn immediately, but then the subsidiary lines are drawn over the borders, hiding 1 twip wide borders completely. Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
2012-03-20fdo#43965 fix RTF import of \up and \dn with custom parametersMiklos Vajna1-10/+3
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
2012-03-20fdo#43965 dmapper: fix line width defaultMiklos Vajna1-1/+1
Writer's default is 0, but Word's default is 26 (15 in 1/8 pt) Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
2012-03-20Related: fdo#46662 fix RTF import of leveltext destinationMiklos Vajna1-0/+5
After leveltext is imported, the levelnumbers group modifies the contents of the previous group, but this modification was lost when the stack was popped. Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
2012-03-20vcl: crash in GraphiteLayout::expandOrCondense:Michael Stahl1-1/+1
When printing the bugdoc from i#103958: error: attempt to subscript container with out-of-bounds index 5, but container only holds 5 elements. Signed-off-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Martin Hosken <martin_hosken@sil.org>
2012-03-20Fix fdo#45219 wrong transparency for animated objects.Thorsten Behrens3-3/+3
With the attachement from said bug, and cairocanvas, sprites are displayed multiple times above each other (which, for semi- transparent sprites, lead to incorrect overall transparency)
2012-03-20check for negative sheet number here too, fdo#47503Markus Mohrhard1-1/+1
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-20fdo#46843 look for order by clause as fifth child of select_statementLionel Elie Mamane1-2/+2
Since commit 33b9b857ea6cb5a6f731de68f58e532242c43d30 (dba34c: #i20306# support for window function and limit fetch first, ... added), order by is the fifth child. It was the fourth one before. Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-20Fix redundant assignment of "nAngle" in switchJulien Nabet1-2/+2
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-03-19only shrink to used area in text export, fdo#46230, related n#677811Markus Mohrhard2-9/+14
Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-03-19do not hide patch-related file (.orig .rej)Norbert Thiebaud1-5/+0
If you want to hide them, add the rule in you local git set-up. see git config --global core.excludesfiles fo more info Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-03-19fdo#40607 - osl_syncFile having written, and avoid doing that on startMichael Meeks2-40/+48
Combinded cherry-pick of master d3192948fe968fc4d6a8ec0e6fda232f265b3c4c plus subsequent fixes bee742eb7a0d5dfe23e61d9ee49a29286de90256 "Fix sense of r/o detection code, and clean up" and 61eeb689d7605a23c3e71c652b57ee65cf5b28dc "fix smoketest - need to check read-only-ness of non-existent paths." Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-03-19update of license documentAndras Timar3-0/+130
added Info-ZIP lincense Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-03-19fdo#37593 Make sure needsUpdate compares canonicalized pathsStephan Bergmann1-0/+11
...so that it does not erroneously always claim an update is needed, so that SvtDocumentTemplateDialog::UpdateHdl_Impl does not always jump back to OpenTemplateRoot() shortly after opening the dialog (and thus jumps away from the last remembered folder). Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-03-19fdo#46926: PyUNO_cmp: return acquired referenceDavid Bolen1-4/+15
(cherry picked from commit 742dca7366ba6ac3c58b1df6ee548788f4ce24e7) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2012-03-19add all imported properties to ScDBData, fdo#40426Markus Mohrhard2-3/+9
(cherry picked from commit ed88b144ce24b9a733d4a9ab6614307c96537baa) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19also shrink used area for HTML in some cases, fdo#46230, n#677811Markus Mohrhard1-1/+14
Hopefully this will allow pasting to external applications with whole column/row selected while not affecting calc itself. (cherry picked from commit 0ee518863337fba9bce019e05e24f527617a4321) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19fix semantic error in layout calculationAndras Timar1-29/+12
(cherry picked from commit cc32ce47cef1a72a820a9475a9a2753490a019f2) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19workaround broken msvc template instantiationLuboš Luňák1-0/+3
(cherry picked from commit 9865a0d430da8948210a2cd9d4bae08e6023f4c8) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Remove nasty xor hack for non-Mac vclcanvasThorsten Behrens1-52/+0
This nowadays really is a pessimization. (cherry picked from commit 315d82d741c37d1b77f5687b1bdc48a37fb9f29f) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Clear whole layer in slideshow sprites fdo#45219Thorsten Behrens1-4/+11
The clear() previously offsetted the topleft rect corner for sprites by _the sprite topleft_ position, which is rather unhelpful but for sprites located at (0,0). (cherry picked from commit d32cf8d820be839c7303e3c5962c17f64cac2812) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Clear sprites to white fdo#45219.Thorsten Behrens1-1/+1
Another fix for a rendering glitch mentioned in fdo#45219 - vclcanvas sadly does not properly implement compositing, so all- black background yields dark shadows on semi-transparent objects. Ultimately though, we should retire vclcanvas instead. (cherry picked from commit b9266113514657be1cf9352e1457a5c62876784c) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Clear full sprite area for fdo#45219Thorsten Behrens1-1/+1
Use clearAll() here, to really clear the whole sprite area (clear() does respect potential clip polygons) (cherry picked from commit e86bcf11340f35afe899d02aa5facdbecdd309ab) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Use transparency for gradients fdo#45219Thorsten Behrens2-41/+42
vclcanvas has 1bpp alpha - so cut-off transparency at 98% This looks for all practical cases close enough to full alpha. (cherry picked from commit 3f5efa1e76e187070d412d102e4c057679065bcc) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Return proper transparency value even for ignore_color.Thorsten Behrens1-12/+12
Rather unexpectedly, calling setupOutDevState() with IGNORE_COLOR does not return a proper transparency, but null. Fixed now. (cherry picked from commit 4b475f31eb9b290b477bb6992ff28e52248cee5d) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Another partial fix for fdo#45219Thorsten Behrens1-17/+11
Make sure transparent polygons really only cover the polygonal area, not the whole bounding box for sprites. (cherry picked from commit 50309b9574c43de93a05576904813881eb7bc898) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-19Consistent use of alpha in cairocanvasThorsten Behrens1-4/+4
Use GetIndex() instead of GetBlue() (does the same, but more self-documenting); use opaque when no alpha channel consistently. (cherry picked from commit 83114b27fac8ef723cbbaa734237210d9ad56a15) Signed-off-by: Tor Lillqvist <tlillqvist@suse.com>
2012-03-18Add check for hamcrest even if it is not first in classpath.Tomas Chvatal1-2/+2
Conflicts: configure.in Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
2012-03-18sax: this had to be accidentally added when mergingMatúš Kukan1-2/+0
Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>
2012-03-18fix wrong libpng check result textLuboš Luňák1-1/+1
Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>