Commit Graph

298 Commits (3388277b9b4ea959dce7c1199a578b53fdbdd693)

Author SHA1 Message Date
William Pitcock 298a37868c pkg: return PKG_ERRF_PACKAGE_CONFLICT only if a conflict has been formally verified 2012-05-11 21:00:01 -05:00
William Pitcock 9c335f161a pkg: when walking a list, get eflags from pkg_traverse() call 2012-05-11 20:59:35 -05:00
William Pitcock fef7558c92 main: add --ignore-conflicts program option (issue #13) 2012-05-11 20:54:48 -05:00
William Pitcock 6c1ace0aa7 pkg: add conflicts graph node verification (issue #13) 2012-05-11 20:51:13 -05:00
William Pitcock 948e219075 tests: add tests for 'conflicts' field (issue #13) 2012-05-11 20:32:32 -05:00
William Pitcock 0aa05d3e66 pkg: add PKGF_SKIP_CONFLICTS (issue #13) 2012-05-11 20:28:23 -05:00
William Pitcock 27c0779187 main: use pkg_libs(). 2012-05-11 20:18:12 -05:00
William Pitcock 2ecb181fe6 pkg: add pkg_libs() for calculating the mergemaster set of linker flags (issue #11) 2012-05-11 20:16:22 -05:00
William Pitcock b8e538ecea main: use pkg_cflags() instead of custom code (issue #11) 2012-05-11 20:13:47 -05:00
William Pitcock e6cf8b4021 pkg: add pkg_cflags() for calculating a mergemastered list of cflag fragments for a problem set (issue #11) 2012-05-11 20:13:03 -05:00
William Pitcock 40402298ef main: use PKGF_MERGE_PRIVATE_FRAGMENTS 2012-05-11 20:07:45 -05:00
William Pitcock f056f1e7f6 pkg: add PKGF_MERGE_PRIVATE_FRAGMENTS 2012-05-11 20:07:30 -05:00
William Pitcock ee2df66a56 main: update traverse callback prototypes 2012-05-11 20:02:23 -05:00
William Pitcock 559ae0951d pkg: pass PKGF_* flags to traverse funcs 2012-05-11 19:58:34 -05:00
William Pitcock acf2ee260b pkg: use typename enforcement on pkg_traverse() 2012-05-11 19:56:38 -05:00
William Pitcock bb41d143cc pkg: get rid of PKG_LOCAL_COPY() since it was only used in one place 2012-05-11 13:59:18 -05:00
William Pitcock 56fbf25c8a Move all portability gunk into stdinc.h. (Issue #18) 2012-05-11 13:47:20 -05:00
William Pitcock 9775fe8c66 pkg (headers): add alloca.h for LOCAL_COPY() macro 2012-05-09 15:46:36 -05:00
William Pitcock b408a62059 pkgconf 0.7 2012-05-07 04:04:41 -05:00
William Pitcock 037001a6ad AUTHORS: add mgorny 2012-05-07 04:01:40 -05:00
William Pitcock 4b193018a4 pkg: clean up pkg_find() by adding pkg_try_specific_path(). (issue #16) 2012-05-07 03:57:28 -05:00
William Pitcock 2aaa1ce0df main: implement support for PKG_CONFIG_SYSROOT_DIR (issue #5) 2012-05-07 03:45:24 -05:00
William Pitcock 9885643e45 tests: add test for PKG_CONFIG_SYSROOT_DIR 2012-05-07 03:44:59 -05:00
William Pitcock e16b644165 Merge pull request #15 from mgorny/master
win32 registry support + bzero() -> memset()
2012-05-07 01:34:37 -07:00
William Pitcock 1b845b4310 main: implement support for PKG_CONFIG_TOP_BUILD_DIR (issue #6) 2012-05-07 03:33:00 -05:00
William Pitcock a5347c8b4f main: add --exact-version and --max-version to usage() 2012-05-07 03:27:55 -05:00
Michał Górny 3099663a4c bzero() is deprecated, use memset(). 2012-05-07 10:26:44 +02:00
William Pitcock d5ddeb401b main: add --max-version and --exact version (issue #8) 2012-05-07 03:26:17 -05:00
Michał Górny c203beb902 Support getting PKG_CONFIG_PATH from win32 registry. 2012-05-07 10:23:46 +02:00
William Pitcock 7ae5ccd177 main: implement --define-variable 2012-05-06 23:32:08 -05:00
William Pitcock 97afd424b1 tests: add tests for --define-variable (issue #7) 2012-05-06 23:30:37 -05:00
William Pitcock 07a414677b main: use PKGF_SKIP_ROOT_VIRTUAL when looking for variables 2012-05-06 23:30:02 -05:00
William Pitcock f1bd223f7f pkg: disable PKGF_SKIP_ROOT_VIRTUAL when recursing 2012-05-06 23:28:42 -05:00
William Pitcock f663f7922c pkg: add PKGF_SKIP_ROOT_VIRTUAL for some queries like --variable 2012-05-06 23:26:21 -05:00
William Pitcock e104def516 tuple: reverse preference of global vs local var 2012-05-06 23:12:43 -05:00
William Pitcock 0056ba63dc tuple: add global tuple support (issue #5, issue #6, issue #7) 2012-05-06 23:10:41 -05:00
William Pitcock 688c07890a parse: remove remaining function (pkg_t constructor) to pkg.c 2012-05-06 23:00:06 -05:00
William Pitcock 4eb08d7c1f pkg: clean up foreach_list_entry* macros (issue #10) 2012-05-06 22:55:00 -05:00
William Pitcock 9eea62fbc6 pkg: LOCAL_COPY() becomes PKG_LOCAL_COPY(). 2012-05-06 22:52:05 -05:00
William Pitcock d86827d2dd pkg: clean up struct names so they sit fully inside pkg_ namespace (issue #10) 2012-05-06 22:50:15 -05:00
William Pitcock a961a523f7 pkg: cleanups 2012-05-06 22:38:44 -05:00
William Pitcock 0d4287afa7 dependency: split out dependency code from parse.c 2012-05-06 22:32:53 -05:00
William Pitcock c83fd2e616 parse: move and rework parse_fragment_list() as pkg_fragment_parse(). 2012-05-06 22:29:59 -05:00
William Pitcock db6d0e2309 pkg: parse_file is now pkg_new_from_file 2012-05-06 22:24:36 -05:00
William Pitcock d07e41c3f9 pkg: rename parse_deplist to pkg_dependency_parse 2012-05-06 22:23:05 -05:00
William Pitcock 1da21bd3b4 argvsplit: proper namespacing 2012-05-06 22:21:11 -05:00
William Pitcock cc32bbd47c main: use error codes 2012-05-06 21:42:33 -05:00
William Pitcock 4f50dad147 pkg: provide error return codes for pkg_traverse() and pkg_verify_graph(). 2012-05-06 21:42:15 -05:00
William Pitcock 601341fb8f main: pkg_queue_walk(): cleanups 2012-05-06 21:31:20 -05:00
William Pitcock 6646e99a37 pkg: pkg_report_graph_error(): free pkg when exiting 2012-05-06 21:30:35 -05:00