- Oct 23, 2024
-
-
Rob Swindell authored
Add JS console.ansi_getdims() Use sbbs_t::getdimensions() or JS console.getdimensions() to move user cols/rows values to run-time console values (querying ANSI terminal if appropriate/supported). JS console.pushxy(), popxy(), and gotoxy() all return Boolean now. sbbs_t::getdimensions() and its JS wrapper is now the proper way to propagate user's cols/rows settings to the run-time console values. This was done (post-login) only via use of the TERMROWS and TERMCOLS @-codes in user_settings.js. Weird.
-
- Oct 22, 2024
-
-
Deucе authored
-
Deucе authored
more than 25 years behind the C standard.
-
Deucе authored
receive_thread() needs to use the control session correctly for TLS connections.
-
Deucе authored
-
Rob Swindell authored
Ideally, a sysop would never need to disable FTPS support, but as a trouble shooting measure, it can be helpful.
-
- Oct 21, 2024
-
-
Rob Swindell authored
Using Ctrl-A\ (\1\\) in a bunch of text strings (especially prompts) to better accommodate 40 column terminals. Fixes email/netmail address prompt issue reported by phigan (TACOPRON) along with a bunch of other cosmetic and input issues with 40col terminals.
-
Rob Swindell authored
Fix for issue #798
-
Deucе authored
We need -g to do multi-line matching with -p.
-
Deucе authored
Under SDL2, with HighDPI enabled, we end up with two coordinate systems for our window... there's the pixel coordinates which we draw in, and are available via SDL_GetWindowSizeInPixels(), and there's the "screen" coordinates, which is an underlying source size that is scaled from, and is available via SDL_GetWindowSize(). Mouse events are in the screen coordinates, drawing is in pixel coordinates. This commit converts mouse event positions to pixel coordinates before converting further to text coordinates. :( A specual thanks to u/ten-oh-four for working to track this down with me, they ran multiple experimental builds and collected logs which allowed to to be tracked down. Fixes issue 155
-
- Oct 20, 2024
- Oct 19, 2024
-
-
Rob Swindell authored
SlyEdit: Open the quote file in "binary" mode (only applicable on Windows; same as the fseditor change) See merge request !462
-
SlyEdit: Open the quote file in "binary" mode (only applicable on Windows; same as the fseditor change)
-
Deucе authored
This should ensure that cvstat has the right window size at the start. I hope.
-
Deucе authored
Allow ALT+Arrow to resize from maximized by calling SDL_RestoreWindow() first. This should allow macOS users to escape the weird window size mess it can start in. Still no idea what is actually happening there, but this should at least provide an "out" now. :(
-
Deucе authored
Also, there's SDL_WINDOW_FULLSCREEN_DESKTOP, so or that in even though we don't need to due to how it's defined.
-
Deucе authored
-
Deucе authored
Because things get weird sometimes.
-
Deucе authored
Le sigh for the socket API.
-
Deucе authored
On macOS, fullscreen and maximized are very slightly different, so don't force one to mean the other. However, when entering or leaving fullscreen mode, we need to explicitly make the window resizable or not. Also, update the uifc screen title when the mode changes and we're at one of the main menus... still a bit icky, but likely the best that can be done (won't update if you toggle fullscreen from a sub-menu for example).
-
Deucе authored
This appears to break the mouse position stuff. :(
-
Deucе authored
-
Deucе authored
Decrease height by one to avoid the memo line.
-
Rob Swindell authored
Update date display format to be less ambiguous (more international). js.exec_dir is guaranteed to end in a slash, so no need to add one. Bump version to 3.00.
-
Rob Swindell authored
-
- Oct 18, 2024
-
-
Rob Swindell authored
Code beautification, no functional change other than we're not clearing mouse mode 1016 since I don't have a definiton for that mode yet.
-
Rob Swindell authored
typeof [] returns 'object', not 'array'
-
Rob Swindell authored
This (ever so slightly) optimizes the transmtited ANSI sequences
-
Rob Swindell authored
1001, 1004, 1005, 1007, and 1015 Add ability for the set/clear mouse reporting calls to set/clear 'all' modes with a single function call.
-
Deucе authored
When starting, turn off all mouse modes, then turn on the ones we need instead of relying on the console object to do anything in particular. On exit, explicitly turn off the two modes we had enabled before changing the console setting. Maybe this will fix the SyncTERM bug 153
-
Deucе authored
Windows appears to treat backslashes and slashes the same when using the API, but Windows always returns backslashes. Convert backslashes to slashes in clean_path() to ensure paths compare the same regardless of them being specified with backslashes or slashes. There's still an open question of what to do about paths received from the remote with backslashes in them, but I suspect that doing that would actually work on *nix systems and break on Windows systems, so hopefully whoever does that can fogure out what's going on.
-
Deucе authored
It appears that cache operations in SyncTERM on Windows does not currently work with subdirectories for some reason (likely backslashes). Ensure that after sending a file to be cached, it correctly appears in the cache, and fall back to not using graphics. This will fix the blank board issue in minesweeper with a Windows SyncTERM and fallback to text mode. Once SyncTERM is fixed, it should work in graphics mode too.
-
Deucе authored
The DNS lookup can cause delays on some systems. Fixes bug 154
-
Rob Swindell authored
to node.log via sbbs_t::log()
-
Rob Swindell authored
-
- Oct 17, 2024
-
-
Rob Swindell authored
-
Rob Swindell authored
-