Age | Commit message (Collapse) | Author | Files | Lines |
|
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 07652f65ce7a5b19130f1a27cbf0e1e5fae13454)
|
|
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 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
|
|
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
|
|
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
|
|
metze
(This used to be commit 9d06a4b6e22e18bdaa4383c7b9ab8af058c157c0)
|
|
metze
(This used to be commit ee47b404412299ac0e341f0d269adc21a7ebc603)
|
|
- use talloc_parent_chunk() in talloc_parent_name()
- add prototype of talloc_parent_name()
metze
(This used to be commit 85fc18f047cd2132d0c455f739ee76ce5005d7ed)
|
|
(This used to be commit 7b9b2e5358030aed5cb69dbc93d3175c9cac4455)
|
|
Always build and install .pc files as they make sense for static libs
as well.
(This used to be commit 82cb91e2dd50899050066cccee82cb5be52ec3fe)
|
|
(This used to be commit 1b046698521f77b843f4a2fcf91230ee2917b569)
|
|
(This used to be commit ebf1d523da45fe19757bca45262f7514702ee108)
|
|
build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
|
|
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 35908a29922b93d133b19881dc8205a7116cae8e)
|
|
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 8644708c3f42d249b5d1fd2bde37aeb35288da13)
|
|
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.
(This used to be commit db273ef4dd6ab58da57bb4b59fb1fd5568585ed8)
|
|
Support listing known failures as a list of wildcards in the file
`KNOWN_FAILURES'.
(This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
|
|
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
|
|
'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.
(This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
|
|
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.
(This used to be commit 0eb6097305776325c75081356309115f445a7218)
|
|
(This used to be commit fe20ac404d654abe31729664584391f3b3cd0214)
|
|
(This used to be commit e620f44643caf93a8bcb203a966c986c14a8dc0e)
|
|
- 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
(This used to be commit 2be48c1b033dceb9517826054b8ea97df2c94472)
|
|
metze
(This used to be commit 450595822441ebaa199d6b10d568274940b1a91b)
|
|
(This used to be commit fbd8028080108cd920ee0a65bdb10de2eb419cde)
|
|
- add library test for libpopt
(This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
|
|
talloc or libreplace
(This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
|
|
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
|
|
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.
Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
|
|
(This used to be commit 9b9f058edb033c999c4430add4f05459ac43c9e2)
|
|
and use the macros in configure.ac
metze
(This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
|
|
exposed.
Unfortunately this generates a large number of type punning
warnings. We'll have to find some magic to hide those.
(This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
|
|
meant for moving pointers between structures. The difference is that
talloc_move() will zero the source pointer, thus ensuring you don't
reference the pointer in the old context.
talloc_move() is appropriate in some, but not all cases where we use
talloc_steal() now. The interface came out of a discussion with
Jeremy.
(This used to be commit 200756017e1867faa207703eddc00a75ae4527df)
|
|
(This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)
|
|
always at it as first private dependencies
metze
(This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
|
|
(This used to be commit 6f5e7df6f2cf67731e596b1d1d6fafbb76123e89)
|
|
and include them from there
metze
(This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
|
|
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
|
|
metze
(This used to be commit c8342c9ae5b37acd72271e025f0ee735a95cf8e5)
|
|
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
(This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
|
|
metze
(This used to be commit 357882e6ec20b559b7053a8dffb72b7dec26b82f)
|
|
a local scope
metze
(This used to be commit b787259365eb3dbbc5e8a82a95f0beeea0015682)
|
|
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done
metze
(This used to be commit 8246d8ecd2679af59e32901174638a166ed69222)
|
|
(This used to be commit e485b25a39ebbbfaf150fad1946e138830bdbfec)
|
|
(This used to be commit 9bc583cf6c66130df4b9fd2ee1ab3ea486e22b8a)
|
|
(This used to be commit 7f7c85fa2feb1398050ea6b2929628f83b6bdb11)
|
|
(This used to be commit 1185dd044b40f722d06b0e148824582e7efcb380)
|
|
(This used to be commit b5d519eb1eea507a749cb252d8dd9265022f7054)
|
|
(This used to be commit 968a4e97cfa6585b06f0c5e64d746715a1297461)
|
|
metze
(This used to be commit c60deff667941e462fd9c8a894a723c792fe465e)
|
|
* libreplace can now build stand-alone
* add stub testsuite for libreplace
* make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
|