| Age | Commit message (Collapse) | Author | 
 | 
i have this in my development tree but i havent used it yet. idk bruh
 | 
 | 
additionally, edit ping to use new abstractions and command declaration
facilities.  TODO: move interaction create event to somewhere else. this
spot isnt too good for it.
 | 
 | 
 | 
 | 
Move HELLO IDENT functionality into util/net
Add ready event in example/hello, grab app id and print info
Change http_request family of functions
 - Remove bufsiz for response code
 - Remove post input pipe in exchange for simple writebuf
Add heartbeat latency ack tracking
Add websocket handle close function (dummy function, to be extended
upon)
Add message for invalid token
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
in subsys.h: include init.h to ensure l5_initcall availability
also: add example/ directory to provide some user-code in the skeleton
(will likely be made defunct as i make the remainder of the skeleton,
such as a /ping command and user action and maybe some buttons, which
will require more organisation)
 | 
 | 
since this project is a skeleton and not meant to clutter up the code
that will actually consume the bot, i've opted to consolidate the
majority of files under a single directory and minimise extra files
*: move code to util/
*: move include files to include/dbs/
net: consolidate net functions into single file
config: remove config
 | 
 | 
also: in makefile add support for deeper c files
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
rearrange print to use internal vaprint to accomadate print
added additional options to vaprint (nolock, noparsecolon, etc)
use subsystem modes to accomadate restarting
 | 
 | 
potential copyright violations??
doesnt matter anyway since i'm going to implement my own panic soon
which should address the downfalls of a generic `die`
 | 
 | 
(log)
 - create LOGLEVEL constant numbers
 - implement CONSOLE_LOGLEVEL
 - color array now uses loglevel constants
 - timestamp now shown (thanks util-linux)
(init)
 - register mainpid
 - hello world print
 - fix process reaper to refer to subsys when reaping
(subsys)
 - create maximum subsystem count
 - create subsystem table
 - add debugging prints to subsystem entry and termination
 - create function to handle process termination (unmap stack, free
   subsystem malloc, clear entry in table)
 - disable subsystem inception
 - change die references to fail with print
 - supply clone with signal to send on termination (SIGCHLD)
 | 
 | 
sprinkle a little bit of commenting throughout the codebase.  hopefully
i dont regret what i've written
- clone: bottom of stack is passed through
- print: write newline at end of message
- initcall: functions return void type
very basic net startup.  hopefully i dont regret implementing the
websocket protocol myself in a language as holy as C.
 | 
 | 
- create subsystem system using clone syscall, shared memory, shared
  file descriptors
- printk-like logging facility (TODO: console loglevel)
- initcall system (like linux kernel)
TODO: determine license
factors: linker.ld, linux kernel licensing (some ideas are more
  liberally taken rather than paraphrased)
 |