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

362 Commits

Author SHA1 Message Date
Günther Deschner
6ac36d6a4b r26698: Prettify samba3 client code a little more.
Guenther
2008-01-09 05:03:01 -06:00
Günther Deschner
7ee3fd43f9 r26696: Some more minor pidl samba3 client cosmetics.
Guenther
2008-01-08 17:03:01 -06:00
Günther Deschner
c52d9e6e60 r26695: Cosmetic fix for pidl generated samba3 client code.
Guenther
2008-01-08 11:06:01 -06:00
Jelmer Vernooij
7db3222dac r26667: pidl/python: Don't generate casts anymore; this will generate warnings with older Pythons, but will be a lot cleaner with newer versions. 2008-01-05 08:06:05 -06:00
Jelmer Vernooij
bc6aa49d8e r26662: pidl/python: Add constructors for struct/union types. 2008-01-03 21:51:02 -06:00
Jelmer Vernooij
336dae6d42 r26661: pidl/python: More generic handling of NTSTATUS, add stubs for types. 2008-01-03 21:51:01 -06:00
Jelmer Vernooij
0ee0581f05 r26660: pidl/python: Generate stub functions for DCE/RPC client functions, constructor for interface objects. 2008-01-03 18:03:02 -06:00
Jelmer Vernooij
885e5980d7 r26659: pidl/python: Support string constants and handle modules. 2008-01-03 16:03:01 -06:00
Jelmer Vernooij
f47044aacc r26658: pidl: Register Python modules. 2008-01-03 15:51:02 -06:00
Jelmer Vernooij
f1960ca7c4 r26657: pidl: Add basics for generating Python modules. 2008-01-03 15:27:02 -06:00
Jelmer Vernooij
4ff8f4e370 r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl. 2007-12-26 11:57:03 -06:00
Jelmer Vernooij
77748c6a9f r26455: Use new talloctype macro in generated SWIG code as well. 2007-12-21 05:50:23 +01:00
Günther Deschner
2f69329288 r26257: Get rid of "uninitialized value" warning in the samba3 pidl generator.
Jelmer, please check.

Guenther
2007-12-21 05:47:31 +01:00
Günther Deschner
cf55365177 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
2007-12-21 05:47:31 +01:00
Jelmer Vernooij
9b5b77c399 r26110: Create separate function for connecting, add helper for creating result typemaps. 2007-12-21 05:46:08 +01:00
Jelmer Vernooij
3e04846b3f r26109: Use new SWIG helpers in autogenerated DCE/RPC SWIG files. 2007-12-21 05:46:07 +01:00
Stefan Metzmacher
d361bb1741 r26049: pidl: don't use ndr_pull_save anymore
metze
2007-12-21 05:45:47 +01:00
Stefan Metzmacher
7106f21de8 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
2007-12-21 05:44:54 +01:00
Stefan Metzmacher
c97fe5b54c r25806: let libndr.h include needed stuff and remove pidl magic
for choosing common required headers

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

metze
2007-12-21 05:43:40 +01:00
Jeremy Allison
ad0b9792f2 r25700: Now BOOL no longer exists in Samba 3.2, use bool instead.
Jeremy.
2007-12-21 05:43:20 +01:00
Stefan Metzmacher
7203f717a6 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
2007-12-21 05:43:08 +01:00
Jelmer Vernooij
aa089378a0 r25457: use different location for out-of-tree builds 2007-10-10 15:07:39 -05:00
Jelmer Vernooij
3c2d06d8fc r25453: Fix include for NTSTATUS. 2007-10-10 15:07:38 -05:00
Jelmer Vernooij
37425495f3 r25301: Merge my includes.h cleanups. 2007-10-10 15:07:09 -05:00
Jelmer Vernooij
9e804e0c21 r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data. 2007-10-10 15:06:47 -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
1afc7dd4d3 r25166: Simplify can_contain_deferred and add tests for it. 2007-10-10 15:06:45 -05:00
Stefan Metzmacher
3e0f22c857 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
2007-10-10 15:06:42 -05:00
Stefan Metzmacher
678de9ce60 r24983: setup the correct talloc name for structures used in the generated
server stubs

metze
2007-10-10 15:03:44 -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
Jelmer Vernooij
2d049c8d30 r24721: Avoid True and False because they are only available within Samba. 2007-10-10 15:02:55 -05:00
Jelmer Vernooij
fc8771fb6a r24717: Some more easy bool conversions, update TODO for registry 2007-10-10 15:02:55 -05:00
Stefan Metzmacher
fa577a1294 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
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
9b59534a14 r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
2dbf89e223 r24563: remove unused DCERPC specific stuff from the generated NDR code
metze
2007-10-10 15:02:16 -05:00
Stefan Metzmacher
f874eca5da r24560: rename some DCERPC_ prefixes into NDR_
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
84651aee81 r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
2007-10-10 15:02:15 -05:00
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
701aa31d14 r24524: make use of ElementStars()
metze
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
ff11f2ce0c r24523: we don't support multi-dimentional [out] arrays
for the samba3 server stubs yet, so bail out.

metze
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
a698fb1857 r24522: make the "skip pointer to an array" logic a bit easier
metze
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
66d4d6f196 r24521: we don't yet have optional args to DeclLong()
metze
2007-10-10 15:02:09 -05:00