Commit Graph

729 Commits (a833e33122bc53e22f2147b7ae8fae927b983921)

Author SHA1 Message Date
William Pitcock 3ba3aae783 libpkgconf: client: clean up cache 2016-12-02 00:48:26 -06:00
William Pitcock 011d8c77d6 libpkgconf: audit: migrate to pkgconf_client_t 2016-12-02 00:34:48 -06:00
William Pitcock c05ecdfc9d libpkgconf: migrate cache to pkgconf_client_t which unfortunately requires it to be non-const :( 2016-12-02 00:29:33 -06:00
William Pitcock e7f4846508 libpkgconf: path: add cleanup functions 2016-12-02 00:04:43 -06:00
William Pitcock b7984a795c libpkgconf: commit missing client.c 2016-12-01 15:31:09 -06:00
William Pitcock a300787cef libpkgconf: do not implicitly build the dir list, instead explicitly do it 2016-12-01 15:17:23 -06:00
William Pitcock ad731d1948 libpkgconf: make pkgconf_pkg_dir_list_build() public 2016-12-01 15:11:37 -06:00
William Pitcock 434c465ca9 libpkgconf: migrate pkgconf_error() to use client objects 2016-12-01 15:09:54 -06:00
William Pitcock 8740c5cd55 libpkgconf: begin removing global state from libpkgconf library by introducing a "client" object which holds the state 2016-12-01 15:05:03 -06:00
William Pitcock 4bb46e20e3 libpkgconf: add path matching and environment building functions 2016-11-30 22:36:35 -06:00
William Pitcock f4da1082cb libpkgconf: refactor some path operations 2016-11-30 22:15:13 -06:00
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