Commit Graph

37 Commits

Author SHA1 Message Date
Eike Rathke
7d0f6f671e added FIXME-BCP47 comment
Change-Id: I202c53a094ac7ddcbd1fa0d2367058aba56820ed
2013-07-11 19:15:52 +02:00
Jelle van der Waa
84f1f1d149 fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()
Change-Id: I6e35b91092239275694eec3666b076f7ff7e54f6
Reviewed-on: https://gerrit.libreoffice.org/4335
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-06-18 17:33:46 +00:00
Stephan Bergmann
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
Stephan Bergmann
30a7c6ba6b WIP: Experimental new binary type.rdb format
Make uno-skeletonmaker work on top of unoidl/ instead of registry/.

These changes have only been tested so far rather lightly.  Basic
uno-skeletonmaker still works, but more thorough testing of the various input
flags is needed.

Change-Id: Id7f3aee863a10f8c649325db2d6f34a4057f70ff
2013-04-16 13:52:29 +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
Stephan Bergmann
bb1f0c667f Clean up codemaker/typemanager.hxx
Change-Id: I650efd6780070410eaf34993dd41ed1b8ada7c9a
2013-03-27 09:36:54 +01:00
Thorsten Behrens
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Miklos Vajna
26364f4fd3 deduplicate OString std::basic_ostream operators
I wanted to add one, based on OUString one, and Stephan on IRC agreed
it's a good idea. Then it turned out we already had it in sal unit
tests, sdext and unodevtools as well. Get rid of all these, and have a
single implementation in string.hxx, so it can be used everywhere.

Change-Id: Ibb820f20a138d055fd87036253c627fb862a31fe
2012-11-10 10:49:31 +01:00
Michael Meeks
ec54c0c45f re-base on ALv2 code. 2012-07-03 13:10:11 +01:00
Michael Stahl
9af0eb7e99 skeletonmaker: add back \" in string literal
Seems accidentally removed in ea489b3570.

Change-Id: I7c4be5c41033ca8d4f66557efb30d17f8527b4a8
2012-06-07 15:17:41 +02:00
Norbert Thiebaud
ea489b3570 targeted string re-work
Change-Id: Ia2115e70df8f64eb0dade6beb33ee64c358af767
2012-06-02 17:57:16 -05:00
Stephan Bergmann
6cd581f240 Code clean up. 2012-01-20 12:14:45 +01:00
Olivier Hallot
55b6485978 Fix for fdo43460 Part XLI getLength() to isEmpty()
Part XLI
Modules
ucbhelper, unodevtools
2012-01-19 22:07:58 -02:00
Takeshi Abe
ff580eb39b catch exception by constant reference 2012-01-08 03:35:43 +09:00
Takeshi Abe
e4ce7225dd catch exception by constant reference 2012-01-07 15:51:31 +09:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Matúš Kukan
b50137566f Remove component_getImplementationEnvironment 2011-07-12 16:45:29 +02:00
Julien Nabet
3c60b4698b Easyhack: Add visibility markup to all component_get* functions 2011-04-21 15:14:11 +02:00
Fridrich Štrba
1efeac6ea9 std::hash -> boost::hash 2011-02-06 15:23:06 +01:00
Fridrich Štrba
639825975e move sdk repo to boost unordered containters 2011-02-05 21:56:00 +01:00
Caolán McNamara
87d83f4870 cppcheck: prefer prefix variant 2010-12-24 13:27:55 +00:00
Gert Faller
1d922012be RTL_CONSTASCII_USTRINGPARAM in sdk 2 2010-11-27 09:28:39 +01:00
Sebastian Spaeth
e9a59da46a 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-13 10:58:04 +02:00
Jens-Heiner Rechtien
1296914c84 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
a96733513a INTEGRATION: CWS jsc21 (1.10.2); FILE MERGED
2008/04/23 09:54:33 jsc 1.10.2.2: RESYNC: (1.10-1.11); FILE MERGED
2008/02/13 07:21:34 jsc 1.10.2.1: #i86052# move destructor to private
2008-07-11 13:51:46 +00:00
Rüdiger Timm
a7efc0e28e INTEGRATION: CWS changefileheader (1.10.4); FILE MERGED
2008/03/28 15:51:23 rt 1.10.4.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:31:47 +00:00
Vladimir Glazounov
7e57c0d911 INTEGRATION: CWS jsc20 (1.9.22); FILE MERGED
2008/01/04 14:30:20 jsc 1.9.22.1: #i82699# changed copy constructor and assignment operator, move destructor to public
2008-01-28 14:48:17 +00:00
Ivo Hinkelmann
115ed8f6f0 INTEGRATION: CWS jsc16 (1.8.14); FILE MERGED
2006/12/08 16:03:08 jsc 1.8.14.1: #i69760# integrate simple addon support
2006-12-20 11:43:16 +00:00
Ivo Hinkelmann
ef93b3b37d INTEGRATION: CWS jsc12 (1.7.4); FILE MERGED
2006/07/31 14:53:23 jsc 1.7.4.1: #i67879# simplify calc add-in skeleton
2006-08-01 15:24:24 +00:00
Oliver Bolte
de79507c39 INTEGRATION: CWS jsc8 (1.5.2); FILE MERGED
2006/07/07 14:57:33 jsc 1.5.2.4: #i66419# correct cfg package
2006/07/07 09:48:30 jsc 1.5.2.3: RESYNC: (1.5-1.6); FILE MERGED
2006/06/30 12:57:56 jsc 1.5.2.2: #i66419# adapt config node name
2006/06/23 06:52:25 jsc 1.5.2.1: #i66419# ensure to select correct addin service
2006-07-13 10:56:39 +00:00
Jens-Heiner Rechtien
5960b3956b INTEGRATION: CWS warnings01 (1.3.2); FILE MERGED
2006/04/20 14:25:55 sb 1.3.2.4: #i53898# Made code warning-free again after resync to SRC680m162.
2006/04/07 20:04:14 sb 1.3.2.3: RESYNC: (1.4-1.5); FILE MERGED
2006/01/25 20:44:02 sb 1.3.2.2: RESYNC: (1.3-1.4); FILE MERGED
2005/11/09 11:51:19 pl 1.3.2.1: #i53898# removed warnings
2006-06-19 23:50:10 +00:00
Vladimir Glazounov
db4b02eea5 INTEGRATION: CWS jsc3 (1.4.2); FILE MERGED
2006/03/01 12:53:51 jsc 1.4.2.4: #i56247# adadapt comment
2006/03/01 12:34:12 jsc 1.4.2.3: #i56247# adadapt string construction for non literals
2006/02/17 16:01:56 jsc 1.4.2.2: #i56247# insert new command for calc addins
2006/01/20 13:14:39 jsc 1.4.2.1: #i53950# special work for calc add-ins
2006-03-15 08:18:02 +00:00
Jens-Heiner Rechtien
0ac9e7f0d1 INTEGRATION: CWS jsc2 (1.3.4); FILE MERGED
2005/12/15 16:47:56 jsc 1.3.4.1: #i58329# prefix namespace rtl and cppu
2005-12-28 17:01:27 +00:00
Juergen Schmidt
b8f16352cf #i52208# adapt BaseMutex member from m_mutex to m_aMutex 2005-10-21 12:52:35 +00:00
Juergen Schmidt
98dc77900b #i52208# integrate new license header 2005-09-09 12:50:40 +00:00
Juergen Schmidt
28193b4187 #52208# new 2005-08-23 07:31:46 +00:00