1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00
Commit Graph

216 Commits

Author SHA1 Message Date
Stefan Metzmacher
bc94aa19f3 r25216: make talloc_append_string() a deprecated macro instead of
having it as a real function.

metze
(This used to be commit 2b2e841465)
2007-10-10 15:06:56 -05:00
Stefan Metzmacher
3864520c9a r25211: fix compiler warning
metze
(This used to be commit c0d095c8c9)
2007-10-10 15:06:54 -05:00
Stefan Metzmacher
4a40dd2669 r25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()
metze
(This used to be commit 780c1c776e)
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
46d369b0f0 r25208: add talloc_str[n]dup_append[_buffer]() functions
metze
(This used to be commit 8532076720)
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
22b827ccbd r25207: remove one nesting level and use unlikely()
metze
(This used to be commit c2931540bc)
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
3e58b6fd46 r25206: unify logic of talloc_strdup() and talloc_strndup(),
only strlen() vs. strnlen() is the difference now.

metze
(This used to be commit 92106e6b7e)
2007-10-10 15:06:52 -05:00
Stefan Metzmacher
063daf6ab5 r25205: $(srcdir) isn't expanded here...
metze
(This used to be commit 4bce808917)
2007-10-10 15:06:52 -05:00
Jelmer Vernooij
122888052f r25190: Update talloc version to 1.1.0 after API-incompatible changes.
(This used to be commit 66000a1fa2)
2007-10-10 15:06:49 -05:00
Jeremy Allison
9a012df08e r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
(This used to be commit 0844dbf597)
2007-10-10 15:06:46 -05:00
Jeremy Allison
151f422247 r25164: Add talloc_asprintf_append_buffer() and the docs for it.
Jeremy.
(This used to be commit 5bb8613b86)
2007-10-10 15:06:44 -05:00
Jeremy Allison
d8a5ed33b3 r25116: Fix talloc_asprintf_append to do the right thing with
truncated strings.
Jeremy.
(This used to be commit 948d32bb62)
2007-10-10 15:06:42 -05:00
Jelmer Vernooij
82037a75ea r24814: Fix headers, trim core.h even more.
(This used to be commit 9647f860bd)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
dfc0fd9eec r24688: Make output subunit-parseable.
(This used to be commit 2585c6feb2)
2007-10-10 15:02:44 -05:00
Stefan Metzmacher
69de8f9ac8 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
(This used to be commit 0216ff6daa)
2007-10-10 15:02:26 -05:00
Andrew Tridgell
37363d45b7 r23802: fixed URL in XML
(This used to be commit c0111223e2)
2007-10-10 14:59:19 -05:00
Andrew Tridgell
cd1217ff5f r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 5c9b19271e)
2007-10-10 14:59:18 -05:00
Andrew Tridgell
e1c15c74af r23799: updated old Franklin Street FSF addresses to new URL
(This used to be commit db92b76a00)
2007-10-10 14:59:16 -05:00
Andrew Tridgell
6c973f4e8c r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit 40c0919aaa)
2007-10-10 14:59:15 -05:00
Andrew Tridgell
4b71c210d5 r23796: main COPYING file for samba4, plus some formatting varients
(This used to be commit 76c6bfdeb5)
2007-10-10 14:59:14 -05:00
Andrew Tridgell
b8d69a7ea2 r23795: more v2->v3 conversion
(This used to be commit 84b468b2f8)
2007-10-10 14:59:14 -05:00
Jelmer Vernooij
e3af07d1b1 r23158: Set version to 1.0.1.
(This used to be commit db065db67a)
2007-10-10 14:52:58 -05:00
Jelmer Vernooij
f862ee9db1 r23157: Add news file for talloc.
(This used to be commit cb92da2679)
2007-10-10 14:52:58 -05:00
Stefan Metzmacher
7ef755d150 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
(This used to be commit 5cd100de82)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
aa4ab6d3c1 r22757: test if calling talloc_free() works on parent elements from within a destrutor
metze
(This used to be commit 305117fae0)
2007-10-10 14:52:15 -05:00
Jelmer Vernooij
42cf31f3c6 r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc.
(This used to be commit 9b991ce9ca)
2007-10-10 14:51:50 -05:00
Jelmer Vernooij
2ea1896591 r22598: Simplify includes for replace.
(This used to be commit e72cec408e)
2007-10-10 14:51:49 -05:00
Jelmer Vernooij
c9cf06b146 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.
(This used to be commit a3ec90a263)
2007-10-10 14:51:48 -05:00
Jeremy Allison
522f9ace14 r22563: As tridge requested remove the _strict calls - for Samba3 I'm moving
to a separate file.
Jeremy.
(This used to be commit 80706cf98d)
2007-10-10 14:51:44 -05:00
Jeremy Allison
ca3a7a5578 r22541: Added talloc_size_strict macro.
Jeremy.
(This used to be commit 219e1cae77)
2007-10-10 14:51:40 -05:00
Jeremy Allison
3477721278 r22540: Added _strict varients of the macro calls - added
prototypes.
Jeremy.
(This used to be commit ba1a66cc6f)
2007-10-10 14:51:40 -05:00
Jeremy Allison
b06fc3b53c r22539: Added _strict varients of the talloc calls to
return NULL on size == 0 varients.
Jeremy.
(This used to be commit 1ef269067c)
2007-10-10 14:51:39 -05:00
Jelmer Vernooij
4adf0b62a3 r22518: Create pkgconfig dir.
(This used to be commit 17e9c56a75)
2007-10-10 14:51:36 -05:00
Jelmer Vernooij
781575f508 r22517: Use DESTDIR
(This used to be commit 4614da125f)
2007-10-10 14:51:36 -05:00
Jelmer Vernooij
4b0820f9ad r22514: Add version numbers to tdb and talloc (required so they can be packaged independent of Samba for Debian).
(This used to be commit 846cfcf44d)
2007-10-10 14:51:35 -05:00
Stefan Metzmacher
361e0b0bd7 r22365: prepare merge to samba3
metze
(This used to be commit 6780c23427)
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
9f7406f795 r22267: protect #define __location__ with an #ifndef
metze
(This used to be commit 138ffd6d48)
2007-10-10 14:50:55 -05:00
Jelmer Vernooij
97416e6b01 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.
(This used to be commit 07652f65ce)
2007-10-10 14:48:04 -05:00
Andrew Tridgell
8538af1107 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
(This used to be commit 21eb316473)
2007-10-10 14:44:42 -05:00
Andrew Tridgell
1c211a2e43 r20650: revert a bunch of code I didn't mean to commit yet
(This used to be commit b3e2d49087)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
f6274959ba r20647: add cluster code
(This used to be commit 5870830b99)
2007-10-10 14:37:24 -05:00
Stefan Metzmacher
90d106de8a r20195: fix typo
metze
(This used to be commit 9d06a4b6e2)
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
0d2bedbdd7 r20194: inline all static talloc functions
metze
(This used to be commit ee47b40441)
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
bfbf6d546b r20193: - let talloc_parent_chunk() handle a NULL pointer
- use talloc_parent_chunk() in talloc_parent_name()
- add prototype of talloc_parent_name()

metze
(This used to be commit 85fc18f047)
2007-10-10 14:29:21 -05:00
Volker Lendecke
57b482c04f r19684: Talloc_guide text on multithreading by Remi Turboult
(This used to be commit 7b9b2e5358)
2007-10-10 14:25:32 -05:00
Jelmer Vernooij
dbe5084f8e 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.
(This used to be commit 82cb91e2dd)
2007-10-10 14:25:22 -05:00
Jelmer Vernooij
8f89522a3f r19570: Fix dependencies in pkg-config files.
(This used to be commit 1b04669852)
2007-10-10 14:24:54 -05:00
Andrew Tridgell
5438fc6c62 r19498: the autofree test cannot be run as part of smbtorture
(This used to be commit ebf1d523da)
2007-10-10 14:24:39 -05:00
Jelmer Vernooij
bc596cf917 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72)
2007-10-10 14:24:39 -05:00
Andrew Tridgell
5ce18f91e0 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/
(This used to be commit 35908a2992)
2007-10-10 14:21:30 -05:00
Andrew Tridgell
5370afe8c2 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
(This used to be commit 8644708c3f)
2007-10-10 14:21:29 -05:00