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
rearrange and rename to avoid conflicts
sdl2: mouse: support middle button
add sigaction
update readme
build & install as syslibs
dump it to git so I do not lose anything