summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2013-06-26Resolves: #i121751# restore cursor/selection on Undo/Redo language...Oliver-Rainer Wittmann
change for all text - group intrinsic actions of language change for all text into one Undo action - secure <SwRootFrm::CalcRects(..)> - catch NULL pointer - correct <CursorGuard> - really restore the cursor (cherry picked from commit 4207db473430e02a65a5f4d57db6e46a8db29a19) Conflicts: svl/inc/svl/undo.hxx svl/source/undo/undo.cxx sw/inc/IDocumentUndoRedo.hxx sw/source/core/edit/edundo.cxx sw/source/core/inc/UndoManager.hxx sw/source/core/layout/trvlfrm.cxx sw/source/core/undo/docundo.cxx Change-Id: I972988bbc21a519e0956ff196aa93a46287b9a2e
2013-06-24Resolves: #i120020# corrected paragraph merge...Armin Le Grand
corresponding undo and ownership of linked undo actions (cherry picked from commit e58fe7afee5163833479b76a474416a77d95f075) Conflicts: editeng/source/editeng/impedit2.cxx sc/source/ui/undo/undobase.cxx sc/source/ui/undo/undodraw.cxx svl/inc/svl/undo.hxx Change-Id: I6672990558a496dfc692554437897d013e258f40
2013-06-24fdo#43460 svl: use isEmpty()Jelle van der Waa
Change-Id: I441842c7514a27baea8ce5c0e7381dcf81892d6a Reviewed-on: https://gerrit.libreoffice.org/4441 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-06-21Fix fdo#52204 add new feature ignore diacritics in search for CTLabdulmajeed ahmed
Change-Id: Ie9044a35003217545bacea214ef59047bff3b8b1
2013-06-20-Werror,-Wdeprecated-registerStephan Bergmann
Change-Id: I8edac5a93f9471c6f245bd484e845985c11027dd
2013-06-19Translate German comments, fix some WSPhilipp Weissenbacher
Change-Id: Ic52fc416aea9d1ca7235613aed7cf494f17ae21a Reviewed-on: https://gerrit.libreoffice.org/4361 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-19Translate German comments, correct some WSPhilipp Weissenbacher
Added accidentally removed { Change-Id: Ied6c233cba113673f928c1a6b41a5217b9fff077 Reviewed-on: https://gerrit.libreoffice.org/4331 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-18Remove commented out codePhilipp Weissenbacher
Change-Id: Iace3628d9c48f07e03c1dda8ca3ff02a2e32ad1f Reviewed-on: https://gerrit.libreoffice.org/4332 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-06-18String to OUString (SfxStringItem and related)Matteo Casalin
Change-Id: I390413e9ff3efee720a6423fb8695b4c655d7efa Reviewed-on: https://gerrit.libreoffice.org/4280 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-17Return accidentally removed fieldTor Lillqvist
The eNewLnge field (eek what an awful name...) was accidentally dropped in 55343abdef77793ea1559408fb565a6241f1dadd. Change-Id: If2d4b2ca785170c4806e64ffd62a8c436499ae30
2013-06-17Remove micro optimisationPhilipp Weissenbacher
Change-Id: I489b9948c2b3a888fcfcf8cc89bf408760a11d06 Reviewed-on: https://gerrit.libreoffice.org/4322 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-17Translate German comments, correct some WSPhilipp Weissenbacher
Change-Id: Ia0ecca3dbaa1d44a7175ef6c454cd13c98bab030 Reviewed-on: https://gerrit.libreoffice.org/4320 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-17Translate German comments, delete some WS and correct formattingPhilipp Weissenbacher
Change-Id: I6426b37e7963ab3ad48221f1695abd6036339ad5 Reviewed-on: https://gerrit.libreoffice.org/4319 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-16initialize number scanner.Michael Meeks
Change-Id: I259754957a5ff7d07d5d6e4a252c3460f236f034
2013-06-16fix mistakeJulien Nabet
Change-Id: I190f1849064844d6e200b857af971e731f9b8d96
2013-06-16cppcheck: fix some uninitMemberVar (svl)Julien Nabet
Change-Id: I0874300f5a4941ee0b8dbd1dac0c6495aa9edc25
2013-06-16cppcheck: fix uninitMemberVar from ctloptions.cxx (svl)Julien Nabet
Change-Id: I4a0bf380d2f7786332ddb7f10f432636a0eda928
2013-06-15use proper offset for additional locale data formats, fdo#64947 relatedEike Rathke
Old number formats had predefined formats from 0..49, locale data could define additional formats from index 50 on. Internal (fractional) formats were added to the number formatter, shifting the number of predefined entries NF_INDEX_TABLE_ENTRIES by two that was also used as an offset to determine whether a format needed to be added additionally. As a consequece, formats defined with index values 50 and 51 in locale data were ignored and not available in the dialog. Introduced a new enum constant NF_INDEX_TABLE_LOCALE_DATA_DEFAULTS to use as the old offset value for not having to change all locale data definitions everytime an internally generated format is added. Change-Id: I94bdaabf360f7b9c253b1e3f5b73087f0c45fb44
2013-06-13Introduce O[U]String::toUInt32Stephan Bergmann
...which has become necessary since bd60d41176da540b01d7583cfe00637431967f39 "Handle oveflow in O(U)String::toInt() functions" reduces values in the range (SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied on getting a correct (unsigned) value for the whole input range ["0" .. "FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3 "Revert overflow checks in O[U]String::toInt{32,64} again"). Audited all uses of toInt32/64 with non-decimal radix. (There is still a TODO comment in oox/source/helper/attributelist.cxx, and stoc/source/typeconv/convert.cxx will still need some love and test code.) Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
2013-06-10mingw64: change Link class to use sal_IntPtr instead of longFridrich Štrba
Change-Id: I2b78c7b714ff064f2f1b8a8eb161e5e2ae121eee
2013-06-05fdo#46808, Convert XMultiServiceFactory in svl moduleNoel Grandin
Change-Id: Ia51d748af3b29a6021e6f5307a60d87f17917f24
2013-06-04Some more sal_IntPtr dance, but enough for todayFridrich Štrba
Change-Id: Ic772181321e74713244223cc3d4542bd4cd2dc88
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-16some detailsEike Rathke
Change-Id: I22b7bef8106dc52a5f1d393805021318ea3d9f07
2013-05-16Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
Change-Id: Ie154eadd9960b159f5a250cde93c4bd7a8a948cf
2013-05-16add readme for svl.Michael Meeks
Change-Id: I20addd47e79bec6a260baf391fbb495da6fdaf57
2013-05-14unused svl/source/items/cstitem.src + hrc cleanupAndras Timar
Change-Id: I3db54045dc5be13dd7c72076c96a7e3f3b7b30ea
2013-05-14Remove obsolete RestrictedPath env var supportStephan Bergmann
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
2013-05-14typo fix: s/inavlid/invalid/Andras Timar
Change-Id: If75cad038f35033be6dcad6f051673bd795accf3
2013-05-09fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza
And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-07officecfg: remove Package_cppheaderMichael Stahl
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-07drop commented-out codeTakeshi Abe
Change-Id: I7384a4fd82c8807dfaf9049306b65fe3ef5cab42
2013-04-30i#120015# Let SdrUndoAttrObj remember a reference to the used style to surviveArmin Le Grand
removal of the style by UI (which creates no undo actions). Re-add the style when undoing if needed. Change-Id: I6069a1cb42dfaeb0dd35fdc15687fd307f2b641e
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist
The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-26sal_Bool to boolTakeshi Abe
Change-Id: I7dcb2dcef78c67d90ff2dea58c1374bd17ac58af
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist
Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist
Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
2013-04-24gbuild: drop empty use_packages callsDavid Tardon
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23eliminated another unnecessary rString.toString()Eike Rathke
Change-Id: Ic2fad1120876160f741056937825ab564e6d5f4e
2013-04-22fixed a mess of out of bounds string accessesEike Rathke
Change-Id: I800840e1b3c0d97a049b3ceba0ec244365dc8e6b
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19Delete two pass-through include files and update the file that included them.Michael Dunphy
Change-Id: I6f02d312d1425dbb28b7cb7a2aa87a734054c4a7 Reviewed-on: https://gerrit.libreoffice.org/3474 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19OUString::startsWith() is not equivalent to String::Match()Eike Rathke
String::Match() wasn't quite right at that place either, but.. Change-Id: I1aed325340f5f36973ef2da8fd48af3283c0b79b
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-12spurious warning C4701: potentially uninitialized local variableMichael Stahl
Change-Id: I2e99cbe9db6d5911f0c2ec61229cd47e07e99cdf
2013-04-10Resolves: #i120077# Memory leak fixed in ScXMLFontAutoStylePool_ImplArmin Le Grand
also checked and fixed memory leaks caused by not deleting SfxStyleSheetIterator instances. Found by: Chao Huang Patch by: Chao Huang Review by: alg (cherry picked from commit aee8221b3fbe64d8e88aa3a1b630214807cd86f0) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/source/items/style.cxx sw/source/core/unocore/unostyle.cxx Resolves: #120077# ALG: Reverted r1354011, adapted all usages of SfxStyleSheetIterator and CreateIterator to use boost::shared_ptr (cherry picked from commit ec1819f218b94bed1556653e1b2b816a65da61ef) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/inc/svl/style.hxx svl/source/items/style.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unostyle.cxx 26937d4d65562b14de0aea59a7b01cc4334f73c1 Change-Id: If99bf3ee399292ec269d68b36ee78ed63f033215