summaryrefslogtreecommitdiff
path: root/sal/osl/all
AgeCommit message (Collapse)AuthorFilesLines
2013-05-14Fix syntax errorTor Lillqvist1-1/+1
Change-Id: I161cf0fb2c5bd071a963ece61928efb7938de6c2
2013-05-14Include PID and TID in SAL_DEBUG outputStephan Bergmann1-53/+45
...and clean up log.cxx somewhat. Change-Id: I657cf6c938cafa61959a8dc59c9f95dba5183d9f
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák1-1/+1
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks3-72/+12
2013-04-16Further clean-up related to removed library unloading featureStephan Bergmann1-14/+11
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
2013-04-16API CHANGE: remove some of useless rtl/unload.h functionalityMatúš Kukan1-0/+28
Change-Id: If32923e35ef97f42d5203975362e5c76948ff327 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-05No need to setenv SAL_LOG in the code for iOSTor Lillqvist1-3/+3
One can set environment variables to be used when debugging an app in Xcode, which is when it is interesting to see SAL_INFO output anyway. (This is very different from Android, where one can't set environment variables "before" an app starts, as apps there aren't separate programs that would be exec'ed.) Change-Id: I3971d1b2d1a849deac2722a90271ef2458db1643
2013-03-27-Werror=unused-macros (Android)Stephan Bergmann1-1/+1
Change-Id: I7b88ff1a8c53fbb875d5cb84060c726fd7d06c9c
2013-03-22WaE: unused functionsTor Lillqvist1-0/+6
Change-Id: I3014f75e9f5969902c5bb6cecad9286841e158e6
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák1-4/+4
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-01Pass log output directly to the Android log mechanismTor Lillqvist1-3/+34
Writing to stderr just takes a detour through the pipe we set up ourselves and read in a separate thread, and eventually ends up being passed to __android_log_print() anyway. Change-Id: I46356910e48926f22c8dc88d9eba6acbc8bce751
2013-02-19fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan1-6/+4
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-01-29Strip SRCDIR from the logging outputTor Lillqvist1-2/+6
Change-Id: I6069102f6b9df72a63a840758158f672fdd6c621
2013-01-11Fix workaround for thead-unsafe getenv againStephan Bergmann1-12/+24
...from d19c40f45dc8e8bcd9db4c6b83bdcf6367f6fbe7 "Work around some potential problems with thread-unsafe getenv" that had been broken with 60628799633ffde502cb105b98d3f254f93115aa "Notice if SAL_LOG is changed while the process is running." Change-Id: Ibd6dbc9921ae1f8dee114380f01a076b0770788c
2013-01-05Remove accidentally committed logging codeTor Lillqvist1-3/+0
Change-Id: I8dc055336d1577475282198528a57efc60508cef
2013-01-05Notice if SAL_LOG is changed while the process is runningTor Lillqvist1-3/+14
It used to call getenv("SAL_LOG") just once and assume it never changed. Sure, I don't expect that LO code will start changing SAL_LOG back and forth all the time. But it is definitely useful in our Android (and iOS) apps to be able to call for instance putenv("SAL_LOG=+WARN+INFO") as early as possible, before explicitly using any LO code. That used to work earlier, but not any more with the getEnvironmentVariable() thing, as the new logging mechanism gets called while initialising some static globals (i.e. before out app code had even started), and that then caused the one and only call to getenv("SAL_LOG"). This meant that we didn't get any debugging logging from SAL_INFO and friends in the Android app(s) any more. Change-Id: I932facff4118e5f016c95a4c1461e871184d3fc6
2012-12-20Add ability to send SAL_* messages to syslogRiccardo Magliocchetti1-3/+34
Use environment variable SAL_LOG_SYSLOG=1 Change-Id: I0c260ca69fbeefb0c2e8cc46ca6955e92791c05b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-12-17API CHANGE: Remove useless deprecated rtl/memory.hArnaud Versini1-0/+32
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, adapted some function definitions in sal/osl/all/compat.cxx to avoid "must return a value" warnings. Change-Id: Iac156b004464018225bbfda24f0a234f9ebcb19f
2012-12-06Put stubs for removed functionality into compat.cxxStephan Bergmann1-20/+19
Change-Id: I634c6c699f8573113cdf0763c2cc83dcc04b0b0e
2012-12-04Fixup: putting back dummy methods for removed semaphoreThorsten Behrens1-0/+43
We don't want to change sal SONAME just yet. Change-Id: I3a9de9a53a4ba845c00a26450e281534ca5d97f6
2012-11-21re-base on ALv2 code. Includes:Michael Meeks3-69/+42
Patch contributed by Herbert Duerr: #i118662# remove berkeleyDB from module xmlhelp (author=orwitt) http://svn.apache.org/viewvc?view=revision&revision=1213188 #i119141# remove ISCII converter for now http://svn.apache.org/viewvc?view=revision&revision=1306246 make exceptions for cppunittester verbose http://svn.apache.org/viewvc?view=revision&revision=1174831 Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Patch contributed by Oliver-Rainer Wittmann 88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 drop OS/2 code, remove in-line assembler ARM atomics, and obsolete armarch header.
2012-11-12WaE: C-linkage specified, but returns user-defined typeTor Lillqvist1-4/+1
Clang says: 'osl_detail_ObjectRegistry_getMutex' has C-linkage specified, but returns user-defined type '::osl::Mutex &' which is incompatible with C. Let's continue disabling that warning also also in 4.0 and later. Change-Id: I892bdc7e7aa6d546adf6b1c388e4c149db738948
2012-10-07When DISABLE_DYNLOADING don't even provide any module loading/unloading APITor Lillqvist1-0/+4
Will then cause compilation errors where they are used, which will be noticed and taken care of. (The code chanaged to either use direct linking instead, when it makes sense, or to just bypass the functionality that requires dynamic loading.) Much better than waiting until run-time to notice where dynamic loading is attempted. Change-Id: Ib0cb5a2524b5c63f8e27670e7d72e37ce2a8e6e9
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud1-2/+2
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-15Include saldllapi.h explicitly where neededStephan Bergmann1-2/+2
Change-Id: I7ba421479cd332e059ed9da1c6090e2df420347e
2012-09-12Work around some potential problems with thread-unsafe getenvStephan Bergmann1-4/+15
I have seen at least one failure of one of our unoapi tests where soffice.bin crashed in getenv(3). This patch is just a drop in the ocean, though. Change-Id: Iac8a2283b0a62e4fa95a0d063c1676af6c2390be
2012-06-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-09Remove superfluous empty lines on topThomas Arnhold1-2/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-05-17drop debug_oustring now that gdb pretty-printers existCaolán McNamara1-40/+0
Change-Id: Ie7d17f0ceb2e549b84c0cc16768604511e0e51a5
2012-04-26improve error messageMarkus Mohrhard1-0/+2
2012-04-19clang warning for osl_detail_ObjectRegistry_getMutex() in the .cxx file tooLuboš Luňák1-0/+16
2012-04-04Minor tweakingsStephan Bergmann1-2/+3
2012-04-03SAL_DEBUG(), instead of those temporary debug printf'sLuboš Luňák1-3/+10
2011-12-19sal: add visibility symbolsMatúš Kukan1-2/+2
2011-12-19sal: convert to gbuildMatúš Kukan1-64/+0
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara3-6/+6
2011-11-27remove include of pch header from salNorbert Thiebaud5-8/+0
2011-11-27remove PCH support in dmake-moduleNorbert Thiebaud1-4/+0
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann3-3/+5
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann5-97/+264
* New SAL_INFO..., SAL_WARN... macros. * New SAL_STREAM supersedes OSL_FORMAT. * oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now). * TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site cleanup). * Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet addressed. * Some replacements tools String -> rtl::OUString.
2011-10-08Second attempt at (cross-platform) OSL_FORMAT.Stephan Bergmann2-0/+63
2011-10-08Revert "Introduced OSL_FORMAT, adpated some places to it."Tor Lillqvist2-60/+0
Breaks the MSVC build for me: 'osl_detail_formatString' : C linkage function cannot return C++ class 'rtl::OString'. This reverts commit 6b900b8bede24c8710d62e9e7cbff613a0b12f9f.
2011-10-08Introduced OSL_FORMAT, adpated some places to it.Stephan Bergmann2-0/+60
2011-09-30add mode-lines to .m files and last round of merged files, etc.Caolán McNamara1-0/+3
2011-06-14catch by const referenceCaolán McNamara1-1/+1
2011-06-01drop const for alternative templateCaolán McNamara1-2/+2
2011-04-18Remove OS/2 support.Francois Tigeot1-4/+0
2011-03-08Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Norbert Thiebaud2-2/+69
* commit 'ooo/DEV300_m101': (185 commits) chart52: cleanup unused legend entry stuff in preparation of issue #i82802# masterfix: #i10000# add missing dependency in offapi sb138: #i115619# fix for MinGW sb138: #i115619#, #i116038# use osl_setThreadName in binaryurp sb138: #i115619# osl_setThreadName gridsort: i116682: update UnoControlDialog to reflect XDialog gridsort: minor changes to the new API: - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself. gridsort: grid control related unit tests (first set, more to come) sb138: #i116038# fresh implementation of binary URP bridge chart52: #28670# make the legend within charts resizeable - part 2 gridsort: re-did the column resizing - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic sb139: #i116530# improve Java URP bridge error notification by utilizing the java.lang.Throwable cause facility gridsort: document the relationship between soorting the data and notifying XGridDataListeners gridsort: introduce XGridColumn::DataModelIndex. this allows for column removal/insertion at the GridColumnModel, without the need to touch the GridDataModel locales34: #i112431# adapt documentation to reality gridsort: introduce XSortableGridDataModel::removeColumnSort gridsort: #163172# added UNO API support for sorting grid data. Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed gridsort: made the row title a row heading, being an Any instead of a string gridsort: XMutableGridData: renamed updateRow to updateRowData for consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons ... Conflicts: bridges/inc/bridges/remote/bridgeimpl.hxx bridges/inc/bridges/remote/connection.h bridges/inc/bridges/remote/context.h bridges/inc/bridges/remote/helper.hxx bridges/inc/bridges/remote/mapping.hxx bridges/inc/bridges/remote/proxy.hxx bridges/inc/bridges/remote/remote.h bridges/inc/bridges/remote/remote.hxx bridges/inc/bridges/remote/stub.hxx bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx bridges/source/remote/context/context.cxx bridges/source/remote/static/helper.cxx bridges/source/remote/static/mapping.cxx bridges/source/remote/static/proxy.cxx bridges/source/remote/static/remote.cxx bridges/source/remote/static/remote_types.cxx bridges/source/remote/static/remote_types.hxx bridges/source/remote/static/stub.cxx bridges/source/remote/urp/urp_bridgeimpl.cxx bridges/source/remote/urp/urp_bridgeimpl.hxx bridges/source/remote/urp/urp_cache.h bridges/source/remote/urp/urp_cache.hxx bridges/source/remote/urp/urp_dispatch.cxx bridges/source/remote/urp/urp_dispatch.hxx bridges/source/remote/urp/urp_environment.cxx bridges/source/remote/urp/urp_job.cxx bridges/source/remote/urp/urp_job.hxx bridges/source/remote/urp/urp_log.cxx bridges/source/remote/urp/urp_log.hxx bridges/source/remote/urp/urp_marshal.cxx bridges/source/remote/urp/urp_marshal.hxx bridges/source/remote/urp/urp_marshal_decl.hxx bridges/source/remote/urp/urp_property.hxx bridges/source/remote/urp/urp_propertyobject.cxx bridges/source/remote/urp/urp_propertyobject.hxx bridges/source/remote/urp/urp_reader.cxx bridges/source/remote/urp/urp_reader.hxx bridges/source/remote/urp/urp_replycontainer.hxx bridges/source/remote/urp/urp_threadid.cxx bridges/source/remote/urp/urp_threadid.hxx bridges/source/remote/urp/urp_unmarshal.cxx bridges/source/remote/urp/urp_unmarshal.hxx bridges/source/remote/urp/urp_writer.cxx bridges/source/remote/urp/urp_writer.hxx cppu/source/threadpool/threadpool.cxx cppu/util/target.pmk cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx cppuhelper/source/interfacecontainer.cxx cpputools/source/regcomplazy/regcomplazy.cxx jurt/prj/d.lst jvmfwk/source/elements.cxx offapi/com/sun/star/awt/grid/GridDataEvent.idl offapi/com/sun/star/awt/grid/XGridColumn.idl offapi/com/sun/star/awt/tab/makefile.mk offapi/com/sun/star/chart2/ExplicitIncrementData.idl offapi/com/sun/star/chart2/XPlotter.idl offapi/com/sun/star/chart2/XUndoHelper.idl offapi/com/sun/star/document/MediaDescriptor.idl offapi/com/sun/star/document/makefile.mk offapi/com/sun/star/linguistic2/XLanguageGuessing.idl offapi/com/sun/star/script/ModuleInfo.idl offapi/com/sun/star/script/ModuleType.idl offapi/com/sun/star/text/TextMarkupType.idl offapi/com/sun/star/util/XTextSearch.idl offapi/com/sun/star/xml/sax/XFastAttributeList.idl pyuno/source/loader/makefile.mk remotebridges/source/bridge/bridge_connection.cxx remotebridges/source/bridge/bridge_connection.hxx remotebridges/source/bridge/bridge_provider.cxx remotebridges/source/bridge/remote_bridge.cxx remotebridges/source/bridge/remote_bridge.hxx remotebridges/source/dynamicloader/dynamicloader.cxx remotebridges/source/factory/bridgefactory.cxx remotebridges/source/factory/bridgeimpl.cxx remotebridges/source/factory/bridgeimpl.hxx remotebridges/source/factory/makefile.mk sal/cppunittester/cppunittester.cxx sal/inc/osl/diagnose.h sal/osl/os2/system.h sal/osl/unx/diagnose.c sal/osl/unx/file_misc.cxx sal/osl/unx/process_impl.cxx sal/osl/w32/diagnose.c sal/osl/w32/process.cxx sal/prj/build.lst sal/qa/rtl/math/makefile.mk sal/qa/rtl/math/rtl_math.cxx sal/qa/rtl/math/rtl_old_testint64.cxx sal/qa/rtl/math/test_rtl_math.cxx sal/systools/win32/kill/kill.cxx sal/textenc/tencinfo.c sal/util/sal.map stoc/source/inspect/introspection.cxx stoc/source/security/file_policy.cxx stoc/source/simpleregistry/simpleregistry.cxx
2011-02-04Clean up makefilesThomas Arnhold1-8/+0
2011-02-03some std::hash_map/set -> boost::unordered_map/set changesFridrich Strba1-1/+0