1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-08 16:23:49 +03:00
Commit Graph

32 Commits

Author SHA1 Message Date
Andrew Tridgell
eb887f883a better [relative] handling, allowing for nested relative structures
and arrays of relative structures
-
Andrew Tridgell
4a34a4f29c * the beginnings of non-constant fixed arrays
* added relative pointers support
-
Andrew Tridgell
fb2f8c6bff added support for "relstr", structure and union properties and public
functions
-
Andrew Tridgell
01cc199d78 added the "subcontext" attribute for auto-handling of user-marshalled
sub-context buffers
-
Andrew Tridgell
f5b577a2b9 added support for varying conformant arrays (needed for samr
userinfo3)
-
Andrew Tridgell
f38ecd7ff7 fixed alignment of the buffers part structures -
Andrew Tridgell
c7ddd6b2aa support a new value() attribute that allows us to auto-fill certain
elements. Used at the moment for string lengths.

the regular expression isn't right, but it works for the case I need.
Perl expert needed :)
-
Tim Potter
4a6f192ff8 Fix bug in generation of function ndr_pull code generation. This patch
makes the code symmetric with the ndr_push code.
-
Andrew Tridgell
f0a8f063a6 it turns out that all MS servers ignore the artifact struct_len fields
in OpenPolicy and OpenPolicy2, so we don't in fact need the
[struct_len] attribute. This makes our IDL much closer to the MS IDL.
-
Andrew Tridgell
e66daf5273 * make pidl.pl exit with an error on a parse error
* fixed a buffers/scalars bug in structures
-
Andrew Tridgell
cf880a8312 fixed another problem with pointers to arrays in structures -
Andrew Tridgell
7b0f2ccf07 fixed the handling of unions of pointers -
Andrew Tridgell
b5888b5315 * differentiate between pointers and non-pointers in switch_is union
elements in structures

* layout the pull/push/print generated functions with all push
  together, all pull together etc, as this makes for easier debugging

(note that I have no redirected commit messages for pidl to the
samba-cvs mailing list, so you may be seeing these messages for the
first time. See the pidl cvs repository for details on pidl)
-
Andrew Tridgell
22e1502350 I think we now handle conformant arrays in structures correctly - the
test cases pass
-
Andrew Tridgell
673e7bcdc2 handle constant sized arrays -
Andrew Tridgell
259d5d7a0e added support for 8 byte aligned HYPER_T -
Andrew Tridgell
ce15cc87fb fixed the NDR structure alignment rules
still not perfect, but works for all the cases I have seen so far
-
Andrew Tridgell
a29145df04 fixed handling on pointers to arrays of structures in unions -
Andrew Tridgell
73b5300755 automatic printing of unions -
Andrew Tridgell
81d6181172 automatically generate ndr_print_*() functions for every IDL
structure. This allows easy debug and test tool writing without having
to write functions that print every element of complex structures.
-
Andrew Tridgell
54613574bc - added support for the pull side of unions
- don't generate parse functions for pull/push functions that are not
  used
-
Andrew Tridgell
4df59bcff5 much cleaner handling of the different types of variables -
Andrew Tridgell
566476b3ff added a module for auto-generating the client calls. We can now go
from IDL file to working Samba4 RPC client library in a completely
automated fashion.
-
Andrew Tridgell
33d9b75783 - handle void functions
- bettenicer handling of PROPERTIES

- handle size_is() on an out variable that refers to an in variable
-
Andrew Tridgell
7bb45a21ae added support for arrays as function arguments and for unistr_noterm -
Andrew Tridgell
25be8dafda added fixes for the pushing of arrays and handling non-ref pointers in
function arguments
-
Andrew Tridgell
cba9df9aa4 - include includes.h
- fix ref ptrs in push

- add NTSTATUS return
-
Andrew Tridgell
96e269fefe - generate both the pull and push side
- fixed lots of bugs
-
Andrew Tridgell
8e865508a6 a bit of a tidy up before I add the ndr_pull_*() side of things -
Andrew Tridgell
42cd6904f5 updated pidl to auto-generate the ndr_push_*() functions for the
Samba4 rpc framework

not complete, but sufficient for a number of lsa functions
-
Tim Potter
952b47dc23 Renamed functions from Dump* to Parse* -
Andrew Tridgell
39e8894fb2 forgot a file -