William Pitcock
64c07aa90f
Merge branch 'master' into kyua
2016-10-27 21:51:09 -05:00
William Pitcock
1ce35f8bbb
buildsystem: add new testsuite files
2016-10-25 14:08:39 -05:00
William Pitcock
ce165646de
fragment: skip empty tokens ( closes #99 )
...
Due to the way that tokens are merged together for arguments which require explicit whitespace, an
empty token could result in a fragment like:
{.type = 'I', .data = '/usr/include '}
Such a fragment would be treated differently than:
{.type = 'I', .data = '/usr/include'}
This difference causes the compiler to include a system include path as part of the additional includes, thus
breaking things like include path shadowing, resulting in random build failures. As such, we skip empty tokens
from the tokenizer as they do not have any relevance anyway.
2016-10-25 14:03:25 -05:00
William Pitcock
9a89bd051d
testsuite: add a test for #99
2016-10-25 14:03:25 -05:00
William Pitcock
a05cc65a4b
README: change distfiles location to an https one ( closes #98 )
2016-09-18 22:12:25 -05:00
Baptiste Daroussin
4d7d3e54bf
Add travis hacks to get kyua
2016-09-18 23:38:11 +02:00
Baptiste Daroussin
5c2bee67f7
Add Kyua tests
2016-09-18 23:29:30 +02:00
William Pitcock
6484dcb0c2
pkg: pkgconf_pkg_free(): be sure to free the Provides list
2016-09-16 09:59:41 -05:00
William Pitcock
0b62a8cd38
tests: fix up Kyuafile files
2016-09-10 02:08:14 -05:00
William Pitcock
072293c886
tests: add some very rudementary kyua integration ( #96 )
2016-09-10 02:06:33 -05:00
William Pitcock
b900e04628
pkg: add support for PKGCONF_CMP_NOT_EQUAL Provides rules, completing support of Provides rules ( closes #95 )
2016-09-10 01:51:19 -05:00
William Pitcock
c81f72bf3c
tests: provides: provide a PKG_CMP_NOT_EQUAL dependency node
2016-09-09 14:45:33 -05:00
William Pitcock
4fcda862a4
pkg: make fuzzy Provides matching for PKG_CMP_NOT_EQUAL ops more correct
2016-09-09 14:34:38 -05:00
William Pitcock
81679fa0d8
NEWS: document availability of Provides system
2016-09-09 11:31:24 -05:00
William Pitcock
892a03cd8c
pkg: fill in a lot of the fuzzy matching stuff (but some of it may be wrong, needs to be looked at)
2016-09-09 01:04:26 -05:00
William Pitcock
7c0264ac7a
pkg: implement rudementary support for fuzzy Provides matches
2016-09-09 00:17:46 -05:00
William Pitcock
c2c7e7488e
pkg: add a more flexible framework for multi-level compare required for fuzzy Provides rules.
2016-09-08 23:54:57 -05:00
William Pitcock
9783181cce
pkg: make pkgconf_vercmp_res_func_t more generic, allowing it to be used for Provides rules.
2016-09-08 23:23:15 -05:00
William Pitcock
ef545a017e
tests: oops, it's --no-provides not --skip-provides
2016-09-08 22:22:59 -05:00
William Pitcock
47c5c5653c
main: add --skip-provides to provide broken fd.o pkg-config behaviour ( #95 )
2016-09-08 22:21:12 -05:00
William Pitcock
d304d9cb2e
pkg: add support for 'simple' Provides rule entries ( #95 )
2016-09-08 22:10:24 -05:00
William Pitcock
322a4f6002
NEWS: start on a 1.1 entry
2016-08-27 19:17:46 -05:00
William Pitcock
bbe6dcc088
pkg: make pkgconf_scan_all() API more flexible to allow it to scan until it finds a qualifying pkgconf_pkg_t
2016-08-27 09:48:53 -05:00
William Pitcock
5ba46130d2
pkg: add anchor Provides entry once the .pc file is parsed, instead of faking it in the tool
2016-08-26 23:43:36 -05:00
William Pitcock
d72ece6a5f
dependency: add pkgconf_dependency_add for programmatically adding a dependency object
2016-08-26 23:40:15 -05:00
William Pitcock
21c7355ca8
testsuite: improve --print-provides test by adding a provides.pc file
2016-08-26 21:36:18 -05:00
William Pitcock
da2f49f7b0
main: since --print-provides is implemented fully now, document it
2016-08-26 12:22:11 -05:00
William Pitcock
f9101659bc
pkg: add support for parsing Provides: entries
2016-08-26 12:14:32 -05:00
William Pitcock
d5d194f1db
pkg: clean up dependency comparison code
2016-08-26 10:54:37 -05:00
William Pitcock
4960242acb
pkg: make some compile-time defined tables const
2016-08-26 10:35:22 -05:00
William Pitcock
be4a002f1c
pkg: use bsearch(3) instead of a hardcoded tree of strcmp logic
2016-08-26 01:11:50 -05:00
William Pitcock
9e415ea151
libpkgconf: improve API to support any number of builtin packages
2016-08-26 00:26:30 -05:00
William Pitcock
12a0eb124c
main: assume --modversion insted of --version if other flags or module names are provided
2016-08-25 23:45:33 -05:00
William Pitcock
53fc91332a
pkgconf 1.0.1.
2016-08-24 19:05:17 -05:00
William Pitcock
834e21d37e
testsuite: add tests for normal fragments and whitespace munging, too ( closes #94 )
2016-08-24 19:00:10 -05:00
William Pitcock
b835d74d80
fragment: try to apply munging to all path-only fragments ( #94 )
2016-08-24 18:51:02 -05:00
William Pitcock
f6c96fc3d1
fragment: add pkgconf_fragment_should_munge() to simplify the munging logic a bit ( #94 )
2016-08-24 18:39:42 -05:00
William Pitcock
0a592689b6
testsuite: add a testcase for -isystem munging ( #94 )
2016-08-24 18:12:26 -05:00
William Pitcock
226f8616de
tests: add a test for --print-provides ( #95 )
2016-08-24 11:21:40 -05:00
William Pitcock
4a1b88fcc4
main: implement --print-provides, but not actual Provides support.
...
It turns out pkg-config's provides support is incomplete (only --print-provides is implemented),
so we are going to hold off on implementing support for Provides until 1.1.
2016-08-24 11:04:12 -05:00
William Pitcock
01921543bf
README updates ( closes #80 )
2016-07-10 15:34:49 -05:00
William Pitcock
45d422c484
libpkgconf: implement PKG_CONFIG_LOG style auditing ( closes #88 )
2016-07-10 15:20:31 -05:00
William Pitcock
41e0a65870
audit: add actual audit log I/O functions (ref #88 )
2016-07-10 15:03:58 -05:00
William Pitcock
8ccc10863c
main: add a stub for PKG_CONFIG_LOG (ref #88 )
2016-07-10 14:53:33 -05:00
Jason Dusek
eb91ba560d
verses -> versus ( #92 )
2016-07-04 01:21:15 -05:00
William Pitcock
58d0136990
testsuite: add a couple of other cornercases identified by looking at openbsd pkg-config changes
2016-05-28 03:42:41 -05:00
William Pitcock
97e1ffe7b3
testsuite: add a test for comma as package separator (some openbsd pkg-config versions did not support this)
2016-05-28 03:35:11 -05:00
William Pitcock
f44f83998c
queue: namespace the virtual 'world' package as something that could never actually exist
2016-05-20 02:06:46 -05:00
William Pitcock
2516f7c185
buildsystem: go back to using the makefile to expand the defaults ( closes #89 )
2016-05-19 21:12:24 -05:00
William Pitcock
a7893e7572
update copyright to 2016
2016-05-19 18:21:49 -05:00