summaryrefslogtreecommitdiff
path: root/cppu/source
AgeCommit message (Collapse)AuthorFilesLines
2012-02-10Avoid deadlocks when disposing recursive JobQueue::enterStephan Bergmann1-2/+5
...where the outer JobQueue::enter blocks on m_cndWait after it has been reset again due to m_lstJob.empty().
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann15-99/+99
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann5-14/+13
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-06typo in OSL_DEBUG_LEVEL > 1 codeCaolán McNamara1-1/+1
2012-01-05Leak TypeDescriptor_Init_Impl to avoid problems at exit.Stephan Bergmann1-98/+106
2012-01-05Explicitly initialize TypeDescriptor_Init_Impl.Stephan Bergmann1-5/+13
2012-01-02Replace dynamic array with std::vector.Stephan Bergmann1-8/+7
2011-12-23OSL_ASSERT -> assertStephan Bergmann1-19/+20
2011-12-19get this to build under msvc 2008Caolán McNamara1-8/+8
2011-12-19Prevent creation of new ORequestThreads during shutdown.Stephan Bergmann2-0/+27
2011-12-19Removed superfluous CPPU_DLLPUBLIC from definitions.Stephan Bergmann3-12/+12
2011-12-19cppu: add visibility symbolsMatúš Kukan14-99/+99
2011-12-19cppu: convert to gbuildMatúš Kukan9-376/+0
Because of unit tests is here custom target where are idl files processed.
2011-12-17Fix for fdo43460 Part X getLength() to isEmpty()Olivier Hallot3-6/+6
Part X Module cppu cppuhelper cpputools
2011-12-11I don't see NO_BSYMBOLIC being used anywhereTor Lillqvist4-4/+0
2011-12-08Less succes, more successStefan Knorr (astron)1-1/+1
2011-12-01-Wstrict-aliasing fixStephan Bergmann1-2/+5
2011-12-01The other uses of pReserved had been changed to nStaticRefCount in 2001.Stephan Bergmann1-1/+1
2011-11-27remove include of pch header in cppuNorbert Thiebaud20-40/+0
2011-10-03targeting gcc 4.6.1 gentoo strict-aliasing warningsCaolán McNamara1-57/+27
2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold1-1/+1
Done with perl regex: s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs; - removed trailing whitespaces and (multiple) newlines
2011-09-09sb140: silence warningsStephan Bergmann1-56/+56
2011-08-30Tweak some DLL and import library names in the WNTGCC caseTor Lillqvist1-8/+1
2011-08-21Link cppu statically to gcc3_uno on iOSTor Lillqvist2-4/+10
2011-08-21Revert "I am tired of thesee assertions, put them behind dbglevel>2"Tor Lillqvist1-1/+1
Nah, having them behind dbglevel>1 is fine (which already means these assertions won't normally be compiled even with --enable-debug). I got mislead as I was building with dbglevel=2 everywhere. But pondering the point of dbglevel a.k.a. OSL_DEBUG_LEVEL, I think the right way to see it is: You are not supposed to build all (or large parts) of LibreOffice with dbglevel=2. If we used OSL_TRACE all over the place as thoroughly as in some files in sal/rtl, that would lead to astronomical amounts of tracing output. (We don't use OSL_TRACE like that, but that is another thing...) I think the intended use of dbglevel is that you should build with dbglevel=2 only the small part of code you are currently actively working on, when you want to see trace output. Of course, another problem then is that in some modules and/or libraries it might not be possible to compile just a part of the sources with dbglevel=2. That should be fixed. This reverts commit a3bad2855032fb2742feea1e0e350297d41f69fe.
2011-08-19I am tired of thesee assertions, put them behind dbglevel>2Tor Lillqvist1-1/+1
2011-08-09Fix compilation errors with dbglevel>1Tor Lillqvist1-16/+16
2011-06-13No dynamic module loading on iOSTor Lillqvist1-0/+4
2011-04-18Remove OS/2 support.Francois Tigeot4-17/+1
2011-04-03use rtl::Static where double-locked pattern usedCaolán McNamara1-10/+17
2011-03-23Merge commit 'ooo/DEV300_m103'Jan Holesovsky1-27/+14
Conflicts: codemaker/source/bonobowrappermaker/corbaoptions.cxx codemaker/source/cppumaker/cppuoptions.cxx codemaker/source/cunomaker/cunooptions.cxx codemaker/source/idlmaker/idloptions.cxx codemaker/source/javamaker/javaoptions.cxx cppu/source/typelib/typelib.cxx idlc/source/options.cxx offapi/com/sun/star/util/PathSubstitution.idl offapi/drafts/com/sun/star/form/ListEntryEvent.idl offapi/drafts/com/sun/star/form/XBindableValue.idl offapi/drafts/com/sun/star/form/XListEntryListener.idl offapi/drafts/com/sun/star/form/XListEntrySink.idl offapi/drafts/com/sun/star/form/XListEntrySource.idl offapi/drafts/com/sun/star/form/XValueBinding.idl registry/tools/checksingleton.cxx registry/tools/options.hxx registry/tools/regcompare.cxx registry/tools/regmerge.cxx sal/cppunittester/cppunittester.cxx sal/osl/unx/socket.c sal/osl/w32/diagnose.c sal/prj/d.lst sal/rtl/source/alloc_fini.cxx sal/rtl/source/alloc_global.c sal/rtl/source/makefile.mk
2011-03-19Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)Thomas Arnhold3-3/+3
2011-03-18Merge remote-tracking branch 'origin/integration/dev300_m101'Jan Holesovsky3-6/+10
Conflicts: bridges/source/remote/urp/urp_environment.cxx bridges/source/remote/urp/urp_propertyobject.cxx bridges/source/remote/urp/urp_reader.cxx remotebridges/source/factory/bridgefactory.cxx stoc/source/corereflection/crefl.cxx stoc/source/javavm/javavm.cxx stoc/source/simpleregistry/simpleregistry.cxx
2011-03-15Use format string on OSL_TRACE()Thomas Arnhold1-2/+1
2011-03-14Use explicitly cast zeros to avoid compilation error with MSVC2010Tor Lillqvist2-4/+4
Could also use nullptr, is it supported by all compiler versions we use?
2011-03-12Move OSL_ENSURE(0,...) to OSL_FAIL(...)Thomas Arnhold4-7/+7
2011-03-12Move OSL_ENSURE(false,...) to OSL_FAIL(...)Thomas Arnhold1-4/+4
2011-03-08Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Norbert Thiebaud3-6/+10
* 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-03-02Remove "using namespace ::rtl"Julien Nabet3-4/+11
2011-02-23debuglevels: merged to-be-m101Frank Schoenheit [fs]1-5/+6
2011-02-21debuglevels: removed yet another useless (aka: nearly-always-firing) assertionFrank Schoenheit [fs]1-1/+0
2011-02-21debuglevels: removed useless assertionsFrank Schoenheit [fs]1-13/+0
Those assertions were dependent on OSL_DEBUG_LEVEL > 1 (i.e. only existent with "dmake=1"), and then always fired. Which fulfills the definition of "useless", /me thinks.
2011-02-15dragonfly stuffFrancois Tigeot1-1/+1
2011-02-06don't crash trying to erase one past endFridrich Štrba1-4/+1
2011-02-06Revert "revert this change for now as its triggering a crash in saxparser"Fridrich Štrba1-2/+2
This reverts commit b73cf2b1ef3892b4c200c05fd617bfd099aceee5.
2011-02-04revert this change for now as its triggering a crash in saxparserCaolán McNamara1-2/+2
2011-02-03move module cppu to boost unordered containersFridrich Strba7-16/+16
2011-01-24WaE: gcc 4.6.0 various warningsCaolán McNamara2-4/+3
2011-01-23If CPPU_LEAK_STATIC_DATA is defined, don't bother with assertionsTor Lillqvist1-0/+19
Re-introduce the possibility to define CPPU_LEAK_STATIC_DATA. This time use it to bypass just the assertions that check that the type description counts really are zero at the end of the TypeDescriptor_Init_Impl destructor. Add more informative debugging printout of which counts are non-zero. Define CPPU_LEAK_STATIC_DATA for x64 Windows for now. But we do get the same assertions also on x86 Windows if cppu is built with OSL_DEBUG_LEVEL>1.
2011-01-23Remove pointless debugging outputTor Lillqvist1-13/+0
We do print out a message if struct size verifications fail. That is enough. No point in printing out the same > sizeof(AlignSize_Impl) = 16 > sizeof(M) = 8 > sizeof(N) = 12 etc messages every time a cppu-using program is run and cppu has been built for debugging.