-
ada7820312
xbps-bin: reset some static vars for correct indentation in output.
Juan RP
2011-01-25 17:52:04 +01:00
-
35aa4b9951
xbps_fetch_file: memset the stat(2) struct before using it.
Juan RP
2011-01-25 17:49:24 +01:00
-
a685c9ee41
xbps_sort_pkg_deps: exit from the loop immediately if all pkgs were sorted.
Juan RP
2011-01-25 16:04:37 +01:00
-
a47d030851
xbps_sort_pkg_deps: optimize one more time, it is 5% faster approx.
Juan RP
2011-01-25 14:56:37 +01:00
-
be5ff1d934
Don't build code with _GNU_SOURCE, use _XOPEN_SOURCE=500 instead.
Juan RP
2011-01-25 13:00:23 +01:00
-
64cd7cf0a4
configure: use a var with the function name to test.
Juan RP
2011-01-25 12:42:34 +01:00
-
81fa8da4ce
Check for vasprintf() and add a replacement if it wasn't found.
Juan RP
2011-01-25 12:39:05 +01:00
-
4bba48a6a0
Rename repository.c to repository_register.c.
Juan RP
2011-01-25 11:25:38 +01:00
-
008573e1eb
Sprinkle a couple of assert(3)ions.
Juan RP
2011-01-25 04:14:33 +01:00
-
fd30feadcb
xbps-bin/check.c: save some lines by using prop_object_type() directly.
Juan RP
2011-01-25 03:33:51 +01:00
-
082efc3535
Added xbps_callback_array_iter() and use it in xbps-bin to list missing pkgdeps.
Juan RP
2011-01-25 02:55:34 +01:00
-
61fbf17bb9
xbps_api.h: fix some comments.
Juan RP
2011-01-25 02:11:45 +01:00
-
6b4c6970a3
xbps-bin/question.c: use sizeof().
Juan RP
2011-01-24 19:26:52 +01:00
-
0feae4fa20
xbps-uhelper: added 'getpkgdepversion' target.
Juan RP
2011-01-24 19:13:11 +01:00
-
72d82a3a26
Simplify and share common code in xbps_repository_{update,install}_pkg().
Juan RP
2011-01-24 18:49:24 +01:00
-
0bb0838982
Start moving code from repository_find* to transaction_*.
Juan RP
2011-01-24 16:55:58 +01:00
-
887c3e4974
Merged `progress_callback' branch.
Juan RP
2011-01-24 14:48:20 +01:00
-
-
7e93c57fa3
NEWS: update for this branch.
Juan RP
2011-01-24 14:44:30 +01:00
-
c7f7903862
prog.mk: look for libxbps in $(TOPDIR)/lib first rather than $(PREFIX)/lib.
Juan RP
2011-01-23 14:41:07 +01:00
-
f6ab3a28c3
libxbps: simplify package states code.
Juan RP
2011-01-22 18:00:31 +01:00
-
27c2ca3732
xbps_pkgpattern_match: remove a wrong memset(3) call.
Juan RP
2011-01-22 17:25:37 +01:00
-
ef25792f90
Simplify xbps_find_orphan_packages() by not using a temporary SIMPLEQUEU.
Juan RP
2011-01-22 17:08:49 +01:00
-
08d30043a3
lib/mkpath.c: don't document this file, it's included in the util group.
Juan RP
2011-01-22 16:38:52 +01:00
-
7d3e17b86b
Document xbps_humanize_number() in the API.
Juan RP
2011-01-22 14:37:07 +01:00
-
0cc4ba224e
Update API documentation for recent changes.
Juan RP
2011-01-22 14:24:51 +01:00
-
81b6b62aef
xbps-bin/fetch.c: use else if conditionals.
Juan RP
2011-01-22 13:08:36 +01:00
-
9611f3e412
xbps_unpack_binary_pkg: rename fn callback arg to be shorter.
Juan RP
2011-01-22 12:56:33 +01:00
-
724c4a6f0a
Added fetch.c for xbps-bin, with the fetch function callback.
Juan RP
2011-01-22 12:40:58 +01:00
-
984eae1578
Make xbps_fetch_file accept a callback to update its progress.
Juan RP
2011-01-22 12:40:19 +01:00
-
8c2ccea435
WIP checkpoint for progress callbacks in the API.
Juan RP
2011-01-21 17:16:58 +01:00
-
-
ab857595d7
Check that return value of snprintf(3) is not negative, rather than only -1.
Juan RP
2011-01-21 00:32:46 +01:00
-
84b578b0e4
libxbps: modify xbps_get_binpkg_repo_uri() to accept repository URL as 2nd arg.
Juan RP
2011-01-20 16:41:49 +01:00
-
6f8b2ca33a
libxbps: simplify how configuration files are handled, use cached values if possible.
Juan RP
2011-01-20 02:55:40 +01:00
-
0a66dbea5f
NEWS: update with past days changes.
Juan RP
2011-01-19 17:17:39 +01:00
-
fcbe7f113b
Don't build static bins with PIE, only for dynamic.
Juan RP
2011-01-19 16:52:55 +01:00
-
8dc6926664
configure: fixes for building with an installed static libxbps.
Juan RP
2011-01-19 14:45:58 +01:00
-
274c8c432b
lib/Makefile: build libxbps with --export-dynamic.
Juan RP
2011-01-19 14:31:30 +01:00
-
3a303755c7
xbps_api.h: fix API comments for refcnts.
Juan RP
2011-01-19 11:32:20 +01:00
-
efea94bec6
Fixed API documentation comments for doxygen.
Juan RP
2011-01-19 00:31:22 +01:00
-
2adaf610e7
libxbps: xbps_yesno/noyes() are only used in xbps-bin(8), remove from API.
Juan RP
2011-01-18 23:45:12 +01:00
-
0a8fabbfac
xbps-bin: remove spurios chars in two printf()s.
Juan RP
2011-01-18 23:42:51 +01:00
-
992e8c6a14
libxbps::xbps_humanize_number(): use common values and hide implementation details from API.
Juan RP
2011-01-18 23:10:07 +01:00
-
e2b55c90be
regpkgdb_dictionary.c: bump copyright year for previous changes.
Juan RP
2011-01-18 20:21:35 +01:00
-
9180bfce23
libxbps: regpkgdb: use a mutex for {inc,dec}rementing the refcnt.
Juan RP
2011-01-18 20:18:27 +01:00
-
fe15380e1b
libxbps: modify the API, new func xbps_get_binpkg_repo_uri().
Juan RP
2011-01-18 18:21:55 +01:00
-
6d7121c5bd
xbps_repository_get_pkg_plist_dict: use xbps_repository_pool_find_pkg().
Juan RP
2011-01-18 15:19:27 +01:00
-
8e0a94d5cc
xbps-repo: use xbps_repository_pool_find_pkg().
Juan RP
2011-01-18 14:57:25 +01:00
-
503afdd48d
libxbps: extend the API, new func: xbps_repository_pool_find_pkg.
Juan RP
2011-01-18 14:44:39 +01:00
-
1125963da8
libxbps: simplify the algorithm for sorting deps in the transaction.
Juan RP
2011-01-17 17:17:02 +01:00
-
2845f49bf2
Added tag 0.7.3 for changeset b373dfd04ef2
Juan RP
2011-01-16 17:08:24 +01:00
-
d9fa6da693
NEWS, Changelog: update for 0.7.3.
Juan RP
2011-01-16 17:07:43 +01:00
-
3c4b375ecf
Fixed a test in config file handling that made all conf_files not properly detected.
Juan RP
2011-01-16 16:55:01 +01:00
-
0fe503b7f4
configure: -Wformat-security and -Wformat-nonliteral are included in -Wformat=2.
Juan RP
2011-01-15 14:02:34 +01:00
-
de590b8457
lib/Makefile: build -Wno-error for included libfetch for now.
Juan RP
2011-01-15 13:37:16 +01:00
-
84f04fb6c4
configure: build with -O2 and -pipe if supported.
Juan RP
2011-01-15 13:36:46 +01:00
-
3482e68491
configure: make symbol visibility dependent in the configure test, misc changes.
Juan RP
2011-01-15 12:21:38 +01:00
-
6051eb29ab
Added another bunch of compiler warnings and fix code.
Juan RP
2011-01-15 11:59:44 +01:00
-
d9001adbad
configure: added --silent option to hide compilation details.
Juan RP
2011-01-15 10:49:35 +01:00
-
4420bd9427
Really enable the compiler detected flags into its correct var.
Juan RP
2011-01-15 10:41:35 +01:00
-
33c1a33912
Make configure detect required libraries to link.
Juan RP
2011-01-14 00:30:49 +01:00
-
57af8f9ee0
xbps_repository_get_pkg_plist_dict: avoid uninitialized var.
Juan RP
2011-01-12 17:15:23 +01:00
-
2206b27037
Added "--with-external-libfetch" to build against external libfetch.
Juan RP
2011-01-12 17:06:53 +01:00
-
cb8464bdc6
configure: respect CFLAGS/LDFLAGS passed via env.
Juan RP
2011-01-11 15:04:23 +01:00
-
2bd1629177
Update to 0.7.2.
Juan RP
2010-12-28 12:15:11 +01:00
-
7341920338
Added tag 0.7.2 for changeset 25a675190b31
Juan RP
2010-12-28 12:15:01 +01:00
-
d307226ee7
xbps_unpack_binary_pkg: fix a memleak and make all error paths go to a single point.
Juan RP
2010-12-25 02:38:30 +01:00
-
71878669da
libxbps: fix a memleak when removing obsolete files in pkg upgrades.
Juan RP
2010-12-25 02:37:25 +01:00
-
057deb180c
xbps-repo: report the errno string when a repository cannot be added and fix a NULL pointer deref.
Juan RP
2010-12-25 02:35:11 +01:00
-
5b101eae2b
xbps-repo: fix a memleak in the 'add' target.
Juan RP
2010-12-24 05:43:00 +01:00
-
57453d1926
xbps-{bin,repo}: use strlcpy().
Juan RP
2010-12-24 05:31:37 +01:00
-
45b4fada3d
xbps-repo: fix a memleak in the 'show' target.
Juan RP
2010-12-24 05:29:39 +01:00
-
f2c33b0b08
xbps-repo: fix a memleak in the 'find-files' target.
Juan RP
2010-12-24 05:21:49 +01:00
-
a7886f62db
xbps-bin: fix a memleak in the 'find-files' target.
Juan RP
2010-12-24 05:21:22 +01:00
-
cdecb7f793
configure: also check if compiler supports _FORTIFY_SOURCE=2.
Juan RP
2010-12-24 02:36:16 +01:00
-
05c28b4a6c
Added tag 0.7.1 for changeset 6b51cd806257
Juan RP
2010-12-23 20:08:15 +01:00
-
5c19d15694
Changelog: update for 0.7.1.
Juan RP
2010-12-23 20:07:51 +01:00
-
d2baa2b3f6
NEWS: update for 0.7.1.
Juan RP
2010-12-23 20:06:51 +01:00
-
e3b86d5ff6
xbps-dgraph: use PRIu64 to printf uint64_t from <inttypes.h>.
Juan RP
2010-12-23 17:23:14 +01:00
-
f9d0a639f2
xbps_repository_pool_init: don't loop forever if repo pkg-index.plist files cannot be internalized.
Juan RP
2010-12-19 17:46:32 +01:00
-
e01399c242
xbps-uhelper: added -d flag to enable debugging.
Juan RP
2010-12-18 10:26:12 +01:00
-
bc28aa77d8
xbps_fetch_file: set a 30seconds timeout.
Juan RP
2010-12-18 10:19:09 +01:00
-
b017f6d024
xbps-repo: fix the 'genindex' target due to 0.7.0 API changes.
Juan RP
2010-12-16 11:37:31 +01:00
-
e6503b98cc
xbps-uhelper: fix the 'unregister' target, wasn't updated for 0.7.0 API changes.
Juan RP
2010-12-16 00:25:53 +01:00
-
f9db3b1805
Added tag 0.7.0 for changeset 4a202e7ed155
Juan RP
2010-12-15 15:48:42 +01:00
-
1d2ef6772e
NEWS: mention typo-fix for strlcat.
Juan RP
2010-12-15 15:47:23 +01:00
-
03f5211f0c
Changelog: update for 0.7.0.
Juan RP
2010-12-15 15:45:43 +01:00
-
0ed1e91b1a
NEWS: 0.7.0 will be released today.
Juan RP
2010-12-15 15:44:42 +01:00
-
ece608a080
xbps-repo(8): implemented 'find-files' target.
Juan RP
2010-12-15 15:14:44 +01:00
-
8013448097
configure: fix a typo that broke strlcat test. Found by Min Sik Kim reported in issue 2.
Juan RP
2010-12-10 16:25:28 +01:00
-
60c37406c1
xbps-repo: zero out allocated mem to avoid garbage in the 'search' target.
Juan RP
2010-12-04 10:31:17 +01:00
-
4f6e20c431
xbps-bin: zero out allocated mem to avoid garbage in the 'list' target.
Juan RP
2010-12-04 10:30:01 +01:00
-
237991fd79
xbps-bin: added -F flag for the remove target.
Juan RP
2010-12-03 17:36:07 +01:00
-
2401e72b8a
Remove DPRINTF macro, unused.
Juan RP
2010-12-03 17:30:02 +01:00
-
98a2034fcf
Also show the conflicts object if available and simplify the code.
Juan RP
2010-12-03 06:37:01 +01:00
-
d2f5535162
lib/plist: no need to check against NULL if prop_object_type() is used.
Juan RP
2010-12-03 06:36:05 +01:00
-
b3c8a8ef5c
Backed out changeset e82cc0e4b779
Juan RP
2010-11-25 21:33:14 +01:00
-
c7f6f9f44a
xbps-bin: there's no need to init repository pool.
Juan RP
2010-11-25 16:23:49 +01:00
-
2c72c81db0
xbps-bin: always check if the there are missing deps regardless of the errno value.
Juan RP
2010-11-25 10:58:44 +01:00
-
0ac845eb05
NEWS: mention that obsolete dirs are also removed while updating.
Juan RP
2010-11-24 17:01:55 +01:00
-
278a37a24a
xbps-bin: fix for previous.
Juan RP
2010-11-24 16:39:14 +01:00