1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

98 Commits

Author SHA1 Message Date
Stefan Metzmacher
7dee06709e r25767: pidl: make it easier to debug errors in pidl tests
we now print the C program that we tried to compile

metze
(This used to be commit 299e74314c)
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
0bf387e0f9 r25766: pidl: fix bugs in ndr_tagtype tests found by compiler warnings
metze
(This used to be commit 34af31cfb3)
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
616a64dd39 r25765: pidl: fix compiler warning in ndr_align test
metze
(This used to be commit 3accc840be)
2007-12-21 05:43:49 +01:00
Jelmer Vernooij
621fcfcd1c r25453: Fix include for NTSTATUS.
(This used to be commit 3c2d06d8fc)
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
2e3768843a r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
(This used to be commit 9e804e0c21)
2007-10-10 15:06:47 -05:00
Jelmer Vernooij
d222c5e7ae r25166: Simplify can_contain_deferred and add tests for it.
(This used to be commit 1afc7dd4d3)
2007-10-10 15:06:45 -05:00
Jelmer Vernooij
8d182d881d 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.
(This used to be commit 6890a01dbf)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
7acc0e77a6 r24815: Support cpp_quote().
(This used to be commit 30c1de30bb)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
09c188e735 r24812: Fix headers for external users.
(This used to be commit ff6684adfd)
2007-10-10 15:03:13 -05:00
Stefan Metzmacher
02467edf5c r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
(This used to be commit 9b59534a14)
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
0d7d5a6d49 r24560: rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit f874eca5da)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
575c870926 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
(This used to be commit 5f1f50cd27)
2007-10-10 15:02:01 -05:00
Stefan Metzmacher
b76b6a1522 r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
not the $pidl tree anymore.

metze
(This used to be commit 3cbbddb94c)
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
44dc2839e4 r24447: fix samba3-cli pidl tests
metze
(This used to be commit 91fb099b3d)
2007-10-10 15:01:51 -05:00
Andrew Bartlett
74b35321dc 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
(This used to be commit d2fba8faf0)
2007-10-10 14:58:58 -05:00
Stefan Metzmacher
dbff619f2a r23071: print the command on failure only
metze
(This used to be commit 65ed391729)
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
ffe21e4a7c r23069: print out the command, to find out the problem on host 'tridge'
metze
(This used to be commit 3f28a19ea1)
2007-10-10 14:52:48 -05:00
Jelmer Vernooij
771b57b3fc r22520: Fix the TYPE command.
(This used to be commit b81b0d3308)
2007-10-10 14:51:37 -05:00
Jelmer Vernooij
cc5ad07d84 r22462: Fix test suite for ndr parser without using 'our'
(This used to be commit d491e60c70)
2007-10-10 14:51:23 -05:00
Jelmer Vernooij
b0d2090879 r22457: Fix tests for Samba3 client generator.
(This used to be commit cf5162ad10)
2007-10-10 14:51:23 -05:00
Jelmer Vernooij
68d92f0a12 r22456: Merge wireshark and ejs test improvements.
(This used to be commit 0375978403)
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
3b39a0df0a r22453: Fix TDR testsuite without using our.
(This used to be commit 2c82aea0d3)
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
a0bfcfa55d r22357: Don't use 'our'
(This used to be commit 7989ee2aa0)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
faaac73ff6 r21690: Test use of typedef /and/ struct name
(This used to be commit f6d9cdb8a8)
2007-10-10 14:49:12 -05:00
Jelmer Vernooij
035adfb943 r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
"struct foo {};".

Reported by one of the OpenChange folks, thanks!
(This used to be commit d65b520f08)
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
f653871d77 r21654: Add simple test for print functions.
(This used to be commit 3c9df011a8)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
5ba8169109 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.
(This used to be commit 3ac68e858d)
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
3bc13d6eed r21579: Use utility function to determine function names in ejs code.
(This used to be commit 1736de4c73)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
4c99e87f9b r21578: Use utility function for naming pull/push/print functions.
(This used to be commit e0f626b79c)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
240b470f44 r21575: Fix handling of is_scalar() for declares.
(This used to be commit f0bc29df72)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
a635df47da r21574: Fix handling of DECLARE.
(This used to be commit 6a4033464b)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
c1aef15fe7 r21573: Remove more code that assumed all types are typedefs.
(This used to be commit bbbfbfa870)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
d7a7b7fb0c r21572: More work towards supporting tagged types.
(This used to be commit 4d28396f09)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
f5f0e502b3 r21568: More tests.
(This used to be commit c7bde9c1f5)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
6f3c968e64 r21567: Add some more wireshark tests.
(This used to be commit 40e2956058)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
cdb18fd22d r21559: More tests.
(This used to be commit c68573392b)
2007-10-10 14:48:56 -05:00
Jelmer Vernooij
2916cc628a r21555: Some tests for TYPE in wireshark conformance files.
(This used to be commit 2a44c8c9c2)
2007-10-10 14:48:56 -05:00
Jelmer Vernooij
43679c82f4 r21545: Fix pidl test.
(This used to be commit ed0a7f5091)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
b8c219a270 r21534: Add some more tests for wireshark.
(This used to be commit b104320961)
2007-10-10 14:48:54 -05:00
Jelmer Vernooij
cb8fceab28 r21532: Add tests for StripPrefixes utility function.
(This used to be commit 365052555e)
2007-10-10 14:48:53 -05:00
Jelmer Vernooij
b76461f425 r21490: Add some tests for the EJS code
More work on supporting nested types in EJS.
(This used to be commit cb7faeab88)
2007-10-10 14:48:43 -05:00
Jelmer Vernooij
90789cb08b r21484: Fix Needed* for nested datastructures.
(This used to be commit ec3c9ebfd0)
2007-10-10 14:48:41 -05:00
Jelmer Vernooij
8f83985f28 r21459: Remove name argument, more refactoring.
(This used to be commit fad03f6c51)
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
4e757aa64c r21457: Cope with anonymous nested types in the NDR layer. This doesn't handled
named nested types yet, as these have to be registered.
(This used to be commit 9b0416b5d0)
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
29cdad4181 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.
(This used to be commit ffe3879204)
2007-10-10 14:48:37 -05:00
Jelmer Vernooij
5340489807 r21440: Support different variables in environments.
(This used to be commit 1702a663ba)
2007-10-10 14:48:35 -05:00
Jelmer Vernooij
127ccc27d4 r21437: Cherrypick typelib tests.
(This used to be commit 9ba814d033)
2007-10-10 14:48:34 -05:00
Jelmer Vernooij
0515f728e6 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.
(This used to be commit 1ad0f99a43)
2007-10-10 14:48:33 -05:00
Jelmer Vernooij
f988568787 r21431: More tests, work on support in wireshark for tagged types.
(This used to be commit a91e624af2)
2007-10-10 14:48:33 -05:00
Jelmer Vernooij
8cf122c2d2 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().
(This used to be commit a716aa70f0)
2007-10-10 14:48:32 -05:00