Commit Graph

1281 Commits (19b1befb5dadbf55177779e9245cf2c7eabbc7e0)

Author SHA1 Message Date
William Pitcock 24236c76c1 tests: add a test for malformed pkg_t entities 2012-07-20 19:55:06 -05:00
William Pitcock 6194cd3133 tests: add more tests 2012-07-20 18:08:54 -05:00
William Pitcock e5efad7df5 main: return EXIT_FAILURE when argument parsing fails 2012-07-20 17:19:43 -05:00
William Pitcock 3c31c01db4 tests: add tests for malformed option arguments 2012-07-20 17:18:35 -05:00
William Pitcock 43a2c7880d main: use pkg_getopt_long_only(). 2012-07-20 17:12:06 -05:00
William Pitcock 81fa40f9b6 getopt_long: more fixing 2012-07-20 16:37:26 -05:00
William Pitcock d45b87bc56 getopt_long: use stdinc.h 2012-07-20 16:35:53 -05:00
William Pitcock 61a2a6c46f tests: conditionally run optional tests if --enable-strict is not used (closes #25) 2012-07-20 16:33:48 -05:00
William Pitcock 3035b0ba6b main: add support for HAVE_STRICT_MODE compiler define (and define it in the build system) (issue #25) 2012-07-20 16:29:57 -05:00
William Pitcock 4c82d02e99 tests: ensure all core tests are posixly-correct (issue #25) 2012-07-20 16:28:50 -05:00
William Pitcock c928e7e429 main: clean up license text in --version 2012-07-20 14:31:58 -05:00
William Pitcock 3b02288c7e COPYING: more friendly warranty disclaimer text 2012-07-20 14:30:40 -05:00
William Pitcock 1975a2981e everything: more friendly warranty disclaimer 2012-07-20 14:29:58 -05:00
William Pitcock 9d7672fc9a main: use our own getopt_long() implementation always, as pkg_getopt_long(). (closes #24) 2012-07-20 13:46:14 -05:00
William Pitcock 9e30e2a7bb tests: add explicit tests for issue #24 2012-07-20 13:36:01 -05:00
William Pitcock 3d0f67a7b3 pkg: use relative paths on windows (issue #17) 2012-07-02 03:41:08 +00:00
William Pitcock 4017810b7a update .gitignore
Update .gitignore to ignore .dep files and windows intermediate build
files (issue #17)
2012-07-02 03:40:27 +00:00
William Pitcock 15c24b6bf6 testsuite: more tests for --max-version and --exact-version (closes #20) 2012-07-01 22:03:07 -05:00
William Pitcock b8645fbef2 main: fix regression caused by copy-and-paste (issue #20) 2012-07-01 22:02:45 -05:00
William Pitcock 4499d272dd main: implement use of pkg_dependency_parse_str() for --atleast-version and friends (issue #20) 2012-07-01 21:57:49 -05:00
William Pitcock 4edd04b16b dependency: add pkg_dependency_parse_str() for breaking out a dependency list that has already been substituted. 2012-07-01 21:44:30 -05:00
William Pitcock fc923cb97a testsuite: add tests for issue #20 behaviour 2012-07-01 21:28:38 -05:00
William Pitcock f3d2a5f0e7 testsuite: add tests for --atleast-version (issue #20) 2012-07-01 21:24:53 -05:00
William Pitcock 8a9971ec1f main: finish --errors-to-stdout support 2012-07-01 21:21:31 -05:00
William Pitcock 2d2ae06809 main: emulate --errors-to-stdout 2012-06-30 16:51:31 -05:00
William Pitcock 1bd5355099 README: add release tarball URL since people seem to have problems finding it 2012-06-06 16:25:29 -05:00
William Pitcock 495f586d03 stdinc: remove alloca.h (issue #19) 2012-05-12 17:54:47 -05:00
William Pitcock dc717bae2a Update README with some explanation as to why distros might want to use this. 2012-05-12 15:47:20 -05:00
William Pitcock 3f7ac22e24 pkgconf 0.8 2012-05-12 02:49:18 -05:00
William Pitcock 524133cd91 pkg: add support for relative path finding on windows (issue #17) 2012-05-12 02:26:55 -05:00
William Pitcock 6519f6abdc pkg: add get_pkgconfig_path() for separating out the fallback path logic 2012-05-12 02:21:11 -05:00
William Pitcock 52dee220ee pkg: plug memory leak in conflicts code 2012-05-11 21:20:00 -05:00
William Pitcock db9f626790 pkg: if pkg_traverse() fails, abort walking the graph. 2012-05-11 21:01:42 -05:00
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