Commit Graph

344 Commits

Author SHA1 Message Date
13b2519800 update_pch: add a bunch of pch files
connectivity: 3m52s ->  2m47s
 cppcanvas:      28s ->    13s
 cppuhelper:     20s ->    14s
 dbaccess:     2m38s ->  2m01s
 hwpfilter:      16s ->    13s
 sot:            21s ->    16s

Change-Id: I49286bfe6be73dd1b861be632b95e17a99e82f8a
2014-06-04 21:18:40 +02:00
6c7659b584 move URE headers to include/
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d
Reviewed-on: https://gerrit.libreoffice.org/3499
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:17:10 +00:00
1268326e81 Further clean-up related to removed library unloading feature
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
2013-04-16 17:52:37 +02:00
488e6875e9 remove external include guards
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25 19:58:16 +01:00
fa545023ad Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}
...replacing hard-coded GCC version checks.  Those checks that guard

  #pragma GCC diagnostic ignored "-Wnon-virtual-dtor"

appear relevant only for GCC itself, not Clang (which used to fail the old
guards because it typically announces itself with a rather low
__GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3
"Enable -Wnon-virtual-dtor for GCC 4.6"

Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-25 08:52:54 +01:00
7e9010735b add implbase13 - another interface is needed.
Change-Id: I98ee35ad6f3b86f94fe503debd2b1cf854101441
2013-03-22 16:40:15 +00:00
5e2fd3b3c9 this should be enough
Change-Id: I10af9ff8513f8f583867d0d6a18af03b3b5b1a28
2013-03-20 04:44:48 +01:00
980c1179bb cleanup doxygen warnings
Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
2013-03-18 21:57:02 -04:00
320571bf70 WIP: Experimental new binary type.rdb format
Move unoidl functionality into a module of its own, as a prerequisite to use it
in codemaker etc.  (This is intended to ultimately remove modules store and
registry, modulo backwards compatibility constraints.)

Change-Id: If5274cbd3a595951e6cf7a9664bc542f01833f38
2013-02-25 16:24:44 +01:00
fa559f1c41 WIP: Experimental new binary type.rdb format
Prepare cppuhelper/unoidl.hxx for direct consumption by code that currently uses
registry/ to read .rdb files (e.g., codemaker).  The additional exports will
need to be properly hidden from general users in gcc3.map (and documented,
and...).

Change-Id: I5cdff6fe69ab88435972e16dbda2311450f20ede
2013-02-22 17:24:09 +01:00
f3051abde5 API CHANGE: Remove deprecated cppuhelper/servicefactory.hxx and Java equiv.
... com.sun.star.comp.helper.RegistryServiceFactory (juh.jar).  Superseded by
default bootstrap mechanisms.

An aborting stub for non-inline cppu::createRegistryServiceFactory is left in
cppuhelper/srouce/compat.cxx to avoid having to incompatibly change
cppuhelper/soruce/gcc3.map.

Change-Id: I590e50b8f57e86d4bb3e00d157c9e5907c02f267
2012-12-21 15:56:44 +01:00
e3982fc537 API CHANGE: Remove deprecated cppuhelper/bootstrap.hxx functionality
cppu::createSimpleRegistry, cppu::createNestedRegistry, and
cppu::bootstrap_InitialComponentContext for registry-based type/service
information, superseded by cppu::defaultBootstrap_InitialComponentContext.

Aborting stubs for the three functions are left in cppuhelper/source/compat.cxx
to avoid having to incompatibly change cppuhelper/source/gcc3.map.

Change-Id: I8e714c021c246b15a6e6fb7f25d754dceff17c8a
2012-12-20 10:02:38 +01:00
9d7c1dcbbb re-base on ALv2 code. Includes:
Patches contributed by Ocke Janssen
   converted reportdesign.
   http://svn.apache.org/viewvc?view=revision&revision=1396797
   http://svn.apache.org/viewvc?view=revision&revision=1394326

   Patch contributed by Oliver Rainer-Wittmann
   sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
   apply print settings to new printing routines
   http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-12-06 09:12:57 +00:00
c95f6b679a remove obsolete stdidlclass. 2012-12-06 09:12:57 +00:00
44ea5d1414 Adding SAL_DEPRECATED_INTERNAL to an implementation function is pointless
...as there are typically no direct calls to it anyway.  What is apparently
needed is to decorate the cppumaker-generated headers instead:

* cppumaker obtains deprecation-information from the documentation strings in
  .rdb files.  As these are normally generated by idlc without documentation
  included (no -C), idlc got changed to nevertheless contain documentation
  consisting of just "@deprecated" in this case, to allow to easily tunnel this
  information to cppumaker always.

* The mechanism of parsing for "@deprecated" in documentation strings is
  somewhat crude, of course.

* For now, cppumaker only decorates C++ functions that correspond to UNOIDL
  interface attributes and methods.  More should be possible (but, e.g., being
  able to decorate a complete C++ class corresponding to a deprecated UNOIDL
  interface type depends on whether all platforms would accept
  SAL_DEPRECATED_INTERNAL at the same position in a C++ class declaration.

* This could also be extended to other languages than C++/cppumaker.

* Always using SAL_DEPRECATED_INERNAL instead of SAL_DEPRECATED for decoration
  is to keep things simple and our codebase working.  Improvements are possible
  here, too, of course.

Change-Id: Ia2917892f780d477652e4cd9f286588a6898c3f5
2012-11-23 14:04:51 +01:00
c90f5c6651 create SAL_DEPRECATED_INTERNAL for annotating API
It flags methods that we don't want used externally, but havn't
finished removing internally.

Change-Id: I818ee0ea2bf5294be816256a0e7f1868f26806b8
2012-11-22 12:13:21 +00:00
079485a648 sal, cppuhelper, udkapi, offapi: s/@since 3.7/@since 4.0/
Change-Id: Iefbe31af8d6ec421c6006423b6ee3a6375e3d453
2012-11-20 21:44:16 +01:00
8ae194caf7 fix mergedlib on windows
Change-Id: I30ee99fe2a2e92c69ebfcef9af5ff1bb27ec114b
2012-10-07 10:42:23 +02:00
2171077c0c Introduce cppu::supportsService helper, adapt some call-sites
...more to follow (easy hack?)

Change-Id: Icb02626495701a3905c124c7368b98c3258e91b2
2012-09-14 19:32:30 +02:00
098be920e0 remove obsolete hooks for proprietary Sun single-sign-on config page
Change-Id: Ia6c0fbd33a4293ba863b4179f03f78ded413040a
2012-07-16 10:21:36 +01:00
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
271c4e2fe5 Revert MSVC ABI incompatible URE change (public -> protected)
...the mangled names of the corresponding symbols change with MSVC if you change
a member from public to protected.  This had been changed with
6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6"
but should only be necessary for GCC, not for MSVC, so can simply be reverted
under _MSC_VER.

Change-Id: Id22aadaff3d7f30ed824f39fe22eab7ca39bd408
2012-06-14 08:32:51 +02:00
f0c7544df9 nuke dead code
Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03
2012-06-06 23:05:59 +09:00
ac1a6df9c8 WaE: implicit conversion changes signedness 2012-04-24 23:56:48 +03:00
8d1fbba77f doxygen warning fixes 2012-04-23 19:17:42 +02:00
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.

* 09524d410bbaad2a0b9b39811cb5cc16621b1396 "stoc: accelerate opening of multiple
  XML .rdb files in a directory" and its follow-up
  cb5c881a7f179391ee853f76e159254c97d776a3 "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
9a6f7f674b Updated workaround comment 2012-04-02 15:08:28 +02:00
aacea7da46 Make SAL_CALL placement work with both MinGW and MSVC 2012-03-22 13:48:45 +01:00
4fc8059d44 Fix SAL_CALL placement (so MinGW won't complain) 2012-03-22 10:37:14 +01:00
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
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
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
0f6d1ff621 some doxygen warnings cleanup 2012-02-27 21:25:02 +07:00
98a11f3ad9 Some doxygen warnings cleanup 2012-02-23 22:58:06 +07:00
22e96521da WaE: silence some documentation errors 2012-02-22 00:52:32 +01:00
b1073d9fa2 WaE: silence some documentation errors 2012-02-21 23:16:31 +01:00
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
6ac30d8be9 clean-up Doxygen warnings 2012-01-19 20:19:21 -06:00
d0e97e3db7 Also gives BoundListeners a CPPUHELPER_DLLPUBLIC to link on msvc 2012-01-09 10:36:35 +01:00
58ab12acf5 Switch from autodoc to doxygen for SDK C++ documentation.
* New build prerequisite doxygen (controllable via --with-doxygen).
* Adapted various headers to slightly different doxygen documentation
  syntax, but much clean up still remains to be done (i.e., warnings
  emitted by doxygen fixed).
2012-01-05 19:43:14 +01:00
b222aa8fff cppuhelper: convert to gbuild
missing subsequent test qa/propertysetmixin/makefile.mk
2012-01-02 15:33:13 +01:00
bd46aa5930 cppuhelper: add visibility symbols as first step for porting to gbuild 2012-01-02 15:33:13 +01:00
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
c10fb61c1a remove include of pch header in cppuhelper 2011-11-27 13:03:19 -06:00
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
853b185220 typo/spelling/grammar in comment 2011-10-28 11:07:50 +02:00
bf1f0183d5 Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). 2011-10-18 23:10:56 +02:00
12e2e04977 sb140: #i117697# simplify obsolete cppuhelper/stdidlclass.hxx implementation 2011-09-12 22:47:49 +02:00
5b80048a1e correct OPropertySetHelper2 copy constructor and assignment operator
allows to get rid of export of vtable
2011-09-07 12:09:23 +02:00