- Jan 14, 2025
-
-
Rob Swindell authored
White-space changes only, exception being the rare insertion of NL before closing brace (couldn't find the option to disable that behavior). I excluded some header files (e.g. sbbs.h) since uncrustify seemed to be doing more harm than good there. I might just end up applying different set of rules to .h files.
-
- Feb 04, 2024
-
-
Deucе authored
Does not fix the NetBSD issue, but should be done anyway.
-
- Nov 22, 2023
-
-
Rob Swindell authored
-
- Apr 04, 2021
-
-
Rob Swindell authored
This macro has expanded to nothing for a while now and even before, the usage was misguided and unnecessary as explained in this video: https://www.youtube.com/watch?v=cjotPqQxxAY
-
- Aug 16, 2020
-
-
Rob Swindell authored
-
- Sep 10, 2019
-
-
deuce authored
Hopfully this doesn't break the Borland or Watcom (?!) builds.
-
- Mar 22, 2019
-
-
rswindell authored
Fix age-old bug with Borland/C++Builder built executables (Windows): to achieve compatibility with the default __cdecl symbol naming rules of Visual C++, we were using __stdcall convention for DLL functions when building code with Borland/C++Builder tools and using the default (__cdecl) convention when building with Microsoft (Visual C++) tools. Although this allowed symbols to be located when linking, the calling convention mismatch caused a stack cleanup issue that very rarely manifested itself in a bug (e.g. exception of some kind in sbbsctrl.exe, usually). Mismatching the calling conventions was unintentional (I thought the default for MSVC DLL functions was __stdcall) - but since the calls to MSVC-Built DLL functions worked 99% of the time, I didn't realize there was an underlying issue. So I now work-around the DLL symbol naming mismatch using a command-line option (-a) passed to implib in src/sbbs3/ctrl/makelibs.bat I had previously worked-around exceptions when calling MSVC DLL functions in sbbsctrl.exe by calling the problematic DLL functions from a timer tick handler rather than a user control (e.g. button) event handler. Those work-arounds can now be removed. The erroneous "DLLCALL" definition design pattern was replicated (copy/pasted) to many other projects' header files in cvs.synchro.net. In the future, we may want to just remove all instances of *CALL since they now serve no purpose and appear as useless "Kruft" (but do allow us to more-easily globally change DLL function calling conventions if/when necessary in the future).
-
- Nov 19, 2016
-
-
sbbs authored
so use shorter thread names.
-
sbbs authored
value is missing or set to 0 in the sbbs.ini file, the sanity checking this value (setting it to 2 seconds) will not occur after a server recycle and the sbbs.ini is re-parsed. So if for any reason, the sem_chk_freq value becomes 0, these server threads won't hog the CPU because they all YIELD at the top of thier main loops. Also, changed all the thread names (e.g. adding "sbbs/" prefix), so they're more sensible in the Linux 'top' output. Also, started adding 'vi' modelines to auto-set tabstops when using vi/vim.
-
- Mar 16, 2014
-
-
deuce authored
better and has a higher alchohol content.
-
- Mar 15, 2014
-
-
deuce authored
Use a linked list to track runtimes, thereby allowing an unlimited number of them. These functions are still needed since Spidermonkey crashes if more than one runtime is created simultaneously.
-
- Mar 13, 2014
-
-
rswindell authored
so the runtime "pool" concept might need to go away. For now, we'll just change the RT_TYPE to RT_UNIQUE (no sharing of runtimes, using more memory) and double the size of the RT pool from 128 to 256. Without sharing, the pool may not make sense unless there is a significant time penalty when first creating RTs (in which case reusing RTs will be faster).
-
- Oct 18, 2012
-
-
deuce authored
-
- Mar 07, 2012
-
-
rswindell authored
-
- Nov 02, 2011
- Oct 28, 2011
-
-
deuce authored
-
- Oct 19, 2011
-
-
rswindell authored
-
- Oct 08, 2011
-
-
deuce authored
Last commit before stuff starts to break.
-
- Apr 03, 2010
- Apr 02, 2010
-
-
deuce authored
every runtime.
-
- Mar 13, 2010
-
-
deuce authored
allow Synchronet to keep running otherwise since there's a limit of 128 runtimes total in the the pool. With this change, the number of runtimes remains constant.
-
- Mar 11, 2010
- Aug 04, 2009
- May 28, 2009
- Dec 10, 2008
-
-
deuce authored
<threadwrap.h> must be included AFTER <jsapi.h> <threadwrap.h> redefines DLLCALL via <wrapdll.h> The other alternative would be including <threadwrap.h> from js_rtpool.h which should not be required.
-
- Dec 08, 2008
- Dec 04, 2008