summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3027: got rid of some configure checks we don't need any moreAndrew Tridgell1-45/+5
(This used to be commit 6a3f356b763b0577e2ad3e7ea74bee932c04a46b)
2007-10-10r3022: Work on unmarshalling arrays of structs in a buffer (Python string) forTim Potter1-6/+32
spoolss. Doesn't quite work yet. (This used to be commit 9045645ddf4eb8b5596d220ed936c8731641ef0a)
2007-10-10r3009: Fix up unmarshall functions to return Python dict instead of a NTSTATUS.Tim Potter1-18/+7
We can now unmarshall a single printer returned from an EnumPrinters. (This used to be commit 89da7a9196d40699881f12c9a5fe62301aafd4cf)
2007-10-10r3001: Expose unmarshalling functions for structures marked "public" in theTim Potter1-10/+33
idl. This allows us to pass a buffer of bytes returned from a spoolss call and convert it to a Python dictionary. Works for enumprinters level 1! (This used to be commit 4bc497a2994b12845a46b2d19f60bb81c9869fc9)
2007-10-10r2994: More cleanups. Move the generation of NTSTATUS and WERROR exceptionsTim Potter1-2/+19
from inside a swig %exception block and into the argout typemap. This will allow us to wrap functions that don't require exception handling, and also get rid of some ugly code in dcerpc.i (This used to be commit 558076cc8ddbdb563869f7d35150310217f30c31)
2007-10-10r2990: Add support to pidl for autogenerating ndr_size_*() functions. AddingJelmer Vernooij1-1/+129
the [gensize] property to a struct or union will make pidl generate a ndr_size_*() function. (not all nasty bits of NDR are completely covered yet by the ndr_size*() functions, support for those will be added when necessary) I also have a local patch (not applied now) that simplifies the pidl output and eliminates the number of functions required. It would, however, make pidl more complex. (This used to be commit 7c823f886afd0c4c6ee838f17882ca0658417011)
2007-10-10r2988: this should fix support for negative switch levels in PIDLAndrew Tridgell1-3/+3
(This used to be commit 21ed51d47f7efd493ad64b564fb6362ef8fb067f)
2007-10-10r2987: added support for signed 32 bit integers in pidlAndrew Tridgell1-0/+1
(This used to be commit 24122eb93e39de8db3675618b6c227c95eb58d9c)
2007-10-10r2986: Add correct value to dict when generating wrapper for functions thatTim Potter1-2/+19
return WERROR values. Clean up WERROR vs NTSTATUS handling a bit. (This used to be commit e6756e3ee0af3e7e98f6deaf9dc83af9aac1b586)
2007-10-10r2973: Allow comma's inside parentheses in property argumentsJelmer Vernooij2-234/+283
(This used to be commit ab2a788fe75ddaf8ff493477f2006a03959e6ab5)
2007-10-10r2968: fixed the byte order problem with the new RHS parsing on ncacn_ip_tcpAndrew Tridgell1-1/+1
(This used to be commit cc00f9b6b87783d189df00de0ce9ae92b907e21a)
2007-10-10r2966: Handle conversion of DATA_BLOB fields from Python in a slightly nicerTim Potter1-0/+5
manner. I'm hoping to get rid of DATA_BLOB's but for the moment they make it easy to get some spoolss action happening quickly. (This used to be commit 15f8f73f8bfec099973fb8bf167020ae50346cf6)
2007-10-10r2964: Add spoolss to list of wrapped client functions.Tim Potter1-1/+1
(This used to be commit 96d31ff19d2fa5b0c5a0ee23000a97cb77637968)
2007-10-10r2963: Handle structures that contain more than one union as members.Tim Potter1-2/+2
(This used to be commit 6a47a079c003c2a139665ad2b5ede5d139049bd1)
2007-10-10r2962: Tweak to get conversion function for pointers to union compiling again.Tim Potter1-1/+1
(This used to be commit 8c9c94d578651c5884db0aa0feb6e16858274fbb)
2007-10-10r2958: the warnings from the swig code in pidl were totally swamping validAndrew Tridgell2-15/+17
warnings, making real errors impossible to spot. this fixes the warnings, and probably fixes some pidl/python bugs as well. (This used to be commit 2f1e9954e3381b1864a6fd9fa8b2231478179d4d)
2007-10-10r2951: fixed the intptr_t test for discard_const()Andrew Tridgell1-1/+1
(This used to be commit 3318cf2722597e57d1731152b2607f6b167e45b9)
2007-10-10r2948: added support for the [range(low,high)] attribute in pidl. This allowsAndrew Tridgell1-0/+5
range checking of any integer value, to help protect against denial of service attacks (which could otherwise cause large memory allocations) (This used to be commit dbe6430d78f1b9aa59969074077e4afa5adf7570)
2007-10-10r2933: Only pull a union once when it occurs in a subcontextJelmer Vernooij1-2/+6
(This used to be commit 309623447eef9ae554e2f25713c2123ab578cc6e)
2007-10-10r2900: rusty pointed out to me that discard_const() can be done via a macroAndrew Tridgell1-0/+1
on systems that have the intptr_t type, and for systems that don't have it, they also almost certainly won't have -Wcast-qual, so we can use a void* cast. (This used to be commit 2132d38f9c5ba59825558d5ba084a514ebc2626b)
2007-10-10r2858: fix a few SMB_EXT_LIB_FROM_PKGCONFIG() bugsStefan Metzmacher1-7/+7
metze (This used to be commit 285d1ea4b09d4fc325544ad1b98244cc1046759c)
2007-10-10r2806: Add winreg.i to dependencies for dcerpc.iTim Potter1-1/+1
(This used to be commit dc43666135a0d9f3be9ebe588ffb24d29027c42c)
2007-10-10r2805: Handle NULL pointers when converting structures to Python. All theTim Potter1-1/+4
test cases up till now haven't come across them yet! (This used to be commit 5fd3c12d4fe3e572618bcd71c5915f69539fe7e6)
2007-10-10r2777: Correctly abort if an idl file fails to parse. Bloody perl...Tim Potter1-1/+1
(This used to be commit 35ff140b43b353a8848e417bb309046605e98085)
2007-10-10r2767: Get rid of some unnecessary %s formatting.Tim Potter1-2/+2
(This used to be commit b63a0ef0d41e6f0fdc6bf46435fb7b81925946da)
2007-10-10r2764: Use hand-written function for all occurrences of IDL strings, not justTim Potter1-2/+2
those with a single pointer. (This used to be commit c4c748ce63fd2d87d4388a1eac9afa586867ce28)
2007-10-10r2735: More DCOM updates:Jelmer Vernooij1-4/+10
- Several updates to the interface definitions after reading some more of the specs - Add Remote Activation interface - Add body extension uuids - Add oxidresolve torture test to list - Make pidl complain about object interfaces that don't inherit from IUnknown (This used to be commit 1bb471832830d73f0c7290e2ec12878518598379)
2007-10-10r2704: Complain about 'object interfaces' that don't have version 0.0 (the ↵Jelmer Vernooij2-1/+7
standard doesn't allow them to! I think the idea is that you just create a new interface that inherits your old interface, thus ensuring backwards-compatibility) Re-enable to validator (This used to be commit e364e46a88e5a222c94cdb9cf8e7a124e43f0bcf)
2007-10-10r2683: Fix a couple of compile warnings, depend on gtk+-2.4Jelmer Vernooij1-5/+6
(This used to be commit 4668384717eda878583477b8f455809056885120)
2007-10-10r2656: moved the seteuid configure tests into the posix backend (these testsAndrew Tridgell2-63/+0
don't actually work yet, that will come later) (This used to be commit 46b790c19da25ba88d29f555f828688bb05e531d)
2007-10-10r2582: Merge checks for xattr and acl libraries from Samba3 so the ↵Tim Potter1-0/+114
{get,set}ntacl programs can build on non-xattr machines. (This used to be commit daad76207dbb4060c231a58c99970e837e1e858f)
2007-10-10r2560: Don't require structure fields that have the pidl value() propertyTim Potter1-1/+5
to be set. They can be if you want, but will be overwritten by the pidl push code. (This used to be commit 3170f6ed84e0514bf18d2a346f153bf0231b245b)
2007-10-10r2496: Check that reference parameters are not None.Tim Potter1-1/+9
(This used to be commit a2ab6c5ef9cc6db27fc8c73e6117f0f7a116d563)
2007-10-10r2491: Handle pointers to scalars when converting to a Python dictionary (i.eTim Potter1-30/+1
resume handles). Remove some now unused debugging code. (This used to be commit f250203a5f54c689c09ba780e9e3af7f8f2311bb)
2007-10-10r2490: Some changes to take into account non-error NTSTATUS codes being ↵Tim Potter1-2/+6
returned: - Only throw an exception if NT_STATUS_IS_ERR() instead of !NT_STATUS_IS_OK(). - Add the NTSTATUS value to the returned dictionary under a key of 'result' so calling functions can access it. (This used to be commit 4ddcae90a2e9b93e58bd57932cd9ae4c95be6ae8)
2007-10-10r2428: Handle unions as [out] parameters by passing the value of the switch_isTim Potter1-15/+61
parameter down to the various conversion functions. (This used to be commit 46b3d4cfd8effcc75293b8b0af04203fa25742b2)
2007-10-10r2426: Handle pointer to scalars converting C to Python.Tim Potter1-10/+26
Peeked at parser.pm for some hints at getting array lengths right when the length_is property is present. (This used to be commit a17aaadb7d57dbe4cf0a62634f405c61b79a953f)
2007-10-10r2425: Found another place for a type check. When convert a dictionary valueTim Potter1-2/+11
to an array, check that the value exists and it is of list type. Fix a typo. (This used to be commit bcee3860554260bca2bbb6fd73d8770a4997c041)
2007-10-10r2424: Refactor handling of non-OK NTSTATUS returns to be more swiggish.Tim Potter1-19/+6
(This used to be commit aaef6eaf6e0c38fb277d1be0617dfdff559a0115)
2007-10-10r2422: Convert PyDict_{Get,Set}Item() calls to PyDict_{Get,Set}ItemString().Tim Potter1-10/+10
(This used to be commit 9ea5574bb12161733afb592425724cff8c4bbedd)
2007-10-10r2418: Handle a pointer to a scalar when converting a field from Python.Tim Potter1-4/+9
Handle a pointer to an array of structures when converting to Python. (This used to be commit e135265d1d91ff9a6a4e7ec0079ecd88f0afe784)
2007-10-10r2417: Add comments to the interface generator as well as some commentary inTim Potter1-172/+227
the generated interface code. Get rid of global variables within the perl generator code. (This used to be commit 36320c694162a58665ace10576ad18c13a7850fe)
2007-10-10r2416: More argument checks. Raise an exception instead of segfaulting if aTim Potter1-9/+30
dictionary does not contain a required key. (This used to be commit fc5443af9c271baf189ebe0b098e190b5eda4e14)
2007-10-10r2415: Throw a TypeError exception if a scalar value doesn't have the correctTim Potter1-20/+52
type, or the argument to a to_python function isn't a dictionary. (This used to be commit 0f58ffb142a9b8c5c745b3a2c93a1659ea8282e5)
2007-10-10r2411: The other half of getting autogenerated code working using misc.idl:Tim Potter1-14/+70
use Python lists for arrays when marshaling and unmarshaling arrays. This gets samr_SetSecurity() working. (This used to be commit 9bc55de42ab9f0d71abcea65a7f4cf24db452381)
2007-10-10r2409: Convert NULL pointers to Py_None, and vice versa.Tim Potter1-2/+18
This gets samr_QuerySecurity() working again. (This used to be commit 810bce2fe517969e62d87497bbe4ae645badfdf6)
2007-10-10r2408: Tridge suggested that all the structures from misc.idl (policy handles,Tim Potter1-31/+71
sids, security descriptors and acls) can be automatically generated instead of hand-written. Fix up the swig wrapper generator and helper routines to do this. (Only works for policy handles right now though and arrays are to be converted into lists instead of being binary blobs). Fix up wrapper generation for modules that don't define an interface (e.g misc.idl). (This used to be commit 160dc90921ecc136a25ae88e5c28800ddda5722a)
2007-10-10r2406: fixed a couple of typosAndrew Tridgell1-2/+2
(This used to be commit 87a6c678fac0b5e740a9a739ef1ad113f2b508fd)
2007-10-10r2398: Import Data::Dumper module safely so it doesn't hurt the build farm.Tim Potter1-1/+2
(This used to be commit f88996540cfecf830595425735d2f1d4ad623c3d)
2007-10-10r2359: More consistency fixes: pass a talloc context to every function thatTim Potter1-4/+4
doesn't convert scalar types, more renaming of function names. Implement conversion fns for dom_sid, dom_sid2 (to struct version stubbed out). Also from Python conversions for security_acl and security_descriptors. (This used to be commit 945a4681051132c13f9235f676464fffb3bfadc8)