Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-07 | bytealloc: fix typo | Ori Bernstein | |
< should be <= to match allocation. | |||
2021-08-22 | Add initial openbsd 7.0 support. | Ori Bernstein | |
There's some ABI breakage and some futex work, but it's a lot closer than it wast . | |||
2021-08-20 | lib/http: Free session and request when done. | Frank Smit | |
2021-08-17 | Use correct HTTP headers for response encoding. | Frank Smit | |
2020-12-01 | bytealloc: fix bucket indexing | Mura Li | |
Previously, a blob of size N, where N is a power of 2, will be placed into the 2N-sized bucket. It turns out that the 128 KiB allocation will be assigned to a non-existent 256 KiB bucket and crash the program. Signed-off-by: Mura Li <mural@ctli.io> | |||
2020-10-27 | resolve: fix copy-paste error | Ori Bernstein | |
2020-10-27 | readability: '.port=port' isn't helpful, it's just 53 | Ori Bernstein | |
2020-10-27 | cleanup dns: private maxns, skip failed connnections | Ori Bernstein | |
The previous patches made maxns show up as exported API, when it shouldn't have been. We would also put failed connections into the server list and try to query them. | |||
2020-10-25 | Let dnsconnect handle IPv6. | Frank Smit | |
2020-10-25 | Add missing flowinfo to sockaddr_in6 struct. | Frank Smit | |
2020-10-25 | Query nameservers in parallel. | Frank Smit | |
2020-09-20 | Fix range checking for numbers. | Ori Bernstein | |
2020-08-30 | Fix IPv6 parsing. | Frank Smit | |
2001:b88:1202::10 resulted in [32, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] while it should be [32, 1, 11, 136, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16] | |||
2020-08-30 | Type was not applied to pdst. | Frank Smit | |
2020-08-28 | test/ipparse: put expected and parsed in different buffers | Ori Bernstein | |
2020-08-28 | Fix typo | Ori Bernstein | |
2020-08-28 | copy bytes to a dest buffer. | Ori Bernstein | |
2020-08-09 | merge | Ori Bernstein | |
2020-08-09 | Fix crypto keccak functions with multiple adds. | sgilles@umd.edu | |
2020-06-11 | Unify alignment for heterogeneous tuples. | S. Gilles | |
This only appears to come into play when trying to match memory layout of tuples with structs, or when accessing deeply nested tuples. | |||
2020-05-11 | add OSX recvfrom, fix UDP announce (thanks Int21h) | Ori Bernstein | |
system call to libsys for OS X and also made a minor edit to announcesock so it would work with UDP. | |||
2019-12-05 | [PATCH v2] Force correct sign for intermediate steps of bigmul | sgilles@umd.edu | |
Since y1 is usually smaller than y0, the sign of (x0 - x1) * (y1 - y0) is usually the same as that of (x0 - x1). This isn't always the case, though, especially if y is 2^Large * small. Also, the result of umul should be trimmed, so that we can trust that z0, z1 are trimmed in kmul. Otherwise, if their signs are different, bigadd(z1, z0) may become confused about which has greater magnitude and perform an incorrect subtraction. Since the result of kmul comes from bigadd(), which trims already, we need only trim the result of smallmul to ensure that umul's result is trimmed. | |||
2019-12-01 | [PATCH v2 4/3] Somewhat better error for std.put("{w=?}", "foo") | "S. Gilles" | |
2019-12-04 | Allow specifying padding width from variable | S. Gilles | |
So I can write std.put("{w=?}{w=?}\n", field_a, max_width, field_b, max_width) | |||
2019-12-04 | Make vanext decrement tc.nelt unconditionally | S. Gilles | |
This allows formatting functions to pass off the valist to type-specific formatters, which may themselves consume elements from the valist, and still check for correct argument counts without passing around counter variables. | |||
2019-12-04 | Convert lib/test/fmt.myr to use testr | S. Gilles | |
2019-10-24 | Allow bigdivmod to return remainders between 2^31 and 2^32 | S. Gilles | |
2019-09-10 | Force scientific notation to print trailing 0s | S. Gilles | |
Also, recalculate 2*R + M+ during the Fixup loop. This prevents rare digit miscalculations: e.g. std.put("{e,s=4}\n", std.flt32frombits(0x2899fbf7)) | |||
2019-09-09 | Allow printing fltXY in scientific notation | S. Gilles | |
2019-09-09 | Split out intfmt to a separate file. | S. Gilles | |
This prepares for intfmt being used within fltfmt for the exponent in scientific notation. | |||
2019-09-09 | Specify sigfigs (cutoff + Relative mode) for fltXY formatting | S. Gilles | |
2019-09-07 | Allow padding for fltXY formatting | S. Gilles | |
2019-09-07 | Collect fltXYbfmt parameters into analogue of intparams | S. Gilles | |
2019-07-31 | Fix bug in dump code: Stray '{', wrong args. | Ori Bernstein | |
2019-07-26 | Fix wycheproof tests for curve25519 (thanks Mike) | Ori Bernstein | |
2019-07-25 | Add curv25519 tests (thanks Mike) | Ori Bernstein | |
2019-07-23 | Add OpenBSD 6.4 syscalls | Carlin Bingham | |
Only relevant change between 6.3 and 6.4 is adding unveil: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/kern/syscalls.master.diff?r1=1.188&r2=1.180&f=h | |||
2019-07-22 | Fix std.getcwd on OpenBSD -current | Carlin Bingham | |
The __getcwd syscall returning the length of the string was apparently unintended and was changed in 6.5 -current to return 0 on success: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/kern/vfs_getcwd.c#rev1.33 This causes std.getcwd to return an empty string, which at least breaks `mbld test`. This patch works with both the old and new behaviour. | |||
2019-07-18 | Fix bigand/bigor: Thanks, Mike | Ori Bernstein | |
2019-07-13 | Oops, mangled something with git9. | Ori Bernstein | |
2019-07-14 | Fix crash with large shifts in bigint. | Ori Bernstein | |
2019-07-14 | Fix memory leak in bigparse. (Thanks, Mike) | Ori Bernstein | |
2019-06-13 | Correctly Fused Multiply Add when all top bits cancel. | S. Gilles | |
2019-06-09 | Merge commit 'e09c6b53f3b1928d3752c53c813025dbcbb976e0' | Ori Bernstein | |
2019-06-09 | Fix error message for {} without parameter | S. Gilles | |
Move the nfmt > nvarargs check to where it can detect the imminent bad access. | |||
2019-06-09 | Use fma instead of rote multiplication in powr's final calculation. | S. Gilles | |
Since the exp() we use is sometimes wrong by 1 ulp, the final multiplication has a possibility of increasing that to 2 ulps. Using fma instead makes such a thing much less likely. This makes some of our off-by-0s off-by-1s, and vice versa, but on the whole it is a definite improvement. | |||
2019-06-09 | Test powr. | S. Gilles | |
2019-06-09 | Rewrite powr to use log-overkill. | S. Gilles | |
2019-06-09 | Apply changes of pown to rootn. Faster, better edge handling. | S. Gilles | |
2019-06-09 | Rework pown to be less embarrassingly slow. | S. Gilles | |