Commit Graph

52 Commits

Author SHA1 Message Date
Stephan Bergmann
2171077c0c Introduce cppu::supportsService helper, adapt some call-sites
...more to follow (easy hack?)

Change-Id: Icb02626495701a3905c124c7368b98c3258e91b2
2012-09-14 19:32:30 +02:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
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
Olivier Hallot
1b99d8800e Fix for fdo43460 Part X getLength() to isEmpty()
Part X
Module
cppu
cppuhelper
cpputools
2011-12-17 17:15:53 +04:00
Norbert Thiebaud
c10fb61c1a remove include of pch header in cppuhelper 2011-11-27 13:03:19 -06:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
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-21 09:28:39 +02:00
Matúš Kukan
683d975d70 we are searching for prefix in activate
also fix small typo
2011-07-28 14:42:08 +02:00
Michael Meeks
babdd43fce re-work prefix handling and undo cppuhelper ABI change, add unit test
use a separate prefix enabled method instead of changing the ABI of cppuhelper
also - lookup the prefix in the dllcomponentloader in case we are called this way
also - add a unit test for the prefix change
2011-06-24 14:23:25 +01:00
Matus Kukan
f1be5778f8 Allows using prefix information about component 2011-06-24 12:15:50 +01:00
Caolán McNamara
71b6f3d9a3 use rtl::Static where double-locked pattern used 2011-04-04 13:09:33 +01: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
Thomas Arnhold
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01: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
Julien Nabet
933e22880b Remove "using namespace ::rtl" 2011-03-02 21:53:12 +01:00
J. Graeme Lingard
1b11499074 Remove redundant comments 2010-12-05 20:28:21 +00: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
Laurent Charrière
7b5a50e4ed Fix typos in comments in ure/cppuhelper
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
2010-10-14 10:54:59 +01:00
Laurent Charrière
fee1a2b79e Delete commented out code in ure/cppuhelper
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
2010-10-14 10:54:58 +01:00
Petr Mladek
334bef4563 remove include guards using fixguard.py 2010-10-05 18:12:51 +02:00
Ingrid Halama
6d6fa3655e chart49: #i113722# duplicate chart creation - OSingleFactoryHelper::createInstanceWithArgumentsAndContext leak 2010-08-19 09:18:38 +02:00
Frank Schoenheit [fs]
3b61423bfa slidecopy: merge CWS wth MWS-m76 2010-04-09 09:37:17 +02:00
Frank Schoenheit [fs]
5566f41bb2 slidecopy: +createOneInstanceComponentFactory 2010-03-23 12:51:25 +01: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
Vladimir Glazounov
3b2b8f91ff CWS-TOOLING: integrate CWS sb93 2008-10-01 09:04:58 +00:00
Rüdiger Timm
ccc7abe358 INTEGRATION: CWS changefileheader (1.27.50); FILE MERGED
2008/04/01 15:10:54 thb 1.27.50.3: #i85898# Stripping all external header guards
2008/04/01 10:54:26 thb 1.27.50.2: #i85898# Stripping all external header guards
2008/03/28 15:25:25 rt 1.27.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:33:32 +00:00
Kurt Zenker
bb37c40c07 INTEGRATION: CWS dba23a (1.26.38); FILE MERGED
2007/04/02 07:02:52 fs 1.26.38.1: #i10000#
2007-05-10 08:45:26 +00:00
Oliver Bolte
9312cffc7e INTEGRATION: CWS pchfix02 (1.25.14); FILE MERGED
2006/09/01 17:23:17 kaib 1.25.14.1: #i68856# Added header markers and pch files
2006-09-16 11:40:24 +00:00
Jens-Heiner Rechtien
6fd9117191 INTEGRATION: CWS warnings01 (1.22.58); FILE MERGED
2006/05/23 15:30:17 sb 1.22.58.4: RESYNC: (1.23-1.24); FILE MERGED
2005/09/22 15:37:48 sb 1.22.58.3: RESYNC: (1.22-1.23); FILE MERGED
2005/09/07 11:05:29 sb 1.22.58.2: #i53898# Made code warning-free.
2005/08/31 16:24:55 sb 1.22.58.1: #i53898# Made code warning-free.
2006-06-19 09:33:27 +00:00
Vladimir Glazounov
de4ff2b3ec INTEGRATION: CWS dba203b (1.23.30); FILE MERGED
2006/03/27 08:24:54 fs 1.23.30.1: #i63511# createInstanceWithArgumentsAndContext: always call initialize, even if the arguments sequence is empty (approved by SB)
2006-03-31 10:56:18 +00:00
Rüdiger Timm
b0ee96ecba INTEGRATION: CWS ooo19126 (1.22.62); FILE MERGED
2005/09/05 12:07:37 rt 1.22.62.1: #i54170# Change license header: remove SISSL
2005-09-08 08:26:13 +00:00
Rüdiger Timm
703583704e INTEGRATION: CWS binfilter (1.19.20); FILE MERGED
2004/04/05 19:15:01 aw 1.19.20.2: RESYNC: (1.19-1.20); FILE MERGED
2003/10/22 15:04:00 dbo 1.19.20.1: #112766# passing context's service manager
2004-05-03 12:58:08 +00:00
Rüdiger Timm
a8bf48eef6 INTEGRATION: CWS cfg04 (1.19.34); FILE MERGED
2004/02/23 12:28:33 ssmith 1.19.34.2: RESYNC: (1.19-1.20); FILE MERGED
2003/12/12 13:13:31 dbo 1.19.34.1: #114390# added propertyset implementation to support property ImplementationKey
2004-03-30 13:45:46 +00:00
Jens-Heiner Rechtien
53f35c5df3 INTEGRATION: CWS geordi2q14 (1.19.40); FILE MERGED
2004/01/29 15:10:07 hr 1.19.40.1: #111934#: merge CWS ooo111fix2
2004-02-02 22:14:56 +00:00
Jens-Heiner Rechtien
927e9697a0 INTEGRATION: CWS ooo11rc2 (1.18.12); FILE MERGED
2003/07/14 15:18:56 fa 1.18.12.1: Conditionalize OS X + gcc 2.95 hacks for gcc 2.95 only.

http://www.openoffice.org/project/www/issues/show_bug.cgi?id=16611

Dan
fa@ooo
2003-07-16 16:52:00 +00:00
Rüdiger Timm
8887123f4b INTEGRATION: CWS uno2 (1.16.32); FILE MERGED
2003/04/03 12:26:28 jl 1.16.32.1: #i12929# do not Assert when a component cannot be instantiated
2003-04-23 15:24:33 +00:00
Vladimir Glazounov
877f4d93af INTEGRATION: CWS dbgmacros1 (1.16.40); FILE MERGED
2003/04/09 10:40:10 kso 1.16.40.1: #108413# - debug macro unification.
2003-04-15 15:34:31 +00:00
Jens-Heiner Rechtien
b00b750a4b #101685#,#i6886# merge OOO_STABLE_1_PORTS (1.15-1.15.12.1) -> HEAD 2002-08-15 11:26:49 +00:00
Daniel Boelzle
782babebb8 #93054# added virtual dtor for internal class avoiding warnings 2001-10-15 12:37:05 +00:00
Jens-Heiner Rechtien
e9b63ab519 #65293#: exception specifications 2001-09-26 14:08:52 +00:00
Daniel Boelzle
ee0a987e72 #87233# one-instance peephole opt avoiding mutex acquisition 2001-07-04 07:50:23 +00:00
Rüdiger Timm
399ac7f87e #87576# exception specification added 2001-06-12 09:19:10 +00:00
Joachim Lingner
4bfc00aca2 #67468# factories support XUnloadingPreference now 2001-06-07 09:56:36 +00:00
Jörg Budischewski
5a3d28be5a #87267# module logging prepared 2001-05-18 14:44:18 +00:00
Daniel Boelzle
427b173557 #87162# bug in moduel factory init 2001-05-17 11:06:19 +00:00
Philipp Lohmann
07491a292e rtl string api changes 2001-05-10 19:29:53 +00:00
Daniel Boelzle
b9f29315c3 bug: OFactoryComponentHelper 2001-05-10 13:32:28 +00:00
Daniel Boelzle
9ebd0a77d8 modifications for component context support 2001-05-08 14:56:02 +00:00
Joachim Lingner
c23515aeed OSL_ENSHURE replaced by OSL_ENSURE 2001-03-12 12:39:32 +00:00
Daniel Boelzle
414591811c revised function throw () clauses, removed obsolete macros.hxx 2001-03-09 11:15:28 +00:00
Lars Langhans
b2e87219b4 #81393# createInstanceEveryTime was not thread save 2000-12-06 08:36:29 +00:00