Commit Graph

106 Commits

Author SHA1 Message Date
543158edba Require XComponentContext.getServiceManager to throw instead of returning null
This is such a fatal error that there is probably no point in trying to handle
it, so allow to simplify client code by removing the requirement to check for a
null return value.

Simplified some client code accordingly (modules configmgr and ure, and the code
generated by cppumaker and javamaker).

Change-Id: I51c0b270ec73409374f7439a47ee061407a46e31
2012-09-17 16:59:53 +02:00
c91e2cae54 re-base on ALv2 code. 2012-06-12 22:24:54 +01:00
26643fb59e codemaker: write version 49 (1.5) class files
The trick of writing generic types into class files of versions < 49
does no longer work with javac from OpenJDK 7:

/comphelper/qa/complex/comphelper/Map.java:154: error: type Pair does
not take parameters
  Pair< ?, ? >[] initialMappings = new Pair< ?, ? >[ _keys.length ];

There appears to be a related JDK bug for this, at some time javac had
an undocumented option to produce similar class files that are also
rejected now, this has been closed as "Not a Defect":

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078419

Change-Id: I8a504f6cbb3bb58cd914aebb88637cc6feb0bd48
2012-05-21 18:48:04 +02:00
f3653d3c1e gbuild conversion: codemaker module 2012-04-14 06:58:00 -05:00
55823d331e replace APP?RPATH SDK by SDKBIN in old build system
Commit 0c80ad06fd96a4fec062a7edfff12bb65ef204b4 broke MacOS X builds
because of this discrepancy. It would be easy to accept both, but I
think it is better to be consistent with gbuild.
2012-04-14 07:22:15 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
66a88dc17e UNO BYTE is signed
This is hopefully a better fix for c589fa17b8f3e6ded0d1e04120781eb5d6735bc7
"Dalvik enforces byte constants being in range (-128..127)."
2012-03-29 12:07:36 +02:00
c589fa17b8 Dalvik enforces byte constants being in range (-128..127) 2012-03-28 16:57:58 +03:00
b57a1f2f4d Reduce verbiage slightly 2012-02-16 15:25:38 +02:00
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
fd866ac8f1 Fix for fdo43460 Part VI getLength() to isEmpty()
Part VI
Module
codemaker
2011-12-13 00:40:14 +04:00
d8ed87481c remove include of pch header in codemaker 2011-11-27 12:59:38 -06:00
bf1f0183d5 Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). 2011-10-18 23:10:56 +02:00
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
e035836fb1 callcatcher: unused writeU1 2011-06-30 11:35:57 +01:00
9fa483cf7b No point building build-time executables for iOS 2011-06-13 02:43:35 +03:00
4be7cca60b Merge commit 'ooo/DEV300_m103'
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-23 16:59:59 +01:00
933e22880b Remove "using namespace ::rtl" 2011-03-02 21:53:12 +01:00
228e4d2915 jsc340: i114847: fix name 2011-02-24 10:51:05 +01:00
31ca64f91e Remove double line spacing and correct indentation 2011-01-29 15:39:11 +01:00
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
f3de0f63df jsc340: i14847: clean up cmdline help fo devtools 2010-10-01 14:20:45 +02:00
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
8a7a710632 CWS-TOOLING: integrate CWS cmcfixes51
2008-12-08 10:12:55 +0100 cmc  r264975 : #i96203# protect with ifdefs to avoid unused symbol on mac
2008-12-05 12:23:47 +0100 cmc  r264898 : CWS-TOOLING: rebase CWS cmcfixes51 to trunk@264807 (milestone: DEV300:m37)
2008-12-01 14:45:17 +0100 cmc  r264606 : #i76655# ehlos apparently required
2008-11-28 17:49:30 +0100 cmc  r264567 : #i96655# remove newly unused method
2008-11-28 10:41:28 +0100 cmc  r264531 : #i96647# better ppc-bridges flushCode impl
2008-11-27 12:58:40 +0100 cmc  r264478 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 12:32:49 +0100 cmc  r264476 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 12:26:02 +0100 cmc  r264475 : #i96655# redundant old table export helpers
2008-11-27 11:49:06 +0100 cmc  r264473 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 11:38:35 +0100 cmc  r264471 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 11:14:21 +0100 cmc  r264467 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 11:06:22 +0100 cmc  r264464 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:58:18 +0100 cmc  r264462 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:41:44 +0100 cmc  r264461 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:19:24 +0100 cmc  r264460 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:13:39 +0100 cmc  r264459 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 10:06:14 +0100 cmc  r264458 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:59:54 +0100 cmc  r264457 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:52:51 +0100 cmc  r264456 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:48:26 +0100 cmc  r264454 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:40:20 +0100 cmc  r264452 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:35:26 +0100 cmc  r264451 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:31:00 +0100 cmc  r264450 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 09:24:08 +0100 cmc  r264449 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 00:26:15 +0100 cmc  r264443 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 00:21:01 +0100 cmc  r264442 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-27 00:09:40 +0100 cmc  r264441 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 23:51:56 +0100 cmc  r264440 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 23:49:09 +0100 cmc  r264439 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 18:09:54 +0100 cmc  r264432 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 18:07:40 +0100 cmc  r264431 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 17:28:02 +0100 cmc  r264429 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 17:27:39 +0100 cmc  r264428 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 17:18:36 +0100 cmc  r264426 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 16:22:16 +0100 cmc  r264415 : #i96624# make implicit braces and brackets explicit to avoid warnings
2008-11-26 16:00:23 +0100 cmc  r264409 : #i90426# remove warnings from svtools
2008-11-26 15:59:17 +0100 cmc  r264408 : #i90426# remove warnings
2008-11-26 15:47:32 +0100 cmc  r264404 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:46:57 +0100 cmc  r264394 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:19:50 +0100 cmc  r264387 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:15:26 +0100 cmc  r264386 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 14:11:26 +0100 cmc  r264384 : #i96084# confirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 13:44:23 +0100 cmc  r264380 : #i96084# comfirm existing logic with explicit brackets to remove new gcc warnings
2008-11-26 13:12:24 +0100 cmc  r264372 : #i96604# silence new warnings
2008-11-26 12:35:02 +0100 cmc  r264369 : #i96203# make qstarter work in 3-layer land
2008-11-26 12:33:04 +0100 cmc  r264368 : #i96170# ensure gtypes are up and running
2008-12-11 07:05:03 +00:00
6bcb323a18 INTEGRATION: CWS jsc21 (1.14.4); FILE MERGED
2008/04/30 11:39:04 jsc 1.14.4.1: #86121# correct linking for 3 layer office
2008-07-11 12:32:12 +00:00
d9849833ff INTEGRATION: CWS jsc21 (1.6.76); FILE MERGED
2008/04/23 09:48:17 jsc 1.6.76.2: RESYNC: (1.6-1.7); FILE MERGED
2008/02/13 08:54:58 jsc 1.6.76.1: #i72964# remove external header guards
2008-07-11 12:31:58 +00:00
cb327e6e1c INTEGRATION: CWS changefileheader (1.13.56); FILE MERGED
2008/03/31 07:22:55 rt 1.13.56.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:20:43 +00:00
fe747611b4 INTEGRATION: CWS changefileheader (1.6.80); FILE MERGED
2008/03/31 07:22:55 rt 1.6.80.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:20:26 +00:00
2574c1e7bb INTEGRATION: CWS changefileheader (1.34.38); FILE MERGED
2008/03/31 07:22:55 rt 1.34.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:20:07 +00:00
9cecebd3bf INTEGRATION: CWS changefileheader (1.3.56); FILE MERGED
2008/04/01 12:26:07 thb 1.3.56.2: #i85898# Stripping all external header guards
2008/03/31 07:22:55 rt 1.3.56.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:19:45 +00:00
c2358da166 INTEGRATION: CWS changefileheader (1.11.38); FILE MERGED
2008/03/31 07:22:55 rt 1.11.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:19:23 +00:00
0826cf5370 INTEGRATION: CWS changefileheader (1.9.38); FILE MERGED
2008/03/31 07:22:55 rt 1.9.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:19:01 +00:00
8ca7bd30e9 INTEGRATION: CWS changefileheader (1.4.56); FILE MERGED
2008/04/01 15:04:49 thb 1.4.56.3: #i85898# Stripping all external header guards
2008/04/01 12:26:07 thb 1.4.56.2: #i85898# Stripping all external header guards
2008/03/31 07:22:55 rt 1.4.56.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:18:36 +00:00
c3596fb599 INTEGRATION: CWS changefileheader (1.5.38); FILE MERGED
2008/03/31 07:22:55 rt 1.5.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:18:14 +00:00
e0b742a8ac INTEGRATION: CWS pchfix02 (1.33.8); FILE MERGED
2006/09/01 17:19:24 kaib 1.33.8.1: #i68856# Added header markers and pch files
2006-09-17 02:40:03 +00:00
93dba0eb76 INTEGRATION: CWS pchfix02 (1.10.8); FILE MERGED
2006/09/01 17:19:24 kaib 1.10.8.1: #i68856# Added header markers and pch files
2006-09-17 02:39:46 +00:00
321e0a5b5c INTEGRATION: CWS pchfix02 (1.8.16); FILE MERGED
2006/09/01 17:19:24 kaib 1.8.16.1: #i68856# Added header markers and pch files
2006-09-17 02:39:32 +00:00
22c3e72051 INTEGRATION: CWS pchfix02 (1.4.8); FILE MERGED
2006/09/01 17:19:24 kaib 1.4.8.1: #i68856# Added header markers and pch files
2006-09-17 02:39:17 +00:00
aa6734328f INTEGRATION: CWS warnings01 (1.27.12); FILE MERGED
2006/05/23 23:37:32 sb 1.27.12.6: RESYNC: (1.31-1.32); FILE MERGED
2006/04/07 20:41:00 sb 1.27.12.5: RESYNC: (1.29-1.31); FILE MERGED
2006/01/25 21:03:23 sb 1.27.12.4: RESYNC: (1.28-1.29); FILE MERGED
2005/11/24 14:59:59 sb 1.27.12.3: #i53898# Made code warning-free.
2005/09/22 22:29:26 sb 1.27.12.2: RESYNC: (1.27-1.28); FILE MERGED
2005/09/05 13:32:31 sb 1.27.12.1: #i53898# Made code warning-free.
2006-06-20 01:25:24 +00:00
4e56ed5205 INTEGRATION: CWS warnings01 (1.8.48); FILE MERGED
2005/09/22 22:29:05 sb 1.8.48.2: RESYNC: (1.8-1.9); FILE MERGED
2005/09/05 13:32:29 sb 1.8.48.1: #i53898# Made code warning-free.
2006-06-20 01:25:07 +00:00
b3ebac8fc0 INTEGRATION: CWS warnings01 (1.2.42); FILE MERGED
2005/11/24 14:59:59 sb 1.2.42.4: #i53898# Made code warning-free.
2005/09/22 22:28:31 sb 1.2.42.3: RESYNC: (1.2-1.3); FILE MERGED
2005/08/30 07:15:28 sb 1.2.42.2: #i53898# Made code warning-free.
2005/08/29 14:21:29 sb 1.2.42.1: #i53898# Made code warning-free.
2006-06-20 01:24:56 +00:00
d77737d1a3 INTEGRATION: CWS sb49 (1.31.2); FILE MERGED
2006/03/30 13:09:19 sb 1.31.2.2: #i63812# Use checkcast instead of implicit downcasts (gij rejects to verify the resulting bytecode otherwise).
2006/03/16 10:57:58 sb 1.31.2.1: #i62303# As a special case, let com.sun.star.lang.XEventListener extend java.utilEventListener.
2006-04-19 12:42:39 +00:00
b11c66fb25 INTEGRATION: CWS jsc3 (1.12.10); FILE MERGED
2006/02/17 16:41:07 jsc 1.12.10.2: #i56247# refactor commonly used functions in static libs
2006/02/17 16:00:09 jsc 1.12.10.1: #i56247# refactoring and cosmetics
2006-03-15 08:16:38 +00:00
b2e50507a1 INTEGRATION: CWS jsc3 (1.2.16); FILE MERGED
2006/01/20 13:02:25 jsc 1.2.16.1: #i56247# unify include guards
2006-03-15 08:16:24 +00:00
5d8992a058 INTEGRATION: CWS jsc3 (1.7.16); FILE MERGED
2006/01/20 13:02:25 jsc 1.7.16.1: #i56247# unify include guards
2006-03-15 08:16:04 +00:00
669af0f33d INTEGRATION: CWS jsc3 (1.3.16); FILE MERGED
2006/01/20 13:02:24 jsc 1.3.16.1: #i56247# unify include guards
2006-03-15 08:15:47 +00:00
ccbd8fd7f3 INTEGRATION: CWS jl31 (1.30.8); FILE MERGED
2006/02/20 15:52:06 sb 1.30.8.1: #i62339# Missing comma when generating names of UNO instantiated polymorphic struct type templates.
2006-03-09 09:26:53 +00:00
23886db7f6 INTEGRATION: CWS sb46 (1.29.6); FILE MERGED
2006/01/13 11:56:09 sb 1.29.6.1: #i60341# Fixed ANY-related problems in the generated service constructors.
2006-01-26 16:42:55 +00:00
f4a9c1ed28 INTEGRATION: CWS jsc2 (1.28.12); FILE MERGED
2005/12/09 16:48:48 jsc 1.28.12.1: #i58243# remove check of reference count, not necessary here -> simpy do nothing for optional interfaces
2005-12-28 16:56:47 +00:00
7253193112 INTEGRATION: CWS skeletonmaker (1.11.6); FILE MERGED
2005/10/19 08:48:08 jsc 1.11.6.1: #i52208# use new variables for static libs
2005-10-27 16:12:26 +00:00