Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-29 | Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0 | Laurent Bercot | |
flock() doesn't have a way to test for a lock without taking it. lockf() doesn't have shared locks. The only way to have both is fcntl(). So I rewrote all the locking stuff around fcntl(), and used the opportunity to change the interface. The point of changing the interface is to stop having to bother with the old one, so to hell with compatibility, let's just do a major bump. | |||
2020-11-26 | Do not use skalibs/environ.h | Laurent Bercot | |
2020-11-25 | child_spawn cleanup, configure cleanup | Laurent Bercot | |
2020-11-24 | Complete revamp of the pathexec functions | Laurent Bercot | |
- pathexec_run is now called exec_ae a for provided file name (default: argv[0]) e for provided envp (default: environ) - pathexec is now called mexec. m for merge environment. Option letters are: a for provided file name (default: argv[0]) e for provided envp (default: environ) f for provided envp *and* length of the envp m for provided modif string plus its length (the length is always needed because the modifs are null-terminated) n for provided modif string, length *and* number of modifs - functions have a foo0 version for _exit(0) when argv[0] is null - functions have a xfoo version to die if the exec fails - and a xfoo0 - Compatibility #defines and #includes are there until the next major bump | |||
2020-11-20 | Add fd_shutdown() | Laurent Bercot | |
2020-11-08 | Add ipc_bind_reuse_lock, rewrite ipc_bind_reuse to use it | Laurent Bercot | |
2020-10-26 | Refactor textmessage/textclient with channel creation around ancil_* | Laurent Bercot | |
2020-10-26 | Separate and expose ancil_recv_fd/ancil_send_fd | Laurent Bercot | |
The goal is to make late channel creation easy, as opposed to textclient which always creates a new channel at start time. This commit also moves posixishard.h inclusions as late as possible. | |||
2020-10-26 | Change new function names to openc_*; update deps.mak | Laurent Bercot | |
2020-10-26 | Prepare for 2.9.4.0; add open*coe() functions. | Laurent Bercot | |
2020-09-18 | Prepare for 2.9.3.0 | Laurent Bercot | |
2020-09-17 | Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplus | Laurent Bercot | |
2020-04-06 | Prepare for 2.9.2.1 | Laurent Bercot | |
2020-03-21 | bugfix: do not include posixishard.h in an early header! | Laurent Bercot | |
2020-01-27 | Fix shared libs installation; prepare for 2.9.2.0 | Laurent Bercot | |
2019-10-25 | Better bigkv | Laurent Bercot | |
2019-10-25 | Add bigkv | Laurent Bercot | |
2019-10-09 | Add path_canonicalize, prepare for 2.9.1.0 | Laurent Bercot | |
2019-09-20 | We're down to ONE rogue sysdep, boys. ONE. | Laurent Bercot | |
2019-09-04 | Also better when you actually pull the sysdeps | Laurent Bercot | |
2019-09-03 | Big wallclock/stopwatch refactor. It was long overdue. | Laurent Bercot | |
* --enable-clock and --enable-monotonic are gone * tain_sysclock() has been renamed tain_wallclock_read() * tain_wallclock_read() reads from CLOCK_REALTIME (or gettimeofday()) * tain_clockmon[_init]() have been renamed to tain_stopwatch_[read|init]() and now accept a monotonic clock name as an extra argument * tain_now() points to the system (wall) clock by default * tain_now_set_[stopwatch|wallclock]() can be used to switch Now to make a pass on all skarnet.org programs and add a tain_now_set_stopwatch() call everywhere needed... >.> | |||
2019-07-22 | Factor all the BSD complaints into one new header | Laurent Bercot | |
2019-07-11 | bits-fmtscan refactor, part one | Laurent Bercot | |
2019-05-11 | Add tryemptyregex/skalibs_regcomp, prepare for 2.8.1.0 | Laurent Bercot | |
2019-03-08 | Prepare for 2.8.0.1 | Laurent Bercot | |
2019-02-19 | Add skalibs/posixishard.h | Laurent Bercot | |
This will break things. It's a known issue. Patches to other packages will come later, to adapt them to the new API. To work around brokenness, there needs to be *two* different headers: 1. one to be used before including system headers, that maximizes visibility by enabling system-dependent feature test macros (that will be tested by system headers) 2. one to be used after including system headers, that performs preprocessor tests and defines. skalibs/nonposix.h is the first one. Previously, there was no second one, and the tests were scattered all over. There was a strnlen declaration in skalibs/posixplz.h (which serves a totally different function: declaring things that should be in POSIX, but *are not*, i.e. working around problems in the standard, instead of problems in systems failing to respect the standard), a build-time sysdep for error.h, #defines for MSG_NOSIGNAL, etc. etc. skalibs/posixishard.h now is the second one, and centralizes all the tests. As a result, the eproto sysdep is unnecessary and has been removed. skalibs/error.h is now a static header, it is not built anymore. | |||
2019-02-19 | Add DragonFly macro; remove nbwaitall and ancilautoclose | Laurent Bercot | |
2019-02-06 | Rename mkLtemp to mkhtemp; try to make MacOS happy | Laurent Bercot | |
2019-01-08 | Remove mkdir_unique, rewrite atomic_symlink with mkltemp | Laurent Bercot | |
2018-12-08 | Really add mkfootemp and autosurf, I guess ? | Laurent Bercot | |
2018-12-07 | Add mk?temp and autosurf | Laurent Bercot | |
2018-11-14 | Add env_dump() | Laurent Bercot | |
2018-09-30 | Scrap avltreeb, prepare for 2.8.0.0 | Laurent Bercot | |
2018-08-01 | Remove prot | Laurent Bercot | |
2018-07-21 | Remove mininetstring, absolutepath, absolutepath_tmp | Laurent Bercot | |
2018-07-21 | Add unlink_void, change dir_close, prepare for 2.7.0.0 | Laurent Bercot | |
2018-06-24 | Add skagetln_loose, skagetlnsep_loose, ipc_timed_sendv | Laurent Bercot | |
2018-04-13 | Add genset[dyn]_deepfree | Laurent Bercot | |
2018-03-21 | Remove sig_scan, bleh | Laurent Bercot | |
2018-03-21 | Add sig_scan, sig0_scan | Laurent Bercot | |
2018-03-01 | Add byte_zzero, openb_read | Laurent Bercot | |
2018-02-14 | Add execvep_loose, prepare for 2.6.4.0 | Laurent Bercot | |
2018-02-02 | Fix HASSIGNEDSIGNED sysdeps macros, add localtm_from_ltm64 tolerance for ↵ | Laurent Bercot | |
64-bit time_t | |||
2018-01-13 | Prepare for 2.6.3.1 | Laurent Bercot | |
2018-01-03 | Add child_spawn3, make textclient_startf use it | Laurent Bercot | |
2017-12-29 | Add genqdyn | Laurent Bercot | |
2017-12-22 | Deprecate env_get | Laurent Bercot | |
2017-12-22 | Add missing textclient_zero | Laurent Bercot | |
2017-12-22 | Add textclient, fix some textmessage issues | Laurent Bercot | |
2017-12-21 | Add dirfd sysdep, because Solaris sucks | Laurent Bercot | |