1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
Simo Sorce
6339de7f4f release-scripts: parametrize scripts
This should make it easier to keep all release scripts alined as it will reduce
the difference between them to ideally a few variables

Also moves the tdb script in the scripts directory.
2010-02-08 10:29:06 -05:00
Simo Sorce
6bf2a821b7 talloc: Fix abi checks in release script
We must perform abi checks against the version we are going to release.
Not against the current tree we are in.
2010-02-08 10:12:50 -05:00
Simo Sorce
1422a94654 talloc: Fix abi checks and ifdefs
teach the abi check scripts to skip the DOXYGEN sections
fix the header to use #ifdef DOXYGEN and not #if DOXYGEN
2010-02-08 10:02:49 -05:00
Simo Sorce
7f956869ff Fix release script to work with recent git versions 2009-12-15 09:17:25 -05:00
Simo Sorce
8fb483b296 talloc: Make abi checks in release script
Make always sure the exports and signature files are up to date before
shipping a release.
2009-10-14 11:05:52 -04:00
Simo Sorce
8e6df560b7 talloc: Move release script under /script too 2009-10-14 11:05:52 -04:00
Simo Sorce
2d6d6bcb5d talloc: Change the way mksysms work
Make sure we always have a sorted (per file) export file.
This way we can directly compare the real export and the check file w/o having
to further sort things.

Also return error code from abi_checks.sh if warnings were reported
2009-10-14 11:05:51 -04:00
Michael Adam
ea2b9e0fb1 talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
Michael
2009-09-11 15:31:35 +02:00
Michael Adam
56c09d2fb2 talloc:mksigs: normalize bool -> _Bool
Michael
2009-09-11 15:31:35 +02:00
Michael Adam
82404ad3e4 talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
Michael
2009-09-11 15:31:33 +02:00
Michael Adam
629ff2b6e2 talloc:mksigs: correctly ignode multiline function typedefs
by first concatenating multilint parentheses and removing typefes afterwards.

Michael
2009-09-11 15:31:33 +02:00
Michael Adam
7b0e072631 talloc:mksigs: ignore struct forward declarations.
Michael
2009-09-11 15:31:32 +02:00
Michael Adam
e60c775835 talloc:mksyms: allow characters after closing functions parenthesis.
Michael
2009-09-11 15:31:32 +02:00
Michael Adam
fd55479981 talloc:mksyms: allow double pointer return value of functions.
Michael
2009-09-11 15:31:32 +02:00
Michael Adam
700533a748 One would expect I could spell my name. 2009-08-30 00:56:03 +02:00
Michael Adam
c7d9617259 talloc: move the original abi_checks script to script/abi_checks_gcc.sh
Michael
2009-08-30 00:51:53 +02:00
Michael Adam
f1b386a894 talloc: add script/abi_checks.sh. check for abi changes without gcc magic.
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...]

This creates symbol signature lists using the mksyms and mksigs scripts
and compares them with the checked in lists.

Michael
2009-08-30 00:51:51 +02:00
Michael Adam
4579c05462 talloc: add script to extract signatures from header files.
This produces output like the output gcc produces when
invoked with the -aux-info switch.

Run like this: cat talloc.h | ./script/mksigs.pl

This simple parser is probably too coarse to handle all possible
header files, but it does treat talloc.h correctly.

Michael
2009-08-30 00:51:51 +02:00
Michael Adam
e896f9188d talloc: add scripts to extract library symbols (exports file) from headers
Michael
2009-08-30 00:51:50 +02:00