Commit Graph

1323 Commits (1cfa2d1e20d9a55906580c5e3f82c3c49d2516e5)

Author SHA1 Message Date
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
William Pitcock 5122d5eecb pkg: do not allocate an id for a virtual package 2012-05-06 21:30:14 -05:00
William Pitcock cb23f16a85 main: plug leak with --uninstalled 2012-05-06 21:22:40 -05:00
William Pitcock 1244724905 makefile: add valgrind-check target for running test suite with valgrind leak-checking 2012-05-06 21:18:03 -05:00
William Pitcock 1b1e8dcd1a main: free mergemaster'd fragment lists 2012-05-06 21:16:32 -05:00
William Pitcock 36269f760b main: don't just exit on --variable 2012-05-06 21:15:30 -05:00
William Pitcock c69d6c62eb main: free pkg_queue_t entries once they are committed to the depgraph 2012-05-06 21:12:16 -05:00
William Pitcock be5dddd212 parse: add argv_free() 2012-05-06 21:09:58 -05:00
William Pitcock 83e7e2e733 argvsplit: add argv_free(). 2012-05-06 21:09:40 -05:00
William Pitcock 9d2bd0b66d pkg: plug memory leaks 2012-05-06 21:09:26 -05:00
William Pitcock a75baf5a7b main: make 'world' package virtual 2012-05-06 21:08:47 -05:00
William Pitcock 4d027a4366 pkg: fix out-of-boundary write caused by realloc() semantics 2012-05-06 20:59:03 -05:00
William Pitcock 29ca5b7eee pkg: free packages constructed while walking the dependency graph 2012-05-06 20:39:26 -05:00
William Pitcock d99f3db88e pkg: make pkg-config builtin package "virtual" 2012-05-06 20:39:10 -05:00
William Pitcock 4172dc545f pkg: don't free builtin (virtual) packages 2012-05-06 20:38:48 -05:00
William Pitcock 0d2a507bcd pkg: fix foreach_list_entry_safe() macro 2012-05-06 20:36:59 -05:00
William Pitcock 3eb16dca0f pkg: add pkg_free() 2012-05-06 20:30:50 -05:00
William Pitcock 9b540397f0 parse: add pkg_dependency_free(). 2012-05-06 20:26:24 -05:00
William Pitcock 81fd865a49 fragment: add pkg_fragment_free(). 2012-05-06 20:26:09 -05:00
William Pitcock ba1c41eb14 pkg: add pkg_tuple_free() 2012-05-06 20:18:21 -05:00
William Pitcock e50faff9aa pkg: add safe version of foreach_list_entry() macro 2012-05-06 20:15:45 -05:00
William Pitcock ded3ce7aff main: clean up variable printer now that we have pkg_tuple_parse 2012-05-06 20:13:54 -05:00
William Pitcock 30fe1fae39 parse: replace strdup_parse with pkg_tuple_parse(). 2012-05-06 20:12:11 -05:00
William Pitcock 4ea25d56f4 parse: split out tuple API and make public 2012-05-06 20:06:48 -05:00
William Pitcock 1752b75ac9 main: fix typo 2012-05-06 19:57:56 -05:00
William Pitcock 69c5925ba2 main: add --keep-system-cflags and --keep-system-libs (and also pkg-config env vars for this) 2012-05-06 19:56:19 -05:00