summaryrefslogtreecommitdiff
path: root/configmgr/source
AgeCommit message (Collapse)Author
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
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>
2012-12-11rtl:: prefix removal from configmgrRadu Ioan
- removed rtl:: prefix - removed RTL_CONSTASCII_USTRINGPARAM - corrected some misspells Change-Id: I88bb0beec718a7fe38c61220aa61401419f23b42 Reviewed-on: https://gerrit.libreoffice.org/1291 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
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
2012-11-29Support optional dependencies among .xcd filesStephan Bergmann
...that are effectively ignored if the depended-on file does not exist. This will be needed by a subsequent commit to make PDF Import optionally installable. Change-Id: I2283be3ce75f52811a371f41aa8784f507425ee3
2012-11-06fdo#55138: Do not double-expand bootstrap variablesStephan Bergmann
For some reason that escapes me now, the old code double-expanded URLs in CONFIGURATION_LAYERS and in extension layer's configmgr.ini SCHEMA/DATA. That produced wrong results when the pathnames represented by those URLs contain any "$" characters, as apparently routinely happens on Windows with roaming profiles. Change-Id: Iff149e7d8736cbcda579376cdc89e24cf99ccc97
2012-10-31Some more configuration::theDefaultProvider simplificationsStephan Bergmann
Change-Id: I91ded7801f4959f2dac7b5b3e4c8d1f3929f4ed9
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17Require XComponentContext.getServiceManager to throw instead of returning nullStephan Bergmann
This is such a fatal error that there is probably no point in trying to handle it, so allow to simplify client code by removing the requirement to check for a null return value. Simplified some client code accordingly (modules configmgr and ure, and the code generated by cppumaker and javamaker). Change-Id: I51c0b270ec73409374f7439a47ee061407a46e31
2012-09-17migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomicNorbert Thiebaud
Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0 Reviewed-on: https://gerrit.libreoffice.org/632 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-07-25Make comphelper/configuration.hxx work for localized propertiesStephan Bergmann
See aebf5bf22304c73e121b16dc0b51f909c5f34c28 "fdo#52232 ConfigurationSet wrapper unusable for localized properties" for a discussion of the problems with the original design. 1 Redesigned configmgr's localized property access to understand ['*<locale>'] paths that select the best existing value match for the requested <locale>. Adapted ConfigurationWrapper::getLocalizedPropertyValue accordingly. 2 Redesigned ConfigurationChanges to fix the locale at instantiation time. That takes care of ConfigurationWrapper::setLocalizedPropertyValue, ConfigurationWrapper::getGroupReadWrite, and ConfigurationWrapper::getSetReadWrite. (This required an additional constructor parameter for the ReadWriteAccess service, to specify a locale at instantiation time.) 3 Redesigned ReadOnlyAccess to be a service that fixes the locale at instantiation time. That allows to take care of ConfigurationWrapper::getGroupReadOnly and ConfigurationWrapper::getSetReadOnly. Change-Id: I2ae7342b278b6f4222a0189a1deb2a53e204059f
2012-07-16the unknwon typo is surprisingly popularLuboš Luňák
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-16Unused includeStephan Bergmann
Change-Id: I445499755dc92103b3777229f22db0bc6ec1a80e
2012-06-20removed unused forward declarations of classTakeshi Abe
Change-Id: Iee1b78242e210466375376da3e4dbbaec609cc03
2012-06-12re-base on ALv2 code.Michael Meeks
2012-06-01nuke unused namespaceTakeshi Abe
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-23.component files don't need executable bitsMichael Stahl
2012-03-20Unused includesStephan Bergmann
2012-03-15fdo#42961 Don't let env vars interfere with internal bootstrap varsStephan Bergmann
2012-03-09Line breaks in registrymodifications.xcuStephan Bergmann
2012-02-24Resolves fdo#46074: Fix Partial::contains for paths that go past a leaf nodeStephan Bergmann
Paths that already "failed" at the root node were not reported as CONTAINS_NOT, so that they were erroneously migrated, but with broken content (values of set member properties were nil).
2012-02-23Adapted WriteThread to safer-to-use salhelper::ThreadStephan Bergmann
2012-02-19add configmgr, ucb1, ucpfile1, xcr to libmergedMatúš Kukan
2012-02-14Moved configmgr/source/README into configmgr/READMEStephan Bergmann
2012-01-30Fixed cppheader.xsl nillable treatment.Stephan Bergmann
* cppheader.xsl had initially been written under the false assumption that a missing oor:nillable attribute defaults to "false" instead of "true". That has been fixed. * As a result, many places that use the new simplified officecfg/*.hxx headers broke as they did not expect value types to be wrapped boost::optional. To keep the code simple, I decided to change all occurrences in officecfg/registry/schema/ of properties that specify a default <value> and do not explicitly specify oor:nillable="true" to oor:nillable="false". Strictly speaking, this is an incompatible change, but in many cases it should be what was intended, anyway. * Some places that use the new simplified officecfg/*.hxx headers still had to be adapted to boost::optional wrapping. * This showed that unotools/configuration.hxx did not yet work for those wrapped properties and needed fixing, too.
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-12Check for xcu <node> that should rather be <prop>.Stephan Bergmann
2011-12-17Fix for fdo43460 Part VIII getLength() to isEmpty()Olivier Hallot
Part VIII Module comfigmgr
2011-12-14Replaced remaining OSL_ASSERT in configmgr.Stephan Bergmann
2011-12-14Ported configmgr to gbuild.Stephan Bergmann
2011-12-13Unified configmgr::Node::getMember{s,Map} again.Stephan Bergmann
(With the insight that Data::components is RootNode::members.)
2011-12-13Fix problem when compiling against a wrong colour version of the GNU STLTor Lillqvist
2011-12-13Simplified, type-safe C++ configuration access.Stephan Bergmann
* New offapi com.sun.star.configuration entities to access the complete configuration read-only or read/write... * ...configmgr adapted to support those new services/singletons... * ...new unotools/configuration.hxx is the type-safe C++ plumbing on top of that... * ...officecfg now generates C++ headers to access all the properties and sets given in the .xcs files... * ...and svl's asiancfg.cxx exemplarily makes use of the new officecfg/Office/Common.hxx to access the configuration. * There is still TODOs: For one, see those listed in officecfg/registry/cppheader.xsl. For another, at least a notification mechanism for the new read-only configuration access and the C++ wrapper is missing.
2011-11-29Adapted to new assertion/logging mechanisms.Stephan Bergmann
2011-11-27remove include of pch header in configmgrNorbert Thiebaud
2011-11-17Enforce a "lib" prefix for UNO components for AndroidTor Lillqvist
This commit for the old build system. (Don't bother for components not relevant for Android.) The Android package installer (as invoked through "adb install", from "ant debug install") silently ignores native libraries in app packages (.apk files) whose names don't start with "lib" and end with ".so". The package builder (as invoked through "ant debug") in the SDK gladly includes also thusly named native libraries in the .apk, though. Yay for consistency.
2011-10-31Cleaned up configmgr initialization.Stephan Bergmann
Added CONFIGURATION_LAYERS bootstrap variable. Removed OOO_CONFIG_REGISTRY[_EXTRA]_DIR bootstrap variables.
2011-10-27Fixed previous configmgr layer numbering fix.Stephan Bergmann
2011-10-26Fixed configmgr layer numbering.Stephan Bergmann
2011-10-26more tweaks to unittests, also move registrymodifications.xcuNoel Power
registrymodifications.xcu has been moved to the solver ( unittest/user/data ) new OOO_CONFIG_REGISTRY_EXTRA_DIR env var will be used to specify the directory 'data' will be contained in so we can override various config items.
2011-10-26Handle removal of non-mandatory set members.Stephan Bergmann
2011-10-25more support for basic/vba unit testsNoel Power
add moggis work and some tweaks from me too
2011-10-20Undo basis/brand split: moved ini files from basis program/ to brand program/.Stephan Bergmann
Moved uno ini, folded fundamentalbasis ini into fundamental ini, merged version inis.
2011-10-07Undo basis/brand split: merge basis share/ into brand share/.Stephan Bergmann
2011-09-02let unit tests use the solver's config xml with OOO_CONFIG_REGISTRY_DIRMichael Meeks
2011-08-31Tell RootAccess when Components instance is destroyed.Kohei Yoshida
This is to avoid RootAccess instances, which are ref-counted, to avoid accessing the Components instance, which is a singleton. The problem may arise when shutting down the entire app where it's entirely unclear whether the RootAccess instances get destroyed first or the Components instance does. In fact, on my Windows XP environment this repeatedly caused crash-on-close issue which would lead to "DDE server error" Windows system error dialog popping up afterwards.
2011-08-30Make configmgr buildable with debug=true.Kohei Yoshida
2011-07-25another redundant fileMichael Meeks