Commit Graph

30 Commits

Author SHA1 Message Date
Stephan Bergmann
07d3807e99 codemaker: sal_Bool -> bool
Change-Id: I2cacac2aa7e48b3b9d8d060137d5c6d6f1d06b3f
2014-02-17 17:55:17 +01:00
Caolán McNamara
f5bcc7d91c coverity#440030 Logically dead code
Change-Id: I77428c6cf1f79dcc0e2c5e1d52f9b4b8c88130e3
2014-01-28 11:29:15 +00:00
Caolán McNamara
944a086d92 if there is one typo, its guaranteed to duplicated somewhere
Change-Id: Ia81069afa47fa5790b973247c68bead7de87d718
2013-12-17 10:26:21 +00:00
Stephan Bergmann
a80fb45fe4 Revert "WIP: add cppumaker -U to directly read from .idl files"
This reverts commit c4113906d7, which is not
necessary after all with recent "Hook SourceProvider into unoidl::loadProvider."
2013-09-16 13:29:49 +02:00
Stephan Bergmann
c4113906d7 WIP: add cppumaker -U to directly read from .idl files
Change-Id: I420847515b6b691ae81a249a8820cf9a3d132372
2013-09-12 17:45:12 +02:00
Stephan Bergmann
54dd4ae0dd Add cppumaker -nD "no dependent types are generated"
...just like javamaker.

Change-Id: I7634a65a948ca7abdb7ad75d0aeca8becb38ab87
2013-09-12 15:28:11 +02:00
Stephan Bergmann
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 ba044b1e96
  "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
Luboš Luňák
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
Caolán McNamara
fe347327a4 loplugin: unused aName string and whacky indent
Change-Id: I3febbc1618ca86f19c851a8eea313327a9c0a96c
2012-10-26 12:41:37 +01:00
Michael Meeks
c91e2cae54 re-base on ALv2 code. 2012-06-12 22:24:54 +01:00
Norbert Thiebaud
d8ed87481c remove include of pch header in codemaker 2011-11-27 12:59:38 -06:00
Jan Holesovsky
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
Julien Nabet
933e22880b Remove "using namespace ::rtl" 2011-03-02 21:53:12 +01:00
Juergen Schmidt
228e4d2915 jsc340: i114847: fix name 2011-02-24 10:51:05 +01: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
Juergen Schmidt
f3de0f63df jsc340: i14847: clean up cmdline help fo devtools 2010-10-01 14:20:45 +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
b60a1965cc INTEGRATION: CWS changefileheader (1.12.38); FILE MERGED
2008/03/31 07:22:53 rt 1.12.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:07:32 +00:00
Oliver Bolte
e15eba513c INTEGRATION: CWS pchfix02 (1.11.8); FILE MERGED
2006/09/01 17:19:22 kaib 1.11.8.1: #i68856# Added header markers and pch files
2006-09-17 02:36:38 +00:00
Jens-Heiner Rechtien
dada37c989 INTEGRATION: CWS warnings01 (1.8.48); FILE MERGED
2006/04/07 20:38:39 sb 1.8.48.3: RESYNC: (1.9-1.10); FILE MERGED
2005/09/22 22:24:25 sb 1.8.48.2: RESYNC: (1.8-1.9); FILE MERGED
2005/09/05 13:32:25 sb 1.8.48.1: #i53898# Made code warning-free.
2006-06-20 01:23:45 +00:00
Vladimir Glazounov
32a8093d04 INTEGRATION: CWS jsc3 (1.9.14); FILE MERGED
2006/03/03 11:25:53 jsc 1.9.14.2: #i60691# adapt command line help for -L and -C
2006/01/20 13:02:21 jsc 1.9.14.1: #i56247# unify include guards
2006-03-15 08:13:03 +00:00
Rüdiger Timm
ddd56b83c3 INTEGRATION: CWS ooo19126 (1.8.46); FILE MERGED
2005/09/05 17:28:00 rt 1.8.46.1: #i54170# Change license header: remove SISSL
2005-09-08 01:11:54 +00:00
Sander Vesik
cd8bfb2a69 INTEGRATION: CWS ooo20040329 (1.7.70); FILE MERGED
2004/03/17 09:29:13 waratah 1.7.70.1: #i1858# remove i statement that does nothing
2004-04-21 12:53:08 +00:00
Juergen Schmidt
28b696f147 #105422# special work for command file 2002-11-21 09:49:33 +00:00
Juergen Schmidt
a634061cb9 #105422# using osl_getCommandLineArgs for rdb input files 2002-11-20 15:20:29 +00:00
Daniel Boelzle
73d9da9960 #101918# supporting -X option now 2002-07-31 11:46:45 +00:00
Jens-Heiner Rechtien
ba4c56c1e1 #65293#: include <string.h> 2002-02-21 10:35:11 +00:00
Juergen Schmidt
fe7204a7d6 change error output 2001-04-11 07:30:40 +00:00
Juergen Schmidt
eb976c7785 remove option -CS 2000-11-06 14:42:14 +00:00
Jens-Heiner Rechtien
b525a3115f initial import 2000-09-18 14:29:57 +00:00