summaryrefslogtreecommitdiff
path: root/configmgr
AgeCommit message (Collapse)AuthorFilesLines
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud4-4/+0
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 Bergmann2-12/+7
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 Thiebaud1-2/+2
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-08-17gbuild: register all jarsMichael Stahl1-5/+5
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-07-25Make comphelper/configuration.hxx work for localized propertiesStephan Bergmann5-105/+186
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ňák1-1/+1
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-16Unused includeStephan Bergmann1-1/+0
Change-Id: I445499755dc92103b3777229f22db0bc6ec1a80e
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks1-4/+1
2012-06-26re-base on ALv2 code.Michael Meeks1-26/+17
2012-06-22.xcd files don't need executable bitsMichael Stahl1-0/+0
Change-Id: I1625af99f9b13eaae7b74c65b6306bae6d063627
2012-06-20removed unused forward declarations of classTakeshi Abe3-6/+0
Change-Id: Iee1b78242e210466375376da3e4dbbaec609cc03
2012-06-15added zoom submenu to ViewTim Hardeck1-3/+3
Added zoom submenu to View with the same entries of the zoom status bar right mouse button menu. This feature was requested on the design-mailing list: http://www.mail-archive.com/design@global.libreoffice.org/msg03561.html Additionally the zoom menu entries were sorted in a more logical way. Change-Id: I5f2df8aa33be9305841fd5505c95963bee8a0ed0
2012-06-12re-base on ALv2 code.Michael Meeks66-1692/+1102
2012-06-01nuke unused namespaceTakeshi Abe1-6/+0
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-08gbuild: "use" vs. "add":Michael Stahl2-3/+3
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi3-14/+8
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi4-9/+9
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 Dezsi2-4/+4
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-23.sce files don't need executable bitsMichael Stahl1-0/+0
2012-03-23.component files don't need executable bitsMichael Stahl1-0/+0
2012-03-21chmod -xTor Lillqvist1-0/+0
2012-03-20Unused includesStephan Bergmann1-1/+0
2012-03-15fdo#42961 Don't let env vars interfere with internal bootstrap varsStephan Bergmann1-9/+31
2012-03-09Line breaks in registrymodifications.xcuStephan Bergmann1-4/+4
2012-03-06more idle code documentation improvementMichael Meeks1-0/+5
2012-02-24Resolves fdo#46074: Fix Partial::contains for paths that go past a leaf nodeStephan Bergmann1-1/+14
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 Bergmann1-18/+7
2012-02-20gb_JunitTest_JunitTest takes only one argumentStephan Bergmann1-1/+1
2012-02-19add configmgr, ucb1, ucpfile1, xcr to libmergedMatúš Kukan2-2/+2
2012-02-14Moved configmgr/source/README into configmgr/READMEStephan Bergmann2-156/+131
2012-02-08Added READMEs for modules which used to be in libs-coreJosh Heidenreich1-0/+1
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud1-35/+2
2012-01-30Fixed cppheader.xsl nillable treatment.Stephan Bergmann1-0/+4
* 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 Bergmann2-3/+6
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 Bergmann1-0/+10
2011-12-17Fix for fdo43460 Part VIII getLength() to isEmpty()Olivier Hallot10-41/+41
Part VIII Module comfigmgr
2011-12-16Revert "Move configmgr to tail_build."Stephan Bergmann1-0/+2
...it is not yet ready for that. This reverts commit f3acd83c1c406f6527d05b0a52a2bef03557e2e1. Conflicts: tail_build/prj/build.lst
2011-12-16Code modules no longer depend on stlport.Stephan Bergmann1-1/+1
2011-12-16Move configmgr to tail_build.Stephan Bergmann1-2/+0
2011-12-14Missing configmgr/prj/build.lst adaption.Stephan Bergmann1-2/+1
2011-12-14Replaced remaining OSL_ASSERT in configmgr.Stephan Bergmann4-12/+16
2011-12-14Ported configmgr to gbuild.Stephan Bergmann6-133/+86
2011-12-13Unified configmgr::Node::getMember{s,Map} again.Stephan Bergmann18-112/+97
(With the insight that Data::components is RootNode::members.)
2011-12-13Fix problem when compiling against a wrong colour version of the GNU STLTor Lillqvist1-1/+1
2011-12-13Simplified, type-safe C++ configuration access.Stephan Bergmann28-929/+1590
* 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-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen1-0/+1
2011-11-29move reconfigure into gbuildBjoern Michaelsen1-1/+1
2011-11-29Adapted to new assertion/logging mechanisms.Stephan Bergmann20-290/+282
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud2-65/+0