Jelmer Vernooij
32dfdae009
Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
...
(This used to be commit 8328ff7641
)
2008-05-19 02:03:00 +02:00
Jelmer Vernooij
06a3d35eb6
Avoid use of relative paths.
...
(This used to be commit 8a4f030261
)
2008-05-18 18:52:33 +02:00
Jelmer Vernooij
d0096e90ba
Fix installation of pidl perl files, torture pc file.
...
(This used to be commit 32da606e37
)
2008-05-10 00:46:25 +02:00
Jelmer Vernooij
f1b76952c0
Fix event context initialization for Python bindings.
...
(This used to be commit 132efc779e
)
2008-04-22 22:33:34 +02:00
Jelmer Vernooij
db30ff4bea
Load default smb.conf file if none was specified explicitly.
...
(This used to be commit 8fa23fac51
)
2008-04-21 17:59:08 +02:00
Jelmer Vernooij
d49f94621b
Provide stubs when the [todo] attribute is set.
...
(This used to be commit 356a5d2474
)
2008-04-16 17:21:48 +02:00
Jelmer Vernooij
7bb2ebb884
Fix size to memcpy call in generated Samba 3 client code.
...
Reported-By: vl
(This used to be commit a28807569d
)
2008-04-15 16:00:07 +02:00
Jelmer Vernooij
fd52fe8616
Fix pointers when pushing strings to python during pidl generation.
...
(This used to be commit ca72187b3e
)
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
c937efc1a6
Attempt to fix the pidl installation on fedora.
...
(This used to be commit 4dd29284bd
)
2008-04-15 10:55:32 +02:00
Jelmer Vernooij
43896320dd
Explicitly specify the paths when installing pidl.
...
(This used to be commit 1695e0e1ab
)
2008-04-14 19:41:13 +02:00
Jelmer Vernooij
66b529029a
Clearer names for singleton return types.
...
(This used to be commit 19d0560464
)
2008-04-08 15:18:24 +02:00
Jelmer Vernooij
90c8841bef
Fix bug handling size arguments in a direction without actual data.
...
(This used to be commit 169d505e9e
)
2008-04-08 14:56:09 +02:00
Jelmer Vernooij
5db62a16ff
Array lengths can be obtained from Python objects so remove them from the Python API.
...
(This used to be commit 652810ff46
)
2008-04-08 14:19:26 +02:00
Jelmer Vernooij
8dd6f735bc
Set VENDORPREFIX rather than PREFIX to try to fix installation on some
...
buildfarm hosts.
(This used to be commit 2d9bb0db6c
)
2008-04-08 13:31:07 +02:00
Jelmer Vernooij
e5aa9f7e8d
Raise NotImplementedError from functions that don't have complete IDL.
...
(This used to be commit 685aab0c99
)
2008-04-08 02:58:18 +02:00
Jelmer Vernooij
ab27e718fd
Support [todo] attribute on functions.
...
(This used to be commit a3e22bbcea
)
2008-04-08 02:57:59 +02:00
Jelmer Vernooij
b99d24419f
Add signature of connect function to docstrings.
...
(This used to be commit 51441376d3
)
2008-04-08 02:08:31 +02:00
Jelmer Vernooij
0bea00f481
use builtin getset stuff rather than custom getattr/setattr implementation.
...
(This used to be commit bb59f3084f
)
2008-04-08 01:42:27 +02:00
Jelmer Vernooij
a5d51180ba
Add function signature to docstrings in python.
...
(This used to be commit 61f331e974
)
2008-04-08 01:23:19 +02:00
Jelmer Vernooij
6f02fdea23
Register types rather than constructors, display structs as classes.
...
(This used to be commit aad07f4825
)
2008-04-08 00:59:27 +02:00
Jelmer Vernooij
a3bfabefd7
Set tp_flags for Python types.
...
(This used to be commit f214206a36
)
2008-04-08 00:13:09 +02:00
Jelmer Vernooij
a057c7369a
Set docstrings from helpstring attribute where possible.
...
(This used to be commit 07f52ca51c
)
2008-04-08 00:10:24 +02:00
Jelmer Vernooij
f07ded6d89
Add simple docstring for Python modules.
...
(This used to be commit 57c7b4e896
)
2008-04-07 23:21:38 +02:00
Jelmer Vernooij
c30f9add8c
Add test for authservice struct.
...
(This used to be commit da8b8364b0
)
2008-04-06 00:57:14 +02:00
Jelmer Vernooij
f5e6534ee7
Fix authservice count.
...
(This used to be commit 761536a5e4
)
2008-04-06 00:42:27 +02:00
Jelmer Vernooij
faa3dec34a
Install pidl by default if ExtUtils::MakeMaker is available. This should make the build process for openchange users easier.
...
(This used to be commit 7fccd85cc6
)
2008-04-04 16:03:54 +02:00
Jelmer Vernooij
30ccc36b8d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchange
...
Conflicts:
source/headermap.txt
(This used to be commit 1b084e85c1
)
2008-04-04 16:02:17 +02:00
Jelmer Vernooij
21f1f3aa68
Include right perl directory when installed.
...
(This used to be commit 9692a48aeb
)
2008-04-01 16:08:21 +02:00
Jelmer Vernooij
55ff0149ea
Install pidl to the same directory as Samba.
...
(This used to be commit e67d8c7b6a
)
2008-04-01 16:03:31 +02:00
Andrew Kroeger
8f8c56bfbc
Convert some more files to GPLv3.
...
(This used to be commit ebe5e83994
)
2008-03-28 01:08:49 -05:00
Günther Deschner
07251792d4
Add some more header properties as inline comments to the generated samba3 client.
...
Guenther
(This used to be commit 8ca4b0b094
)
2008-03-25 17:42:08 +01:00
Michael Adam
bcca7d43c8
pidl: Remove superfluous semicolon in perl code.
...
Michael
(This used to be commit 85f707c6ab
)
2008-02-26 16:41:09 +01:00
Volker Lendecke
bd95d6d5db
Respect the return value of asprintf
...
This removes tons of warnings
warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
for me. Lots of that kind left though :-)
(This used to be commit ba29219ea2
)
2008-02-23 10:26:52 +01:00
Jelmer Vernooij
35dd0b0f4a
Add test for INCLUDE command.
...
(This used to be commit d1aa25249d
)
2008-02-19 02:02:48 +01:00
Julien Kerihuel
c455774d93
Add INCLUDE command to pidl.
...
(This used to be commit 8a8ed4fae8
)
2008-02-19 01:55:01 +01:00
Jelmer Vernooij
05d58f49df
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
...
(This used to be commit b14d61a3b8
)
2008-02-13 17:03:49 +01:00
Stefan Metzmacher
4218856ba9
pidl: $size can be 'foo / 2' so we need to add '(' and ')'
...
'foo / 5 * sizeof(bar)' isn't the same as
'(foo / 2) * sizeof(bar)'.
metze
(This used to be commit a496abc404
)
2008-02-13 13:09:17 +01:00
Jelmer Vernooij
23582ce0f4
Add simple test for ETT_FIELD.
...
(This used to be commit aea5042636
)
2008-02-13 02:28:41 +01:00
Julien Kerihuel
d4006e799a
Support ETT_FIELD keyword.
...
(This used to be commit ec8bd3991f
)
2008-02-13 02:24:11 +01:00
Jelmer Vernooij
6034757963
Move pidl bits to a separate file.
...
(This used to be commit de7af69134
)
2008-02-11 15:19:24 +01:00
Stefan Metzmacher
dbba1925d1
pidl/Samba3::ServerNDR: use talloc_tos() instead of NULL
...
metze
(This used to be commit 99d6f49340
)
2008-02-11 08:44:56 +01:00
Julien Kerihuel
c60d0a10ea
pidl: Allow fixed size arrays inside unions.
...
(This used to be commit c9c1156478
)
2008-02-09 16:26:16 +01:00
Jelmer Vernooij
d696a50452
Fix test count after pointer_default_top() removal.
...
(This used to be commit 9a4b9facc8
)
2008-02-09 16:25:34 +01:00
Stefan Metzmacher
e7c178629f
pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
...
The memory allocation of embedded "ref" pointers needs to be the
same as for all other embedded pointers.
metze
(This used to be commit 6b3817c225
)
2008-02-07 08:33:18 +01:00
Stefan Metzmacher
c713b58a00
pidl/NDR: fix handling of multilevel pointers in function elements
...
The 2nd or higher level of wire pointers needs to be marked as deferred.
metze
(This used to be commit d7970d7032
)
2008-02-07 08:33:18 +01:00
Stefan Metzmacher
1ea5b06307
pidl: get the pointer types correct when an element has multiple pointers
...
Only the first level gets the pointer type from the
pointer property, the others get them from
the pointer_default() interface property
see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx
(Here they talk about the rightmost pointer, but testing shows
they mean the leftmost pointer.)
metze
(This used to be commit aa8518521b
)
2008-02-07 08:33:18 +01:00
Stefan Metzmacher
31fac9d66b
pidl: remove 'pointer_default_top()' support
...
metze
(This used to be commit 145d6c8ea0
)
2008-02-04 18:37:09 +01:00
Stefan Metzmacher
c3008e086b
pidl/Samba4::NDR::Parser: correctly get the name of an array element
...
When we have "*r->out.ous"
(char ***ous, a pointer to a pointer to an array of pointers).
we need to use "(*r->out.ous)[3]" to access the 3rd
element of the array "*r->out.ous[3]" was generated before,
but that's the same as "*(r->out.ous[3])" which would mean
the array would apply to a different level.
This patch prepares support for:
[out,ref,size_is(,num)] [string,charset(UTF16)] uint16 ***names;
It means a [ref] pointer to a [unique] pointer to an array
of [unique] pointers which point to an UTF16 string.
metze
(This used to be commit ec0ee2aa5f
)
2008-02-02 11:16:09 +01:00
Stefan Metzmacher
b3d4f22b30
pidl/Samba4::NDR::Parser: fix $var_name for arrays of scalar reference types
...
uint32 num;
nstring strings[num];
this should use 'r->strings' instead of
'*r->strings' as the pointer to the array.
metze
(This used to be commit 7c7acae817
)
2008-02-02 11:16:01 +01:00
Stefan Metzmacher
9475a76afc
pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a function
...
metze
(This used to be commit 26d7f5bf96
)
2008-02-02 11:15:52 +01:00