Commit graph

4137 commits

Author SHA1 Message Date
Caolán McNamara
088e175776 add a public __sal_NoAcquire to OString to match OUString's 2011-09-02 09:54:17 +01:00
Tor Lillqvist
7cdab67854 And then fix MSVC compilation 2011-09-02 11:10:55 +03:00
Tor Lillqvist
893c6785a9 Fix MinGW compilation error with min() 2011-09-02 08:44:38 +03:00
Caolán McNamara
f2b9160f09 humour me, and sync this with osl/w32/security.c 2011-09-01 16:42:02 +01:00
Caolán McNamara
0a90cb6510 micro-opt, just use memset 2011-09-01 09:53:37 +01:00
Caolán McNamara
930e38e163 add details to message as to what failed 2011-08-31 13:41:40 +01:00
Tor Lillqvist
469f8f4980 Work around compilation errors with MinGW and --enable-debug 2011-08-30 19:05:35 +03:00
Matúš Kukan
e92dd410fd We do not need to use GLIBC here 2011-08-29 16:28:39 +02:00
Caolán McNamara
c5a15ea48c cppunittester::LibreOfficeProtector/LibreOfficeProtecter confusion 2011-08-29 09:56:09 +01:00
Jan Holesovsky
9c7e4d87c3 Move the header that made setup_native depending on sfx2. 2011-08-26 23:46:41 +02:00
Rene Engelhard
d419bfc9f7 <sys/prctl.h> is not available on kFreeBSD 2011-08-24 00:33:30 +02:00
Tor Lillqvist
f2079a12ce Drop OS/2 lines 2011-08-22 21:43:48 +03:00
Tor Lillqvist
44c513636f chmod -x 2011-08-17 20:59:48 +03:00
Tor Lillqvist
2495f15abb Do use _CrtDbgReport() in a _DEBUG (enable-dbgutil, non-pro) build 2011-08-17 20:59:45 +03:00
Tor Lillqvist
ff7ee4a7fb Fix heap corruption (malloc buffer overrun)
Detected by the debug C runtime (when using --enable-dbgutil) when
running a unit test.
2011-08-16 10:21:09 +03:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Caolán McNamara
0c88ebd66b build error 2011-08-09 09:32:40 +01:00
Tor Lillqvist
5568dfaacf Add dependencies for sal_qa_static 2011-08-08 21:20:49 +03:00
Caolán McNamara
6773616a23 revert this and rely on changed SAL_ALLOW_LINKOO_SYMLINKS behaviour 2011-08-08 13:04:50 +01:00
Lionel Elie Mamane
ada4759219 osl_getAbsoluteFileURL symlinks allowed: ".", ".." still treated 2011-08-08 13:04:50 +01:00
Caolán McNamara
ce906b8096 skip tricky allocators on G_SLICE=always-malloc 2011-08-08 13:04:49 +01:00
Tor Lillqvist
ea5f8f94ed Print debugging output only if OSL_DEBUG_LEVEL > 1 2011-08-05 22:56:02 +03:00
Takeshi Abe
3661f535da Emacs modeline compatible with vim's one 2011-08-05 11:08:06 +09:00
Tor Lillqvist
2dca38540e Don't use dynamic loading on iOS 2011-08-03 01:09:10 +03:00
Tor Lillqvist
6e9180264d Avoid compiler warning 2011-08-03 01:07:40 +03:00
Caolán McNamara
6ad69c212f make these explicit 2011-08-02 11:08:27 +01:00
Caolán McNamara
8ea27ae427 make sure we get the right interim obj 2011-08-02 11:08:27 +01:00
Tor Lillqvist
6255681095 We do want to use RTLD_DEFAULT and dlsym() also on iOS 2011-08-01 21:09:09 +03:00
Tor Lillqvist
1ce8037044 Add consistent Emacs and vim mode lines 2011-07-30 23:03:36 +03:00
Caolán McNamara
c35fad42b0 use SAL_WARN_UNUSED_RESULT 2011-07-21 13:12:55 +01:00
Caolán McNamara
b09acc30c9 add a _attribute__((warn_unused_result)) based macro 2011-07-21 10:56:37 +01:00
Francois Tigeot
861f8ece76 Simplify osl_getTempDirURL()
Do not return different values depending on the platform
2011-07-16 07:19:29 +02:00
Tor Lillqvist
6572e15d7e Android build fixes 2011-07-15 02:04:19 +03:00
Tor Lillqvist
910e999084 iOS hacking, intermediate commit 2011-07-15 00:26:45 +03:00
Tor Lillqvist
0d1321e017 Add a property for the UIWindow and show it 2011-07-15 00:26:37 +03:00
Tor Lillqvist
71f18c4222 Include the rest of the active sal cppunit tests for iOS 2011-07-15 00:26:28 +03:00
Tor Lillqvist
f9c54ae7f8 Use MSVC options only with MSVC 2011-07-14 12:26:20 +03:00
Tor Lillqvist
cc21659f0e No point building xml2cmp when cross-compiling 2011-07-14 12:25:37 +03:00
Caolán McNamara
10ea34448d unused OUString_to_std_string 2011-07-13 10:26:44 +01:00
Matúš Kukan
15f10fc946 Remove component_getImplementationEnvironment 2011-07-12 16:30:06 +02:00
Caolán McNamara
dc1e0758a8 unused methods 2011-07-11 09:06:39 +01:00
Caolán McNamara
14c8553c16 callcatcher: unused methods 2011-07-11 09:06:39 +01:00
Tor Lillqvist
fd2e631d58 Make iOS sal unit testing actually work
We must call the initialize() methods of the plugins which for iOS
aren't actually plugins in the sense of being dynamically loaded, but
still. Unfortunately this means we have to list the plugin interface
getter functions explicitly in the sal_cppunittester_all source.
2011-07-11 00:44:40 +03:00
Tor Lillqvist
e4518218c1 Remove accidentally committed debugging printout 2011-07-10 15:03:06 +03:00
Tor Lillqvist
6ab96ee3d5 Do build sal unit tests for iOS, too
We can't run them in the normal way, but we build the tests as static
archives, which we link into the single sal_cppunittester_all
executable. (Work in progress, so far just a part of the tests are
linked into it.)

There is no makefilery yet to actually construct a complete iOS app
bundle (.app directory), so just copy (in this case) the
sal_cppunittester_all iOS executable on top of the executbale some
dummy iOS app you build in Xcode... works fine, can be debugged that
way.
2011-07-10 14:43:03 +03:00
Tor Lillqvist
7e8ce369a7 No <sys/statfs.h> for iOS either 2011-07-10 14:38:32 +03:00
Tor Lillqvist
26d553346c No getVolumeInfo tests for iOS 2011-07-10 14:37:36 +03:00
Tor Lillqvist
7902d2aaee iOS is much like MacOSX 2011-07-10 14:36:16 +03:00
Tor Lillqvist
dfdf2ee12e Add a statically linked unit tester for iOS 2011-07-10 14:34:48 +03:00
Tor Lillqvist
10f42af25f aTestSec is not used anywhere 2011-07-10 14:24:45 +03:00