summaryrefslogtreecommitdiff
path: root/source4/build/pidl/eparser.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5852: Rename ndr.pm to ndr_parser.pmJelmer Vernooij1-1/+1
I'm going to add a ndr.pm later on that'll generate a tree with necessary information for the two NDR backends (eparser, ndr_parser) containing alignment info, etc. (This used to be commit 5162daa9464cd64930f5a8fd0d7b381b122c931d)
2007-10-10r5422: Fix ethereal parser generator.Jelmer Vernooij1-85/+86
(This used to be commit f5224d40c01b495f2607199f0d85a8c9afb056b0)
2007-10-10r5338: More efforts to handle types similarly.Jelmer Vernooij1-4/+4
(This used to be commit 95c4f3149925ee71e74ea36fae3a65d2eebf717c)
2007-10-10r5039: fixed eparser not to generate talloc_p()Andrew Tridgell1-2/+2
(This used to be commit dd67a5d833d7e44ff0ec1ba9f5c55c2b1e121b9a)
2007-10-10r5034: - added a type mapping function in pidl, so the type names in our IDLAndrew Tridgell1-4/+0
files don't need to match the type names in the generated headers - with this type mapping we no longer need definitions for the deprecated "int32", "uint8" etc form of types. We can now force everyone to use the standard types int32_t, uint8_t etc. - fixed all the code that used the deprecated types - converted the IDL types "int64" and "uint64" to "dlong" and "udlong". These are the 4 byte aligned 64 bit integers that Microsoft internally define as two 32 bit integers in a structure. After discussions with Ronnie Sahlberg we decided that calling these "int64" was confusing, as it implied a true 8 byte aligned type - fixed all the cases where we incorrectly used things like "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for those. The fact that it is hyper-aligned on the wire is not relevant to the API, and should remain just a IDL property (This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)
2007-10-10r5032: get rid of the init fns in eparserAndrew Tridgell1-0/+3
(This used to be commit dc8c7cb85cf87d5976573ea6e9de43c0c9d5f44a)
2007-10-10r5010: Handle weird-ass NTTIME_1sec and NTTIME_hyper types.Tim Potter1-1/+2
(This used to be commit a38db33713348e8a07d3fc932865b2f649dc962f)
2007-10-10r5009: Put bitmaps in their own subtree.Tim Potter1-1/+6
(This used to be commit 8ca1e3aa3b5007f9da3e951e15e0380ae170a1cf)
2007-10-10r5008: 32-bits is the default bitmap size.Tim Potter1-2/+1
(This used to be commit 493ba2da6bb93d080ff92c50d920df8c858f3010)
2007-10-10r5007: Fix bug in regexp where we were eating the strings "in" or "out" fromTim Potter1-3/+3
structure names if they started with those strings. (This used to be commit e983de6ead6ed23b51c2df70e69586b1e7be5a60)
2007-10-10r5006: Implement parsing of pidl bitmaps in ethereal parsers. This worksTim Potter1-5/+34
well but needs to be stuck in a subtree. (This used to be commit a34212247b5dfb87d87c1ce12aab1835c88a0651)
2007-10-10r4993: Generate nicer name for enum hf.Tim Potter1-2/+15
Start work on supporting bitmaps. (This used to be commit 6f418f14267291bf8637e5dcd7e8ceca4e430314)
2007-10-10r4991: Remove debugging statement.Tim Potter1-1/+0
(This used to be commit 4640d3371eb57de90d972719e8550fea65831f74)
2007-10-10r4990: Generate value strings for pidl enumerations.Tim Potter1-13/+57
(This used to be commit edaf81b6395e1af06e9546027f9a9c3c4975c4b4)
2007-10-10r4940: Add a variable to hold a list of typedefs for which we shouldn't generateTim Potter1-1/+20
a dissector for. A hand written dissector needs to be added to eparser.c for the plugin to link. (This used to be commit d4f7f6b0b41cb572320a5aeaf771c5af2b7bf13d)
2007-10-10r4930: Update my copyright.Tim Potter1-1/+1
(This used to be commit 362151788bed06d934f111459abe7f6491362906)
2007-10-10r4865: Fix up subtree name when dissecting unions. E.g in LSA, The subtreeTim Potter1-7/+23
used to be called something like "Level, R->out.info" but now is called "Lsa PolicyInformation". (This used to be commit be2bb36856bee1c2882e063beb7c04ac5e5889de)
2007-10-10r4842: Set the end of a structure so that when you click on the proto tree,Tim Potter1-0/+4
the hex display window highlights the part of the buffer occupied by the structure. Cool! (This used to be commit b5c13fc6b8fe3f8dfa5ada73d33bd13cd607ebc4)
2007-10-10r4841: Handle levels that are signed integer types.Tim Potter1-1/+1
(This used to be commit 40d49d6279431bf1af343e3eb22038ef9d8b39e6)
2007-10-10r4815: Handle uint8 and uint16 bitmap types.Tim Potter1-3/+10
Break out arguments to proto_register_protocol() so they can be renamed easily. Unfortunately the "pidl_" prefix will have to stick around if/when the old dissectors are removed because the filter and short names clash. (This used to be commit f2ce80e3350337ef795eb32f2478d218c2e382c3)
2007-10-10r4798: When dissecting structures, name the protocol tree after the field name,Tim Potter1-2/+2
not the field type (i.e DACL and SACL instead of dom_sid). (This used to be commit 2c0e77869f9f04a75785990c79e611134643f89e)
2007-10-10r4797: Add the name of what we are pointing to when dissecting pointers.Tim Potter1-3/+3
(This used to be commit 6fc162738f86f8f7df013623e57a21970a8b6f36)
2007-10-10r4796: Get rid of unecessary #includeTim Potter1-0/+2
(This used to be commit 2950dbd87c8ff535277b817268c8a601eee42ba2)
2007-10-10r4773: Handle arrays of scalar types as function arguments.Tim Potter1-24/+61
Add hf for function return value. Rename struct field members to be named after the structure name and element name rather than element name and element type. Remember which structure or function we are processing and use it to generate hf fields according to the naming scheme above. (This used to be commit fd14622d132c3f2dfd837ea7beccd0fc11a6bf3e)
2007-10-10r4771: Fix some indentation.Tim Potter1-6/+25
(This used to be commit b2a3b0221680fb54b058631846559e6151a7b562)
2007-10-10r4770: Change from processing ndr_*.[ch] files all at once to line-by-line.Tim Potter1-20/+16
I'm hoping this will allow better mapping hf fields to the structures they are present in which isn't possible at the moment. (Line mode allows us to use /foo/ .. /bar/ regexps and to store state during the processing. (This used to be commit 75b6df15f2edfac99fbcd7cefb7b404591a1ecb6)
2007-10-10r4613: Fix stuff I broke in the last commit with the /x regexp flag.Tim Potter1-44/+45
(This used to be commit 20f9143221021ab050802d6aed359677bee978ed)
2007-10-10r4606: Start adding some more comments and some indentation for the eparserTim Potter1-43/+93
regexps. Hopefully this will make things a bit easier to understand later on. (This used to be commit c325859eb6a0972638bbbb83ebb2dfda489ac8ee)
2007-10-10r4600: Remove Data::Dumper import leftover from debugging.Tim Potter1-12/+16
Return more ethereal types and bases for hf fields. Currently we assume that enums always fit into a uint16 which will probably have to change soon. (This used to be commit 25f6e11f3156e21c1dc03afa879e9cda2f5dd341)
2007-10-10r4599: Remove some duplicated code in pidl.pl.Tim Potter1-3/+33
Start working on adding support for bitmaps and enums. In progress tweaks for arrays of structures. (This used to be commit d39cb7ecb4c193cbba628ee6d6f9b5c5bbf89d33)
2007-10-10r4578: Minor cleanup of ndr_pull_array() and ndr_pull_array_foo() regexps.Tim Potter1-2/+2
(This used to be commit 0f8f0de00fa687920c898a56238cd3e21d83cfb1)
2007-10-10r4521: fixed up the handling of PROPERTIES elements after the change to ↵Andrew Tridgell1-3/+3
support enum (This used to be commit dee8eff2590be58c59b0db089fcca4af3e011c42)
2007-10-10r4517: Revert previous commit about giving arrays of scalars their own subtree.Tim Potter1-12/+16
Generate code to display using proto_tree_add_bytes() instead. (This used to be commit 6e480fab3a0f70ae17dd7c0b39da924361a354d5)
2007-10-10r4512: Give arrays of scalar types their own subtree.Tim Potter1-12/+25
(This used to be commit b9432130959aeaab6d1720ac2c6f99e3d8f9e037)
2007-10-10r4511: Remove a crapload of dead code.Tim Potter1-835/+0
(This used to be commit 0f50ed8260ce37c21d8ad62b5a257f22ab4a5534)
2007-10-10r4495: Some more regexps for handling stuff in the lsa and samr pipes -Tim Potter1-1/+14
various types of arrays and relative structures. (This used to be commit 9f99d94ff5863b2da05f2283639852306bfbc74d)
2007-10-10r4469: Version n + 1 of the pidl ethereal parser generator. This version isTim Potter1-58/+318
based on the idea of manipulating the .c and .h files generated by parser.pm with perl regexps and glueing it all together to make an ethereal plugin. I thought this was a pretty crazy idea to start off with but it has turned out to be not as complicated as I thought and has the huge advantage of not duplicating any of the difficult code in parser.pm. (This used to be commit 7007522f83740f41f9a47f5ad5942ea46320d405)
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)