Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-14 | rename all iostream source to io_*.c | Timo Teräs | 1 | -156/+0 | |
2020-01-11 | convert remaining locations to use istream instead of bstream | Timo Teräs | 1 | -8/+1 | |
2020-01-11 | istream: add buffering capability | Timo Teräs | 1 | -12/+7 | |
Convert all implementations to do buffering. This is in preparation to remove bstream interface as redundant. istream_read() will return full reads unless end-of-file. The backends can return short reads to optimize buffering or due to other reasons like boundary change for gz. | |||||
2019-12-18 | io: use proper base struct types for method implementations | Timo Teräs | 1 | -6/+6 | |
2018-05-08 | url: return relevant error value from apk_istream_fetch | Edan Bedrik | 1 | -3/+10 | |
2018-01-03 | url: add "Cache-Control: no-cache" header with --force-refresh | Timo Teräs | 1 | -1/+1 | |
fixes #8161 | |||||
2017-06-23 | io: make io vtables const struct, and add accessors for them | Timo Teräs | 1 | -3/+7 | |
This reduces function pointers in heap, and unifies how the io functions are called. | |||||
2015-11-09 | io, database: preserve [am]time for cached and fetched files | Timo Teräs | 1 | -9/+27 | |
preserve [am]time for all packages and indexes. this fixes the caching error that 'apk update' is after new index is generated, but before the used mirror is synchronized. this caused local apkindex timestamp to be newer than file in mirror, when in fact it was outdated index. this also fixes fetched files to have build timestamp so that files going to .iso or custom images have proper timestamps (rsync with appropriate --modify-window now works) | |||||
2015-04-24 | modifications for the previous commit in error message handling | Timo Teräs | 1 | -1/+1 | |
forgot to --amend my changes | |||||
2015-04-13 | fix error mapping types | Timo Teräs | 1 | -1/+1 | |
on arm char is by default unsigned, so this caused crashes as the ERR_PTR mechanism did not work as expected with unsigned types. extend the array type to be signed short explicitly. | |||||
2015-03-10 | rework error handling for read streams | Timo Teräs | 1 | -6/+31 | |
2014-10-08 | url: fix double free from late libfetch changes | Timo Teräs | 1 | -1/+0 | |
2014-10-08 | io,url,db: support for if-modified-since | Timo Teräs | 1 | -11/+20 | |
2014-10-08 | url: use libfetch to retrieve http/https/ftp files | Timo Teräs | 1 | -55/+44 | |
2014-04-10 | url: double-fallback to static busybox | Timo Teräs | 1 | -0/+1 | |
2013-10-01 | db, url: fix exec sentinels | Timo Teräs | 1 | -2/+2 | |
http://ewontfix.com/11/ | |||||
2013-06-18 | url: fix fetching from local repositories | Natanael Copa | 1 | -3/+3 | |
2013-06-17 | url: remove unused apk_url_download | Timo Teräs | 1 | -33/+0 | |
2013-06-17 | io: fix splice for copying unknown lengths | Timo Teräs | 1 | -6/+6 | |
2011-09-13 | all: update copyright year statement | Timo Teräs | 1 | -1/+1 | |
2011-05-27 | db: more fix for read-only cache remounting | Timo Teräs | 1 | -0/+1 | |
remount to read-write before trying to create the cache directory subdirs. fix a fd leak that might prevent remounting back to rw. | |||||
2011-03-11 | url: try wget from $PATH first and fallback to busybox wget | Natanael Copa | 1 | -0/+4 | |
If GNU wget is available, then we want use it as it gives the user possibility to set misc options, such as bandwidth limit in wgetrc. It might also be that busybox is not available in case bootstrapping alpine from other distros (think debian vserver host creating an alpine guest) In any case we, fall back to busybox wget in case wget libs are getting upgraded. (see http://redmine.alpinelinux.org/issues/347) | |||||
2011-01-01 | url: use always busybox wget | Timo Teräs | 1 | -1/+1 | |
I think there used to be problems with using http_proxy on bb wget, but those have been fixed for quite some time. This fixes #347. We should probably use libcurl or similar library eventually, but I'm not entirely sure if/when we want that. | |||||
2010-12-09 | io: enhance istream/bstreams with pipe to forked child | Timo Teräs | 1 | -5/+37 | |
* prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly | |||||
2009-07-31 | apk: use *at instead of chdir+normal file syscall | Timo Teras | 1 | -9/+12 | |
this way we never change cwd, and relative filenames are always parsed consistently. this also helps filename construction in many places. this patch also changes '--root' to override location of all configuration to be in the new root. previously it depended on the file which one was used. | |||||
2009-07-16 | gzip: always autoclose the inner stream | Timo Teras | 1 | -2/+2 | |
2009-04-21 | url: rename to .backup rather than unlink before wget | Natanael Copa | 1 | -1/+3 | |
2009-04-21 | url: unlink file before trying to download | Natanael Copa | 1 | -0/+1 | |
2009-04-16 | db: cache index files, 'update' applet | Timo Teras | 1 | -4/+30 | |
Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19. | |||||
2009-01-16 | url: allow wget report error messages | Natanael Copa | 1 | -2/+1 | |
2009-01-15 | db: index file location is a URL | Timo Teras | 1 | -0/+6 | |
2008-11-28 | io: prepartions for url handling | Timo Teras | 1 | -0/+75 | |