summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-02-13Fix talloc .so installation.Jelmer Vernooij1-1/+1
(This used to be commit ae522f907ed1b7533d0824224d692c64c7169057)
2008-02-13Allow tdb.mk and talloc.mk to be included at the same time.Jelmer Vernooij4-16/+16
(This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)
2008-02-13Never build .so versions of tdb/talloc from Samba 4 itself. Rather,Jelmer Vernooij2-6/+2
use shared library versions if they are provided by the system. This puts talloc and tdb in a similar situation as popt: the system version is used if provided but if it's not there or if it is too old, we use our internal version statically. (This used to be commit 86f88eb7b51377344eebf0b6fabad0f5459b3f45)
2008-02-12Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.Michael Adam2-2/+2
Michael (This used to be commit 38855a9f145b54d05f4a508562fc1a6595e0d895)
2008-02-12Support using shared library during testsuite run if tdb was built with a ↵Jelmer Vernooij1-2/+2
shared lib internally. (This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
2008-02-12make sure libraries are built before attempting to install.Jelmer Vernooij1-2/+2
(This used to be commit deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)
2008-02-12Specify PICFLAG when compiling python modules.Jelmer Vernooij2-2/+2
(This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
2008-02-12Make sure talloc.so is build before installing.Jelmer Vernooij1-2/+2
(This used to be commit 51769f5cfc0f3a9f85ea533598a1f769e108d075)
2008-02-12Fix installation of python module for ldb and tdb.Jelmer Vernooij2-1/+4
(This used to be commit 6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
2008-02-12tdb/ldb: Use prefix in case DESTDIR is not set.Jelmer Vernooij2-8/+8
(This used to be commit ab19a8f62719eb0f347696a2e5f34f8847fd82cb)
2008-02-12Create the required directories when installing Python code.Jelmer Vernooij2-0/+4
(This used to be commit 8ef36fe54555cc0c5ac0d1f118d0a1a7b770c2fd)
2008-02-12Avoid using setup.py for intsallation.Jelmer Vernooij7-7/+20
(This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
2008-02-12Manually compile python files rather than use setup.py.Jelmer Vernooij4-22/+15
(This used to be commit 056843a5c2ca9e0ec59fd7e371852ecb5362ee32)
2008-02-12Manually compile python files rather than using setup.py.Jelmer Vernooij4-20/+18
(This used to be commit 94dfeb5e89a641e2af3d7426d9d25c87952198d2)
2008-02-11Fix out of tree builds.Jelmer Vernooij5-10/+11
(This used to be commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
2008-02-11Split actual content out of tdb Makefile into a separate file.Jelmer Vernooij2-80/+89
(This used to be commit b5d4ab2cf4a73883fff867f878788d94bd8e1649)
2008-02-11Split actual content out of talloc Makefile into talloc.mk.Jelmer Vernooij2-37/+42
(This used to be commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b)
2008-02-11Move some more rules to rules.mkJelmer Vernooij2-6/+9
(This used to be commit 2ff3f72fd2559051000c34da9fcd5602514595e4)
2008-02-11Split rules.mk out of Makefile.Jelmer Vernooij2-27/+31
(This used to be commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
2008-02-11Split rules out of tdb Makefile.Jelmer Vernooij2-38/+41
(This used to be commit 9f233c14540cd4b2d5f4c7fe01e2d89cb220abc8)
2008-02-11ldb: Split up the Makefile so it will be possible later on to directly ↵Jelmer Vernooij3-122/+125
include fragments in the Samba 3 or 4 makefile. (This used to be commit 6d54e9104de577ab727ee99a76e690a2fae71636)
2008-02-11Remove unused function.Jelmer Vernooij1-139/+0
(This used to be commit e779cf4724610b5d737102d1f55d1367744b188a)
2008-02-11Fix typo.Jelmer Vernooij1-1/+1
(This used to be commit a5db115dc6827896c66fe08554b3fe7185eea52f)
2008-02-11Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.Michael Adam1-1/+1
Not sure if we can produce one from the other, so I manually made them equal for now. Michael (This used to be commit 1c14c457bea75fb3055712547cca501e8ef3fc20)
2008-02-11Fix a c++ warningVolker Lendecke1-1/+2
(This used to be commit 9f402c607f44663cab91cc7d2139f62b84c99cc0)
2008-02-11talloc_free_children can only reset pool if it's emptyVolker Lendecke1-1/+2
(This used to be commit 5cc7a638e93e5f3540755b441a99d4fd3c9c7134)
2008-02-11Mark talloc_pool memory for valgrindVolker Lendecke1-3/+16
(This used to be commit 6deca23b6c66616fbf5ba004e9b778aa68790df6)
2008-02-11Implement talloc_pool()Volker Lendecke3-7/+207
A talloc pool is a chunk of memory that can be used as a context for further talloc calls. Allocations with the pool as the parent just chew from that memory by incrementing a pointer. If the talloc pool is full, then we fall back to the normal system-level malloc(3) to get memory. The use case for talloc pools is the transient memory that is used for handling a single SMB request. Incrementing a pointer will be way faster than any malloc implementation. There is a downside of this: If you use talloc_steal() to move something out of the pool, the whole pool memory is kept around until the last object inside the pool is freed. So if you talloc_free() the pool, it might happen that the memory is freed later. So don't hang anything off a talloc pool that should live long. Volker (This used to be commit 60ef9a84f0bd18d48e453c08aa420d17275e0881)
2008-02-11Add a comment.Michael Adam1-0/+1
Michael (This used to be commit 2a2c28584cdb65fcea8563eb3bf21fea497fdff3)
2008-02-11Fix talloctort: move size check after referenced ptr check.Michael Adam1-5/+5
Michael (This used to be commit a0caedb94f6f7c62ae706e35a4c0b2876f74978d)
2008-02-11Don't shrink a talloc area if we have less than 1k to gainVolker Lendecke1-0/+5
(This used to be commit 0c829e6ee6f43299cc5889c2af3d0402256da0d0)
2008-02-11Make data about what subsystems/libraries are enabled available in the ↵Jelmer Vernooij1-1/+3
mkconfig.mk file. (This used to be commit 4cc93a98f984d322e41f403169cfa4945b469935)
2008-02-11Fix the build: remove reference to inexistent header samba3_proto.hMichael Adam1-1/+0
Michael (This used to be commit 3b9b396292077b2d3ff1fb1712462b767cc2bf81)
2008-02-11Remove Samba 3 backwards compatibility code in C.Jelmer Vernooij10-1357/+0
This code is no longer used, and equivalent code already exists in Python (scripting/python/samba/samba3.py) (This used to be commit c16212e8bf5343496ea4b3afc30a8b4d3a0afe2d)
2008-02-11Fix switching of hives in regshell (#5254)Jelmer Vernooij1-0/+3
(This used to be commit 5f33545c78e13871d622c0a5a0ded789bf624869)
2008-02-09Fix tests.Jelmer Vernooij1-35/+24
(This used to be commit e4d7cd8ba77aa05c11dad457c3f2c2c6252c5966)
2008-02-09Split up tests a bit, output subunit.Jelmer Vernooij1-753/+721
(This used to be commit 501259ff31641bf52e337b597881d1fedc6b2a63)
2008-02-09registry: Fix warning.Jelmer Vernooij1-1/+1
(This used to be commit dad809030478a85ac13a73bce9c07314792f01c2)
2008-02-09Remove unused path update.Jelmer Vernooij1-2/+0
(This used to be commit 1868a42108012183aa78fe5d4f524d45f4505a3e)
2008-02-09Move nt_time_equal() to libutil.Jelmer Vernooij2-1/+12
(This used to be commit 9705263a6c58d4ade556d17db2009dbb85291b22)
2008-02-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-4/+4
(This used to be commit fd9cc4eb5afae8b255e753d480190b490cd3f7ab)
2008-02-08merge tdb changes from ctdbAndrew Tridgell1-33/+47
(This used to be commit b3e60a388d338ef90540007239e88563cb9ba27a)
2008-02-08Fix syntax in LDAP testAndrew Bartlett1-4/+4
We don't get this far in the test at the moment however. Andrew Bartlett (This used to be commit c3098d5c52505e143a6ce498273a5ce6a66220b0)
2008-02-07merge growing tdb for tdb_wipe_all() fix from ctdbAndrew Tridgell1-0/+43
(This used to be commit df4efb902ec5053ae9d7c6e4fd1e21255ca66914)
2008-02-04Fix a few more breakages from our recent changes to the server_idAndrew Bartlett1-2/+2
structure. The BASE-TORTURE test found this problem - caused because the messaging path was not unique. If we didn't use a macro for cluster_id_equal(), we could make it opaque, and avoid this... Andrew Bartlett (This used to be commit c3387545c57d2dd4922b4f3806b4552cee8035a3)
2008-02-04Rework cluster_id() to take an additional argument, as we needAndrew Bartlett3-13/+15
<node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
2008-02-01Samba4 poor mans debug_ctx()Amin Azez1-0/+4
DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the formatting expressions again, e.g. DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid))); Sadly it's done with macros (again) but when we need to save the 8 or 16 bytes of object code per DEBUG() expression we can do it the Samba 3 way with added thread-safety for Samba 4. That could save up to 200K, allowing 12 bytes for each occurrance of DEBUG... Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
2008-01-31merged tdb transaction fixAndrew Tridgell1-0/+3
(This used to be commit eb3af24926977208a8099c848a510704d2ae3524)
2008-01-25ldb/python: Add bindings for schema functions.Jelmer Vernooij3-33/+393
(This used to be commit 9f6ea4692ca79c607538871c597698b98abf13d0)
2008-01-23python: Add convenience function for getting command line loadparm contextJelmer Vernooij1-4/+3
and default to using system smb.conf. (This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)