summaryrefslogtreecommitdiff
path: root/source4/pidl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12464: Add simple IDL parsing tests for pidl using the standard perlJelmer Vernooij12-270/+126
testing framework (Test::Simple, distributed with perl itself). Run these tests from 'make test' (This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)
2007-10-10r12463: Rename 'Samba' namespace to 'Samba4'Jelmer Vernooij15-47/+51
(This used to be commit f25358270d44a5642adbb85ecaa50b2e5730d7f0)
2007-10-10r12462: Hide oo magic from callers of the parserJelmer Vernooij4-84/+101
(This used to be commit 0c225d2978b11898d334ec2d6da910e0cca0f4cd)
2007-10-10r12206: Fix some issues in NOEMITJelmer Vernooij2-5/+11
(This used to be commit 905cebd117f3b05a286f014e2c21b0843e8f7caf)
2007-10-10r12205: Support 'TFS' command in conformance filesJelmer Vernooij2-3/+28
(This used to be commit 3241ce7ad75a2f91327815374ad698e8bedb2e73)
2007-10-10r12181: Use BASE_HEX rather then BASE_DEC by default for bitmaps. Patch by GuyJelmer Vernooij1-1/+1
Harris. Fixes #3313 (This used to be commit daff0cba2c8e4d56055673b1113e19c265a8bf63)
2007-10-10r11997: for multidimentional array like this:Stefan Metzmacher1-2/+3
uint32 [num_level2][num_level1][num_level0] fix the order they're pushed and pulled, it should be like this for (l2=0; l2 < num_level2; l2++) { for (l1=0; l1 < num_level1; l1++) { for (l0=0; l0 < num_level0; l0++) { ndr_pull_uint32(...); } } } metze (This used to be commit c10195f31383f51911edd8a32f8b5d5857d5bf2d)
2007-10-10r11974: only look at $pl->{POINTER_TYPE} when $pl is definedStefan Metzmacher1-7/+6
metze (This used to be commit 271d0af16d50bc89a384b56db70d569914273f6c)
2007-10-10r11972: handle [noejs] property also on functionsStefan Metzmacher1-1/+2
metze (This used to be commit e5fef8519b28f66ce8a401fc866c8b9bf08c584d)
2007-10-10r11959: Use DOS_errors array for displaying WERROR valuesJelmer Vernooij1-1/+1
(This used to be commit 0830ed0d60cdbd00e6f42dae2c7e295363bca17d)
2007-10-10r11539: Fix indentation in templates. Always generate lower-caseJelmer Vernooij5-8/+10
UUID strings as GUID_from_string seems to have trouble with uppercased ones. (This used to be commit 16ea96c81ed88f197007335f442c9e62b4ccd6de)
2007-10-10r11535: Support void functions when generating templates.Jelmer Vernooij1-2/+10
(This used to be commit e8926a4e171a7bf74c220fa825ef5fa9e297fa47)
2007-10-10r11473: Based on work by Jelmer, implement the [async] flag for rpc ↵Volker Lendecke2-2/+8
requests. If it's not there (it's not yet on *any* call... :-)), the rpc client strictly sequences calls to an rpc pipe. Might need some more work on the exact sequencing semantics when a pipe with both sync and async calls is actually deployed, but I want it in for winbind simplification. Volker (This used to be commit b8f324e4f000971b7dafc263c16dd4af958ee7f9)
2007-10-10r11386: Add install rule for pidlJelmer Vernooij1-1/+1
(This used to be commit b740d0d28043e37ba3f0bec0c1bfbd68c0fb56e6)
2007-10-10r11262: Try to get the equivalent of a subcontext in pidl ethereal conformanceTim Potter1-0/+4
files working. It doesn't quite work though. (-: This patch also allows a struct.field format to be used in an IMPORT statement instead of a type name. Jelmer, what do you think? (This used to be commit d770f853475d12a33d23fc86ab30223dfde22dd7)
2007-10-10r11211: Append an error message to COL_INFO if the RPC call returned an error.Tim Potter1-2/+8
(This used to be commit b70dd7a757e7341d90c89dffa7e1c4eab790020a)
2007-10-10r11141: Re-add paranoid string terminator checkJelmer Vernooij1-9/+21
(This used to be commit 55805b5ed9493160ff17c26d2e1361947f368707)
2007-10-10r11105: Warn if conformant arrays are not at the end of a structJelmer Vernooij2-4/+22
Support conformant [string] arrays Eliminate utf8string This breaks xattr binary compatibility with previous versions - is that a problem? (This used to be commit 7596c708ba6642473319a1b699a5a910a639e50d)
2007-10-10r11097: Allow pointers in "const"Jelmer Vernooij3-206/+217
(This used to be commit 88fcd56fb55ac3f7e1eef3b3c92a2593c79599d3)
2007-10-10r11077: Fix [string] for Samba3Jelmer Vernooij2-7/+12
(This used to be commit 2f76e2a6bf8ff99ac2f9b61669d09d76a2fe920a)
2007-10-10r11067: Support for [string] in the Ethereal parser generatorJelmer Vernooij2-10/+42
(This used to be commit 1d5db487bb4afffac13b0d0904aea6b8664b75a8)
2007-10-10r11061: Samba3 parser generator fixes:Jelmer Vernooij3-12/+40
* Add (limited) support for [string] * Don't generate (and set) header elements for top level ref pointers as they don't appear on the wire (This used to be commit 765adaf19be264e2d23a22eaed3027faededf8b6)
2007-10-10r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher1-1/+0
before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
2007-10-10r11011: r10124@SERNOX: metze | 2005-09-09 20:22:00 +0200Stefan Metzmacher1-0/+1
r10113@SERNOX: metze | 2005-09-09 18:00:02 +0200 rename libcli/wins to libcli/wrepl metze r10115@SERNOX: metze | 2005-09-09 18:01:49 +0200 bind client connection to the best interface, to the partner metze r10116@SERNOX: jelmer | 2005-09-09 18:23:50 +0200 Print out a couple more warnings. (This used to be commit 66f931071e41dbd871ca8e1c2de8414a6230ab33)
2007-10-10r10880: Missed terminating ';', sorry.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 2680aeffb1e40a7d1d59c98f0ee533d7c4362f40)
2007-10-10r10879: Added the ZERO_STRUCT(q_u), (r_u) entries to the generatedJeremy Allison1-0/+3
Samba3 code. Jelmer please check ! Jeremy. (This used to be commit 534e8d16228ad4f1306ddf21ea9c9b988d736525)
2007-10-10r10868: make flag(NDR_PAHEX) possible to use and show the union level in hexStefan Metzmacher1-3/+5
metze (This used to be commit 7efb92adc057ad8a993eb9de66c3806608747104)
2007-10-10r10849: Fix handling of [charset] for strings with fixed or "inline" sizeJelmer Vernooij1-6/+3
(This used to be commit 3c2558d11ec1d0b41e5b36b793d9e64db2e203b6)
2007-10-10r10842: Fix some issues with [out] unions that have a discriminator that is onlyJelmer Vernooij4-76/+37
[in] (This used to be commit 3a4086d6142fa73b3adb2d66b1bfc9cd2585f31d)
2007-10-10r10840: Fix indentationJelmer Vernooij1-1/+1
(This used to be commit 7877d436576a1e7c6b02347f87e3f7e14e683888)
2007-10-10r10829: Documentation updatesJelmer Vernooij8-100/+180
Update TODO Some small fixes to the modules (This used to be commit 0c53e7c3cf7fd91fd34c48a5e68c1bcf70569854)
2007-10-10r10788: - Give unions a nameJelmer Vernooij2-2/+3
- Check initialisation function return value (This used to be commit ebb8e75ebd572d62bdb3615d41c210bcc918fa41)
2007-10-10r10787: Fix silly nodiscriminant-issueJelmer Vernooij2-1/+5
(This used to be commit 43a5c863bf81af9b8415b6ccf8a386c36d4fa7f9)
2007-10-10r10765: Actually use VALS() setting for enumsJelmer Vernooij1-21/+21
(This used to be commit 6b33e3eedd13ade5c7c9f4b5062e8b8f919fe39c)
2007-10-10r10761: we need to use a pointer to a nbt_name to fix compiler warnings, ↵Stefan Metzmacher1-2/+2
because we can only use a pointers to unknown types in proto.h metze (This used to be commit 2f46e54e1bcf43f1bee062ff9a21e646cc3676e9)
2007-10-10r10760: remove only one star from the pointers, and not from the stars thatStefan Metzmacher1-1/+3
come from the array nesting this fixes a compiler warning and but in the eventlog.h, where the idl uses nstring strings[num_strings] metze (This used to be commit c4a252bd4678ef991705aaaf91c03c697f2f568e)
2007-10-10r10742: Support multi-level pointers + ref pointer fixesJelmer Vernooij4-25/+71
(This used to be commit 258b762dc62b257f99d1d859c5a3d850aba3e9fa)
2007-10-10r10739: Reduce number of calls to prs_align_custom()Jelmer Vernooij2-22/+26
(This used to be commit ebeeec5406308d493d45b1088963a87cdb953cac)
2007-10-10r10737: Fix some alignment issuesJelmer Vernooij2-43/+70
(This used to be commit 2b4270a2e965eb5c6fe0b25d22d2977e60bb7d43)
2007-10-10r10734: Generate ptr, size, offset, and length elements in unions just once.Jelmer Vernooij2-12/+30
(This used to be commit 12bfa5d01bcb4cb9dad5167e1a3721fd68f06275)
2007-10-10r10732: Generate _ctr structures for unionsJelmer Vernooij3-8/+65
(This used to be commit bd8fcb05003ad75f521783ad9603c923eacafc1a)
2007-10-10r10721: Handle allocations and primitive / deferred data correctly. In theory,Jelmer Vernooij3-83/+273
the generated output for DFS should work now (it compiles cleanly, but I haven't tested it yet). Not supported: - subcontexts() - relative pointers - unions of pointers - DATA_BLOB - several other things Also still need to do: - Remove some spurious spaces in the output - Do range() checking Example output is still available at http://samba.org/~jelmer/pidl_samba3/ (This used to be commit e2d7e382bb645f1bddd2047669bed10f121b59d2)
2007-10-10r10718: Another large set of small improvements. All generated files compileJelmer Vernooij4-56/+160
without warnings now. The only things left to do that are required for DFS: - add allocation of arrays in marshalling phase - handling primitive and deferred data in embedded structures / unions. Example output is again available from http://samba.org/~jelmer/pidl_samba3/ (This used to be commit 9fe724f6fb026d95306587f696c065f348aaf219)
2007-10-10r10717: Another bunch of small updates. All generated files except parse_dfs.cJelmer Vernooij5-19/+31
compile now when generated from Samba4's dfs.idl. (This used to be commit 2b315b1942e77640eca8e0a3347b2a9ed1920f6a)
2007-10-10r10716: Use correct Samba3 data types for strings. Also use Samba3 typesJelmer Vernooij1-22/+65
for a couple of other types (policy handles, SIDs, times) (This used to be commit c2527217b4b4c120d82044e65b979dd3b7d2609e)
2007-10-10r10715: More Samba3 parser generator improvements:Jelmer Vernooij3-30/+111
- Actually generate parsers for unions and structs. - Support some more builtin types. - Some more work on supporting arrays. - Several other small fixes. I've updated the example output at http://samba.org/~jelmer/ (This used to be commit b229c033ebc7ec972b32f1b75b60a9c68a36db97)
2007-10-10r10713: Couple more updates to the Samba3 parser generators.Jelmer Vernooij5-90/+300
Unions and enums have been improved, init functions are now generated properly, some other small improvements. (This used to be commit 8a60e79175eb27ef9fa4b8dea72a518bbaab900f)
2007-10-10r10698: Fix support of enums in switch_type() in the ethereal parser generatorJelmer Vernooij1-4/+13
(This used to be commit 9fac8dfeb393212e16be7156de466077bc90232d)
2007-10-10r10694: Add some work I did this afternoon on getting pidl to output Samba3Jelmer Vernooij10-42/+856
RPC parsers. Currently the following files can be generated: - include/rpc_BASENAME.h - rpc_server/srv_BASENAME.c - rpc_server/srv_BASENAME_nt.c (template only, user has to fill in functions) - rpc_client/cli_BASENAME.c - rpc_parse/parse_BASENAME.c So far, I have been working on getting DFS working. Currently still to do (all in rpc_parse/parse_BASENAME.c): - Proper handling of declarations - Proper handling of scalar/buffer parts of structs and unions - Subcontexts - Proper handling of arrays - Support for custom (non-scalar) types I hope to have a somewhat more working version later this week. Some files as currently generated are available from: http://samba.org/~jelmer/pidl_samba3/ (This used to be commit 8af8eaeeef6d46f4d25ccb1d25890e1eef063e4f)
2007-10-10r10608: - fix hierachical memory handling in ndr_pull_nbt_nameStefan Metzmacher1-3/+8
- add wrepl_nbt_name scalar type and do the pull/push in the ndr layer instead of the caller - give the flags and group_flag in the wrepl_name a meaning metze (This used to be commit b98efc2905e1147eb97111b46a877bdb9d8dd154)