summaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)Author
2017-05-16 Accommodate some broken GNU toolchains by including sys/types.h in sysdeps ↵Laurent Bercot
tests
2017-04-30 Add _DEFAULT_SOURCE ftm to skalibs/nonposix.hLaurent Bercot
2017-04-28 Change SKALIBS_NSIG to SKALIBS_DEFAULT_NSIG and NSIG to SKALIBS_NSIG to ↵Laurent Bercot
accommodate OpenBSD snowflakiness
2017-04-28 Always pair skalibs/nsig.h with skalibs/nonposix.h (and screw NSIG with a ↵Laurent Bercot
chainsaw)
2017-04-28 Fix NSIG definition (max+1 instead of max)Laurent Bercot
2017-04-28 OpenBSD doesn't export a proper NSIG without __BSD_VISIBLE. Ah, OpenBSD.Laurent Bercot
2017-03-13 Cleanups - mostly removing superfluous includes in headersLaurent Bercot
2017-02-22 Types change: switch libdatastruct to uint32_tLaurent Bercot
Still needs to be reviewed.
2017-02-21 Types change: big pass on libstddjb and libunixonacidLaurent Bercot
libdatastruct still missing, library still not functional
2017-02-17 More types changesLaurent 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, libstdcryptoLaurent Bercot
2017-01-21 Types fix, start: preparation and libbiguintLaurent Bercot
2016-10-24 Add the alarm library, first draft.Laurent Bercot
2016-10-19 Add child_spawn2Laurent Bercot
2016-10-14 More typo fixingLaurent 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 Actually call ipc_timed_recv ipc_timed_recvLaurent Bercot
2016-07-20 Add ipc_timed_recvLaurent Bercot
2016-07-20 Add ipc_timed_sendLaurent 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 featureLaurent Bercot
2016-02-02Revert " 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-08-25 Add touch, filecopy_unsafe, filecopy_suffixLaurent Bercot
2015-08-13 Add atomic_rm_rf and atomic_rm_rf_tmpLaurent Bercot
2015-07-20 - fd_close fixLaurent Bercot
- add openreadnclose_nb - rc for 2.3.6.0
2015-07-13 - sysdeps for strnlen (Solaris... sigh)Laurent Bercot
- rc for 2.3.5.2
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_countLaurent Bercot
- add openwritevnclose_at - rc for 2.3.5.0
2015-05-05 - add stat_atLaurent 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-04-08 - added str_nlen()Laurent Bercot
- various fixes for --enable-libc-replacements
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.0Laurent Bercot
2015-02-19 - Add wait_estatus()Laurent Bercot
- version: rc for 2.3.1.0
2015-02-18 Modify wait_status to return 256 when WIFSIGNALEDLaurent Bercot
2015-02-08 Typo fix in unixmessage.hLaurent Bercot
2015-02-07 - Doc updateLaurent Bercot
- version: 2.3.0.0 rc
2015-02-05 - Add siovec_truncLaurent 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 friendsLaurent Bercot
2015-01-30 make fd_sanitize check stderr tooLaurent Bercot
2015-01-21 Bugfix: definition of UNIXCONNECTION_ZEROLaurent Bercot
2015-01-21 Bugfix: definition of avltreeb_extremeLaurent Bercot
2015-01-19 - Added unixconnectionLaurent Bercot
- Added sig_name & sig_number (suggestion from Olivier Brunel) - version bumped to 2.2.1.0, rc
2015-01-10 Gnfrlbl... gensetdyn_iter is an unsigned int again, but the valueLaurent Bercot
is now tested against gensetdyn_n(g). It's cleaner, I swear.
2015-01-10 Change gensetdyn_iter to be a boolean. The old behaviour is stillLaurent Bercot
accessible via gensetdyn_iter_nocancel.
2015-01-09 Add unixmessage_unput, for transaction cancellationLaurent Bercot