1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

319 Commits

Author SHA1 Message Date
James Peach
2882b2ba63 r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
(This used to be commit 0db4256a472975c5097135fa87315038a1350a72)
2007-10-10 14:49:42 -05:00
Jelmer Vernooij
cbd42dc5a1 r22004: Check for dereferencing null pointers.
Patch by Ronnie Sahlberg.
(This used to be commit fa5722111dede37d0d6f9a9d227b7ec3ae28f1d4)
2007-10-10 14:49:40 -05:00
Jelmer Vernooij
256054f4e1 r21996: Fix a bug for invalid casts of pointers.
Patch by Ronnie Sahlberg.
(This used to be commit 52a13ddf0242318785b05a8888640b2172435c45)
2007-10-10 14:49:40 -05:00
Jelmer Vernooij
452f8e76cb r21995: Patch from Ronnie Sahlberg.
Change the signatures for all functions it generates to specify
_U_ so that GCC "parameter not used" warnings are suppressed.
(This used to be commit ec6c503e9d077103c3fecff08400beb2a28e462d)
2007-10-10 14:49:40 -05:00
Jelmer Vernooij
faaac73ff6 r21690: Test use of typedef /and/ struct name
(This used to be commit f6d9cdb8a8eca6ff986504d4481b5165aee770c6)
2007-10-10 14:49:12 -05:00
Jelmer Vernooij
f29b5e90b1 r21682: Remove accidently committed debug command.
(This used to be commit 74a3681d65f570acf2756b40e0ad82799b86e9ec)
2007-10-10 14:49:10 -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 d65b520f08ea4ee82c35ff334a58aa6ffc403d67)
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
1afda7bdde r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier.
(This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
f653871d77 r21654: Add simple test for print functions.
(This used to be commit 3c9df011a85aa8178a26d66faaaed5c88757800e)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
6394f3ec4b r21586: update manifest
(This used to be commit 6ec3c5430db21f312d697fd9491a6867e36d96a6)
2007-10-10 14:49:01 -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 3ac68e858df9b53cf5e0a84741916214a53b3121)
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 1736de4c73a82be8357808dc8ec93d3917213449)
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 e0f626b79c43eb59ad3c6e3fb6c267504764bfef)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
240b470f44 r21575: Fix handling of is_scalar() for declares.
(This used to be commit f0bc29df7297f8f91175091e5f4b14f4ae4b0591)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
a635df47da r21574: Fix handling of DECLARE.
(This used to be commit 6a4033464bf269176f928a5b3b7e63aad1bb1e7a)
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 bbbfbfa870c44a6148c3d4d47ff409098e85fcc3)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
d7a7b7fb0c r21572: More work towards supporting tagged types.
(This used to be commit 4d28396f0928444406334888f4bc345e74a380df)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
f5f0e502b3 r21568: More tests.
(This used to be commit c7bde9c1f537cbcf8e71177e6c3969699c046ecb)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
6f3c968e64 r21567: Add some more wireshark tests.
(This used to be commit 40e2956058fe4aaebf3f7269bce90339d7faf24f)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
cdb18fd22d r21559: More tests.
(This used to be commit c68573392b0fbc7c6267ac4fe84f7916e3cec779)
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 2a44c8c9c296462350fcae1960265a6ef0f317d8)
2007-10-10 14:48:56 -05:00
Jelmer Vernooij
43679c82f4 r21545: Fix pidl test.
(This used to be commit ed0a7f5091d99a012e366ed3bc877b5228aa62a8)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
b8c219a270 r21534: Add some more tests for wireshark.
(This used to be commit b10432096181cf8e7d729e58a5ab54fac5eaa5fe)
2007-10-10 14:48:54 -05:00
Jelmer Vernooij
cb8fceab28 r21532: Add tests for StripPrefixes utility function.
(This used to be commit 365052555e0e9224bdfda0c2a10f78cbeee5b06c)
2007-10-10 14:48:53 -05:00
Jelmer Vernooij
882c5a8b43 r21531: Use pidl-specific utility functions. Patch from Ronnie Sahlberg
(This used to be commit e6fdcdf95e984a254cebd197269cf3e911009f02)
2007-10-10 14:48:53 -05:00
Jelmer Vernooij
f487c24a79 r21493: Patch from Ronnie Sahlberg. From his email:
This patch changes the function name and signature that pidl generate
a call for when dissecting a policy handle to a new, more
PIDL-friendly function.

It also stores the procedure name in a new pinfo-> field so that
helpers that want to know the procedure name can finbd out easily.

The new PIDL helper function for policy handles use this new field and will show
   OpenHKU(<...>)
       opened in frame X
	   closed in frame Y
for the policy handle.
(This used to be commit 0c4fb484f0e515eb4055c58cd73ca798a8c46d69)
2007-10-10 14:48:44 -05:00
Jelmer Vernooij
79a1b1a928 r21492: Finish work on nested type support in EJS.
(This used to be commit e88055b76a3d81fcc40773d880f76a1c3f53fbf0)
2007-10-10 14:48:43 -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 cb7faeab88952b59add1c814e1881ee9bb88b7ec)
2007-10-10 14:48:43 -05:00
Jelmer Vernooij
a074602362 r21487: Fix warning when using anonymous types, initial work on nested type support in ejs.
(This used to be commit a396c5de12cd958fe0457fa5372e539132ad7ed9)
2007-10-10 14:48:42 -05:00
Jelmer Vernooij
613d1c1fb9 r21486: Remove spurious semicolons.
(This used to be commit d2307f3f7e364a2d17f48301a921a532ae313986)
2007-10-10 14:48:42 -05:00
Jelmer Vernooij
90789cb08b r21484: Fix Needed* for nested datastructures.
(This used to be commit ec3c9ebfd0de287411ce399967409f902653d5c6)
2007-10-10 14:48:41 -05:00
Jelmer Vernooij
8f83985f28 r21459: Remove name argument, more refactoring.
(This used to be commit fad03f6c51b40bca2b60036835b998056fec0faa)
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
4b6ee48379 r21458: Prepare for generating separate primitives/deferred code.
(This used to be commit efaf476337e536740068334ee9af01eb6ce97c4f)
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 9b0416b5d06286c81c73477a24cb591fd4b23d18)
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
ac0433e3d3 r21456: Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be
used in the Samba 4 NDR parser.

This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested
data structures yet, but it's a first step.
(This used to be commit 8aac1fc98b812a0668bc0d803d1e2831396b455e)
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 ffe387920473fb365f740942098085eb40299c84)
2007-10-10 14:48:37 -05:00
Jelmer Vernooij
32afb0d15f r21443: Refactor some of the NDR code in preparation of nested data structure support.
(This used to be commit 1afedaad44d5d375ebd277017ec61bf9b5741d8a)
2007-10-10 14:48:36 -05:00
Jelmer Vernooij
cc1e315604 r21442: Allow more flexible data structure names.
(This used to be commit 5b091c5d75f8580f10bc6a61a0e2203abec98784)
2007-10-10 14:48:36 -05:00
Jelmer Vernooij
5340489807 r21440: Support different variables in environments.
(This used to be commit 1702a663ba4ce6f5803e265a969f2be564fce1e3)
2007-10-10 14:48:35 -05:00
Jelmer Vernooij
127ccc27d4 r21437: Cherrypick typelib tests.
(This used to be commit 9ba814d033412150d383d3687f02775d4efc618e)
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 1ad0f99a439f0d52a735b391bf9900d50171aca5)
2007-10-10 14:48:33 -05:00
Jelmer Vernooij
d425796fff r21432: Handle properties on tagged types in TDR.
(This used to be commit 0d739c7e9807682cd5bc433c3e4f2d4bbe4f1b69)
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 a91e624af22aae5b460ccf94d2540b8780f90070)
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 a716aa70f0c90898e6fcf57d63a2cf4c40e7d4df)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
2b43de2ed8 r21428: Handle representation types in Needed().
(This used to be commit 34517c69e67d7eafa00e6fe0072bd04f074cdbde)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
ae76a5a928 r21427: Add tests for Needed*(), in preparation of refactoring.
(This used to be commit a21e7b22ac99c66e2b23d0fa694a8a2ea6e7994e)
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
ec587914ed r21411: Add some simple tests for the wireshark NDR generator.
(This used to be commit 361977448210dfd889abca19b520cd259b9d0855)
2007-10-10 14:48:28 -05:00
Jelmer Vernooij
0fd2600394 r21384: Change warning to pidl warning, fix uppercasing.
(This used to be commit a45a677084ba1bc63a8f74892c12ca6f0d9b5071)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
627fc22791 r21340: Fix warning undef
(This used to be commit 2669f2c8ad09505b37f64104eefce6f0b10e9ab5)
2007-10-10 14:48:15 -05:00
Jelmer Vernooij
a7fa0d7063 r21338: Fix handling of top-level arrays for the Samba 3 client code. This doesn't
fix the winreg code yet (as that's an array on top of a pointer), but at least
it gets us closer.

Also added a couple of tests for the Samba 3 client code.
(This used to be commit 4a5b62ad622d7be08591e19bc2e89f665fff445a)
2007-10-10 14:48:15 -05:00