summaryrefslogtreecommitdiff
path: root/idl
AgeCommit message (Collapse)AuthorFilesLines
2016-02-12rename Read()->ReadIf() and ReadDelimiter()->ReadIfDelimiter()Noel Grandin7-23/+23
Change-Id: I589dc0280c5bb587aa024b0f1dcf0b623d719aa4
2016-02-11fix dead code warning on WindowsNoel Grandin1-3/+1
Change-Id: I7b23442b34c7f2dcc2c44c33613fb66e6eb1b14b
2016-02-11use exceptions for error handling in .SDI parsingNoel Grandin12-194/+137
to simplify the normal control flow Change-Id: If325ec0507a51d8e2d3340fc5b628bb75a078a44
2016-02-11rename SeekEnd()->SeekToMax()Noel Grandin2-2/+2
Change-Id: I3274106d4459532145aaa9222df0e9d715cf59fc
2016-02-11simplify SvTokenStream handlingNoel Grandin5-29/+11
Change-Id: Ic8d8c7df54bd9debea3b9601d9c8d67b0412b5ab
2016-02-11GetToken never returns null, so use a referenceNoel Grandin9-129/+124
Change-Id: I0164e546b0ee0b40acc7b9253d3c0ecded97280c
2016-02-11ReadDelemiter->ReadDelimiterNoel Grandin3-5/+5
Change-Id: I311eb27e3d287f3ef409cb54f19a152793f940d9
2016-02-11improve the parsing loop for the module keywordNoel Grandin1-7/+1
Change-Id: I0931ae0edfb45c5d4c67f545a1a5e513c8210e88
2016-02-11create a new class SvIdlParserNoel Grandin6-65/+132
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 Grandin1-2/+1
Change-Id: I74595786754381fef8105e3acfeb0f693bdbea83
2016-02-11spellingNoel Grandin1-9/+9
Change-Id: Ic6464cd4d2c4fdb302f6337719ad937c0d3f8135
2016-02-11simplify some OStringBuffer codeNoel Grandin2-10/+4
Change-Id: Ic1b0e13a8d77154fa780f6804ee36b5a5d9c7334
2016-02-11simplify error handling codeNoel Grandin7-45/+21
Change-Id: I8f70d6bde7018d5b4455f95373f1b7d5dbc4d76e
2016-02-11rename Back2Delemitter->Back2DelimiterNoel Grandin3-4/+4
Change-Id: I8e4cf6fa936bc94db3f8a865731d00878354ad99
2016-02-11use WriteOString to reduce the code a littleNoel Grandin4-67/+64
Change-Id: I5378478500a18b2d7156b7047867bc53f6513b45
2016-02-09Remove excess newlinesChris Sherlock1-1/+0
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 Grandin4-20/+20
since that is a more accurate reflection of it's use Change-Id: Ic5933e5cdeefac7363975a5767be3ee5db99bd56
2016-02-09simplify SvMetaObjectMemberStackNoel Grandin4-22/+4
Change-Id: I7c1ba85fcb21925f5e912fa48207411e4fc1fbb4
2016-02-09simplify SvSlotElementNoel Grandin5-42/+33
Change-Id: I4699dca35c0197944df97005ff032e1d16139e5f
2016-02-09simplify SvClassElementNoel Grandin2-14/+14
no need for it to be ref-counted Change-Id: I663266c9f59930b1f5bc53f1f27b594dbbc08b46
2016-02-09unused template methodNoel Grandin1-4/+0
Change-Id: I4a91f42d2b370ca15958d01057e5e2a48d0342b3
2016-02-09remove some more dead code, found by LCOVNoel Grandin3-37/+5
Change-Id: I23404778d13b690fa2330f6db1a90d578b23468b
2016-02-09split MetaTypeType::Class into Interface and ShellNoel Grandin3-19/+13
Change-Id: Id405be797d516e3e608044a375c40b2138c89aa3
2016-02-08disambiguate the two GetType methodsNoel Grandin4-11/+11
Change-Id: I922af3a2ebe8cdaa6465542a5d6de365e1bc6dff
2016-02-08move isMethod/isVariable down from SvMetaAttribute to SvMetaSlotNoel Grandin4-22/+6
Change-Id: Ic13c61d6bd75d12e9dc5c75eaa75573dcb3b3b0b
2016-02-08simplify getMangleName()Noel Grandin4-15/+6
Change-Id: I811acbbb88d8d9639001d7b9af6b0d4a66a80656
2016-02-08SvString is a just thin wrapper around OStringNoel Grandin11-64/+49
eliminate it Change-Id: Icb91d25cc7bffb3060b9392f71d37e5a95844aa3
2016-02-08format IDL compiler headers a littleNoel Grandin8-100/+70
Change-Id: I54cb7a664908f8817958d4482a5adfdc6d2a0f3d
2016-02-08aMethod is more accurately an SvMetaSlotNoel Grandin1-1/+1
Change-Id: Iaa57a3f24f545c49a5af0fd0b634994ea3d7551e
2016-02-08Export attribute only applies to SvMetaSlot, so move it downNoel Grandin4-24/+24
Change-Id: I686fd2148d4cf03acbef892223c3ed2b1966e73a
2016-02-08ReadonlyDoc only applies to Slot'sNoel Grandin4-11/+11
so move it down from SvMetaAttribute to SvMetaSlot Change-Id: I3a433d9a1cee0a5a9f52b57c6cd16b16198dade1
2016-02-08cParserChar in SvMetaType is unusedNoel Grandin3-21/+15
Change-Id: Ie46b381a3d6005e5ce98f33146a6c38f671b8473
2016-02-08aBasicPostfix in SvMetaType is unusedNoel Grandin3-19/+15
Change-Id: Ic0c3fc2bb6664031eec649b36e2423a4d1b0ec6d
2016-02-08remove unused ModulePrefix in *.SDI filesNoel Grandin4-5/+0
Change-Id: I92bb724259b6fd59af3a14810744cf1537ae2428
2016-02-08remove unused HelpText attribute from *.sdi filesNoel Grandin6-29/+2
Change-Id: I21bcf66c552cd38eaae1bdc85626aa9bd1782ebd
2016-02-08remove unnecessary module GUIDs in *.sdi filesNoel Grandin2-15/+0
Change-Id: I78784abc1031027d69bbe31d150bc78c8bfbfcf4
2016-02-08aTypeList,aAttrList in SvMetaModule are unusedNoel Grandin2-8/+0
Change-Id: I545e55021f6e0791c80df64695faa86eb6e020ea
2016-02-08SvMetaReference currently serves no purposeNoel Grandin6-37/+5
Change-Id: I676e61fee201b1a2e7f66b541061de2b049bffa9
2016-02-07remove some dead code, found using LCOVNoel Grandin14-240/+42
Change-Id: Ibdca0a70722290bbb560726c88e9821c3ae0af14 Reviewed-on: https://gerrit.libreoffice.org/22151 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-07convert TYPE_ enum to scopedNoel Grandin4-29/+26
Change-Id: I514cf8591d8e7b3ff26bafba8fdbac2ad26249b8 Reviewed-on: https://gerrit.libreoffice.org/22150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-07TYPE_POINTER is unusedNoel Grandin1-1/+1
Change-Id: Iae50b8a1bfb6772e8362a6e61062b37bb50c701b Reviewed-on: https://gerrit.libreoffice.org/22149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-07remove CALL enum and associated code pathsNoel Grandin3-94/+3
not used Change-Id: Ia000014d48ac6da92b396c4aa7b736c8a6f27149 Reviewed-on: https://gerrit.libreoffice.org/22148 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-07convert SVTOKEN_ENUM to scoped enumNoel Grandin2-60/+40
Change-Id: Ibff607f988007728acbae96d51cbb30fd49848f6 Reviewed-on: https://gerrit.libreoffice.org/22147 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-07.SDI compiler: expand out some typedefsNoel Grandin13-91/+54
Change-Id: I898bc1d95b1d3394cae74776c0e7dcbaafa934e4 Reviewed-on: https://gerrit.libreoffice.org/22146 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-05remove unused Hidden/Description/UnoName from .SDI filesNoel Grandin8-36/+4
Change-Id: I9660690b29da411dcdf148007242ffa944957f78
2016-02-05remove unused typedef in .SDI filesNoel Grandin4-7/+2
Change-Id: Ib5459768c68d5eb5536116ba20d54f5a4ae06007
2016-02-05remove unused union from .SDI filesNoel Grandin5-11/+2
Change-Id: I673e5a020279e323cccf50d0ff3d74166ef61329
2016-02-05remove unused int/char/map/ItemName/AllConfig from .SDI filesNoel Grandin5-24/+0
Change-Id: Iaf2633d7591b705bd0e84a376e06a01c2ec22b9b
2016-02-05remove unused SlotId/Volatile from .SDI filesNoel Grandin5-22/+0
Change-Id: I29f039c2fec8433fa062c603b64afffa60e7b0d0
2016-02-05remove unused HelpContext/Name/UCHAR/USHORT from .SDI filesNoel Grandin5-24/+1
Change-Id: Ic837cfb952730f10d2669095134ab2eb10bd72e5