summaryrefslogtreecommitdiff
path: root/idlc/source/idlc.cxx
AgeCommit message (Collapse)Author
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ic42387288c96436915956ede2eb510b9c3fbc49b
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin
Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-07create clang plugin to warn about C-style castsNoel Grandin
We don't like C-style casts in our nice C++ code Change-Id: I94e7ec90de9275cd6e20c4146d4f3a74bed93c9d Reviewed-on: https://gerrit.libreoffice.org/10367 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-17idlc: sal_Bool -> boolStephan Bergmann
Change-Id: Ibeed903d73eb8b3fce7b8c6021c9107437a8c813
2014-01-30Remove UNOIDL "array" and "union" vaporware from idlcStephan Bergmann
Change-Id: Iccd5a78b54620796cfde672388b70ad97d17b7a5
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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-02-12Some cppcheck cleaningJulien Nabet
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2012-11-30API CHANGE remove [oneway] method attributesThorsten Behrens
Remove non-functional and broken [oneway] attributes from all idl files. Change idl compiler to no longer digest such idl. Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-23Adding SAL_DEPRECATED_INTERNAL to an implementation function is pointlessStephan Bergmann
...as there are typically no direct calls to it anyway. What is apparently needed is to decorate the cppumaker-generated headers instead: * cppumaker obtains deprecation-information from the documentation strings in .rdb files. As these are normally generated by idlc without documentation included (no -C), idlc got changed to nevertheless contain documentation consisting of just "@deprecated" in this case, to allow to easily tunnel this information to cppumaker always. * The mechanism of parsing for "@deprecated" in documentation strings is somewhat crude, of course. * For now, cppumaker only decorates C++ functions that correspond to UNOIDL interface attributes and methods. More should be possible (but, e.g., being able to decorate a complete C++ class corresponding to a deprecated UNOIDL interface type depends on whether all platforms would accept SAL_DEPRECATED_INTERNAL at the same position in a C++ class declaration. * This could also be extended to other languages than C++/cppumaker. * Always using SAL_DEPRECATED_INERNAL instead of SAL_DEPRECATED for decoration is to keep things simple and our codebase working. Improvements are possible here, too, of course. Change-Id: Ia2917892f780d477652e4cd9f286588a6898c3f5
2012-09-05idlc: clear include file set in Idlc::reset():Michael Stahl
Resetting the set between files reduces the size of the generated offapi.d from 41M to 4.5M. Change-Id: I221e6dfb75cbadb5d970f18eccfc85ffdb83ce6c
2012-07-18re-base on ALv2 code. Includes:Michael Meeks
118568: switch to using ucpp Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-04-14idlc: make dependencies: handle removed include files:Michael Stahl
Write dummy targets for included files, so the incremental build does not break with "No rule to make target" if the included file is removed.
2012-01-14idlc: new parameter -M: write GNU make dependenciesMichael Stahl
2011-11-27remove include of pch header from idlcNorbert Thiebaud
2010-11-09Fixed i#81780 for good, even on Macos XCédric Bosdonnat
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
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-09-21Revert "idlc-error-offset.diff: Add character offset for idlc errors"Thorsten Behrens
Breaks bison on OSX. This reverts commit 55c5db853fc0d96179874b4c01dba2774ecf5cd1. Notes: split repo tag: ure_OOO_BUILD_3_2_99_0_PRE
2010-09-14idlc-error-offset.diff: Add character offset for idlc errorsCédric Bosdonnat
i#81780
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-11INTEGRATION: CWS changefileheader (1.11.40); FILE MERGEDRüdiger Timm
2008/04/01 12:31:29 thb 1.11.40.2: #i85898# Stripping all external header guards 2008/03/31 07:23:51 rt 1.11.40.1: #i87441# Change license header to LPGL v3.
2007-01-25INTEGRATION: CWS jsc17 (1.10.12); FILE MERGEDOliver Bolte
2007/01/22 15:51:18 jsc 1.10.12.1: #i73482# flag predefined types correctly
2006-11-06INTEGRATION: CWS jsc14 (1.9.8); FILE MERGEDKurt Zenker
2006/10/25 14:24:07 jsc 1.9.8.3: #i69727# initialze m_published member 2006/10/25 13:52:16 jsc 1.9.8.2: #69727# remove double member check for predefined XInterface ops 2006/10/23 14:45:38 jsc 1.9.8.1: #69727# predefine com::sun::star::uno::XInterface
2006-09-17INTEGRATION: CWS pchfix02 (1.8.8); FILE MERGEDOliver Bolte
2006/09/01 17:31:14 kaib 1.8.8.1: #i68856# Added header markers and pch files
2006-06-20INTEGRATION: CWS warnings01 (1.5.30); FILE MERGEDJens-Heiner Rechtien
2006/05/24 00:07:38 sb 1.5.30.3: RESYNC: (1.6-1.7); FILE MERGED 2005/09/23 00:02:54 sb 1.5.30.2: RESYNC: (1.5-1.6); FILE MERGED 2005/08/29 14:14:25 sb 1.5.30.1: #i53898# Made code warning-free.
2006-04-19INTEGRATION: CWS sb49 (1.6.18); FILE MERGEDJens-Heiner Rechtien
2006/03/15 16:21:32 sb 1.6.18.1: #i62098# Added check that no two service ctors have the same signature; along the way, added some helper functions and some missing const qualifiers.
2005-09-07INTEGRATION: CWS ooo19126 (1.5.32); FILE MERGEDRüdiger Timm
2005/09/05 17:39:41 rt 1.5.32.1: #i54170# Change license header: remove SISSL
2004-06-03INTEGRATION: CWS sb18 (1.4.4); FILE MERGEDOliver Bolte
2004/04/08 14:37:17 sb 1.4.4.1: #i21150# Fixed UNOIDL typedef support; initial support for polymorphic struct types.
2004-03-30INTEGRATION: CWS sb14 (1.3.10); FILE MERGEDRüdiger Timm
2004/03/05 08:35:20 sb 1.3.10.1: #i21150# Support for rest parameters; clean up.
2003-10-20INTEGRATION: CWS sdk08 (1.2.70); FILE MERGEDOliver Bolte
2003/09/16 13:42:41 jsc 1.2.70.1: #111025# warning support
2001-05-18#87233# insert singletonJuergen Schmidt
2001-03-15newJuergen Schmidt