summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2003-12-07a bit more speed and better line matching in errorsAndrew Tridgell1-4/+8
(This used to be commit 788f6c44dbae48e13c9eeaca3bfa3ac7efbbd4e2)
2003-12-07make pidl a little less verboseAndrew Tridgell1-4/+2
(This used to be commit 76f48affe5d1e8fd96d5dc9af2ec1059f3dd741c)
2003-12-07re-wrote pidl to use Parse::Yapp instead of Parse::RecDescent, ThisAndrew Tridgell5-3071/+313
makes pidl about 3x faster, and also gives us much better error reporting and a more standard grammer definition that will be much easier to code in lex/yacc if we want to do so at a later date. (Parse::Yapp uses essentially the same grammer file as lex/yacc) It also means we no longer need Parse::RecDescent, which should make pidl much more portable. (This used to be commit 4bbaffeb44dca99ad8c0245beb1fddbe01557215)
2003-12-02netr_DatabaseSync() now works fully for databases 0, 1 and 2Andrew Tridgell1-1/+1
(This used to be commit c4c09e9413d3886e030e98739121bbae81f80ca5)
2003-12-02added netr_DatabaseSync(). It doesn't work as I haven't done schannelAndrew Tridgell1-19/+17
yet, but at least the request is understood by w2k3 Also modified pidl to allow multiple branches in a union to have the same element. This is used in netlogon. (This used to be commit 983c0e9683fa9666a6e055d1776ebeef8cd2e700)
2003-12-02 * netr_ServerPasswordSet() now works - the test suite changes theAndrew Tridgell1-1/+11
machine account password. * neater handling on value() options in IDL. The auto-print code will now display the right value so you don't need to initialise it in your C code (This used to be commit 3dd978b12bb5571fba4e1839c0f7ee60cf729aa2)
2003-12-01added netr_LogonSamLogon() and test codeAndrew Tridgell1-1/+1
(This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b)
2003-12-01added netr_ServerReqChallenge and cleaned up byte array printingAndrew Tridgell1-1/+11
(This used to be commit bb42107dccf3a384a4a5c029b4d2752e0898d7cb)
2003-12-01started adding netlogon IDL and test suiteAndrew Tridgell1-0/+2
(This used to be commit 3d64eefb464d09fb6e84d6139f801887a278cf86)
2003-11-28make sure there is at least one valid interface in an IDL fileAndrew Tridgell1-1/+1
(This used to be commit 86ab394806a5f9dfc20fabda071d72ca29703f62)
2003-11-28 * added a bunch of placeholder IDL filesAndrew Tridgell2-2/+44
* allow for an interface to list its endpoints in the IDL file, so we can automatically make the server listen on the right pipes, and can scan pipes more easily (I don't take advantage of this yet, just putting the infrastructure in place) (This used to be commit c8b8480244b4ab6204403dc65e92e4317b410a84)
2003-11-28 * support multiple interfaces in one IDL file in pidlAndrew Tridgell4-31/+35
* make far more generated functions static * get rid of gen_rpc, and include the client calls in ndr_*.c * added placeholder IDL for a number of intefaces (dcom, wzcsvc, browser etc) (This used to be commit a2bdf0be0119023df3c2b9ea515ed355020f2625)
2003-11-28added auto-generation of the IDL interface tables. This makes two lessAndrew Tridgell2-1/+98
places that need to be edited when someone adds a new IDL file. (This used to be commit ccd9ddeed679baa6cbb05ac728b381b50420e00f)
2003-11-27added an rpc scanner. This prints messages like this:Andrew Tridgell2-4/+7
uuid 82273fdc-e32a-18c3-3f78-827929dc23ea version 0x0000:0x0000 'eventlog' 24 calls available WARNING: local IDL defines 4 calls when all the WARNINGs are gone then we know we have all the calls :) (This used to be commit f5821b2468a0c46d0e5590de59562926d746c349)
2003-11-26added auto-determination of the DCERPC over TCP port number by askingAndrew Tridgell1-1/+1
the servers endpoint mapper (This used to be commit 4abf5376b00f580eb69196e55a792cc7eb4c9880)
2003-11-26added some paranoid checking for enumsAndrew Tridgell1-2/+5
(This used to be commit 3492f37b0bf14797514f1dc603f518bf5b801c3c)
2003-11-24 * prepared the dcerpc subsystem for adding the RPC over TCP transportAndrew Tridgell1-3/+3
* fixed a uninitialised variable bug in pidl (found by valgrind) (This used to be commit 8bce61b8af6351c72c0dd84dc61b49d8aeb1fbbd)
2003-11-24give far more detail in the EPMAPPER resultsAndrew Tridgell1-3/+3
(This used to be commit 420301969820ffaa0a87b091c7a79372c99cb658)
2003-11-24make sure we don't try to update a constantAndrew Tridgell1-2/+8
(This used to be commit 4a6034f2e37d1050364fc167f1b71b5c806dfdc9)
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell2-15/+36
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-23added a tool called 'ndrdump' that allows you to dump NDR dataAndrew Tridgell2-2/+42
according to the current IDL taking the data from a file. In combination with a little hack to ethereal to extract data this is a quite powerful IDL development tool. (This used to be commit 229a325c3cf0d4dc1e910ed32e1d7391040aeba1)
2003-11-23fixed the handling of value() attributes on scalars in IDL thatAndrew Tridgell1-9/+5
reference other elements of the same structure (This used to be commit d8d17be290730670bad0fea91188d394160cb879)
2003-11-23ooh, this is fun!Andrew Tridgell2-2/+6
I have recoded the core dcerpc packet structures (all the PDUs etc) in terms of IDL, which means we now use pidl to generate all the code for handling the most basic dcerpc packets. This is not normally possible as it isn't completely valid NDR, but pidl has a number of extensions that make it quite easy. This also means we get the server side dcerpc marshalling/unmarshalling code for free. (This used to be commit 92bcad02587c3c1b31b523ee9fa46658a6cef9ff)
2003-11-23save about 35% of the time for "make idl" by processing multiple IDLAndrew Tridgell1-58/+72
files at once, which means less perl startup time. (This used to be commit 64b2c67e479ddc754d18f752d347ba22a6d77682)
2003-11-22added support for enumerated types in IDL files. This makes unionsAndrew Tridgell2-17/+43
easier to work with. (This used to be commit 60be15d306e7b65efdd27df02250c0264996ccf3)
2003-11-22added support for 'const' in IDL files. This makes it easy to defineAndrew Tridgell2-5/+25
symbolic names for bitfields etc. (This used to be commit 344a6e1682cc1afab24735e73d05cf15f6eb9816)
2003-11-22added the beginnings of an IDL validator, to give clearer errors whenAndrew Tridgell2-0/+104
IDL is not valid (This used to be commit c1b708708e262350d697829d444d0fb6a981a80f)
2003-11-22 * fixed handling of relative subcontext unionsAndrew Tridgell1-2/+2
* fixed GetPrinter in spoolss after OpenPrinter (This used to be commit 4aea2d79dd6b14e0fdfafd2236849ece01839ce0)
2003-11-22 * enable RPC/NDR validation in all smbtorture codeAndrew Tridgell1-2/+2
* allow us to distinguish between null arrays and zero length arrays, by making the allocation size a minimum of 1 on array pull (This used to be commit 11c0fe548ecfb03424f51e1354b86d4692e8f07c)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell2-57/+132
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-22added Parse::RecDescent module into pidl to ensure we all use the sameAndrew Tridgell4-1/+3058
version. This should fix the problems Richard was seeing. (This used to be commit 76c24a5cb09b096a9cb490f3bb42af0b9d0f5fa9)
2003-11-21fixed a bug with pushing non-pointer unionsAndrew Tridgell1-1/+3
(This used to be commit bc2fbc79cc7c0308934f351b067a88b4b397de37)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell5-33/+113
interface. We now support an arbitrary set of flags to each parser, and these can be used to control the string types. I have provided some common IDL string types in librpc/idl/idl_types.h which needs to be included in every IDL file. * added IDL for the endpoint mapper. Added a test suite that enumerates all endpoints on the server. (This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21added support for 'ascstr', a ascii string in MSRPC !Andrew Tridgell2-5/+6
(This used to be commit a5eeb3be0577e0ce91ac1f6e641782e4acbbda07)
2003-11-20ignore generated idl.pmAndrew Tridgell1-1/+2
(This used to be commit e9d18ecc2d513dc7aba9a0545808a95893544fe6)
2003-11-20we now use a copy of pidl inside the samba4 source tree atAndrew Tridgell2-12850/+1
source/build/pidl/ I imported the code using direct respository manipulation to preserve the commit history (This used to be commit 2ed87a52ccc343c281e29f5a18f3f99fe06beb28)
2003-11-20make sure we don't try to use c++ style variable declarationAndrew Tridgell1-1/+5
(This used to be commit 9fee73793171e2cd295899ec0db8bcecfa95ca72)
2003-11-20fixed pushing structures containing pointers inside unionsAndrew Tridgell1-1/+1
(This used to be commit bb30f42cd4e20d53066634727347a601b4eb562e)
2003-11-20a bit neater way of emitting codeAndrew Tridgell3-210/+217
(This used to be commit 964c3237215b36f5768b98c19689ddc43cf86cac)
2003-11-20 * cope with pidl not being in $HOME/pidlAndrew Tridgell2-3/+9
* cope with empty structures in unions (This used to be commit a706ff78937bea64acd28381466770749566399f)
2003-11-20use a precompiled grammer in pidl. This speeds up pidl by about aAndrew Tridgell7-8/+12860
factor of 2 on my system. (This used to be commit a291dd835f68ae5a109670b1d1ca1a48b2aacfb6)
2003-11-20avoid compiler warnings for unused variables with [relative] pointersAndrew Tridgell1-1/+2
(This used to be commit 786566e53c22d8d0813cf006a70aef8508bba4dd)
2003-11-20its LoadStructure() in util.pm that doesn't like strict perl - anyAndrew Tridgell1-11/+9
perl gurus out there know why? (This used to be commit a1d9afc92fce52a76c0a233513b2cb24f0cb9cf5)
2003-11-20damn, "use strict;" in util.pm breaks pidl - but why?Andrew Tridgell2-1/+1
(This used to be commit 8f54792392ccaa6c1464ed8ec90e44c0048b5ee2)
2003-11-20use strict perl package everywhere for error checkingAndrew Tridgell5-2/+6
(This used to be commit 3b7a4b70a321a1e8e378b8c5cc1e87a1c3399e91)
2003-11-20 * added a 'lstring' type for spoolssAndrew Tridgell3-4/+19
* added some notes on type equivalents in NOTES.txt (This used to be commit a44d952fcb7ebf85d3072b622e5656dcf25cfbb0)
2003-11-20 * added support for empty case elements (including default cases)Andrew Tridgell3-30/+49
* changed to midl syntax using [case(x)] instead of case(x) (This used to be commit 6ecdb25e137c25e6bf9a7037a4eb602ae1afc514)
2003-11-19switched to a new way of handling unions, so that we can handleAndrew Tridgell2-30/+123
alignment correctly for unions that have non-uint16 discriminants added recursive structure alignment. This gets quite hairy, but I think I've got it mostly right. (This used to be commit c0d96f87ea633b1372a383f705aaf4ed3099b4a7)
2003-11-19slightly more accurate structure alignment code - I need to do properAndrew Tridgell2-3/+2
recursive alignment soon (This used to be commit d3838c3668d5acb4aee86e3dd5b8d7d23bc842ff)
2003-11-18auto-generate the pipe UUID version and nameAndrew Tridgell2-11/+34
(This used to be commit cdba426e62a5b30263b75f53f97b191da224a55f)