Commit graph

4323 commits

Author SHA1 Message Date
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Tor Lillqvist
ea19e7243b No DT_RPATH or DT_RUNPATH support in the Bionic dynamic linker 2011-11-25 18:19:51 +02:00
Lior Kaplan
9675702370 Sort languages alphabetically (please insert new entries in the right place) 2011-11-25 17:09:21 +02:00
Tor Lillqvist
0cc0df0588 No symbol versioning on Android 2011-11-24 19:20:12 +02:00
Jan Holesovsky
832e6d2293 Some trivial fixes for MinGW with -std=c++0x enabled; not finished. 2011-11-23 11:59:30 +01:00
Andras Timar
734bfe16bd remove unused FOR_WIN_X define 2011-11-22 14:17:23 +01:00
Andras Timar
018b48d361 fix VERSIONINFO section of win32 executables fdo#30798 2011-11-22 14:17:23 +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
Tor Lillqvist
8a3ea757c3 Use --with-library-suffix=lo for Android to avoid clash with system ICU 2011-11-21 15:48:53 +02:00
Tor Lillqvist
469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
This commit for the old build system. (Don't bother for components not
relevant for Android.)

The Android package installer (as invoked through "adb install", from
"ant debug install") silently ignores native libraries in app packages
(.apk files) whose names don't start with "lib" and end with ".so".

The package builder (as invoked through "ant debug") in the SDK gladly
includes also thusly named native libraries in the .apk, though. Yay
for consistency.
2011-11-17 15:22:59 +02:00
Jan Holesovsky
ce8f0a7e72 Removing the last remnants of layout - sorry to see it go :-( 2011-11-17 00:49:48 +01:00
Jan Holesovsky
2d19e9bb07 Kill one usage of chrel.sed to fix build. 2011-11-16 14:21:33 +01:00
Felix Zhang
eacfa0f77c removing obsolete layout code 2011-11-15 14:39:55 +01:00
Tor Lillqvist
2bf110d691 Rework the bootstrap mechanism of a LO program on Android
Do use NativeActivity and android_native_app_glue after all.

I hope this enables us to have a "message pump" (a loop that typically
would call ALooper_pollAll()) inside the LO "program" being run, as
expected by LO code.

(On Android, a "program", even one mostly implemented in native code,
is actually a shared library loaded by the main Java code of an app.)

The android_native_app_glue code and the android_main() it calls
belongs in the bootstrap library, though. Not in SAL_MAIN_IMPL.

The earlier idea, having a "normal" Java Activity subclass, would mean
events come in as method calls to that class. To then turn those into
something the LO code can "get", we would have effectively had to
re-implement what android_native_app_glue does anyway.
2011-11-15 01:54:49 +02:00
Stephan Bergmann
e3712f9d35 Fix build --all depend=x. 2011-11-14 11:50:26 +01:00
Tor Lillqvist
47fd8a09a0 Also link shared libs always with -llog -landroid -lgnustl_shared 2011-11-14 01:55:05 +02:00
Tor Lillqvist
342ff52958 Link with -lgnustl_shared on Android 2011-11-14 01:55:03 +02:00
Tor Lillqvist
9cf9fb0b78 Forgot to move solenv/wntgcci/inc to solenv/inc/wntgcci 2011-11-11 10:54:54 +02:00
Stephan Bergmann
c1bd2a254b New LO_{LIB,JAVA}_DIR make special inbuild component handling superfluous. 2011-11-10 13:36:20 +01:00
Tor Lillqvist
71cbcb6202 Move solenv/$OUTPATH/inc to solenv/inc/$OUTPATH
In a --enable-dbgutil tree, "make clean" will remove solenv/$OUTPATH.
2011-11-10 13:45:05 +02:00
Tor Lillqvist
70e5662204 We want Android shared objects to have names ending in .so
See my previous commit for rationale.

For Android, bypass the UNIXVERSIONNAMES thing in the dmake build
system.
2011-11-10 01:23:46 +02:00
Tor Lillqvist
3265a628ad Revert "Just put the Android ARM compiler options in the mk files"
Nah. Sure, doing it like that is sane if you consider only our own
code. But it won't help in making sure these options are used when
compiling the 3rd-party external libraries. For that having the
options already in the CC and CXX environment variables works nicely,
I think. People just need to look at the samples in README.cross.

Perhaps we could add the options to CC and CXX in configure.in,
though? Is that elegant or not, don't know...

This reverts commit 3c4f7242a9.
2011-11-08 15:04:24 +02:00
Tor Lillqvist
3c4f7242a9 Just put the Android ARM compiler options in the mk files 2011-11-08 10:06:32 +02:00
Tor Lillqvist
78d2d81fbe For Android, we don't actually want to build programs, but shared libraries
That's what the NativeActivity stuff wants.

For now the name of the produced shared library does not follow the
normal libfoo.so convention, but is the name of the corresponding
program on normal Unixes. To be fixed later. Or then, when
constructing an app .apk, just rename "foo" to
"libnative-foo.so".
2011-11-07 20:17:40 +02:00
Norbert Thiebaud
002cc3a611 limit spamming in non verbose mode 2011-11-05 06:12:17 -05:00
Tor Lillqvist
be5855de62 Use DYLD_LIBRARY_PATH when OS_FOR_BUILD == MACOSX 2011-11-03 13:34:38 +02:00
Caolán McNamara
d01ee468d8 wrong lib name for old-style makefile.mks 2011-11-01 09:27:26 +00:00
Tor Lillqvist
c07c94e487 WaE: possible change in behavior, change in UDT return calling convention
Ignore also MSVC warning C4686. From
http://msdn.microsoft.com/en-us/library/ae77984s%28v=VS.90%29.aspx it
seems that this is just a warning that the compiler behaviour has
changed, but that change was already in MSVC 2003. So it should be
irrelevant to us.
2011-10-26 15:26:07 +03:00
Tor Lillqvist
4f32f6f990 WaE: ignore also MSVC warning C4706: assignment within conditional expression
Sad, but it's too tedious to refactor code like:
    while( (pLayout = GetLayout(pLayout)) )
    {
        ...
    }
2011-10-25 17:21:40 +03:00
Tor Lillqvist
cdc5d77ec3 Ignore also MSVC warning C4555, as generated by the <list> header in MSVC2008 2011-10-25 11:31:48 +03:00
Stephan Bergmann
d03465a446 Undo basis/brand split: removed RPATH BRAND (same as OOO now). 2011-10-24 22:56:48 +02:00
Stephan Bergmann
b786a33cfd Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and BaseInstallation. 2011-10-24 13:59:58 +02:00
Stephan Bergmann
fd1db0b8eb Undo basis/brand split: move program/classes/ from basis to brand.
Also removed apparently unused UNO_JAVA_COMPPATH ProfileItem.
2011-10-18 12:52:06 +02:00
Michael Stahl
e0c72547ce enable libstdc++ debug mode with --enable-dbgutil 2011-10-11 17:56:59 +02:00
Fridrich Štrba
2e267c98bd Clone Caolán's work for wntgcci.mk too 2011-10-10 22:28:14 +02:00
Caolán McNamara
5271b9c6ec reduce noise, split c/c++ warnings flags 2011-10-10 20:37:58 +01:00
Fridrich Štrba
eb09adaa9a Warn if declaration follows statement in C-files 2011-10-10 12:52:43 +02:00
Stephan Bergmann
243ead8383 Undo basis/brand split: move dynamic libraries from basis to brand. 2011-10-06 22:36:30 +02:00
Tor Lillqvist
c9991493da Put .pdb files in misc as before, avoid cluttering up source directories 2011-10-06 15:35:57 +03:00
Andras Timar
dbf650a31d eliminate @MINIMIZEREXTENSIONPRODUCTNAME@ variable 2011-10-05 22:11:46 +02:00
Tor Lillqvist
ed1de7f939 Unclear whether the use of -Z7 -Yd in CFLAGSENABLESYMBOLS is intentional
The -Yd option is deprecated anyway and generates an ugly warning
"option 'Yd' has been deprecated and will be removed in a future
release" for each file compiled in an --enable-symbol or
--enable-debug build now.

So just use the same as in gbuild for now, only -Zi for both
CFLAGSENABLESYMBOLS and CFLAGSDEBUG. Let the .pdb file be in its
default location.
2011-10-05 17:39:03 +03:00
Fridrich Štrba
0bd11cfd85 Use the old way to build libcmis and cmis ucp ATM 2011-10-05 11:31:58 +02:00
Bjoern Michaelsen
74feb347fd fix gb_PARTIALBUILD usage 2011-10-05 03:28:53 +02:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Tor Lillqvist
2e3bdc598f And C4245 2011-10-04 14:25:36 +03:00
Tor Lillqvist
093345dfae Ditto for C4242 2011-10-04 14:06:10 +03:00
Tor Lillqvist
7dd7b1474f Don't bother with MSVC's C4244 warnings, we have too many of them 2011-10-04 14:01:09 +03:00
Tor Lillqvist
0b0f3b0530 Do Objective-C -specific foo only when compiling Objective-C 2011-10-04 13:35:10 +03:00
Tor Lillqvist
0e9c5066a9 Fix build against the MacOSX 10.6 SDK but with 10.4 as the highest used API 2011-10-03 16:58:41 +03:00