1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00
Commit Graph

216 Commits

Author SHA1 Message Date
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
Jeremy Allison
5bb8613b86 r25164: Add talloc_asprintf_append_buffer() and the docs for it.
Jeremy.
2007-10-10 15:06:44 -05:00
Jeremy Allison
948d32bb62 r25116: Fix talloc_asprintf_append to do the right thing with
truncated strings.
Jeremy.
2007-10-10 15:06:42 -05:00
Jelmer Vernooij
9647f860bd r24814: Fix headers, trim core.h even more. 2007-10-10 15:03:14 -05:00
Jelmer Vernooij
2585c6feb2 r24688: Make output subunit-parseable. 2007-10-10 15:02:44 -05:00
Stefan Metzmacher
0216ff6daa r24626: 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
2007-10-10 15:02:26 -05:00
Andrew Tridgell
c0111223e2 r23802: fixed URL in XML 2007-10-10 14:59:19 -05:00
Andrew Tridgell
5c9b19271e r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 14:59:18 -05:00
Andrew Tridgell
db92b76a00 r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 14:59:16 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
76c6bfdeb5 r23796: main COPYING file for samba4, plus some formatting varients 2007-10-10 14:59:14 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Jelmer Vernooij
db065db67a r23158: Set version to 1.0.1. 2007-10-10 14:52:58 -05:00
Jelmer Vernooij
cb92da2679 r23157: Add news file for talloc. 2007-10-10 14:52:58 -05:00
Stefan Metzmacher
5cd100de82 r22758: - add missing _talloc_set_name_const(ret, ret); to talloc_append_string()
- update manpage and add comments about _talloc_set_name_const(ret, ret);
  in all places which use them

metze
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
305117fae0 r22757: test if calling talloc_free() works on parent elements from within a destrutor
metze
2007-10-10 14:52:15 -05:00
Jelmer Vernooij
9b991ce9ca r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc. 2007-10-10 14:51:50 -05:00
Jelmer Vernooij
e72cec408e r22598: Simplify includes for replace. 2007-10-10 14:51:49 -05:00
Jelmer Vernooij
a3ec90a263 r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.
This should make it easier to allow use of system tdb or talloc libs using
pkg-config.
2007-10-10 14:51:48 -05:00
Jeremy Allison
80706cf98d r22563: As tridge requested remove the _strict calls - for Samba3 I'm moving
to a separate file.
Jeremy.
2007-10-10 14:51:44 -05:00
Jeremy Allison
219e1cae77 r22541: Added talloc_size_strict macro.
Jeremy.
2007-10-10 14:51:40 -05:00
Jeremy Allison
ba1a66cc6f r22540: Added _strict varients of the macro calls - added
prototypes.
Jeremy.
2007-10-10 14:51:40 -05:00
Jeremy Allison
1ef269067c r22539: Added _strict varients of the talloc calls to
return NULL on size == 0 varients.
Jeremy.
2007-10-10 14:51:39 -05:00
Jelmer Vernooij
17e9c56a75 r22518: Create pkgconfig dir. 2007-10-10 14:51:36 -05:00
Jelmer Vernooij
4614da125f r22517: Use DESTDIR 2007-10-10 14:51:36 -05:00
Jelmer Vernooij
846cfcf44d r22514: Add version numbers to tdb and talloc (required so they can be packaged independent of Samba for Debian). 2007-10-10 14:51:35 -05:00
Stefan Metzmacher
6780c23427 r22365: prepare merge to samba3
metze
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
138ffd6d48 r22267: protect #define __location__ with an #ifndef
metze
2007-10-10 14:50:55 -05:00
Jelmer Vernooij
07652f65ce r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
2007-10-10 14:48:04 -05:00
Andrew Tridgell
21eb316473 r21174: many thanks to Paul Wayper for pointing out that C99 requires a
matching va_end() for each va_copy(). This doesn't matter for most
architectures, but there could be some obscure ones where it does
matter.

some of this should be ported to Samba3
2007-10-10 14:44:42 -05:00
Andrew Tridgell
b3e2d49087 r20650: revert a bunch of code I didn't mean to commit yet 2007-10-10 14:37:26 -05:00
Andrew Tridgell
5870830b99 r20647: add cluster code 2007-10-10 14:37:24 -05:00
Stefan Metzmacher
9d06a4b6e2 r20195: fix typo
metze
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
ee47b40441 r20194: inline all static talloc functions
metze
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
85fc18f047 r20193: - let talloc_parent_chunk() handle a NULL pointer
- use talloc_parent_chunk() in talloc_parent_name()
- add prototype of talloc_parent_name()

metze
2007-10-10 14:29:21 -05:00
Volker Lendecke
7b9b2e5358 r19684: Talloc_guide text on multithreading by Remi Turboult 2007-10-10 14:25:32 -05:00
Jelmer Vernooij
82cb91e2dd r19636: Add URLs to ldb and talloc pkg-config files.
Always build and install .pc files as they make sense for static libs
as well.
2007-10-10 14:25:22 -05:00
Jelmer Vernooij
1b04669852 r19570: Fix dependencies in pkg-config files. 2007-10-10 14:24:54 -05:00
Andrew Tridgell
ebf1d523da r19498: the autofree test cannot be run as part of smbtorture 2007-10-10 14:24:39 -05:00
Jelmer Vernooij
8913d60c72 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
2007-10-10 14:24:39 -05:00
Andrew Tridgell
35908a2992 r19434: we need to force line buffering as the new torture code doesn't create
a pty in the piped_child() code

Jelmer, if you want to fix this on platforms that support it, see the
forkpty() call, or see
http://junkcode.samba.org/ftp/unpacked/junkcode/rline/
2007-10-10 14:21:30 -05:00
Andrew Tridgell
8644708c3f r19412: some rather strange looking changes to talloc that gain us about 50%
in the talloc benchmark. These changes were driven by some cachegrind
profiles, with the biggest improvements coming from inlining some
functions.

I don't think it would be a good idea to start spreading inline and
likely()/unlikely() in other parts of Samba, as the benefit in most
code will be very small, but talloc() is such a speed critical part of
Samba that I think these changes are worthwhile
2007-10-10 14:21:29 -05:00