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

889 Commits

Author SHA1 Message Date
Jelmer Vernooij
e48202275e r9459: Move pidl up one level (to prevent too much nesting) 2007-10-10 13:34:17 -05:00
Jelmer Vernooij
cb5b23f038 r9445: Support flags, add DATA_BLOB support 2007-10-10 13:34:15 -05:00
Jelmer Vernooij
a0e63c2691 r9441: Use "const char *" for fixed-size arrays with charset() because
these can require more elements in the local charset (usually UTF8) then
in the wire one.
2007-10-10 13:34:15 -05:00
Jelmer Vernooij
43817eb0bd r9433: - Update TODO & README
- Extend compatibility module (work towards being able to generate
  Midl-compatible IDL files, pretty much just removing attributes
  midl doesn't know such as value() and charset())
- Support charset() on fixed-size arrays of characters
2007-10-10 13:34:13 -05:00
Jelmer Vernooij
6c36864dae r9430: Remove obsolete file.
Update pidl documentation, including description on ethereal conformance files
Nicer --help ouput
2007-10-10 13:34:13 -05:00
Tim Potter
f380e86806 r9424: Remove duplicate interface name in DCERPC subdissector strings. Also
shorten some of the autogenerated function names.
2007-10-10 13:33:38 -05:00
Tim Potter
d971da4b1d r9423: Fix a typo. 2007-10-10 13:33:38 -05:00
Stefan Metzmacher
1a2b836958 r9373: - create a hierachical memory tree with recursiv ndr_pull_* functions
- with this it's also possible to talloc_free() the ndr_pull structure
  and talloc_steal(ndr->current_mem_ctx); to fetch the whole data of the hierachical tree
- if the toplevel struct is a valid talloc pointer it's also possible to use
  NDR_PULL_SET_MEM_CTX(ndr, mem_ctx); to the the toplevel pointer with the struct pointer

(NOTE: no callers are using this yet, but they shortly will)

metze
2007-10-10 13:33:29 -05:00
Stefan Metzmacher
09de7e0af7 r9372: - make the subcontext handling autogenerated code look nicer,
- unify the handling of subcontext, compression and obfucation

metze
2007-10-10 13:33:29 -05:00
Andrew Tridgell
e8260a81cf r9369: an attempt to fix the build on HPUX. This is based on work by Don
McCall, but takes a slightly different approach that I hope will be
more generic
2007-10-10 13:33:28 -05:00
Andrew Tridgell
56769b4b1d r9356: a better way of coping with NULL arrays in the array bounds checking. This copes with the
case of size_is(*size) where size is NULL, and the array is NULL
2007-10-10 13:33:27 -05:00
Andrew Tridgell
ad1b9867a5 r9347: this array bounds checking is harder than it looks ...
this copes with 2 more situations:

1) where the array is NULL, which would previously be coped with by a
   if (ptr) check, but now in the deferred array bounds checking needs
   to look at the array variable in the ndr code. Not nice.

2) nest the array checking along with the SCALARS vs BUFFERS checks, ensuring we don't
   do array bounds checking for a buffer when in scalars only mode
2007-10-10 13:33:27 -05:00
Andrew Tridgell
a8bca2e8e2 r9339: treat arrays of uint8 values as a special DATA_BLOB type in the ejs
interfaces to RPC. This makes large blobs of data much saner. Tim, you
will probably want to do the same for the smb_interfaces.h generated
code.

Next we will need ways of extracting different data types from these
blobs, for example asking for the blob to be interpreted as a utf16
string, or as a little-endian integer. That will allow for registry
scripting to be quite sane.
2007-10-10 13:33:25 -05:00
Andrew Tridgell
127ed0cfe2 r9337: defer the checking of array sizes until the end of the
function/structure, as the checks might involve variables that have
not yet been unmarshalled. This is needed to cope with the correct IDL
for the winreg pipe.

Jelmer, can you look at this when you get a chance and see if you
think this is a reasonable approach? Sorry its wrecks the nice
indentation in the generated code.
2007-10-10 13:33:25 -05:00
Andrew Tridgell
6cf20e7adb r9335: only copy the in side of an array to the out side of an array when the
array is a [ref] pointer. For non-ref arrays it is quite valid for a
server to return a larger response array then the client gave (as can
happen with winreg) in which case this memcpy() will fault.
2007-10-10 13:33:25 -05:00
Andrew Tridgell
9526f2a510 r9298: pull non-array elements before array elements to overcome the problem
of arrays that have length_is() or size_is() properties that refer to
later elements
2007-10-10 13:33:22 -05:00
Tim Potter
2215cc08b7 r9279: In Samba3 debuglevel 10 used to print RPC debugs. I think this should
apply to Samba4 as well so change the DEBUGLEVEL > 10 to DEBUGLEVEL >= 10.
2007-10-10 13:33:21 -05:00
Jelmer Vernooij
2f1fcf3bc7 r9168: Fix subcontext handling
Support fixed-size arrays
Give some more nicer warnings for not-supported IDL constructions such as inline arrays
Fix signed int-handling
2007-10-10 13:31:27 -05:00
Jelmer Vernooij
3456dc7846 r9164: Fix subcontext handling
Support fixed-size arrays
Give some more nicer warnings for not-supported IDL constructions such as inline arrays
Fix signed int-handling
2007-10-10 13:31:26 -05:00
Jelmer Vernooij
b323e83e8d r9161: More etheral parser generator fixes 2007-10-10 13:31:25 -05:00
Jelmer Vernooij
4c165f8ff6 r9150: The ethereal parser generators work now. Thanks to Ronnie Sahlberg for
help with the debugging and comments on the generated code (-:
2007-10-10 13:31:23 -05:00
Stefan Metzmacher
ff01807d73 r9148: remove the aix stuff it didn't fix the build
metze
2007-10-10 13:31:23 -05:00
Andrew Tridgell
2f6311c9a3 r9146: - enable winreg pipe from ejs
- map the result code from rpc calls into the ejs objects

- treat winreg_String like lsa_String, hiding the length elements
2007-10-10 13:31:23 -05:00
Stefan Metzmacher
bab33aa993 r9142: fix the output to the new names
metze
2007-10-10 13:31:22 -05:00
Jelmer Vernooij
952399aa68 r9128: More ethereal parser generator updates. String handling is still broken as
well as handling more then two element levels.
2007-10-10 13:31:19 -05:00
Stefan Metzmacher
b5277c62f2 r9108: try to get aix building...
metze
2007-10-10 13:31:17 -05:00
Jelmer Vernooij
d8727b8de7 r9104: Finish ethereal parser generator. Still a couple of minor issues
remaining to get it to generate completely compilable code.
2007-10-10 13:31:16 -05:00
Tim Potter
d0f540bc46 r9101: Check in file generated by Parse::YAPP. 2007-10-10 13:31:16 -05:00
Jelmer Vernooij
eef8bc97ed r9094: More ethereal parser updates, only header fields left to fix + actual data call 2007-10-10 13:31:16 -05:00
Jelmer Vernooij
294e716621 r9088: More ethereal parser generator updates 2007-10-10 13:31:15 -05:00
Jelmer Vernooij
561aeca649 r9081: Work on new ethereal parser generator, partially based on
Ronnie Sahlberg's idl2eth.c
2007-10-10 13:31:14 -05:00
Stefan Metzmacher
adebd56be6 r9063: - don't pollute the global $LIBS variable with -ldl
- -lresolve seems to not being needed any more
  (it's actually not used, and the build farm seem to happy with it)

- move socket and netif configure test to seperate files
- don't pollute the global $LIBS variable with -lsocket ...
- actually make use of the -lsocket when needed
  (should fix the solaris build)

metze
2007-10-10 13:31:13 -05:00
Stefan Metzmacher
d91e61ac68 r9055: fix header generation for string_array and some other scalar types
the are actualy mapped to pointers in the api

metze
2007-10-10 13:31:13 -05:00
Stefan Metzmacher
14b92e8a08 r9049: - add property dependencies to include/proto.h
- make some stuff easier

metze
2007-10-10 13:31:12 -05:00
Jelmer Vernooij
84bd51279e r9001: Fix warning in make clean 2007-10-10 13:31:05 -05:00
Jelmer Vernooij
efe0be9249 r8997: Define CPP for hosts that don't default to 'cpp' 2007-10-10 13:31:05 -05:00
Jelmer Vernooij
2b15c74f20 r8996: More build fixes... 2007-10-10 13:31:05 -05:00
Jelmer Vernooij
1f31414f37 r8994: Clean up some more autogenerated files so I can predict when I'm going to
break the build...
2007-10-10 13:31:04 -05:00
Jelmer Vernooij
3719570411 r8991: Change Makefile.core to main.mk to prevent accidental removal problems. 2007-10-10 13:31:04 -05:00
Jelmer Vernooij
e8324ff890 r8988: Don't remove Makefile.core in distclean... 2007-10-10 13:31:04 -05:00
Jelmer Vernooij
2f481ac93c r8985: Automatically generate make dependency rules for
the asn1 and error table files.

This removes the need for HEIMDAL_EXTERNAL
2007-10-10 13:31:04 -05:00
Jelmer Vernooij
43779c09b6 r8979: Bunch of makefile fragment inclusion fixes:
- support whitespace
 - support "include " keyword
 - move swig stuff to .mk file
 - support autogenerated makefile portions (use "include echo foo|")
2007-10-10 13:31:02 -05:00
Jelmer Vernooij
8d9c18a1b4 r8974: Support makefile fragments in .mk files 2007-10-10 13:31:01 -05:00
Stefan Metzmacher
ea78b57ed8 r8973: nicer output
metze
2007-10-10 13:31:01 -05:00
Jelmer Vernooij
d89caeb800 r8972: More simplifications... 2007-10-10 13:31:01 -05:00
Jelmer Vernooij
92e14f5556 r8968: More simplifications 2007-10-10 13:31:00 -05:00
Jelmer Vernooij
ce0935112b r8966: Simplify the makefile generation system a bit.
Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm)
Add INSTALLDIR keyword to .mk files
2007-10-10 13:31:00 -05:00
Jelmer Vernooij
670a7a8de5 r8955: Move a bit more of the build process to the Makefile 2007-10-10 13:31:00 -05:00
Jelmer Vernooij
732db744b2 r8953: Move a few utility functions 2007-10-10 13:31:00 -05:00
Jelmer Vernooij
43c8321cd9 r8942: Move intermediate subsystem output files to bin/subsystems/ 2007-10-10 13:30:59 -05:00