1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-08 16:23:49 +03:00
Commit Graph

257 Commits

Author SHA1 Message Date
Jelmer Vernooij
6c659689ed Move public header accumulation out of the perl code.
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
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
1dd6bea507 Move manpage management out of the perl build system. 2008-02-29 14:12:23 +01:00
Simo Sorce
8cb07814bc Update homepages for talloc, tdb and ldb subprojects 2008-02-25 14:03:07 -05:00
Michael Adam
254be79799 Adapt source code checkout information to git repo in talloc website.
Michael
2008-02-19 16:50:13 +01:00
Michael Adam
2839d7f67a Fix paths for talloc into unpacked directory (rsync commands).
Michael
2008-02-19 16:50:13 +01:00
Michael Adam
bc4e03f2dd Fix path to talloc guide. Noted by "teferi" on irc.
Michael
2008-02-14 23:10:00 +01:00
Jelmer Vernooij
ae522f907e Fix talloc .so installation. 2008-02-13 21:09:21 +01:00
Jelmer Vernooij
af9e042152 Allow tdb.mk and talloc.mk to be included at the same time. 2008-02-13 17:42:10 +01:00
Jelmer Vernooij
86f88eb7b5 Never build .so versions of tdb/talloc from Samba 4 itself. Rather,
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.
2008-02-13 17:01:37 +01:00
Michael Adam
38855a9f14 Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
Michael
2008-02-12 22:52:58 +01:00
Jelmer Vernooij
51769f5cfc Make sure talloc.so is build before installing. 2008-02-12 12:46:33 +01:00
Jelmer Vernooij
35c8ebdca2 Fix out of tree builds. 2008-02-11 23:51:59 +01:00
Jelmer Vernooij
2b89399752 Split actual content out of talloc Makefile into talloc.mk. 2008-02-11 22:52:42 +01:00
Jelmer Vernooij
75ffc2c50d Split rules.mk out of Makefile. 2008-02-11 22:05:52 +01:00
Michael Adam
1c14c457be Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
Not sure if we can produce one from the other, so I manually made
them equal for now.

Michael
2008-02-11 15:07:47 +01:00
Volker Lendecke
9f402c607f Fix a c++ warning 2008-02-11 15:07:46 +01:00
Volker Lendecke
5cc7a638e9 talloc_free_children can only reset pool if it's empty 2008-02-11 15:07:46 +01:00
Volker Lendecke
6deca23b6c Mark talloc_pool memory for valgrind 2008-02-11 15:07:46 +01:00
Volker Lendecke
60ef9a84f0 Implement talloc_pool()
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
2008-02-11 15:07:46 +01:00
Michael Adam
2a2c28584c Add a comment.
Michael
2008-02-11 15:07:46 +01:00
Michael Adam
a0caedb94f Fix talloctort: move size check after referenced ptr check.
Michael
2008-02-11 15:07:46 +01:00
Volker Lendecke
0c829e6ee6 Don't shrink a talloc area if we have less than 1k to gain 2008-02-11 15:07:46 +01:00
Jelmer Vernooij
91d7ba5202 build: Remove support for DESCRIPTION setting that is now unused. 2008-01-22 18:49:51 +01:00
Jelmer Vernooij
c8947fda23 ldb/talloc/tdb: Use manually written pc file. 2008-01-22 18:24:00 +01:00
Jelmer Vernooij
c550c03372 r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
2007-12-24 01:51:03 -06:00
Kai Blin
4a5e1047ff r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Thanks to metze for pointing this out
2007-12-21 05:51:19 +01:00
Kai Blin
5b3a8c8ae1 r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_v
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.
2007-12-21 05:51:17 +01:00
Jelmer Vernooij
760fcc8bfa r26454: Add simple SWIG macro for wrapping talloced types. 2007-12-21 05:50:22 +01:00
Jelmer Vernooij
7962d221fc r26292: Make sure swig directory exists. 2007-12-21 05:48:11 +01:00
Jelmer Vernooij
3320bd401f r26280: Fix installation if swig is not available. 2007-12-21 05:48:06 +01:00
Jelmer Vernooij
dfd5b456f9 r26276: Install SWIG files if swig is present. 2007-12-21 05:48:02 +01:00
Jelmer Vernooij
8625cd403b r26197: Add bindings for libsecurity. 2007-12-21 05:46:47 +01:00
Jelmer Vernooij
ef790ebf3a r26187: Fix module name, indentation. 2007-12-21 05:46:40 +01:00
Jelmer Vernooij
02d259c2c4 r26072: Import trivial SWIG wrapper for talloc. 2007-12-21 05:45:53 +01:00
Stefan Metzmacher
c179807165 r25990: talloc: use AC_LIBREPLACE_SHLD and use it for linking the shared library
metze
2007-12-21 05:45:31 +01:00
Stefan Metzmacher
410cdf789a r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
metze
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
7fecb8f3cd r25973: talloc: fix usage of SONAMEFLAG
metze
2007-12-21 05:45:25 +01:00
Jelmer Vernooij
91133d2711 r25953: AIX make doesn't support $^. 2007-12-21 05:45:16 +01:00
Jelmer Vernooij
228dd6830e r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that. 2007-12-21 05:45:12 +01:00
Jelmer Vernooij
40a8cd0d2f r25884: Specify shldflags first, as required by some compilers. 2007-12-21 05:44:40 +01:00
Jelmer Vernooij
3692ba8299 r25882: Build shared library of talloc as well. 2007-12-21 05:44:39 +01:00
Stefan Metzmacher
2b2e841465 r25216: make talloc_append_string() a deprecated macro instead of
having it as a real function.

metze
2007-10-10 15:06:56 -05:00
Stefan Metzmacher
c0d095c8c9 r25211: fix compiler warning
metze
2007-10-10 15:06:54 -05:00
Stefan Metzmacher
780c1c776e r25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()
metze
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
8532076720 r25208: add talloc_str[n]dup_append[_buffer]() functions
metze
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
c2931540bc r25207: remove one nesting level and use unlikely()
metze
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
92106e6b7e r25206: unify logic of talloc_strdup() and talloc_strndup(),
only strlen() vs. strnlen() is the difference now.

metze
2007-10-10 15:06:52 -05:00
Stefan Metzmacher
4bce808917 r25205: $(srcdir) isn't expanded here...
metze
2007-10-10 15:06:52 -05:00
Jelmer Vernooij
66000a1fa2 r25190: Update talloc version to 1.1.0 after API-incompatible changes. 2007-10-10 15:06:49 -05:00
Jeremy Allison
0844dbf597 r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
2007-10-10 15:06:46 -05:00