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

205 Commits

Author SHA1 Message Date
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
Andrew Tridgell
db273ef4dd r19405: the talloc speed test suite was not giving an accurate picture of the
cost of talloc versus malloc. The size parameter in the test suite was
constantly increasing, leading to a worst case for malloc. It is far
more common to have talloc calls of 100 bytes or lower, so change the
benchmark to reflect this.

This makes talloc look much worse - on my laptop I now get:

talloc: 5615164 ops/sec
malloc: 14337130 ops/sec

I'm working on improving that.
2007-10-10 14:21:27 -05:00
Jelmer Vernooij
23f66efd56 r19381: Print out the specific tests that failed after a smbtorture run.
Support listing known failures as a list of wildcards in the file
`KNOWN_FAILURES'.
2007-10-10 14:21:22 -05:00
Jelmer Vernooij
bde00d9706 r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.
Support directories for subcategories in tests.
Several small other fixes.
2007-10-10 14:21:14 -05:00
Jelmer Vernooij
e1742c14a2 r19343: Add support for external scripts/binaries that write results using the
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:

- write "comments" to stderr

Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]

I've already converted the talloc testsuite.
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
0eb6097305 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
2007-10-10 14:21:12 -05:00
Simo Sorce
fe20ac404d r19304: If you really want to look at the contents undef this one 2007-10-10 14:21:05 -05:00
Andrew Tridgell
e620f44643 r19118: get rid of a bunch of bool misuse warnings 2007-10-10 14:20:36 -05:00
Stefan Metzmacher
2be48c1b03 r18995: - fix bug 4078
- talloc_free(talloc_autofree_context()); should not result
  in a SIGABORT on exit
- add a test for this, but this test can also pass in the standalone build
  and samba3, as samba4 uses talloc_autofree_context()

metze
2007-10-10 14:20:27 -05:00
Stefan Metzmacher
4505958224 r18946: fix compiler warning
metze
2007-10-10 14:20:23 -05:00
Andrew Tridgell
fbd8028080 r18601: updated web page for new talloc build method 2007-10-10 14:18:55 -05:00
Andrew Tridgell
13878b7e7e r18600: - fix shell syntax in tests for libraries
- add library test for libpopt
2007-10-10 14:18:55 -05:00