summaryrefslogtreecommitdiff
path: root/registry/tools
AgeCommit message (Collapse)Author
2014-01-28bool improvementsStephan Bergmann
Change-Id: I60fc93beb58c548c7278eaf69f1d0a448b5c27f1
2014-01-10simplifyStephan Bergmann
Change-Id: I564ef5ebf16c0ee50da69f3d8b97a5452a1cd0b8
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-08-30WaE: size_t/sal_Int32: possible loss of dataTor Lillqvist
Change-Id: I96849e94196291bd387737aae537139ff4fefeb3
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-05-29fdo#60724 change spelling error REMOVEABLE -> REMOVABLE IIThomas Arnhold
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck
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-01WIP: Experimental new binary type.rdb formatStephan Bergmann
Add LegacyProvider to read the old format (requires a provider Manager, to resolve singletons' bases, to decide whether they are interface- or service- based). Replace registry-based reg2bin with provider-based reg2unoidl. Change-Id: I5865e62308cc2d9c5439211ac803d84e93aab656
2013-02-14Comment clean-upStephan Bergmann
Change-Id: I7696dde7337531629d29cce7eb3f882cb4bfad0d
2013-02-11WaE: strict-aliasing issuesCaolán McNamara
Change-Id: I394b61fac90e1c2c26b1a4f073b87a5d3ae3e666 Reviewed-on: https://gerrit.libreoffice.org/2105 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-02-11Fix floating point handlingStephan Bergmann
Change-Id: Ib29dfc71f8c2d0797ead2c32f77bedf7156a3393
2013-02-05write double/float via union with unsigned type for strict-aliasingCaolán McNamara
Change-Id: Ie4dd1d41e5cde27ec5b144ca4b7c97276ff62479 Reviewed-on: https://gerrit.libreoffice.org/1990 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-02-04WaE unused variableNorbert Thiebaud
Change-Id: I36a51ad53e1992a32c59defa8847555caccd035f
2013-02-03More typosStephan Bergmann
Change-Id: I7b1bd08d9e5157c4eacb8ee5005c76e93eb32e63
2013-02-03reg2bin: Shrink output by reusing common stringsStephan Bergmann
...all the "Offset of Idx-Name" in the data format can likely be further shrunk by getting rid of the newly added level of indirection again. Change-Id: I322f4869a4d6f2e63802406f998e22beea30db41
2013-02-03TypoStephan Bergmann
Change-Id: I8e4f7c5a44bc300913efb68f901b794d8fb385fe
2013-02-03reg2bin: truncate pre-existing output filesStephan Bergmann
Change-Id: If74cccf8657c1b81467ee9c0dea29a749ca07455
2013-01-31warning C4701: potentially uninitialized local variableStephan Bergmann
Change-Id: I68f43b16f09e606b9e7ae384c76554a6763afa8d
2013-01-31TypoStephan Bergmann
Change-Id: I12421776ac75bd92fc39eb2d3e79df47107ea1d9
2013-01-31Some fixes for previous commit (Clang)Stephan Bergmann
Change-Id: If41321bc1c79cb475aae1c4588f8663beccd2209
2013-01-31WIP: Experimental new binary type.rdb formatStephan Bergmann
cppuhelper/source/typedescriptionprovider.cxx would read it if it finds .rdb files in that format. Throwaway new reg2bin tool for now can translate existing .rdb files into the new format. Change-Id: Iacf219c30cfc358c3d31fb0d73966cf2296a4fe5
2013-01-15Remove obsolete rdbedit toolStephan Bergmann
Change-Id: Ibc0885e4c073c09a673f08297bfc5de42f2b3c28
2013-01-15Remove obsolete checksingleton toolStephan Bergmann
Change-Id: Ief63ba65ea90636f9a2803a98bbe43d73c101ef5
2012-11-28re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Armin Le-Grand #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles... http://svn.apache.org/viewvc?view=revision&revision=1293316 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 Patches contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1172128 http://svn.apache.org/viewvc?view=revision&revision=1172133 Patch contributed by Ariel Constenla-Haile i#118505# - Remove MN_OLE_OBJECT menu item from Draw/Impress contextmenu - CWS contextmenu1 http://svn.apache.org/viewvc?view=revision&revision=1182915 Patch contributed by Zhang Jian Fang #118876#, Add check if the OutlinerParaObject is created successfully http://svn.apache.org/viewvc?view=revision&revision=1243381 restore a re-based rdbedit.
2012-08-12do not print anything when the comparison succeededDavid Tardon
Change-Id: I09392985fbf2d8ef9f76f43fee1b5a711ae1bbab
2012-08-04Replace usage of rtl/memory.h in registry with equivalent from string.hArnaud Versini
Change-Id: I3c442b7c3743684f62cc5ffc3c4b0926ff0db999
2012-07-03re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
2012-05-06remove unused filesMatúš Kukan
Change-Id: I65ec941f72b9884d147f51939d592da313418329
2012-05-06gbuild conversion: registry moduleDavid Ostrovsky
Change-Id: I I9dbd2a05602e7d415ca76850458129f68583c83f
2012-04-14replace APP?RPATH SDK by SDKBIN in old build systemDavid Tardon
Commit 0c80ad06fd96a4fec062a7edfff12bb65ef204b4 broke MacOS X builds because of this discrepancy. It would be easy to accept both, but I think it is better to be consistent with gbuild.
2012-02-19Get rid of size() == 0Elton Chung
2012-01-02Fix for fdo43460 Part XXVII getLength() to isEmpty()Olivier Hallot
Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2011-11-27remove include of pch header from registryNorbert Thiebaud
2011-11-23Some trivial fixes for MinGW with -std=c++0x enabled; not finished.Jan Holesovsky
2011-11-21regcompare: fix error reporting:Michael Stahl
Function checkField() is called from 2 different contexts, one of which must not report errors, but the other should.
2011-09-30add mode-lines to .m files and last round of merged files, etc.Caolán McNamara
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann
2011-05-26Would be pointless to build tool executables for iOSTor Lillqvist
2011-04-18Fix a typo.Francois Tigeot
2011-04-18Remove OS/2 support.Francois Tigeot
2011-03-25WaE: consts the wrong way aroundCaolán McNamara
2011-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky
Conflicts: codemaker/source/bonobowrappermaker/corbaoptions.cxx codemaker/source/cppumaker/cppuoptions.cxx codemaker/source/cunomaker/cunooptions.cxx codemaker/source/idlmaker/idloptions.cxx codemaker/source/javamaker/javaoptions.cxx cppu/source/typelib/typelib.cxx idlc/source/options.cxx offapi/com/sun/star/util/PathSubstitution.idl offapi/drafts/com/sun/star/form/ListEntryEvent.idl offapi/drafts/com/sun/star/form/XBindableValue.idl offapi/drafts/com/sun/star/form/XListEntryListener.idl offapi/drafts/com/sun/star/form/XListEntrySink.idl offapi/drafts/com/sun/star/form/XListEntrySource.idl offapi/drafts/com/sun/star/form/XValueBinding.idl registry/tools/checksingleton.cxx registry/tools/options.hxx registry/tools/regcompare.cxx registry/tools/regmerge.cxx sal/cppunittester/cppunittester.cxx sal/osl/unx/socket.c sal/osl/w32/diagnose.c sal/prj/d.lst sal/rtl/source/alloc_fini.cxx sal/rtl/source/alloc_global.c sal/rtl/source/makefile.mk
2011-03-07CWS-TOOLING: integrate CWS jsc340Ivo Hinkelmann
Notes: split repo tag: ure_ooo/DEV300_m102
2011-02-24jsc340: i114847: fix nameJuergen Schmidt
2011-02-18#i115784# registry: Fix unreachable "return <result>; break;" statements.Matthias Huetsch [mhu]
2011-02-04#i115784# registry/tools: fix unreachable break statement after return.Matthias Huetsch [mhu]
2011-02-03#i115784# registry/tools: fix initOptions_Impl() commandline argument ↵Matthias Huetsch [mhu]
processing.