summaryrefslogtreecommitdiff
path: root/idlc
AgeCommit message (Collapse)AuthorFilesLines
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist1-1/+1
2013-05-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl2-1/+1
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-21/+4
2013-04-09add external for unistd.hDavid Tardon1-3/+4
Change-Id: I728b162e21a7a2c02cb76af110cc0a01a762fdbd
2013-04-07fix logical-op-parenthesis warningPeter Foley1-1/+1
Change-Id: Ib97f667c9acb644c3becb81f851ad8c7e4ff31ea
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák1-1/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák49-186/+184
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-03Forbid old-style services/singletons inheriting new-style servicesStephan Bergmann4-1/+44
...does not make sense. Adapted some old-style services accordingly, where the inherited service had been changed to new-style after the fact. Change-Id: I5f3e4ddf99160778a319062a6c84f83529ff177b
2013-03-27-Wunused-macrosStephan Bergmann2-10/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove external include guardsThomas Arnhold2-48/+1
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann1-3/+3
...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-25deleting NULL is safeTakeshi Abe1-4/+2
Change-Id: I3748d0034b2c8e9d9122ad2a9001763eb1265e1d
2013-03-23coverity#704237 Logically dead codeJulien Nabet1-2/+0
Change-Id: I7a5087b2ac89ee2839f0e0d8450efc7fca1dd68b
2013-03-22coverity#440066 Logically dead codeJulien Nabet1-6/+0
Change-Id: I54d1b22859bd4f0a1e68ce79ed2ce4d7fbeb5107
2013-03-22coverity#440065 Logically dead codeJulien Nabet1-3/+0
Change-Id: I6b735ca48bd996c71ad6c6103e68af2cd2890d98
2013-03-19further OUString cleanupThomas Arnhold1-2/+2
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold1-2/+2
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold3-6/+6
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-13more subtle dependencies for cross-compilationMatúš Kukan1-3/+11
Now we build only what we really need for 'build' platform - there is new build-tools make target. The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk. Also similar is done to some extent for 'host' platform using gb_Module_add_targets_for_build which is ignored for 'host'. Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
2013-03-07fix spellingNoel Grandin1-1/+1
Change-Id: I52eb4153c3396be88b72cab3b7899f0c6ab18103
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck2-3/+3
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-25flex output needs soltools' unistd.h on WNTStephan Bergmann1-0/+2
Change-Id: Id7b5e421f8ff9d6db923a1fb01b1071f75a6842d
2013-02-21Fix type unkown -> unknownJulien Nabet2-2/+2
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
2013-02-13Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
2013-02-12Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-01-30UNO constants cannot be of CHAR typeStephan Bergmann1-1/+0
Change-Id: I13f2f1d38b99a5eb1d10f40c524894e37a47f7e2
2013-01-29Clarify that constant groups cannot be typedef'edStephan Bergmann1-0/+5
Change-Id: Ie169ac426d6de107025023dae987cbce6179007f
2013-01-29Clarify that bound attribute can specify getter/setter raises listsStephan Bergmann1-0/+10
Change-Id: I49ffee7c1e65d8e79865e5b596d18111e0c64279
2013-01-29Clarify that attribute setter raises list must not be emptyStephan Bergmann1-0/+8
Change-Id: Ic2d8b1e6f9dbaeee3e3ad9280236abd503de3ffd
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2-2/+2
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-0/+2
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26idlc: silence annoying test spew on successMichael Stahl1-2/+2
Change-Id: I7c9ff31a8f4578afdb9056d6d204bd688c3c3473
2013-01-26Remove redundant braces around for loopsStephan Bergmann1-3/+3
...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-22API CHANGE: Remove support for individual constants from UNOIDLStephan Bergmann3-125/+52
...i.e., "const X = N;" declarations outside of constant groups. This appears to be unused in practice, and removing it will allow to simplify future code related to UNO type information. This removes the definition of "constant-decl", and the branch mentioning "constant-decl" from the definition of "declaration" at <http://wiki.openoffice.org/w/index.php?title=Documentation/DevGuide/AppendixD/UNOIDL_Syntax_Specification&oldid=137490>. Change-Id: I218626f02ebd46ee438bf5453ca1510c9ed8e5f0
2013-01-22Adapt idlc/test/parser/ to gbuildStephan Bergmann3-46/+75
Change-Id: If57ab37dd4d062e3f6bbf5b75a0cde2524b635bd
2012-12-02unlink() doesn't work that well with URLsLuboš Luňák1-1/+1
Change-Id: I1d0cbd8b8cbbd3ea5c73d0cea6d9e354b1740c7c
2012-11-30[oneway] removal cleanupStephan Bergmann4-12/+0
Change-Id: I1d60bb4042753bd18475166054ad57dceb2fc97d
2012-11-30API CHANGE remove [oneway] method attributesThorsten Behrens8-64/+16
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 Bergmann3-7/+14
...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-11-21use proper URL for UCPP in Executable_idlc.mkRene Engelhard1-1/+1
Change-Id: I882abb339bb160f74cfd00c1c005585d4478ac8d
2012-09-27add --with-system-ucppRene Engelhard3-2/+12
Change-Id: Ic322d1be23033049fa3b5cd60c00479bb6cae3ca
2012-09-26Fix bool -> byte coercion logicStephan Bergmann1-1/+1
Change-Id: Iab6dba9484fb5ddb8a8d4efcd46d7b9c8d1acca8
2012-09-26sal_Bool -> boolNoel Grandin3-14/+14
Change-Id: I4fd6d247fdc0333ccdace4ebfa947c8d02e559bc
2012-09-05idlc: clear include file set in Idlc::reset():Michael Stahl1-0/+2
Resetting the set between files reduces the size of the generated offapi.d from 41M to 4.5M. Change-Id: I221e6dfb75cbadb5d970f18eccfc85ffdb83ce6c
2012-08-07No point with these executables for non-desktop OSesTor Lillqvist1-0/+3
Change-Id: If2e086cf2783c187f2cdb479608aa91561e0d674
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET1-1/+1
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-22fix typoDavid Tardon1-1/+1
Change-Id: I663127446e7d9a38693ce46a7a42b5bec8cb8d51
2012-07-20idlc: do not use -I., deps need absolute pathsMichael Stahl1-1/+0
(regression from 63c508e3e86a140e35161c45d2be97779746f6cb) Change-Id: I03ae2cf6fdb229e26d33ef4611a1495590f90df7