Commit graph

4901 commits

Author SHA1 Message Date
David Tardon
dab0d51536 add missing deps for tools/color.hxx
Change-Id: I164afe17c3bff2f7d7f2b9daec0d5a5ca8fdf97a
2012-10-01 13:56:29 +02:00
Stephan Bergmann
f5f06fb016 Use comphelper::getComponentContext
...and some further clean up.

Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-10-01 13:55:48 +02:00
Michael Stahl
f011af716e gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-10-01 13:54:43 +02:00
Michael Stahl
8831c592e8 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-10-01 13:54:37 +02:00
Michael Stahl
578e195cf3 gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solaris
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-10-01 13:54:35 +02:00
Michael Stahl
ecddbecedc gbuild: clean up Mac OS X framework handling:
There are currently 3 different mechanisms being used for frameworks,
which is of course intolerable so we invent a 4th one and standardize on
it:  gb_LinkTarget_use_darwin_frameworks

(This doesn't mean using add_libs or externals was wrong, it was just
inconsistent... and i don't see an obvious benefit of using externals here)

Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
2012-10-01 13:54:30 +02:00
Michael Stahl
816ec4b093 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-10-01 13:54:24 +02:00
Michael Stahl
6f6f7a17dc gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-10-01 13:54:21 +02:00
Caolán McNamara
2f002e3a49 having two SetPosSizePixel is a blasted nuisance
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel

Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-28 08:48:39 +01:00
Stephan Bergmann
a00c4e02ac Improvements on previous commit
* Made XDatabaseContext inherit XDatabaseRegistrations non-optionally, adapted
  call-sites to just use XDatabaseContext w/o querying.  (The previous commit
  had inadvertantly effectively removed support for XDatabaseRegistrations from
  the ODatabaseContext implementation, as an optional UNO super-interface does
  not lead to a super-class in the corresponding C++ class hierarchy, but making
  the super-interface non-optional fixes that anyway.)

* Adapted some more call-sites to just use XDatabaseContext w/o querying.

* Added @since tag.

* Replaced new uses of comphelper::ComponentContext::getUNOContext with
  comphelper::getComponentContext (see 03a9f139bd
  "ComponentContext::getUnoContext -> getComponentContext simplification;" I
  intend to get rid of comphelper/componentcontext.hxx much sooner than of
  comphelper/processfactory.hxx).

Change-Id: I68d09f2dbe651629f79ed21cd40cdb6d6b32c624
2012-09-27 15:03:32 +02:00
Noel Grandin
9c00e38b43 fdo#46808, Adapt sdb::DatabaseContext UNO service to new style
Create a merged XDatabaseContext interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Quite a few IDL files had to be marked as published for this to work.

Change-Id: Ie9a0da88d8c33cc83fc9d2334ff83ab2744c222f
2012-09-27 15:03:32 +02:00
Noel Grandin
cd693ff598 fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new style
Create a merged XGlobalEventBroadcaster interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Also add two interfaces to the IDL, which the service already implemented,
and existing client code already used.

Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-27 10:30:42 +02:00
José Guilherme Vanz
4972652eeb fdo#51304: Remove @author annotation
This patch removes '@author' annotations and some unnecessary comments
in java sources.

Change-Id: Icea4721c42dc08fe51a0bc667872dfbca9c2880f
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
2012-09-26 09:45:01 +01:00
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Tor Lillqvist
7b7c28f9bd WaE: format (64-bit)
Change-Id: Idc7179f393da9e97a86ca910eff15697f094ece1
2012-09-21 14:01:03 +03:00
Stephan Bergmann
8aae567dc6 Wrong include
Change-Id: I3a6b2218cec77eabf05bc422258e672269440c7b
2012-09-19 16:01:45 +02:00
Stephan Bergmann
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
sagar
b079fd5a1b fdo#34792 - Fix for truncated field labels in Bibliography database dialog
Change-Id: I256b2b0ad508faed68c9faf0df6a9bb2e334cc66
Reviewed-on: https://gerrit.libreoffice.org/627
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-17 08:03:05 +00:00
Stephan Bergmann
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
Noel Grandin
2e284203da fdo#46808, Adapt ucb::UniversalContentBroker UNO service to new style
Create a merged XUniversalContentBroker interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: Id264387bf8af8bf211050e15b8801a1fde368167
2012-09-14 18:24:48 +02:00
Michael Meeks
7c805af4d0 build fix. 2012-09-12 15:16:37 +01:00
Noel Power
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
Noel Power
7d69c50413 misc fixes and improvements
hook in new properties into the property controller
allow new values to be passed to control

Change-Id: Ibbf1c1de4bfc7cb15e46d0d6704a025e5f0d048c
2012-09-11 16:04:10 +01:00
Noel Power
613f8a3137 attempt own scroll
Change-Id: I4abc00bf4fcebb098b63cc2c3638e0d573381ca5
2012-09-11 16:04:10 +01:00
Noel Grandin
e3d9ff3fd0 Java cleanup, fixup the TestPGP code to compile again.
Change-Id: I7b77f1a21936ff63b64d005fff3343df30b90b38
2012-09-10 23:43:37 +02:00
Stephan Bergmann
cf0dd7b95d Inadvertent omit of Events node from Jobs-onlineupdate.xcu
...causing update check to not run due to the missing JobList entry.

Change-Id: If855259ac86340763e4b0fa8266f011f8980d61b
2012-09-06 17:41:54 +02:00
Noel Grandin
bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
Jan Holesovsky
08aec05e33 Update with info about online update checking lifetime.
Change-Id: I6f631fbf9f9e3e958ab3269d099be42e0854493a
2012-09-06 14:30:13 +02:00
Michael Stahl
68428270b3 extensions: oleautobridge needs comphelper
Since b679a2a021 this oleautobridge seems
to need comphelper.

Change-Id: Idb04b61026e78fd3f726d66ef05d4345aaeb40a6
2012-09-05 21:29:08 +02:00
Michael Stahl
800133e8c8 extensions: convert unoapi test to gbuild
It even seems to run on my system

Change-Id: I0246467b82bec7617d6de7dbad84c45fc279c24c
2012-09-05 21:01:48 +02:00
Michael Stahl
b1fd48de5f remove some obsolete boilerplate Test.java
Change-Id: I694cff583fddb713a59e5d6b8e15ea06a2be63b6
2012-09-05 21:01:48 +02:00
Noel Grandin
bf212ec146 Java cleanup, fix a couple of compile errors in old code
Change-Id: I5ceeaedb25ab8c9e6510e7fa88143670ae82703c
2012-09-05 21:01:45 +02:00
Noel Grandin
b679a2a021 fdo#46808, Adapt reflection::CoreReflection UNO service to new style
The XComponent part of the interface made no sense for a singleton,
so it was removed.
Explicitly document the 'theCoreReflection' singleton and move it
into it's own file.
Deprecated the now old CoreReflection service.

Change-Id: Ib8befa87c7da7eb53a2f587948fd54a64c082472
2012-09-05 15:46:55 +02:00
Stephan Bergmann
31da8163ef Some clean up of previous commit
Change-Id: I75a4b2be2fbaf47a2ddb3498dd4e46b1169d47cc
2012-09-04 17:56:11 +02:00
Noel Grandin
9738002eca fdo#46808, Adapt drawing::ShapeCollection UNO service to new style
No client code is using the XComponent interface, so drop it.

Change-Id: Id8f6da1248da641dcc0a3cb6d0a70e3bf29e5c99
2012-09-04 17:26:03 +02:00
Noel Grandin
bc00717bb7 fdo#46808, Adapt system::SystemShellExecute UNO service to new style
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-09-03 15:55:05 +02:00
Noel Grandin
9b07288138 fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new style
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03 15:55:04 +02:00
Stephan Bergmann
938fd390a9 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I8daed910fc552a973464ec6756f59910ddd5d0da
2012-08-31 09:04:17 +02:00
Noel Grandin
8638f1e72a fdo#46808, Adapt script::Converter service code to new style
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27 15:40:07 +02:00
Noel Grandin
f789715a41 fdo#46808, Use factory methods for frame::DispatchHelper instances
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
2012-08-27 15:40:06 +02:00
Matúš Kukan
9ec8d331dc kill more unneeded stuff; rename uiconfig Packages
Change-Id: Ib2f73d679ac4a6164142a370ce6d55c6de41117c
2012-08-24 23:24:11 +02:00
Joel Madero
e4b0ce8887 fdo#53001 disable unlink graphics in image control dialog in base report builder
Embedding graphics in a report builder report is not implemented,
so do not propose it to the user.
It already was not proposed the dialog raised by
"Insert->Picture->From File"
This commit disables embedding the UI when selecting
an image for an already existing Graphic control
(as opposed to inserting a new graphic control).

Change-Id: I107bc59bef8bb29a75140542cc5c2779a37ed113
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-08-23 14:48:38 +02:00
Stephan Bergmann
fcd990f208 Some clean up after previous commit
Change-Id: Ie419c769c5d661d51c1b43b9808791dcf9e1725c
2012-08-23 09:58:25 +02:00
Noel Grandin
3e7990faa4 fdo#46808, Shiny UNO, Use factory to create XSimpleFileAccess instances
Change-Id: I86e2a8873e5646abd340015f500bf9e872e8e6c5

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-23 09:58:25 +02:00
Jung-uk Kim
ed93117447 fdo#53061: Fix for C++11 #define NULL nullptr
Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-14 10:39:13 +02:00
Thomas Arnhold
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
adc49a81e9 remove empty ascii boxes and stuff
Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
2012-08-07 18:08:29 +02:00
Thomas Arnhold
c04c2114d9 Remove unused macros
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
2012-08-05 20:31:47 +02:00
Michael Stahl
753e9b3d45 udkapi, offapi: do not use #include "foo":
Evidently on Windows, the newfangled ucpp handles #include "foo"
differently from #include <foo> and treats it as a relative path, while
the angle brackets always result in absolute paths.
Since relative paths result in infinite rebuilds if make is invoked in a
different directory, don't use #include "foo" in IDL files.

Change-Id: Iedcda3a4be5542389a0be086f14541cda8dc5323
2012-07-30 20:49:09 +02:00
Stephan Bergmann
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00