summaryrefslogtreecommitdiff
path: root/include/sal
AgeCommit message (Collapse)Author
2014-03-14Move OpenGLRender to vclZolnai Tamás
Change-Id: I6383ae3f94fc18aec92596b9d857d3fde5869dd6
2014-03-10Hack on the iOS vcl codeTor Lillqvist
Attempt to make some more complex documents render OK. Stop using SvpSalVirtualDevice on iOS. Use AquaSalVirtualDevice in all cases. Do use a CGLayer (the AquaSalVirtualDevice::mxLayer field) after all, like on OS X. Change-Id: I7f7dc00c526453786cc871fd88dfb73517b15c39
2014-03-05loplugin:sallogareasStephan Bergmann
Change-Id: Iba543bf0642071ab4a9164af8a4bcb35ac1ecfd0
2014-02-21Adapt vcl to various loplugin warnings on Mac OS XStephan Bergmann
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
2014-02-18writerfilter: convert some fprintf to SAL_INFOMichael Stahl
Change-Id: I5fe47cfaee84c17584ba7c3d160e65b55f4e3474
2014-02-17convert biblio choose data source dialog to .uiCaolán McNamara
Change-Id: Ia94c417be95f5cd8c1d694a61c5004b0e8486416
2014-02-10Do not throw if AcceleratorConfigurations are missing.Matúš Kukan
Which can happen on mobile platforms if we don't want them. Change-Id: I53639ccc75886708850d2d3a01eec76104b7f2c9
2014-02-06Typo: formating -> formattingJulien Nabet
Change-Id: If4aba89909a3ef049a756182c37d8a5d6812ae70
2014-02-05fdo#43157 - Clean up OSL_ASSERTTimothy Markle
Changed OSL_ASSERT to SAL_WARN_IF Change-Id: I6f81a265aefe769e1449b1f10c796bf3aa1d0f1c
2014-02-03convert OOODEBUG to SAL_INFOAndras Timar
Change-Id: I63a990dca554c9defd4f168fa250ebc1685baafd
2014-01-29Missing log areStephan Bergmann
Change-Id: Ia1ad04c24f0d50cdb5aac3a5f6d5171bd5c23c70
2014-01-24Add cppuhelper.shlibTor Lillqvist
Change-Id: I61579c7f84bb3df0d9c493cb93b47a00b0d174b4
2014-01-23Use the "sfx" log area consistently in sfx2Tor Lillqvist
Change-Id: I497d2d93e1a1819ff709c94007ae98f5ef312e77
2014-01-23Use assert() and SAL_WARN() instead of DBG_ASSERT() and OSL_FAIL()Tor Lillqvist
Change-Id: Id3be30bc95325e8f18cf8cb55da2217984a26035
2013-12-24More informative logging in codeSnippet()Tor Lillqvist
Change-Id: I6909ed60b39a65e6a6464427b2f839aa2bff3863
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-19Improve CppunitTest_servicesStephan Bergmann
Change-Id: I4b22ce7e5fa91d5008f72e1f351d25063065ba43
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-16remove SGI compiler checksMichael Stahl
Change-Id: I8b4bce4b9c0cc457732b2de4af93049010de1097
2013-12-16fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa
Change-Id: I5150eec33228e18e274a8ae4effd3f185851b7f4 Reviewed-on: https://gerrit.libreoffice.org/7103 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-12-16Re-enable building test-active.oxtStephan Bergmann
Change-Id: I56bd0630f8d238488d9d6598d87acefe1a08fdf0
2013-12-06Re-organize OS X and iOS code in vcl a bitTor Lillqvist
Now with the ATSUI code gone is a good time for some re-organisation. Get rid of "aqua" in file names and the separate "coretext" folders. CoreText is all we use now for OS X (and has always been so for iOS), so no need for a "coretext" folder, we can keep the CoreText-using code under "quartz". Keep OS X -specific code in "osx". Ditto for headers. Keep "Aqua" as part of class names for now, though. This is also preparation for planned further unification between OS X and iOS code. Change-Id: Ic60bd73fea4ab98183e7c8a09c7d3f66b9a34223
2013-12-04Bin ATSUI codeTor Lillqvist
TDF has been shipping a CoreText-using LO since 4.1 and the sky hasn't fallen. Getting rid of the ATSUI code will make other needed refactoring easier. Change-Id: I494096c3988ea26fa2b336621857d32b64b040f0
2013-11-28Declare SAL_THROW as documentation-only and deprecatedStephan Bergmann
...which it effectively had been already anyway. Change-Id: I6c9ae34f59e8bd44a6be38e6e719ad0a96773c1c
2013-11-28clean up some COM initializationMichael Stahl
CoInitialize{Ex] always exist in all supported Win32 versions, so just call them. Change-Id: I45f227319aae811b6c94a3ac475467a06146b8e9
2013-11-27Mark sal_Char, sal_sChar, sal_uChar as deprecatedStephan Bergmann
...there never was a good reason to have SAL abstractions for the C/C++ char types anyway. Change-Id: Id5da718cf26f12ebe57bc71e076c32d763c0982e
2013-11-26Add descriptions for the sc.opencl log areasTor Lillqvist
Change-Id: I9b6157dd9836f889d54b3dbabc0e0aaada63bd1b
2013-11-26Reduce verbosity a bitTor Lillqvist
Still lots of gratuitous unconditional writing to std:cerr in there. But maybe that's what we want. Change-Id: I28a65d6535c814bf5c047a7255dd3970fffda5dc
2013-11-21Use SAL_INFO() instead of printf()Tor Lillqvist
printf() and SAL_INFO() / SAL_DEBUG() output apparently don't end up in correct order in a cppunit log file which can be extremely confusing. So let's use SAL_INFO() (with the tag sc.qa) for the qahelper debug output. Change-Id: I529482c07651f84688ec5751d2b3dfc7d89cb4ca
2013-11-20WIP commit of threaded OpenCL compilation workTor Lillqvist
Change-Id: I210d0ded9cb38569b0831355522d8309cee05f56
2013-11-19uia: merge VCL pieces of IAccessible2 work.Michael Meeks
Original code from: Author: Steve Yin <steve_y@apache.org> Date: Sat Nov 16 23:58:19 2013 +0100 Integrate branch of IAccessible2 With these improvements: Make IAccessible2 an experimental feature, with fallback to Java a11y. Move initial setup of windows into the bridge and clean, remove conditionals Check for presence of AT in the bridge as well to clean. Merge VCL events extensions and their handling. Clean and split WB_GETOBJECT handling out to it's own method. Add component prefix namespacing. Cleanup msaa service info, and implement XComponent to share mxAccessBridge. Add suitable debugging output, remove VCL dependency from UAccCOM causing registration issues. Change-Id: Ib19e38ddca71182018df438df27dcdb555d91402
2013-11-13Add sc.openclTor Lillqvist
Change-Id: I1a6544701afa7658464334d454451284a34530cb
2013-11-12svtools.filter -> vcl.filterCaolán McNamara
Change-Id: I26bbef9cadd890728f685053230e12408be3557e
2013-11-09fdo#65108 inter-module includes <> include/salNorbert Thiebaud
Change-Id: I4adce49a3f19eb16eb0b0d4a743b150c28a4a453
2013-10-30Remove legacy EMX checkThomas Arnhold
Last release from 1998 :) http://en.wikipedia.org/wiki/EMX_(programming_environment) Change-Id: I01b1dbf0d91c44d8e1da447aa24efc8878b41e1f
2013-10-23fixincludeguards.sh: include/s*Thomas Arnhold
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
2013-10-23Define SAL_MATH_FINITE for Android, tooTor Lillqvist
Using the same "finite()" as on (GNU/)Linux seems to work. Change-Id: Iad3baa967194f09d7ca25fb9b316b780de5bb90f
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-11[API CHANGE]: Drop SAL_PRGEXTENSION from <sal/config.h>Tor Lillqvist
It is unused in LO source code. It was not really clearly defined what it meant and what it could be used for. Its value was ".exe" for Windows and ".bin" for other platforms. But we do have a "soffice.bin" on Windows, too, corresponding exactly to the "soffice.bin" on Linux. On the other hand, on OS X we don't have any "soffice.bin", just a "soffice". Change-Id: Iceee19cc8768c5aaaeeb9bba34b9cde50073498b
2013-10-11-Werror,-Wunused-variableStephan Bergmann
Change-Id: Ia3e6da86b47099106c4be793a1477979d327a2b9
2013-10-11-Werror,-Wunused-variableStephan Bergmann
Change-Id: I7777008aac6331d7598f496c4808ab34c73f814e
2013-10-11Sort lists lexicographicallyStephan Bergmann
Change-Id: I6e44e37d70be90e6cebaaa17e1ee5851b80c7722
2013-10-07Add opengl canvas implementation.Thorsten Behrens
Adds opengl canvas implementation - display-list-based, all rendering done as textured geometry. Needs shader support. Currently compiles and works on Linux, Mac should be ~easy to add, win32 eventually. Change-Id: Ibf3eb88d6a36a91b2960a3a6320d708160e4fc14
2013-09-16Make Java-based connectivity drivers work with jvmfwk "direct mode"Stephan Bergmann
...so they work from CppunitTests (which make use of that "direct mode"). Change-Id: I92b72fb708ac1868644111b208f92ac58610ed11
2013-09-08Use SAL_INFO instead of framework's own "event logging"Tor Lillqvist
That "event logging" consisted of two macros, both used in a single place. Change-Id: I8faffd9756399f1902e52aa41968b71a964a4324
2013-09-08Use SAL_INFO instead of framework's own WRITE_LOGFILETor Lillqvist
Change-Id: Ieb1a45ca75c7a475d02535cd176396a0aeb68510
2013-09-04oox: Enhancing the debugging outputAndres Gomez
Change-Id: Ifc055befd5d7436d44e95ce105c52f3c4f061796 Reviewed-on: https://gerrit.libreoffice.org/5768 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-09-04Add SAL_WNOUNREACHABLE_CODE_PUSH and _POP macrosTor Lillqvist
To be used around code where some compiler, in some circumstances, generates bogus warnings about unreachable code, that it would be much uglier to work around otherwise. Specifically, I will at first now use this to get rid of MSVC warnings about unreachable code when calling a function defined in another source file (but going into the same library) that always throws. The compiler notices this when one uses link-time code generation and it thus can do global inlining of code from all compilation units that go into a library (or executable). For MSVC, the __pragma that the SAL_WNOUNREACHABLE_CODE_PUSH macro expands to needs to be in force at the start curly brace of a function, so place the PUSH macro before the function definition. For clarity, I guess it is best that the corresponding POP macro comes after the end of the function. Change-Id: Icef5259c5360b9facdc136fec1f207665ce79d90
2013-09-02ucb: rename "cmisucp" log area for consistencyMichael Stahl
Change-Id: Ie9ef3324bb7a9e954db57548d7862a90b070ebd3
2013-09-02ucb: add missing ucb.core log area, and ftp/ext tooMichael Stahl
Change-Id: Ifa2df0e2dcc193ae02202687c0d6b7ab930db58f