Commit Graph

690 Commits (062f0fd331223c898dbaaf3c737cc94bea1b4a57)

Author SHA1 Message Date
William Pitcock d6fb7881d4 pkg: remove pkg_t.uninstalled, use a property flag instead 2013-03-01 12:06:52 -06:00
William Pitcock 1fd95f90eb dependency: refactor to use pkg_list_t framework 2013-03-01 11:36:21 -06:00
William Pitcock 8330056dc1 fragment: refactor using pkg_list_t framework 2013-03-01 11:10:43 -06:00
William Pitcock 74e40fd128 tuple: refactor to use pkg_list_t framework 2013-03-01 10:45:55 -06:00
William Pitcock ae063d8922 queue: refactor to use pkg_list_t framework 2013-03-01 10:24:57 -06:00
William Pitcock b475859cfa cache: use new pkg_list_t framework 2013-03-01 10:14:20 -06:00
William Pitcock 6c2de79349 pkg: add generic linked list iterator code 2013-03-01 10:09:22 -06:00
William Pitcock dd53cd57f4 pkg: implement refcounting and a deeper cache 2013-02-25 23:29:57 -06:00
William Pitcock e3d8475c36 pkg: readd cached sentinel 2013-02-25 22:47:32 -06:00
William Pitcock c9831c1ed0 pkg: use pkg_cache APIs. 2013-02-25 22:40:30 -06:00
William Pitcock 9439b02936 cache: add high-level cache API 2013-02-25 17:36:09 -06:00
William Pitcock de29503013 pkgconf 0.8.12. 2013-02-25 09:03:50 -06:00
William Pitcock 7d3f234cba pkg: pkg_report_graph_error() should be static 2013-02-25 08:56:57 -06:00
William Pitcock fd9f511afa testsuite: add --exists test for nonexistant package 2013-02-25 08:50:11 -06:00
William Pitcock a3d25fe930 pkg: ensure we actually have a package object before caching it 2013-02-25 08:47:37 -06:00
William Pitcock c0f0cb659c pkgconf 0.8.11 2013-02-24 09:19:59 -06:00
William Pitcock a40c5bd59e testsuite: check that unrecognized options fail 2013-02-24 09:08:06 -06:00
William Pitcock 77c5b82aad main: use support for munging by $(pc_sysrootdir) and remove the old sysroot hack 2013-02-24 08:59:07 -06:00
William Pitcock 01c2d1d44c pkg: add support for munging tuples based on $(pc_sysrootdir) if requested 2013-02-24 08:58:35 -06:00
William Pitcock bea204fa63 testsuite: add additional tests for PKG_CONFIG_SYSROOT_DIR 2013-02-24 08:57:53 -06:00
William Pitcock 5dab626274 pkgconf 0.8.10. 2013-02-24 08:23:21 -06:00
William Pitcock 5344016caa buildsys: use rm -f when cleaning 2013-02-24 08:22:35 -06:00
William Pitcock b4eb42f3c3 Update copyrights on modified files to 2013. 2013-02-24 08:21:36 -06:00
William Pitcock 910c6e00e9 main: add option to disable cache code 2013-02-24 08:20:35 -06:00
William Pitcock 14f3e1edd2 pkg: implement a cache for packages and use it to break circular dependencies 2013-02-24 08:14:23 -06:00
William Pitcock d4cef5cad5 testsuite: update for pkg-config version 0.28 compatibility 2013-02-24 08:13:19 -06:00
William Pitcock 14b88e3bcb pkg: bump PKG_PKGCONFIG_VERSION_EQUIV to 0.28 2013-02-24 07:45:20 -06:00
William Pitcock e178f6d620 dependency: use pkg_comparator_lookup_by_name() instead of having special lexing rules for comparator tokens
This allows us to add new tokens in the future by adding them to one place.
2013-02-24 07:41:18 -06:00
William Pitcock 6e4573367d pkg: add pkg_comparator_lookup_by_name(). 2013-02-24 07:37:20 -06:00
William Pitcock ef1f1a3a14 pkg: rework pkg_verify_dependency() to treat dependencies as bytecode 2013-02-24 07:32:26 -06:00
William Pitcock ac2f99f6af pkg: refactor pkg_get_comparator(). 2013-02-24 07:20:50 -06:00
William Pitcock 9dc3cbc784 testsuite: add a test for tilde quoting 2013-02-24 07:04:15 -06:00
William Pitcock 2936927008 testsuite: add test for static archives in Libs: 2013-02-24 06:58:51 -06:00
William Pitcock a2323ee923 buildsys: clean up gcov stuff 2013-02-24 06:53:27 -06:00
David Michael f8a2519d1b Include PKG_CHECK_VAR macro for reading variables in .pc files
Freedesktop #48098 (https://bugs.freedesktop.org/show_bug.cgi?id=48098)
2013-02-24 06:47:48 -06:00
William Pitcock 7b322d73e8 main: limit evaluation graph depth to 2000 nodes
This allows us to break out of situations where circular dependencies may arise.
2013-02-24 06:42:32 -06:00
William Pitcock b1949e7706 testsuite: add tests for circular dependencies 2013-02-24 06:42:03 -06:00
William Pitcock beda1fffdd testsuite: add pkg-config files creating an intentional circular dependency 2013-02-24 06:29:53 -06:00
William Pitcock 44e2ce79e6 buildsys: add support for profiling the testsuite with gcov 2013-02-24 06:26:56 -06:00
William Pitcock 804b3ef8dc Merge pull request #43 from jviguera/master
Fix 'system-includedir' help string in configure.ac
2012-09-27 06:49:19 -07:00
Javier Viguera e37c32ab37 configure.ac: fix system-includedir help string
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-09-26 11:29:55 +02:00
William Pitcock 5500fdb4b3 pkgconf 0.8.9. 2012-09-14 16:17:29 -05:00
William Pitcock 0edc4ff3b3 main: mention compatibility level in --about ala PKG_PKGCONFIG_VERSION_EQUIV 2012-09-14 16:16:35 -05:00
William Pitcock 73b443b883 tests: add prefix-resistant SYSROOT_DIR variable which uses a sentinel mingw won't mess with 2012-09-14 16:04:20 -05:00
William Pitcock fa0b2f9fc2 tests: quote safety 2012-09-14 15:56:45 -05:00
William Pitcock 1f373a2654 tests: check for Msys and use Windows-style path seperators for PKG_CONFIG_PATH. 2012-09-14 15:50:27 -05:00
William Pitcock 7fe15d1faf tests: hack the directory name with sed to normalize prefix handling on mingw/cygwin. 2012-09-14 15:44:26 -05:00
William Pitcock 3867a66434 pkg: pkg_get_parent_dir() should fall back to '/' directory separator if necessary
Some environments such as the MingW-MSYS shell environment use both \ and / as directory
separators, thusly we should fall back to the POSIX directory separator.  Both directory
separators are fully supported by Windows.
2012-09-14 15:42:06 -05:00
William Pitcock 847ddbbc22 gitignore: ignore Makefile 2012-09-14 15:36:41 -05:00
William Pitcock 87d2ec5550 tests: simplify test 17 to remove $(SYSTEM_LIBDIR) fluff 2012-09-14 15:35:18 -05:00