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

14278 Commits

Author SHA1 Message Date
Jelmer Vernooij
9c038a7411 python: Allow wrapping pointers within talloc'ed memory that are not talloc contexts. 2008-01-14 19:53:05 +01:00
Jelmer Vernooij
cf3664594d pidl/python: Support repr() for python types. 2008-01-14 19:53:05 +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
49d91a1a92 pidl/python: Work towards supporting more complex types (arrays, etc). 2008-01-14 19:53:05 +01:00
Jelmer Vernooij
1f3bbb65e5 pidl/python: Support more scalar types when converting from Python. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
48cfd44dc0 pidl/python: Use new talloc utility functions. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
9366ddba92 python: Add some utility functions for working with Python objects based on talloc pointers. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
e9037d0f5d pidl/python: Convert unions. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
23add37b72 pidl/python: Fix more warnings in the generated code. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
97971f0d80 pidl/python: Fix bug accidently filling in the body of enums/bitmaps without body. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
35a4843f9c pidl/python: Fix const type wrapping. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
b8bdbc38c1 pidl/python: Fix conversion of last few non-standard types. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
9a907567c8 pidl/python: Remove references to DECLARE, which has been removed. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
991aa950a3 pidl/python: Some more support for special case types. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
1ab6172969 pidl/python: Convert some Python objects back to C, return proper tuples in client calls. 2008-01-14 19:53:03 +01:00
Jelmer Vernooij
c2595d3754 python/pidl: Start wrapping function arguments. 2008-01-14 19:53:03 +01:00
Jelmer Vernooij
02dd02c529 python/pidl: Handle non-string types. 2008-01-14 19:53:03 +01:00
Jelmer Vernooij
732c3453f0 python/pidl: More work on wrapping enums, bitmaps and structs. 2008-01-14 19:53:03 +01:00
Günther Deschner
0686977066 Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
2008-01-14 17:40:37 +01:00
Günther Deschner
54458c4624 Fill in IDL for lsa_SetInfoPolicy and lsa_SetInfoPolicy2.
Guenther
2008-01-14 17:31:30 +01:00
Jelmer Vernooij
9041e385fe python: Avoid overwriting flags for already found version of Python. 2008-01-13 14:59:16 +01:00
Jelmer Vernooij
e179db6d0f python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons. 2008-01-13 06:07:20 +01:00
Jelmer Vernooij
bba8914af5 Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system. 2008-01-13 04:46:11 +01:00
Jelmer Vernooij
620ec69665 python: Fix initialization of variable. 2008-01-13 04:23:09 +01:00
Jelmer Vernooij
1fbc3a9f47 python: Try more possible flags.
The flags returned by python-config may be for gcc and may not work for other compilers.
2008-01-13 04:17:04 +01:00
Jelmer Vernooij
dec3f421be python: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2. 2008-01-13 03:32:44 +01:00
Jelmer Vernooij
1fe5c1ad07 pidl: Avoid accidently filling in empty body for types without body. 2008-01-13 00:05:24 +01:00
Jelmer Vernooij
4f4dfa6042 pidl/ejs: Fix bug that filled in the body for types without body. 2008-01-12 23:38:05 +01:00
Jelmer Vernooij
893f4102c9 pidl: Add function for determining whether a type has a body. 2008-01-12 23:10:28 +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
e8ab241ff4 pidl: Add ability to write type metadata to a file. 2008-01-12 22:15:12 +01:00
Jelmer Vernooij
169e91b07c pidl: Remove obsolete smb_interfaces code. 2008-01-12 22:03:05 +01:00
Jelmer Vernooij
7569fd5fce pidl: Add CPAN metadata. 2008-01-12 22:00:14 +01:00
Jelmer Vernooij
e44ee3e60a pidl: Add more parsing tests. 2008-01-12 21:37:46 +01:00
Jelmer Vernooij
a13f51dae5 pidl: Update documentation. 2008-01-12 21:33:18 +01:00
Jelmer Vernooij
254bf85c2e pidl: Remove declare tests, add more tests for typedef. 2008-01-12 21:21:14 +01:00
Jelmer Vernooij
ce40890ef0 pidl: Move tests for the CUtil module to a separate file. 2008-01-12 21:14:44 +01:00
Jelmer Vernooij
2fe013f715 pidl: Remove support for the declare keyword in other parts of the pidl code. 2008-01-12 01:22:23 +01:00
Jelmer Vernooij
3fd750bd54 idl: Use typedef rather than declare. 2008-01-12 01:18:53 +01:00
Jelmer Vernooij
ea33713892 pidl: Remove support for the "declare" keyword in the parser. 2008-01-12 01:10:59 +01:00
Jelmer Vernooij
79344c9c5e pidl: Remove multiple copies of get_pointer_of and get_value_of. 2008-01-11 20:37:21 +01:00
Jelmer Vernooij
d6b06fc03e python: Fix typo. 2008-01-11 16:28:17 +01:00
Jelmer Vernooij
f056f62495 Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166. 2008-01-11 16:13:46 +01:00
Kai Blin
1abb2b471a wbinfo: Handle SID_NAME_COMPUTER in sid_type_lookup 2008-01-11 11:13:05 +01:00
Kai Blin
ba5a21998b libnet: Fix includes to silence a warning 2008-01-11 11:12:59 +01:00
Kai Blin
a5b9d2f332 libnet: Rename a variable so it does not shadow a global. 2008-01-11 11:12:52 +01:00
Kai Blin
89d5b91d3c ejs: Remove cast to incompatible pointer. 2008-01-11 11:12:45 +01:00
Kai Blin
d41b2e5ccd gentest: Fix a warning. 2008-01-11 11:12:41 +01:00
Kai Blin
37ed9fbeee ldb: Get rid of a warning. 2008-01-11 11:12:36 +01:00