Jelmer Vernooij
efaf476337
r21458: Prepare for generating separate primitives/deferred code.
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
8aac1fc98b
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.
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
1afedaad44
r21443: Refactor some of the NDR code in preparation of nested data structure support.
2007-10-10 14:48:36 -05:00
Jelmer Vernooij
5b091c5d75
r21442: Allow more flexible data structure names.
2007-10-10 14:48:36 -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
0d739c7e98
r21432: Handle properties on tagged types in TDR.
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
Jelmer Vernooij
a45a677084
r21384: Change warning to pidl warning, fix uppercasing.
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
2669f2c8ad
r21340: Fix warning undef
2007-10-10 14:48:15 -05:00
Jelmer Vernooij
4a5b62ad62
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.
2007-10-10 14:48:15 -05:00
Jelmer Vernooij
8212a3b8e0
r21332: Fix bug in pidl that prevented value(0) from working. Bug reported by metze.
2007-10-10 14:48:14 -05:00
Jelmer Vernooij
07652f65ce
r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
...
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
2007-10-10 14:48:04 -05:00
Jelmer Vernooij
1aecba7100
r21253: Merge some pidl fixes:
...
* Add tests for wireshark dissector generator
* Add tests for the header code
* Some cleanups
* Fix handling of elements without [in] or [out]
2007-10-10 14:44:54 -05:00
Jelmer Vernooij
37c0da541e
r21222: Merge a couple of pidl fixes:
...
* Pidl will now warn when trying to use pointers as integers in expressions.
* "subcontext()" is now marked as deprecated. The alternatives,
transmit_as() / represent_as() should be available soon.
* More tests.
* Remove some unused code in smbtorture.
2007-10-10 14:44:48 -05:00
Jelmer Vernooij
30a06273d2
r21075: Generate parameters in structs for the server side Samba 3 code. The current code in Samba 3 is already generated using this pidl patch.
2007-10-10 14:44:28 -05:00
Jelmer Vernooij
6bada0dcf0
r20942: Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
2007-10-10 14:43:57 -05:00
Jelmer Vernooij
76c78b0339
r20850: Prefix all server calls with dcesrv_
2007-10-10 14:43:39 -05:00
Jelmer Vernooij
10ca65bd78
r20836: Use real type name, to fix compilation with -WC++-compat
2007-10-10 14:43:38 -05:00
Jelmer Vernooij
b967f5851f
r20834: No longer generate extra pointers for top-level [out] unique pointers.
2007-10-10 14:43:38 -05:00
Jelmer Vernooij
3cc299dbbe
r20830: merge mgmt work
2007-10-10 14:43:37 -05:00
Jelmer Vernooij
7e6357f213
r20746: Don't report each individual test in test_smbclient as a single testsuite.
...
Create separate directory for blackbox tests.
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
a0e2e30d57
r20638: Check for NULL pointers (where possible) in print functions. Fixes #4218 ,
...
but without reintroducing coverity warnings.
2007-10-10 14:37:19 -05:00
Jelmer Vernooij
419547df76
r20637: Don't check for NULL pointers when the pointer is guaranteed to not be NULL
...
(if it is a ref pointer).
2007-10-10 14:37:19 -05:00
Jelmer Vernooij
ded25eca70
r20631: Add some tests for the ndr parser.
2007-10-10 14:37:18 -05:00
Jelmer Vernooij
203076129b
r20625: Fix couple of warnings.
2007-10-10 14:37:17 -05:00
Stefan Metzmacher
895416c220
r20573: fix handling of pointers handling to elements with the charset property
...
metze
2007-10-10 14:37:04 -05:00
Jelmer Vernooij
f5dc1b47ec
r20567: Print proper errors with filename and line numbers in ParseExpr()
2007-10-10 14:37:01 -05:00
Jelmer Vernooij
a4d6e340cd
r20564: Regenerate.
2007-10-10 14:36:58 -05:00
Jelmer Vernooij
d3146f3bcd
r20563: Start using the new parser in ParseExpr(). It's now trivial to use this
...
to check for NULL pointers when pointers are being dereferenced (#4218 ).
There are exactly 500 tests for pidl now :-)
2007-10-10 14:36:58 -05:00
Jelmer Vernooij
26853d7d99
r20562: Start building expr parser. Add separate copy of Yapp::Driver
...
rather than including it in each individual parser.
2007-10-10 14:36:57 -05:00
Jelmer Vernooij
7e7fdb01d3
r20561: Add parser for subexpressions used in IDL attributes.
2007-10-10 14:36:57 -05:00
Jelmer Vernooij
9f794c55a6
r20550: Use standard error mechanism in parser.
...
Make sure errors are reported correctly.
2007-10-10 14:36:53 -05:00
Jelmer Vernooij
30d721569f
r20548: Remove unnecessary "use lib", fix warnings.
2007-10-10 14:36:52 -05:00
Jelmer Vernooij
2d960d4d7b
r20547: Add tests for expected errors/warnings.
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
ae9b0895e8
r20545: Fix is_constant().
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
44775a6ac4
r20543: Merge some pidl bug fixes:
...
* C expressions that just started with a constant were erroneously flagged
as being a constant.
* 1-length variable names in expressions were broken.
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
959adfd0a6
r20511: Combine warnings/errors/fatal functions and move them to Parse::Pidl.
2007-10-10 14:36:04 -05:00
Stefan Metzmacher
02d2ce65e6
r20358: - fix ejs generated code for ipv4address
...
- (not Parse::Pidl::Typelist::scalar_is_reference($e->{TYPE}))
is much more generic than ($e->{TYPE} ne "string")
and handles ipv4address and other special types...
metze
2007-10-10 14:30:15 -05:00
Jelmer Vernooij
006ab1d4a4
r19856: Use sptr as basis for full ptr implementation. Will add checks for duplicates later.
2007-10-10 14:28:26 -05:00
Stefan Metzmacher
f5aa620b1b
r19854: readd support for 'sptr' pointers, to work against windows servers
...
until jelmer commits his 'ptr' support
metze
2007-10-10 14:28:25 -05:00
Jelmer Vernooij
3f0da2388d
r19845: Add warning for pointer_default_top()
2007-10-10 14:28:24 -05:00
Jelmer Vernooij
a1b6308b21
r19842: Complain about unknown pointer types.
...
Fallback to "unique" when "ptr" is specified instead of failing.
2007-10-10 14:28:23 -05:00