William Pitcock
082fd4af24
testsuite: add a test for --pure ( closes #83 )
2016-11-15 23:03:50 -06:00
William Pitcock
3f61f58c20
man: document more recently added features in the frontend
2016-11-15 22:52:07 -06:00
William Pitcock
8ecf7c186b
main: also enable --pure with the PKG_CONFIG_PURE_DEPGRAPH env variable ( #83 )
2016-11-15 22:30:04 -06:00
William Pitcock
ec10dd8edb
main: add --pure flag ( #83 ) which allows a static-linking dependency graph to be evaluated as if it were otherwise normal
2016-11-15 22:01:17 -06:00
William Pitcock
96014b0286
NEWS: add an entry for #96
2016-11-05 10:41:50 -05:00
William Pitcock
0c74b5a4c2
Merge branch 'kyua' ( closes #96 )
2016-11-04 23:32:50 -05:00
William Pitcock
cbd14e9118
testsuite: delete legacy testsuite
2016-11-04 23:31:02 -05:00
William Pitcock
63a61b7c9f
testsuite: regress: really add the last few tests this time
2016-11-04 23:30:21 -05:00
William Pitcock
20f4a7fcc7
testsuite: parser: add remaining test cases
2016-11-04 23:14:22 -05:00
William Pitcock
8075de1416
testsuite: regress: add the remaining tests that were in the old testsuite
2016-11-04 23:07:18 -05:00
William Pitcock
0ea956e300
testsuite: use uname -s instead of uname -o for system name
2016-11-04 22:44:00 -05:00
William Pitcock
0764d8af51
Merge branch 'master' into kyua
2016-11-04 22:36:40 -05:00
William Pitcock
febf476a91
configure: kill --enable-strict-mode, entirely pointless
2016-11-04 22:35:55 -05:00
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