summaryrefslogtreecommitdiff
path: root/source4/build
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4551: add support for a pidl extensionsStefan Metzmacher4-474/+622
'declare bitmap foo1;' 'declare enum foo2;' and also allow typedef [public] bitmap ... typedef [public] enum ... you need to a forward declaration of bitmaps and enums when you want to use them in another idl file, and you need to make the real declaration to be public see the next commit to samr.idl and netlogon.idl metze (This used to be commit a8d61aa47388b82595ee02b9cfd35f15afb93c2a)
2007-10-10r4549: got rid of a lot more uses of plain talloc(), instead usingAndrew Tridgell2-2/+2
talloc_size() or talloc_array_p() where appropriate. also fixed a memory leak in pvfs_copy_file() (failed to free a memory context) (This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
2007-10-10r4548: Convert to talloc_p() and talloc_array_p() where appropriate.Tim Potter1-5/+39
(swig stuff seems broken atm though) (This used to be commit 9eeb976773a8d2ed26a690c73d67f5db735e8d3a)
2007-10-10r4540: sync enum and bitmap codeStefan Metzmacher3-31/+26
metze (This used to be commit 2f3aea72ee7d9d90f7b910d11bdd1e96f9f0ebe1)
2007-10-10r4535: add full support forStefan Metzmacher3-15/+214
typedef bitmap { FLAG1 = 0x01 } fooflags; typedef struct { fooflags flags; } metze (This used to be commit 052a7d4f9a3a178149c65a616fdfd87152dff7eb)
2007-10-10r4534: update the yapp generated codeStefan Metzmacher1-354/+466
metze (This used to be commit afef9b10481da3857d3cba598a71c01b827f29de)
2007-10-10r4533: parsing support for:Stefan Metzmacher1-3/+18
typedef [bitmap16bit] bitmap { FLAG1 = 0x0001, FLAG2 = 0x8000 } fooflags; metze (This used to be commit 192f2495468d5d0c5889d94ca791aa8f371514e8)
2007-10-10r4526: - much simpler (and more accurate!) ndr_size_*() code generation. ItAndrew Tridgell3-97/+19
is less efficient, but I really doubt that matters. - use enum in epmapper.idl for protocol type - added support for "enum8bit" flag, used in epmapper.idl (This used to be commit 1a24a50384b7f588844cd012f1218ca242ca4507)
2007-10-10r4523: the PROPERTIES change for typedef was not quite as simple as I ↵Andrew Tridgell2-7/+19
thought. This puts in a workaround that fixes things for now (This used to be commit 0939b83a0f07563edc6448fb6a87a573dbaa9f6c)
2007-10-10r4522: PROPERTIES are now handled at the typedef levelAndrew Tridgell2-297/+286
(This used to be commit 73d5a033e8e9de536239c53e8a063e9be0eff701)
2007-10-10r4521: fixed up the handling of PROPERTIES elements after the change to ↵Andrew Tridgell5-20/+20
support enum (This used to be commit dee8eff2590be58c59b0db089fcca4af3e011c42)
2007-10-10r4518: added proper support for "typedef enum" in pidl. We can now use enums ↵Andrew Tridgell5-258/+403
as types in switch statements and variable types, and the value will be printed with its string name and value (This used to be commit 1852033f2ec7584657d586e44d25a280959e4d81)
2007-10-10r4517: Revert previous commit about giving arrays of scalars their own subtree.Tim Potter1-12/+16
Generate code to display using proto_tree_add_bytes() instead. (This used to be commit 6e480fab3a0f70ae17dd7c0b39da924361a354d5)
2007-10-10r4512: Give arrays of scalar types their own subtree.Tim Potter1-12/+25
(This used to be commit b9432130959aeaab6d1720ac2c6f99e3d8f9e037)
2007-10-10r4511: Remove a crapload of dead code.Tim Potter1-835/+0
(This used to be commit 0f50ed8260ce37c21d8ad62b5a257f22ab4a5534)
2007-10-10r4509: Add missing cr.Tim Potter1-1/+1
(This used to be commit 60f266bf6a30eee485c4f498569201ac50f85120)
2007-10-10r4495: Some more regexps for handling stuff in the lsa and samr pipes -Tim Potter1-1/+14
various types of arrays and relative structures. (This used to be commit 9f99d94ff5863b2da05f2283639852306bfbc74d)
2007-10-10r4489: Remove an obsolete file.Tim Potter1-3/+0
(This used to be commit 446b2cf99641956b9bdede4364c93232d914c678)
2007-10-10r4480: autofree the dcom proxy tablesAndrew Tridgell1-1/+1
(This used to be commit 973acf7bbdb7bd71f052aca15d0189f2e2069fd4)
2007-10-10r4475: fixed smbd to work with the small changes in the ldb API (the most ↵Andrew Tridgell1-0/+1
important change was in the ldb_msg_add_*() routines, which now use the msg as a context, and thus it needs to be a talloc ptr) (This used to be commit 1a4713bfd0e519f3eb7b3241121ff914a6eeef18)
2007-10-10r4469: Version n + 1 of the pidl ethereal parser generator. This version isTim Potter2-67/+335
based on the idea of manipulating the .c and .h files generated by parser.pm with perl regexps and glueing it all together to make an ethereal plugin. I thought this was a pretty crazy idea to start off with but it has turned out to be not as complicated as I thought and has the huge advantage of not duplicating any of the difficult code in parser.pm. (This used to be commit 7007522f83740f41f9a47f5ad5942ea46320d405)
2007-10-10r4468: Don't be a slacker and leave out parameter names when generatingTim Potter1-12/+12
prototypes for ndr push/pull/print functions. (This used to be commit 1fe95ad1720f48a353ec77178e303b437bb13fed)
2007-10-10r4466: rather than defining "STANDALONE" for building tdb, ldb and tallocAndrew Tridgell1-1/+1
outside the tree, instead defined _SAMBA_BUILD_ inside the Samba build. This makes it easier to pull code out of Samba for external use. (This used to be commit 09e98c8745cca7ccb1ad7134c0c09b8e4c0f4f06)
2007-10-10r4363: value "none required" is set if no library is needed (autoconf does ↵Jelmer Vernooij1-1/+7
this the same way) (This used to be commit 8cf15704101e5957e15a0401e4832faf1346f12e)
2007-10-10r4362: dlopen() doesn't imply -ldlJelmer Vernooij1-1/+1
Should fix the build on several *BSD systems that have dlopen() in libc (This used to be commit 6d2b8e71c177d1d35a8b975cd5f24089aaa2bb49)
2007-10-10r4288: don't use struct dcerpc_interface_table anymore in theStefan Metzmacher2-55/+158
main rpc server code. let the backends specify a ndr_push/ndr_pull function like we already do with the dispatch() function. this allows an interface implmentation to work as real proxy without needing to know the idl for an interface that means just the plain decrypted payload can be forwarded If someone want to write such a backend, patches are wellcome metze (This used to be commit a150bdf140d9165a05cbc7cac40b6e3c03a7bd3c)
2007-10-10r4170: don't check array size for conformant arrays (they are checked ↵Andrew Tridgell1-1/+2
separately) (This used to be commit e399834ae1aa9731d5d29c04d5b7b90e356dad6f)
2007-10-10r4139: 2nd attempt at fixing the null ptr in size_is() problem.Andrew Tridgell1-2/+6
(This used to be commit 3040cd65151dbcc54404f9be9d1fbcf539c7b635)
2007-10-10r4136: when we have a size or switch variable that is a pointer we need to ↵Andrew Tridgell1-1/+25
check that the server hasn't given us a null pointer, otherwise we can segv when we dereference it. For example: [size_is(*size)] *x; uint32 *size; if a broken server gave us x != NULL and size == NULL then we would crash. I've added a check_null_pointer() call in pidl to catch this. (This used to be commit 8cbd3f47a95367e861c6b99c44416a9ccef3c9ca)
2007-10-10r4124: include locale.h to get LC_ALL in include/system/iconv.hAndrew Tridgell1-1/+1
(This used to be commit 573230ea99136bd66d00bac18effd28b1e5ba76f)
2007-10-10r4123: set locale to C to ensure ascii string functions workAndrew Tridgell1-0/+2
thanks to Bjoern JACKE <samba@j3e.de> for pointing this out (This used to be commit 53c4d0a7d83181afbe01bbbb0840cb2a086b45da)
2007-10-10r4112: when a pointer is NULL on the wire ensure it is null in the structureAndrew Tridgell1-0/+1
(This used to be commit 83221a0da07bf7c45757e737782f2f4ee541ad88)
2007-10-10r4110: fixed pidl to allow arrays to have size_is() and length_is() elementsAndrew Tridgell1-30/+42
that depend on variables that come after the array in the structure or function. This has been something that has been problematic for a while, but the winreg QueryValue problem finally prompted me to fix it properly. We should now go back and fix up all the ugly workarounds we have used to avoid this problem in other calls. Unfortunately the solution is fairly complex, and involves the use of the internal ndr token lists (similar to the solution for relative pointers). I wonder if anyone else will be able to follow the logic if I get run over by a bus :-) (This used to be commit e839b19ec5581f669f2a7705b1fb80845313251c)
2007-10-10r4096: move the samdb code to source/dsdb/Stefan Metzmacher1-1/+2
the idea is to have a directory service db layer which will be used by the ldap server, samr server, drsuapi server authentification... I plan to make different implementations of this interface possible - current default will be the current samdb code with sam.ldb - a compat implementation for samba3 (if someone wants to write one) - a new dsdb implementation which: - understands naming contexts (directory parrtitions) - do schema and acl checking checking - maintain objectGUID, timestamps and USN number, maybe linked attributes ('member' and 'memberOf' attributes) - store metadata on a attribute=value combination... metze (This used to be commit 893a8b8bca2f020fbbe6f469aaa8dd4478249eb8)
2007-10-10r4086: - make dcerpc_ndr_request_table_send() the default and rename it to justStefan Metzmacher2-2/+2
dcerpc_ndr_request_send() - this allows us to call dcerpc_log_packet() when we receive a packet we can't parse correctly metze (This used to be commit a7a6cea112a180a28188997ca99f30d8dd286bb8)
2007-10-10r4085: print out dcerpc_fault's as namesStefan Metzmacher1-1/+1
metze (This used to be commit 979c453c4dedf0006997dfc9994331e49643b741)
2007-10-10r4076: fix compiler warningStefan Metzmacher1-1/+3
metze (This used to be commit 2647b47557c880dd5f24a4cd15475badfd7fdc94)
2007-10-10r3998: allow const arrays (see next commit to drsuapi.idl)Stefan Metzmacher3-469/+626
metze (This used to be commit 7264a2227d7a1881db01964d0d713c144eb77152)
2007-10-10r3956: start to decode the repsFrom and repsTo fileds but not readyStefan Metzmacher1-0/+1
metze (This used to be commit 44f168c44de908fdf38b39aae8bf10e80206410a)
2007-10-10r3898: Work towards local/server DCOM support, start workingJelmer Vernooij1-1/+1
on Simple example server side implementation (This used to be commit 98afb504d95ccca4d6ec48273e10b52ccfa26ad0)
2007-10-10r3896: Correct header files in rpc server templates plusJelmer Vernooij1-1/+4
some other minor fixes (This used to be commit 9fca748fe3c12af83a006f1d0821aa560d08fc95)
2007-10-10r3881: Split up the LIBNDR_GEN subsystem into NDR_* and RPC_NDR_* subsystems.Jelmer Vernooij2-11/+28
This reduces the total size of the samba binaries from 119 Mb to 73 Mb. Next step will be to have the build system obtain some of this information by itself, so that we don't have to write ~10 lines per interface manually. (This used to be commit 16d905f6b0cbec591eebc44ee2ac9516a5730378)
2007-10-10r3869: in the NDR encoded replPropertyMetaData attribute in ADSStefan Metzmacher1-1/+1
I see a new 64 bit time field which are seconds since 1601, this will be mapped to NTTIME by th eparsing code +#define NTTIME_1sec NTTIME metze (This used to be commit db35f3b0f99943311ff8b797e8336616dab28220)
2007-10-10r3861: - Put ndr and rpc client code in seperate filesJelmer Vernooij5-30/+68
- Add some const (This used to be commit a00bda88e1b6abdc36e5aa8c2a35f64855f67c96)
2007-10-10r3810: create a LIB_SECURITY subsystemStefan Metzmacher1-1/+2
- move dom_sid, security_descriptor, security_* funtions to one place and rename some of them metze (This used to be commit b620bdd672cfdf0e009492e648b0709e6b6d8596)
2007-10-10r3790: use a registration function that is called from dcerpc_*_init functionsJelmer Vernooij3-116/+45
rather then a large table in librpc/gen_ndr/tables.c. This will allow us to only link in only the required gen_ndr files (speeds up linking quite a bit, makes binaries smaller). Each gen_ndr_* file now has a init function that calls the init functions of the interfaces it contains. I did it this way to keep pidl's code simple, though it might hurt startup time a bit. I'd be happy to change it if people like one function better. (This used to be commit 3c436590ae95b58ad6d00e72d6fdd08a4d80f208)
2007-10-10r3769: fix the build of shared librariesStefan Metzmacher2-3/+9
metze (This used to be commit 461ff03ce38c6bf6b90f95029287c6e6b01fc1e0)
2007-10-10r3768: Fix build of librariesJelmer Vernooij1-0/+3
(This used to be commit 9929aa94ef01eba64ccf41f4b22df0cdbe3e96b3)
2007-10-10r3752: Remove direct.pm for now (not used and breaks solaris build)Jelmer Vernooij2-61/+0
(This used to be commit f28638628a10fbb42276517527d681bd0b3f6217)
2007-10-10r3751: Some fixes to using enable and disable for subsystems, ext libs and ↵Jelmer Vernooij4-15/+11
modules (This used to be commit c7757dd9adc18549fa3f908c2714624ec3f91394)