Commit Graph
29 Commits
Author SHA1 Message Date
t3hn3rd f752be48ce refactor/feature/fix: Major refactor of codebase
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
refactor(stdio): replace console/terminal command system with buffer-based stdio
- Introduced stdio.pas as the unified command I/O layer.
- All 31 command procedures across 15 files now receive stdin_buf,
  stdout_buf, and stderr_buf (POutBuf) instead of a single outbuf.
- vterminal.pas creates all three buffers per command invocation and
  displays both stdout and stderr.
- Deleted console.pas, terminal.pas, and 9 obsolete windowing programs
  (shell, splash, edit, memview, themer, netlog, vmlog, vmstate, udpcat).
- Migrated all registerCommand calls to stdio, rewrote vterminal
  processCommand to use stdio.findCommand, and added proper error
  routing to stderr for invalid params, bad paths, and system errors.

refactor(syslog): replace console logging with serial-backed syslog
- Introduced syslog.pas for kernel-level logging over serial/dev.
- Migrated all boot logging in kernel.pas from console.outputln/
  writestringln to syslog.logln/writestringln.
- Converted 19 fault handlers, hashmap, lists, scheduler, tracer, net,
  udp, and all driver init paths to use syslog.
- Rewrote BSOD in util.pas (50+ calls) from console to syslog.
- Removed CONSOLE_SLOW_REDRAW, TRGB565, TRGB565Pair, and HWND
  from system.pas.

fix(keyboard): add ring buffer and proper press/release cycling for LVGL input
- Replaced the single last_key/key_pressed slot in lvgl.pas with a
  16-entry ring buffer (kb_buf, kb_head, kb_tail) to prevent ISR
  overwrites when typing fast.
- Added a kb_pending_release flag so each keystroke gets a
  full PRESSED->RELEASED cycle before the next key is consumed —
  LVGL requires this pairing and was silently dropping intermediate
  keys when receiving consecutive PRESSED events without
  intervening releases.

feat(vterminal): use Hack monospace font for terminal output
- Added Hack Regular 14px (hack_14.c) as a custom LVGL font.
- Removed the .static_bitmap field from the generated font file
  (not present in LVGL 9.2 lv_font_t struct).
- Declared the hack_14 external symbol in lvgl.pas and switched
  vterminal's text label from lv_font_montserrat_14 to hack_14
  for proper monospace terminal rendering.
2026-03-01 02:06:31 +00:00
t3hn3rd 64b3c9a7ba Apache License
Added the apache license to all source files, accounting for authors. Also added a license.md containing the apache license + contributors.md listing all contributors.
2021-06-22 21:31:17 +01:00
kieron fbc59a1617 DHCP Works now.
git-svn-id: https://spexeah.com:8443/svn/Asuro@1034 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2020-07-12 17:02:14 +00:00
kieron db58264fa6 Comments now conform to PasDoc specifications.
git-svn-id: https://spexeah.com:8443/svn/Asuro@749 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2018-10-12 20:49:03 +00:00
kieron 17f41d9794 git-svn-id: https://spexeah.com:8443/svn/Asuro@744 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-13 19:43:43 +00:00
kieron a7c568b06a git-svn-id: https://spexeah.com:8443/svn/Asuro@743 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-13 14:24:12 +00:00
kieron e71b72db8a git-svn-id: https://spexeah.com:8443/svn/Asuro@741 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-13 13:57:06 +00:00
kieron 31af646bf4 git-svn-id: https://spexeah.com:8443/svn/Asuro@740 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-13 13:24:31 +00:00
kieron efb41424dc git-svn-id: https://spexeah.com:8443/svn/Asuro@739 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-13 11:33:06 +00:00
kieron beb04a225a git-svn-id: https://spexeah.com:8443/svn/Asuro@733 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-13 10:35:04 +00:00
kieron 7e293e683b git-svn-id: https://spexeah.com:8443/svn/Asuro@731 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-12 20:25:42 +00:00
kieron fd2364ecaf git-svn-id: https://spexeah.com:8443/svn/Asuro@728 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-12 15:23:38 +00:00
kieron 9a6d556602 git-svn-id: https://spexeah.com:8443/svn/Asuro@714 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-11 07:34:41 +00:00
kieron cbb37f4e5a git-svn-id: https://spexeah.com:8443/svn/Asuro@713 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 17:17:29 +00:00
kieron 125e00fb2f git-svn-id: https://spexeah.com:8443/svn/Asuro@711 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 17:02:27 +00:00
kieron 70002cc772 git-svn-id: https://spexeah.com:8443/svn/Asuro@710 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 16:56:26 +00:00
kieron 413ca35e61 git-svn-id: https://spexeah.com:8443/svn/Asuro@705 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 15:35:35 +00:00
kieron d0257bb59b git-svn-id: https://spexeah.com:8443/svn/Asuro@696 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 12:49:22 +00:00
kieron 35edc9e455 git-svn-id: https://spexeah.com:8443/svn/Asuro@692 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 12:17:35 +00:00
kieron b03ae36a9a git-svn-id: https://spexeah.com:8443/svn/Asuro@682 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 10:33:37 +00:00
kieron 80e373f871 git-svn-id: https://spexeah.com:8443/svn/Asuro@680 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 08:07:13 +00:00
kieron 63b6fd1670 git-svn-id: https://spexeah.com:8443/svn/Asuro@679 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 08:02:14 +00:00
kieron 514b6a1683 git-svn-id: https://spexeah.com:8443/svn/Asuro@678 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 07:56:44 +00:00
kieron fabe8bd6eb git-svn-id: https://spexeah.com:8443/svn/Asuro@677 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-10 07:39:07 +00:00
kieron b42c7641e6 git-svn-id: https://spexeah.com:8443/svn/Asuro@651 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-05-02 17:17:58 +00:00
kieron c8b3b14893 git-svn-id: https://spexeah.com:8443/svn/Asuro@484 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-04-11 14:21:06 +00:00
kieron 16c0580e58 git-svn-id: https://spexeah.com:8443/svn/Asuro@481 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-04-10 21:03:37 +00:00
kieron c477deefb2 git-svn-id: https://spexeah.com:8443/svn/Asuro@472 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c 2018-04-10 15:53:08 +00:00
kieron c56319923a Restructure.
git-svn-id: https://spexeah.com:8443/svn/Asuro@471 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
2018-04-10 15:51:07 +00:00