summaryrefslogtreecommitdiffstats
path: root/idlc
Commit message (Collapse)AuthorAgeFilesLines
* coverity#707935 Uninitialized scalar fieldCaolán McNamara2014-03-081-0/+1
| | | | Change-Id: I7c957419b72cc97dbec819c51acb521bcd716624
* idlc: sal_Bool -> boolStephan Bergmann2014-02-1730-128/+128
| | | | Change-Id: Ibeed903d73eb8b3fce7b8c6021c9107437a8c813
* Typo: atribute(s) -> attribute(s)Julien Nabet2014-02-061-1/+1
| | | | Change-Id: I5434402e372c4567b2c3f96f5c175618ba3e5cfb
* Fix spelling errrorTor Lillqvist2014-02-061-1/+1
| | | | Change-Id: Ie5fc19fa223942e31899408324beb2e15c1d7bef
* Remove UNOIDL "array" and "union" vaporware from idlcStephan Bergmann2014-01-3020-1323/+7
| | | | Change-Id: Iccd5a78b54620796cfde672388b70ad97d17b7a5
* bool improvementsStephan Bergmann2014-01-281-2/+2
| | | | Change-Id: I0ec9d6ed41eddbc0177c26755b621f404cfd4703
* coverity#440064 Logically dead codeCaolán McNamara2014-01-281-6/+2
| | | | Change-Id: I52c9e37ca4d3238b9018264b6542a9dcebca13f6
* coverity#440240 Dereference after null checkNorbert Thiebaud2014-01-251-1/+1
| | | | Change-Id: I1ca5e4d31ab203a0ddd5e98928f5046f5fffb485
* fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa2013-12-132-5/+1
| | | | | | | Change-Id: Ia6799c852eb95d496fbc8dcfdabde62dffc263a6 Reviewed-on: https://gerrit.libreoffice.org/7066 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Unwind occurrences of deprecated sal_sChar, sal_uCharStephan Bergmann2013-11-271-8/+8
| | | | Change-Id: I76be464200d486efef9c8a7e957c310c9adae3b8
* Duplicate base checking code already covers check for opt base != XInterfaceStephan Bergmann2013-11-261-0/+8
| | | | Change-Id: Icd47d87f93641a0b24a96a4be8d3d120f0405f2d
* Fix fn declaration parameter names to match fn definitionStephan Bergmann2013-11-251-1/+1
| | | | Change-Id: I733cd478caabc6337af9705a57ebbaeedfb92bb0
* Fix unoidl sourceprovider interface base and member checksStephan Bergmann2013-11-251-0/+62
| | | | | | ...and enable tests shared with idlc Change-Id: I422b16c9b2636835d276cc2085cb640073894c97
* Fix unoidl sourceprovider polystruct argument checksStephan Bergmann2013-11-221-0/+5
| | | | Change-Id: Ib7ee3188b87b9b4216214b65347e34970e1b92a5
* Fix unoidl sourceprovider "published" checksStephan Bergmann2013-11-221-0/+43
| | | | Change-Id: I93b9fcc2b20ed7a7c160a9ef3294b6e578678f53
* constant.tests idlc/unoidl diffs:Stephan Bergmann2013-11-221-3/+11
| | | | | | * byte only accepts singed literal values < 128 now Change-Id: If557b5212e349fe115948f72b5558fee338db659
* attributes.tests idlc/unoidl diffs:Stephan Bergmann2013-11-221-3/+3
| | | | | | | * global exception names no longer clash with local names * repeating the same exception in a raises spec is caught now Change-Id: I388aae4de59bddc1c69bf4c263297d0b92b47106
* Add exectest.pl OLD-/NEW-FAILURE for deliberate idlc/unoidl diffsStephan Bergmann2013-11-221-10/+10
| | | | Change-Id: I653522d8ebaac3329f368c102d14041c6b49d41d
* remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin2013-11-191-1/+1
| | | | | | This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
* remove unnecessary use of OUString constructorNoel Grandin2013-11-111-1/+1
| | | | Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
* Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2013-11-041-2/+2
| | | | | | This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
* Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2013-10-312-7/+3
| | | | | | | | | | | | | | | | | | | | | | This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
* windows: warning 4706 is disabled globally in com_MSC_defs.mkThomas Arnhold2013-10-281-1/+1
| | | | | | So there is no need to do this locally, too. Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
* convert code to use OUString::endsWithNoel Grandin2013-10-231-2/+2
| | | | | | | | | Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-221-1/+1
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* add mode lines to new files (and idls) since last runCaolán McNamara2013-09-2210-0/+25
| | | | Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
* bad search/replaceStephan Bergmann2013-09-201-1/+1
| | | | Change-Id: Ic14565414637a6d08aee94ad183dd852eb7875f0
* Use tempfile instead of stdin in exectest.plStephan Bergmann2013-09-201-21/+23
| | | | | | ...so it can easily be reused to test unoidl-write, too. Change-Id: I4992850b44faaa152bcf1d281f2787824d6ad036
* CID#705985 ensure umask for mkstempCaolán McNamara2013-09-121-0/+4
| | | | Change-Id: I861b85ac38a2881ff4b993047c1a15335308ba62
* CID#440614 use after freeCaolán McNamara2013-09-121-2/+2
| | | | | | a bit of guesswork here I admit Change-Id: I774da6f585e4b81a25660b7823d6bb150630f44f
* Minor clean upStephan Bergmann2013-09-041-2/+1
| | | | | | | Remove an odd {1} repeat count, and remove the "."{DIGIT}+ pattern that is already covered by the following {DIGIT}*"."{DIGIT}+ pattern. Change-Id: If99dfe10a5e37225355472bf4deceb34c0a92eb9
* Do not leave $$ uninitialized in case of errorStephan Bergmann2013-08-281-0/+1
| | | | Change-Id: Id28fb53a98ff164cd14f8f9dcb4ebee7a71bfd1e
* parser.y: untabify, remove trailing whitespace, mode linesStephan Bergmann2013-08-281-2120/+2123
| | | | Change-Id: Ief0109289c6dc70b51193fa5f4432efe2b48c3fb
* downcast of address which does not point to an object of type 'AstInterface'Stephan Bergmann2013-08-223-8/+8
| | | | | | (note: object is of type 'AstTypeDef'); Clang -fsanitize=undefined Change-Id: I1b11a7678f18557c8040af2118c1c0101913f086
* downcast of address which does not point to an object of type 'AstType'Stephan Bergmann2013-08-221-1/+1
| | | | | | (note: object is of type 'AstDeclaration'); Clang -fsanitize=undefined Change-Id: I08eef7d3e8b298abd16b0c6d72cfb72b75190cd5
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-212-11/+11
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* fdo#43460 connectivity,extensions,filter,idl,idlc: use isEmpty()Jelle van der Waa2013-06-182-2/+2
| | | | | | | Change-Id: I78ba286be5aa4d731f734e5eb16adb77c686aad9 Reviewed-on: https://gerrit.libreoffice.org/4325 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* fdo#60724 change spelling error REMOVEABLE -> REMOVABLE IIThomas Arnhold2013-05-297-9/+9
| | | | | Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* RHEL-5 baseline ver of flex doesn't have nounistdCaolán McNamara2013-05-231-1/+1
| | | | | | | | lets try this hack, if it fails revert and I'll just manually update the baseline with a newer flex than flex-2.5.4a-41.fc6 Change-Id: If644489e80fc4e4cdba97808af0fe4d544d08646
* Spelling "separate" (etc) correctly is hardTor Lillqvist2013-05-151-1/+1
|
* soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl2013-05-102-1/+1
| | | | Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-301-21/+4
|
* add external for unistd.hDavid Tardon2013-04-091-3/+4
| | | | Change-Id: I728b162e21a7a2c02cb76af110cc0a01a762fdbd
* fix logical-op-parenthesis warningPeter Foley2013-04-071-1/+1
| | | | Change-Id: Ib97f667c9acb644c3becb81f851ad8c7e4ff31ea
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-071-1/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0749-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
* Forbid old-style services/singletons inheriting new-style servicesStephan Bergmann2013-04-034-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
* -Wunused-macrosStephan Bergmann2013-03-272-10/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* remove external include guardsThomas Arnhold2013-03-252-48/+1
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann2013-03-251-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