summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3611: DCOM client support works!!Jelmer Vernooij4-0/+9
The torture test DCOM-SIMPLE now successfully does an IStream_Read and a IStream_Write call. This test can now be run successfully against the "Simple DCOM" Visual Studio example. (You have to quote out line 337 in pidl. pidl complains if the variable that contains the array size follows the array. I still need to fix this properly) Next goals: - Clean up code - Server side support - Support custom marshalling - Support DCOM interfaces in files other then dcom.idl (This used to be commit 8693344772a9b700533179f4bacfe27ec27dfcfe)
2007-10-10r3606: More DCOM fixes:Jelmer Vernooij2-5/+4
- OXID tables work now. IOXIDResolver is used if there is used for getting a STRINGBINDING if none is known yet - Add custom dissectors for STRINGARRAY and DUALSTRINGARRAY. If there's a way to get rid of these later on (by supporting them thru pidl somehow), I'd be happy to use that instead of doing it manually. I can now get to the point where we have created an object and are connected to it. The only thing left to do is being able to set the Object UUID properly.. (This used to be commit 54e1e5edca50d3cd496c080715e84ec62cb2a10c)
2007-10-10r3601: Lots of smaller DCOM updates and fixes. Adds oxid tables, properJelmer Vernooij2-19/+49
use of contexts. (This used to be commit 93eb3cd99c4fb065a69eabcead0c33804259c976)
2007-10-10r3587: Add status_codes.i as a dependencies for dcerpc.iTim Potter1-1/+1
(This used to be commit 358f6410639f4843a2781094fb102952f9dc8639)
2007-10-10r3586: Fix some of the issues with the module init functions.Jelmer Vernooij5-49/+64
Both subsystems and modules can now have init functions, which can be specified in .mk files (INIT_FUNCTION = ...) The build system will define : - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on This removes the hack with the "static bool Initialised = " and the "lazy_init" functions (This used to be commit 7a8244761bfdfdfb48f8264d76951ebdfbf7bd8a)
2007-10-10r3556: Remove --enable-krb5developer and --enable-gtkdeveloper, as the newAndrew Bartlett1-17/+1
modular headers confine the warnings, and everwhere else we need them. Use the gcc option to suppress the silly strftime warning. Andrew Bartlett (This used to be commit 0bf3c245902da7e2e1a6b03c410d49c79f43edc7)
2007-10-10r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)Andrew Tridgell1-1/+1
(This used to be commit 864a142409dcf3339343fdff407332629ad07633)
2007-10-10r3545: initial support for using extended attributes to hold extended dos ↵Andrew Tridgell1-10/+0
attributes of files. I decided to use IDL/NDR to encode the attribute, as it gives us a simple way to describe and extend the saved attributes. The xattr code needs to hook into quite a few more places in the pvfs code, but this at least gets the basics done. I will start encoding alternate data streams streams, DOS EAs etc soon using the same basic mechanism. I'll probably stick to "version 1" for the xattr.idl for quite a while even though it will be changing, as I don't expect anyone to be deploying this in production just yet. Once we have production users we will need to keep compatibility by supporting all the old version numbers in xattr.idl. (This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)
2007-10-10r3516: dcerpc_epm_map_binding now checks the endpoints it nows firstJelmer Vernooij1-1/+0
and then possibly does a epm_Map call(). ncacn_np now also uses dcerpc_epm_map_binding() (This used to be commit 77eec3fa18dbbf4d774ccf04c7a38b0887f26ca6)
2007-10-10r3515: Fix RemoteActivation correctly this time (-:Jelmer Vernooij1-0/+1
Thanks to tridge for some help on this one! (This used to be commit 1104667190aa144e2c7d79ece9a55502b98d0351)
2007-10-10r3513: Add (the infrastructure for) DCOM support. Contents:Jelmer Vernooij5-7/+32
- Support for sending over the object UUID in DCERPC calls - Simple torture test for the DCOM "Simple" object - Generate extra argument for "object" interfaces in pidl - Some stubs for common DCOM functions (This used to be commit c052f2e1edd816206d8974af3140cec7ef97a70c)
2007-10-10r3484: - add support for conformant string arrays at the end of a structStefan Metzmacher2-2/+32
- add support for strings where the length excludes the NULLTERM metze (This used to be commit 8251d8b3e5af351972aa41aed63f7a7d2640910e)
2007-10-10r3477: add '--with-disable-ext-lib=LIB' option to be able to disableStefan Metzmacher2-1/+13
the usage of external libraries. (works currently only with the pkg-config detected libs) metze (This used to be commit 2640f2f57a4d56e07d946d7bb48d2a0ea110d06e)
2007-10-10r3473: Add LIBCRYPTO_OBJS to python extensions.Tim Potter1-1/+2
(This used to be commit f9038ee62f623ea07ca4c320b979e876464dcc96)
2007-10-10r3465: fix SMB_SUBSYSTEM_NOPROTO()Stefan Metzmacher3-20/+17
metze (This used to be commit e12595a750ea3f5ccc1ca8e628b707c0753394d7)
2007-10-10r3460: Add LIBNDR_GEN_OBJS and LIBNETIF_OBJS to swig objs.Tim Potter1-1/+3
(This used to be commit f4c04fcf8f185b966c4ceb455aef4e9e54a98897)
2007-10-10r3448: some systems don't have stdint.hAndrew Tridgell1-0/+1
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)
2007-10-10r3445: made the gtk tooks use minimal includes. This approximately halves theAndrew Tridgell2-18/+0
total include lines in compiling C files in Samba (the .gch file is now 5M instead of 12M) This also gets rid of the silly gtk compile warning for non-gtk code (This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a)
2007-10-10r3443: the next stage in the include files re-organisation.Andrew Tridgell1-3/+6
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10r3442: Add support for the "call_as" and "local" attributes.Jelmer Vernooij4-664/+749
(This used to be commit 8e25117103b0339441bc6328176ed34034005528)
2007-10-10r3440: Add support for "coclass" to the pidl parser - the idl keyword thatJelmer Vernooij1-4/+17
describes a COM class. A coclass is the implementation of one or more interfaces. It has a UUID referred to as it's CLSID (Class ID). Also adding an example coclass called "CoffeeMachine". You can give it a string (or a cup, whatever you like ;-) and it will fill it with "COFFEE" (kind of the like the echo pipe is for regular RPC). CoffeeMachine's Windows implementation already works, a torture test for Samba will follow soon. (This used to be commit 05dd840b6ffba0d38d98e2e80d856e2f2b5d877c)
2007-10-10r3432: Support WERROR's in arguments (not just as return type). Some ofJelmer Vernooij1-1/+1
the DCOM calls are wrappers around several local calls, so you get things like: WERROR foobar ( [in] int num_ifaces, [in,size_is(num_ifaces)] IID *ifaces, [out,size_is(num_ifaces)] WERROR *results); (This used to be commit 0873bf2cbe3589988e518cf68ad4d14343b9240b)
2007-10-10r3431: Allow optional semicolon after interface definitionsJelmer Vernooij2-128/+151
(This used to be commit edbd789abb505accd3e72863d13acd2603d991f6)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell3-5/+33
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r3423: auto-generate prototypes for all external functions in pidlAndrew Tridgell3-79/+147
(This used to be commit 009488dfe55f5219b24c30222b1a8bf411a7e939)
2007-10-10r3422: allow for subsystems that don't get included in the list of ↵Andrew Tridgell2-3/+30
auto-prototype objects, using SMB_SUBSYSTEM_NOPROTO() (This used to be commit e6b69183de785641144f9abb1853cab73c70073e)
2007-10-10r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.Tim Potter1-1/+5
(This used to be commit 12e037dbe3d497aff2415c0a22fab20a7932ab7a)
2007-10-10r3406: Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA.Tim Potter1-1/+3
(This used to be commit deaa5159f41a8841d75801b441e7bd5cf2636870)
2007-10-10r3310: Update dependencies for swig wrappers.Tim Potter1-1/+3
(This used to be commit 5dcb300fca592cc62d325c47c857b046c90e7b42)
2007-10-10r3303: Call pull function for correct type instead of spoolss_PrinterInfo whenTim Potter1-1/+1
unmarshalling arrays. (This used to be commit ee535b6801e553d0a180f18cc2c4b4438ee23de1)
2007-10-10r3282: some C pre-processors don't like expressions likeAndrew Tridgell3-2/+14
uuid(1ff70682-0a51-30e8-076d-740be8cee98b) so we now accept uuid("1ff70682-0a51-30e8-076d-740be8cee98b") in pidl, and automagically add quotes only if needed (This used to be commit 4aab2cb210eb9678bb72aebb33dcf6fd499206c1)
2007-10-10r3281: some compilers can't handle empty structures, so for empty IDLAndrew Tridgell1-0/+6
structures generate a single _empty_ element in the header (This used to be commit 00ff1ca1d284bb698e98c773b18a29695e927605)
2007-10-10r3204: Got unpacking of an array of PrinterInfo union elements working. Phew.Tim Potter1-53/+44
(This used to be commit f490cd719cc02589e73e26fa983aff90708d1926)
2007-10-10r3196: Grr - add more useless dependencies to get swig wrappers to build.Tim Potter1-1/+2
(This used to be commit cc3f71c4658de6bb8216905d7657f6217dc55ba0)
2007-10-10r3163: Add server side support for ncalrpc: and ncacn_unix_stream:Jelmer Vernooij1-1/+1
Examples of binding strings are : ncalrpc:[EPMAPPER] ncacn_unix_stream:[/tmp/epmapper] N.B. The unix socket support in lib/socket/ appears to close and remove the socket it is listening on after the first client disconnects so until that has been fixed, it is only possible to do one ncalrpc: or ncacn_unix_stream: request per instance of smbd :-) Support for looking up NCALRPC names via the endpoint mapper will be added later. (This used to be commit 426f3e63cae3d306dcdc13ee4b655eed30057ff8)
2007-10-10r3162: Add client-side support for the ncalrpc: and ncacn_unix_stream: ↵Jelmer Vernooij1-1/+2
transports. ncalrpc uses the new config option "ncalrpc dir" for creating unix sockets. (This used to be commit b15cfbe2512961a199ecb069730d9a19787579f5)
2007-10-10r3043: Use binding strings for specifying endpoints. The property forJelmer Vernooij1-9/+7
specifying a endpoint is now also 'endpoint' instead of 'endpoints'. The default endpoint (if none is specified) is still "ncacn_np:[\\pipe\\ifacename]", where ifacename is the name of the interface. Examples: [ uuid(60a15ec5-4de8-11d7-a637-005056a20182), endpoint("ncacn_np:[\\pipe\\rpcecho]", "ncacn_ip_tcp:") ] interface rpcecho { void dummy(); } dcerpc_binding is now converted to ep_description in the server, but I hope to completely eliminate ep_description later on. The eventual goal of all these changes is to make it easier to add transports as I'm going to add support for ncalrpc (local RPC over named pipes) and ncacn_unix_stream (Unix sockets). (This used to be commit f3da7c8b443a29b0c656c687a277384ae1353792)
2007-10-10r3041: a start of a README/HOWTO for the samba4 build system.Stefan Metzmacher2-4/+88
(still incomplete, but should be a good start...) can someone look for spelling and grammar mistakes... metze (This used to be commit 66565187724c9f42367b590c29ff9775cc7472b4)
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)