Commit Graph

14 Commits

Author SHA1 Message Date
Benjamin Ni
be729e7721 tdf#94269: Replace "n" prefix for bool variables with "b"
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-11-02 23:40:57 +01:00
Riccardo Magliocchetti
2c1bf30bda More iwyu suggested headers removal
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was
detrimental to loplugin:unreffun

Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
2014-11-18 10:32:40 +01: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
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
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
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
998bc94777 INTEGRATION: CWS changefileheader (1.6.38); FILE MERGED
2008/03/31 07:22:53 rt 1.6.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:08:55 +00:00
Oliver Bolte
6c96c8c9fd INTEGRATION: CWS pchfix02 (1.5.8); FILE MERGED
2006/09/01 17:19:22 kaib 1.5.8.1: #i68856# Added header markers and pch files
2006-09-17 02:37:08 +00:00
Jens-Heiner Rechtien
5dcedb0b3e INTEGRATION: CWS warnings01 (1.4.4); FILE MERGED
2006/04/20 08:10:10 sb 1.4.4.1: #i53898# Made code warning-free again after resync to SRC680m162.
2006-06-20 01:24:21 +00:00
Vladimir Glazounov
52206d14cf INTEGRATION: CWS jsc3 (1.3.16); FILE MERGED
2006/02/17 16:00:07 jsc 1.3.16.1: #i56247# refactoring and cosmetics
2006-03-15 08:14:19 +00:00
Rüdiger Timm
00deeed15e INTEGRATION: CWS ooo19126 (1.2.40); FILE MERGED
2005/09/05 17:28:01 rt 1.2.40.1: #i54170# Change license header: remove SISSL
2005-09-08 01:13:10 +00:00
Oliver Bolte
5ad3726087 INTEGRATION: CWS sb18 (1.1.2); FILE ADDED
2004/04/28 09:02:03 sb 1.1.2.1: #i21150# Factored out auxiliary dump functions.
2004-06-04 02:12:23 +00:00