summaryrefslogtreecommitdiffstats
path: root/include/sal
Commit message (Collapse)AuthorAgeFilesLines
...
* Better check for 'defined LIBO_INTERNAL_ONLY'Stephan Bergmann2017-03-241-1/+1
| | | | | | (to avoid warnings about undefined macros in external code) Change-Id: Ie1007207b22c19a3d9d96f0f94070c32d417595a
* loplugin:loopvartoosmallStephan Bergmann2017-03-071-0/+1
| | | | Change-Id: Ia8c57fb69873d57c3271a8f6d497fecec3db1899
* [API CHANGE] Remove SAL_CONSTEXPR againStephan Bergmann2017-03-031-10/+0
| | | | | | | | | | | | ...now that LIBO_INTERNAL_ONLY always has constexpr support. It had been added for LO 5.0 (effectively always expanding to nothing for !LIBO_INTERNAL_ONLY), not wrapped in '#if LIBO_INTERNAL_ONLY' presumably because it was assumed to be used freely in URE include files, but turned out to be only used in LIBO_INTERNAL_ONLY code. It is unlikely that any 3rd party code made use of it. Change-Id: I68970c5a2e2d7ef68ac5b79efc8dc1de54c43198
* Remove HAVE_CXX11_CONSTEXPR, always true nowStephan Bergmann2017-03-021-1/+1
| | | | | | | | | | | | ...after 84b36c704d73362d4d86dc9e9c0efa0625958347 "Drop support for MSVC 2013". Make this a fatal configuration error for now. The check should be removed completely after LO 5.4 branch-off. Change-Id: I990fd8fcb4ec1327282df4efe21640c938d3cf06 Reviewed-on: https://gerrit.libreoffice.org/34821 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:sallogareasStephan Bergmann2017-02-281-0/+1
| | | | Change-Id: I9af09bc52775501c8dbf0e883f4ec3b53c397de4
* Kill bitrot Emscripten experimentKhaled Hosny2017-02-212-12/+1
| | | | | | | Change-Id: I1cd5331157e684afb01e6555168ce646194c6ff2 Reviewed-on: https://gerrit.libreoffice.org/34493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
* Remove comment that is no longer accurate/relevantStephan Bergmann2017-02-111-2/+0
| | | | | | | ...after e16fa715c43dcdf836ce8c400b6d54eae87b627d "Handle wchar_t as native C++11 type on windows" Change-Id: I8005a48a43f1baba3c04c11ff52d26d756f25204
* Remove MinGW supportStephan Bergmann2017-02-102-21/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Some clean upStephan Bergmann2017-02-091-3/+3
| | | | | | | | No more need to call sal_detail_log_report from sal_detail_log, now that it is called from SAL_DETAIL_LOG_STREAM since b3a11c8f4f307bbbb597c9c6e7e61ee93e794873 "tdf#91872: Make SAL_INFO and friends more efficient". Change-Id: Idb6cf7a4814abe29d5ba68591f39b4279267bc9b
* Fold sal_detail_log_backtrace into sal_detail_logStephan Bergmann2017-02-091-28/+22
| | | | | | | | | | ...the latter is LO-privately exported from sal, so it should be OK to add one more parameter to it. Change-Id: If6bf3458433aac2cc8b4e0cbd1602306051a777b Reviewed-on: https://gerrit.libreoffice.org/34080 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix SAL_DEBUG_BACKTRACEStephan Bergmann2017-02-091-3/+13
| | | | | ...after 56d071c10ca8016848f1f059aa3eb197fe928844 "rename SAL_DEBUG_TRACE to SAL_DEBUG_BACKTRACE" (looks like this doesn't get used much...)
* tdf#91872: Make SAL_INFO and friends more efficientArnold Dumas2017-02-031-1/+4
| | | | | | | Change-Id: I8a5b1665660b0679439f07d3924bb90cb4c4075c Reviewed-on: https://gerrit.libreoffice.org/33848 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* GCC 7 supports [[fallthrough]]Stephan Bergmann2017-01-271-0/+2
| | | | Change-Id: Ic6fb995a76a30b60b597005e714de03d43c36a7c
* ofz: check if the stream is able to meet the eps len claim before readingCaolán McNamara2017-01-261-0/+1
| | | | Change-Id: I65407bffb67449e203b8ead23554a4e88387d214
* Expand and improve the output log in Session-ManagementJuergen Funk2017-01-191-1/+5
| | | | | | | | | in dependency of tdf#104101 Change-Id: I799f81adf4e4751fb505c84aa075363acf70f5a7 Reviewed-on: https://gerrit.libreoffice.org/33034 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* replace #ifdef SOLARIS with #ifdef __sunMichael Stahl2017-01-173-5/+5
| | | | | | | Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
* rename SAL_DEBUG_TRACE to SAL_DEBUG_BACKTRACENoel Grandin2017-01-102-4/+21
| | | | | | | | | | | since "trace" is such a generic term, this makes it easier to actually find the feature when you need it. And add feature to limit stack depth of the reported backtrace. Change-Id: Iab3e4ceb2e8480e7b5e2b920eb6c5d7631e21c43 Reviewed-on: https://gerrit.libreoffice.org/31752 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* [API CHANGE] Retire SAL_ABSTakeshi Abe2016-12-211-4/+0
| | | | | | | | | | which had served since d441fa1f8cc0a17a2bc166bf2f2a44f76b83a773; we now have polymorhpic std::abs. Change-Id: Ibe48ac51508f7d9f5a44d712550237db7f553df3 Reviewed-on: https://gerrit.libreoffice.org/32225 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Remove the sal.rtl.xub SAL_INFOsStephan Bergmann2016-12-141-1/+0
| | | | | | | | | | | | ...that were apparently meant to flag cases where conversion from old tools strings to rtl strings was done wrongly. But that flagging is probably of no use: SAL_INFOs are usually disabled, so won't be noticed; and SAL_WARN or assert would not be acceptable, as cases like 'nLen == 0x0FFFF' can legitimately happen with long strings. I did a successful 'make check' with these SAL_INFOs temporarily turned into assert, so there seems to be at least no gross conversion error remaining. Change-Id: I57f11db9119fb12555e3bfef17c077ee5eef3844
* Reuse existing sal.osl log areaStephan Bergmann2016-12-131-1/+0
| | | | Change-Id: Ib1fc80c79355322489b7ebd37cbbbbb6614ec67a
* OSL_TRACE->SAL in chart2..ooxNoel Grandin2016-12-131-0/+3
| | | | | | | Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2 Reviewed-on: https://gerrit.libreoffice.org/31907 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* OSL_TRACE->SAL in framework..salNoel Grandin2016-12-131-0/+2
| | | | | | | Change-Id: I9a897af88aa9f6f7ca98ce521c69b5a4ee8462e9 Reviewed-on: https://gerrit.libreoffice.org/31903 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* OSL_TRACE->SAL in sd..sdextNoel Grandin2016-12-121-0/+1
| | | | | | | Change-Id: I6b224fa890dc96aada7140af27078da5e25c3ff8 Reviewed-on: https://gerrit.libreoffice.org/31898 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove irrelevant SAL_INFOsStephan Bergmann2016-12-091-4/+0
| | | | Change-Id: Ieb58ed113c6a3e85a806ec57a6557e2d37bf9b06
* OSL_TRACE -> SAL in sw..ucbNoel Grandin2016-12-081-0/+4
| | | | | | | Change-Id: I18f5511f70232d91095ac8527a6c5883c36294f5 Reviewed-on: https://gerrit.libreoffice.org/31762 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* OSL_TRACE->SAL in unotools..uuiNoel Grandin2016-12-061-0/+1
| | | | Change-Id: I7f391604401b8a10f5d451673ed6223c031c56ab
* safemode: Add option to disable H/W accelerationSamuel Mehrbrodt2016-11-011-0/+1
| | | | | | | Change-Id: Ic6751717c14d317b5a4bc64c4fd1cf2b2f5efabf Reviewed-on: https://gerrit.libreoffice.org/30112 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Various loplugin warnings in --enable-telepathyStephan Bergmann2016-10-281-0/+3
| | | | Change-Id: I4c437491466c3029f2a9c93fb630c7b5a8d2ff21
* clang-cl loplugin: dtransStephan Bergmann2016-10-161-0/+1
| | | | | | | Change-Id: I1d55f3e7ecbde486f318d5175b1570f0caa33255 Reviewed-on: https://gerrit.libreoffice.org/29870 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* xmlsecurity: add initial Executable_pdfverifyMiklos Vajna2016-10-121-0/+1
| | | | | | | | | | We have code to verify ODF and OOXML signatures, this adds initial support for verifying a PDF signature. Initially this is a standalone executable, need to turn this into a unit test + hook it into sfx2 in follow-up commits. Change-Id: Ideb5ec63f761c74fd4527cf1766b0aa739e275ee
* clang-cl loplugin: salStephan Bergmann2016-10-041-1/+1
| | | | | | | Change-Id: If04d3f07dc8bffac8887773b5424c09848cd8f1a Reviewed-on: https://gerrit.libreoffice.org/29404 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always trueStephan Bergmann2016-09-201-1/+1
| | | | | | | | | | | | | | | | | * GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>. * For external code, odk/settings/settings.mk unconditionally set HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112 Reviewed-on: https://gerrit.libreoffice.org/29073 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#43157 - Clean up OSL_ASSERT, DBG_ASSERT, etc.Gökhan Gurbetoğlu2016-09-051-0/+1
| | | | | | | Change-Id: I8114e338451b5b2e79b2318f558cbd075f024f08 Reviewed-on: https://gerrit.libreoffice.org/28584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Add SAL_INFOs to dump the SwPageFrame lifecycleJan-Marek Glogowski2016-08-291-0/+1
| | | | | | Debug area name is "sw.pageframe". Change-Id: I136cc8192137a8c682900a6ce2c557f6b6b3a6cd
* If no WARN in SAL_LOG, use the INFO selection for WARNs, tooTor Lillqvist2016-08-181-0/+3
| | | | | | | | | | | Often the choice whether some particular message is displayed with SAL_INFO or SAL_WARN has not necessarily been that well thought through. Many SAL_WARNs are not actually warnings but purely informative. If you want to see the INFOs for an area it makes sense to want to see also the WARNs for it. So make it so, unless a specific WARN selection is specified. Change-Id: I6286c5f856b29e68bedb7f20efadf56953f94b72
* Add handling of a +RELATIVETIMER flag in the SAL_LOG environment variableTor Lillqvist2016-08-181-7/+14
| | | | | | | | | | | | Outputs a timestamp in decimal seconds (with millisecond accuracy). Simplified the handling of SAL_LOG if no "level" is specified. Now just a totally unset (or empty) SAL_LOG causes the default of "+WARN" to be used. Given how the code works, it would have become too unwieldy to check for all combinations of TIMESTAMP and RELATIVETIMER but no WARN or INFO. Change-Id: I7bb5bb665d4e764e7eee447e93486f6467042e97
* Mention what negative or multiply specified flags mean (nothing special)Tor Lillqvist2016-08-181-1/+4
| | | | Change-Id: I8ac1839aab3438aa685aa8cdab2e972447352599
* Add handling of a +TIMESTAMP flag in the SAL_LOG environment variableTor Lillqvist2016-08-181-11/+17
| | | | Change-Id: I9bdcd8b2d7b46a087d7f5461b6f7c3d9f02ec084
* Remove unused log-areaStephan Bergmann2016-07-131-1/+0
| | | | Change-Id: I4a11f040bb56de0bc761b185395dc87533c3bf01
* Sort listsStephan Bergmann2016-07-131-9/+9
| | | | Change-Id: I5bfbc8dbba63531ddb05e40e94f626aa5c86071d
* GSoC Writer Table Styles ImportJakub Trzebiatowski2016-07-071-0/+2
| | | | | | | | | | | | | | | | | This patch is implementing import of table styles (table-template). Modified shared code: Added "background" to the cell styles export. To make cell export properties map accessible by both export and import code, moved from xmloff/source/table/XMLTableExport.cxx to xmloff/txtprmap.hxx. To avoid export of default valued properties implemented XPropertyState for SwXTextCellStyle Change-Id: I8b4f12e4b51f478f8ce8fde1203cd4611d7ae852 Reviewed-on: https://gerrit.libreoffice.org/26721 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* Bin unused log areaTor Lillqvist2016-06-271-1/+0
| | | | Change-Id: I40f2364bd4941941a8766bc492e303e56c9e4256
* Remove unused SfxObjectShell::libreOfficeKitCallback()Miklos Vajna2016-06-231-1/+0
| | | | | | | | | | All clients have been converted to use SfxViewShell::libreOfficeKitViewCallback() instead. Change-Id: I793dad5194769f331037b12a1b1afba96ddea4ba Reviewed-on: https://gerrit.libreoffice.org/26584 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* uitest: loplugin:sallogareasMarkus Mohrhard2016-06-181-0/+1
| | | | Change-Id: Ieb01166fbb0b07d1218072ae8bb953a36582361c
* uitest: plugin:sallogareasMarkus Mohrhard2016-06-181-0/+1
| | | | Change-Id: Ib0ebd774542129f8a7c68e276f1f03cc46f32fb8
* loplugin:sallogareasNoel Grandin2016-06-131-0/+1
| | | | Change-Id: I6ce045db236b81aa8bc7bce2a0e20c4132c5931f
* loplugin:sallogareasStephan Bergmann2016-06-131-0/+1
| | | | Change-Id: Ib28e76ed6947431c6466d11aaadca8d95abfc275
* loplugin:sallogareasMichael Stahl2016-06-061-1/+2
| | | | Change-Id: Id9204f2499bd995f36c5962da56a6d486fe4ca59
* Revert "loplugin:sallogareas"Stephan Bergmann2016-06-061-1/+0
| | | | | This reverts commit 94e6d9d0667781fc733bd18d7cf2b81d4a5366cb, which wasn't necessary after 69c997428b748357918994ae1b0e2dbd052687d0 "loplugin:sallogareas".
* loplugin:sallogareasNoel Grandin2016-06-061-0/+1
| | | | Change-Id: Id285f7b7f100f7bfd21ca786ef260243aad35825