• src/sbbs3/js_msg_area.c

    From rswindell@VERT to CVS commit on Sat Jun 9 21:54:00 2018
    src/sbbs3 js_msg_area.c 1.69 1.70
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv1588

    Modified Files:
    js_msg_area.c
    Log Message:
    Add (finally) fido_netmail_settings and inet_netmail_settings (bit-field) properties to msg_area object. See NMAIL_* in sbbsdefs.js for the bit values.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jul 28 13:15:00 2018
    src/sbbs3 js_msg_area.c 1.70 1.71
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv10806

    Modified Files:
    js_msg_area.c
    Log Message:
    Fix apparent typo in revision 1.69 by deuce



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Jul 26 12:03:11 2019
    src/sbbs3 js_msg_area.c 1.71 1.72
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28089

    Modified Files:
    js_msg_area.c
    Log Message:
    Add the new sub "print_mode" configuration property (P_* flags) to use when printing messages in this sub via putmsg, etc.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Aug 1 22:28:53 2019
    src/sbbs3 js_msg_area.c 1.72 1.73
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv30253

    Modified Files:
    js_msg_area.c
    Log Message:
    Expose the new sub n_pmode setting (bitfield) as the "print_mode_neg" property.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Jan 1 12:28:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2d421cb3bc706591c9f76508
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    Fix: can_* and is_* properties were not dynamic. Added "posts" property.

    The following properties would only reflect the status at the time the
    msg_area object was initialized:
    - can_access
    - can_read
    - can_post
    - is_operator
    - is_moderated

    ... so if changes were made the user while online, for example, these
    property values would *not* also change to reflect the current state.

    The grp[] and grp_list[] 'can_access' properties still have this flaw.

    Also: Add a new "posts" property to the sub[] and sub_list[] objects to
    report the current number of posted messages (quicker than opening a MsgBase instance).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Jan 1 12:41:36 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/b6584f1e735f735feb3079fd
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    Fix NULL-ptr dereferences when subscan is NULL

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Jan 1 13:34:20 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/a30b854100676b2c72aadfdc
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    "posts" property doesn't rely on subscan pointer.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Jan 4 07:56:50 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/9314c48c862d5767842cba08
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    Fix sub[] property setter - private data pointer type wrong

    The private data pointer is no longer a subscan_t*. This likely explains the reported crashes when using DDMsgReader and the most recent changes (fixes) to the msg_area object.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Jan 4 08:34:36 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/48709dcb456c6ef94d2ada39
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    Fix: sub[] property getter needs to return TRUE always

    ... even when there's no private data.

    Should fix "TypeError: sub.code is undefined"

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Rob Swindell on Mon Jan 4 08:35:56 2021
    Re: src/sbbs3/js_msg_area.c
    By: Rob Swindell to Git commit to main/sbbs/master on Mon Jan 04 2021 12:56 pm

    The private data pointer is no longer a subscan_t*. This likely explains the reported crashes when using DDMsgReader and the most recent changes (fixes) to the msg_area object.

    I've seen the posts on the crashes. I'm not entirely sure what the isue might be, but do you think there's anything I might need to change in my reader?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Mon Jan 4 09:00:12 2021
    Re: src/sbbs3/js_msg_area.c
    By: Nightfox to Rob Swindell on Mon Jan 04 2021 01:35 pm

    Re: src/sbbs3/js_msg_area.c
    By: Rob Swindell to Git commit to main/sbbs/master on Mon Jan 04 2021 12:56 pm

    The private data pointer is no longer a subscan_t*. This likely explains the reported crashes when using DDMsgReader and the most recent changes (fixes) to the msg_area object.

    I've seen the posts on the crashes. I'm not entirely sure what the isue might be, but do you think there's anything I might need to change in my reader?

    No, it was just a side-effect of a different bug-fix I made on Jan-1. The side-effect bug should now be fixed too.
    --
    digital man

    Synchronet/BBS Terminology Definition #55:
    PCMS = Programmable Command and Menu Structure (introduced in SBBS v2)
    Norco, CA WX: 62.8øF, 58.0% humidity, 10 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Jan 4 13:53:09 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/9e85be8fe69371e310899e2f
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    Setter needs to return true even when the scan pointer is NULL

    (e.g. when run as a timed event) - this bug was introduced in the "Fix sub[] property setter" crash bug fix 2 commits ago.
    This fixes the "TypeError: sub.code is undefined" error.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 09:38:22 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2faa619e13ae9d9164f87195
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    mod_ar is not a pointer, it's an array.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Feb 10 21:52:17 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/58a0af35627eadbbdb4e4159
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    Add 'fidonet_addr' property to msg_area.sub[]

    Fixes issue #398

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Sep 18 14:32:21 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4beab2c67bcb56ceec7142da
    Modified Files:
    src/sbbs3/js_msg_area.c
    Log Message:
    Use JS_ValueToECMAUint32() instead of JS_ValueToInt32() for scan_ptr prop set

    scan_cfg and last_read props too. This gives us use of the entire 32-bit range of an unsigned int. But does someone actually have a message base with message numbers in the billions?

    This is an attempt to fix isssue #792, but I suspect scan_ptr might instead be trying to be set to NaN or ... ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net