summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2008-09-14Fix warnings on SuSE 9.0.Stefan Metzmacher1-0/+8
The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (partialy cherry-picked 30d181c92463aecd6e649330d3645d86d5a17e43) metze (This used to be commit ad7ed33f786124e4afbba4330201a3a6463c6f73)
2008-09-14Fix bug 5400Volker Lendecke1-2/+2
Thanks to Jason Mader! Volker (cherry picked from commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2) (This used to be commit 34ab9e5a23458c9f9845d1ff808c142cb2f1f2a4)
2008-09-14Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.Stefan Metzmacher1-4/+4
(partialy cherry picked from commit 359921acd436684a0b4cf76ba15f82a224d2c337) metze (This used to be commit d89b8fee5210c7b4d8fad24edea34f9732aec708)
2008-06-30lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARYStefan Metzmacher1-1/+1
metze (This used to be commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11)
2008-04-17Skip strcmp() on 2 NULL pointers.Andrew Bartlett1-1/+2
Andrew Bartlett (This used to be commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-1/+4
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-04Don't install talloc manpage from samba, it's already installed from the ↵Jelmer Vernooij1-3/+0
standalone talloc build. (This used to be commit 7bfda828952eab7f165190cbfd804e28780406c9)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+0
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+1
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-29Move manpage management out of the perl build system.Jelmer Vernooij1-1/+3
(This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
2008-02-25Update homepages for talloc, tdb and ldb subprojectsSimo Sorce1-12/+8
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
2008-02-19Adapt source code checkout information to git repo in talloc website.Michael Adam1-4/+5
Michael (This used to be commit 254be79799acc69db88a5500a2f755c84553f8ef)
2008-02-19Fix paths for talloc into unpacked directory (rsync commands).Michael Adam1-2/+2
Michael (This used to be commit 2839d7f67a0d3ed5b4841bf3c12ce73972636b88)
2008-02-14Fix path to talloc guide. Noted by "teferi" on irc.Michael Adam1-1/+1
Michael (This used to be commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d)
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 Vernooij2-6/+6
(This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)
2008-02-13Never build .so versions of tdb/talloc from Samba 4 itself. Rather,Jelmer Vernooij1-3/+1
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-12Make sure talloc.so is build before installing.Jelmer Vernooij1-2/+2
(This used to be commit 51769f5cfc0f3a9f85ea533598a1f769e108d075)
2008-02-11Fix out of tree builds.Jelmer Vernooij1-2/+2
(This used to be commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
2008-02-11Split actual content out of talloc Makefile into talloc.mk.Jelmer Vernooij2-37/+42
(This used to be commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b)
2008-02-11Split rules.mk out of Makefile.Jelmer Vernooij2-27/+31
(This used to be commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
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-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22ldb/talloc/tdb: Use manually written pc file.Jelmer Vernooij1-0/+1
(This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij1-1/+1
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-21r26514: Revert the talloc.c part of r26511, as talloc.h already takes care ↵Kai Blin1-3/+0
of thois. Thanks to metze for pointing this out (This used to be commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7)
2007-12-21r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vKai Blin1-2/+5
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (This used to be commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
2007-12-21r26454: Add simple SWIG macro for wrapping talloced types.Jelmer Vernooij1-0/+7
(This used to be commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)
2007-12-21r26292: Make sure swig directory exists.Jelmer Vernooij1-0/+1
(This used to be commit 7962d221fcb877c9fd3bbc890827338de54ca94a)
2007-12-21r26280: Fix installation if swig is not available.Jelmer Vernooij1-1/+1
(This used to be commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c)
2007-12-21r26276: Install SWIG files if swig is present.Jelmer Vernooij1-0/+1
(This used to be commit dfd5b456f932268e2b1a82e2775037d356b9483e)
2007-12-21r26197: Add bindings for libsecurity.Jelmer Vernooij2-9/+2
(This used to be commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135)
2007-12-21r26187: Fix module name, indentation.Jelmer Vernooij1-0/+2
(This used to be commit ef790ebf3a712dbbb85d6af65c804199c2c084fc)
2007-12-21r26072: Import trivial SWIG wrapper for talloc.Jelmer Vernooij1-0/+24
(This used to be commit 02d259c2c45c03dbfcd16173df93d7ba96ed1419)
2007-12-21r25990: talloc: use AC_LIBREPLACE_SHLD and use it for linking the shared libraryStefan Metzmacher2-1/+3
metze (This used to be commit c179807165b84dd832ab64f794034960668e5957)
2007-12-21r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGSStefan Metzmacher1-1/+1
metze (This used to be commit 410cdf789a72209f9e10321519fe18ab40a43f95)
2007-12-21r25973: talloc: fix usage of SONAMEFLAGStefan Metzmacher1-2/+1
metze (This used to be commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a)
2007-12-21r25953: AIX make doesn't support $^.Jelmer Vernooij1-1/+1
(This used to be commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c)
2007-12-21r25944: Fix handling of sonameflag on AIX, which doesn't have anything like ↵Jelmer Vernooij1-1/+1
that. (This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
2007-12-21r25884: Specify shldflags first, as required by some compilers.Jelmer Vernooij1-1/+1
(This used to be commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)
2007-12-21r25882: Build shared library of talloc as well.Jelmer Vernooij2-2/+22
(This used to be commit 3692ba8299d4177289ca401fa467143ad14ccad4)
2007-10-10r25216: make talloc_append_string() a deprecated macro instead ofStefan Metzmacher2-28/+1
having it as a real function. metze (This used to be commit 2b2e8414650f4793e7fd6e7fb368383ee268948f)