Log

Author Commit Date CI Message
Ariadne Conill 873e51aa 2023-01-22T04:56:44 pkgconf 1.9.4.
Ariadne Conill f7305434 2023-01-22T04:56:06 libpkgconf: bump API version to 10904
Ariadne Conill 93edd215 2023-01-22T04:52:25 update NEWS for 1.9.4
Ariadne Conill 49ab0b2a 2023-01-21T21:43:23 tests: fixup!
Ariadne Conill 98b33b48 2023-01-21T21:43:08 cli: use flattened solution for almost all user-facing queries
Ariadne Conill d9e507cc 2023-01-21T21:31:38 pkg: do not do serial checks for flattened solutions, as they are already flattened
Ariadne Conill 90b65c86 2023-01-21T21:31:16 main: use flattened solution for cflags/libs only
Ariadne Conill 1ce000f3 2023-01-21T20:59:22 Revert "pkg.m4: PKG_CHECK_MODULES provides modversion" This reverts commit 8d9d3de6eb8f0ffdbb859fce79cff89038e513c4.
Ariadne Conill 99bc93fb 2023-01-21T20:45:29 use SIZE_FMT_SPECIFIER everywhere
Ariadne Conill e2a12fd4 2023-01-21T20:39:53 main: reset solver when solving for library groups
Ariadne Conill 8f12d36b 2023-01-21T20:22:03 tests: fixup trailing whitespace in expected results
Ariadne Conill b106de0c 2023-01-21T20:21:26 cli: add whitespace between cflags and libs fragments
Ariadne Conill 648a2249 2023-01-21T20:17:33 fragment: render: only include trailing space if there is another fragment
Ariadne Conill dd741e72 2023-01-21T20:12:02 README: fix tests option to reflect meson changes
Timo Röhling 506ebab7 2022-09-30T15:33:47 Ignore whitespace indentation Fixes #265
Ariadne Conill be0d8119 2023-01-21T19:51:24 argvsplit: fix some quoting rules to match POSIX
Ariadne Conill 6a5b5574 2023-01-21T19:25:46 tests: fix test regressions caused by tilde changes
Doug Freed 131619ae 2022-10-12T21:49:22 doc: update libpkgconf-pkg docs to match
Doug Freed 08db74c4 2022-10-12T21:43:52 pkg: make pkgconf_compare_version consistent The code taken from rpmvercmp in pkg-config returns -1 if a is less than b, 0 if a is equal to b, and 1 if a is greater than b. This matches the expectations of the comparison operators that use this function. However, the tilde handling, the NULL handling, and the docstring all do the opposite. This fixes the tilde handling, the NULL handling, and the docstring to match the behavior of the rpmvercmp code and the expectations of the comparison operators.
Doug Freed eb5c6b49 2022-10-12T22:03:42 Fix Mingw GH CI broken by 179a056
Ziemowit Łąski 1c3f2461 2022-11-22T12:29:09 pkgconf: Handle spaces correctly when expanding variables Given the following .pc fragment: includedir=/mingw64/include Cflags: -I${includedir} -I${includedir}/taglib Should includedir be assigned the value 'C:/Program\ Files/Git/mingw64/include', the expansion of ${includedir} will be chopped off after the first space: Cflags: -IC:/Program\ With this patch, the expansion is corrected: Cflags: -IC:/Program\ Files/Git/mingw64/include -IC:/Program\ Files/Git/mingw64/include/taglib Create spaces-in-paths.pc
wi24rd 27287f32 2022-12-30T17:52:10 Update sum value of types of property.
Eli Schwartz 8f233383 2022-08-30T12:43:41 meson: remove useless command that isn't needed The tests/*.sh are executable in the source tree, and don't need to be chmodded after being copied to the build tree.
Ariadne Conill 2f51733e 2023-01-20T22:11:00 tests: add regression test for billion-laughs
Ariadne Conill 628b2b2b 2023-01-20T22:07:03 tuple: test for, and stop string processing, on truncation otherwise a buffer overflow occurs. this has been a bug in pkgconf since the beginning, it seems. instead of disclosing the bug correctly, a "hotshot" developer decided to blog about it instead. sigh. https://nullprogram.com/blog/2023/01/18/
Ariadne Conill 3e481581 2023-01-20T22:01:38 add billion-laughs test fixture
Ariadne Conill 0226cdda 2022-08-20T13:27:45 Merge pull request 'meson: use a feature option for tests instead of boolean' (#244) from dcbaker/pkgconf:tests-feature into master Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/244
Dylan Baker fa803c7e 2022-08-17T11:05:55 meson: use a feature option for tests instead of boolean This allows tests to be autodetected gracefully, which is particularly convenient for kyua and atf_sh which are fairly painful to build and install by hand. Those who want to ensure tests are enabled or disabled may pass `-Dtests=enabled` or `-Dtests=disabled` respectively. This does require a modest bump in the required meson version to 0.49, which was released at the end of 2018, so roughly 4 years ago.
Ariadne Conill bddf1641 2022-08-16T20:41:10 bomtool: fix ASan issues
Ariadne Conill 8754bdfe 2022-08-16T19:50:26 pkgconf 1.9.3.
Ariadne Conill 6a66b312 2022-08-16T19:49:42 libpkgconf: increase API level to 10903
Ariadne Conill 4c38d3f6 2022-08-16T19:49:02 update NEWS for pkgconf 1.9.3
Ariadne Conill b7593aea 2022-08-16T19:48:44 build: automake: use top_srcdir as needed
Ariadne Conill dbd78db6 2022-08-16T19:42:13 tests: add regression test for github #259
Ariadne Conill 80bc5ac3 2022-08-16T19:38:40 tuple: if a global tuple is explicitly defined with --define-variable, prefer it fixes github #259
Ariadne Conill 5044491f 2022-08-16T19:27:35 queue: add function to free a compiled solution
Ariadne Conill c6d14e6f 2022-08-16T18:53:29 cli: renderer-msvc: remove pointless buf_remaining store
Ariadne Conill ced9bee6 2022-08-16T18:51:11 pkg: remove dead store in pkgconf_compare_version
Ariadne Conill 2c895411 2022-08-16T18:50:35 bomtool: return EXIT_FAILURE if solver fails to solve
Ariadne Conill 5500a151 2022-08-16T18:46:43 fragment: avoid trying to merge fragments where data == NULL
Ariadne Conill 74faf8d0 2022-08-16T18:38:46 queue: do not enqueue unsolved nodes as part of a solution
Ariadne Conill c918b6e2 2022-08-13T06:44:40 bomtool: enable PKGCONF_PKG_PKGF_SEARCH_PRIVATE to collect dev dependencies
Ariadne Conill 12f3a309 2022-08-13T06:44:19 bomtool: write dependency relationships in both directions
Ariadne Conill 01c1d9f4 2022-08-12T13:07:58 bomtool: remove empty creation date field
Ariadne Conill 9e8052b6 2022-08-12T12:57:53 bomtool: add enough to generate a basic SBOM
Ariadne Conill 696124b6 2022-08-12T12:36:21 pkg: add support for parsing the URL from pc files
Ariadne Conill 79327b89 2022-08-12T12:07:56 add bomtool skeleton
Ariadne Conill f3021a82 2022-08-12T11:59:11 libpkgconf.pc: add license
Ariadne Conill 194ad3e6 2022-08-11T16:01:30 man: pc.5: document copyright/maintainer fields
Ariadne Conill aa99ddf7 2022-08-11T15:52:33 pkg: add Copyright and Maintainer fields These are helpful pieces of information for BOM documents generated by pkgconf.
Ariadne Conill 68b5cab7 2022-08-11T15:06:08 cli: remove redundant SEARCH_PRIVATE block It turns out there was already a check for PKG_CFLAGS being requested, but the check was busted because PKG_CFLAGS is a combined-or of all of the various --cflags flags. Check that PKG_CFLAGS bits are set at all on want_flags instead.
Ariadne Conill 78f00da1 2022-08-11T13:49:44 Merge pull request 'cli: use Requires.private when cflags are requested' (#243) from psykose/pkgconf:cflags-i into master Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/243
psykose 74600558 2022-08-11T13:47:32 cli: use Requires.private when cflags are requested
Ariadne Conill 28b5d57b 2022-08-08T10:25:24 pkg: free SPDX license tags when a package is destroyed
Ariadne Conill af9b26c1 2022-08-08T10:03:15 pkgconf 1.9.2.
Ariadne Conill c0d2d653 2022-08-08T10:01:57 NEWS for pkgconf 1.9.2.
Ariadne Conill 69a3d458 2022-08-08T09:59:50 libpkgconf: revise API revision to 10902
Ariadne Conill 7e9aa7e1 2022-08-08T09:56:28 pkg: do not break cycles across dependency lists
Ariadne Conill 4e449bd4 2022-08-08T09:42:01 cli: do not search requires.private for --libs unless --static
Ariadne Conill 69f630aa 2022-08-08T09:34:45 pkg: only advance serial if we are actually traversing from a root
Ariadne Conill 760d1eea 2022-08-08T09:27:39 cli: use pkgconf_queue_solve instead of pkgconf_queue_apply
Ariadne Conill 87645787 2022-08-08T09:26:22 tests: ignore stdout on regress:missing test
Ariadne Conill 5b10a85a 2022-08-08T09:08:27 queue: add pkgconf_queue_solve API
Ariadne Conill 884a8858 2022-08-08T08:56:53 tests: add testcase for requires.private debounce
Ariadne Conill 4e8f376c 2022-08-08T05:26:00 tests: add fixtures for github #258
Ariadne Conill 79d25f97 2022-08-08T00:58:39 queue: ensure private deps get flattened when --static is requested
Ariadne Conill 03ba00d3 2022-08-08T00:51:32 Merge pull request 'bsdstubs: include errno.h' (#242) from dcbaker/pkgconf:bsdstubs-errno into master Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/242
Ariadne Conill 1a66d963 2022-08-08T00:44:23 pkgconf 1.9.1.
Ariadne Conill 8271ea19 2022-08-08T00:43:20 NEWS: update for pkgconf 1.9.1.
Ariadne Conill b29f9d87 2022-08-08T00:40:52 cli: do not flatten or traverse the graph when asking for module-specific values
Ariadne Conill 94b3f118 2022-08-08T00:37:07 tests: add regression test to catch --modversion regression introduced by new solver
Dylan Baker 7976daab 2022-08-06T22:30:25 bsdstubs: include errno.h Needed for ENOMEM, and fixes the build on MacOS.
Ariadne Conill d8d669f6 2022-08-07T04:47:04 pkgconf 1.9.0.
Ariadne Conill 23556ff8 2022-08-07T04:46:35 Bump libpkgconf SOVERSION for 1.9.0 changes.
Ariadne Conill da9b2cfb 2022-08-07T04:45:33 NEWS: note the SPDX license branch has been merged
Ariadne Conill b2579a66 2022-08-07T04:42:55 man: pc(5): document the License field
Ariadne Conill 666b5202 2022-08-07T04:40:31 tests: add tests for SPDX license assertions
Ariadne Conill d5f9bdae 2022-08-07T04:36:45 cli: add support for dumping SPDX expressions from modules
Ariadne Conill 0e05308f 2022-08-07T04:35:29 pkg: add SPDX license assertion to pkgconf builtin
Ariadne Conill 1389aa05 2022-08-07T04:21:22 pkg: add pkgconf_pkg_t.license field The pkgconf_pkg_t.license field maps to the new License keyword, and should be an SPDX license expression.
Ariadne Conill dce34e9a 2022-08-07T04:13:43 Update NEWS for pending 1.9.0 release
Ariadne Conill 9aa0006c 2022-08-07T01:35:12 tests: improve circular reference tests to make use of the circular reference diagnostic
Ariadne Conill 7edfdbff 2022-08-07T01:29:21 pkg: upgrade circular reference trace to a warning
Ariadne Conill 662668d0 2022-08-07T01:09:07 pkg: add trace log when breaking a circular reference
Eli Schwartz 59a56dfa 2022-07-03T11:13:33 trivial sync of pkg.m4 from freedesktop This contains 3 changes, mostly inconsequential: - fix some spelling issues in the comments https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/eb866ade77d933c3237a5c9e2114ca65c3baa537 - bump the serial number; upstream rationale is very :shrug: but it is what it is: > There aren't any significant changes here, but this will cause aclocal > to get the latest version. https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/677e9248753d31c4b7ceed7805ccdc3fc508e980 - make the status log for PKG_CHECK_MODULES say "checking for <mod>..." instead of "checking for <VAR>..." https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/3b96e7434c6d3b86443782efde053fb2ae2f7fba There are additional whitespace-only changes that could be synced, and were explicitly synced in commit 95b683c864f89ba5d2f02b0bbf8b07e0ffcecbce but then undone in commit 360a818f2f2741a276f3acae6022b3d045e62f1f so rather than fighting over it, are simply ignored. Diffing against the freedesktop version of pkg.m4 will therefore show additional inconsistencies.
Ariadne Conill 56881f64 2022-08-07T00:38:38 cli: resolve uninitialized pointer warnings reported by GCC 12
Ariadne Conill b3107281 2022-08-04T23:36:15 Merge pull request 'Do a better job cleaning up memory' (#239) from dcbaker/pkgconf:free-memory into master Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/239
Dylan Baker 179a0560 2022-07-27T14:22:54 ci: run meson test with the address sanitizer enabled Set the ASAN_OPTION so that the exitcode is not 1, this avoids asan returning the exitcode that the tests already expect from a normal pkgconf error
Dylan Baker 1cfa2d1e 2022-08-04T15:16:44 pkg: prevent circular ownership Otherwise in a case where A references B, and B references A, A and B will have mutual ownership of each other and prevent each other from being free'd.
Dylan Baker 301d8fa0 2022-08-04T12:22:49 queue: free unused dependencies when flattening
Dylan Baker 34b11020 2022-08-04T11:53:02 dependency: zero list after freeing
Dylan Baker e71a5a33 2022-08-04T11:52:26 dependency: add debug information for dependency refcounting
Dylan Baker 49342057 2022-08-04T11:50:50 pkg: add name of pkg being refed/unrefed to debug outpu
Dylan Baker a46ce367 2022-08-03T16:40:04 queue: when collecting dependents don't iterate private twice Currently, the private field is iterated collecting private deps and normal deps. It should only be iterated when collecting private deps.
Dylan Baker 4493a322 2022-08-03T16:37:04 main: do cleanup when checking required version
Dylan Baker a391f9b6 2022-08-03T16:32:35 pkg: use goto cleanup idiom
Dylan Baker 38103134 2022-08-03T16:30:59 main: goto cleanup in validate case too This fixes leaks in two tests
Dylan Baker 17173802 2022-08-03T16:27:42 cache: clear the cache with pkgconf_cache_remove Which results in more code re-use.
Dylan Baker e4d1c8ff 2022-08-03T16:22:14 queue: when flattening do nothing if the flattened deps are empty
Dylan Baker 66090011 2022-08-03T16:08:00 queue: unref dependency in all cases