Stefan Metzmacher
3131847cb6
pidl/Samba4::Header: fix typedefs of unions and structs without elements
...
metze
2008-01-25 10:07:43 +01:00
Stefan Metzmacher
dd77fc45ee
pidl: get rid of stupid ';' char to terminate bitmap defines
...
metze
2008-01-24 15:04:58 +01:00
Stefan Metzmacher
c1ac13ee12
pidl/Samba4::Header: we don't need to check if (defined($enum->{ELEMENTS})) twice
...
metze
2008-01-24 14:57:30 +01:00
Jelmer Vernooij
b00c1a0724
pidl/python: Fix parsing arguments, fix more pointer issues.
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
9aeb7f31b0
pidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because they only work with the structures generated by that file.
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
d91af936ae
pidl: Move more stuff outside ifdef when defining enums and generate pretty code for enums without body.
2008-01-12 23:06:00 +01:00
Jelmer Vernooij
c1e0570506
pidl: Prevent empty declarations for enums without body.
2008-01-12 22:35:28 +01:00
Jelmer Vernooij
aa089378a0
r25457: use different location for out-of-tree builds
2007-10-10 15:07:39 -05:00
Jelmer Vernooij
37425495f3
r25301: Merge my includes.h cleanups.
2007-10-10 15:07:09 -05:00
Jelmer Vernooij
160c0013dc
r25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
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
fad5af2f20
r24520: make use of the new ElementStars() and ArrayBrackets()
...
functions
metze
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
ee92d47b53
r24517: move skipping pointer before an array logic into the
...
pointer loop as we do in other places
metze
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
98d8753d37
r24516: don't use ->{ORIGINAL}
...
metze
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
d90a0d3ba1
r24515: use fatal() wrapper instead of die() directly
...
metze
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
e8ebee2698
r24509: pass down the full ndr elements instead of the old pidl elements
...
from ->{ORIGINAL}
metze
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
0eba05b6a6
r24508: add HeaderTypeNew() which will go if everything is converted
...
metze
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
0edec25af8
r24507: pass $d down to HeaderTypedef
...
metze
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
8cc3fd09ff
r24506: pass $fn down one more layer
...
metze
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
0bad3f0619
r24505: pass down $fn one level
...
metze
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
212e8ec8d5
r24484: pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm
...
metze
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
8a23db61e4
r24482: white space cleanup only...
...
metze
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
b5c84460fc
r22667: revert revision 22640 as it breaks nested structs in idl
...
metze
2007-10-10 14:51:59 -05:00
Stefan Metzmacher
715060187f
r22640: - generate nicer output
...
- fix compiler warning about unused ';'
metze
2007-10-10 14:51:57 -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
e88055b76a
r21492: Finish work on nested type support in EJS.
2007-10-10 14:48:43 -05:00
Jelmer Vernooij
d2307f3f7e
r21486: Remove spurious semicolons.
2007-10-10 14:48:42 -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
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
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
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
324395afc7
r19752: Remove support for the `depends' attribute (use "import") instead.
2007-10-10 14:28:19 -05:00
Jelmer Vernooij
347ae96282
r19588: Use include and import statements rather than depends() and helper().
2007-10-10 14:24:58 -05:00
Jelmer Vernooij
1ccab71cb8
r19585: Add support for some more standard IDL instructions:
...
- `include' (replaces helper())
- `import' (replaces depends())
Add support for parsing importlib() - importlib() is now ignored (with a
warning), but no longer causes syntax errors.
helper() and depends() are now marked deprecated and will cause warnings.
2007-10-10 14:24:57 -05:00
Jelmer Vernooij
d1364ef0cd
r18639: Get rid of the keepref support
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
bdc6dd3750
r15776: Don't generate ref pointers in Samba4-generated code. There is no point
...
in having pointers for outgoing data when you can already modify the top-level
element.
This can be overridden (temporarily) by specifying the new "keepref"
attribute. Once we've removed keepref from all IDL files, I'll remove this
attribute as well.
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
31e847a084
r14690: Support represent_as in headers, enable represent_as() test (which works now)
2007-10-10 13:59:09 -05:00
Jelmer Vernooij
272ca8e636
r14491: Allow building more output outside of the Samba source tree
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
0c18883315
r14488: Install more headers.
...
Generate different #include lines in pidl depending on whether
we're building inside or outside of the Samba tree (useful for
3rd-party projects).
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
3a57d29a62
r12470: Add helper module for pidl tests
...
Convert other pidl tests to use Test::More and run them from 'make test'
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
f25358270d
r12463: Rename 'Samba' namespace to 'Samba4'
2007-10-10 13:47:42 -05:00