Commit graph

1030 commits

Author SHA1 Message Date
Caolán McNamara
b92890a5d8 so *that's* where the hello/world we're coming from 2011-09-08 09:47:31 +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
930e38e163 add details to message as to what failed 2011-08-31 13:41:40 +01:00
Caolán McNamara
6773616a23 revert this and rely on changed SAL_ALLOW_LINKOO_SYMLINKS behaviour 2011-08-08 13:04:50 +01:00
Caolán McNamara
8ea27ae427 make sure we get the right interim obj 2011-08-02 11:08:27 +01:00
Caolán McNamara
c35fad42b0 use SAL_WARN_UNUSED_RESULT 2011-07-21 13:12:55 +01:00
Tor Lillqvist
6572e15d7e Android build fixes 2011-07-15 02:04:19 +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
Caolán McNamara
10ea34448d unused OUString_to_std_string 2011-07-13 10:26:44 +01: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
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
Tor Lillqvist
40be3202dc Don't run cppunittester automatically when cross-compiling 2011-07-10 12:39:25 +03:00
Caolán McNamara
13400b61af workaround sal built with _GLIBCXX_DEBUG and cppunit build without it 2011-07-07 13:43:10 +01:00
Luboš Luňák
3563ee5852 change O[U]StringBuffer::remove() to take start+len
In order to be consistent with other usage in LO and C++ libs,
instead of being consistent with Java.
2011-07-04 11:30:37 +02:00
Caolán McNamara
d8636d2f8e callcatcher: secondfunc unused 2011-07-03 12:48:32 +01:00
Caolán McNamara
e93326d7d6 callcatcher: various unused foo 2011-06-30 11:35:57 +01:00
Caolán McNamara
74115c30e4 callcatcher: unused code 2011-06-30 11:35:57 +01:00
Caolán McNamara
1a2912eed9 add StringBuffers ::remove 2011-06-30 11:35:56 +01:00
Caolán McNamara
79868fb9db make pthreads osl_setThreadKeyData backend work the same on all OSes 2011-06-20 16:53:43 +01:00
Julien Nabet
3ad3e991f0 Add 2 lacking break instructions in a switch 2011-06-18 14:06:26 +02:00
Caolán McNamara
f85076ca48 catch by const reference 2011-06-14 09:57:33 +01:00
Caolán McNamara
ec1c09b988 WaE: some simple warnings 2011-06-09 14:06:51 +01:00
Caolán McNamara
cb14e2f4c9 WaE: on some random compiler or other 2011-06-09 14:01:00 +01:00
Tor Lillqvist
47a7b9021f Always compare CROSS_COMPILING explicitly to "YES" 2011-06-06 09:17:34 +03:00
Caolán McNamara
91cbb7b7d0 remove const to allow alternative template 2011-06-01 15:35:10 +01:00
Jan Holesovsky
84c8303591 Merge commit 'libreoffice-3.4.0.2'
Conflicts:
	sal/osl/unx/diagnose.c
2011-05-31 10:45:56 +02:00
Tor Lillqvist
613eefe4f1 Cannot do unit testing when cross-compiling 2011-05-22 02:11:04 +03:00
sb
8c015fbb85 #i116915# rewrote unx osl_getSystemPathFromFileURL to avoid mem leaks 2011-05-20 10:32:03 +01:00
Francois Tigeot
84d10c7cda Remove the ::osl::Security getHomeDir() check
It serves no useful purpose and breaks the build under some packaging
systems such as pkgsrc.
2011-05-11 14:27:38 +02:00
Miklos Vajna
c8098382da Fix osl_Security::getHomeDir test under fakeroot
fakeroot uses LD_PRELOAD to let getuid() return 0, so getpwuid() will
not return the correct home directory. If we are under fakeroot, the
HOME environment variable can be used to do so.

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-05-09 14:55:14 +02:00
Miklos Vajna
019ef9afbb Fix osl_Security::getHomeDir test under fakeroot
fakeroot uses LD_PRELOAD to let getuid() return 0, so getpwuid() will
not return the correct home directory. If we are under fakeroot, the
HOME environment variable can be used to do so.
2011-05-09 14:53:38 +02:00
Christina Rossmanith
427e56eaba remove Attribute_XXX in favor of osl_File_Attribute_XXX (ure) 2011-05-01 17:09:30 +02:00
Christina Rossmanith
c776e24f16 remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (ure) 2011-04-19 20:40:32 +02:00
Francois Tigeot
35e1b53c7e Remove OS/2 support. 2011-04-18 16:59:48 +02:00
Michael Lefevre
be6061a954 Kill Pos_XXX in favour of osl_Pos_XXX 2011-04-14 12:45:39 +02:00
Michael Lefevre
5d184532b4 Kill Pos_XXX in favour of osl_Pos_XXX 2011-04-14 12:45:18 +02:00
Michael Lefevre
e768e1b918 Kill Pos_XXX in favour of osl_Pos_XXX 2011-04-14 12:40:50 +02:00
Michael Lefevre
610d02c145 remove VolumeInfoMask_XXX in favour of osl_VolumeInfo_Mask_XXX 2011-04-12 10:56:02 +02:00
Caolán McNamara
68a2e650fa breaks windows, backout for now 2011-04-06 16:25:56 +01:00
Caolán McNamara
24eab07926 valgrind: fix leak 2011-04-05 09:19:42 +01:00