summaryrefslogtreecommitdiff
path: root/source3/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2008-04-19Fix bug 5400Volker Lendecke1-2/+2
Thanks to Jason Mader! Volker (This used to be commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
2008-04-16Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.Gerald W. Carter1-4/+4
(This used to be commit 359921acd436684a0b4cf76ba15f82a224d2c337)
2008-02-13Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.Michael Adam2-2/+2
Michael (cherry picked from commit 38855a9f145b54d05f4a508562fc1a6595e0d895) (This used to be commit 303a3eb128b410be0f4ebb936cd3b983e639c07f)
2008-02-13Make sure talloc.so is build before installing.Jelmer Vernooij1-2/+2
(cherry picked from commit 51769f5cfc0f3a9f85ea533598a1f769e108d075) (This used to be commit da98f4d223997709b42b4f05ab94d564261f5aee)
2008-02-13Fix out of tree builds.Jelmer Vernooij1-2/+2
(cherry picked from parts of commit 35c8ebdca2612b52cd3eb2aafd35041d17173722) Michael (This used to be commit a780c0594aeea3705d601a327aa04d9182060cbd)
2008-02-13Split actual content out of talloc Makefile into talloc.mk.Jelmer Vernooij2-37/+42
(cherry picked from commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b) (This used to be commit 7710d3dea350a85348d46747e4f4cde2b20741de)
2008-02-13Split rules.mk out of Makefile.Jelmer Vernooij2-27/+31
(cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e) (This used to be commit 6f8165e4b064f37335e2b0b185ae6433c06a061a)
2008-02-13Make 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 (cherry picked from commit 1c14c457bea75fb3055712547cca501e8ef3fc20) (This used to be commit 0d9ae82f51302c9755b6e50f1df88eb2a079f12a)
2008-02-13build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(cherry picked from parts of commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20) Michael (This used to be commit 4b03f88c1ed8c1a2c1e5e7d461ca2d64a8d6a054)
2008-02-13talloc/tdb: Use manually written pc file.Jelmer Vernooij1-0/+1
(cherry picked from parts of c8947fda23eb874a7694bdee1b4de605744c2769) Michael (This used to be commit 77664bc482071798571096a299e7d8b190f53797)
2008-02-13r26570: - 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. (cherry picked from talloc part of commit c550c03372cb260b78f6a6c132e70571bc4cb852) Michael (This used to be commit a146145c28cc355fed47b8a1f322311ffc1a51ab)
2008-02-13r26454: Add simple SWIG macro for wrapping talloced types.Jelmer Vernooij1-0/+7
(cherry picked from talloc parts of commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75) Michael (This used to be commit f4c59316b9251477556dd22cdd246607f4dfa845)
2008-02-13r26292: Make sure swig directory exists.Jelmer Vernooij1-0/+1
(cherry picked from commit 7962d221fcb877c9fd3bbc890827338de54ca94a) (This used to be commit d6198f2bd7d13b5f30bcc46e12026a00f52d9adc)
2008-02-13r26280: Fix installation if swig is not available.Jelmer Vernooij1-1/+1
(cherry picked from commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c) (This used to be commit f1267f74a91374692c3564d783c527f94035b323)
2008-02-13r26276: Install SWIG files if swig is present.Jelmer Vernooij1-0/+1
(cherry picked from talloc parts of commit dfd5b456f932268e2b1a82e2775037d356b9483e) Michael (This used to be commit 8276ec7596b41980aea3f93949edd224fe842fa5)
2008-02-13r26197: Add bindings for libsecurity.Jelmer Vernooij2-9/+2
(cherry picked from parts of commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135) Michael (This used to be commit 22d48224d3235403b916c98c92915165fe7ef330)
2008-02-13r26187: Fix module name, indentation.Jelmer Vernooij1-0/+2
(cherry picked from parts of commit ef790ebf3a712dbbb85d6af65c804199c2c084fc) Michael (This used to be commit 8e35bbeac286c3b8d64d69ebe9bb4a8f5405a9c0)
2008-02-13r26072: Import trivial SWIG wrapper for talloc.Jelmer Vernooij1-0/+24
(cherry picked from commit 02d259c2c45c03dbfcd16173df93d7ba96ed1419) (This used to be commit 5938a732381abed9f5da1db505626b354fe7293e)
2008-02-13r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGSStefan Metzmacher1-1/+1
metze (cherry picked from parts of commit c179807165b84dd832ab64f794034960668e5957. The changes to lib/replaces have already been merged.) Michael (This used to be commit 6c092918725019274cd26218168c5b551ab3c7d2)
2008-02-13r25973: talloc: fix usage of SONAMEFLAGStefan Metzmacher1-2/+1
metze (cherry picked from commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a) (This used to be commit ce3625a3866376d78edc23b137f41be72f07e5eb)
2008-02-13r25953: AIX make doesn't support $^.Jelmer Vernooij1-1/+1
(cherry picked from parts of commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c) Michael (This used to be commit f231d03e53dcf291e0cb8870e531989ab855eae0)
2008-02-13r25944: Fix handling of sonameflag on AIX, which doesn't have anything like ↵Jelmer Vernooij1-1/+1
that. (cherry picked from parts of commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676) Michael (This used to be commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28)
2008-02-13r25884: Specify shldflags first, as required by some compilers.Jelmer Vernooij1-1/+1
(cherry picked from commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9) (This used to be commit 42b56f77ff88f8a9dccd7a8ac7df789d0223c945)
2008-02-13r25882: Build shared library of talloc as well.Jelmer Vernooij2-2/+22
(cherry picked from commit 3692ba8299d4177289ca401fa467143ad14ccad4) (This used to be commit ddfc86b71d7e6fa3d1bd6fcaca4f31dd262e84d2)
2008-01-10Fix a c++ warningVolker Lendecke1-1/+2
(This used to be commit ee905a085fff5410d02c3e5fa2664e989de4afd4)
2008-01-10talloc_free_children can only reset pool if it's emptyVolker Lendecke1-1/+2
(This used to be commit 0272b46515b4c4515d5cad8e86fab61d8e91e29e)
2008-01-10Mark talloc_pool memory for valgrindVolker Lendecke1-3/+16
(This used to be commit d89e42f1d2faa018c584025296d6be8195cbcf20)
2008-01-09Implement 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 287e29d988813007eeebc0c2bef3b46ab8bedee9)
2008-01-09Add a comment.Michael Adam1-0/+1
Michael (This used to be commit 3a4bf4b7c3081048f0d5491dae6610388c268c2f)
2008-01-09Fix talloctort: move size check after referenced ptr check.Michael Adam1-5/+5
Michael (This used to be commit 45b219642c529865a898625eeb0433c60b233867)
2008-01-09Don't shrink a talloc area if we have less than 1k to gainVolker Lendecke1-0/+5
(This used to be commit 28a72ebd4541fb54f284da49081345e54130c75a)
2007-10-10r25230: sync lib/talloc with SAMBA_4_0Stefan Metzmacher4-125/+184
metze (This used to be commit 84ebb6cac224cabf3856a632de80a8a9c687329b)
2007-10-10r25164: Add talloc_asprintf_append_buffer() and the docs for it.Jeremy Allison3-4/+82
Jeremy. (This used to be commit 2243a73d650319208aebbbaf65dfba2a508a7c10)
2007-10-10r25116: Fix talloc_asprintf_append to do the right thing withJeremy Allison1-5/+2
truncated strings. Jeremy. (This used to be commit 93c42fd9b52d9135d8c8b52e97cf342c1c5b5010)
2007-10-10r24627: merge from SAMBA_4_0:Stefan Metzmacher1-2/+12
as TALLOC_ABORT() is defined to abort() by default wrap it into a function so that the function name in the backtrace shows what happens. metze (This used to be commit ddbe971030070ab1b9fc37b8b0ac44a3d9303fe4)
2007-10-10r23802: fixed URL in XMLAndrew Tridgell1-1/+1
(This used to be commit 256301a21a1f393b5a2b89d4dce47b7d4f7bf9be)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell3-6/+3
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell3-3/+3
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison3-3/+3
Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10r22759: sync lib/talloc with samba4Stefan Metzmacher8-16/+103
metze (This used to be commit 86c510e3198e03ed6efa61b27530bbb008f6802b)
2007-10-10r22564: Move the _strict -> _zeronull functions into lib/util.cJeremy Allison2-105/+0
and out of talloc at tridge's request. Jeremy. (This used to be commit da78488b86c464b6861d36398cca7524ad5906fe)
2007-10-10r22541: Added talloc_size_strict macro.Jeremy Allison1-0/+1
Jeremy. (This used to be commit fcbfa2c99175780524d2258885410c79bbb12d6e)
2007-10-10r22540: Added _strict varients of the macro calls - addedJeremy Allison1-0/+6
prototypes. Jeremy. (This used to be commit 06b47f3d72d0ca1c83842dff3425d8dacd283fff)
2007-10-10r22539: Added _strict varients of the talloc calls toJeremy Allison2-1/+96
return NULL on size == 0 varients. Jeremy. (This used to be commit 1283da1bf8ebe458cf84ee4a703909945cdfcd88)
2007-10-10r22366: sync lib/talloc/ with samba4Stefan Metzmacher4-8/+22
metze (This used to be commit 7fab12b34a818f029f4285a59d6e49768b7f8e79)
2007-10-10r22268: merge from samba4:Stefan Metzmacher1-4/+6
protect #define __location__ with an #ifndef metze (This used to be commit 4c93c05542c5a238b1b7a5cd9b75f9f852c0ad4d)
2007-10-10r21176: merged va_end() changes from Samba4Andrew Tridgell1-6/+11
(This used to be commit 04f6f01dfeda2fa076209a94cdf8e59f6ce47008)
2007-10-10r20197: merge talloc fixes from samba4:Stefan Metzmacher2-20/+18
- make most static functions inline - handle NULL pointers in talloc_parent_chunk() - use talloc_parent_chunk() in talloc_parent_name() to fix a bug found by the IBM checker metze (This used to be commit c718eb7a7c3cdc4acb25f303a73a3ca478c27af0)