Commit graph

646 commits

Author SHA1 Message Date
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
Caolán McNamara
15f14ec794 reorganize trickier statics 2012-04-02 14:53:48 +01:00
Tor Lillqvist
0487871af6 Revert "Initial experiments with static linking of (some) ..."
Thist idea caused too intrusive changes to the code of call sites, I
think. Will do it another way that leaves call sites as is.

This reverts commit 25d114eec4.
2012-03-29 09:49:43 +03:00
Tor Lillqvist
bb84db9f44 Add an InitUCBHelper function to be called from an Android app's Java level 2012-03-28 16:57:59 +03:00
Tor Lillqvist
25d114eec4 Initial experiments with static linking of (some) components / services
Start with the first service needed when running sc's filters_test:
the UniversalContentBroker. It might not be typical as ucb uses the
deprecated XSingleServiceFactory.

This commit is not at all a complete solution, far from it, just an
initial hack. Naturally once I come up with some generic enough way to
do the static linking the necessary macros etc will be added to some
general header.

The macro XSERVICEINFO_IMPL_1 (local to ucbhelper and ucb) is amended
so that it in the disable-dynamic-linking case also emits a function
whose assembler name equal contains the service name. This function
returns the XSingleServiceFactory for the service. Where the service
is instantiated we link directly to that function.

But probably this will be reworked a couple of times... Maybe it would
be better to simply have the service name specific entry point be a
pointer to the component's component_getFactory() function? Those all
have the same prototype.
2012-03-21 00:00:11 +02:00
Tor Lillqvist
9423429a70 Bin declaration of nonexistent static method 2012-03-21 00:00:09 +02:00
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Caolán McNamara
d527c1df68 callcatcher: update list 2012-03-09 10:26:50 +00:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Caolán McNamara
d6100ba273 callcatcher: update list 2012-02-27 09:45:57 +00:00
Stephan Bergmann
86ffa60647 Get rid of CREATEVERSIONRESMGR[_NAME] 2012-02-23 17:05:10 +01:00
Josh Heidenreich
8b9615be88 Added (and improved) READMEs for modules which used to be in libs-gui 2012-02-08 07:46:57 +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
b149b0433d ucbhelper::GetLocalFileURL does not use its arg. 2012-01-20 12:14:45 +01:00
Olivier Hallot
55b6485978 Fix for fdo43460 Part XLI getLength() to isEmpty()
Part XLI
Modules
ucbhelper, unodevtools
2012-01-19 22:07:58 -02:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Tor Lillqvist
7904a8cc56 I don't see NO_BSYMBOLIC being used anywhere 2011-12-11 02:57:59 +02:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02: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
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
6529096f6b remove include of pch header from ucbhelper 2011-11-27 13:26:27 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Michael Stahl
d63d64c4de empty a bunch of d.lst files 2011-11-21 22:46:17 +01: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
Caolán McNamara
2d8e9f7ce9 don't make it a secret what service fails 2011-11-10 16:45:26 +00:00
Caolán McNamara
7dca83c77c callcatcher: remove some unused methods 2011-10-24 10:48:03 +01:00
Tor Lillqvist
f6d351e5ec Revert "Attempt workaround for possible bug in Apple's LLVM g++ 4.2.1"
We get more similar linking errors elsewhere anyway. We would need a
more generic fix. As for now, just apparently not possible to build
with the LLVM g++ from Xcode 4. Use g++-4.2 / gcc-4.2 if you want ot
use Xcode 4. But note that for Xcode 4.2, you might need to do:

ln -s i686-apple-darwin10 /Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin11

This reverts commit f3e1052913.
2011-10-21 14:16:58 +03:00
Tor Lillqvist
f3e1052913 Attempt workaround for possible bug in Apple's LLVM g++ 4.2.1 2011-10-20 19:58:11 +03:00
Caolán McNamara
093e7a56ff callcatcher: remove unused Content::createDynamicCursor variant 2011-10-20 08:55:03 +01:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Cédric Bosdonnat
14a03abcd3 CMIS UCP: get the document content stream 2011-10-01 16:04:47 +02:00
Matúš Kukan
8c4e7806b2 unusedcode: ucbhelper:: cleaning 2011-08-26 01:30:21 +02:00
Norbert Thiebaud
d64bbd6bf8 detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set 2011-08-19 18:29:07 -05:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Takeshi Abe
10e14793d5 Emacs modeline compatible with vim's one 2011-08-05 11:04:32 +09:00
Caolán McNamara
72ae518285 make exception useful, state *what* url is invalid 2011-08-03 10:34:32 +01:00
Caolán McNamara
f6d4420ddd get this building under windows 2011-08-02 16:10:40 +01:00
Tor Lillqvist
704bc46ae4 Add consistent Emacs and vim mode lines 2011-07-30 23:12:12 +03:00
Bjoern Michaelsen
c81f9104b6 postmerge fixes for gnumake4 2011-07-22 21:07:24 +02:00
Bjoern Michaelsen
a233dac065 resyncing to master 2011-07-21 18:56:16 +02:00
Matus Kukan
22f299b12e Remove component_getImplementationEnvironment methods 2011-07-12 17:59:30 +02:00
Bjoern Michaelsen
75068ecaa1 gnumake4: fix buildbreakers from merge 2011-06-20 13:24:14 +02:00
Caolán McNamara
bbc355c39f catch by const reference 2011-06-20 11:08:37 +01:00
Bjoern Michaelsen
941020379b Merge branch 'master' into feature/gnumake4
Conflicts:
	basebmp/prj/d.lst
	basebmp/test/basictest.cxx
	basebmp/test/makefile.mk
	basegfx/inc/basegfx/basegfxdllapi.h
	basegfx/inc/basegfx/tools/debugplotter.hxx
	basegfx/inc/basegfx/tuple/b2ituple.hxx
	basegfx/prj/d.lst
	basegfx/source/numeric/makefile.mk
	basegfx/source/polygon/makefile.mk
	basegfx/source/range/makefile.mk
	basegfx/source/raster/makefile.mk
	basegfx/source/tuple/makefile.mk
	basegfx/source/vector/makefile.mk
	basegfx/test/basegfx1d.cxx
	basegfx/test/makefile.mk
	basegfx/util/makefile.mk
	canvas/Library_canvasfactory.mk
	canvas/Module_canvas.mk
	canvas/prj/build.lst
	canvas/prj/d.lst
	canvas/source/cairo/cairo_canvashelper_texturefill.cxx
	canvas/source/cairo/makefile.mk
	canvas/source/tools/makefile.mk
	comphelper/qa/string/makefile.mk
	cppcanvas/Module_cppcanvas.mk
	cppcanvas/inc/cppcanvas/cppcanvasdllapi.h
	cppcanvas/prj/build.lst
	cppcanvas/prj/d.lst
	cppcanvas/source/mtfrenderer/makefile.mk
	cppcanvas/util/makefile.mk
	i18npool/source/search/makefile.mk
	regexp/Library_regexp.mk
	regexp/prj/d.lst
	sax/CppunitTest_sax.mk
	sax/Library_sax.mk
	sax/prj/d.lst
	sax/qa/cppunit/test_converter.cxx
	sax/source/expatwrap/attrlistimpl.hxx
	sax/util/makefile.mk
	svtools/Library_svt.mk
	tools/Executable_sspretty.mk
	ucbhelper/prj/d.lst
	ucbhelper/source/provider/configureucb.cxx
	ucbhelper/source/provider/provconf.cxx
	ucbhelper/util/makefile.mk
	unotools/Library_utl.mk
	unotools/Module_unotools.mk
	unotools/Package_inc.mk
	unotools/prj/build.lst
	vcl/Library_desktop_detector.mk
	vcl/Library_vcl.mk
	vcl/Library_vclplug_gtk.mk
	vcl/aqua/source/gdi/salprn.cxx
	vcl/inc/aqua/saldata.hxx
	vcl/unx/generic/gdi/salgdi3.cxx
2011-06-19 12:47:44 +02:00
Tor Lillqvist
fef6942ac3 Produce the expected import library name in the MinGW case 2011-06-18 16:53:35 +03:00