libpkgconf


Log

Author Commit Date CI Message
William Pitcock 0c690dc8 2016-12-30T12:39:10 libpkgconf: fragment: fix over-optimization of cflags/linker flags in edge cases involving non-standard options
William Pitcock 92f566ff 2016-12-30T11:39:45 libpkgconf: path: check both device node and inode for dedup. pointed out by @plicease
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 bad0da0c 2016-12-30T11:01:15 libpkgconf: path: filter out duplicate path entries by inode if possible (closes #102)
William Pitcock aa041b41 2016-12-30T10:44:01 libpkgconf: path: add naive path list filtering function
William Pitcock 135da144 2016-12-30T09:57:01 libpkgconf: iter: track list lengths
William Pitcock ad1e414d 2016-12-30T02:47:42 libpkgconf: fragment: handle -idirafter in the same way as -isystem (https://bugs.freedesktop.org/show_bug.cgi?id=97337)
William Pitcock c916e3a4 2016-12-30T02:39:18 libpkgconf: client: filter all of the path-related GCC environment variables listed in the GCC manual (not just the ones in pkg-config)
William Pitcock 1ece862e 2016-12-30T02:35:36 libpkgconf: client: some toolchains have C_INCLUDE_PATH and CPLUS_INCLUDE_PATH, treat them as PKG_CONFIG_SYSTEM_INCLUDE_PATH.
William Pitcock 6ef4a853 2016-12-21T20:06:17 libpkgconf: migrate pkgconf client fragment_is_system_dir() to a libpkgconf API
William Pitcock cd0160a4 2016-12-21T19:54:32 libpkgconf: handle PKG_CONFIG_SYSTEM_INCLUDE_PATH and PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variables at client init time
William Pitcock f6b074f2 2016-12-21T19:50:05 libpkgconf: path: make pkgconf_path_match_list() take a const list argument
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 21a6d6cd 2016-12-15T22:33:22 libpkgconf: client: set the error handler to default error handler if NULL was provided for the error handler
William Pitcock 568e5bfd 2016-12-15T22:33:01 libpkgconf: client: move pkgconf_error() and pkgconf_default_error_handler() here
William Pitcock c7e505fe 2016-12-15T18:32:43 libpkgconf: fragment: split out per-fragment length calculation and use it for all render functions (buffer overrun hardening)
William Pitcock 63b3989f 2016-12-15T18:27:57 libpkgconf: document fragment module
William Pitcock 82fa8b21 2016-12-13T12:14:08 libpkgconf: separate config.h from the actual API headers
William Pitcock 48717195 2016-12-13T12:06:24 libpkgconf: client: fix doc strings up
Graham Ollis fa876089 2016-12-13T13:03:59 pass client and user data to error handler (#100)
William Pitcock e6c49153 2016-12-11T17:28:27 libpkgconf: document tuple module
William Pitcock 4967c85d 2016-12-10T23:27:21 libpkgconf: document queue module
William Pitcock 4cc0d017 2016-12-10T20:14:42 libpkgconf: document path module
William Pitcock af503f21 2016-12-10T19:57:26 libpkgconf: document dependency module
William Pitcock 9efa991d 2016-12-10T19:40:51 libpkgconf: update cache docs to new format
William Pitcock 74fbf4e5 2016-12-10T19:28:34 libpkgconf: document audit module
William Pitcock 828c2902 2016-12-10T18:56:09 libpkgconf: document argvsplit module
William Pitcock 91fbf683 2016-12-10T18:35:17 libpkgconf: document client module
William Pitcock b0c821af 2016-12-10T16:20:40 bsdstubs: nothing seems to use strtok_r() anymore, kill it
William Pitcock 8213d910 2016-12-10T16:19:40 libpkgconf: migrate to using the pkgconf_ namespaced strlcat/strlcpy symbols
William Pitcock bdaa2623 2016-12-10T16:16:37 bsdstubs: clean up the way this works by namespacing it
William Pitcock eab112fb 2016-12-10T16:06:18 pkg: cleanups
William Pitcock 0ae2d8e5 2016-12-10T15:47:21 fragment: fix off-by-one error in pkgconf_fragment_render_len()
William Pitcock d6d7ff77 2016-12-09T23:07:15 main: use pkgconf_fragment_render() to render fragment lists instead of custom stuff
William Pitcock 2b5d763e 2016-12-09T22:45:22 main: use pkgconf_fragment_filter() instead of crazy stuff
William Pitcock 0232ee52 2016-12-09T22:18:59 libpkgconf: fragment: add pkgconf_fragment_filter() to selectively copy a fragment list using a filter function
William Pitcock 0baecbd1 2016-12-09T22:06:42 libpkgconf: fragment: mark fragment objects const in several internal functions
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 6e4fd027 2016-12-09T21:37:36 main: switch to pkgconf_client_set_sysroot_dir() and remove the last vestige of PKGCONF_PKG_PKGF_MUNGE_SYSROOT_PREFIX
William Pitcock a9022030 2016-12-09T21:36:59 libpkgconf: fragment: simplify sysroot handling by using pkgconf_client_t.sysroot_dir presence
William Pitcock 792cd7c8 2016-12-09T21:32:55 libpkgconf: tuple: handle sysroot without the need of PKGCONF_PKG_PKGF_MUNGE_SYSROOT_PREFIX
William Pitcock 38e95985 2016-12-09T21:08:53 libpkgconf: client: initialize sysroot and buildroot dirs to reasonable defaults
William Pitcock 92e9b783 2016-12-09T20:58:15 libpkgconf: tuple: when calling pkgconf_tuple_add() on a collection that already has a tuple entry for 'key', replace it instead of adding a new entry
William Pitcock f7b78539 2016-12-09T20:50:33 libpkgconf: tuple: add pkgconf_tuple_free_entry() to free a specific tuple node
William Pitcock 02ec215e 2016-12-09T20:41:39 client: introduce pkgconf_client_t.buildroot_dir and pkgconf_client_t.sysroot_dir members This adds buildroot and sysroot dir members to the pkgconf client structure, which will allow us to replace the suboptimal PKGCONF_PKG_PKGF_MUNGE_SYSROOT_PREFIX code.
William Pitcock 3ba3aae7 2016-12-02T00:48:26 libpkgconf: client: clean up cache
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 e7f48465 2016-12-02T00:04:43 libpkgconf: path: add cleanup functions
William Pitcock b7984a79 2016-12-01T15:31:09 libpkgconf: commit missing client.c
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 ce165646 2016-10-25T13:57:42 fragment: skip empty tokens (closes #99) Due to the way that tokens are merged together for arguments which require explicit whitespace, an empty token could result in a fragment like: {.type = 'I', .data = '/usr/include '} Such a fragment would be treated differently than: {.type = 'I', .data = '/usr/include'} This difference causes the compiler to include a system include path as part of the additional includes, thus breaking things like include path shadowing, resulting in random build failures. As such, we skip empty tokens from the tokenizer as they do not have any relevance anyway.
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 d72ece6a 2016-08-26T23:40:15 dependency: add pkgconf_dependency_add for programmatically adding a dependency object
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 b835d74d 2016-08-24T18:51:02 fragment: try to apply munging to all path-only fragments (#94)
William Pitcock f6c96fc3 2016-08-24T18:39:42 fragment: add pkgconf_fragment_should_munge() to simplify the munging logic a bit (#94)
William Pitcock 45d422c4 2016-07-10T15:20:31 libpkgconf: implement PKG_CONFIG_LOG style auditing (closes #88)
William Pitcock 41e0a658 2016-07-10T15:03:58 audit: add actual audit log I/O functions (ref #88)
William Pitcock f44f8399 2016-05-20T02:06:46 queue: namespace the virtual 'world' package as something that could never actually exist
William Pitcock f72e1c6d 2016-05-19T17:05:04 fragment: genericize the fragment merge determination and add support for -isystem (closes #87)
William Pitcock 20d448ab 2016-05-19T16:51:47 libpkgconf: add PKGCONF_ARRAY_SIZE() macro
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 46b772af 2015-12-07T11:04:31 More casting is needed Found on NetBSD by Thomas Klausner <wiz@NetBSD.org>
Baptiste Daroussin cb83dab4 2015-12-02T14:59:51 More casting for ctype
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 abbd6b06 2015-09-27T16:07:06 Revert "Merge pull request #81 from dankegel/quotefest" This reverts commit 42551f6364ab0e024e68ed03ef39c9688140fc88, reversing changes made to 938bb9e694c6d377bad29a0fa6856d6ce98c8033.
Dan Kegel d0bbc686 2015-09-10T16:49:52 Add tests for libraries quoted with double quotes, make them pass
Dan Kegel 41cb57e9 2015-09-10T16:35:06 Add unit test for argvsplit
William Pitcock b9048646 2015-09-06T12:01:12 libpkgconf: do something better than error_msgout for error logging
William Pitcock 2f4f68fb 2015-09-06T11:50:29 libpkgconf: dependency: remove some dead debug code
William Pitcock 06a45f1b 2015-09-06T11:45:00 libpkgconf: clean up PKG_ERRF and PKGF_ defines
William Pitcock 50cf8db0 2015-09-06T11:39:55 libpkgconf: clean up PKG_MODULE_SEPARATOR() and PKG_OPERATOR_CHAR() macros
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 4410eb2c 2015-09-06T10:51:34 libpkgconf: pkg_queue becomes pkgconf_queue