|
4a09efe0
|
2018-01-05T11:38:21
|
|
libpkgconf: pkg: fix harmless gcc7 compiler warning
|
|
a42f265c
|
2017-12-21T02:18:50
|
|
libpkgconf: pkg: include system libdir and includedir search paths as variables in builtin packages (closes #165)
|
|
e0bf4009
|
2017-12-12T00:21:21
|
|
libpkgconf: pkg: rename pkgconf_pkg_t.requires to pkgconf_pkg_t.required (closes #154)
C++20 makes requires a keyword, so we need to not use it in headers.
|
|
f7406afc
|
2017-12-05T18:04:42
|
|
libpkgconf: pkg: do not mention PKG_CONFIG_SKIP_CONFLICTS env var when simplified errors are requested (closes #134)
|
|
74d58d1b
|
2017-12-05T17:34:01
|
|
libpkgconf: pkg: cache solutions for already solved dependency graph nodes
in almost all cases, we partially solve the dependency graph multiple times, which
just wastes resources. if we record the solution to a given dependency node, further
iterations can make use of the previous solution without having to solve it again.
this is safe because all provides entries (including virtuals) are knowable prior to
solving the dependency graph the first time.
a nice side effect of this is that all packages are preloaded when querying
information about them (--cflags and related commands).
|
|
44b4b126
|
2017-12-05T17:32:00
|
|
libpkgconf: pkg: record which pkgconf_client_t owns each pkgconf_pkg_t object
|
|
4c0cc292
|
2017-12-05T17:24:57
|
|
libpkgconf: pkg: add refcount debugging
|
|
4589274c
|
2017-10-16T12:56:19
|
|
libpkgconf: start to remove PKGCONF_BUFSIZE allocations from the stack. (closes #149)
Patch by Karen Arutyunov.
|
|
420c62e1
|
2017-09-19T21:58:54
|
|
libpkgconf: pkg: refactor parser harness to allow providing warnings, provide warning for improper fragment list
|
|
e9fd43ca
|
2017-09-17T23:38:25
|
|
libpkgconf: clean up header includes (closes #137)
|
|
f808300a
|
2017-09-13T14:56:10
|
|
libpkgconf: pkg: some elements of virtual packages should be freed as they have heap-allocated portions (closes #132)
|
|
9b55fc3c
|
2017-09-13T14:41:00
|
|
libpkgconf: cache: refactor the way package objects are marked as cached to avoid memory leaks (#133)
|
|
b7839f6b
|
2017-09-08T20:06:52
|
|
libpkgconf: pkg: pkgconf_pkg_scan_dir: remove unnecessary static declaration of filebuf
|
|
2681c29e
|
2017-09-08T20:04:49
|
|
libpkgconf: pkg: determine_prefix: use caller-provided buffer for reentrancy
|
|
adae7044
|
2017-09-08T20:01:34
|
|
libpkgconf: pkg: get_default_pkgconfig_path: use caller-supplied buffer for reentrancy
|
|
615bab3d
|
2017-09-08T19:48:31
|
|
libpkgconf: pkg: pkgconf_pkg_report_graph_error(): move already_sent_notice to pkgconf_client_t
|
|
b0ef708e
|
2017-09-08T19:23:04
|
|
libpkgconf: pkg: pkg_get_parent_dir(): use caller-supplied buffer instead of a static buffer to make reentrant
|
|
47ce9765
|
2017-09-08T18:44:28
|
|
libpkgconf: define SIZE_FMT_SPECIFIER on POSIX and Windows platforms and use it in place of %zu
The MSVCRT runtime as used on Windows does not support %zu, but instead recommends %Iu. As we want
to remain portable to other runtimes, even on Windows, we do not use %Iu, but instead expand it logically
to either %lu or %llu depending on if it's _WIN32 or _WIN64 headers.
On POSIX, we assume C99 support is available and always use %zu, as pkgconf has never supported anything
earlier than C99 officially.
Closes #125.
|
|
864b14e5
|
2017-06-16T21:06:01
|
|
Merge branch 'cmakeify' of github.com:dankegel/pkgconf
|
|
03f78410
|
2017-06-16T15:27:23
|
|
libpkgconf: pkg: windows can use either \ or / as directory separators
ref #118
|
|
d45e8501
|
2017-06-16T13:03:51
|
|
Revert "pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry"
This reverts commit 0c22b4d8a1596e1d5b261041c36b474d05783373.
|
|
0c22b4d8
|
2017-06-16T11:49:26
|
|
pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry
This issue was noticed while porting pkgconf to Windows.
ref #118
|
|
794aa501
|
2017-06-05T20:54:57
|
|
Tidy up a bit.
|
|
4d7b4d7c
|
2017-06-04T19:19:55
|
|
Minimal tweaks to compile with Visual C 2015
|
|
d280060e
|
2017-05-19T23:37:57
|
|
libpkgconf: pkg: add additional validation rules in post-parse phase
|
|
0262b825
|
2017-05-19T23:33:49
|
|
libpkgconf: pkgconf_pkg_find(): correctly handle failure from pkgconf_pkg_new_from_file()
|
|
cf3c50ca
|
2017-05-19T23:21:58
|
|
libpkgconf: pkg: pkgconf_try_specific_path() and pkgconf_pkg_new_from_file() require a mutable client to release resources when encountering invalid packages
|
|
acac1f8e
|
2017-03-24T00:59:53
|
|
libpkgconf: pkg: show iteration depth when traversing
|
|
81011ba5
|
2017-02-27T09:54:02
|
|
main: implement --short-errors (#115)
|
|
794443a9
|
2017-02-25T16:04:55
|
|
dependency: break API to add tracepoints to dependency list building
|
|
e0c9569f
|
2017-02-25T15:53:50
|
|
fragment: add tracepoints
|
|
b0c36cd1
|
2017-02-04T20:35:49
|
|
libpkgconf: pkg: add some trace points
|
|
820ad83e
|
2017-02-04T19:03:33
|
|
libpkgconf: pkg: add variable whitespace warnings back, using pkgconf_warn().
|
|
1aa1a433
|
2017-01-26T13:38:57
|
|
Revert "libpkgconf: pkg: warn when encountering trailing whitespace"
This reverts commit 2fa4fd09d02905e07397c2617bb1be735f6cd96b.
|
|
2fa4fd09
|
2017-01-26T13:32:07
|
|
libpkgconf: pkg: warn when encountering trailing whitespace
|
|
ef1503b7
|
2017-01-26T13:10:52
|
|
libpkgconf: strip trailing whitespace
|
|
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
|
|
0927ecf1
|
2017-01-22T23:29:59
|
|
Revert "Actually fix the regression introduced in 7b39c38"
This reverts commit 5e5c418837b569196cc17eb999b3c11a9cc0099d.
|
|
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)
|
|
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
|
|
e5f3dac6
|
2017-01-22T23:07:39
|
|
libpkgconf: pkg: handle error value from stat(2).
|
|
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>
|
|
5e5c4188
|
2017-01-22T11:25:05
|
|
Actually fix the regression introduced in 7b39c38
|
|
17be554a
|
2017-01-22T11:23:24
|
|
Revert "Fix regression introduced in 7b39c38"
This reverts commit 7d89f659ffa45d381c3c4ee03c55f74635042829.
|
|
7d89f659
|
2017-01-22T10:44:09
|
|
Fix regression introduced in 7b39c38
now pkgconf --variable=pc_path pkg-config works
|
|
7237b811
|
2017-01-20T00:58:48
|
|
add support for making paths relocatable (closes #103)
|
|
13cf74c7
|
2017-01-19T18:23:25
|
|
libpkgconf: kill flags from top-level fragment API (ref #105)
|
|
7b39c384
|
2017-01-19T18:17:29
|
|
libpkgconf: pkg: clean up use of flags variable (ref #105)
|
|
127fd037
|
2017-01-19T17:35:35
|
|
libpkgconf: pkg: uncouple resolver flags from pkgconf_pkg_dir_list_build(). (ref #105)
|
|
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
|
|
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)
|
|
61c750fd
|
2016-12-15T23:36:59
|
|
libpkgconf: pkg: cleanup and document pkg module
|
|
32c8c73d
|
2016-12-15T22:57:15
|
|
libpkgconf: pkg: pkgconf_pkg_find_in_registry_key() should actually be private
|
|
568e5bfd
|
2016-12-15T22:33:01
|
|
libpkgconf: client: move pkgconf_error() and pkgconf_default_error_handler() here
|
|
82fa8b21
|
2016-12-13T12:14:08
|
|
libpkgconf: separate config.h from the actual API headers
|
|
fa876089
|
2016-12-13T13:03:59
|
|
pass client and user data to error handler (#100)
|
|
8213d910
|
2016-12-10T16:19:40
|
|
libpkgconf: migrate to using the pkgconf_ namespaced strlcat/strlcpy symbols
|
|
eab112fb
|
2016-12-10T16:06:18
|
|
pkg: cleanups
|
|
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
|
|
a9022030
|
2016-12-09T21:36:59
|
|
libpkgconf: fragment: simplify sysroot handling by using pkgconf_client_t.sysroot_dir presence
|
|
011d8c77
|
2016-12-02T00:34:48
|
|
libpkgconf: audit: migrate to pkgconf_client_t
|
|
c05ecdfc
|
2016-12-02T00:29:33
|
|
libpkgconf: migrate cache to pkgconf_client_t which unfortunately requires it to be non-const :(
|
|
a300787c
|
2016-12-01T15:17:23
|
|
libpkgconf: do not implicitly build the dir list, instead explicitly do it
|
|
ad731d19
|
2016-12-01T15:11:37
|
|
libpkgconf: make pkgconf_pkg_dir_list_build() public
|
|
434c465c
|
2016-12-01T15:09:54
|
|
libpkgconf: migrate pkgconf_error() to use client objects
|
|
8740c5cd
|
2016-12-01T15:05:03
|
|
libpkgconf: begin removing global state from libpkgconf library by introducing a "client" object which holds the state
|
|
4bb46e20
|
2016-11-30T22:32:17
|
|
libpkgconf: add path matching and environment building functions
|
|
f4da1082
|
2016-11-30T22:15:13
|
|
libpkgconf: refactor some path operations
|
|
6484dcb0
|
2016-09-16T09:59:41
|
|
pkg: pkgconf_pkg_free(): be sure to free the Provides list
|
|
b900e046
|
2016-09-10T01:51:19
|
|
pkg: add support for PKGCONF_CMP_NOT_EQUAL Provides rules, completing support of Provides rules (closes #95)
|
|
4fcda862
|
2016-09-09T14:34:38
|
|
pkg: make fuzzy Provides matching for PKG_CMP_NOT_EQUAL ops more correct
|
|
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)
|
|
7c0264ac
|
2016-09-09T00:17:46
|
|
pkg: implement rudementary support for fuzzy Provides matches
|
|
c2c7e748
|
2016-09-08T23:54:57
|
|
pkg: add a more flexible framework for multi-level compare required for fuzzy Provides rules.
|
|
9783181c
|
2016-09-08T23:23:15
|
|
pkg: make pkgconf_vercmp_res_func_t more generic, allowing it to be used for Provides rules.
|
|
d304d9cb
|
2016-09-08T22:10:24
|
|
pkg: add support for 'simple' Provides rule entries (#95)
|
|
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
|
|
5ba46130
|
2016-08-26T23:43:20
|
|
pkg: add anchor Provides entry once the .pc file is parsed, instead of faking it in the tool
|
|
f9101659
|
2016-08-26T12:14:32
|
|
pkg: add support for parsing Provides: entries
|
|
d5d194f1
|
2016-08-26T10:54:37
|
|
pkg: clean up dependency comparison code
|
|
4960242a
|
2016-08-26T10:35:22
|
|
pkg: make some compile-time defined tables const
|
|
be4a002f
|
2016-08-26T01:11:50
|
|
pkg: use bsearch(3) instead of a hardcoded tree of strcmp logic
|
|
9e415ea1
|
2016-08-26T00:26:30
|
|
libpkgconf: improve API to support any number of builtin packages
|
|
45d422c4
|
2016-07-10T15:20:31
|
|
libpkgconf: implement PKG_CONFIG_LOG style auditing (closes #88)
|
|
a892af74
|
2016-01-21T11:08:36
|
|
pkg: tolerate NULL in pkgconf_compare_version() (closes #85)
|
|
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
|
|
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)
|
|
b9048646
|
2015-09-06T12:01:12
|
|
libpkgconf: do something better than error_msgout for error logging
|
|
06a45f1b
|
2015-09-06T11:45:00
|
|
libpkgconf: clean up PKG_ERRF and PKGF_ defines
|
|
ec5cc3f0
|
2015-09-06T11:37:20
|
|
libpkgconf: PKG_PROPF namespace becomes PKGCONF_PKG_PROPF.
|
|
dd86ba43
|
2015-09-06T11:34:09
|
|
libpkgconf: PKG_ comparators become PKGCONF_CMP_ namespace
|
|
571d9c75
|
2015-09-06T11:29:56
|
|
libpkgconf: PKG_BUFSIZE becomes PKGCONF_BUFSIZE, remove unused PKG_MIN/PKG_MAX.
|
|
ca1b0265
|
2015-09-06T11:20:48
|
|
libpkgconf: untangle remaining pkg_ functions related to pkgconf_pkg_t
|
|
0d145ef8
|
2015-09-06T11:00:46
|
|
libpkgconf: pkg_compare_version() becomes pkgconf_compare_version(), same for pkg_scan_all()
|
|
66247fae
|
2015-09-06T10:57:26
|
|
libpkgconf: pkg_comparator_t becomes pkgconf_pkg_comparator_t (and so on)
|
|
342950a5
|
2015-09-06T10:50:23
|
|
libpkgconf: pkg_cache becomes pkgconf_cache
|
|
b17f2640
|
2015-09-06T10:48:24
|
|
libpkgconf: move some utility funcs into pkgconf_ namespace
|
|
61d5fc72
|
2015-09-06T10:44:10
|
|
libpkgconf: move pkg_fragment to pkgconf_fragment namespace
|
|
4c71b25d
|
2015-09-06T10:41:40
|
|
libpkgconf: move pkg_tuple to pkgconf_tuple namespace
|
|
1ee18d0e
|
2015-09-06T10:38:30
|
|
libpkgconf: move pkg_dependency to pkgconf_dependency namespace
|