Commits


revamp a bit the makefile


extend about:license don't mention only all the copyright holder, put the whole blabbering^W text of the license as well. Some names were also missing before. It was unintentional.


bump copyright year


fix CC_ADD_CHECK_FLAGS


clarify ``ev'' can be misunderstood with libev, which is not the case.


identity: don't use getopt() in main we can't portably reset it.


add compats for the time-related macros used by ev


use wmove instead of mvwprintw with an empty format string


add missing time.h include


configure: add -Wno-format-trucation and -Wno-pointer-sign to the mix


compat.h: provide __dead


ev: simplify heap management make ev_timer always use the ``reserve'' space and heapify at the start of the event loop tick. Bonus points for using the better algorithm and remove the unused bubbleup.


ev_timer_cancel: return -1 when not found


ev: fix/improve cancel_timer and ev_timer_cancel we only reach cancel_timer() for timers in the hap, so delete the unreachable code, and improve what we have. When deleting from the reserve space, just move the last element in the place of the removed one, no need to move everything. It'll be heapified later anyway.


ev: fix corruption in bubbledown tmp is of the wrong size, so we memcpy the wrong values. fun.