kc3-lang/pkgconf/pkg.c

Branch :


Log

Author Commit Date CI Message
6f5fbb80 2012-07-25 23:49:07 pkg: add pkg_scan() and pkg_scan_all() functions.
573cf8d2 2012-07-26 00:12:29 pkg: fix pkg_t.id initialization
79ca134f 2012-07-26 00:07:27 pkg: call stat(2) in scan function
0ac7978e 2012-07-26 00:01:40 pkg: bug fixes
0a5cb4c4 2012-07-25 21:09:31 everything: update copyright to note multiple authors
3388277b 2012-07-23 21:07:57 pkg: implement dpkg-style version comparison rules
111046f1 2012-07-22 23:16:39 pkg: add support for $(pc_path) variable for extracting PKG_DEFAULT_PATH
3d7455f8 2012-07-22 23:09:10 pkg: add description and url fields to pkg-config virtual
29ea7ce4 2012-07-21 14:49:55 pkg: add pkg_get_parent_dir() and define $(pcfiledir).
b0cdca48 2012-07-21 14:38:13 everything: do not shadow POSIX BUFSIZ definition
1975a298 2012-07-20 14:29:58 everything: more friendly warranty disclaimer
3d0f67a7 2012-07-02 03:41:08 pkg: use relative paths on windows (issue #17)
8a9971ec 2012-07-01 21:21:31 main: finish --errors-to-stdout support
524133cd 2012-05-12 02:26:55 pkg: add support for relative path finding on windows (issue #17)
6519f6ab 2012-05-12 02:21:11 pkg: add get_pkgconfig_path() for separating out the fallback path logic
52dee220 2012-05-11 21:20:00 pkg: plug memory leak in conflicts code
db9f6267 2012-05-11 21:01:42 pkg: if pkg_traverse() fails, abort walking the graph.
298a3786 2012-05-11 21:00:01 pkg: return PKG_ERRF_PACKAGE_CONFLICT only if a conflict has been formally verified
9c335f16 2012-05-11 20:59:35 pkg: when walking a list, get eflags from pkg_traverse() call
6c1ace0a 2012-05-11 20:51:13 pkg: add conflicts graph node verification (issue #13)
2ecb181f 2012-05-11 20:16:22 pkg: add pkg_libs() for calculating the mergemaster set of linker flags (issue #11)
e6cf8b40 2012-05-11 20:13:03 pkg: add pkg_cflags() for calculating a mergemastered list of cflag fragments for a problem set (issue #11)
559ae095 2012-05-11 19:58:34 pkg: pass PKGF_* flags to traverse funcs
acf2ee26 2012-05-11 19:56:38 pkg: use typename enforcement on pkg_traverse()
bb41d143 2012-05-11 13:59:18 pkg: get rid of PKG_LOCAL_COPY() since it was only used in one place
56fbf25c 2012-05-11 13:47:20 Move all portability gunk into stdinc.h. (Issue #18)
4b193018 2012-05-07 03:57:28 pkg: clean up pkg_find() by adding pkg_try_specific_path(). (issue #16)
c203beb9 2012-05-07 10:09:59 Support getting PKG_CONFIG_PATH from win32 registry.
f1bd223f 2012-05-06 23:28:42 pkg: disable PKGF_SKIP_ROOT_VIRTUAL when recursing
f663f792 2012-05-06 23:26:21 pkg: add PKGF_SKIP_ROOT_VIRTUAL for some queries like --variable
688c0789 2012-05-06 23:00:06 parse: remove remaining function (pkg_t constructor) to pkg.c
4eb08d7c 2012-05-06 22:55:00 pkg: clean up foreach_list_entry* macros (issue #10)
9eea62fb 2012-05-06 22:52:05 pkg: LOCAL_COPY() becomes PKG_LOCAL_COPY().
a961a523 2012-05-06 22:38:44 pkg: cleanups
db6d0e23 2012-05-06 22:24:36 pkg: parse_file is now pkg_new_from_file
4f50dad1 2012-05-06 21:42:15 pkg: provide error return codes for pkg_traverse() and pkg_verify_graph().
6646e99a 2012-05-06 21:30:35 pkg: pkg_report_graph_error(): free pkg when exiting
5122d5ee 2012-05-06 21:30:14 pkg: do not allocate an id for a virtual package
9d2bd0b6 2012-05-06 21:09:26 pkg: plug memory leaks
4d027a43 2012-05-06 20:59:03 pkg: fix out-of-boundary write caused by realloc() semantics
29ca5b7e 2012-05-06 20:39:26 pkg: free packages constructed while walking the dependency graph
d99f3db8 2012-05-06 20:39:10 pkg: make pkg-config builtin package "virtual"
4172dc54 2012-05-06 20:38:48 pkg: don't free builtin (virtual) packages
3eb16dca 2012-05-06 20:30:50 pkg: add pkg_free()
24265bb1 2012-05-06 19:49:15 pkg: add PKGF_NO_UNINSTALLED resolver flag
ed126f5b 2012-05-06 19:44:22 pkg: add support for PKG_CONFIG_LIBDIR env variable
44ef8391 2012-05-06 01:02:57 pkg: reset iter to 0 when checking system compiled-in paths
a078249a 2012-05-06 00:12:27 pkg: add support for treating package names as files
65d4b88d 2012-05-05 23:00:20 pkg: add support for foo-uninstalled.pc file
1bf5da3b 2012-05-05 22:00:47 pkg: implement pkg-config.pc as a builtin
4adb0b5d 2012-05-05 20:52:17 pkg: clean up pkg_traverse() logic
83ba2950 2012-05-05 20:24:45 pkg: add support for compiling in more than one default pkg-config search path Some packages install to /usr/share/pkgconfig instead of /usr/lib/pkgconfig.
7f7ad67b 2012-05-05 20:21:47 pkg: fix off-by-one when parsing PKG_CONFIG_PATH data
49a5edda 2012-05-03 17:55:06 pkg: add pkg_report_graph_error() for describing breaks in the dependency graph. Fixes issue #3.
91ec341a 2012-05-03 17:42:04 pkg: pkg_verify_dependency(): add return error flags pointer. presently, three error flags are defined: PKG_ERRF_OK: everything went fine (no error) PKG_ERRF_PACKAGE_NOT_FOUND: a graph node couldn't be verified because there was no database entry for it PKG_ERRF_PACKAGE_VER_MISMATCH: a graph node couldn't be verified because the entry in the database did not match versioning constraints
1caa0dca 2012-05-03 17:20:39 pkg: pkg_walk_list() does not need a reference to the parent node in the graph
ccda6b37 2012-05-03 17:15:45 everywhere: warning cleanups
a4ceb684 2012-05-03 09:22:08 File lookup: fix uninitialized 'iter'.
3f758a8b 2012-05-02 23:29:35 pkg: pkg_verify_graph() should also accept resolver flags
e59b9864 2012-05-02 23:16:32 pkg: implement resolver-side support for some pkg-config clone's --env-only option
187b4e53 2012-05-02 23:14:53 pkg: add resolver flags to pkg_find() and pkg_verify_dependency().
38f3dc78 2012-05-02 21:47:02 pkg: if PKGF_SEARCH_PRIVATE is requested, search root::requires_private graph entries too
5ea52d4c 2012-05-02 21:44:58 pkg: add flags option to pkg_traverse() to optionally control what the depgraph traversal code does
656b34fb 2012-05-02 19:35:45 pkg: plug some minor memory leaks
77703f18 2012-05-02 19:31:30 pkg: path_split(): clarify that we want to dereference parv itself, not parv[idx].
ca484382 2012-05-02 19:11:20 pkg: use PKG_CONFIG_EXT everywhere
52433aa2 2012-05-02 19:07:38 pkg: clean up PKG_CONFIG_PATH_SEP_S nonsense
b91bdcd3 2012-05-02 19:06:32 pkg: use path_split() instead of a static buffer.
538317f6 2012-05-02 18:38:31 pkg: add path_split() helper function
3707ccd2 2012-05-02 15:55:13 Fix PKG_CONFIG_PATH precedence, simplify. PKG_CONFIG_PATH paths must take precedence over the default path. Otherwise, we would be unable to override default .pc files. And while I'm at it, simplify the whole code. It is pointless to introduce another buffer and a lot of string mangling for one additional path.
0e0bf1b0 2012-05-02 11:45:31 Omit empty paths in file lookup. This avoids looking for '/foo.pc'.
218b3ccd 2012-05-02 11:42:52 Remove unnecessary buffer zeroing. We always replace that current pos with a null terminator, so it doesn't matter what follows it.
f26001c3 2012-05-02 11:40:38 File lookup: wind in last occurence to the loop. Instead of repeating the parsing stage after reaching the null terminator, just handle it inside the loop and terminate the loop afterwards.
353ba1ea 2012-05-02 11:24:58 Use ';' as path separator on win32. This is what pkg-config does, and it is necessary because ':' is part of path specification on win32.
2d738c2c 2012-05-01 01:27:19 pkg: make PKG_CONFIG_PATH parsing more robust
3b154d8a 2012-04-30 06:06:13 everywhere: use strlcpy and strlcat where appropriate
4e4c1d62 2012-04-29 23:58:52 fix handling of length with strncat The length arg in the strncat func represents the max number of bytes that may be appended, but the total length of the buffer. So we have to subtract the length of bytes already in there. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1e93bac3 2012-02-17 15:35:23 pkg: handle PKG_DEFAULT_PATH and PKG_CONFIG_PATH envvar more cleanly
d0639b33 2012-01-15 19:03:54 Make pkg_find() follow the PKG_CONFIG_PATH environmental variable, if available.
b0c16941 2011-07-26 20:37:01 pkg: add pkg_t.id field
8543f1bd 2011-07-26 20:15:44 pkg: document pkg_traverse()
648c39cf 2011-07-26 19:59:46 pkg: add pkg_get_comparator()
774ebc97 2011-07-26 19:52:44 pkg: pkg_verify_dependency() was calling pkg_compare_version() in reverse order
f8638cdb 2011-07-26 12:17:45 pkg: add pkg_verify_dependency()
a872c725 2011-07-26 12:05:14 pkg: fix up pkg_compare_version()
7e268420 2011-07-26 11:56:59 pkg: add pkg_compare_version()
8100eb84 2011-07-25 17:44:05 pkg: add pkg_verify_graph() to verify the depgraph is satisfiable
3d502159 2011-07-25 17:03:06 pkg: use exact same error message as pkg-config when dependency is unresolvable
4fe2dc1b 2011-07-25 01:26:05 pkg: croak if dependency tree is incomplete
05d596b9 2011-07-25 01:22:04 pkg: implement maximum depth for pkg_traverse()
a3f2a471 2011-07-25 01:03:13 pkg: handle node::package being crap
4603ceb8 2011-07-24 23:46:10 main: split out to main.c, make pretty printers hidden
37d87b90 2011-07-24 23:43:00 pkg: do not print cflags or libs if they are NULL
b44ce20d 2011-07-24 23:38:58 pkg: add pkg_traverse() to walk the dependency graph
3f9cedf5 2011-07-24 23:20:22 pkgconf stub: walk the dependency tree
61c246d2 2011-07-24 21:03:17 Initial commit.