summaryrefslogtreecommitdiffstats
path: root/stoc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan2013-02-192-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>
* Translated some comments from german to englishStefan Schick2013-02-191-7/+7
|
* fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin2013-02-111-17/+2
| | | | | | And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
* catch exceptions by const refCaolán McNamara2013-02-081-5/+5
| | | | Change-Id: Icaa4095b2032fa87f8ed4982940ba2a166665cef
* API CHANGE: Make TypeDescriptionManager/Provider more consistentStephan Bergmann2013-01-302-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
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-3014-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>
* Fix uninitialized variablesJulien Nabet2013-01-271-2/+2
| | | | Change-Id: Iafd54c2b766bebf87cca211948a10695d585f0d9
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-2611-11/+11
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-267-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
* Remove redundant braces around for loopsStephan Bergmann2013-01-262-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
* Fix parenthesis and simplifyJulien Nabet2013-01-211-1/+1
| | | | | | | See http://nabble.documentfoundation.org/About-parenthesis-problem-in-testintrosp-cxx-td4030420.html Thank you Lubos! Change-Id: If46b3d3aa304f2c16d66813ff337a70b3a520e76
* Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac2013-01-211-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>
* Some cppcheck cleaningJulien Nabet2013-01-201-1/+0
| | | | Change-Id: Ie975903daa84ddafb2ba7d58e18b8ef20b331596
* Insert type rdbs individually into theTypeDescriptionManagerStephan Bergmann2013-01-181-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
* Register theTypeDescriptionManager normally in services.rdbStephan Bergmann2013-01-161-0/+1
| | | | | | ...no need to handle it specially during bootstrap. Change-Id: I666dc9c0040a30a7d81ec1815c338be1407281bb
* Remove support for UNO_AC* bootstrap variablesStephan Bergmann2013-01-167-650/+8
| | | | | | ...they had effectively never been used. Change-Id: I514f2b844661e144cef758eb3ce7c4607ffad635
* Get rid of (most uses of) GUITor Lillqvist2012-12-252-4/+4
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* Remove support for XML .rdbs froom SimpleRegistry service againStephan Bergmann2012-12-215-1359/+5
| | | | | | | | | ...this was a transitional hack to get XML-format service.rdbs in. Now that registry-based bootstrap_InitialComponentContext is gone, XML-format .rdbs need only be handled in cppuhelper/source/defaultbootstrap.cxx (so the textualservices stuff once duplicated to there now effectively moved there). Change-Id: Ifb93558768095c1b462fe4057ebf8724968cca77
* Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann2012-12-212-3/+0
| | | | Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
* Let JavaVirtualMachine::getJavaVm start the VM it already foundStephan Bergmann2012-12-181-3/+25
| | | | | | | | | | | | | | Since b69951996967a1c79e3a55dd13dd5609b19db6a1 "Drop support for /etc/opt/ure and ~/.ure from LibreOffice 4" there is no place any more where a plain URE will store information about a selected JVM, so JavaVirtualMachine::getJavaVM will go into an endless loop of jfw_startVM -> JFW_E_NO_SELECT -> jfw_findAndSelectJRE -> jfw_startVM -> ... The solution is to pass the JavaInfo determined by jfw_findAndSelectJRE into the second invocation of jfw_startVM (for which the parameter list of the latter needed to be changed), instead of relying on jfw_findAndSelectJRE and jfw_startVM implicitly communicating that information via user configuration files. Change-Id: I5799f04c457e8a849c67ed827dc5e134c6563362
* Remove xml2cmp leftoversStephan Bergmann2012-12-121-45/+0
| | | | Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
* Unused variablesStephan Bergmann2012-12-074-23/+2
| | | | Change-Id: I8d0d72ac2c3d7f0b0576980c770cb62af983d074
* Proper indentationStephan Bergmann2012-12-071-62/+85
| | | | Change-Id: I9fe211563c8b2b2718be25180294421af5593886
* fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák2012-12-031-1/+1
| | | | Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-3018-34/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* API CHANGE remove [oneway] method attributesThorsten Behrens2012-11-304-5/+5
| | | | | | | Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
* fdo#51304: Remove @author annotationJosé Guilherme Vanz2012-11-201-9/+0
| | | | | | | | | | This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* fdo#46808, use service constructor for beans::IntrospectionNoel Grandin2012-10-231-6/+2
| | | | Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
* drop rdbmaker completelyMatúš Kukan2012-10-221-1/+1
| | | | Change-Id: I313afb391562adae4f91c55480a036c228e0b540