Commit graph

2890 commits

Author SHA1 Message Date
Stephan Bergmann
97355467b4 Adapted WriteThread to safer-to-use salhelper::Thread 2012-02-23 10:47:36 +01:00
Stephan Bergmann
fe981519f5 gb_JunitTest_JunitTest takes only one argument 2012-02-20 16:39:59 +01:00
Matúš Kukan
a62f426993 add configmgr, ucb1, ucpfile1, xcr to libmerged 2012-02-19 19:24:34 +01:00
Stephan Bergmann
00717e8550 Moved configmgr/source/README into configmgr/README 2012-02-14 13:48:46 +01:00
Josh Heidenreich
64e1ae0f55 Added READMEs for modules which used to be in libs-core 2012-02-08 06:37:16 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Stephan Bergmann
e8bb827571 Fixed cppheader.xsl nillable treatment.
* 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-30 12:27:47 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
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-21 15:21:16 +01:00
Stephan Bergmann
ab93e1b483 Check for xcu <node> that should rather be <prop>. 2012-01-12 09:19:07 +01:00
Olivier Hallot
4a0ab53cf4 Fix for fdo43460 Part VIII getLength() to isEmpty()
Part VIII
Module
comfigmgr
2011-12-17 10:05:35 +04:00
Stephan Bergmann
a4c82d571e Revert "Move configmgr to tail_build."
...it is not yet ready for that.

This reverts commit f3acd83c1c.

Conflicts:

	tail_build/prj/build.lst
2011-12-16 18:29:25 +01:00
Stephan Bergmann
c4e5203999 Code modules no longer depend on stlport. 2011-12-16 17:45:10 +01:00
Stephan Bergmann
f3acd83c1c Move configmgr to tail_build. 2011-12-16 17:45:10 +01:00
Stephan Bergmann
0cead1d533 Missing configmgr/prj/build.lst adaption. 2011-12-14 09:45:37 +01:00
Stephan Bergmann
28b86ca7b7 Replaced remaining OSL_ASSERT in configmgr. 2011-12-14 09:37:14 +01:00
Stephan Bergmann
ce1f52d69a Ported configmgr to gbuild. 2011-12-14 09:37:14 +01:00
Stephan Bergmann
db4bc6812d Unified configmgr::Node::getMember{s,Map} again.
(With the insight that Data::components is RootNode::members.)
2011-12-13 22:16:31 +01:00
Tor Lillqvist
63961609e8 Fix problem when compiling against a wrong colour version of the GNU STL 2011-12-13 15:18:58 +02:00
Stephan Bergmann
bcdea3b379 Simplified, type-safe C++ configuration access.
* 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-13 12:50:34 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Stephan Bergmann
048a25b4c8 Adapted to new assertion/logging mechanisms. 2011-11-29 13:12:20 +01:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
d95804fc8b remove include of pch header in configmgr 2011-11-27 13:00:33 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Andras Timar
bab4bc9ec4 cleanup .uno:HelpSupport 2011-11-21 13:15:27 +01:00
Tor Lillqvist
469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
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-11-17 15:22:59 +02:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Stephan Bergmann
8b75883b87 Simplified some uses of css.configuration.theDefaultProvider.
* Retro-added new-style UNOIDL singleton specification for it, for easy
instantiation.
* Plus new comphelper::getComponentContext to map from XMultiServiceFactory
to XComponentContext.
2011-11-14 22:07:23 +01:00
Stephan Bergmann
a334403eb2 Cleaned up configmgr initialization.
Added CONFIGURATION_LAYERS bootstrap variable.
Removed OOO_CONFIG_REGISTRY[_EXTRA]_DIR bootstrap variables.
2011-10-31 16:51:35 +01:00
Stephan Bergmann
9d9f9939bd Fixed previous configmgr layer numbering fix. 2011-10-27 10:27:02 +02:00
Stephan Bergmann
1144ddaf3d Fixed configmgr layer numbering. 2011-10-26 20:31:41 +02:00
Noel Power
8e68391fc9 more tweaks to unittests, also move registrymodifications.xcu
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-26 19:10:14 +01:00
Stephan Bergmann
3f8072136f Handle removal of non-mandatory set members. 2011-10-26 18:00:47 +02:00
Noel Power
87d8dc5a02 more support for basic/vba unit tests
add moggis work and some tweaks from me too
2011-10-25 19:26:55 +01:00
Stephan Bergmann
b786a33cfd Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and BaseInstallation. 2011-10-24 13:59:58 +02:00
Stephan Bergmann
b1eae75f53 Undo basis/brand split: moved ini files from basis program/ to brand program/.
Moved uno ini, folded fundamentalbasis ini into fundamental ini, merged
version inis.
2011-10-20 23:04:11 +02:00
Stephan Bergmann
2ff63bcdea Undo basis/brand split: merge basis share/ into brand share/. 2011-10-07 22:06:28 +02:00
Michael Meeks
da1073f130 let unit tests use the solver's config xml with OOO_CONFIG_REGISTRY_DIR 2011-09-02 15:31:53 +01:00
Kohei Yoshida
4580e570bd Tell RootAccess when Components instance is destroyed.
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-31 00:51:19 -04:00
Kohei Yoshida
5c304bb578 Make configmgr buildable with debug=true. 2011-08-30 23:29:00 -04:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Takeshi Abe
88825599e8 reflect gmake flavor 2011-08-05 10:47:13 +09:00
Takeshi Abe
9e2800793a Emacs mode line compatible with vi's one 2011-08-05 01:14:05 +09:00
Tor Lillqvist
4122c3b9d5 Add consistent Emacs and vim mode lines 2011-07-30 23:02:30 +03:00
Michael Meeks
3ba288cc6c another redundant file 2011-07-25 16:37:40 +01:00
Michael Meeks
d19b0e57de remove obsolete files, they now live in xmlreader/ 2011-07-25 16:36:59 +01:00
Bjoern Michaelsen
200bc6c582 resyncing to master 2011-07-21 18:51:11 +02:00
Matúš Kukan
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00