summaryrefslogtreecommitdiffstats
path: root/stoc
Commit message (Collapse)AuthorAgeFilesLines
* Mark as constTakeshi Abe2013-08-229-9/+9
| | | | Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
* sal_Bool to boolTakeshi Abe2013-08-222-5/+5
| | | | Change-Id: I4ab448a461a9fe37ba18838357d371f71b0a496c
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-212-13/+13
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Remove com.sun.star.comp.stoc.RegistryTypeDescriptionProviderStephan Bergmann2013-08-1924-4504/+0
| | | | | | ...which had become unused with the new cppuhelper/source/typemanager.cxx. Change-Id: Ic84d11cc9ecd1e7d73aa2757c14ffd46fa21e890
* Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2013-08-191-1/+1
| | | | Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
* Remove warning by using the right printf commandsArnaud Versini2013-07-091-1/+1
| | | | | | | Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb Reviewed-on: https://gerrit.libreoffice.org/4753 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
* remove OUString wrap for string literalsThomas Arnhold2013-06-2910-123/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Introduce O[U]String::toUInt32Stephan Bergmann2013-06-131-3/+3
| | | | | | | | | | | | | | | ...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
* use uno::Reference#clear() method...Noel Grandin2013-06-052-3/+3
| | | | | | ...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
* re-base on ALv2 code. Includes:Michael Meeks2013-06-031-84/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fdo#60724 change spelling error REMOVEABLE -> REMOVABLE IIThomas Arnhold2013-05-291-1/+1
| | | | | Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl2013-05-101-1/+2
| | | | Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
* fdo#62475 - remove ASCII artPhilipp Riemer2013-05-061-24/+9
|
* cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer2013-05-063-315/+194
| | | | | In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-0616-212/+137
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* Mark TypeDescriptionProvider service as "don't create by name"Stephan Bergmann2013-04-251-3/+2
| | | | | | ...had to adapt one test that had picked this service apparently arbitrarily. Change-Id: Iaa17b7c622b9ac3601beb3ba931f7b1d99f649f1
* Revert "Revert "WIP: Experimental new binary type.rdb format""Stephan Bergmann2013-04-2210-2240/+0
| | | | | | | | | | | | | | | This reverts commit 67e69a55820f50973ca0de75ccab2bb07d0bada8, applying a band- aid fix to cli_ure/source/climaker for now. Conflicts: stoc/inc/bootstrapservices.hxx stoc/source/tdmanager/lrucache.hxx stoc/source/tdmanager/tdmgr.cxx stoc/source/tdmanager/tdmgr_common.hxx stoc/source/tdmanager/tdmgr_tdenumeration.cxx stoc/source/tdmanager/tdmgr_tdenumeration.hxx Change-Id: Iae669985d0194f06fa349a4a39f0ebd230bc5d28
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-2211-242/+44
|
* Remove any remaining remnants of unused component_canUnload featureStephan Bergmann2013-04-1928-289/+75
| | | | Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
* remove unused component_canUnload functionsMatúš Kukan2013-04-1912-109/+10
| | | | Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
* Unused includeStephan Bergmann2013-04-161-1/+0
| | | | Change-Id: If1b2a289212efb0080b1a0945219163f1fcc7d14
* stoc: do not use rtl/unload.h functionalityMatúš Kukan2013-04-161-128/+1
| | | | | Change-Id: I7bddfbabc6e7e3a672681962f82e64ff4082e8b5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann2013-04-161-2/+2
| | | | Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
* rhbz#867808 Do not throw RuntimeException by pointerStephan Bergmann2013-04-161-1/+1
| | | | Change-Id: I22b7d3d642e7ee0488d6b726a331d328065bbee7
* prefix all component_getFactory methodsPeter Foley2013-04-152-6/+2
| | | | Change-Id: I954176fdab9103125444dd2fb397673406f7aff9
* Avoid an endless stream of NoSuchElementException exceptions.Jan Holesovsky2013-04-111-9/+3
| | | | | | | Extremely annoying during debugging; and throwing / catching is not the fastest operation under the sun... Change-Id: Ic5604bb1c3ef77d1577c4ac611af44be6fea6533
* Introduce characters utilities in rtl/character.hxxArnaud Versini2013-04-101-27/+8
| | | | | | | | | | Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with slight modifications to sal/inc/rtl/character.hxx: * Replaced "#pragma once" with explicit include guard for now. * Missing includes. * Cosmetic clean-up. Change-Id: I94d01cd4e766f92c70f941839a67101fa2c97654
* remove commented out codeThomas Arnhold2013-04-101-18/+1
| | | | Change-Id: Ia79f094e33435386aeaf59929edb4372b38adb22
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-072-2/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0767-1080/+1026
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* OSL_FAIL -> SAL_WARNThomas Arnhold2013-03-301-5/+3
| | | | | | | Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* -Wunused-macrosStephan Bergmann2013-03-271-9/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-201-1/+1
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* further OUString cleanupThomas Arnhold2013-03-192-5/+5
| | | | Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-195-19/+18
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1935-418/+370
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* Revert "WIP: Experimental new binary type.rdb format"Stephan Bergmann2013-03-099-0/+1723
| | | | | This reverts commit 892ef8b0565c7f5f343d71e3b61c41655f80267b, Windows-only cli_ure needs to be adapted first.
* WIP: Experimental new binary type.rdb formatStephan Bergmann2013-03-099-1723/+0
| | | | | | | | | | | | Implement theTypeDescriptionManager directly on top of unoidl::Manager and unoidl::Provider in cppuhelper instead of on top of css.reflection UNO interfaces in stoc. Adapt desktop/source/deployment/ accordingly. There is no longer a com.sun.star.reflection.TypeDescriptionManager service implementation now, only a com.sun.star.reflection.theTypeDescriptionManager singleton one, which appears to not cause problems in practice. Change-Id: I179501272f0712353b7d50d3eba2ec2bb79db373
* fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck2013-03-062-3/+3
| | | | | | | | | Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* doubled includesThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* doubled namespaceThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I756f4a98b1eedcbe7674e9afd9b06816141688b9
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-032-2/+2
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* Translated comments from german to englishStefan Schick2013-03-011-23/+23
| | | | | | | | | | | Hey, there are more translation patches to come in the next days... All of my past & future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license. Regards, Stefan
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* remove some trivial duplicatesThomas Arnhold2013-02-252-2/+0
| | | | Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
* translated some german comments, removed commented code blocksHamza Abdelkebir2013-02-245-40/+20
| | | | | | | Change-Id: Ia741aaa596b711b80cf8cc1be605e34e19a62f3e Reviewed-on: https://gerrit.libreoffice.org/2352 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Fix typo accessable/accessibleJulien Nabet2013-02-232-3/+3
| | | | Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
* osl_atomic_increment/decrement are macrosStephan Bergmann2013-02-212-4/+4
| | | | Change-Id: I3a294c5c800597f3b17395e1e02944f5279e3753
* Translated comments from german to englishStefan Schick2013-02-201-21/+21
| | | | Change-Id: Ibe383f8a9c630fdccfe7718880acb78a4298220e