• src/sbbs3/scfg/scfgxfr2.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Nov 22 21:30:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/33edf54d7e526d03a74f44f1
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix CID 433237 and other unsafe string copy/concatenations
    ---
    ■ 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 Tue Apr 30 02:35:20 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/525f11501f4329c9b5ac6313
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Add option to import and export DIRS.TXT as found on CD-ROMs

    Walnut Creek and Simtel CD-ROMs usually have this file format which lists the sub-directories along with descriptions of each (one per line).

    Not to be confused with the DIRS.TXT format that has long been exported from and imported into SCFG.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Apr 30 05:26:49 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/58754892761c4ae5af2a46f3
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Improvements to DIRS.TXT/DIRS.WIN import support

    Strip prepended and trailing slashes.
    Convert backslashes to forward slashes.

    When setting lib's parent path:
    - Auto-fix the sub-directory name case
    - Display error when setting lib parent to path that doesn't exist
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Apr 30 16:00:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7d631507c714dab76fcb052c
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix issue in previous commit, caught by GCC warning, reported by Keyop

    lastchar() returns a char pointer, not a char.

    This fixes issue #751
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Oct 11 23:45:51 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a894f176ddc78b3dfed10e75
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Update online help (F1 key displayed help text) for directory "Short name"

    This text/terminology was pretty out of date.
    ---
    ■ 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 Nov 6 01:28:37 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/af90e9d35b93489f48c80154
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    If fail to create dirs.raw in lib parent dir, create in ctrl_dir instead

    Fix for issue #809
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Mar 1 23:13:34 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/8bb9de45d72bc25009a86816
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Stop counting dupes for no reason.

    While dupes were counted, nothing was done with the count, so just
    delete it.

    Fixes Clang warning.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 14 03:29:08 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/b1cf73e322081c643f394401
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Better raw directory/listing import de-duplication of short names

    ... and when there is a duplicate we can't de-duplicate (given the current permutation function anyway), display a more helpful dialog message
    ("Duplicate dir name") unique from the duplicate internal code error dialog,
    so if it's ever a problem again we can distiguish the two different causes.

    This fixes issue #820

    Other fixes:
    - Don't increment the number of dirs imported before the opportunity to abort
    import (upon dupe) is given - which could result in an invalid number of dirs
    imported/added
    - Don't import/add more dirs than the number of options that can be displayed
    (100000 currently)
    - Use isdir() to check if the path is a directory (not fexistcase) and only
    do this check if the default directory for the lib has "Check for file
    existence" enabled (the default)
    - Give the opportunity to contnue or abort the import upon the
    "Not a directory" error/dialog.
    - When deriving dir (short) name from a path, skip non-alphanumeric chars
    If none can be found (in the last 25 chars of the path), use the first 25
    chars of the path instead.
    - Unrelated fix: a newly created lib's 'vdir' member wasn't initialized
    resulting in the directory's Virtual File Path starting with "//" until the
    config was reloaded.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 14 04:22:32 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/30b30ec17cbb3dff3462af9b
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Remove the (Synchronet) DIRS.TXT import and export options

    I don't think this file format served any purpose now that the file.ini is perfectly suited to exporting and importing using other/better methods.

    The CD-ROM DIRS.TXT (aka DIRS.WIN) import and export option remain, along
    with Fido and Raw directory listings.

    Also, when importing a raw directory listing, if the library doesn't already have a parent directory set when importing (and the user is prompted for the parent dir to import from and enters one), set it.

    Do proper directory existing changes when setting a lib's parent directory. getdircase("/somedir/") fails. :-(
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 14 15:28:13 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ae580dc3d6c536b1e8202409
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Restore use of getdircase() when setting lib parent dir, now that it's fixed

    Pop-up progress messages when deleting files
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu Jan 15 22:45:40 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/cc279d72c0a84bb1b0427c90
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Usability improvement with importing file lists

    Insure proper slash-terminated of parent dir, auto-detect proper case of
    list filename to import.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net