summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_abi.py
AgeCommit message (Collapse)AuthorFilesLines
2012-11-06wafsamba.abi: Fix abi_match with both excludes and includes.Jelmer Vernooij1-3/+3
This fixes a regression introduced by 9c3e294400234ebdf9b98031bae583524fd0b0ac which caused internal symbols in libldb to be exposed. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9357 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
2012-11-06wafsamba.samba_abi: Add basic unit tests.Jelmer Vernooij1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
2012-11-06buildtools: Remove extra space from global: lineAndrew Bartlett1-1/+1
This makes it easier to put the expected values in a file as we will not have trailing whitespace that is against git style. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-11-06wafsamba.samba_abi: Refactor abi_write_vscript to take file argument.Jelmer Vernooij1-9/+13
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij1-1/+1
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2012-09-07wafsamba/samba_abi: allow negative matches in abi_matchAlexander Bokovoy1-3/+12
abi_match keyword for samba libraries allows to selectively apply ABI versions. samba_abi.py implied !sym to be used to say 'all symbols but this one' but the actual demotion of !sym to the local scope was not implemented. Now abi_match='!sym' properly moves symbol to a local scope.
2012-09-07wafsamba/samba_abi: fix signature parsing for structuresAlexander Bokovoy1-2/+3
Signature parsing for structure objects was broken. Existing regexp was greedingly cutting off additional curly brackets that belonged to the first and last structure member.
2012-05-16build: Add explicit mention of --abi-check-disable to ABI checkerAndrew Bartlett1-1/+1
This information has always been in the linked wiki page, but put it in the build to unblock developers using platforms with slightly different GDB output. We can also assist this by improving the string normalisiation in the ABI checker when example errors are provided. It is better to build with the waf build and the full testsuite than to avoid the waf build or not to use the developer options simply to skip the ABI checker. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 16 01:53:42 CEST 2012 on sn-devel-104
2012-05-10build: Avoid printing the ABI signature normalisation during the default buildAndrew Bartlett1-1/+1
This appears to have been accidentily left in acd63fdb86769ff4328ccb6a4096181e65e4d30f Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 10 09:00:20 CEST 2012 on sn-devel-104
2012-03-26wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij1-0/+4
sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
2011-03-12samba_abi: Also sort ABI files properly so symbols end up in the right version.Jelmer Vernooij1-2/+6
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 12 02:45:20 CET 2011 on sn-devel-104
2011-03-12Sort by release component integer values rather than using standard stringJelmer Vernooij1-1/+2
sort. This makes sure tevent 0.9.9 is considered to be older than 0.9.10 and 0.9.11
2011-02-28samba_abi: Generate vscript entries even for ABI versions that didn't introduceJelmer Vernooij1-10/+21
any new symbols. The version entries also appear in the symbol table and removing them (we always add an entry for the current version) breaks the ABI.
2011-02-18waf: support building libraries with a directory prefixAndrew Tridgell1-0/+2
SAMBA_LIBRARY('libsmb/smbclient') can now be built, which distinguishes it from the binary 'smbclient' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-18wafsamba: Use abi_match in version script files.Jelmer Vernooij1-6/+17
2010-12-09waf: add a dependency between the library and its vscriptAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 04:32:18 CET 2010 on sn-devel-104
2010-12-09waf: use vscripts for our private libraries tooAndrew Tridgell1-7/+5
if the library has a vnum, then use it. If it doesn't have a vnum then use the application version for symbol versions
2010-12-09waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell1-3/+76
This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-20build: allow "waf --abi-check" to force a re-check of the ABIAndrew Tridgell1-0/+3
2010-04-18build: more adjustments for the ABI type name mapsAndrew Tridgell1-4/+12
- use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI
2010-04-18build: added abi_type_maps for FC12 struct va_listAndrew Tridgell1-1/+2
fedora12 x86 uses "struct va_list"
2010-04-18build: added abi type maps for _Bool and __va_list_tagAndrew Tridgell1-0/+10
This allows us to make the signature files platform independent
2010-04-18build: added ABI checking to the WAF buildAndrew Tridgell1-0/+112
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details