Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-04-01 | libfetch: fix no_proxy domain name comparision | Timo Teräs | 1 | -1/+1 | |
Fix comparing of the hostname portion that matches exactly. The no_proxy matching is pretty rudimentary though and probably could go through a bit of additional rework. Fixes #10681 | |||||
2020-04-01 | db: fix database reading without scripts or triggers | Timo Teräs | 1 | -6/+10 | |
Most notably this happens after blank database is initialized with --initdb, but can happen also in other conditions. The error checking changes modified behaviour if the file does not exist. Explicitly check for ENOENT and ignore it. But the behaviour is improved from earlier as now e.g. EPERM will be detected and reported correctly. Fixes #10679 Fixes: 6da3e8eb15 "istream, archive, db: convert db and tar function to use istream" | |||||
2020-03-25 | libfetch: fixups to packetization socket option setting | Timo Teräs | 1 | -26/+22 | |
- split the code to a helper function - do not set sockets to corked state when putting back to cache so socket state is always deterministic - cork/uncork also when sending CONNECT to a proxy, this can reduce a little bit the latency how fast the packet gets sent out - also pair corking with uncorking in http_request to make it more obvious pairing | |||||
2020-03-25 | libfetch: minor HTTP handling improvement | Alexander Wauck | 1 | -5/+2 | |
The recent TCP_CORK change missed this bit of code. This change should improve performance a bit when making HTTP requests by calling http_cmd only once instead of three times. | |||||
2020-03-23 | build: add apk.pc.in | Rasmus Thomsen | 1 | -0/+10 | |
2020-03-23 | build: inspect GitLab CI variables for version string | Timo Teräs | 1 | -3/+9 | |
2020-03-23 | build: fix 'make check' for libfetch | Timo Teräs | 1 | -0/+2 | |
2020-03-21 | lower min-width to 25 columns | Antoine Fontaine | 1 | -1/+1 | |
Some screen size are quite small. For example, the default phosh terminal is less than 50 character wide on Pinephone. This lowers the minimum loading bar size to 25 characters. For comparison, 25 character wide is just as wide as "apk add firefox linux-lts" without the quotes. Here's a bad picture to illustrate the result gitlab.alpine.org/uploads/48c20f746fbf685b62b6bd73585ecbf2/pinephone-phosh.png | |||||
2020-03-21 | fix glibc build | TBK | 1 | -0/+1 | |
fixes #10677 src/apk_defines.h:152:15: error: unknown type name 'uint32_t' static inline uint32_t get_unaligned32(const void *ptr) ^~~~~~~~ | |||||
2020-03-16 | build: enable building of development package | Rasmus Thomsen | 4 | -49/+102 | |
- always create .so and .a with the apk libary code - create .pc file - install headers and above mentioned files Maintainers edit: merged commits, cleaned up sed script logic, and few other minor fixes. | |||||
2020-02-23 | readme: fix name of doc directory | Jakub Jirutka | 1 | -1/+1 | |
I'm sorry about that. :/ | |||||
2020-02-23 | readme: rename to .md and add some content | Jakub Jirutka | 2 | -0/+5 | |
2020-02-23 | remove empty NEWS | Jakub Jirutka | 1 | -0/+0 | |
2020-02-23 | fix test6.sh - linux-vanilla was renamed to linux-lts in v3.11 | Jakub Jirutka | 1 | -3/+3 | |
2020-02-21 | db: fix unaligned memory access in csum_hash() | Timo Teräs | 3 | -11/+13 | |
2020-02-18 | libfetch: support TCP_CORK | Timo Teräs | 1 | -23/+22 | |
Unfortunately libfetch operates on raw sockets and is sending each HTTP request line using separate syscall which causes the HTTP request to be sent as multiple packets over the wire in most configurations. This is not good for performance, but can also cause subtle breakage if there's DPI firewall that does not get the Host header. Incidentally, it seems that on BSDs libfetch already sets TCP_NOPUSH optimize the packetization. This commit adds same logic for using TCP_CORK if available. When using TCP_CORK there is no requirement to set TCP_NODELAY as uncorking will also cause immediate send. Keep TCP_NODELAY in the fallback codepaths. Long term, it might make sense to replace or rewrite libfetch to use application level buffering. | |||||
2020-02-17 | fix murmur3 hash unaligned memory access | Timo Teräs | 1 | -29/+39 | |
- do not do unaligned accesses on non-x86 hardware - clean up the code a little bit | |||||
2020-02-14 | rename all iostream source to io_*.c | Timo Teräs | 4 | -6/+7 | |
2020-02-14 | rename all applets sources to app_*.c | Timo Teräs | 19 | -21/+25 | |
2020-02-14 | io: add stream copy helper | Timo Teräs | 3 | -8/+37 | |
2020-02-04 | defines: add typeof() as it's gcc built-in | Timo Teräs | 1 | -0/+4 | |
Related to MR !15 | |||||
2020-02-04 | remove apk_time() as it is causing problems with shared objects | Timo Teräs | 6 | -17/+10 | |
Instead, to make sure test mode produces same output, redefine time() for the test mode binary. Reverts parts of 0b82bcc53e60. | |||||
2020-01-26 | remove travis ci, we are using gitlab ci now instead | Timo Teräs | 1 | -53/+0 | |
2020-01-26 | remove tests connected to help output validation | Timo Teräs | 1 | -10/+0 | |
The help has been moved to man pages now. | |||||
2020-01-26 | build: separate subdirs out from targets | Timo Teräs | 2 | -7/+12 | |
That list is needed in multiple places, so it simplifies things a bit. | |||||
2020-01-26 | convert man page makefile to make.rules format | Timo Teräs | 2 | -43/+54 | |
2020-01-26 | man pages: consoldate commit options in apk(8) | Drew DeVault | 5 | -104/+30 | |
2020-01-26 | man pages: merge scdoc targetes | Drew DeVault | 1 | -4/+1 | |
2020-01-26 | Makefile: install man pages to MANDIR | Drew DeVault | 1 | -8/+18 | |
2020-01-26 | Update apk to make man pages sole source of truth | Drew DeVault | 20 | -228/+107 | |
Detailed docs have been removed from the apk binaries, in favor of git-style short summaries of each command. | |||||
2020-01-26 | add apk-cache(5) | Drew DeVault | 2 | -0/+24 | |
2020-01-26 | add apk-keys(5) | Drew DeVault | 2 | -0/+19 | |
2020-01-26 | add apk-version(8) | Drew DeVault | 2 | -0/+54 | |
2020-01-26 | add apk-stats(8) | Drew DeVault | 2 | -0/+25 | |
2020-01-26 | add apk-audit(8) | Drew DeVault | 2 | -0/+56 | |
2020-01-26 | add apk-verify(8) | Drew DeVault | 2 | -0/+29 | |
2020-01-26 | add apk-manifest(8) | Drew DeVault | 3 | -1/+36 | |
2020-01-26 | add apk-fetch(8) | Drew DeVault | 2 | -0/+42 | |
2020-01-26 | add apk-index(8) | Drew DeVault | 2 | -0/+37 | |
2020-01-26 | add apk-policy(8) | Drew DeVault | 2 | -0/+26 | |
2020-01-26 | add apk-dot(8) | Drew DeVault | 2 | -0/+30 | |
2020-01-26 | add apk-list(8) | Drew DeVault | 3 | -1/+45 | |
2020-01-26 | add apk-info(8) | Drew DeVault | 2 | -0/+77 | |
2020-01-26 | add apk-cache(8) | Drew DeVault | 2 | -0/+42 | |
2020-01-26 | add apk-upgrade(8) | Drew DeVault | 2 | -0/+65 | |
2020-01-26 | add apk-update(8) | Drew DeVault | 2 | -0/+25 | |
2020-01-26 | add apk-fix(8) | Drew DeVault | 2 | -0/+65 | |
2020-01-26 | add apk-del(8) | Drew DeVault | 2 | -0/+52 | |
2020-01-26 | add apk-add(8) | Drew DeVault | 2 | -0/+70 | |
2020-01-26 | add apk-repositories(5) | Drew DeVault | 2 | -0/+41 | |