AmendHub

jcs

/

subtext

/

amendments

/

main.c

Amendments on February 17, 2022

main+console: Import new focusable code from wallops

jcs made amendment 73 over 2 years ago

Amendments on January 29, 2022


Amendments on January 23, 2022

main: Add submenu for editing each view

jcs made amendment 65 over 2 years ago

Amendments on January 22, 2022


Amendments on January 18, 2022

focusable: Introduce focusable objects

Instead of tracking a current console, track a focusable object that
has callbacks to window-specific functions for things like keyboard
input, mouse input, updating, etc. This lets the main loop not care
about which window is getting input and lets each type of window
(console, settings, etc.) deal with input as it needs to, in its own
file.
jcs made amendment 55 over 2 years ago

Amendments on January 15, 2022

db: Adapt to new bile API

jcs made amendment 52 over 2 years ago

Amendments on January 5, 2022

db+user: Switch database from resource files to bile format

jcs made amendment 48 over 2 years ago

Amendments on January 2, 2022

chat: Only output to a user if their output buffer can handle it

We can't directly output to another user's session from
chat_printf_line because it may call uthread_yield, which won't do
anything since it's interrupting the sender's thread. If the user's
output buffer can't handle the data, just kick them out of chat for
being too lagged.
jcs made amendment 43 over 2 years ago

Amendments on December 31, 2021

*: Lots of unrelated changes lost to repo corruption :(

session: Better handle autologin, look like it's actually logging in
main: Handle GoAway, stop using WaitNextEvent
ansi: Terminate calls to ansi() with ANSI_END instead of NULL
chat: Implement /help and /quit
console: Lots of speed improvements
*: Standarize on "column" and "line"
session: Various bugfixes, mark ending sessions and check everywhere
console: Fix attr resetting in redraw, fixes one-char bold items
session: Support specific-width varible expansion in session_load_view
jcs made amendment 39 over 2 years ago

Amendments on December 12, 2021

ansi: Move ANSI output stuff to dedicated files

Start tallying sessions to be stored in the future
jcs made amendment 27 over 2 years ago

Amendments on December 10, 2021

console: Fix attribute storing, do output from thread

This doesn't seem to break things and makes it more responsive
jcs made amendment 22 over 2 years ago

Amendments on December 7, 2021

session: Support view templates

Properly close sessions in telnet+console
jcs made amendment 17 over 2 years ago

Amendments on December 6, 2021


Amendments on December 5, 2021

db+user: Initial work on creating a database, creating users

Of note, 'C###' templates are a C string in ### bytes in hex, not dec
jcs made amendment 8 over 2 years ago

Amendments on November 30, 2021

console: Add a speed hack to pass in cell hints

Rather than having to scan the entire cell array, just update the
cells in the hints
jcs made amendment 5 over 2 years ago

telnet: Add support for telnet nodes

jcs made amendment 4 over 2 years ago

Amendments on November 28, 2021


Amendments on November 22, 2021

Initial import

Work on a functioning console
jcs made amendment 1 over 2 years ago