libpkgconf


Log

Author Commit Date CI Message
William Pitcock 7237b811 2017-01-20T00:58:48 add support for making paths relocatable (closes #103)
William Pitcock ced4f003 2017-01-19T19:16:00 libpkgconf: client: add pkgconf_client_[get|set]_prefix_varname()
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 0ca6a16c 2017-01-19T17:32:38 libpkgconf: queue: nuke flags parameters (ref #105)
William Pitcock 597c3c7f 2017-01-19T17:22:20 libpkgconf: client: add pkgconf_client_t.flags and a get/set interface for it
William Pitcock 1ee3c12f 2017-01-19T10:43:23 libpkgconf: path: use pkgconf_path_relocate() when matching paths
William Pitcock fa927fd3 2017-01-19T10:36:07 libpkgconf: path: pkgconf_path_relocate(): implement realpath backend
William Pitcock 03158322 2017-01-19T10:31:40 doc: document pkgconf_path_relocate()
William Pitcock 4f94090f 2017-01-18T20:25:19 libpkgconf: fragment: make pkgconf_fragment_filter() accept userdata (closes #106)
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 147fd807 2017-01-13T20:12:38 path: relocate system libdir/includedir if appropriate
William Pitcock cb1dc71e 2017-01-13T20:10:02 fragment: simplify pkgconf_fragment_copy_munged()
William Pitcock 87a5a1f0 2017-01-13T20:08:22 path: when stubbing pkgconf_path_relocate(), suppress unused variables warnings
William Pitcock 27c37105 2017-01-13T20:06:48 fragment: when munging, do a path relocation too
William Pitcock 1369f558 2017-01-13T20:04:38 path: add new pkgconf_path_relocate() API which is a stub when path relocation is not needed
William Pitcock 7f6a1859 2017-01-13T19:55:54 fragment: only munge if sysroot_dir is actually set on cygwin/msys2, it is possible for munging to be enabled for other types of munging (instead of sysroot)
William Pitcock 4ba414f7 2017-01-07T15:04:34 fragment: handle oddball fragments like -framework more accurately
Baptiste Daroussin 3b3f1dc7 2017-01-07T17:57:37 Fix gcc warnings
Baptiste Daroussin 2e855972 2017-01-07T17:52:44 inode cache: ensure we never use an unitilized struct stat
Graham Ollis 9c426b6f 2016-12-31T13:11:08 do not filter non-existent directories if filter is off
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)