summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7865: changed pidl to take a "const void *" instead of a "void *" for theAndrew Tridgell4-14/+12
structure in ndr_push_*() and ndr_print_*(). The push and print functions really should not modify the structure. metze, to make this work I had to change your spoolss hand marshaller. Can you please check it is OK? I think that the IN and OUT sides of that function are not ever called on the same structure, so I think that attempt at remembering the value by assigning to r->in._offered was not doing anything anyway, but please correct me if I have misunderstood it. If you really do need to remember something on those structures I'd suggest the ndr_token_store() and ndr_token_retrieve() functions, which are used by pidl for just this sort of thing. (This used to be commit eee528be97fa43ca53bdc5652b4d29a0a2caf563)
2007-10-10r7729: Small fixes to the charset stuff.Jelmer Vernooij3-12/+25
(This used to be commit 5122b9f608399a6c90521e2f8bd96154755fe397)
2007-10-10r7706: Move ParseExpr() to util.Jelmer Vernooij3-83/+48
(This used to be commit 72efb695291f0ad3cdc80daa9f979454f6a81c04)
2007-10-10r7702: Implement [charset()] attribute.Jelmer Vernooij3-13/+27
(This used to be commit 7012e10bb6252a7e602e80f05c914a783610088c)
2007-10-10r7695: Add support for the [string] attribute that works in the traditional ↵Jelmer Vernooij4-57/+77
sense. Not used anywhere yet. (This used to be commit a73a35cfc7b5b92cd95bd0d0fbd64d04acecccf3)
2007-10-10r7605: Display properties in header files again.Jelmer Vernooij1-15/+16
(This used to be commit 5f37f7a524611ff8227662fd19c37496c83cac7f)
2007-10-10r7604: Bunch of small pidl updates. Mostly removing unused functions,Jelmer Vernooij7-313/+142
cleanups and more flexibility (all output options now take an optional filename). (This used to be commit e3496732c66c2f9474fde58bb3930552511cb12a)
2007-10-10r7590: Cleanups, add more notes on new string code.Jelmer Vernooij4-61/+35
(This used to be commit 66a418a532f30a14353d923317dd6d766f62d926)
2007-10-10r7552: Use ParseExpr() for [value] attributes; allowsJelmer Vernooij3-6/+7
us somewhat cleaner IDL. (This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
2007-10-10r7424: add --uint-enums option to pidl to generateStefan Metzmacher3-14/+59
defines for the enum members (this hopefully will fix the build on AIX) metze (This used to be commit 9d4d5163de8b78c5a03348a10ceedb220c92f7b2)
2007-10-10r7377: Integrate browse service stuff more nicelyJelmer Vernooij1-0/+27
Add notes on mailslots Add TODO list for pidl, including some plans on switching over to using [string] attributes for pidl. (This used to be commit fca195ce072bacb0543625aec7f4bce814e278eb)
2007-10-10r7330: use ParseExpr() also for subcontext_size()Stefan Metzmacher1-7/+11
metze (This used to be commit 2db46afef719de99953e5a31036424454f6c7e43)
2007-10-10r7274: Move m4 files to seperate dirJelmer Vernooij2-0/+18
(This used to be commit 0dda66f0e8e6ad37d731937af184a132bf3407b1)
2007-10-10r7195: - Fix echo pipeJelmer Vernooij1-12/+32
- Don't allocate strings - Give higher preference to the [out] part of variables when they are being used by another [out] variable. Also make sure that [in] variables never use [out] variables (i.e. switch_is() on an [in] variable can no longer use an [out] variable). (This used to be commit 837c83d77a2d1990419c4f3e343616daf8da5799)
2007-10-10r7187: fix alignment of unionsStefan Metzmacher2-17/+14
metze (This used to be commit b9e50a47f165ba120cd99f2a2b25256b6420681b)
2007-10-10r7186: add [relative_base] property, which is allowed on typedef'sStefan Metzmacher2-6/+66
(maybe we could add them to elements latter...) with this property all relative pointers from inside the struct or union are relative to the struct/union start metze (This used to be commit c0dd18326c058e3e218d43f48ecff418f4b0b51e)
2007-10-10r7185: fix formattingStefan Metzmacher1-35/+35
metze (This used to be commit 87a31621908c30b0376e98e3f4143eb591987c5c)
2007-10-10r7184: remove unused ndr_pull/push_struct_start/end() functionsStefan Metzmacher1-14/+2
metze (This used to be commit 95d3286a327467c32ee25fcac913fc5f3113a74b)
2007-10-10r7167: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit 978f49ced5690cda672ba7882fbddc77a3997793)
2007-10-10r7165: Fix pidl testsJelmer Vernooij7-7/+6
(This used to be commit 3c6e9d0bd0cb1e8692b80da6a246feb896f835db)
2007-10-10r7161: - Add support for "aliases" for pidls scalar types and add a few aliases.Jelmer Vernooij3-7/+24
- Define __PIDL__ when preprocessing IDL files. - Remove a couple of useless defines from rpcecho.idl rpcecho.idl now works in both pidl and midl (althought pidl is a bit pedantic and gives two warnings) (This used to be commit 6731e0a6548ac24d561ba48c8e9611d0034e662f)
2007-10-10r7160: Initial work on an esp function wrapper generatorJelmer Vernooij2-5/+91
(This used to be commit aaf097ec101b5e31b00e6e9a211e247ee69a118a)
2007-10-10r7159: Improve the messages from pidl's validator module.Jelmer Vernooij2-15/+42
Change the IDL file for the echo interface to match the one we use for Windows. The only thing different between the two files currently is the names of the scalar types and the handling of strings. (This used to be commit b264c61061d222347919837600adf809fbadfb13)
2007-10-10r7122: Some cleanups, simplification of the code.Jelmer Vernooij4-223/+93
(This used to be commit 277f26edacccb3a3f7a90629fd6ea1f21d9f6530)
2007-10-10r7121: More subcontext fixes. A subcontext does not always imply internally ↵Jelmer Vernooij2-6/+1
deferred data, though it might. (This used to be commit cf522ba372216da3dae0c534a6a698c21a484ab7)
2007-10-10r7119: the content of a subcontext can contain deferred data,Stefan Metzmacher1-1/+1
but for the caller a subcontext is like a scalar... the first point is more important and is fixed with this commit, however it would be nice if we could make them look like scalars to the callers later metze (This used to be commit 8a16aa6401ff57624e35b785b8f6a6acda56ea1f)
2007-10-10r7118: allways pull scalars and buffers when pulling the subcontext contextStefan Metzmacher1-5/+5
(this, is not the full fix, still doesn't work :-( ) metze (This used to be commit 9a858b5614db8dfed13f76099bf042182dfa4a0c)
2007-10-10r7117: Move more manpages to the source repositoryJelmer Vernooij1-0/+518
(This used to be commit b00355bf0ce241a1223dbdbb2f3b5059a2bb4204)
2007-10-10r7115: specify what properties can be used on what objects...Stefan Metzmacher1-57/+114
metze (This used to be commit 2287ed4afa8ffe99e21496e4ec6a2a0b7cc0952c)
2007-10-10r7111: Patch from Alan DeKok for correct use of the needed variables in Decl*Jelmer Vernooij1-6/+8
(This used to be commit 1e9beae533b2bd802c9651a3af620a464620d38e)
2007-10-10r7109: Change noid() to noopnum() so it isn't confusing to people familiar ↵Jelmer Vernooij2-11/+2
with id() (This used to be commit 7721fc727426ae9fcc26afa773f855aa232df637)
2007-10-10r7102: fix subcontext(0)Stefan Metzmacher1-2/+3
metze (This used to be commit 81c878b7b2e0cb5f4c042fab4d27953c3ef1e9c9)
2007-10-10r7098: - make use of the NDR table instead of the IDL table in the client ↵Stefan Metzmacher7-102/+153
and server generation - add 'noid' property to allow functions to be not present in the function table, and not generate client and server functions for them - print out a warning about [id()] not being correctly supported yet metze (This used to be commit 189730d1430e7f728d62dd5dc52f2a90c1a556d7)
2007-10-10r7084: - readd the work from rev 6516,6517,6572Stefan Metzmacher6-130/+217
- use a single list of scalars - let "string" not be so special anymore - fix support for "string_array" metze (This used to be commit e1fa7ae6c8420dc582578e084b9c0d641bcfbd73)
2007-10-10r7059: Use namespaces for pidl and the build system, so we can later onJelmer Vernooij17-64/+108
call out to the build system to compile the various pidl tests (without having to rely on shared library support). Initial work on an ndr_array test. (This used to be commit 2b08c4b92b4f56180c123a502bdcc6c40188c07f)
2007-10-10r7043: Patch from Julien Kerihuel <j.kerihuel@openchange.org> to reenableAndrew Bartlett1-1/+2
'obfustication' in the new PIDL. Jelmer: Can you double-check this? Andrew Bartlett (This used to be commit 2a1426c52f113237edeba4de25c402257f31ebe6)
2007-10-10r7037: Add enough pointers in the header file as wellJelmer Vernooij1-9/+13
Fix a couple of warnings. (This used to be commit fcaa9d495c13af5065dd32f8ed65d4260b3a5539)
2007-10-10r7036: Allow more operations in several properties (such as size_is, length_is,Jelmer Vernooij3-443/+491
switch_is, etc) and simplify the code involved (This used to be commit 86de98ee09348297f2c30ce15888ba5e5637c078)
2007-10-10r7029: Make array support in pidl similar to that in other IDL compilers. We ↵Jelmer Vernooij1-84/+83
should now able to use constructions like these: [size_is(20)] int *x; -> Pointer to array of 20 ints [size_is(20)] int x[]; -> Array of 20 ints [size_is(20)] int *x[]; -> Array of 20 pointers to ints [size_is(20,)] int *x[] -> Array of 20 pointers to ints [size_is(,20)] int *x[]; -> Pointer to array of 20 ints [size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints [size_is(20)] int x[][30]; -> 20 blocks of 30 ints (This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
2007-10-10r7022: Add support for parsing definitions of multi-dimension arrays.Jelmer Vernooij9-163/+121
This will also be required for supporting parsing pointers to arrays and arrays of pointers simultaneously. (This used to be commit a34f848b02a6e8284d62532a792a5136e846fe8f)
2007-10-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij19-2276/+3095
The main difference in this new version is the extra data structure generated between the IDL data structure and the NDR parser: IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc } This makes the ndr_parser.pm internals much more sane. Other changes include: - Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags. - Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc.. - Use if() {} rather then if () goto foo; everywhere - NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC - By default, top level pointers are now "ref" (as is the default in most other IDL compilers). This can be overridden using the default_pointer_top() property. - initial work on new ethereal parser generators by Alan DeKok and me - pidl now writes errors in the standard format used by compilers, which is parsable by most editors - ability to warn about the fact that pidl extension(s) have been used, useful for making sure IDL files work with other IDL compilers. oh, and there's probably some other things I can't think of right now.. (This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2007-10-10r6926: More build farm fixes:Jelmer Vernooij5-16/+7
- Warn about unknown attributes in .mk - Remove more unused functions (This used to be commit 6bf8126ae9368dc56cf0cd91b972a2d939974679)
2007-10-10r6873: fixed exec bitAndrew Tridgell1-0/+0
(This used to be commit 4e159a757015faa007419bdaf0ceea8cdbe595ee)
2007-10-10r6862: Add some more testsJelmer Vernooij6-30/+178
Accept new command-line options --keep, --outputdir and --idl-compiler. We're currently at 34 IDL tests (...and counting) (This used to be commit 7004f9515b75bce5b46e444f1865d377fdae0afa)
2007-10-10r6860: Add some allocation and alignment tests, remove uint64 from list of ↵Jelmer Vernooij5-6/+187
scalars (it doesn't have any push/pull functions anymore either) (This used to be commit 7d36e27e228ce83a5ce159eb424c4b5194c0e2fb)
2007-10-10r6859: Add ndr_align tests, use environment variables ($CC, $CFLAGS, $LDFLAGS)Jelmer Vernooij3-9/+51
where possible. (This used to be commit 077f4105aceba99a7ac4de21a20bb758fcc01203)
2007-10-10r6857: - Support [public] on functionsJelmer Vernooij3-133/+263
- Add some more pidl tests based on ref_notes.txt We currently fail some tests because we don't default to "ref" for top-level pointers at the moment. We also fail some of the multi-level tests. (This used to be commit 187802f580d85e19ee9b7f07db931d0511f197bc)
2007-10-10r6856: Add a couple of tests that test for the behaviour described inJelmer Vernooij2-1/+377
tridge's ref_notes.txt document. (This used to be commit 04196e0aff10846ec69a9c35e61517bb7f856386)
2007-10-10r6854: Add --quiet option to pidlJelmer Vernooij3-2/+173
Some work on a testsuite for pidl, including one simple test. (This used to be commit a5aa61f54ea20f0b400359f9b3119f0ff0720431)
2007-10-10r6836: Allow optionally passing in a destination filename for NDR parsersJelmer Vernooij1-12/+18
and NDR headers (This used to be commit 421e7feee96ebda1bf92814e06257d728ea2b1e5)