summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8940: Add TDR (Trivial Data Representation). The aim is to use this later forJelmer Vernooij2-0/+270
NBT/WINS/etc rather then having to depend on NDR. (This used to be commit 5ee7af26dd220de06f1764cd1683abedeeda5131)
2007-10-10r8932: Handle non-anonymous unions and structures better.Tim Potter1-4/+4
(This used to be commit 04f993721574b4532962b5845faa4cb40a90ca38)
2007-10-10r8920: Make NAME hash entry for struct elements a list.Tim Potter1-4/+5
Return array length entries for elements that have an array specifier. (This used to be commit 17689ca7403dd8762185611da2e08545af611d71)
2007-10-10r8919: Return references to structs and unions in parse tree. Fill in typeTim Potter1-6/+17
names for structs and unions also. (This used to be commit c31be383461d8a2784aa85619b38f81a389024f2)
2007-10-10r8918: Handle const elements in structures or unions. This is a bit yucky butTim Potter1-0/+6
making an optional_const rule puts the parser in an infinite loop (?). (This used to be commit 6339cc75fae8296757c4609cede1d5703b90d52a)
2007-10-10r8910: An initial parser to parse structures in smb_interfaces.h. This will beTim Potter2-0/+1415
used to generate ejs objects for making raw smb calls. Running 'make smb_interfaces' should run the build_smb_interfaces.pl script which at the moment only displays a dump of the parsed data. Const is also not working right now but it's bedtime. (This used to be commit 1be5f55d7f6926bf7266ea72623990f0bb558c94)
2007-10-10r8878: Spelling fixes. (-:Tim Potter1-2/+2
(This used to be commit f850faca9797c9818a46fec72dba069cac5a6db7)
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell1-1/+1
calls. This changes the generated RPC and IRPC calls to use the 'this' object pointer instead of requiring the passing of the object on each call. So typical usage is now: var echo = echo_init(); var io = irpcObj(); status = echo.connect("ncacn_np:server"); assert(status.is_ok); io.input.in_data = 7; status = echo.AddOne(io); assert(status.is_ok); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8809: Merge validator with NDR.pm (validator is NDR-specific)Jelmer Vernooij3-374/+355
(This used to be commit 5c0a22167d3424573ede99937549d815d067f0bc)
2007-10-10r8806: Move data representation-independent data into seperate headerJelmer Vernooij5-292/+377
(This used to be commit 26e1fdf63007e28468a05b18bede1e69981edc12)
2007-10-10r8803: Rename --header to --ndr-header and --parser to --ndr-parserJelmer Vernooij1-12/+12
(This used to be commit d292ab7ca6ce8232a182e7ec9480671bb3044a6a)
2007-10-10r8801: Change --output to --outputdir and make pidl add a data ↵Jelmer Vernooij2-46/+21
representation prefix to pidl itself. Useful for supporting other data representation types. (This used to be commit 5af68a04763f39f2a9898155e2c82ed2ee646f36)
2007-10-10r8690: Code cleanups, improvements necessary for dependencies (not added yet)Jelmer Vernooij2-8/+4
(This used to be commit 7384b3c4a1450ad63356dcf586e3a7e7335f8e6d)
2007-10-10r8635: make object inheritance with the builtin objects easy by allowingAndrew Tridgell1-5/+4
callers to optionally supply an existing object to add the properties to. So you can do: var rpc = samr_init(); lsa_init(rpc); and you end up with 'rpc' having both the samr and lsa functions and constants available. (This used to be commit 6a1ed328e27769bd52899fc2437a43fc17104eff)
2007-10-10r8623: Fix warnings in ODL-generated code.Jelmer Vernooij2-0/+2
(This used to be commit 78ef2349c7a1bff19fb86a41bf5c074a2dfcb222)
2007-10-10r8622: Support parsing new structs/unions/enums/bitmaps without typedef inJelmer Vernooij2-646/+757
(This used to be commit cd33b5efc544345411db498b178fa532a9a2c82f)
2007-10-10r8621: Simplify code. Add support for nested structures back into the header ↵Jelmer Vernooij6-165/+80
generator. (This used to be commit 5610838385ca00a944fb4765df1854954a3a81bc)
2007-10-10r8614: Add COMRESULT/HRESULT scalar typeJelmer Vernooij1-1/+7
(This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3)
2007-10-10r8613: Remove a couple of empty loops.Jelmer Vernooij1-2/+5
(This used to be commit 94e338805de465a3ec7d82aa599f09adfcc06bd8)
2007-10-10r8612: Parse::Pidl::NDR:Jelmer Vernooij2-9/+11
Values that are deferred but don't contain deferred data don't need NDR_BUFFERS Parse::Pidl::Samba::NDR::Parser: Only use manually written array access functions when the array functions are faster then the autogenerated ones. Makes ndr_basic.c a bit shorter. (This used to be commit cad40815dcfb7cdcab13bd0cd204ef8711605ef3)
2007-10-10r8566: Couple of code cleanupsJelmer Vernooij1-88/+74
(This used to be commit e43ac10e36e289966fdf34a8c5b523cd7fbcb368)
2007-10-10r8559: Couple of (D)COM updates:Jelmer Vernooij3-4/+9
- Fixes annoying array-of-pointers bug in pidl. - No longer "inherit" alignment thru subcontexts - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see (This used to be commit bd706d496405d274b68c1ee560211837a8e63009)
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)