summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2012-07-08Report correct test nameChristophe JAILLET
Change-Id: I8181713f28e500b9aaaa60b9c32be304cdf93231
2012-07-03coverity: protect against buffer overflowDavid Tardon
Change-Id: Id3b47712ee1457bda5313a0665a9bb34db035cb0
2012-07-03coverity: ensure the string is null-terminatedDavid Tardon
Change-Id: I88040319f931598ca4fa17e440e0dba214109dfa
2012-07-02Remove unused definesThomas Arnhold
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-06-29Remove include guardsThomas Arnhold
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29Remove some unused defines and controlsThomas Arnhold
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29rename unittest from ZeroMemory causing issues on windows.Michael Meeks
2012-06-29Remove some more include guardsThomas Arnhold
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-28remove malingering legacy RCS tags.Michael Meeks
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-25Remove unused definesThomas Arnhold
Second is already commented out, first is unused, too. Change-Id: I1429cab3186189a96d0a07fa7097d87d372b372a
2012-06-25Remove various commented out definesThomas Arnhold
Most of them in hrc files. Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-20Clarify SIGHUP behaviorStephan Bergmann
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
2012-06-18ByteBufferWrapper tweaksTor Lillqvist
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
2012-06-18fdo#50603: Close fds across a restart of soffice on Mac OS XStephan Bergmann
...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
2012-06-17rtl: (i119939) memory leakNorbert Thiebaud
Change-Id: I1ab34337785967d6cbac9ab47c5a2bb517001840
2012-06-14Revert MSVC ABI incompatible URE change (public -> protected)Stephan Bergmann
...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
2012-06-13trying to fix mingw buildFridrich Štrba
Change-Id: I86c06fc3f7dcd0a24898a602a60c10abdc588b81
2012-06-13Bring back the Duden hackFridrich Štrba
Change-Id: I062179fca29034602ffc18ad7e2b7de2988dac2f
2012-06-12Use XToolkit2::createScreenCompatibleDeviceUsingBufferTor Lillqvist
Render directly to a direct ByteBuffer allocated on the Java side. Change-Id: I2d66e4146df77e92260918a78ef22cd9b8c95384
2012-06-12Add Android-specific sal/ByteBufferWrapper.hxx headerTor Lillqvist
Used for impedance matching between Java's direct ByteBuffer and the boost::shared_array used by basebmp. Not sure yet how well this will actually work. I'm afraid leaks might be possible in exception throwing cases. Change-Id: I74fc57aaf46b2dd9f227043bd9045d4815a5ed40
2012-06-12rename Class Name, Window Name and Message of the QuickStarter to avoid ↵Jesús Corrius
conflicts with other StarOffice derivatives
2012-06-09Remove superfluous empty lines on topThomas Arnhold
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-08targetted reversion of minor cppcheck fixMichael Meeks
Change-Id: If67666bccbde6d2104295c5480c3eceb95b6ce35
2012-06-08SwLineLayout: OSL_ENSURE -> SAL_WARN_IFMiklos Vajna
Change-Id: I948344caeb9d48906732683ff9ba424f525c05d8
2012-06-07nuke dead codeTakeshi Abe
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
2012-06-07The correct comment for the assembly file is "#", not "*".Lionel Dricot
This assembly file is only compiled on x86 Solaris.
2012-06-06std::isfinite seems to not be available under Solaris. Bypassing it.Lionel Dricot
Change-Id: I8f6f844338cb188a63676f2db5dec89fccfdca4c
2012-06-05Use 32bpp bitmaps on Android (and iOS)Tor Lillqvist
Modify DocumentLoader correspondingly. Take Android bug 32588 into account. Ideal would be to extend the XDevice stuff, or something, so that one could hand it a pre-allocated RGBA buffer into which the drawing/rendering would go. Then one could get rid of the silly convert-to-BMP phase, which prefixes the bitmap data with BMP and DIB headers (and thus, I guess, has to copy and allocate another copy). Will see. Change-Id: I4597cd933db8faa8105dc8f19638d712d5d2238a
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
2012-06-01targeted string re-workNorbert Thiebaud
Change-Id: I2c166c63e9d2ab7d60bb404f643045678ef239a2
2012-06-01targeted string re-workNorbert Thiebaud
Change-Id: I368b9538e3c2e6242fcdcabb4f8c716e17b02d88
2012-06-01targetted cppcheck variable scope revertMichael Meeks
Change-Id: I757615e134eddc1f212533e3e950827e7180c278
2012-06-01targeted string re-workNorbert Thiebaud
Change-Id: I6b23bd671c3c090a7c3b60d5301c59da5f9354d5
2012-05-31Add a BGR to RGBA twiddling JNI functionTor Lillqvist
Change-Id: Iafa2c1805eea2f521479dc97d5668d82b1c91bef
2012-05-30Some cppcheck cleaningJulien Nabet
More information on this thread: http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html Change-Id: Ib70532ad72e8418e1036bd52c07dc6452508cd12
2012-05-30Add temporary test JNI method createWindowFoo()...Tor Lillqvist
Change-Id: I8f99399faa3b0762bdea2aac09f1b849639cd191
2012-05-29Some cppcheck cleaningJulien Nabet
see http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html Change-Id: I4b3b2c87031ab48641e78fce56bd7f86c606b48b
2012-05-24fdo#50162 merge rtlbootstrap.mk into configure.inDavid Ostrovsky
Change-Id: I241be2704a069ec1f6be5861084039569673cc12
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-22android: use existing SAL_DLLPUBLIC macros instead of attributesMichael Meeks
2012-05-18fdo#42865: privatized unique empty string symbol:Michael Stahl
Unfortunately this --enable-dbg-util only problem (caused by _GLIBCXX_DEUBG) resurfaced, perhaps because of new std::string based logging in sal; adapt all map files to export the unique symbol.
2012-05-17drop debug_oustring now that gdb pretty-printers existCaolán McNamara
Change-Id: Ie7d17f0ceb2e549b84c0cc16768604511e0e51a5
2012-05-16Create the redirection thread in detached stateTor Lillqvist
Change-Id: I293fa84452f00a41f4a33d4a45eee6d1a32ff761
2012-05-16Add stdout and stderr redirection to the Android logTor Lillqvist
On a (non-rooted) device it is not possible to set the log.redirect-stdio property so that it would be effective (i.e. read by the Zygote process when it starts). Such redirection has to be done in-process. Add a (JNI-callable) method to set it up: Point file descriptors 1 and 2 at pipes that are read by a thread that logs each line through the Android logging API. Code based on Android's own logwrapper.c. Change-Id: Id5308293595096a44a2ffed2dbc0c252be109de7
2012-05-14Generate a proper (?) rtlbootstrap.mk for a MSC build, tooTor Lillqvist
Change-Id: I35a1a270f5eab2250ed0ef50c6bf6c9dbec4f42e