home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 48295 
 Rob Swindell (on Windows 11) to Git commit to main/sbbs/master 
 src/sbbs3/js_archive.cpp js_client.cpp j 
 12 Dec 25 22:22:58 
 
TZUTC: -0800
MSGID: 53719.syncprog@1:103/705 2da30e19
PID: Synchronet 3.21a-Linux master/88b423313 Sep 29 2025 GCC 12.2.0
TID: SBBSecho 3.32-Linux master/6bb344da2 Dec 08 2025 GCC 12.2.0
BBSID: VERT
CHRS: ASCII 1
FORMAT: flowed
https://gitlab.synchro.net/main/sbbs/-/commit/e49f928b662f12224817a459
Added Files:
	src/sbbs3/js_archive.cpp js_client.cpp js_com.cpp js_conio.cpp 
s_cryptcert.cpp js_cryptcon.cpp js_cryptkeyset.cpp js_file.cpp j
_file_area.cpp js_filebase.cpp js_global.cpp js_internal.cpp js_main.cpp
js_mqtt.cpp js_msg_area.cpp js_msgbase.cpp js_queue.cpp js_request.cpp
js_rtpool.cpp js_server.cpp js_socket.cpp js_sprintf.cpp js_system.cpp
js_uifc.cpp js_user.cpp js_xtrn_area.cpp jsexec.cpp mailsrvr.cpp services.cpp
websrvr.cpp
Modified Files:
	src/sbbs3/js_bbs.cpp jsdebug.h jsexec.vcxproj logfile.cpp logfile.h
mailsrvr.vcxproj main.cpp mime.h sbbs.h sbbs.vcxproj scfgdefs.h 
ervices.vcxproj ver.cpp websrvr.vcxproj
Log Message:
Convert all C source files that use JavaScript (libmozjs) to C++

C++ is a prerequisite for all modern versions of libmozjs (SpiderMonkey).

This commit is *not* updating libmozjs, it's just doing the C->C++ conversion
using the minimum number of changes to get it to compile and run as before
using MSVC Version 19.44.35217 and GCC 11.4.0. There are still some new
warnings now however.

In general, MSVC was more permissive than GCC/G++.

This commit consists of renaming of files and resovling errors and warnings:
  - More typecasts (preferring static_cast<> where possible, mostly)
  - More proper constification (of char *'s)

Detecting C++ compilation no can be used to infer "sbbs/Terminal Server" as
JSexec and all of the other servers (except the FTP server) are now C++ as
well. This required linking the (new) SFTP library into other server projects
.

There is a concern with services.cpp and a potential (new) memory leak with
the protected_uint32_t clients member of service_t. This is now an _Atomic
type in C++ which doesn't have a copy or move constructor so manual allocation
was required and we're probably not deleting/freeing it entirely upon shutdown
or recycle. Need to follow-up on that.

After this (more C++ heavy) build is determined to be solid, we can start
tackling the next steps in upgading libmozjs (likely version 78).
--- SBBSecho 3.32-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 10/0 1 102/401 103/705 105/81 106/201 124/5016 128/187 129/14
SEEN-BY: 153/7715 154/110 214/22 218/0 1 215 700 810 226/30 227/114
SEEN-BY: 229/110 134 206 317 400 426 428 470 700 705 266/512 280/464
SEEN-BY: 291/111 301/1 320/219 322/757 342/200 396/45 460/58 633/280
SEEN-BY: 712/848 902/26 5075/35
PATH: 103/705 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca