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

95 Commits

Author SHA1 Message Date
Jelmer Vernooij
3c2d06d8fc r25453: Fix include for NTSTATUS. 2007-10-10 15:07:38 -05:00
Jelmer Vernooij
9e804e0c21 r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data. 2007-10-10 15:06:47 -05:00
Jelmer Vernooij
1afc7dd4d3 r25166: Simplify can_contain_deferred and add tests for it. 2007-10-10 15:06:45 -05:00
Jelmer Vernooij
6890a01dbf r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
30c1de30bb r24815: Support cpp_quote(). 2007-10-10 15:03:14 -05:00
Jelmer Vernooij
ff6684adfd r24812: Fix headers for external users. 2007-10-10 15:03:13 -05:00
Stefan Metzmacher
9b59534a14 r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
f874eca5da r24560: rename some DCERPC_ prefixes into NDR_
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
5f1f50cd27 r24493: - it turns out that
foreach my $e (@{$union->{ELEMENTS}}) {
  changes $union->{ELEMENTS} from undef into an empty array.
  this removes the difference between
  struct foo { }; and struct foo;
  So we need to explicit return before.
- we should return the same element for layout for
  structs and unions with no elements.
- fix the testsuite to match

metze
2007-10-10 15:02:01 -05:00
Stefan Metzmacher
3cbbddb94c r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
not the $pidl tree anymore.

metze
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
91fb099b3d r24447: fix samba3-cli pidl tests
metze
2007-10-10 15:01:51 -05:00
Andrew Bartlett
d2fba8faf0 r23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.
Fix these to use the new data_blob_cmp()

Andrew Bartlett
2007-10-10 14:58:58 -05:00
Stefan Metzmacher
65ed391729 r23071: print the command on failure only
metze
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
3f28a19ea1 r23069: print out the command, to find out the problem on host 'tridge'
metze
2007-10-10 14:52:48 -05:00
Jelmer Vernooij
b81b0d3308 r22520: Fix the TYPE command. 2007-10-10 14:51:37 -05:00
Jelmer Vernooij
d491e60c70 r22462: Fix test suite for ndr parser without using 'our' 2007-10-10 14:51:23 -05:00
Jelmer Vernooij
cf5162ad10 r22457: Fix tests for Samba3 client generator. 2007-10-10 14:51:23 -05:00
Jelmer Vernooij
0375978403 r22456: Merge wireshark and ejs test improvements. 2007-10-10 14:51:22 -05:00
Jelmer Vernooij
2c82aea0d3 r22453: Fix TDR testsuite without using our. 2007-10-10 14:51:22 -05:00
Jelmer Vernooij
7989ee2aa0 r22357: Don't use 'our' 2007-10-10 14:51:06 -05:00
Jelmer Vernooij
f6d9cdb8a8 r21690: Test use of typedef /and/ struct name 2007-10-10 14:49:12 -05:00
Jelmer Vernooij
d65b520f08 r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
"struct foo {};".

Reported by one of the OpenChange folks, thanks!
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
3c9df011a8 r21654: Add simple test for print functions. 2007-10-10 14:49:05 -05:00
Jelmer Vernooij
3ac68e858d r21584: Support for tagged types has landed!
It's now possible to use "struct foo" without a typedef in IDL files.

echo_info4 is the first type that's been converted.
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
1736de4c73 r21579: Use utility function to determine function names in ejs code. 2007-10-10 14:48:59 -05:00
Jelmer Vernooij
e0f626b79c r21578: Use utility function for naming pull/push/print functions. 2007-10-10 14:48:59 -05:00
Jelmer Vernooij
f0bc29df72 r21575: Fix handling of is_scalar() for declares. 2007-10-10 14:48:59 -05:00
Jelmer Vernooij
6a4033464b r21574: Fix handling of DECLARE. 2007-10-10 14:48:58 -05:00
Jelmer Vernooij
bbbfbfa870 r21573: Remove more code that assumed all types are typedefs. 2007-10-10 14:48:58 -05:00
Jelmer Vernooij
4d28396f09 r21572: More work towards supporting tagged types. 2007-10-10 14:48:58 -05:00
Jelmer Vernooij
c7bde9c1f5 r21568: More tests. 2007-10-10 14:48:57 -05:00
Jelmer Vernooij
40e2956058 r21567: Add some more wireshark tests. 2007-10-10 14:48:57 -05:00
Jelmer Vernooij
c68573392b r21559: More tests. 2007-10-10 14:48:56 -05:00
Jelmer Vernooij
2a44c8c9c2 r21555: Some tests for TYPE in wireshark conformance files. 2007-10-10 14:48:56 -05:00
Jelmer Vernooij
ed0a7f5091 r21545: Fix pidl test. 2007-10-10 14:48:55 -05:00
Jelmer Vernooij
b104320961 r21534: Add some more tests for wireshark. 2007-10-10 14:48:54 -05:00
Jelmer Vernooij
365052555e r21532: Add tests for StripPrefixes utility function. 2007-10-10 14:48:53 -05:00
Jelmer Vernooij
cb7faeab88 r21490: Add some tests for the EJS code
More work on supporting nested types in EJS.
2007-10-10 14:48:43 -05:00
Jelmer Vernooij
ec3c9ebfd0 r21484: Fix Needed* for nested datastructures. 2007-10-10 14:48:41 -05:00
Jelmer Vernooij
fad03f6c51 r21459: Remove name argument, more refactoring. 2007-10-10 14:48:38 -05:00
Jelmer Vernooij
9b0416b5d0 r21457: Cope with anonymous nested types in the NDR layer. This doesn't handled
named nested types yet, as these have to be registered.
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
ffe3879204 r21455: Fix a bug in our handling of conformant arrays. The conformant array was
always pushed, even if just the buffers part of a struct had to be pushed.

Pull was not affected.
2007-10-10 14:48:37 -05:00
Jelmer Vernooij
1702a663ba r21440: Support different variables in environments. 2007-10-10 14:48:35 -05:00
Jelmer Vernooij
9ba814d033 r21437: Cherrypick typelib tests. 2007-10-10 14:48:34 -05:00
Jelmer Vernooij
1ad0f99a43 r21433: Get rid of the COM support code - it's not used and unmaintained. We can
always bring it back if we need to. This code was getting in the way while
refactoring.

Add some tests for TDR.

Get rid of typedef in lib/registry/tdr_regf.idl and fix the
TDR code to be able to deal with it.
2007-10-10 14:48:33 -05:00
Jelmer Vernooij
a91e624af2 r21431: More tests, work on support in wireshark for tagged types. 2007-10-10 14:48:33 -05:00
Jelmer Vernooij
a716aa70f0 r21430: Support tagged types without typedef. This means:
struct foo {
 ...
};

in IDL will now work. This is the first step towards nested types and
using typedefs for partial types (such as "typedef int *bar;"), a requirement
for complex uses of represent_as().
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
34517c69e6 r21428: Handle representation types in Needed(). 2007-10-10 14:48:32 -05:00
Jelmer Vernooij
a21e7b22ac r21427: Add tests for Needed*(), in preparation of refactoring. 2007-10-10 14:48:32 -05:00
Jelmer Vernooij
3619774482 r21411: Add some simple tests for the wireshark NDR generator. 2007-10-10 14:48:28 -05:00