Age | Commit message (Collapse) | Author | Files | Lines |
|
ndr strings
(This used to be commit aa0e1d6699959571963d6e6fb455b33c4436dcdf)
|
|
code, so
adding a new pipe only involves changes to librpc/config.mk
(This used to be commit 0e54fa446665f380e9c46723a6e2be5a08b8d51c)
|
|
(This used to be commit 08cf709bc6d6701b50bbda6de45543bafe3f08a5)
|
|
(This used to be commit 0cf8c091a9f1e389eb2be036311d9e73d13e336d)
|
|
- added automatic creation of all constants in IDL as ejs variables
(This used to be commit 9398b02e4ba51145e447668e321ca927f44c0078)
|
|
- 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)
|
|
use the enum name
instead of a integer in ejs scripts making rpc calls
(This used to be commit a61cdee384c3002860016c1740276529493d318d)
|
|
- added debugging calls for missing structure/union elements
(This used to be commit f3ff48204cb8edeb9f42afbbefe13f7d49305506)
|
|
LEVELS based approach.
This allows for much more complex structure mappings to be generated.
(This used to be commit 49fc14d13291b02f7b16ab0eefe7bfb26f51b1c8)
|
|
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)
|
|
we also get perl warnings uninitialized value used in ejs.pm line 26
metze
(This used to be commit 3f0a6efd7495971d4641cc9c3a5c5ede4bbc6898)
|
|
- kill the js interpreter with an exception on internal errors
(This used to be commit 5f062d71481a0aa2d8c89099abb2d171b789879e)
|
|
- 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)
|
|
simple rpc calls to work. Still very rough, but its a start.
(This used to be commit fb2639bbc203e49f6719922b6850edf28c8748a1)
|
|
- 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)
|
|
Andrew Bartlett
(This used to be commit 8e78830ffc9280b48e1e690d95a94f1645e6e496)
|
|
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)
|
|
(This used to be commit baa8f0836f34c94a2f3d831e315575cfa7ced7c3)
|
|
please use util::MyDumper() rather than adding this back in
(This used to be commit 155da538f91c28e845a60065f19b042bf8c167ff)
|
|
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)
|
|
(This used to be commit 5122b9f608399a6c90521e2f8bd96154755fe397)
|
|
(This used to be commit 72efb695291f0ad3cdc80daa9f979454f6a81c04)
|
|
(This used to be commit 7012e10bb6252a7e602e80f05c914a783610088c)
|
|
sense. Not
used anywhere yet.
(This used to be commit a73a35cfc7b5b92cd95bd0d0fbd64d04acecccf3)
|
|
(This used to be commit 5f37f7a524611ff8227662fd19c37496c83cac7f)
|
|
cleanups and more flexibility (all output options
now take an optional filename).
(This used to be commit e3496732c66c2f9474fde58bb3930552511cb12a)
|
|
(This used to be commit 66a418a532f30a14353d923317dd6d766f62d926)
|
|
us somewhat cleaner IDL.
(This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
|
|
defines for the enum members
(this hopefully will fix the build on AIX)
metze
(This used to be commit 9d4d5163de8b78c5a03348a10ceedb220c92f7b2)
|
|
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)
|
|
metze
(This used to be commit 2db46afef719de99953e5a31036424454f6c7e43)
|
|
(This used to be commit 0dda66f0e8e6ad37d731937af184a132bf3407b1)
|
|
- 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)
|
|
metze
(This used to be commit b9e50a47f165ba120cd99f2a2b25256b6420681b)
|
|
(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)
|
|
metze
(This used to be commit 87a31621908c30b0376e98e3f4143eb591987c5c)
|
|
metze
(This used to be commit 95d3286a327467c32ee25fcac913fc5f3113a74b)
|
|
metze
(This used to be commit 978f49ced5690cda672ba7882fbddc77a3997793)
|
|
(This used to be commit 3c6e9d0bd0cb1e8692b80da6a246feb896f835db)
|
|
- 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)
|
|
(This used to be commit aaf097ec101b5e31b00e6e9a211e247ee69a118a)
|
|
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)
|
|
(This used to be commit 277f26edacccb3a3f7a90629fd6ea1f21d9f6530)
|
|
deferred
data, though it might.
(This used to be commit cf522ba372216da3dae0c534a6a698c21a484ab7)
|
|
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)
|
|
(this, is not the full fix, still doesn't work :-( )
metze
(This used to be commit 9a858b5614db8dfed13f76099bf042182dfa4a0c)
|
|
(This used to be commit b00355bf0ce241a1223dbdbb2f3b5059a2bb4204)
|
|
metze
(This used to be commit 2287ed4afa8ffe99e21496e4ec6a2a0b7cc0952c)
|
|
(This used to be commit 1e9beae533b2bd802c9651a3af620a464620d38e)
|
|
with id()
(This used to be commit 7721fc727426ae9fcc26afa773f855aa232df637)
|