Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Tentative magic to support out-of-path CC, especially in cross-builds | Laurent Bercot | |
2019-07-19 | Simplify cross-build support some more | Laurent Bercot | |
2019-07-19 | Accept configure invocation from any directory | Laurent Bercot | |
2019-07-19 | Accept raw external $CC for cross-compiling | Laurent Bercot | |
2019-05-11 | Add tryemptyregex/skalibs_regcomp, prepare for 2.8.1.0 | Laurent Bercot | |
2019-02-24 | -fPIC -> CPPFLAGS_AUTO | Laurent Bercot | |
2019-02-24 | Build as PIC by default | 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 | |
2018-05-03 | Add nullispointer sysdep | Laurent Bercot | |
2018-03-01 | Add byte_zzero, openb_read | Laurent Bercot | |
2018-02-02 | Fix HASSIGNEDSIGNED sysdeps macros, add localtm_from_ltm64 tolerance for ↵ | Laurent Bercot | |
64-bit time_t | |||
2018-01-13 | Only test strnlen visibility in headers | Laurent Bercot | |
2017-12-21 | Add dirfd sysdep, because Solaris sucks | Laurent Bercot | |
2017-12-21 | Big 2.6.3.0 reorganization | Laurent Bercot | |
- Add libposixplz, update headers - Add memmem and friends - Add textmessage to libunixonacid - Update some sysdeps tests | |||
2017-11-22 | Add O_DIRECTORY sysdep | Laurent Bercot | |
2017-10-30 | Make all-pic a user option | Laurent Bercot | |
2017-10-29 | Shut up, grep | Laurent Bercot | |
2017-10-29 | Add pie test, don't double build on pie | Laurent Bercot | |
2017-10-05 | Better *FLAGS management; prepare for 2.6.0.1 | Laurent Bercot | |
2017-08-28 | Add nsgetparent sysdep | Laurent Bercot | |
2017-08-23 | Change xexecvep exit codes ; add namespaces sysdep | Laurent Bercot | |
2017-07-16 | Change setgroups() management, in particular add skalibs_setgroups() | Laurent Bercot | |
2017-07-15 | Add egidingroups sysdeps, because FreeBSD | Laurent Bercot | |
2017-05-15 | bugfixes: invalid clockmon detection and futimens detection | Laurent Bercot | |
2017-05-02 | Fix a configure error message when cross-compiling | Laurent Bercot | |
2017-04-26 | Fix getrandom() detection: need to run the test, not only link! | Laurent Bercot | |
2017-03-13 | Cleanups - mostly removing superfluous includes in headers | Laurent Bercot | |
2017-03-08 | Update documentation for the types change, with some extra fixes | Laurent Bercot | |
Also remove --enable-replace-libc from configure | |||
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. | |||
2016-10-29 | bugfix: correctly read timer_lib when cross-compiling | Laurent Bercot | |
2016-10-24 | Add timer_lib for support (GNU requires -lrt for timer_create!) | Laurent Bercot | |
2016-10-24 | Add the alarm library, first draft. | Laurent Bercot | |
2016-10-16 | Revert SKALIBS_DEFAULTPATH to /usr/bin:/bin | 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-09-27 | configure: allow $CC to have several words | Laurent Bercot | |
2016-09-26 | Replace c99 compiler test with clang | Laurent Bercot | |
2016-08-12 | ... if I stop being an idiot | Laurent Bercot | |
2016-08-12 | And the next iteration! | Laurent Bercot | |
2016-08-12 | Next iteration... BSD shells are BROKEN | Laurent Bercot | |
2016-08-12 | Redirections are hard for the BSD shells | Laurent Bercot | |
2016-08-12 | Next iteration of the spawn.lib experiment | Laurent Bercot | |
2016-08-12 | Solaris fix attempt for spawn.lib detection | Laurent Bercot | |
2016-08-12 | Add spawn_lib support | Laurent Bercot | |
2016-08-10 | Fix posix_spawn() autodetection (it can be in librt) | Laurent Bercot | |
2016-04-27 | Add new sysdeps for futimens() and futimes(), adapt touch() implementation | Laurent Bercot | |
2016-03-19 | More standard support for cross-compilation (--host only, no --enable-cross) | Laurent Bercot | |
2016-03-10 | Change default SKALIBS_DEFAULTPATH to /usr/bin:/usr/sbin:/bin:/sbin to ↵ | Laurent Bercot | |
accommodate s6-linux-init. Also add /command on slashpackage installations. |