Commit graph

1183 commits

Author SHA1 Message Date
Takeshi Abe
7113c7152d catch by constant reference 2011-11-30 11:27:42 +09: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
24c0f87615 remove include of pch header in canvas 2011-11-27 12:57:22 -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
Stephan Bergmann
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
Jan Holesovsky
6b74943cc6 Using #if etc. inside OSL_TRACE is not a good idea, breaks Windows. 2011-11-22 21:57:46 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +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
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
Thorsten Behrens
7c22d03fb6 Better fix for removed RangeExpander
The sole reason for that late class was the overloaded
Range::expand() method - but it's actually quite easy to
disambiguate that for boost::bind.
2011-11-03 09:52:50 +01:00
Cédric Bosdonnat
7ffe517dea RangeExpander functor removed, but needed in one place.
Added a local class for it: there may be a better fix, but it avoids the
build to break.

Removed a few remaining includes
2011-11-03 08:53:40 +01:00
Michael Meeks
a07e8231a5 gtk3: fix cairo canvas crash for non X (or svp) backend 2011-10-25 13:41:57 +01:00
Tor Lillqvist
6db1788c08 WaE: '=' : truncation of constant value 2011-10-06 12:02:02 +03:00
Michael Meeks
6c2d66e525 remove const sal_Char * casts of rtl::OUStringToOString results, fixes ucb 2011-10-05 14:00:34 +01:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Thorsten Behrens
04b8b4fbbb Make Android cross-build working
In the spirit of 12759f67a3, change
external lib's config.sub to eat the arm-unknown-linux-androideabi
host os string. Also, permit shared libs again - seems Android can
handle those.

Added dictionaries to cross-build-toolset - idxdict is needed.

Should build up to sfx2 - some residual static lib issues there,
and in raptor.
2011-09-27 09:46:38 +02:00
Tor Lillqvist
4f3e9f30a0 Always link with user32 2011-09-22 15:46:15 +03:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Tor Lillqvist
eefc25d1d2 Bin USE_MINGW
Its alternative values as used by OOo is irrelevant to us as we don't
intend to support building using MinGW on Windows itself. To us, MinGW
always means cross-compilation. For us it is enough to look at
$(OS)$(COM), and WNTGCC always implies cross-compilation.

(OOo on the other hand attempts to support use of the Cygwin gcc with
the -mno-cygwin option (which is practically considered an obsolete
option), the normal MinGW compiler (but still from Cygwin), but not
cros-compilation.)
2011-08-26 20:54:59 +03:00
Tor Lillqvist
6a36c739b8 Link with d3d9 and not ddraw which doesn't exist in current DirectX 2011-08-24 12:49:45 +03: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
Matúš Kukan
4b60da5d1d add more component prefixes 2011-08-17 23:51:45 +02:00
Norbert Thiebaud
0471520e8d fix build issues in canvas on windows 2011-08-12 13:08:40 -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
40b9443a65 help windows build along 2011-08-04 12:13:06 +01:00
Tor Lillqvist
704bc46ae4 Add consistent Emacs and vim mode lines 2011-07-30 23:12:12 +03:00
Thorsten Behrens
e563f1401a Removed weird VERBOSE overload in canvas
Now doing extra logging / graphical debug cues via OSL_DEBUG_LEVEL
of 3. Also saves some lines in makefiles.
2011-07-26 23:56:14 +02:00
Thorsten Behrens
de103dcd00 Removed special-casing for SunStudio brokenness
No point in cluttering makefile with workaround for unsupported
compiler.
2011-07-26 23:56:14 +02:00
Tor Lillqvist
d7352b5788 Make it build for iOS again 2011-07-26 00:28:43 +03:00
Tor Lillqvist
3bf120e8ac Link with X11 libs only for GUIBASE == unx which actually means X11 2011-07-26 00:15:05 +03:00
Norbert Thiebaud
8172313fe9 silence unused parameter warning 2011-07-24 15:59:38 -05:00
Norbert Thiebaud
ba949139a5 fix MacOS build (nedd objectiveC++ flags and Coca framework) 2011-07-24 15:59:23 -05:00
Bjoern Michaelsen
8fb6435604 keep gbuild calls consistent at now, even if it is a bit longer 2011-07-23 15:23:24 +02:00
Bjoern Michaelsen
67cd3faba4 add cairocanvas and canvasfactory 2011-07-23 02:38:41 +02: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
Bjoern Michaelsen
acb6133d89 not link cairocanvas against stl anymore 2011-07-21 11:33:44 +02:00
Tor Lillqvist
ee403ac2a0 Generate import library that matches libs.mk for WNTGCC 2011-07-21 07:55:52 +03:00
Tor Lillqvist
660931e296 Build the cairo canvas also for Windows if we don't build the DirectX one 2011-07-21 07:55:52 +03:00
Tor Lillqvist
d3abc64751 Fix compilation for iOS 2011-07-14 23:58:07 +03:00
Matus Kukan
22f299b12e Remove component_getImplementationEnvironment methods 2011-07-12 17:59:30 +02:00
Radek Doulik
72eff9e692 fix set color regression in cairo canvas
- the cairo_set_source_rgba should be called with non-alpha-pre-multiplied
   color values
 - fixes fdo#33591 and fdo#35681
2011-07-12 13:35:43 +02:00
Tor Lillqvist
0bcbc58743 Cannot build cairocanvas without cairo 2011-07-04 21:58:12 +03:00
Caolán McNamara
1e409eadc5 make cairo an unconditional requirement for text rendering 2011-06-30 11:35:17 +01:00