• exec/load/dd_lightbar_menu.js

    From nightfox@VERT to CVS commit on Mon Dec 24 00:56:41 2018
    exec/load dd_lightbar_menu.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv14772

    Added Files:
    dd_lightbar_menu.js
    Log Message:
    Renamed DDLightbarMenu.js to dd_lightbar_menu.js to be more inline with the other filenames in the Synchronet CVS repository


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sat Mar 23 05:00:05 2019
    exec/load dd_lightbar_menu.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15817

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Added the AddAdditionalQuitKeys() method, to add additional key characters to quit out of the meu in addition to ESC. It takes an array of key characters as strings. For example:
    lbMenu.AddAdditionalQuitKeys(["q", "Q"]);


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sat May 11 18:06:44 2019
    exec/load dd_lightbar_menu.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv24802

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Now supports a title in the top border line: Added a new property for the DDLightbarMenu object, menuTitle, which is a string that specifies the title text to write in the top border (if the border is being displayed). It defaults to an empty string (for no title). Synchronet attribute codes are supported.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sat May 11 18:22:14 2019
    exec/load dd_lightbar_menu.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv26881

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Fixed a bug that somehow crept in: Tthe check mark for selections in multi-select mode was being displayed in the wrong place when using a menu border.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Mon May 13 00:12:20 2019
    exec/load dd_lightbar_menu.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15387

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Renamed the menuTitle property to topBorderText. Added a bottomBorderText property, for text to be displayed in the bottom border.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Feb 9 16:15:02 2020
    exec/load dd_lightbar_menu.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15577

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    New function: AddAdditionalSelectItemKeys(), which adds additional keys that can be used to select any item (in addition to Enter). This function takes an array, and the keys are case-sensitive. For example, to add the key E to select any item (assuming the menu object is lbMenu):
    lbMenu.AddAdditionalSelectItemKeys(["E"]);
    To make a case-insensitive verison, both the uppercase and lowercase letter would need to be added, as in the following example for E:
    lbMenu.AddAdditionalSelectItemKeys(["E", "e"]);

    Also, after showing the menu & getting a value from the user (using the GetVal() function), the lastUserInput property will have the user's last keypress.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Sun Feb 9 16:53:09 2020
    Re: exec/load/dd_lightbar_menu.js
    By: nightfox to CVS commit on Sun Feb 09 2020 11:15 am

    exec/load dd_lightbar_menu.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15577

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    New function: AddAdditionalSelectItemKeys(), which adds additional keys that can be used to select any item (in addition to Enter). This function takes an array, and the keys are case-sensitive. For example, to add the key E to

    An array of strings is an odd way to represent an array of keys. Is each only only one character? If so, then a string is the normal way to represent an array of characters.

    digital man

    This Is Spinal Tap quote #8:
    Derek Smalls: Making a big thing out of it would have been a good idea.
    Norco, CA WX: 56.7°F, 70.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Mon Feb 10 01:05:37 2020
    Re: exec/load/dd_lightbar_menu.js
    By: Digital Man to nightfox on Sun Feb 09 2020 11:53 am

    An array of strings is an odd way to represent an array of keys. Is each only only one character? If so, then a string is the normal way to represent an array of characters.

    I suppose that's true. I should probably change it as such.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Mon Feb 10 01:38:58 2020
    exec/load dd_lightbar_menu.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv3623

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    AddAdditionalSelectItemKeys() now takes a string specifying additional keys rather than an array of strings. For instance, if you want both lowercase 'e' and uppercase 'E' to allow selecting an item, the call would look like this (assuming lbMenu is the menu object):
    lbMenu.AddAdditionalSelectItemKeys("eE");

    Also, changed AddAdditionalQuitKeys() to work the same way.

    Note: If you are using SlyVote, you will need to also update SlyVote, since SlyVote has also been updated to call AddAdditionalQuitKeys() this way.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Mar 29 20:08:05 2020
    exec/load dd_lightbar_menu.js 1.7 1.8
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25167

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    The HOME and END keys now go to the first and last item in the whole list, rather than just the current page. This behavior is more consistent with things like sbbslist.js.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Mon Mar 30 21:50:24 2020
    exec/load dd_lightbar_menu.js 1.8 1.9
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv6073

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Now uses console.strlen() to measure printed text length rather than strip_ctrl(text).length.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Wed Apr 1 01:06:54 2020
    exec/load dd_lightbar_menu.js 1.9 1.10
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15214

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Scrollbar functionality finally exists now, even though there was already a property to toggle a scrollbar from the beginning.. A scrollbar can be useful to visually show how far the user is in the list of items, particularly if the list is long.
    You can enable the display of a scrollbar by setting the scrollbarEnabled property to true. By default, it is false. For instance (assuming the menu object is lbMenu):
    lbMenu.scrollbarEnabled = true;
    When enabled, the scrollbar will appear on the right side of the menu. If borders are enabled, the scrollbar will appear just inside the right border. Also, if the scrollbar is enabled but all the items would fit in a single "page" in the menu, then the scrollbar won't be displayed.
    The scrollbar uses block characters to draw the scrollbar: ASCII character 176 for the background and ASCII 177 for the block that moves on the scrollbar. If you want to change those characters, you can change the scrollbarInfo.BGChar and scrollbarInfo.blockChar properties in the menu object.
    By default, the scrollbar colors are high (bright) black for the background and high (bright) white for the moving block character. If desired, those can be changed with the colors.scrollbarBGColor and colors.scrollbarScrollBlockColor properties in the menu object.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sat Apr 4 19:06:12 2020
    exec/load dd_lightbar_menu.js 1.10 1.11
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv941

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    When displaying the menu items, rather than directly referring to the list of menu item objects, there are now a couple of functions (mainly for internal use), NumItems() (which returns the number of items) and GetItem() (which returns a specific menu item object). The intent is that calling code can replace these two functions in the DDLightbarMenu object to have the DDLightbarMenu effectively access a different list of items rather than its own list of items. This can be more efficient, for instance, in scripts that are working with a Synchronet messagebase, to avoid calling DDLightbarMenu's Add() function to add/copy a bunch of data, which can take significant time (i.e., if a messagebase contains a lot of messages).

    The colors.itemColor and colors.selectedItemColor properties in a DDLightbarMenu object can now be either a string (with Synchronet color/attribute codes for the item text) or an array with objects specifying color/attribute codes for different parts of an item's text string displayed on the menu.
    Item color arrays: Currently, colors.itemColor and colors.seletedItemColor within a DDLightbarMenu object can be either a string (containing color/attribute codes) or an array with color/attribute codes for different sections of the item strings to display in the menu. The array is to contain objects with the following properties:
    start: The index of the first character in the item string to apply the colors to
    end: One past the last character index in the string to apply the colors to
    attrs: The Synchronet attribute codes to apply to the section of the item string
    For the last item, the 'end' property can be -1, 0, or greater than the length of the item to apply the color/attribute codes to the rest of the string.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sat Apr 4 23:21:34 2020
    exec/load dd_lightbar_menu.js 1.11 1.12
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv15919

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    The list of hotkeys for a menu item is now a string instead of an array of strings


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Apr 5 01:22:38 2020
    exec/load dd_lightbar_menu.js 1.12 1.13
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv2433

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu now has a couple of alternate item color properties, colors.altItemColor and colors.altSelectedItemColor. The menu item objects have a new property, useAltColors, which is a boolean that specifies whether to use the alternate colors (if false, the menu will use the regular colors). useAltColors is false by default.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Apr 5 18:02:29 2020
    exec/load dd_lightbar_menu.js 1.13 1.14
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv28841

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Typo fixed: GetTopItemIdxToTopOfLastPage -> GetTopItemIdxOfLastPage


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Apr 5 22:07:35 2020
    exec/load dd_lightbar_menu.js 1.14 1.15
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv3775

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Each menu item can now (optionally) have its own colors specified. If specified, the colors set in an item object take precedence over the item colors set in the DDLightbarMenu object. The itemColor and itemSelectedColor properties in an item object set the normal and selected item color, respectively, and they default to null (no color specified, so the menu would default to the menu object's configured item colors).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Apr 5 22:41:45 2020
    exec/load dd_lightbar_menu.js 1.15 1.16
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv8963

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    In the user input loop, the case for checking the additional quit keys was moved above the case checking for the spacebar. The spacebar normally selects an item in multi-select mode, but the calling code might want the spacebar to be an additional keypress for exiting out of the menu input loop (i.e., if the calling code wants to respond to the spacebar to do something else).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Mon Apr 6 21:03:29 2020
    exec/load dd_lightbar_menu.js 1.16 1.17
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv2612

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    For a screen update optimization, implemented a way to temporarily restrict which part of the items to draw the next time Draw() is called (and thus when WriteItem() is called for each tiem). There is a new property in the DDLightbarMenu class, nextDrawOnlyItemSubstr, that can be set to an object with 'start' and 'end' properties specifyign the start and end indexes (1 past the last char index) of the item strings to write in the menu the next time Draw() is called. Draw() will then set nextDrawOnlyItemSubstr to null when it's done.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Tue Apr 7 17:40:20 2020
    exec/load dd_lightbar_menu.js 1.17 1.18
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv1241

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    The F and L keys now nagivate to the first & last pages, respectfully (unless the calling code has added either of those keys as additional keys to exit the input loop in case the calling code wants to handle those keys for something). Also, fixed a minor bug in calculating the length of items to print when the scrollbar is enabled but not refreshed on the screen when writing the items.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Tue Apr 7 20:31:55 2020
    exec/load dd_lightbar_menu.js 1.18 1.19
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27288

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    On second thought, F and L for first & last page isn't really needed, since Home and End do that.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Apr 12 05:20:44 2020
    exec/load dd_lightbar_menu.js 1.19 1.20
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv8277

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    The new property nextDrawOnlyItems is an array that contains indexes for specific items to be written the next time the menu is drawn. It can be used as a display optimization; for example, if the menu is redrawn in an input loop in the calling code and the selected item changed on the same 'page' on the menu, then the calling code can add the indexes of the 2 items to redraw the next the the menu is drawn so that the menu will only refresh those 2 items on the screen rather than the whole page of items.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Mon Apr 13 20:30:10 2020
    exec/load dd_lightbar_menu.js 1.20 1.21
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv12955

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    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.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Tue May 5 23:50:15 2020
    exec/load dd_lightbar_menu.js 1.21 1.22
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv10433

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Now uses KEY_PAGEUP and KEY_PAGEDN, as defined by key_defs.js rather than using its own pageup/pagedown variable definitions as it was doing before. Also, fixed some weirdness & improved the apperance when selecting & de-selecting items in multi-select mode when using color arrays to color the items.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Thu May 7 01:40:14 2020
    exec/load dd_lightbar_menu.js 1.22 1.23
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv1466

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    Now includes mouse support. A mouse click on an item in the menu will make it the currently highlighted item, and if the scrollbar is enabled, clicking above/below the solid scroll block will do a page up/down.
    I'm wondering if there's a function (other than time()) that has higher resolution than 1 second (perhaps milliseconds?) so I can detect a double-click in a short amount of time (to perhaps add an item when multi-select is enabled).
    I also saw the 'motion' variable, and I'm wondering if that coudl be used to detect mouse motion when the button is pressed (so that the menu can scroll when the mouse is moved while the mouse button is pressed over the scroll block).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken to nightfox on Thu May 7 05:15:07 2020
    Re: exec/load/dd_lightbar_menu.js
    By: nightfox to CVS commit on Wed May 06 2020 21:40:14

    do a page up/down. I'm wondering if there's a function (other than time()) that has higher
    resolution than 1 second (perhaps milliseconds?) so I can detect a double-click in a short amount of

    The system.timer property provides this. Fractional seconds after the decimal point, IIRC.

    (Or you could do (new Date()).getTime(), but the former is probably faster.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
  • From nightfox@VERT to CVS commit on Fri May 8 01:49:10 2020
    exec/load dd_lightbar_menu.js 1.23 1.24
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv11218

    Modified Files:
    dd_lightbar_menu.js
    Log Message:
    A double-click of the mouse button now selects an item on the menu if multi-select is enabled. A double-click is detected if 2 mouse clicks happen within 0.4 seconds (arbitrarily chosen).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Tue Dec 7 22:24:57 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/bfcf6d24ef50ee585cd40778
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Made a fix (kludge?) to properly write menu items with the check character (multi-selected) in a borderless menu (vs. a menu with borders).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Dec 7 22:24:57 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/bf968208bdb1b35f58f0c472
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'ddLightBarMenuMultiSelectDrawFix' into 'master'

    dd_lightbar_menu: Made a fix (kludge?) to properly write menu items with the check character

    See merge request main/sbbs!127

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Tue Dec 14 14:58:38 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2e9cd51bfa18b60fa0c90dcb
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Better handling of ESC key input if mouse support is disabled

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Dec 14 14:58:38 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5a5882607b77733cc780d14e
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_nomoues_traditional_input' into 'master'

    Better handling of ESC key input if mouse support is disabled

    See merge request main/sbbs!130

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Fri Mar 18 18:09:05 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/fedbf8a3190e5ee3e270c4e9
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightarMenu: For numbered mode, implemented a fix for refreshing the
    menu after the user types an item number to select/highlight it. Also,
    added 2 new color settings to specify the color to use for writing the
    item numbers: itemNumColor (for non-highlighted items) and highlightedItemNumColor
    (for the current highlighted item).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Mar 18 18:09:05 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/0b34b299a7ffcf690e22025d
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_numbered_mode_draw_update' into 'master'

    DDLightarMenu: Numbered mode item refresh fix & new item number colors

    See merge request main/sbbs!164

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Mon Mar 28 22:28:36 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/f70fc096d4dfe921b83dcaeb
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu OnItemNav on initial display
    DDLightbarMenu can now optionally call its OnItemNav function when
    it's first displayed. By default this behavior is disabled, but it
    can be enabled by setting the (new) callOnItemNavOnStartup property
    to true.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Mar 28 22:28:36 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/e635293c543482325848bcf6
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_onItemNav_startup' into 'master'

    DDLightbarMenu OnItemNav on initial display

    See merge request main/sbbs!168

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sun Sep 11 15:53:28 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1cf014fde99be6cf6f042449
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Removed temporary debug code that accidentally made it in last commit

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Sep 11 15:53:28 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/8b60053e50ed16d80ca2feef
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_remove_temp_debug_code' into 'master'

    Removed temporary debug code that accidentally made it in last commit

    See merge request main/sbbs!208

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Mon Jan 9 15:14:07 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/7a8f1d0284846f2445b38868
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DD lightbar menu fix for navigating with the HOME key with the top item index > 0 & selected item is in the middle of the screen

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Jan 9 15:14:07 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f0c06c075ce41c161a9e3562
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_scroll_home_fix' into 'master'

    DD lightbar menu fix for navigating with the HOME key with the top item index > 0 & selected item is in the middle of the screen

    See merge request main/sbbs!239

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sun Oct 8 21:59:16 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/bcf709306a0b6bea4d44a7a1
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. Added mechanisms to have additional keys for page-up, page-down, first page (HOME), and last page (END), similar to the additional quit keys.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Oct 8 21:59:16 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/1114452e300923c75f9798af
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_substrWithAttrCodes_refactor_and_additional_nav_keys' into 'master'

    dd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. Added mechanisms to have additional keys for page-up, page-down, first page (HOME), and last page (END), similar to the additional quit keys.

    See merge request main/sbbs!343

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Fri Oct 13 18:13:12 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2ee1708213443c351d849592
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Fix for substrWithAttrCodes(): If the given length is 0, then just return an empty string

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Oct 13 18:13:12 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/9510160bc1a956f55a38387c
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_substrWithAttrCodes_len_0' into 'master'

    dd_lightbar_menu.js: Fix for substrWithAttrCodes(): If the given length is 0, then just return an empty string

    See merge request main/sbbs!348

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Fri Oct 27 23:40:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/be70a5a50abe59ad11dfd050
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    dd_lightbar_menu.js: Length off-by-1 fix in substrWithAttrCodes()

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Oct 27 23:40:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/0e534632cf64996112c4df14
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_substrWithAttrCodes_len_fix' into 'master'

    dd_lightbar_menu.js: Length off-by-1 fix in substrWithAttrCodes()

    See merge request main/sbbs!354

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sun Dec 3 18:29:01 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/d0e44c97c7a27c9e9f3fd37b
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: Fix to enable wrap navigation again, and fixed a comment about titlebar text

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Dec 3 18:29:01 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/afa151a0928b2230de89dab2
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_nav_wrap_fix_and_title_text_comment_fix' into 'master'

    DDLightbarMenu: Fix to enable wrap navigation again, and fixed a comment about titlebar text

    See merge request main/sbbs!371

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Sun Dec 3 18:42:18 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/27d14565a4ec71fd6c0544f2
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'master' of gitlab.synchro.net:main/sbbs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Sat Feb 10 13:05:19 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3b33ea118903bf2c33eb9af3
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: DrawPartial() width check update (previously it wasn't re-drawing the last character of the item text)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Feb 10 13:05:19 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/57bde8a0ff156886f14481be
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_DrawPartial_width_check_update' into 'master'

    DDLightbarMenu: DrawPartial() width check update (previously it wasn't re-drawing the last character of the item text)

    See merge request main/sbbs!398

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Tue Feb 13 15:19:44 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/59e0c10b8a039a648abcc5f6
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: Revert the text item width fill that was committed yesterday, as it seems to write too much in some cases

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Feb 13 15:19:44 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a5c8fb736a5004af1a03096a
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_draw_item_fill_revert' into 'master'

    DDLightbarMenu: Revert the text item width fill that was committed yesterday, as it seems to write too much in some cases

    See merge request main/sbbs!404

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Thu Feb 15 16:25:27 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a5b14627a63bee98ffdb11b2
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: Something has gone wrong with the display of borders.. Reverting back to what I know was a good version of dd_lightbar_menu.js (none of the recent changes are significant).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Feb 15 16:25:27 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5b4b3f288c246571dfae33ac
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_revert_to_last_good' into 'master'

    DDLightbarMenu: Something has gone wrong with the display of borders.. Reverting back to what I know was a good version of dd_lightbar_menu.js (none of the recent changes are significant).

    See merge request main/sbbs!405

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Thu Feb 29 01:53:21 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7398bd91dc55b5189c5f5ecd
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: Fix for text & text column alighment issues with UTF-8 text

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Feb 29 01:53:21 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4ec008ed81b48deefc791c6f
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_item_write_UTF8_alignment_fix' into 'master'

    DDLightbarMenu: Fix for text & text column alighment issues with UTF-8 text

    See merge request main/sbbs!417

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Fri Mar 1 13:09:24 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/b9112c40a74ac8b193dd6f10
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: When writing an item with UTF-8 text, check ANSI support before moving the cursor (and this is important if the menu is being used in non-lightbar mode)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Mar 1 13:09:24 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/ec83b41cbbc008217666f490
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_write_item_check_ANSI_before_gotoxy' into 'master'

    DDLightbarMenu: When writing an item with UTF-8 text, check ANSI support before moving the cursor (and this is important if the menu is being used in non-lightbar mode)

    See merge request main/sbbs!419

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Thu Mar 7 20:51:57 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3818d50f1c15e1bbb6edcab0
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    DDLightbarMenu: Fix in DrawPartial() for an edge case where it was missing the last character of the menu/menu items in some cases

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Mar 7 20:51:57 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/77260f9d7c197788af2c0174
    Modified Files:
    exec/load/dd_lightbar_menu.js
    Log Message:
    Merge branch 'dd_lightbar_menu_DrawPartial_right_edge_fix' into 'master'

    DDLightbarMenu: Fix in DrawPartial() for an edge case where it was missing the last character of the menu/menu items in some cases

    See merge request main/sbbs!421

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