summaryrefslogtreecommitdiff
path: root/stoc
AgeCommit message (Collapse)AuthorFilesLines
2013-04-25Mark TypeDescriptionProvider service as "don't create by name"Stephan Bergmann1-3/+2
...had to adapt one test that had picked this service apparently arbitrarily. Change-Id: Iaa17b7c622b9ac3601beb3ba931f7b1d99f649f1
2013-04-22Revert "Revert "WIP: Experimental new binary type.rdb format""Stephan Bergmann10-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
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks11-242/+44
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann28-289/+75
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19remove unused component_canUnload functionsMatúš Kukan12-109/+10
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-16Unused includeStephan Bergmann1-1/+0
Change-Id: If1b2a289212efb0080b1a0945219163f1fcc7d14
2013-04-16stoc: do not use rtl/unload.h functionalityMatúš Kukan1-128/+1
Change-Id: I7bddfbabc6e7e3a672681962f82e64ff4082e8b5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-16Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann1-2/+2
Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
2013-04-16rhbz#867808 Do not throw RuntimeException by pointerStephan Bergmann1-1/+1
Change-Id: I22b7d3d642e7ee0488d6b726a331d328065bbee7
2013-04-15prefix all component_getFactory methodsPeter Foley2-6/+2
Change-Id: I954176fdab9103125444dd2fb397673406f7aff9
2013-04-11Avoid an endless stream of NoSuchElementException exceptions.Jan Holesovsky1-9/+3
Extremely annoying during debugging; and throwing / catching is not the fastest operation under the sun... Change-Id: Ic5604bb1c3ef77d1577c4ac611af44be6fea6533
2013-04-10Introduce characters utilities in rtl/character.hxxArnaud Versini1-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
2013-04-10remove commented out codeThomas Arnhold1-18/+1
Change-Id: Ia79f094e33435386aeaf59929edb4372b38adb22
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák2-2/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák67-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
2013-03-30OSL_FAIL -> SAL_WARNThomas Arnhold1-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>
2013-03-27-Wunused-macrosStephan Bergmann1-9/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann1-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
2013-03-19further OUString cleanupThomas Arnhold2-5/+5
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold5-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>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold35-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>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-09Revert "WIP: Experimental new binary type.rdb format"Stephan Bergmann9-0/+1723
This reverts commit 892ef8b0565c7f5f343d71e3b61c41655f80267b, Windows-only cli_ure needs to be adapted first.
2013-03-09WIP: Experimental new binary type.rdb formatStephan Bergmann9-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
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck2-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>
2013-03-04doubled includesThomas Arnhold1-1/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04doubled namespaceThomas Arnhold1-1/+0
Change-Id: I756f4a98b1eedcbe7674e9afd9b06816141688b9
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold2-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
2013-03-01Translated comments from german to englishStefan Schick1-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
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25remove some trivial duplicatesThomas Arnhold2-2/+0
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
2013-02-24translated some german comments, removed commented code blocksHamza Abdelkebir5-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>
2013-02-23Fix typo accessable/accessibleJulien Nabet2-3/+3
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-21osl_atomic_increment/decrement are macrosStephan Bergmann2-4/+4
Change-Id: I3a294c5c800597f3b17395e1e02944f5279e3753
2013-02-20Translated comments from german to englishStefan Schick1-21/+21
Change-Id: Ibe383f8a9c630fdccfe7718880acb78a4298220e
2013-02-19fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan2-20/+22
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-19Translated some comments from german to englishStefan Schick1-7/+7
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin1-17/+2
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-08catch exceptions by const refCaolán McNamara1-5/+5
Change-Id: Icaa4095b2032fa87f8ed4982940ba2a166665cef
2013-01-30API CHANGE: Make TypeDescriptionManager/Provider more consistentStephan Bergmann2-20/+39
...by letting their getByHierarchicalName methods return information about UNO constants as X(Constant)TypeDescription values, just as for (alomst -- see the odd enum member case) all other entities. This will make future changes in this area easier. The only affected client I could find so far is the core reflection service, but there might be more that I overlooked. Change-Id: I6731f2914773d49e33eeaec6e256ff2e5409ad2d
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac14-137/+119
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-27Fix uninitialized variablesJulien Nabet1-2/+2
Change-Id: Iafd54c2b766bebf87cca211948a10695d585f0d9
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl11-11/+11
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl7-0/+14
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26Remove redundant braces around for loopsStephan Bergmann2-10/+10
...that had once been workarounds for compilers that did not yet support the C++98 scoping rules for declarations in for-init-statements. Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
2013-01-21Fix parenthesis and simplifyJulien Nabet1-1/+1
See http://nabble.documentfoundation.org/About-parenthesis-problem-in-testintrosp-cxx-td4030420.html Thank you Lubos! Change-Id: If46b3d3aa304f2c16d66813ff337a70b3a520e76
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac1-37/+37
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-20Some cppcheck cleaningJulien Nabet1-1/+0
Change-Id: Ie975903daa84ddafb2ba7d58e18b8ef20b331596
2013-01-18Insert type rdbs individually into theTypeDescriptionManagerStephan Bergmann1-87/+108
...to make it easier in the future to replace the binary rdb format with something else, but also keep support for the old format for backwards compatibility (extensions). This should have no performance impact, as the type description manager (a) caches information about requested type descriptions, and (b) has been changed to process the bootstrap rdbs en bloc without doing costly consistency checks (which are useful though when inserting an rdb when installing an extension, but which would exhaustively read all type descriptions from the inserted rdb, so would negate any benefit of constructing any type descriptions on demand only). Change-Id: I80b22770bd9a5e0ab686f04d9c70295f2e3d0bf6
2013-01-16Register theTypeDescriptionManager normally in services.rdbStephan Bergmann1-0/+1
...no need to handle it specially during bootstrap. Change-Id: I666dc9c0040a30a7d81ec1815c338be1407281bb