• src/sbbs3/js_msg_area.c

    From rswindell@VERT to CVS commit on Sunday, June 10, 2018 08:54:00
    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 Sunday, July 29, 2018 00:15:00
    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 Friday, July 26, 2019 23:03:11
    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 Friday, August 02, 2019 09:28:53
    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 Saturday, January 02, 2021 01:28:31
    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 Saturday, January 02, 2021 01:41:36
    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 Saturday, January 02, 2021 02:34:20
    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 Monday, January 04, 2021 20:56:50
    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 Monday, January 04, 2021 21:34:36
    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 Monday, January 04, 2021 21:35:56
    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 Monday, January 04, 2021 22:00:12
    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 Tuesday, January 05, 2021 02:53:09
    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