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
0c5be644ba
r24446: We only need one genric GenerateFunctionInEnv
...
function
metze
2007-10-10 15:01:51 -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
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
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
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
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
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
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
76c78b0339
r20850: Prefix all server calls with dcesrv_
2007-10-10 14:43:39 -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
f5dc1b47ec
r20567: Print proper errors with filename and line numbers in ParseExpr()
2007-10-10 14:37:01 -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
Jelmer Vernooij
324395afc7
r19752: Remove support for the `depends' attribute (use "import") instead.
2007-10-10 14:28:19 -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
de6198c893
r19546: fix number of bytes pushed when using switch_type() set to enum types.
...
die() on invalid used of enum_type_fn()
2007-10-10 14:24:48 -05:00
Jelmer Vernooij
91ae5a8033
r19541: Explicitly segfault when the API is being used incorrectly. Previously
...
this would've caused a silent premature return.
2007-10-10 14:24:46 -05:00
Jelmer Vernooij
d1364ef0cd
r18639: Get rid of the keepref support
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
ab0a798c57
r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
2007-10-10 14:18:47 -05:00
Jelmer Vernooij
9dd6520240
r18270: Samba3 has _PUBLIC_ now.
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
b2018249b7
r18268: for samba3 define _PUBLIC_ empty
...
metze
2007-10-10 14:17:59 -05:00
Andrew Tridgell
76496c2f5e
r18254: reverted r18231
...
Jelmer, older versions of gcc don't support visibility("default"). See
for example the CentOS build here:
http://build.samba.org/?function=View+Build;host=lithium;tree=samba4;compiler=gcc;revision=18253
Is there some other way you can think of to do this?
2007-10-10 14:17:56 -05:00
Jelmer Vernooij
77043ebe25
r18231: Don't use _PUBLIC_ but use __attribute__ directly instead.
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
d0f0d4600a
r18228: Don't include Samba4-specific headers when building inside a Samba3 tree.
2007-10-10 14:17:53 -05:00
Stefan Metzmacher
b15e4c7cfa
r17889: allocate a valid element where the pointer can point to,
...
fix c++ warnings
metze
2007-10-10 14:16:52 -05:00
Gerald Carter
26a2fa97e4
r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar
2007-10-10 14:08:59 -05:00
Jelmer Vernooij
a7c9ec69b2
r15780: Fix indentation of deferred code ( fixed #3739 )
2007-10-10 14:08:19 -05:00
Jelmer Vernooij
030272e79b
r15778: Fix bug printing ref pointers.
2007-10-10 14:08:18 -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
f10b38b824
r15327: Support 'nosize'. Also write prototypes for print and size functions that are manually written.
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
56eceeb322
r15324: Generate prototype even if the function itself is
...
written manually.
2007-10-10 14:05:16 -05:00
Jelmer Vernooij
03224dab11
r14867: Include <stdbool.h> in external compiles
2007-10-10 13:59:44 -05:00