bab43b23d5
Allow for (relative) pathname args for codemakers again
...
Change-Id: I503d88b7d6fc44ef70d5071fddcec465e3fba856
2013-04-24 12:42:01 +02:00
048e591819
Further codemaker, unodevtools clean-up
...
...getting rid of now dangling references to module registry.
Change-Id: Iccad7ff5dc0e79bf91b7b7dae03b73f16adeb121
2013-04-16 17:38:44 +02:00
0557453a35
Combine getSortResolve...() into one decompose()
...
Change-Id: Ie1c1311d1df14d5639b7642d2b9a1588605c31fc
2013-04-12 15:22:11 +02:00
fc02ae8f82
[API CHANGE] WIP: Experimental new binary type.rdb format
...
Make javamaker work on top of unoidl/ instead of registry/.
API CHANGE: javamaker no longer supports the -B switch, as that is meaningless
with the new format. When reading from an old-format .rdb file, /UCR is hard-
coded as the prefix now.
Change-Id: I8cca39f8ebacd0476934f7bd493d206928d063a9
2013-04-11 09:29:44 +02:00
02a8e8acd1
[API CHANGE] WIP: Experimental new binary type.rdb format
...
Make cppumaker work on top of unoidl/ instead of registry/, as a first step to
change all the various codemakers.
* API CHANGE: cppumaker no longer supports the -B switch, as that is meaningless
with the new format. When reading from an old-format .rdb file, /UCR is
hard-coded as the prefix now.
* TODO: The new format does not yet support deprecation annotations, so the
generated .hdl/.hpp files lack any SAL_DEPRECATED_INTERNALs for now.
* codemaker/typemanager.hxx is extended with access to unoidl/ functionality, so
the various codemakers can use registry/ and unoidl/ in parallel for now.
The access to registry/ functionality will be removed. (Added small throwaway
helper functions u2b/b2u to easily map between OString and OUString at the
remaining seams for now.)
* Includes a selective revert of ba044b1e9613ed30906a9a540b7da8392923e4e3
"remove needless forward rtl::OUString declarations" in those parts of
codemaker, unodevtools, unoidl that were covered by this local
work-in-progress patch; I would otherwise have hard a hard time re-applying
it.
* The generated .hdl/.hpp files are mostly unchanged, except for a few minor
things:
** Any SAL_DEPRECATED_INTERNALs are missing (see above).
** In comprehensive getCppuType definitions, some members were erroneously
classified as TypeCalss_UNKNOWN.
** In comprehensive getCppuType definitions, some unnecessary calls like
::cppu::UnoType< ::sal_Int32 >::get();
can be removed.
** For typedef sequence<X>, the .hdl file need not include X.hdl, but only needs
to forward-declare it.
** Unnecessary includes for optional bases of interfaces can be removed.
** Some numbering of local variable names (sMethodName1, ...) has changed.
Change-Id: Icad98f248ac15177337f1b4ab709a755a8af6238
2013-04-09 09:44:33 +02:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
bb1f0c667f
Clean up codemaker/typemanager.hxx
...
Change-Id: I650efd6780070410eaf34993dd41ed1b8ada7c9a
2013-03-27 09:36:54 +01:00
3991eaf556
reduce whitespaces between include and filename
...
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-19 01:26:45 +01:00
9edeb948a2
Removed last RTL_CONST* macros from codemaker
...
Also, change ".equals" fro "==" and drop a useless function.
Change-Id: I5ce4fd2cc7c62a18e059e945b42cc01425802aa0
Reviewed-on: https://gerrit.libreoffice.org/2605
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br >
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br >
2013-03-09 23:29:39 +00:00
a2454a42ad
fdo#43460: use isEmpty()
...
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-09 20:32:39 +01:00
34aa49e81d
Remove RTL_CONST* macros from codemaker - pt2
...
More macros removed, and some simplifications when callind methods.
Conflicts:
codemaker/source/javamaker/javatype.cxx
Change-Id: If55046a5a9ceb6c8c84f3fa190f26cc9e1dde352
2013-03-08 17:44:03 +01:00
596334776a
Remove RTL_CONST* macros from codemaker - pt1
...
For more easy review, this is the first part of these changes.
More will come :)
Change-Id: Ic6ab0c7baebf0414dbcccb5dcfad434b3b07964c
Reviewed-on: https://gerrit.libreoffice.org/2595
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-08 13:02:22 +00:00
75e6856b08
fdo#57950: Remove chained appends in codemaker
...
And another cleanups like removing RTL_CONST* macros and other simple
things.
Much more can be done inside codemaker.
Change-Id: I338e1c0e88558124741c6202896355533535a129
Reviewed-on: https://gerrit.libreoffice.org/2583
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-08 04:31:03 +00:00
f1bca26afc
Remove redundant braces around for loops
...
...that had once been workarounds for compilers that did not yet support the
C++98 scoping rules for declarations in for-init-statements.
Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
2013-01-26 16:36:09 +01:00
5198c4a41f
Replace chained O(U)StringBuffer::append() with operator+
...
Change-Id: I0fcd70cff092c7d90b57b9af9dcec99f23750f1c
Signed-off-by: Luboš Luňák <l.lunak@suse.cz >
2012-12-18 17:26:54 +01:00
625e173aaf
OUString::replace() does not replace in-place
...
Change-Id: I5a1d713ee8e9c913adad57b7d8fb0597f96a2db4
2012-11-28 20:08:20 +02:00
1f9f8f4f40
loplugin: some log, indent and unused variable warnings
...
fix up some indents, remove some unused OUStrings and add some log areas
Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-13 20:34:54 +01:00
586895f8fa
loplugin: more unused OUString and misleading indentation
...
Change-Id: Ic21ca9e14520f4f16c2d665a07a79ee1a46ab91d
2012-10-11 21:16:27 +01:00
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