summaryrefslogtreecommitdiffstats
path: root/sal
Commit message (Collapse)AuthorAgeFilesLines
* reduce ascii noise and useless commentsThomas Arnhold2012-08-081-1/+1
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-083-10/+1
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* Refactor expandMacros somewhat...Stephan Bergmann2012-08-071-52/+51
| | | | | | | ...so that backward compatibility ${file::key} -> ${file:key} does not kick in for the special .link and .override cases. Change-Id: If009b8ecdbb7662c21e87e7bccb50a0ebbb0190f
* No point with these executables for non-desktop OSesTor Lillqvist2012-08-071-4/+7
| | | | Change-Id: If2e086cf2783c187f2cdb479608aa91561e0d674
* android: expose dummy JNI gnustl patching method for x86Michael Meeks2012-08-061-3/+3
|
* sal: let DISABLE_SAL_DBGBOX only disable GUI message boxesMichael Stahl2012-08-032-4/+6
| | | | | | If DISABLE_SAL_DBGBOX is set, fall back to printing on stderr. Change-Id: Id525b4012291b6b29cca7abcaad7483bc6bfba3b
* Bin no longer used iOS cppunit stuff that breaks build evenTor Lillqvist2012-08-016-243/+0
| | | | Change-Id: I78c71b22816834c66c8283e3d85e357b7b8d2836
* WaE: comparison is always false due to limited range of data typeTor Lillqvist2012-07-301-2/+2
| | | | Change-Id: I7147d6ab8433976cc0c76620db2a519f306a3fa9
* Work around isfinite crack with NDK r8b and the 4.6 toolchainTor Lillqvist2012-07-301-1/+2
| | | | Change-Id: I66e499d942b34d27e765d00f1ddfb3bbd1f78480
* Use memset and memcpy insteadof rtl_zeroMemory and rtl_copyMemory in salArnaud Versini2012-07-2713-77/+94
| | | | Change-Id: I4f9649ca61c988d425b59e41549d1c46bb808f2c
* weak symbols don't link on macosxCaolán McNamara2012-07-251-1/+2
| | | | Change-Id: If4e8adfb4199863cd2f6d8d8a419762fcbaa6599
* make mips (and others?) pass java extension smoketest with gcj's libjvmCaolán McNamara2012-07-251-0/+17
| | | | | | | | | | | | | | i.e. force the __data_start symbol to exist in any executables that link against libuno_sal so that dlopening of the libgcj provided libjvm.so on some platforms where it needs that symbol will succeed. e.g. Debian mips/lenny with gcc 4.3. With this in place the smoketest succeeds with libgcj provided java. Quite possibly also required/helpful for s390x/s390 and maybe some others. Without it the dlopen of libjvm.so will fail with __data_start not found Change-Id: I01a4de3d7e72d000a8d56a1b9101a187c26a1751
* Don't use a mutex for gethostbyname_r on Mac OS XArnaud Versini2012-07-231-5/+20
| | | | Change-Id: I5b8c7901266ae73d95626e98116b9a3b43710642
* Make rtl::O[U]String::isEmpty return true boolStephan Bergmann2012-07-232-10/+4
| | | | | | | ...instead of sal_Bool, to work around MSVC warning C4805: unsafe mix of type 'sal_Bool' and type 'bool'. Change-Id: Ia3477539ccc23aa9daec49d633f023d414f2b4bf
* android: x86 porting work.Michael Meeks2012-07-201-13/+17
|
* saltextenc.map is unncessaryStephan Bergmann2012-07-202-42/+0
| | | | | | ...as sal_textenc lib is not part of stable URE interface. Change-Id: I5aeacd7668cca36f900aede4012d508217f3ab46
* Fix "Same expression on both sides of '|'"Julien Nabet2012-07-161-1/+1
| | | | Change-Id: I8f71f0b20f3f1f41acde05d59a9b94d1ce942a7b
* echo -e is not POSIX (and unknown to Mac OS X)Stephan Bergmann2012-07-161-14/+14
| | | | Change-Id: Id55d2028e44bfea57cd8d6c0d7085f5f6f2c77ed
* allow using rtl::OUString etc. simply as OUString, without rtl::Luboš Luňák2012-07-169-0/+160
| | | | | | | | | | | http://lists.freedesktop.org/archives/libreoffice/2012-April/029940.html The RTL_USING #define (set by gbuild for anything that's not public API) allows to use such classes simply by their name, without having to use the namespace or do explicit using rtl::OUString (which half of the sources do anyway). Change-Id: I7edaf12cd278489cdc1d5ff782f0a86361c13c0a
* fix 32bit build wrt. int vs. sal_Int32 comparisonMichael Meeks2012-07-161-1/+1
| | | | Change-Id: I7ae0014c2b8e14dabab0d64cb498abb820b3968d
* Confusing behavior of cmopareToAscii overloadsStephan Bergmann2012-07-161-0/+13
| | | | Change-Id: If432b67cebdb9a009a015ddf046ed1ce15920e57
* simplify include guardsThomas Arnhold2012-07-147-12/+7
| | | | Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
* Let's check struct var != NULL before initializing its attributesJulien Nabet2012-07-141-4/+5
| | | | Change-Id: I968292c1c64bcd3dd3d21dfd991c1a31edec8893
* Revert "WaE: logically last test always passes"Stephan Bergmann2012-07-111-1/+3
| | | | | | | | | | | | | This reverts commit 0b1f4248338ff28208b3368b66690a84a75cc480, which appears to be a bogus fix (for a bogus warning?). Also needs adaption a la 3c598c4064cffdc2c9ff19e094594ca360779b66 "sal: work around spurious signed overflow warnings." Conflicts: sal/inc/rtl/ustring.hxx Change-Id: I7e9d94fd93a37bb10604c1895ab619a8ac2c3f43
* Use rtl_zeroMemory in place of rtl_fillMemory(..., 0)Christophe JAILLET2012-07-111-2/+2
| | | | Change-Id: Idd83f6340d13a1d7111d0d5a7268f1aa8bf5c09e
* single cpu detection: remove 'defined(__SUNPRO_C)' requirementPierre-Eric Pelloux-Prayer2012-07-101-1/+1
| | | | Change-Id: Iab3d103688d07ceea05b257ac012a0292c837a85
* Report correct test nameChristophe JAILLET2012-07-081-1/+1
| | | | Change-Id: I8181713f28e500b9aaaa60b9c32be304cdf93231
* coverity: protect against buffer overflowDavid Tardon2012-07-031-0/+3
| | | | Change-Id: Id3b47712ee1457bda5313a0665a9bb34db035cb0
* coverity: ensure the string is null-terminatedDavid Tardon2012-07-031-3/+3
| | | | Change-Id: I88040319f931598ca4fa17e440e0dba214109dfa
* Remove unused definesThomas Arnhold2012-07-024-13/+0
| | | | | | Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
* Remove include guardsThomas Arnhold2012-06-298-125/+20
| | | | Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
* Remove some unused defines and controlsThomas Arnhold2012-06-294-8/+0
| | | | Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
* rename unittest from ZeroMemory causing issues on windows.Michael Meeks2012-06-291-4/+4
|
* Remove some more include guardsThomas Arnhold2012-06-292-27/+1
| | | | Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
* remove malingering legacy RCS tags.Michael Meeks2012-06-284-4/+4
|
* targetted re-work of cppunit pieces.Michael Meeks2012-06-2761-592/+389
|
* re-base on ALv2 code.Michael Meeks2012-06-261-23/+14
|
* Remove unused definesThomas Arnhold2012-06-251-3/+0
| | | | | | Second is already commented out, first is unused, too. Change-Id: I1429cab3186189a96d0a07fa7097d87d372b372a
* Remove various commented out definesThomas Arnhold2012-06-251-43/+0
| | | | | | Most of them in hrc files. Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
* re-base on ALv2 code.Michael Meeks2012-06-2211-237/+164
| | | | Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
* re-base on ALv2 code.Michael Meeks2012-06-2144-893/+686
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-2115-221/+208
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* Clarify SIGHUP behaviorStephan Bergmann2012-06-201-2/+1
| | | | | | | | | | | | | | | | | | | The combination of marking it as ACT_IGNORE and osl_Signal_Terminate was strange, as osl_Signal_Terminate caused SalMainPipeExchangeSignal_impl (desktop/source/app/officeipcthread.cxx) to call DisableOfficeIPCThread, but ACT_IGNORE (instead of ACT_EXIT, like other signals marked osl_Signal_Terminate) caused the process to continue running. The net effect was that calling an additional soffice instance after a SIGHUP would no longer connect to the first instance, but instead would lead to two soffice instances running simultaneously on the same UserInstallation. Marking SIGHUP as ACT_HIDE most closely resembles the old behavior (of having ~no effect). Other options would be to mark it as ACT_IGNORE and osl_Signal_System or as ACT_EXIT and osl_Signal_Terminate, which would both result in instant termination. I do not know if that wouldn't actually be better. Change-Id: Id1ee7c1108765301e6010e0e05d6c1ff5894a414
* ByteBufferWrapper tweaksTor Lillqvist2012-06-181-17/+6
| | | | | | | | | | | operator() gets called in a Java GC thread. A JNIEnv* saved in the constructor (which is called from the UI thread) is not valid in other threads (although for now, Dalvik notices, warns, and works around it). So don't bother keeping the JNIEnv*. Instead fetch one when needed. Move the method implementations from inline in the header to libotouch's android.cxx. Change-Id: I7de6fc54bb8d9a59146576d6e8c325fe917393ee
* fdo#50603: Close fds across a restart of soffice on Mac OS XStephan Bergmann2012-06-181-0/+32
| | | | | | | | ...where the restart is directly from the old soffice instance, via exec, so the restarted soffice would inherit all open fds from the old one. The easiest approach appears to close fds upon startup. Change-Id: I89bb1c78f3adf2da1cd3cbd58c22df276133a883
* rtl: (i119939) memory leakNorbert Thiebaud2012-06-171-0/+1
| | | | Change-Id: I1ab34337785967d6cbac9ab47c5a2bb517001840
* Revert MSVC ABI incompatible URE change (public -> protected)Stephan Bergmann2012-06-141-0/+2
| | | | | | | | | | ...the mangled names of the corresponding symbols change with MSVC if you change a member from public to protected. This had been changed with 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" but should only be necessary for GCC, not for MSVC, so can simply be reverted under _MSC_VER. Change-Id: Id22aadaff3d7f30ed824f39fe22eab7ca39bd408
* trying to fix mingw buildFridrich Štrba2012-06-131-0/+7
| | | | Change-Id: I86c06fc3f7dcd0a24898a602a60c10abdc588b81
* Bring back the Duden hackFridrich Štrba2012-06-133-0/+61
| | | | Change-Id: I062179fca29034602ffc18ad7e2b7de2988dac2f
* Use XToolkit2::createScreenCompatibleDeviceUsingBufferTor Lillqvist2012-06-121-6/+34
| | | | | | Render directly to a direct ByteBuffer allocated on the Java side. Change-Id: I2d66e4146df77e92260918a78ef22cd9b8c95384