Commit Graph

96 Commits

Author SHA1 Message Date
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
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-21 15:21:16 +01:00
Stephan Bergmann
b68640c44e Prevent creation of new ORequestThreads during shutdown. 2011-12-19 16:08:20 +01:00
Stephan Bergmann
2af1a97346 Removed superfluous CPPU_DLLPUBLIC from definitions. 2011-12-19 11:33:13 +01:00
Matúš Kukan
d899f976ee cppu: add visibility symbols 2011-12-19 10:14:52 +01:00
Matúš Kukan
051fdda153 cppu: convert to gbuild
Because of unit tests is here custom target where are idl files
processed.
2011-12-19 10:14:51 +01:00
Stefan Knorr (astron)
ad2eb6c4ba Less succes, more success 2011-12-08 09:06:09 +01:00
Stephan Bergmann
beebf578ed -Wstrict-aliasing fix 2011-12-01 21:24:50 +01:00
Norbert Thiebaud
24b4c075d5 remove include of pch header in cppu 2011-11-27 13:02:56 -06:00
Jan Holesovsky
a3a19632f4 Merge remote-tracking branch 'origin/integration/dev300_m101'
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-18 15:58:02 +01:00
Tor Lillqvist
b6e36a7fa9 Use explicitly cast zeros to avoid compilation error with MSVC2010
Could also use nullptr, is it supported by all compiler versions we use?
2011-03-14 12:20:35 +02:00
Norbert Thiebaud
d7fc91fcd1 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
* 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-08 22:29:39 -06:00
Fridrich Strba
4724f82bf2 move module cppu to boost unordered containers 2011-02-03 23:39:38 +01:00
Julien Nabet
6ca25e8192 Some cppcheck cleaning 2011-01-12 13:12:22 +00:00
sb
2a3ed89284 sb132: #i112448# proper clean up in JobQueue::enter (patch by olistraub) 2010-10-25 15:37:14 +02:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Caolán McNamara
521a9f6f76 #i107490# cppu lifecycle cleanup 2010-10-11 12:37:08 +01:00
sb
648603aa7c sb126: #i107490# cppu lifecycle cleanup (patch by cmc, plus removal of now obsolete CPPU_LEAK_STATIC_DATA) 2010-07-07 13:03:20 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm
e1dc5bc48a INTEGRATION: CWS changefileheader (1.5.84); FILE MERGED
2008/03/31 07:23:21 rt 1.5.84.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:35:13 +00:00
Rüdiger Timm
dc1214ce9c INTEGRATION: CWS changefileheader (1.17.34); FILE MERGED
2008/03/31 07:23:20 rt 1.17.34.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:34:54 +00:00
Rüdiger Timm
7c72e544d5 INTEGRATION: CWS changefileheader (1.11.74); FILE MERGED
2008/03/31 07:23:20 rt 1.11.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:34:36 +00:00
Rüdiger Timm
b142db763b INTEGRATION: CWS changefileheader (1.6.90); FILE MERGED
2008/04/01 15:10:33 thb 1.6.90.2: #i85898# Stripping all external header guards
2008/03/31 07:23:20 rt 1.6.90.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:34:18 +00:00
Rüdiger Timm
b966b374d0 INTEGRATION: CWS changefileheader (1.12.34); FILE MERGED
2008/03/31 07:23:20 rt 1.12.34.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:34:00 +00:00
Rüdiger Timm
52ac5ba09e INTEGRATION: CWS changefileheader (1.5.46); FILE MERGED
2008/03/31 07:23:20 rt 1.5.46.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:33:35 +00:00
Rüdiger Timm
86b14e7387 INTEGRATION: CWS changefileheader (1.6.84); FILE MERGED
2008/04/01 15:10:33 thb 1.6.84.2: #i85898# Stripping all external header guards
2008/03/31 07:23:20 rt 1.6.84.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:33:18 +00:00
Rüdiger Timm
9d23834e45 INTEGRATION: CWS changefileheader (1.7.74); FILE MERGED
2008/03/31 07:23:20 rt 1.7.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:33:02 +00:00
Rüdiger Timm
a41a279ec2 INTEGRATION: CWS changefileheader (1.5.132); FILE MERGED
2008/03/31 07:23:20 rt 1.5.132.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:32:43 +00:00
Rüdiger Timm
c0dadb8d99 INTEGRATION: CWS changefileheader (1.15.40); FILE MERGED
2008/03/31 07:23:20 rt 1.15.40.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:32:25 +00:00
Oliver Bolte
5a8c9b573f INTEGRATION: CWS unomacli64 (1.16.36); FILE MERGED
2007/06/07 10:54:33 kr 1.16.36.2: fixed: #i77600# warning because of wrong format specifier - now uses C++ style casts
2007/06/07 09:22:29 kr 1.16.36.1: fixed: #i77600# warning because of wrong format specifier
2007-07-18 11:22:02 +00:00
Oliver Bolte
38179b1ca9 INTEGRATION: CWS unomacli64 (1.11.36); FILE MERGED
2007/06/07 10:54:33 kr 1.11.36.2: fixed: #i77600# warning because of wrong format specifier - now uses C++ style casts
2007/06/07 09:22:29 kr 1.11.36.1: fixed: #i77600# warning because of wrong format specifier
2007-07-18 11:21:48 +00:00
Kurt Zenker
f56797c42c INTEGRATION: CWS bunoexttm (1.14.28); FILE MERGED
2007/03/08 12:16:48 thb 1.14.28.5: #i10000# Fixed build breakages with DBG_UTIL build and OSX
2007/03/01 09:18:31 kr 1.14.28.4: simplified: rely on IdentityMapping
2007/03/01 09:14:33 kr 1.14.28.3: simplified: use uno::Mapping and uno::Environment instead of C types
2007/03/01 09:01:36 kr 1.14.28.2: simplified: removed unreachable code
2007/03/01 08:56:38 kr 1.14.28.1: fixed: removed all hard casts, manage obj lifecycle vie env. only
2007-05-09 12:37:50 +00:00
Vladimir Glazounov
77320c6775 INTEGRATION: CWS ause074 (1.4.92); FILE MERGED
2007/01/30 12:03:54 hjs 1.4.92.1: #i73801# remove remaining usages of sv[pre].mk
2007-02-06 12:24:13 +00:00
Oliver Bolte
d73c8e12f7 INTEGRATION: CWS pchfix02 (1.15.10); FILE MERGED
2006/09/01 17:23:01 kaib 1.15.10.1: #i68856# Added header markers and pch files
2006-09-16 23:20:10 +00:00
Oliver Bolte
0906e2c8c4 INTEGRATION: CWS pchfix02 (1.10.60); FILE MERGED
2006/09/01 17:23:01 kaib 1.10.60.1: #i68856# Added header markers and pch files
2006-09-16 23:19:56 +00:00
Oliver Bolte
a10893c8ae INTEGRATION: CWS pchfix02 (1.10.10); FILE MERGED
2006/09/01 17:23:01 kaib 1.10.10.1: #i68856# Added header markers and pch files
2006-09-16 23:19:42 +00:00
Oliver Bolte
2a40cb9bd0 INTEGRATION: CWS pchfix02 (1.6.10); FILE MERGED
2006/09/01 17:23:01 kaib 1.6.10.1: #i68856# Added header markers and pch files
2006-09-16 23:19:29 +00:00
Oliver Bolte
7ba2d23068 INTEGRATION: CWS pchfix02 (1.13.60); FILE MERGED
2006/09/01 17:23:01 kaib 1.13.60.1: #i68856# Added header markers and pch files
2006-09-16 23:19:17 +00:00
Jens-Heiner Rechtien
ec2b283e63 INTEGRATION: CWS warnings01 (1.1.1.1.196); FILE MERGED
2005/09/22 20:43:49 sb 1.1.1.1.196.2: RESYNC: (1.1.1.1-1.2); FILE MERGED
2005/08/31 13:43:20 sb 1.1.1.1.196.1: #i53898# Made code warning-free.
2006-06-19 12:12:58 +00:00
Jens-Heiner Rechtien
4027faeae0 INTEGRATION: CWS warnings01 (1.11.32); FILE MERGED
2005/09/22 20:43:40 sb 1.11.32.4: RESYNC: (1.11-1.12); FILE MERGED
2005/09/06 10:11:51 sb 1.11.32.3: #i53898# sal::reinterpret_int_cast is not needed.
2005/08/31 13:43:20 sb 1.11.32.2: #i53898# Made code warning-free.
2005/08/29 14:03:50 sb 1.11.32.1: #i53898# Made code warning-free.
2006-06-19 12:12:45 +00:00
Jens-Heiner Rechtien
926576c567 INTEGRATION: CWS warnings01 (1.6.46); FILE MERGED
2005/09/22 20:43:02 sb 1.6.46.3: RESYNC: (1.6-1.7); FILE MERGED
2005/09/06 10:11:50 sb 1.6.46.2: #i53898# sal::reinterpret_int_cast is not needed.
2005/08/29 14:03:50 sb 1.6.46.1: #i53898# Made code warning-free.
2006-06-19 12:12:31 +00:00
Jens-Heiner Rechtien
9b8457a6d2 INTEGRATION: CWS warnings01 (1.2.186); FILE MERGED
2005/09/22 20:42:35 sb 1.2.186.2: RESYNC: (1.2-1.3); FILE MERGED
2005/08/31 13:43:19 sb 1.2.186.1: #i53898# Made code warning-free.
2006-06-19 12:12:18 +00:00
Jens-Heiner Rechtien
b4d3092287 INTEGRATION: CWS warnings01 (1.2.46); FILE MERGED
2005/09/22 20:42:24 sb 1.2.46.2: RESYNC: (1.2-1.3); FILE MERGED
2005/08/31 13:43:19 sb 1.2.46.1: #i53898# Made code warning-free.
2006-06-19 12:12:04 +00:00
Kurt Zenker
b70c02313f INTEGRATION: CWS jsc9 (1.3.2); FILE MERGED
2006/04/26 14:15:33 jsc 1.3.2.1: #134738# move fixes back to previous version
2006-04-26 19:50:44 +00:00
Kurt Zenker
caf3637b53 INTEGRATION: CWS jsc9 (1.13.2); FILE MERGED
2006/04/26 14:15:33 jsc 1.13.2.1: #134738# move fixes back to previous version
2006-04-26 19:50:31 +00:00
Kurt Zenker
9799afcea2 INTEGRATION: CWS jsc9 (1.5.2); FILE MERGED
2006/04/26 14:15:33 jsc 1.5.2.1: #134738# move fixes back to previous version
2006-04-26 19:50:18 +00:00
Kurt Zenker
2cb1f10fca INTEGRATION: CWS jsc9 (1.8.2); FILE MERGED
2006/04/26 14:15:33 jsc 1.8.2.1: #134738# move fixes back to previous version
2006-04-26 19:50:06 +00:00
Kurt Zenker
54ec29f389 INTEGRATION: CWS jsc9 (1.4.2); FILE MERGED
2006/04/26 14:15:32 jsc 1.4.2.1: #134738# move fixes back to previous version
2006-04-26 19:49:54 +00:00
Jens-Heiner Rechtien
941d1a150d INTEGRATION: CWS sb49 (1.2.38); FILE MERGED
2006/03/22 10:14:07 sb 1.2.38.1: #i63397# Keep objects alive long enough so that threads still running while atexit handlers are processed do not access dead objects.
2006-04-19 12:49:44 +00:00
Jens-Heiner Rechtien
55fda0f7da INTEGRATION: CWS sb49 (1.12.38); FILE MERGED
2006/03/22 10:14:06 sb 1.12.38.1: #i63397# Keep objects alive long enough so that threads still running while atexit handlers are processed do not access dead objects.
2006-04-19 12:49:32 +00:00
Jens-Heiner Rechtien
0c047c75de INTEGRATION: CWS sb49 (1.4.40); FILE MERGED
2006/03/22 10:14:06 sb 1.4.40.1: #i63397# Keep objects alive long enough so that threads still running while atexit handlers are processed do not access dead objects.
2006-04-19 12:49:20 +00:00