libpkgconf/pkg.c


Log

Author Commit Date CI Message
William Pitcock acac1f8e 2017-03-24T00:59:53 libpkgconf: pkg: show iteration depth when traversing
William Pitcock 81011ba5 2017-02-27T09:54:02 main: implement --short-errors (#115)
William Pitcock 794443a9 2017-02-25T16:04:55 dependency: break API to add tracepoints to dependency list building
William Pitcock e0c9569f 2017-02-25T15:53:50 fragment: add tracepoints
William Pitcock b0c36cd1 2017-02-04T20:35:49 libpkgconf: pkg: add some trace points
William Pitcock 820ad83e 2017-02-04T19:03:33 libpkgconf: pkg: add variable whitespace warnings back, using pkgconf_warn().
William Pitcock 1aa1a433 2017-01-26T13:38:57 Revert "libpkgconf: pkg: warn when encountering trailing whitespace" This reverts commit 2fa4fd09d02905e07397c2617bb1be735f6cd96b.
William Pitcock 2fa4fd09 2017-01-26T13:32:07 libpkgconf: pkg: warn when encountering trailing whitespace
William Pitcock ef1503b7 2017-01-26T13:10:52 libpkgconf: strip trailing whitespace
William Pitcock e87595b3 2017-01-23T12:42:13 libpkgconf: use a better check instead of stat() for pkg-config file iteration, avoiding a TOCTOU race condition identified by coverity
William Pitcock 0927ecf1 2017-01-22T23:29:59 Revert "Actually fix the regression introduced in 7b39c38" This reverts commit 5e5c418837b569196cc17eb999b3c11a9cc0099d.
William Pitcock 0c01a812 2017-01-22T23:26:01 libpkgconf: split virtual/static package state (this is API/ABI safe, static packages are always treated as virtual when it comes to mutation)
William Pitcock 9ece7cd4 2017-01-22T23:09:38 libpkgconf: move sys/stat.h inclusion out of stdinc.h to the only other consumer of sys/stat.h
William Pitcock e5f3dac6 2017-01-22T23:07:39 libpkgconf: pkg: handle error value from stat(2).
Igor Gnatenko 5db87c96 2017-01-22T20:31:34 remove dead assignments (#109) * remove dead assignments None of them are used. Signed-off-by: Igor Gnatenko <ignatenko@redhat.com> * The address of an object "&pkgconf_pkg_provides_vermatch_rules[pkgdep->compare]" is never null Signed-off-by: Igor Gnatenko <ignatenko@redhat.com> * Overrunning array pkgconf_pkg_comparator_names at element index 7 Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
Baptiste Daroussin 5e5c4188 2017-01-22T11:25:05 Actually fix the regression introduced in 7b39c38
Baptiste Daroussin 17be554a 2017-01-22T11:23:24 Revert "Fix regression introduced in 7b39c38" This reverts commit 7d89f659ffa45d381c3c4ee03c55f74635042829.
Baptiste Daroussin 7d89f659 2017-01-22T10:44:09 Fix regression introduced in 7b39c38 now pkgconf --variable=pc_path pkg-config works
William Pitcock 7237b811 2017-01-20T00:58:48 add support for making paths relocatable (closes #103)
William Pitcock 13cf74c7 2017-01-19T18:23:25 libpkgconf: kill flags from top-level fragment API (ref #105)
William Pitcock 7b39c384 2017-01-19T18:17:29 libpkgconf: pkg: clean up use of flags variable (ref #105)
William Pitcock 127fd037 2017-01-19T17:35:35 libpkgconf: pkg: uncouple resolver flags from pkgconf_pkg_dir_list_build(). (ref #105)
William Pitcock b428eeaa 2017-01-18T11:29:24 libpkgconf: remove legacy check to ensure pkgconf_pkg_dir_list_build() is only called once. this is not necessary anymore because: - we do path entry deduplication - it is possible that we want to prime the dir list with some user-specified paths prior to building it
William Pitcock 23050315 2016-12-30T11:13:04 libpkgconf: path: make the duplicate filtering opt-in. some path lists should not be deduped (compiler path lists, for example)
William Pitcock 61c750fd 2016-12-15T23:36:59 libpkgconf: pkg: cleanup and document pkg module
William Pitcock 32c8c73d 2016-12-15T22:57:15 libpkgconf: pkg: pkgconf_pkg_find_in_registry_key() should actually be private
William Pitcock 568e5bfd 2016-12-15T22:33:01 libpkgconf: client: move pkgconf_error() and pkgconf_default_error_handler() here
William Pitcock 82fa8b21 2016-12-13T12:14:08 libpkgconf: separate config.h from the actual API headers
Graham Ollis fa876089 2016-12-13T13:03:59 pass client and user data to error handler (#100)
William Pitcock 8213d910 2016-12-10T16:19:40 libpkgconf: migrate to using the pkgconf_ namespaced strlcat/strlcpy symbols
William Pitcock eab112fb 2016-12-10T16:06:18 pkg: cleanups
William Pitcock 062f0fd3 2016-12-09T21:40:19 libpkgconf: pkg: pkgconf_pkg_new_from_file() and children do not need the resolver flags anymore, so remove them
William Pitcock a9022030 2016-12-09T21:36:59 libpkgconf: fragment: simplify sysroot handling by using pkgconf_client_t.sysroot_dir presence
William Pitcock 011d8c77 2016-12-02T00:34:48 libpkgconf: audit: migrate to pkgconf_client_t
William Pitcock c05ecdfc 2016-12-02T00:29:33 libpkgconf: migrate cache to pkgconf_client_t which unfortunately requires it to be non-const :(
William Pitcock a300787c 2016-12-01T15:17:23 libpkgconf: do not implicitly build the dir list, instead explicitly do it
William Pitcock ad731d19 2016-12-01T15:11:37 libpkgconf: make pkgconf_pkg_dir_list_build() public
William Pitcock 434c465c 2016-12-01T15:09:54 libpkgconf: migrate pkgconf_error() to use client objects
William Pitcock 8740c5cd 2016-12-01T15:05:03 libpkgconf: begin removing global state from libpkgconf library by introducing a "client" object which holds the state
William Pitcock 4bb46e20 2016-11-30T22:32:17 libpkgconf: add path matching and environment building functions
William Pitcock f4da1082 2016-11-30T22:15:13 libpkgconf: refactor some path operations
William Pitcock 6484dcb0 2016-09-16T09:59:41 pkg: pkgconf_pkg_free(): be sure to free the Provides list
William Pitcock b900e046 2016-09-10T01:51:19 pkg: add support for PKGCONF_CMP_NOT_EQUAL Provides rules, completing support of Provides rules (closes #95)
William Pitcock 4fcda862 2016-09-09T14:34:38 pkg: make fuzzy Provides matching for PKG_CMP_NOT_EQUAL ops more correct
William Pitcock 892a03cd 2016-09-09T01:04:26 pkg: fill in a lot of the fuzzy matching stuff (but some of it may be wrong, needs to be looked at)
William Pitcock 7c0264ac 2016-09-09T00:17:46 pkg: implement rudementary support for fuzzy Provides matches
William Pitcock c2c7e748 2016-09-08T23:54:57 pkg: add a more flexible framework for multi-level compare required for fuzzy Provides rules.
William Pitcock 9783181c 2016-09-08T23:23:15 pkg: make pkgconf_vercmp_res_func_t more generic, allowing it to be used for Provides rules.
William Pitcock d304d9cb 2016-09-08T22:10:24 pkg: add support for 'simple' Provides rule entries (#95)
William Pitcock bbe6dcc0 2016-08-27T09:48:53 pkg: make pkgconf_scan_all() API more flexible to allow it to scan until it finds a qualifying pkgconf_pkg_t
William Pitcock 5ba46130 2016-08-26T23:43:20 pkg: add anchor Provides entry once the .pc file is parsed, instead of faking it in the tool
William Pitcock f9101659 2016-08-26T12:14:32 pkg: add support for parsing Provides: entries
William Pitcock d5d194f1 2016-08-26T10:54:37 pkg: clean up dependency comparison code
William Pitcock 4960242a 2016-08-26T10:35:22 pkg: make some compile-time defined tables const
William Pitcock be4a002f 2016-08-26T01:11:50 pkg: use bsearch(3) instead of a hardcoded tree of strcmp logic
William Pitcock 9e415ea1 2016-08-26T00:26:30 libpkgconf: improve API to support any number of builtin packages
William Pitcock 45d422c4 2016-07-10T15:20:31 libpkgconf: implement PKG_CONFIG_LOG style auditing (closes #88)
William Pitcock a892af74 2016-01-21T11:08:36 pkg: tolerate NULL in pkgconf_compare_version() (closes #85)
Baptiste Daroussin 1fe91b91 2015-12-08T00:02:14 Do not parse the global variables This fixes an incompatibility with pkg-confing 0.29 Found by Thomas Klausner <wiz@NetBSD.org> when building gupnp-igd-0.2.3 with introspection support
Baptiste Daroussin 7898b829 2015-12-02T12:50:04 Correctly cast ctypes function input to unsigned int This fixes issues found by building on NetBSD which is more pedantic about thoses cases. Reported by: Thomas Klausner (wiz at NetBSD)
William Pitcock b9048646 2015-09-06T12:01:12 libpkgconf: do something better than error_msgout for error logging
William Pitcock 06a45f1b 2015-09-06T11:45:00 libpkgconf: clean up PKG_ERRF and PKGF_ defines
William Pitcock ec5cc3f0 2015-09-06T11:37:20 libpkgconf: PKG_PROPF namespace becomes PKGCONF_PKG_PROPF.
William Pitcock dd86ba43 2015-09-06T11:34:09 libpkgconf: PKG_ comparators become PKGCONF_CMP_ namespace
William Pitcock 571d9c75 2015-09-06T11:29:56 libpkgconf: PKG_BUFSIZE becomes PKGCONF_BUFSIZE, remove unused PKG_MIN/PKG_MAX.
William Pitcock ca1b0265 2015-09-06T11:20:48 libpkgconf: untangle remaining pkg_ functions related to pkgconf_pkg_t
William Pitcock 0d145ef8 2015-09-06T11:00:46 libpkgconf: pkg_compare_version() becomes pkgconf_compare_version(), same for pkg_scan_all()
William Pitcock 66247fae 2015-09-06T10:57:26 libpkgconf: pkg_comparator_t becomes pkgconf_pkg_comparator_t (and so on)
William Pitcock 342950a5 2015-09-06T10:50:23 libpkgconf: pkg_cache becomes pkgconf_cache
William Pitcock b17f2640 2015-09-06T10:48:24 libpkgconf: move some utility funcs into pkgconf_ namespace
William Pitcock 61d5fc72 2015-09-06T10:44:10 libpkgconf: move pkg_fragment to pkgconf_fragment namespace
William Pitcock 4c71b25d 2015-09-06T10:41:40 libpkgconf: move pkg_tuple to pkgconf_tuple namespace
William Pitcock 1ee18d0e 2015-09-06T10:38:30 libpkgconf: move pkg_dependency to pkgconf_dependency namespace
William Pitcock cc2dcc1f 2015-09-06T10:31:21 libpkgconf: move pkg_node and pkg_list to pkgconf_node and pkgconf_list namespaces
William Pitcock a706b3dc 2015-09-06T09:35:08 initial libtoolization for libpkgconf