1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +03:00
Commit Graph

39 Commits

Author SHA1 Message Date
Jelmer Vernooij
45c3d0036b r1736: - Pidl updates:
- Support for "object oriented" interfaces in pidl
 - Support for inherited interfaces in pidl
 - Simplification of the support for properties on an interface
- Start on dcom rpc torture tests
2007-10-10 12:57:51 -05:00
Andrew Tridgell
9a9244a1c6 r873: converted samba4 to use real 64 bit integers instead of
structures. This was suggested by metze recently.

I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
2007-10-10 12:56:14 -05:00
Andrew Tridgell
cafc8a5e76 r363: nicer error handling in pidl 2007-10-10 12:51:35 -05:00
Andrew Tridgell
e67cbfff6c added code to the IDL validator to check for common errors with
pointers are arrays
-
Andrew Tridgell
9175293535 don't rely on the ability of perl 5.6.x to remove elements from arrays
using delete(). This makes pidl portable back to perl 5.0.
-
Andrew Tridgell
a4aa9168c0 make pidl no longer dependent on Data::Dumper, which isn't installed
on some systems
-
Andrew Tridgell
bd3dcfe582 added auto-generation of the server side boilerplate code for each
pipe.

The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and
gets included in the pipe module
-
Andrew Tridgell
2b1300386d commit idl.pm now, as many build farm machines don't have 'yapp' -
Andrew Tridgell
3d64eefb46 started adding netlogon IDL and test suite -
Andrew Tridgell
00f9b0e120 added tests for the remaining calls on the rpc management interface -
Andrew Tridgell
d2665f36a7 * changed the way strings are handled in pidl to a much more general
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.
-
Andrew Tridgell
a5eeb3be05 added support for 'ascstr', a ascii string in MSRPC ! -
Andrew Tridgell
a291dd835f use a precompiled grammer in pidl. This speeds up pidl by about a
factor of 2 on my system.
-
Andrew Tridgell
a1d9afc92f its LoadStructure() in util.pm that doesn't like strict perl - any
perl gurus out there know why?
-
Andrew Tridgell
8f54792392 damn, "use strict;" in util.pm breaks pidl - but why? -
Andrew Tridgell
3b7a4b70a3 use strict perl package everywhere for error checking -
Andrew Tridgell
a44d952fcb * added a 'lstring' type for spoolss
* added some notes on type equivalents in NOTES.txt
-
Andrew Tridgell
c0d96f87ea switched to a new way of handling unions, so that we can handle
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.
-
Andrew Tridgell
d3838c3668 slightly more accurate structure alignment code - I need to do proper
recursive alignment soon
-
Andrew Tridgell
6afc3a465e auto-generate functions for printing top-level function
parameters. You can choose to print just the [in] parameters, just the
[out] parameters or both
-
Andrew Tridgell
08df20c8be * support inline arrays
* add enough to allow security descriptors to be IDL described

* added "noprint" property to allow fancy printing for specific
  functions
-
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
f5b577a2b9 added support for varying conformant arrays (needed for samr
userinfo3)
-
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 :)
-
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
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
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
96e269fefe - generate both the pull and push side
- fixed lots of bugs
-
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
-
Andrew Tridgell
4a9953f55b - fixed FlattenHash bug
- better handling of .. in filenames
-
Andrew Tridgell
14135ed6bb first version -