- Apr 15, 2020
-
-
rswindell authored
-
rswindell authored
I noticed that more than one caller of smb_open_sub() would not call smb_create() if the sub had not been previously "created" and in some of the instances where they did call smb_create(), if create failed, the message base was errorneously left open. So just do the create here to elmiinate the chance of error (forgetting) and redundancy of logic.
-
- Apr 14, 2020
-
-
rswindell authored
builds.
-
deuce authored
-
deuce authored
center the xim in the resulting window and fill the rest with black.
-
deuce authored
Resize the xim if the window isn't scaled.
-
deuce authored
The xim wasn't scaled to the new size (ever)
-
deuce authored
-
deuce authored
be expanded if people like it... this can be used to store and replay data, making sprites a lot easier to implement client-side.
-
deuce authored
-
deuce authored
Because the test to continue is *after* the loop, we can't continue when c is the last index into lzh->son, or the code will make use of lzh->son[sizeof(lzh->son)/sizeof(lzh->son[0])] which is outside the bounds of the array.
-
deuce authored
32-bit Linux systems.
-
deuce authored
Found by Coverity.
-
deuce authored
-
deuce authored
Fixes coverity warning in SyncTERM... matches the size all callers currently use.
-
rswindell authored
-
rswindell authored
easily result in a message body being added to a message base with no accompanying message header: if the header data was 0-length, the hfield_dat was not actually allocated and the applicable smbmsg_t convenience pointer was not set accordingly. This had the side effect that if a message were to be imported with a blank recipient ("To" field), the header was not created at all (to support mutliple header, single body msgs, i.e. bulkmail). The other functions that set the convenience pointers do not treat 0-length header field data special, so this was inconsistent behavior. Most message types (e.g. networks) don't want 0-length "to" fields, but that shoudl be enforced somewhere else, not here.
-
rswindell authored
So on Windows, calling unlock() on a file region that you don't have locked, incurs a delay. Likewise, calling lock() on a file region that already have locked incurs a delay. These delays were seriously throttling message imports on Windows (e.g. importing echomail or QWK packets). What should take a few seconds, was taking minutes with noticeable delays. This code has been performing redundant locks/unlocks for over 15 years, so I can only conclude that the performance penalty is a new behavior introduced in recent version(s) of Windows.
-
rswindell authored
end of the file.
-
- Apr 13, 2020
-
-
deuce authored
-
nightfox authored
The area change feature now uses DDLightbarMenu. There is no more internal lightbar code in this message reader. This requires the latest dd_lightbar_menu.js (in sbbs/exec/load).
-
nightfox authored
Screen refresh optimization: Only do PageUp and PageDown if not already at the top or bottom of the menu items. If already there, don't redraw the menu items.
-
deuce authored
MSS for the packet size. Fixes problem with telnet server where large transfers were full packets followed by a 12 byte packet. Also removes hack in webserver that always assumed timestamps were enabled. The Win32 code has not been tested, but is assumed to work perfectly.
-
deuce authored
Various sixel fixes for sixel scroll mode.
-
rswindell authored
-
rswindell authored
SBBSCTRL "About" dialog box) and then exit.
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
If this doesn't fix the copy/paste issues nelgin was having, nothing will.
-
deuce authored
-
deuce authored
-
deuce authored
tree to commit both at once. There was a crash when wrapping at the end of a search. Now there isn't. You're welcome.
-
deuce authored
If you change the current mode before exiting, your window size will not be saves. Also, fix crash in search when there's a blank option at the end.
-