Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-17 | More types changes | Laurent Bercot | |
New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet | |||
2017-02-15 | add arc4random_addrandom sysdep; next batch of types changes. | Laurent Bercot | |
The library isn't supposed to be functional yet: there are still a lot of type mismatches. | |||
2017-01-25 | More work on the types. This commit builds but has errors. | Laurent Bercot | |
Rework src/headers entirely: build skalibs/types.h Convert skalibs/fmtscan.h types. Propagate changes until it builds. There are a lot of incompatible pointer issues remaining, those will be fixed with the buffer overhaul. | |||
2017-01-21 | Types fix: librandom, libstdcrypto | Laurent Bercot | |
2016-10-24 | Add the alarm library, first draft. | Laurent Bercot | |
2016-10-19 | Better random_uint32 uniformity algorithm | Laurent Bercot | |
2016-10-19 | Add child_spawn2 | Laurent Bercot | |
2016-10-14 | Include skalibs/nonposix.h so BSDs can find arc4random | Laurent Bercot | |
2016-10-14 | Clean up and modernize librandom. | Laurent Bercot | |
Correct random number generation has historically been suprisingly painful to achieve. There was no standard, every system behaved in a subtly different way, and there were a few userland initiatives to get decent randomness, all incompatible of course. The situation is a bit better now, we're heading towards some standardization. The arc4random() series of functions is a good API, and available on a lot of systems - unfortunately not Linux, but on Linux the new getrandom() makes using /dev/random obsolete. So I removed the old crap in librandom, dropped EGD support, dropped dynamic backend selection, made a single API series (random_* instead of goodrandom_* and badrandom_*), added an arc4random backend and a getrandom backend, and defaulted to /dev/urandom backed up by SURF in the worst case. This should be much smaller and logical. However, it's a major API break, so the skarnet.org stack will be changed to adapt. | |||
2016-07-20 | Add ipc_timed_recv | Laurent Bercot | |
2016-07-20 | Add ipc_timed_send | Laurent Bercot | |
2016-07-17 | add new leap second: 2016-12-31 23:59:60 UTC | Laurent Bercot | |
2016-04-27 | Add new sysdeps for futimens() and futimes(), adapt touch() implementation | Laurent Bercot | |
2016-04-22 | Fix closecb support wherever a unixmessage may get dropped; add closecb ↵ | Laurent Bercot | |
support to unixconnection | |||
2016-02-02 | Tentative re-commit of the closecb feature | Laurent Bercot | |
2016-02-02 | Revert " Add support for advanced closing callbacks to ↵ | Laurent Bercot | |
unixmessage_sender_flush." This reverts commit c9c7e241a7b68f67e0cc8a7d3874510dced532d6. (something is segfaulting, reverting until I find the fix) | |||
2016-01-18 | Add support for advanced closing callbacks to unixmessage_sender_flush. | Laurent Bercot | |
(Typically, this will be used for refcounting when broadcasting copies of the same fd.) | |||
2016-01-05 | Add bitarray_first{clear,set}_skip (thx jjk) | Laurent Bercot | |
version: rc for 2.3.9.0 after Makefile fix | |||
2015-10-14 | - Remove /etc/leapsecs.datv2.3.8.0 | Laurent Bercot | |
- Publish tools to create the leap second table as a .c - Simplify functions using leap seconds - rc for 2.3.8.0 | |||
2015-09-27 | Fix dependencies for filecopy_suffix.o | Laurent Bercot | |
2015-08-13 | Add atomic_rm_rf and atomic_rm_rf_tmp | Laurent Bercot | |
2015-07-13 | - sysdeps for strnlen (Solaris... sigh) | Laurent Bercot | |
- rc for 2.3.5.2 | |||
2015-06-03 | Bugfix: remove overflow checking in tai?_add/subv2.3.5.0 | Laurent Bercot | |
(because it doesn't work with relative times, duh!) | |||
2015-06-02 | Turn non-linear buffer macros calling str_len() into functions. >.> | Laurent Bercot | |
2015-05-16 | C macros suck. Rewrote the case_diffb thing. | Laurent Bercot | |
2015-05-16 | - add bitarray_count | Laurent Bercot | |
- add openwritevnclose_at - rc for 2.3.5.0 | |||
2015-05-05 | - add stat_at | Laurent Bercot | |
- make case_diff* work as a function is more cases - make sig_number case-insensitive - make child signal unblocking work in child_spawn* | |||
2015-03-27 | - added sha512 (buggy, need to commit to test somewhere else) | Laurent Bercot | |
- version bump (not a rc yet) - bugfix: buffer_get returned -1 EPIPE on short reads w/o EOF | |||
2015-02-23 | Add hiercopy and hiercopy_tmpv2.3.1.0 | Laurent Bercot | |
2015-02-20 | Fix deps.mak after last change | Laurent Bercot | |
2015-02-15 | Bugfix: SKALIBS_ETC undefined (djbtime-internal.h didn't include config.h)v2.3.0.0 | Laurent Bercot | |
-> leapsecs_add failed. Thanks Gorka Lertxundi for the report. | |||
2015-02-05 | - Add siovec_trunc | Laurent Bercot | |
- Add openwritevnclose - replace buffer_read/write with fd_readsv/writesv - add localtmn_from_tain_g - refactor cdb_make - rewrite buffer_getvall and buffer_putvall, with a bugfix | |||
2015-02-01 | Add allreadwritev and friends | Laurent Bercot | |
2015-01-19 | - Added unixconnection | Laurent Bercot | |
- Added sig_name & sig_number (suggestion from Olivier Brunel) - version bumped to 2.2.1.0, rc | |||
2015-01-10 | Bugfix: unixmessage_sender_free didn't close all the pending fds | Laurent Bercot | |
2015-01-09 | Add unixmessage_unput, for transaction cancellation | Laurent Bercot | |
2015-01-09 | Add cancellation to iterators over avltree(n) and genset(dyn) | Laurent Bercot | |
2015-01-09 | tai conversion functions overhaul. | Laurent Bercot | |
API change -> rc for 2.2.0.0 Doc updated. | |||
2015-01-06 | Fix uintXX_fmtlist and uintXX_scanlist includes | Laurent Bercot | |
2015-01-06 | - Bugfixes in unixmessage/skaclient (short writes / fd leakage / DoS)v2.1.0.0 | Laurent Bercot | |
- ABI change: unixmessage protocol header is now 6 bytes (was 8) - API change: skaclient_start(_async) now takes an "options" argument - version increase to 2.1.0.0 | |||
2015-01-04 | Add unixmessage_drop and some stuff in skaclient | Laurent Bercot | |
2015-01-02 | Add skaclient_syncify for easier async/sync handling | Laurent Bercot | |
2015-01-02 | Remove the --enable-right-tz configure option. | Laurent Bercot | |
Make it a run-time autodetection instead. Update doc. Thanks to Paul Jarc for the suggestion. | |||
2014-12-20 | Found the BSD unixmessage bug. recvmsg(..., MSG_WAITALL) blocks | Laurent Bercot | |
until buffer full or socket shutdown on BSD, *even if the socket is nonblocking*. So I added an "okwaitall" sysdeps, and won't set MSG_WAITALL on retarded systems. | |||
2014-12-18 | Separate socket from pipe in child_spawn. Less code in skaclient! | Laurent Bercot | |
2014-12-09 | Remove deprecated sig.c and useless select wrapper | Laurent Bercot | |
2014-12-06 | Rewrite unixmessage_receiver without buffer, only cbuffer | Laurent Bercot | |
2014-12-05 | It's possible to statically initialize unixmessage_receiver_0 | Laurent Bercot | |
2014-12-05 | Add skagetln_nofill | Laurent Bercot | |
2014-12-05 | More adjustments to unixmessage and skaclient | Laurent Bercot | |