Takeshi Abe
3006397439
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
...
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09:00
Thomas Arnhold
c08308508a
WaE: unused variable bOk
2012-02-19 01:34:05 +01:00
Thomas Arnhold
7ad3c6caae
WaE: do this right...
2012-02-19 01:34:05 +01:00
Thomas Arnhold
bb539e18da
sal: remove dead code and empty lines
2012-02-18 21:33:04 +01:00
Thomas Arnhold
0d5affd300
WaE: unused variable bOk
2012-02-18 21:33:02 +01:00
Thomas Arnhold
d4e6e5aab2
WaE: unused variable nError
2012-02-18 21:33:01 +01:00
Thomas Arnhold
5afdbaf3a8
WaE: unused variable nPipes
2012-02-18 21:33:01 +01:00
Thomas Arnhold
53eda2b138
WaE: unused variable Event
2012-02-18 21:33:00 +01:00
Thomas Arnhold
b94366896f
WaE: /* inside comment
2012-02-18 21:33:00 +01:00
Thomas Arnhold
ad2eb0d742
WaE: unused variable nLen
2012-02-18 21:32:59 +01:00
Elton Chung
23af031b09
Fix typos in comments
2012-02-18 09:35:43 +00:00
Tor Lillqvist
c301199804
Merge branch 'feature/android'
2012-02-15 12:00:46 +02:00
Alexander Bergmann
8963cc01f5
EasyHack: Removed gcc conditionals
2012-02-13 17:33:15 +00:00
François Tigeot
b61ddcbad7
OSL_USE_SYS_V_SEMAPHORE is never defined
...
* Remove the System V semaphore implementation variant
* POSIX thread-local code was always used for synchronization
primitives anyway
2012-02-06 10:45:06 +01:00
François Tigeot
32009128e4
Remove unused VolumeDevice functions and related code
2012-02-05 21:42:34 +01:00
François Tigeot
4fa8d043f8
Remove unused floppy-handling code
2012-02-05 17:41:10 +01:00
François Tigeot
9648045af2
Remove useless NETBSD check
2012-02-05 11:28:36 +01:00
François Tigeot
c7aa517c79
Regroup DragonFly and NetBSD configurations
2012-01-31 20:34:22 +01:00
Tor Lillqvist
b8ea7cff48
Call lo_dlclose() on Android
2012-01-31 16:20:14 +02:00
Tor Lillqvist
299fa64683
No need to wait for debugger here on Android, this code does seem to work
2012-01-31 13:53:12 +02:00
François Tigeot
4178a9bc42
Remove unused endianess defines
2012-01-31 10:25:14 +01:00
François Tigeot
f621ba670e
_POSIX_THREAD_SYSCALL_SOFT serves no purpose
2012-01-29 21:45:43 +01:00
Tor Lillqvist
fa580e345c
WaE: Unused parameter
2012-01-27 22:44:02 +02:00
Michael Meeks
7c4c1832cc
android: move lo-bootstrap to osl/detail, Attach threads as created
2012-01-26 10:29:38 +00:00
François Tigeot
5f32a5558e
NetBSD also needs the internal gethostbyname_r() implementation
...
Reported by: Thomas Klausner <wiz@NetBSD.org>
2012-01-25 19:45:29 +01:00
Michael Meeks
fd26850770
android: cleanup osl security code for empty home / username fields
2012-01-25 15:09:55 +00:00
Tor Lillqvist
52681e4405
Use own own <osl/file.h> API to read the source in osl_copyFile()
...
It seems that we call osl_copyFile() to copy from /assets on Android
in some cases.
2012-01-24 21:35:03 +02:00
Tor Lillqvist
2175e21fb9
Bin incorrect claim in comment
2012-01-24 21:35:00 +02:00
Michael Meeks
72a0b0ad0c
android: initialize security data, and use HOME / bootstrap key
2012-01-24 18:11:33 +00:00
Michael Meeks
d83eb4b9ff
android: get osl_Pipe creation sorted out, before we kill it.
...
use new OSL_SOCKET_PATH bootstrap variable to customise this.
2012-01-23 22:03:43 +00:00
Tor Lillqvist
5b715f0dd9
Don't crash when attempting to open non-existent files under /assets
2012-01-23 13:40:46 +02:00
Michael Meeks
96c2f2bc80
android: remove nonsensical write to file buffer during readLine
...
also expose in-memory file method for unit testing.
2012-01-21 17:09:32 +00:00
Stephan Bergmann
7c704c78d3
Removed some unused parameters; added SAL_UNUSED_PARAMETER.
...
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones. To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Michael Meeks
5a8a1d024b
Implement osl_identicalDirectoryItem for win32
2012-01-20 15:01:14 +01:00
Michael Meeks
c5d4f4967e
implement inode compare for identical directory item checking
2012-01-19 17:04:03 +00:00
Michael Meeks
4a086fca7b
fix SvStream to not require a custom open or lstat method.
2012-01-19 12:25:02 +00:00
Michael Meeks
0c17acbb32
fix SvStream to not disagree with sal on sizeof struct stat
...
A temporary tweak to restore build-ability; the oslDirectory
change needs a little more thought & public exposure, but rsc
no longer crashes during compile ...
2012-01-19 11:07:20 +00:00
Tor Lillqvist
a64db11b6c
Add some non-public API to be used by SvFileStream
...
Having SvFileStream call the file opening etc functions here, instead
of calling open() directly itself, means we won't have to duplicate
the Android .apk hooks there, too.
2012-01-18 23:15:42 +02:00
Andras Timar
aab14cb9fb
fix prefix of command line switches (-- instead of -)
2012-01-11 19:25:45 +01:00
Caolán McNamara
c11bcb5be5
valgrind: error on startup in osl_unmapMappedFile
2012-01-06 12:11:02 +00:00
Michael Stahl
8b898fb94e
sal: try to fix MinGW min/max breakage by inlining
2012-01-05 13:19:08 +01:00
Caolán McNamara
17642437fe
reduce ifdef forest
2012-01-05 09:18:20 +00:00
Tor Lillqvist
0a5821652f
Remove bogus one column indentation
2012-01-04 15:33:46 +02:00
Tor Lillqvist
d37157372d
Handle /assets paths also in realpath_u()
2012-01-04 15:33:39 +02:00
Tor Lillqvist
d4b0e98d50
Probably using a local rtl::OString is better
2012-01-04 15:27:54 +02:00
Tor Lillqvist
90b1414960
Use the lo_apk_* functions for files under /assets
2012-01-04 00:17:25 +02:00
Tor Lillqvist
2717fe35ae
Use sizeof(s)-1 instead of strlen(s) on string literals
2012-01-04 00:16:39 +02:00
Tor Lillqvist
2ad20308ed
WaE: deprecated conversion from string constant to 'char*'
2012-01-03 11:06:23 +02:00
Olivier Hallot
85d1ce27ad
Fix for fdo43460 Part XXVII getLength() to isEmpty()
...
Please find attached a partial fix for Easy Hack FDO43460
Part XXVII
Modules
padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2012-01-02 19:17:17 +01:00
Robert Nagy
891d78eb46
use the internal gethostbyname_r() implementation on OpenBSD too
2011-12-21 15:27:05 +01:00