summaryrefslogtreecommitdiff
path: root/idl
AgeCommit message (Collapse)Author
2016-06-06tools: rename SvStream::Read/Write to ReadBytes/WriteBytesMichael Stahl
Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-06-03loplugin:constantparamsNoel Grandin
Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02STREAM_STD_READ already includes StreamMode::NOCREATETakeshi Abe
Change-Id: Ib8c81056619a383cedc828b945c1802ff1ce42ca Reviewed-on: https://gerrit.libreoffice.org/25802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-30tdf#99589 tolower / toupper - dangerous to Turks ...apurvapriyadarshi
Converted toupper to toAsciiUpperCase Change-Id: I595e39bd00a15ede6fc9ea3da3c2a4b2a2322a82 Reviewed-on: https://gerrit.libreoffice.org/25566 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-05-26loplugin:unusedreturntypesNoel Grandin
and clean up the python script Change-Id: I0a7068153290fbbb60bfeb4c8bda1c24d514500f Reviewed-on: https://gerrit.libreoffice.org/25439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-18update unusedmethods plugin to deal with constructorsNoel Grandin
and fix the operator< implementations in some of the other plugins too. Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035 Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-28teach stylepolice plugin about ref-counted-pointer namingNoel Grandin
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-23loplugin:constantparam in idlNoel Grandin
Change-Id: I2fa4c74c9709d3a8495341f00d974ba960c18deb
2016-03-12Remove some unused include stdioJulien Nabet
Change-Id: Ifdb9d133237eecd3132dffb0f85c005beac169d2 Reviewed-on: https://gerrit.libreoffice.org/23174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-09loplugin:constantparam in idlNoel Grandin
Change-Id: Icb5e64f17d9472320a79363b1e926e2b4ab05273
2016-03-07loplugin:write only fieldsNoel Grandin
Change-Id: Ia0fb487c5590e096659b81f76c4dc543e184c59c
2016-02-23methods in .SDI files don't use attributesNoel Grandin
so simplify the parser and drop the square brackets Change-Id: I3bab5f5b14e57d0cd1ed1a383fe21968f97b243a
2016-02-23cid#1353438 Logically dead codeNoel Grandin
Change-Id: Ib444a1941e2bec03394c4e8eb7a5a34adbe3f4f6
2016-02-23small cleanups in .SDI parserNoel Grandin
Change-Id: Ic7122e3ecfe2914e27945fd508199f7ec1d6bdab
2016-02-23new loplugin: commaoperatorNoel Grandin
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
2016-02-22loplugin:write only fieldsNoel Grandin
Change-Id: I44f249a17d0a510ec63a488b656d57a1a392f821
2016-02-17cleanup the Read*() methods in SvIdlParserNoel Grandin
to be consistent about when they move to the next token Change-Id: I8f5b1eab497fb4a7cb2a2267e815668c3d363de7
2016-02-17move some more slot parsing to SvIdlParserNoel Grandin
Change-Id: I186e80ed0446585aceaf4d25f32ecca7e8ed396c
2016-02-17move parsing of method ags into SvIdlParserNoel Grandin
Change-Id: I2fb969529c0670ae93c3cba69bf207d2c87887dc
2016-02-16tighten up the attribute parsing, and drop some unused slotsNoel Grandin
Change-Id: I6f2ff99c919851b21ce120c40286c133bf65c778
2016-02-16parse shell/interface entries in SvIdlParserNoel Grandin
Change-Id: Ief68b26be0a0890ffdfa02a5904ba9d2cb364c65
2016-02-15cid#1352218 and cid#1352216 in .SDI parserNoel Grandin
Change-Id: I273d80b4e9fb45955c5496cf5559df5dd4b057b0
2016-02-15move interface/shell parsing to SvIdlParserNoel Grandin
Change-Id: I95cce21c6c9beb5637dd4f4a769f455eaacbec2b
2016-02-15move item and struct parsing into SvIdlParserNoel Grandin
Change-Id: I1ba88bca82b5b251ed34330ab5e0cb8bd88a5815
2016-02-15move include parsing into own methodNoel Grandin
Change-Id: Id3ce7ce651f541106cf60116f717e6ffd805db24
2016-02-12missing includeStephan Bergmann
Change-Id: If579fa4cb615a5d7d6ca5c5a864393324940582f
2016-02-12move parsing of enum into SvIdlParserNoel Grandin
Change-Id: I89eef20d62f92f7345750c48c34c9f3b7bca287e
2016-02-12move module parsing into SvIdlParser classNoel Grandin
Change-Id: I99937935a1d41fa5b0ff6c2f5e92bde3b4847e9f
2016-02-12move parsing of "import" into own methodNoel Grandin
Change-Id: Ib3b3fb6fea52b846ada6fb92478ae8f9f769a665
2016-02-12bIsModified in SvMetaModule is unusedNoel Grandin
Change-Id: Idc6effddce9923f0d48a111b2a04458efc11ebf9
2016-02-12rename Read()->ReadIf() and ReadDelimiter()->ReadIfDelimiter()Noel Grandin
Change-Id: I589dc0280c5bb587aa024b0f1dcf0b623d719aa4
2016-02-11fix dead code warning on WindowsNoel Grandin
Change-Id: I7b23442b34c7f2dcc2c44c33613fb66e6eb1b14b
2016-02-11use exceptions for error handling in .SDI parsingNoel Grandin
to simplify the normal control flow Change-Id: If325ec0507a51d8e2d3340fc5b628bb75a078a44
2016-02-11rename SeekEnd()->SeekToMax()Noel Grandin
Change-Id: I3274106d4459532145aaa9222df0e9d715cf59fc
2016-02-11simplify SvTokenStream handlingNoel Grandin
Change-Id: Ic8d8c7df54bd9debea3b9601d9c8d67b0412b5ab
2016-02-11GetToken never returns null, so use a referenceNoel Grandin
Change-Id: I0164e546b0ee0b40acc7b9253d3c0ecded97280c
2016-02-11ReadDelemiter->ReadDelimiterNoel Grandin
Change-Id: I311eb27e3d287f3ef409cb54f19a152793f940d9
2016-02-11improve the parsing loop for the module keywordNoel Grandin
Change-Id: I0931ae0edfb45c5d4c67f545a1a5e513c8210e88
2016-02-11create a new class SvIdlParserNoel Grandin
and start the process of moving the parsing code to one central file Change-Id: If6d8def37ec8c8415c22d39f9d8b7a09ec423873
2016-02-11we don't use the optional "(" in import statements in .SDI filesNoel Grandin
Change-Id: I74595786754381fef8105e3acfeb0f693bdbea83
2016-02-11spellingNoel Grandin
Change-Id: Ic6464cd4d2c4fdb302f6337719ad937c0d3f8135
2016-02-11simplify some OStringBuffer codeNoel Grandin
Change-Id: Ic1b0e13a8d77154fa780f6804ee36b5a5d9c7334
2016-02-11simplify error handling codeNoel Grandin
Change-Id: I8f70d6bde7018d5b4455f95373f1b7d5dbc4d76e
2016-02-11rename Back2Delemitter->Back2DelimiterNoel Grandin
Change-Id: I8e4cf6fa936bc94db3f8a865731d00878354ad99
2016-02-11use WriteOString to reduce the code a littleNoel Grandin
Change-Id: I5378478500a18b2d7156b7047867bc53f6513b45
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09rename aAttrList to aSlotListNoel Grandin
since that is a more accurate reflection of it's use Change-Id: Ic5933e5cdeefac7363975a5767be3ee5db99bd56
2016-02-09simplify SvMetaObjectMemberStackNoel Grandin
Change-Id: I7c1ba85fcb21925f5e912fa48207411e4fc1fbb4
2016-02-09simplify SvSlotElementNoel Grandin
Change-Id: I4699dca35c0197944df97005ff032e1d16139e5f
2016-02-09simplify SvClassElementNoel Grandin
no need for it to be ref-counted Change-Id: I663266c9f59930b1f5bc53f1f27b594dbbc08b46