1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00
Commit Graph

373 Commits

Author SHA1 Message Date
Jelmer Vernooij
b36a0aedd2 pidl: Avoid accidently filling in empty body for types without body.
(This used to be commit 1fe5c1ad07)
2008-01-13 00:05:24 +01:00
Jelmer Vernooij
3f9812f951 pidl/ejs: Fix bug that filled in the body for types without body.
(This used to be commit 4f4dfa6042)
2008-01-12 23:38:05 +01:00
Jelmer Vernooij
ad55958140 pidl: Add function for determining whether a type has a body.
(This used to be commit 893f4102c9)
2008-01-12 23:10:28 +01:00
Jelmer Vernooij
532154af9b pidl: Move more stuff outside ifdef when defining enums and generate pretty code for enums without body.
(This used to be commit d91af936ae)
2008-01-12 23:06:00 +01:00
Jelmer Vernooij
90198fa7ca pidl: Prevent empty declarations for enums without body.
(This used to be commit c1e0570506)
2008-01-12 22:35:28 +01:00
Jelmer Vernooij
97ad5d5d80 pidl: Add ability to write type metadata to a file.
(This used to be commit e8ab241ff4)
2008-01-12 22:15:12 +01:00
Jelmer Vernooij
1b90619009 pidl: Remove declare tests, add more tests for typedef.
(This used to be commit 254bf85c2e)
2008-01-12 21:21:14 +01:00
Jelmer Vernooij
87fc0a4391 pidl: Remove support for the declare keyword in other parts of the pidl code.
(This used to be commit 2fe013f715)
2008-01-12 01:22:23 +01:00
Jelmer Vernooij
92950a9f2f pidl: Remove support for the "declare" keyword in the parser.
(This used to be commit ea33713892)
2008-01-12 01:10:59 +01:00
Jelmer Vernooij
47fff7a1b9 pidl: Remove multiple copies of get_pointer_of and get_value_of.
(This used to be commit 79344c9c5e)
2008-01-11 20:37:21 +01:00
Günther Deschner
c781879e35 r26699: Some minor cosmetics for pidl samba3 server code.
Guenther
(This used to be commit 81fa63dfe6)
2008-01-09 05:33:01 -06:00
Günther Deschner
e6968df1e5 r26698: Prettify samba3 client code a little more.
Guenther
(This used to be commit 6ac36d6a4b)
2008-01-09 05:03:01 -06:00
Günther Deschner
e3f0e64ef0 r26696: Some more minor pidl samba3 client cosmetics.
Guenther
(This used to be commit 7ee3fd43f9)
2008-01-08 17:03:01 -06:00
Günther Deschner
0f32132b88 r26695: Cosmetic fix for pidl generated samba3 client code.
Guenther
(This used to be commit c52d9e6e60)
2008-01-08 11:06:01 -06:00
Jelmer Vernooij
d0e9c92e57 r26667: pidl/python: Don't generate casts anymore; this will generate warnings with older Pythons, but will be a lot cleaner with newer versions.
(This used to be commit 7db3222dac)
2008-01-05 08:06:05 -06:00
Jelmer Vernooij
4ba6e6c159 r26662: pidl/python: Add constructors for struct/union types.
(This used to be commit bc6aa49d8e)
2008-01-03 21:51:02 -06:00
Jelmer Vernooij
c9afddd42c r26661: pidl/python: More generic handling of NTSTATUS, add stubs for types.
(This used to be commit 336dae6d42)
2008-01-03 21:51:01 -06:00
Jelmer Vernooij
0d6dbcabe9 r26660: pidl/python: Generate stub functions for DCE/RPC client functions, constructor for interface objects.
(This used to be commit 0ee0581f05)
2008-01-03 18:03:02 -06:00
Jelmer Vernooij
935031309a r26659: pidl/python: Support string constants and handle modules.
(This used to be commit 885e5980d7)
2008-01-03 16:03:01 -06:00
Jelmer Vernooij
1548d8d2be r26658: pidl: Register Python modules.
(This used to be commit f47044aacc)
2008-01-03 15:51:02 -06:00
Jelmer Vernooij
0dbdfc2218 r26657: pidl: Add basics for generating Python modules.
(This used to be commit f1960ca7c4)
2008-01-03 15:27:02 -06:00
Jelmer Vernooij
9faf93c7b0 r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.
(This used to be commit 4ff8f4e370)
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
d1807aa9c5 r26455: Use new talloctype macro in generated SWIG code as well.
(This used to be commit 77748c6a9f)
2007-12-21 05:50:23 +01:00
Günther Deschner
133ee7014c r26257: Get rid of "uninitialized value" warning in the samba3 pidl generator.
Jelmer, please check.

Guenther
(This used to be commit 2f69329288)
2007-12-21 05:47:31 +01:00
Günther Deschner
ef792cc8a5 r26256: When generating Samba3 pidl output for WERROR based functions, make sure the
client caller can retrieve the WERROR.

Jelmer, no idea how to add a test for that...

Guenther
(This used to be commit cf55365177)
2007-12-21 05:47:31 +01:00
Jelmer Vernooij
c0a3709354 r26110: Create separate function for connecting, add helper for creating result typemaps.
(This used to be commit 9b5b77c399)
2007-12-21 05:46:08 +01:00
Jelmer Vernooij
0cc955f958 r26109: Use new SWIG helpers in autogenerated DCE/RPC SWIG files.
(This used to be commit 3e04846b3f)
2007-12-21 05:46:07 +01:00
Stefan Metzmacher
8267a7a64b r26049: pidl: don't use ndr_pull_save anymore
metze
(This used to be commit d361bb1741)
2007-12-21 05:45:47 +01:00
Stefan Metzmacher
3e1fb13024 r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/

metze
(This used to be commit 7106f21de8)
2007-12-21 05:44:54 +01:00
Stefan Metzmacher
ecbc2cdd7a r25806: let libndr.h include needed stuff and remove pidl magic
for choosing common required headers

metze
(This used to be commit c97fe5b54c)
2007-12-21 05:44:07 +01:00
Stefan Metzmacher
b42cc4afd3 r25805: pidl: include libndr.h as first header in ndr_foo.h
metze
(This used to be commit 18fce11741)
2007-12-21 05:44:06 +01:00
Stefan Metzmacher
5dc1f49d5f r25804: move including ndr_compression.h into HeaderInterface()
metze
(This used to be commit 2aecc1e9fd)
2007-12-21 05:44:06 +01:00
Stefan Metzmacher
0fc96c416e r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
metze
(This used to be commit 14ca6a8bf9)
2007-12-21 05:43:43 +01:00
Stefan Metzmacher
e63df41e74 r25745: [pidl] ndr_pull/push_error(ndr, NDR_ERR_INVALID_POINTER,..)
instead NT_STATUS_INVALID_PARAMETER_MIX

metze
(This used to be commit 76b628df53)
2007-12-21 05:43:40 +01:00
Jeremy Allison
c940bec8d7 r25700: Now BOOL no longer exists in Samba 3.2, use bool instead.
Jeremy.
(This used to be commit ad0b9792f2)
2007-12-21 05:43:20 +01:00
Stefan Metzmacher
c28074da32 r25674: fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

metze
(This used to be commit 7203f717a6)
2007-12-21 05:43:08 +01:00
Jelmer Vernooij
fd6288c584 r25457: use different location for out-of-tree builds
(This used to be commit aa089378a0)
2007-10-10 15:07:39 -05:00
Jelmer Vernooij
621fcfcd1c r25453: Fix include for NTSTATUS.
(This used to be commit 3c2d06d8fc)
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
9b009c9009 r25301: Merge my includes.h cleanups.
(This used to be commit 37425495f3)
2007-10-10 15:07:09 -05:00
Jelmer Vernooij
2e3768843a r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
(This used to be commit 9e804e0c21)
2007-10-10 15:06:47 -05:00
Jelmer Vernooij
cc17260f5d r25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
(This used to be commit 160c0013dc)
2007-10-10 15:06:45 -05:00
Jelmer Vernooij
d222c5e7ae r25166: Simplify can_contain_deferred and add tests for it.
(This used to be commit 1afc7dd4d3)
2007-10-10 15:06:45 -05:00
Stefan Metzmacher
e8712bebae r25114: handle structs and unions without typedefs better
in can_contain_deffered()

jelmer: we need to handle this more genericly, I assume
        we have a lot of other related bugs

metze
(This used to be commit 3e0f22c857)
2007-10-10 15:06:42 -05:00
Stefan Metzmacher
8f3ab786f0 r24983: setup the correct talloc name for structures used in the generated
server stubs

metze
(This used to be commit 678de9ce60)
2007-10-10 15:03:44 -05:00
Jelmer Vernooij
8d182d881d 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.
(This used to be commit 6890a01dbf)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
7acc0e77a6 r24815: Support cpp_quote().
(This used to be commit 30c1de30bb)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
09c188e735 r24812: Fix headers for external users.
(This used to be commit ff6684adfd)
2007-10-10 15:03:13 -05:00
Jelmer Vernooij
7f0f39aa23 r24721: Avoid True and False because they are only available within Samba.
(This used to be commit 2d049c8d30)
2007-10-10 15:02:55 -05:00
Jelmer Vernooij
ed8d04ead9 r24717: Some more easy bool conversions, update TODO for registry
(This used to be commit fc8771fb6a)
2007-10-10 15:02:55 -05:00
Stefan Metzmacher
edb4fefeb7 r24596: - talloc request structure for the samba3 server bindings
and make that the primary context for the request
  which the implementations can also use.
- go via functions pointers in the ndr_interface_table
  instead of calling functions directly.

metze
(This used to be commit fa577a1294)
2007-10-10 15:02:22 -05:00