summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell1-11/+9
means we don't pollute the name space, and also makes for faster startup times as we only create variables for the pipes that we use, not all pipes (This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
2007-10-10r8471: --ejs taking an optional arguments interferes with the pidl extra argsAndrew Tridgell1-3/+3
(This used to be commit a9d05af0fd802cf0cbe1298c3c988dcd2eb1b848)
2007-10-10r8399: move the ejs and esp code closer to the directory layout used by theAndrew Tridgell1-1/+1
upstream sources. This makes it much easier to keep it up to date. I will separate out the mpr code into lib/appweb/mpr next (This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
2007-10-10r8283: make sure we build constant variables for both pull and push side of ↵Andrew Tridgell1-12/+20
enums (This used to be commit 529370ed92f5a683ae7bd34d0cd2ce01c2bda81a)
2007-10-10r8281: pass the callnum and rpc interface table directly from the generatedAndrew Tridgell1-3/+6
code in pidl for ejs calls. This means that ejs_rpc_call() doesn't need to scan the rpc tables for the right interface, and doesn't need to scan for the call name (This used to be commit 1c6b1102e5c2529206b917e7c6b279c4f63d0e9a)
2007-10-10r8275: possibly a more portable way to export symbols in perl?Andrew Tridgell3-6/+9
(This used to be commit d5153d16e1630e85c05a19b2d279bb1100497be5)
2007-10-10r8274: Export some more symbols.Jelmer Vernooij11-145/+184
(This used to be commit d1f754a0a34c5938579a605b4f113100e14bac3d)
2007-10-10r8270: Export some symbols, making the code more readable.Jelmer Vernooij12-103/+117
(This used to be commit d64bffa17ea1c46d917e362d51741148b85fb97f)
2007-10-10r8268: added the 'needed' logic to ehs generation, so we don't generateAndrew Tridgell1-13/+73
functions we don't need. That is a lot of functions, as ejs is only client side, so it only needs push functions for [out] vars, and pull functions for [in] vars added irpc and srvsvc IDL to list of available pipes. (This used to be commit c7a9dbe70a39156a20e56b4dd732fd838437eecd)
2007-10-10r8267: re-generated the yapp parser with correct pathsAndrew Tridgell1-59/+59
(This used to be commit a6922ccd636a343ff13127db0f721e4f9296efb4)
2007-10-10r8265: Fixes to the pidl test suite.Jelmer Vernooij8-62/+51
(This used to be commit 1235333afbfab643ea35e9b43f6142da3f6a41d7)
2007-10-10r8264: - Use standard perl package structure for pidl.Jelmer Vernooij28-530/+371
- Only "use" pidl modules in the main executable when necessary Try 'make install' in build/pidl to install the package (should work stand-alone). (This used to be commit c620095692122a65ae1c5d85ca20468d4de93c54)
2007-10-10r8263: Some small pidl fixes, start working towards supporting installation ↵Jelmer Vernooij3-4/+6
of pidl. (This used to be commit c785677a14c958a518d5a9755d2b94e81b34bdb3)
2007-10-10r8261: charset style strings in pidl should be const, just like old style ↵Andrew Tridgell1-1/+1
ndr strings (This used to be commit aa0e1d6699959571963d6e6fb455b33c4436dcdf)
2007-10-10r8260: added an init based registration system for the generated ejs rpc ↵Andrew Tridgell1-0/+11
code, so adding a new pipe only involves changes to librpc/config.mk (This used to be commit 0e54fa446665f380e9c46723a6e2be5a08b8d51c)
2007-10-10r8243: fixed indentation of generated ejs interface codeAndrew Tridgell1-92/+167
(This used to be commit 08cf709bc6d6701b50bbda6de45543bafe3f08a5)
2007-10-10r8242: support bitmap constants from ejs callsAndrew Tridgell1-4/+13
(This used to be commit 0cf8c091a9f1e389eb2be036311d9e73d13e336d)
2007-10-10r8238: - fixed handling of NULL pointers from ejsAndrew Tridgell1-0/+23
- added automatic creation of all constants in IDL as ejs variables (This used to be commit 9398b02e4ba51145e447668e321ca927f44c0078)
2007-10-10r8233: - added support for more base types in pidl ejsAndrew Tridgell4-18/+149
- added auto generation of a header with prototypes for public ejs functions - make public functions non-static - fixed allocation of fixed sized arrays - added 'noejs' flag indicating that a typedef will be handled manually by ejs - added manual functions for sid and GUID, so they show up as nice strings in ejs scripts This allows ejs to bring in samr, security, lsa and misc IDL functions (This used to be commit a8cb2dbdcc2871090a26f580f67db8f0636d1e7e)
2007-10-10r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now ↵Andrew Tridgell1-1/+29
use the enum name instead of a integer in ejs scripts making rpc calls (This used to be commit a61cdee384c3002860016c1740276529493d318d)
2007-10-10r8216: - handle union pull in ejs pidl generationAndrew Tridgell1-2/+19
- added debugging calls for missing structure/union elements (This used to be commit f3ff48204cb8edeb9f42afbbefe13f7d49305506)
2007-10-10r8215: switched the pull side of the ejs generator over to the recursive ↵Andrew Tridgell1-31/+57
LEVELS based approach. This allows for much more complex structure mappings to be generated. (This used to be commit 49fc14d13291b02f7b16ab0eefe7bfb26f51b1c8)
2007-10-10r8213: I've started to understand the LEVELS stuff in pidl much better now,Andrew Tridgell1-53/+93
and have re-coded the push side of the ejs generator to use it properly. It ends up being very neat and small, and should handle much more complex structures (like arrays of pointers to unions etc). Also added push side support for unions. This should get more of the echo pipe working via ejs. (This used to be commit 2e306be1d83f722c259c4a63233e77d8bb1d5a72)
2007-10-10r8203: fix the build temporary,Stefan Metzmacher1-2/+2
we also get perl warnings uninitialized value used in ejs.pm line 26 metze (This used to be commit 3f0a6efd7495971d4641cc9c3a5c5ede4bbc6898)
2007-10-10r8200: - added stub functions for union pull/pushAndrew Tridgell1-6/+31
- kill the js interpreter with an exception on internal errors (This used to be commit 5f062d71481a0aa2d8c89099abb2d171b789879e)
2007-10-10r8198: - handled push/pull of simple strings in ejsAndrew Tridgell1-20/+56
- improved the error handling, so the ejs wrappers don't just ignore a type they don't handle, instead an exception is issued saying what isn't handled (This used to be commit a77c2aa8606ad668f6a513211a1d9e7d6193d741)
2007-10-10r8191: updated the ejs code generator in pidl to generate enough code forAndrew Tridgell2-20/+340
simple rpc calls to work. Still very rough, but its a start. (This used to be commit fb2639bbc203e49f6719922b6850edf28c8748a1)
2007-10-10r8167: - use the same algorithm than w2k3 for 'unique' pointer valuesStefan Metzmacher3-6/+15
- add a new 'sptr' (simple-full) pointer type to simulate what we need to support pipes like epmapper and mgmt that uses 'ptr' full pointer in their spec - I runned make test and test_w2k3.sh with this, all fine does we have any other pipe using 'unique' pointer where we need 'ptr'? btw: jelmer, what does 'ignore' pointers do? they are allowed in pidl but not implemented! metze (This used to be commit d19068bfb2e3ff5d88bc3b76d5cef93417c7f218)
2007-10-10r8162: Revert my pad8 hack.Andrew Bartlett3-9/+1
Andrew Bartlett (This used to be commit 8e78830ffc9280b48e1e690d95a94f1645e6e496)
2007-10-10r8110: More PAC work. I still can't get WinXP to accept the PAC, but we areAndrew Bartlett3-1/+9
much closer. This changes PIDL to allow a subcontext to have a pad8 flag, saying to pad behind to an 8 byte boundary. This is the only way I can explain the 4 trainling zeros in the signature struct. Far more importantly, the PAC code is now under self-test, both in creating/parsing our own PAC, but also a PAC from my win2k3 server. This required changing auth_anonymous, because I wanted to reuse the anonymous 'server_info' generation code. I'm still having trouble with PIDL, particulary as surrounds value(), but I'll follow up on the list. Andrew Bartlett (This used to be commit 50a54bf4e9bf04d2a8e0aebb3482a2ff655c8bbb)
2007-10-10r8101: Fix some indentation.Tim Potter1-8/+8
(This used to be commit baa8f0836f34c94a2f3d831e315575cfa7ced7c3)
2007-10-10r7923: removed dependence on Data::DumperAndrew Tridgell2-5/+0
please use util::MyDumper() rather than adding this back in (This used to be commit 155da538f91c28e845a60065f19b042bf8c167ff)
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)