summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1162: Give each struct it's own subtree in the ethereal gui. Much moreTim Potter3-124/+142
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-10r1159: Implement functions to dissect 64-bit values (nttime, hyper_t, int64,Tim Potter1-39/+52
uint64). Rename parameter e_ndr to ndr. (This used to be commit 80bc9c9c598ebb2caa8dee745087f4b80ea8536e)
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-10r1153: We can now dissect security descriptors.Tim Potter2-14/+109
(This used to be commit c194f2cf073585d8a9dbc6a6e746dd1cbf7c67b7)
2007-10-10r1152: Checkin of workarea. The parser can now dissect a big chunk of the samrTim Potter3-59/+383
operations. Security descriptors and unions are still left to do. (This used to be commit f29fb9a3fc3b9b36518c4bff49e9c030a8a921ba)
2007-10-10r1149: fixed the handling of NDR_SET_VALUES in the debug print of rpc ↵Andrew Tridgell1-2/+2
structures in the generated rpc server code (This used to be commit 60838a0f94ef2b2f27a6f1b3c413481e94c69602)
2007-10-10r1148: fixed a minor formatting error in generated codeAndrew Tridgell1-1/+1
(This used to be commit 0a67b9c324fb4fd74de0f3c12e55de6972b88cdd)
2007-10-10r1133: - add ndr_pull_ptr() as a separate call instead of ndr_pull_uint32()Andrew Tridgell1-3/+3
(useful for debugging IDL) - fixed a couple of places that auto-generate incorrect printf style arguments for ndr_pull_error() (This used to be commit ad3324a79ce030df4c5ed46408e662b46588f89f)
2007-10-10r1100: Comment out functions that we now get from other sources (misc.idl andTim Potter2-0/+13
lsarpc.idl). Add stub for ndr_pull_relative() function. (This used to be commit b3bc3d2ef41e2c5948a05d0c10591befdb2444a5)
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 Potter4-37/+43
Delete various hacks to work around not doing this before. (This used to be commit 5c3c3d3e72d8dd5d995a5bc5b2c7d7217b7c0432)
2007-10-10r1048: - moved the schannel definitions into a separate schannel.idlAndrew Tridgell1-0/+3
- added server side support for schannel type 23. This allows WinXP to establish a schannel connection to Samba4 as an ADS DC - added client side support for schannel type 23, but disabled it as currently the client code has now way of getting the fully qualified domain name (which is needed) - report dcerpc faults in the server code in the log (This used to be commit 55e0b014fe14ca8811b55887208a1c3147ddb0d2)
2007-10-10r1047: Now samr eparser compiles, links and doesn't crash ethereal.Tim Potter3-11/+97
(This used to be commit f18dc9eb887034171dcf28a1f309a69e9088604e)
2007-10-10r1045: Wow - we actually compile (but not link) the autogenerated parser fromTim Potter3-38/+170
samr. The array handling is a bit of a mess though. (This used to be commit 7ff7737832e0e5877ce8bcf329a123a2bce05370)
2007-10-10r1014: change the handling of r->out to auto-zero the structure, and auto-copyAndrew Tridgell1-7/+47
in,out,ref vars (This used to be commit dffe9165164a111313d744d942645ad2df83d5f3)
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-10r1002: Add helper files for eparser output.Tim Potter2-0/+90
(This used to be commit 595b6e0f2c9832b3e4a8eaa24d64f32d6a693ff3)
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-10r985: Add stub function for dumping enums to prevent perl warnings in eparser.Tim Potter1-0/+15
(This used to be commit 12c7d3a464fea87c3289f2914ee9696a17ce5a81)
2007-10-10r955: Update debian package rules... builds nowJelmer Vernooij2-266/+1
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
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 Potter2-426/+1121
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-10r900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the serverAndrew Tridgell1-0/+6
(This used to be commit ee65e43d4dd0bf78a877b918991aa60f44f435b5)
2007-10-10r894: use _t in generated pidl codeAndrew Tridgell1-10/+10
(This used to be commit 20cc981e3338200aea6e005ed69dbe5b5b102bbb)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-1/+1
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
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-10r757: Handle empty union arms (ala rid only entries in netlogon).Tim Potter1-1/+1
(This used to be commit f7b23156681f12805f0c7f242f0c436d102023f4)
2007-10-10r756: Handle default element in union.Tim Potter1-3/+7
(This used to be commit 1ece224c9a25731a8c392cf378968273c0072ecf)
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-10r738: Use same error message format as is used by compilers when reportingJelmer Vernooij2-2/+2
syntax errors (some editors parse these strings and jump to the erroneous line directly) (This used to be commit 6857efacccb1af69abd46e8867a0b4b3c26801db)
2007-10-10r736: Add list of supported and unsupported MIDL attributesJelmer Vernooij1-1/+94
(This used to be commit ca39c567ed7ed40c7abe7526f6e563e7bf2789bb)
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-10r604: Better dumping of in,out,ref properties.Tim Potter1-0/+12
(This used to be commit 209f5a25a950e8780e9512b71fbb12b1cdbe1a17)
2007-10-10r602: Autogenerated packet-dcerpc-samr.c now compiles!Tim Potter2-8/+148
(This used to be commit 0c1069b56e7c80e2b428f6a6b550eacd5ac3d762)
2007-10-10r600: Get rid of trailing whitespace which freaks out emacs' fontification.Tim Potter1-6/+6
(This used to be commit d0383e9a7a0a5bee9a52ddc81d5f89c9f01c269b)
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-10r589: Fix IDL dump module so --dump and --diff options to pidl.pl workTim Potter1-23/+62
again. Still a few problems left though. (This used to be commit e921a5879f8a5a867dce61e684a0010a5dab9472)
2007-10-10r550: Remove clientfns.pm module - it was a bad idea.Tim Potter3-137/+2
Start to resurrect eparser.pm for auto-generating ethereal dissectors for rpc. (This used to be commit 993a18dd35fb0b09c088eb2bb38d3e14ff755130)
2007-10-10r464: a big improvement to the API for writing server-side RPCAndrew Tridgell2-11/+42
servers. Previously the server pipe code needed to return the RPC level status (nearly always "OK") and separately set the function call return using r->out.result. All the programmers writing servers (metze, jelmer and me) were often getting this wrong, by doing things like "return NT_STATUS_NO_MEMORY" which was really quite meaningless as there is no code like that at the dcerpc level. I have now modified pidl to generate the necessary boilerplate so that just returning the status you want from the function will work. So for a NTSTATUS function you return NT_STATUS_XXX and from a WERROR function you return WERR_XXX. If you really want to generate a DCERPC level fault rather than just a return value in your function then you should use the DCESRV_FAULT() macro which will correctly generate a fault for you. As a side effect, this also adds automatic type checking of all of our server side rpc functions, which was impossible with the old API. When I changed the API I found and fixed quite a few functions with the wrong type information, so this is definately useful. I have also changed the server side template generation to generate a DCERPC "operation range error" by default when you have not yet filled in a server side function. This allows us to correctly implement functions in any order in our rpc pipe servers and give the client the right information about the fault. (This used to be commit a4df5c7cf88891a78d82c8d6d7f058d8485e73f0)
2007-10-10r419: Data::Dumper is not portableStefan Metzmacher1-2/+2
use it only for debugging in a local tree metze (This used to be commit 7c53e05b4874143e8e8cd0034ab5a6a986e7994c)
2007-10-10r363: nicer error handling in pidlAndrew Tridgell2-1/+3
(This used to be commit cafc8a5e763834a26432c467abfe84f140bb7d80)