summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4884: - 2nd part of support ndr_size_ generation on unions as well as ↵Andrew Tridgell4-426/+514
structures - added "nopull" and "nopush" flags, to allow for externally written parsers for sub-structures (This used to be commit f65f239978425de795a0e188aaad3d5d1167da32)
2007-10-10r4883: support ndr_size_ generation on unions as well as structuresAndrew Tridgell1-1/+6
(This used to be commit 852ad354b481f130f80213f2924ad44d10340b21)
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-10r4858: a better fix for alignment of enumerated types (I'm not even sure whyAndrew Tridgell1-4/+4
the last fix worked at all) (This used to be commit 99cef2e5a0412ede455cb1579541550efa49502a)
2007-10-10r4843: fixed the alignment handling of enumerated typesAndrew Tridgell2-0/+7
(This used to be commit d2946dfabbc727633cdb17c3956fc120e214140c)
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-10r4690: - add support for async rpc server repliesStefan Metzmacher2-35/+120
the backend should check for (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_MAY_ASYNC) then it's allowed to reply async then the backend should mark that call as async with dce_call->state_flags |= DCESRV_CALL_STATE_FLAG_ASYNC; later it has to manualy set r->out.result and then send the reply by calling status = dcesrv_reply(p->dce_call); NOTE: that ncacn_np doesn't support async replies yet - implement an async version of echo_TestSleep - reenable the echo_TestSleep torture test (this need to be more strict when we have support for async ncacn_np) metze (This used to be commit f0a0dbeb25b034b1333078ca085999359f5f6209)
2007-10-10r4677: stub.pm must be synced with server.pmStefan Metzmacher1-2/+2
metze (This used to be commit b467635c2dd90dc40e2358b8d18bec238a85786f)
2007-10-10r4673: Fix the IDL for the QuerySecret LSA call.Andrew Bartlett1-1/+2
This call uses a new IDL type, NTTIME_hyper. This is 8-byte aligned, as the name suggests. Expand the QuerySecret LSA calls in RPC-SAMLOGON and RPC-LSA, to validate the behaviour of times, and of the old secrets. Thanks to tridge for spotting the use of HYPER! Andrew Bartlett (This used to be commit 1fed79cb0f2ae7940639d08ef99576559d4cd06e)
2007-10-10r4640: first stage in the server side support for multiple context_ids on ↵Andrew Tridgell1-2/+2
one pipe this stage does the following: - simplifies the dcerpc_handle handling, and all the callers of it - split out the context_id depenent state into a linked list of established contexts - fixed some talloc handling in several rpc servers that i noticed while doing the above (This used to be commit fde042b3fc609c94e2c7eedcdd72ecdf489cf63b)
2007-10-10r4637: log packets when the server code returns an DCERPC_FAULTStefan Metzmacher2-0/+5
metze (This used to be commit 64805e5dc58ad1d1fefc3e36158131fa2d531592)
2007-10-10r4624: Several crash fixes for DCOMJelmer Vernooij1-2/+9
More work on the example class implementation (This used to be commit 1f8f4dd179d5aa0472c676d115dc2fc1749ce32d)
2007-10-10r4616: the first phase in the addition of proper support forAndrew Tridgell2-4/+4
dcerpc_alter_context and multiple context_ids in the dcerpc client library. This stage does the following: - split "struct dcerpc_pipe" into two parts, the main part being "struct dcerpc_connection", which contains all the parts not dependent on the context, and "struct dcerpc_pipe" which has the context dependent part. This is similar to the layering in libcli_*() for SMB - disable the current dcerpc_alter code. I've used a #warning until i get the 2nd phase finished. I don't know how portable #warning is, but it won't be long before I add full alter context support anyway, so it won't last long - cleanup the allocation of dcerpc_pipe structures. The previous code was quite awkward. (This used to be commit 4004c69937be7e5dae56f9567ca607f982d395d3)
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 Potter2-23/+41
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-10r4557: support for [flags()] on typedef enum|bitmapStefan Metzmacher1-6/+4
NDR_PAHEX is handled by ndr_print_enum() now metze (This used to be commit c3b2d2cca37193fead0df1a8808c3ffcd5180a89)
2007-10-10r4556: neater (and faster) way of doing alignments and scalarsAndrew Tridgell1-33/+30
(This used to be commit ec70d9a740ab0b6f83b6b10c1b5313e585164383)
2007-10-10r4553: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 6f75a06b8691dd0d684a51b7851696613c6a6b11)
2007-10-10r4551: add support for a pidl extensionsStefan Metzmacher4-474/+622
'declare bitmap foo1;' 'declare enum foo2;' and also allow typedef [public] bitmap ... typedef [public] enum ... you need to a forward declaration of bitmaps and enums when you want to use them in another idl file, and you need to make the real declaration to be public see the next commit to samr.idl and netlogon.idl metze (This used to be commit a8d61aa47388b82595ee02b9cfd35f15afb93c2a)
2007-10-10r4549: got rid of a lot more uses of plain talloc(), instead usingAndrew Tridgell2-2/+2
talloc_size() or talloc_array_p() where appropriate. also fixed a memory leak in pvfs_copy_file() (failed to free a memory context) (This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
2007-10-10r4548: Convert to talloc_p() and talloc_array_p() where appropriate.Tim Potter1-5/+39
(swig stuff seems broken atm though) (This used to be commit 9eeb976773a8d2ed26a690c73d67f5db735e8d3a)
2007-10-10r4540: sync enum and bitmap codeStefan Metzmacher3-31/+26
metze (This used to be commit 2f3aea72ee7d9d90f7b910d11bdd1e96f9f0ebe1)
2007-10-10r4535: add full support forStefan Metzmacher3-15/+214
typedef bitmap { FLAG1 = 0x01 } fooflags; typedef struct { fooflags flags; } metze (This used to be commit 052a7d4f9a3a178149c65a616fdfd87152dff7eb)
2007-10-10r4534: update the yapp generated codeStefan Metzmacher1-354/+466
metze (This used to be commit afef9b10481da3857d3cba598a71c01b827f29de)
2007-10-10r4533: parsing support for:Stefan Metzmacher1-3/+18
typedef [bitmap16bit] bitmap { FLAG1 = 0x0001, FLAG2 = 0x8000 } fooflags; metze (This used to be commit 192f2495468d5d0c5889d94ca791aa8f371514e8)
2007-10-10r4526: - much simpler (and more accurate!) ndr_size_*() code generation. ItAndrew Tridgell3-97/+19
is less efficient, but I really doubt that matters. - use enum in epmapper.idl for protocol type - added support for "enum8bit" flag, used in epmapper.idl (This used to be commit 1a24a50384b7f588844cd012f1218ca242ca4507)
2007-10-10r4523: the PROPERTIES change for typedef was not quite as simple as I ↵Andrew Tridgell2-7/+19
thought. This puts in a workaround that fixes things for now (This used to be commit 0939b83a0f07563edc6448fb6a87a573dbaa9f6c)
2007-10-10r4522: PROPERTIES are now handled at the typedef levelAndrew Tridgell2-297/+286
(This used to be commit 73d5a033e8e9de536239c53e8a063e9be0eff701)
2007-10-10r4521: fixed up the handling of PROPERTIES elements after the change to ↵Andrew Tridgell5-20/+20
support enum (This used to be commit dee8eff2590be58c59b0db089fcca4af3e011c42)
2007-10-10r4518: added proper support for "typedef enum" in pidl. We can now use enums ↵Andrew Tridgell5-258/+403
as types in switch statements and variable types, and the value will be printed with its string name and value (This used to be commit 1852033f2ec7584657d586e44d25a280959e4d81)
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-10r4509: Add missing cr.Tim Potter1-1/+1
(This used to be commit 60f266bf6a30eee485c4f498569201ac50f85120)
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-10r4489: Remove an obsolete file.Tim Potter1-3/+0
(This used to be commit 446b2cf99641956b9bdede4364c93232d914c678)
2007-10-10r4480: autofree the dcom proxy tablesAndrew Tridgell1-1/+1
(This used to be commit 973acf7bbdb7bd71f052aca15d0189f2e2069fd4)
2007-10-10r4469: Version n + 1 of the pidl ethereal parser generator. This version isTim Potter2-67/+335
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-10r4468: Don't be a slacker and leave out parameter names when generatingTim Potter1-12/+12
prototypes for ndr push/pull/print functions. (This used to be commit 1fe95ad1720f48a353ec77178e303b437bb13fed)