Commit graph

1005 commits

Author SHA1 Message Date
Stephan Bergmann
3b1798a55b Work around extension factories not implementing XServiceInfo
...that would otherwise lead to "Bad insert element" failure during live-insertion.

Change-Id: I74f883c9b613f03256abb7be7657f25b418f821d
2012-05-14 18:20:30 +02:00
Thomas Arnhold
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
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-29 03:50:46 +02:00
Bjoern Michaelsen
6a0972ced8 dont mix gbuild and dmake in one module 2012-04-29 03:50:45 +02:00
Tor Lillqvist
ac1a6df9c8 WaE: implicit conversion changes signedness 2012-04-24 23:56:48 +03:00
Caolán McNamara
f5a414d242 WaE: simple minded MSVC2008 thinks s could be used uninitialized 2012-04-24 11:56:49 +01:00
Luboš Luňák
8d1fbba77f doxygen warning fixes 2012-04-23 19:17:42 +02:00
Stephan Bergmann
015283bb50 Trying to parse legacy rdb as XML can cause InvalidRegistryException, too 2012-04-23 18:41:29 +02:00
Stephan Bergmann
0bbf79005a Do not fail for legacy rdb that only contains root key 2012-04-23 11:47:45 +02:00
Stephan Bergmann
18a9e9e844 Various clean up of previous commit 2012-04-20 23:37:14 +02:00
Stephan Bergmann
c2fd9b533c New cppu::defaultBootstrap_InitialComponentContext implementation
...that no longer uses XSimpleRegistry structures for the service data and thus
is potentially more performant.

* Registry-based functions from cppuhelper/bootstrap are deprecated now, client
  code should always use defaultBootstrap_InitialComponentContext.

* References to the obsolete UNO_WRITERDB have been removed.

* Some of the functions in cppuhelper/source that are used from multiple .cxx
  but had not been properly placed into .hxx have been cleaned up.

* css.lang.ServiceManager XSet insert/remove now support special
  sequence<NamedValue> to improve live deployment/removal of XML-based extension
  components data.

* 09524d410b "stoc: accelerate opening of multiple
  XML .rdb files in a directory" and its follow-up
  cb5c881a7f "avoid using the new rdb reading
  logic for empty/non-existent directories" have been obsoleted by this change
  and have been reverted again.
2012-04-20 22:57:32 +02:00
Julien Nabet
e2c11d5fcc Remove extra parenthesis 2012-04-18 22:48:01 +02:00
Stephan Bergmann
a26c2ee3c9 Put create_bootstrap_macro_expander_factory properly into a header
...and fix the typo in its name.
2012-04-18 15:59:58 +02:00
Michael Meeks
cb5c881a7f avoid using the new rdb reading logic for empty/non-existent directories 2012-04-18 11:04:42 +01:00
Tor Lillqvist
b0105caa7f Add static mapping of the fastsax component 2012-04-18 01:23:49 +03:00
Florian Allmann-Rahn
223b99165a translated or removed german comments in connectivity, cppuhelper and cui 2012-04-17 11:32:31 +02:00
Tor Lillqvist
c92e66c38a More static UNO component linkage 2012-04-17 00:28:47 +03:00
Tor Lillqvist
2aadb6f9f4 Add the package2 component 2012-04-16 01:46:39 +02:00
Tor Lillqvist
906aa9dea2 Add utl and xstor UNO component mapping 2012-04-15 11:56:55 +02:00
Tor Lillqvist
3061e9e866 Add newline... 2012-04-15 11:56:54 +02:00
Tor Lillqvist
d31997559a Add comphelp and stocservices UNO component mapping 2012-04-15 11:56:53 +02:00
Tor Lillqvist
220336d736 Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING 2012-04-15 11:56:52 +02:00
Tor Lillqvist
e56b2109c0 Map and link in also the sfx UNO component 2012-04-15 11:56:51 +02:00
Tor Lillqvist
91ff02ec77 Map and link in also the filterconfig1 UNO component 2012-04-15 11:56:49 +02:00
Michael Meeks
09524d410b stoc: accelerate opening of multiple XML .rdb files in a directory
Instead of nesting these, we aggregate them into a single non-nested
registry, which saves lots of CPU at startup, sadly we can only do
that for the new-style XML registries, so we have to sniff files,
nevertheless this is still far faster. The merged xml files also
break the XSimpleRegistry::getURL() method - but it appears not
to get called.
2012-04-14 01:34:59 +02:00
Tor Lillqvist
0b67dd10f8 Use lo_get_libmap() 2012-04-09 22:43:52 +03:00
Matúš Kukan
0273632956 cppuhelper: use InternalUnoApi 2012-04-09 21:04:38 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
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-08 01:05:52 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Stephan Bergmann
9a6f7f674b Updated workaround comment 2012-04-02 15:08:28 +02:00
Tor Lillqvist
1a4cbf9f5c More static lib name mappings. Yeah, need to do a gperf thing some night 2012-03-30 08:37:14 +03:00
Takeshi Abe
6f087d103a removed duplicate includes in cppcanvas / cppuhelper / cui 2012-03-30 00:42:35 +09:00
Tor Lillqvist
b5e4de326f Add some more temporary hardcoded library mappings for DISABLE_DYNLOADING 2012-03-29 09:49:45 +03:00
Stephan Bergmann
aacea7da46 Make SAL_CALL placement work with both MinGW and MSVC 2012-03-22 13:48:45 +01:00
Stephan Bergmann
4fc8059d44 Fix SAL_CALL placement (so MinGW won't complain) 2012-03-22 10:37:14 +01:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
Tor Lillqvist
128749140f More hacking on static linking (iOS) support 2012-03-21 00:00:05 +02:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Luboš Luňák
36627af621 SAL_DLLPUBLIC_TEMPLATE
On Linux, public templates should not be hidden at the linker level.
But on Windows, dllimport causes trouble. So create a new macro
to be used specifically with templates that does the right thing
on both platforms.
(http://lists.freedesktop.org/archives/libreoffice/2012-March/028041.html
and followups)
2012-03-12 19:12:49 +01:00
Tom Thorogood
caacafe4db Translate German comments in core/cppuhelper 2012-03-10 22:00:56 +01:00
Luboš Luňák
34f8495dd9 exported templates need to be marked as such
Otherwise their instances created in other modules may end up
as non-exported even when used by something exported.
2012-03-10 16:39:22 +01:00
Korrawit Pruegsanusak
0f6d1ff621 some doxygen warnings cleanup 2012-02-27 21:25:02 +07:00
Korrawit Pruegsanusak
98a11f3ad9 Some doxygen warnings cleanup 2012-02-23 22:58:06 +07:00
Thomas Arnhold
22e96521da WaE: silence some documentation errors 2012-02-22 00:52:32 +01:00
Thomas Arnhold
b1073d9fa2 WaE: silence some documentation errors 2012-02-21 23:16:31 +01:00
Josh Heidenreich
fb78dbcdc5 Added READMEs for modules related to URE, with content from the wiki 2012-02-06 05:28:46 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00