Commit Briefs

16c7aa4bd9 Thomas Adam

CI: Macos: fix fparseln() compilation

Ensure <util.h> is included so that its implementation of fparseln() can compile.


e234161f4b Thomas Adam

portability: add fgetln/fparseln/libutil.h

This adds compat code for fgetln/fparseln and conditionally includes libutil.h where required. This is needed at the moment for mailcap, but might be useful for other things in the future.


b45ef13d08 Omar Polo

add compats for the time-related macros used by ev


029a63f4cc Omar Polo

compat.h: provide __dead


98d3e6c172 Omar Polo

convert telescope to use ev instead of libevent

libevent is a very cool library, I like the APIs and enjoy using it. However, telescope is not as large and doesn't have as many file descriptor, so libevent is quite ``too big'' for our needs. ev started as a small event loop on top of poll(2) for amused, and can be used here too, it just needed to grow the ability to handle several timers, as we need quite some on telescope (in fact, we use more timers than fds!)


abe0273c04 Omar Polo

add compat for reallocarray()


6ab857d5a8 Omar Polo

move includes back to the root directory

Splitting stuff into sub-directories was just a big mistake.