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

123 Commits

Author SHA1 Message Date
Stefan Metzmacher
4adbebef5d r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
473bca74dc r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h

metze
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
abd5551aab r24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze
2007-10-10 15:02:11 -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
13144bdea9 r24490: For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()
so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn().

Also the base_type() property isn't standard IDL and we should not support it.

This changes TDR enum to also to default to uint16 (as with NDR enums).

metze
2007-10-10 15:02:00 -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
0c5be644ba r24446: We only need one genric GenerateFunctionInEnv
function

metze
2007-10-10 15:01:51 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -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
d491e60c70 r22462: Fix test suite for ndr parser without using 'our' 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
4d755fb5d7 r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier. 2007-10-10 14:49:05 -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
b104320961 r21534: Add some more tests for wireshark. 2007-10-10 14:48:54 -05:00
Jelmer Vernooij
e88055b76a r21492: Finish work on nested type support in EJS. 2007-10-10 14:48:43 -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
a396c5de12 r21487: Fix warning when using anonymous types, initial work on nested type support in ejs. 2007-10-10 14:48:42 -05:00
Jelmer Vernooij
d2307f3f7e r21486: Remove spurious semicolons. 2007-10-10 14:48:42 -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
efaf476337 r21458: Prepare for generating separate primitives/deferred code. 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
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
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
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