math: add isnormal
stdint.h: add (u)intmax_t
math: add isinf
sys/time.h: include time.h (depends on it anyway)
sdl2: add KMOD_SHIFT, KMOD_CTRL, KMOD_ALT and KMOD_GUI
sdl2: add SDL_ALPHA_OPAQUE & SDL_ALPHA_TRANSPARENT
limits.h: add UINT16_MAX
sdl2: simplify SDL_CreateRGBSurfaceFrom; add SDL_RenderReadPixels (no pitch used)
sdl2: add SDL_CreateRGBSurfaceWithFormat; use pitch in SDL_CreateRGBSurfaceFrom
add setjmp.h
sdl2: use ARGB32, support SDL_BLENDMODE_BLEND. it IS slower, but stuff works as expected
stdlib.h: EXIT_(SUCCESS|FAILURE)
sdl2: fix scaling when logical render size has not been set
sdl2: keep subevents out of union, reset the entire event on poll
do NOT include <thread.h> in the common header
math.h: add expf, logf, log10f and sqrtf
add strerror
sdl2: fix upper case text input events
add a bit of portmidi stubs
sdl2: add SDL_memset
npe: fix sleep function not being sleepy enough
sdl2: do not send SDL_TEXTINPUT event if a modifier used
sdl2: define SDL_zero and SDL_realloc
sdl2: fix inverted mouse scrolling
turn exit() into a func pointer
forgot to push gettimeofday
sdl2: fix wrong func name and missing scale.c from the build
sdl2: SDL_image stubs
sdl2: move image scaler outside
sdl2: rwops: set ops pointers
sdl2: add SDL_RWops (not tested yet)
sdl2: safe chanclose
mkfile: clean up
sdl2: move threads logic into a separate file, implement SDL_SetThreadPriority, add SDL_CreateThreadWithStackSize
sdl2: move stuff around
sdl2: add empty SDL_syswm.h
add pthread
sdl2: move threads logic to a separate header
dirent.h: define more DT_* values and _DIRENT_HAVE_D_TYPE
limits.h: CHAR_MAX & SCHAR_MAX
math.h: M_PI and powf → pow
strcasestr → cistrstr
stdlib.h: RAND_MAX
add gettimeoday
time.h: include sys/time.h
stat: extend with S_IF* and errno
sdl2: reorganize more, fix audio opening too late
sigaction: print received signal information
sdl2: SDL_audio.h
sdl2: more enhancements
sdl2: take audio logic into a separate file
add (empty) fcntl.h
sdl2: SDL_WaitThread (and proper "detach"), SDL_ShowWindow nop stub; add more scancodes
add strftime nop stub
stat(2): set st_mtime
sys/stat.h: include unistd.h directly here
limits.h: INT8_MAX, UINT8_MAX
add <fts.h> and nop stubs
update license
math.h: fix log2f
stdbool.h: correct ifndef
clarify license (round/trunc are from musl)
log2/log2f: use huge number according to the type
sdl2: fix wrong comment
update readme
sdl2: work around SDL_Init(0) and make SDL_Quit nop for now
use alt+del for SDL_QUIT. alt+f4 is used in FT2 :O
plan9.h → npe.h
sdl2: SDL_GetPrefPath
sdl2: add a small bunch of stuff
add license
sdl2: forgot to export SDL_CreateSystemCursor
sdl2: SDL_Color type
sdl2: SDL_SetTextureColorMod nop stub
sdl2: SDL_CreateSystemCursor nop stub
sdl2: SDL_OpenURL
sdl2: SDL_SetTextureAlphaMod nop stub
add _plan9.h to HFILES
sdl2: SDL_ClearError nop
add _plan9.h for private stuff
time_t and localtime
sdl: remove ft2-clone label, try to use argv0
readme: inform about the stack
sdl2: use alt+f4 to send SDL_QUIT event
sdl2: allow Unicode (besides 9 priv space) as text input event, fix priv space keys when text input is enabled
default to 256k stack for threads
sdl2: clean up includes
plan9.h: include stddef.h directly here, also thread.h if threaded version is used
sdl2: define and use SDL_TEXTINPUTEVENT_TEXT_SIZE for text input events
move exit(3) to plan9.h, choose between threadexitsall and exits depending on __plan9_keep_main__
make "main" function overriding optional
link the guide in the readme
limits: increase PATH_MAX to 4096
getenv: map XDG_* and USER variables to something
relax includes. again.
move custom getenv into the main header
SDL_RenderCopy: fall back to memimagedraw if no stretching done