summaryrefslogtreecommitdiff
path: root/source4/build/pidl/eparser.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2222: Generate correct function prototypes for unions marked as public.Tim Potter1-1/+1
(This used to be commit 04de3edbab106eec040c442eedb5bb3cfcfec778)
2007-10-10r2221: Experiment with extra properties for telling the ethereal parser whatTim Potter1-7/+13
to do. There is a patch to the grammar and idl files for this but I won't commit that just yet. (This used to be commit 4e155b966c6027daa34166c7daf30cbff96ff679)
2007-10-10r2183: Tidy up naming of ethereal fields. The field names are taken from theTim Potter1-9/+20
structure elements with underscores replaced with spaces and words capitalised. Fix small buglet where we confuse the name of the interface with the name of the idl file. Just discovered security descriptors don't display property anymore. )-: (This used to be commit a6f830cfecee9ec256924aa9df0cb1503b2072ab)
2007-10-10r1826: Implement some stub functions: ndr_pull_{save,restore,set_offset}()Tim Potter1-1/+1
Implement ndr_pull_relative() Call ndr_pull_uintX() for ndr_pull_intX() Generate warnings for unimplemented functions pulling NTTIME and HYPER_T. Implement ndr_pull_dom_sid2() We now dissect a lot more of the samr torture test without errors. (This used to be commit 197fb3a264536ee84d4b02a8a349c6b21e91b1f5)
2007-10-10r1815: Update parser for recent changes to perl parser.Tim Potter1-2/+1
(This used to be commit 1d0bde1c77f511a3de5815c2d0e5319c74daf18a)
2007-10-10r1767: Checkin of workarea. Sorry Jelmer but this overwrites some of your ↵Tim Potter1-338/+346
changes which I will have to merge in later on. This latest version of eparser tries to stick more closely to the original parser.pm. (This used to be commit 456a4d1d72807da037417073f346451421638c2f)
2007-10-10r1736: - Pidl updates:Jelmer Vernooij1-59/+45
- Support for "object oriented" interfaces in pidl - Support for inherited interfaces in pidl - Simplification of the support for properties on an interface - Start on dcom rpc torture tests (This used to be commit 45c3d0036b8510102816f9cdff9210098259cc5f)
2007-10-10r1703: - Lots of RPC updates, adding new pipes and protocols.Jelmer Vernooij1-19/+24
- More updates/fixes to the ethereal parser generator (This used to be commit 547f860285b117e291bf3dbaca0707dc268b214e)
2007-10-10r1701: Bugfixes to Tim's ethereal parser generatorJelmer Vernooij1-11/+13
(This used to be commit 8cd33b6cce6aaf8e819001d52bc77659b4116be9)
2007-10-10r1595: Always use a loop variable named $e when iterating over lists ofTim Potter1-6/+6
elements. (This used to be commit daf2aea67cbfa2cda1fb3da8862b152c66d9573f)
2007-10-10r1594: Remove some array checks that we can't do because we don't store stateTim Potter1-33/+11
between scalar and buffer passes. Fix array handling - most of the samr queryuserinfo calls now parse properly! (This used to be commit 10e3ba03df500ecbb24a70fb9a59c80ac64608da)
2007-10-10r1592: Fix up subtrees for non-scalar types instead of hardcoding module ↵Tim Potter1-17/+37
subtree. Arrays currently broken though. )-: (This used to be commit 8fad205c51d270cdf7f84a8cec6ebea7ccf4cead)
2007-10-10r1586: Finally, a technique for putting buffers in scalars in the sameTim Potter1-77/+32
protocol tree that actually works. Instead of trying really hard to do this in code, just remember a list of strings and subtrees for every tree. (This does require the addition of a void *user_data field to ethereal's proto_node structure). (This used to be commit 5bc61162602f84c8a3a0b22c74c69318b92e087a)
2007-10-10r1540: - Remove return statements when a parse error is detected as etherealTim Potter1-33/+70
will do this for us. - Fix a format string error - Use subtrees for scalar and buffer elements - Add subtree support for function request/responses - Formatting fixups (This used to be commit 0f7b473b4aa5845c12b387d9be8bc6501cc10136)
2007-10-10r1534: Alternate method of grouping togethers buffers and scalars which actuallyTim Potter1-37/+48
seems to work. We create a subtree one level higher instead of in the parse function. (This used to be commit 3f5c087c40c2df8c54feab1b416bc479fb739561)
2007-10-10r1174: Remove $var_prefix parameter for all functions. We don't need it forTim Potter1-41/+36
ethereal. (This used to be commit bf8e255d2e53fe50c2d37065aac8c6582712f0b0)
2007-10-10r1167: Misc cleanups:Tim Potter1-11/+27
- shorten COL_INFO message - make parser error messages prettier - separate variable declarations from function body with newline - only generate variables for requests/responses when they have the in/out property (This used to be commit 53313775a872d5c2f78f214573fd5933af5c205c)
2007-10-10r1166: Convert (commented out) ndr_pull_error() calls into proto_tree_add_text()Tim Potter1-20/+33
calls so egregious parse errors are displayed in the ethereal gui. (This used to be commit 904de85c88f8a122cee67bfa175c5e45e7d9c62f)
2007-10-10r1164: Whoops - remove debugging printfs and Data::Dumper reference.Tim Potter1-7/+9
Give unions their own subtree as well as structures. (This used to be commit d3183d781ed62de756840c85742ae4f887c45251)
2007-10-10r1162: Give each struct it's own subtree in the ethereal gui. Much moreTim Potter1-28/+51
readable! (This used to be commit 1d29a4fd874a963c53546825d657b47ee3af085b)
2007-10-10r1160: Some minor cosmetic fixes to make the generated code look nicer.Tim Potter1-18/+21
(This used to be commit a6c95fbd6f7205574182ab4a38f0f061435fda6e)
2007-10-10r1158: Fix bug in dissection of array count. Arrays mostly work now with theTim Potter1-1/+1
exception of a union related bug. (This used to be commit 80f1445507165a4b6805cd346b83fe57e576c71d)
2007-10-10r1152: Checkin of workarea. The parser can now dissect a big chunk of the samrTim Potter1-33/+54
operations. Security descriptors and unions are still left to do. (This used to be commit f29fb9a3fc3b9b36518c4bff49e9c030a8a921ba)
2007-10-10r1099: Set $module variable to name of module.Tim Potter1-46/+58
Only generate code for module registration if we could find a UUID. Tweaks to get [relative] compiling. (This used to be commit 19442e07d080f4965ece5eacd8724e325266ec0c)
2007-10-10r1083: Generate prototypes for structs and unions marked "public" in the idl.Tim Potter1-21/+31
Delete various hacks to work around not doing this before. (This used to be commit 5c3c3d3e72d8dd5d995a5bc5b2c7d7217b7c0432)
2007-10-10r1047: Now samr eparser compiles, links and doesn't crash ethereal.Tim Potter1-7/+10
(This used to be commit f18dc9eb887034171dcf28a1f309a69e9088604e)
2007-10-10r1045: Wow - we actually compile (but not link) the autogenerated parser fromTim Potter1-37/+85
samr. The array handling is a bit of a mess though. (This used to be commit 7ff7737832e0e5877ce8bcf329a123a2bce05370)
2007-10-10r1003: Removed e_ndr stuff - too verbose.Tim Potter1-41/+67
Merged across populating %needed with hf index members for functions from old version of eparser. (This used to be commit fc3c5d6fabf397106520ed25a564229ee4853521)
2007-10-10r987: Start replacing ndr_* functions with e_ndr_* and removing stuff relatedTim Potter1-39/+43
to storing data in structure members. (This used to be commit 60942eaa3a8a56b5823bfcb736d25c00b17fec50)
2007-10-10r986: Attempt #3 at eparser. This time use the 'pull' code as a base as it'sTim Potter1-250/+250
closer to what ethereal does. Also try to keep as much of the generated structure wrt pointers/structs/alignment as possible. (This used to be commit 8ad93f03d64befdee67a1b0a0ff9d7c3dfaac9ea)
2007-10-10r954: Start working on typedef parsing.Tim Potter1-15/+11
(This used to be commit 877f7c32a89218fb59adc48bd2c2f331b9600d12)
2007-10-10r953: Remove unused Pull and Print parse functions. Remove Push fromTim Potter1-459/+46
remaining parse function names. Add some debug comments in parser output to aid in debugging. (This used to be commit 8225a3245a2b399ea4a9d8515e299ae5f10dff8c)
2007-10-10r948: Tridge suggested that the best way to write the ethereal parser is toTim Potter1-425/+1120
base it on the generator for the ndr pull/push code rather than trying to get all the alignment and other junk sorted out by hand. This commit (nearly) gets eparser to the same state it previously was but based on parser.pm. We correctly parse simple types, strings and sids. (This used to be commit 6739cd5fdd353c575626cbfbc6339a8a6908daf7)
2007-10-10r806: Checkin of workarea - tridge gave me some good ideas today for a betterTim Potter1-0/+82
way to do this. (This used to be commit c63cb50ca56cb69f7ef39f9828afa61f324f2832)
2007-10-10r759: Fix some perl warnings.Tim Potter1-10/+15
(This used to be commit 1517ef3a986ec213d33b624fbbe8071600cc5b61)
2007-10-10r753: Big reorganisation of everything - also fixes handling of dissectorsTim Potter1-240/+334
for structures. Instead of trying to parse everything to produce output in the right order, generate parser in two steps: 1) gather information and register names, fields, types etc. 2) generate output using data from step 1. (This used to be commit 03863a2ca88c374e168d579e7e4f78877160215c)
2007-10-10r750: Rename global $name -> $module.Tim Potter1-39/+122
Start working on parsing structs. (This used to be commit d162dcb52f96b1adfac7123201d31c07ee5c90d6)
2007-10-10r746: Add entry in proto tree when we don't handle an IDL type.Tim Potter1-4/+50
Start parsing for parsing unions, structs and enums. Don't display field type in display name. (This used to be commit e170d9c3dc5d7abcdba9af98f61f36bb118a96fd)
2007-10-10r744: A bunch of minor fixes. The ethereal pidl parser now dissects simpleTim Potter1-12/+22
samr calls - only the ones that take policy handles and uint32s. (This used to be commit d6e30faeec097822c9cdcc9e4270d0adc139cea8)
2007-10-10r641: readd 'use dump;'Stefan Metzmacher1-0/+1
metze (This used to be commit 8e2c08f8c7f9481d64b87e7d45e98bc48661efbb)
2007-10-10r638: remove unused dependency to Data::Dumper and dumpStefan Metzmacher1-2/+0
(fix some build farm hosts) metze (This used to be commit 8735a393c19711cc0f0cf392684d523b1abd2878)
2007-10-10r617: Sync some minor updates with repository:Tim Potter1-7/+81
- start handing idl string types - comments - generate field types - code to select field types and bases (This used to be commit 3d4148c07c46d5d99bd91e1985540cc4e59db2bc)
2007-10-10r602: Autogenerated packet-dcerpc-samr.c now compiles!Tim Potter1-7/+147
(This used to be commit 0c1069b56e7c80e2b428f6a6b550eacd5ac3d762)
2007-10-10r597: Start generating parser code - only supports uint16, uint32 and policyTim Potter1-229/+61
handle types. (This used to be commit 1e02ccd94edc87f4107d21f7f778f1a88c9e197d)
2007-10-10r550: Remove clientfns.pm module - it was a bad idea.Tim Potter1-1/+1
Start to resurrect eparser.pm for auto-generating ethereal dissectors for rpc. (This used to be commit 993a18dd35fb0b09c088eb2bb38d3e14ff755130)
2003-12-15make pidl no longer dependent on Data::Dumper, which isn't installedAndrew Tridgell1-1/+0
on some systems (This used to be commit a4aa9168c0f80cf6e758c380d41335db50d06869)
2003-11-20use a precompiled grammer in pidl. This speeds up pidl by about aAndrew Tridgell1-1/+1
factor of 2 on my system. (This used to be commit a291dd835f68ae5a109670b1d1ca1a48b2aacfb6)
2003-11-20damn, "use strict;" in util.pm breaks pidl - but why?Andrew Tridgell1-0/+1
(This used to be commit 8f54792392ccaa6c1464ed8ec90e44c0048b5ee2)
2003-11-09- handle void functionsAndrew Tridgell1-3/+3
- bettenicer handling of PROPERTIES - handle size_is() on an out variable that refers to an in variable (This used to be commit 33d9b75783651ccb02f895bc9e0b0d0d59f67b1d)
2003-11-06updated pidl to auto-generate the ndr_push_*() functions for theAndrew Tridgell1-24/+9
Samba4 rpc framework not complete, but sufficient for a number of lsa functions (This used to be commit 42cd6904f51bac1ff92f0aea0deffb11864dfac2)