• src/sbbs3/scfg/scfgxfr2.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Apr 29 21: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 00: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 11: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 May 3 19:37:52 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d787ad1a541a2c48eee857a0
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Support dir/subdir syntax in DIRS.TXT (CD-ROM) import

    getfname() just returns the last path element, so can't use that here.

    ---
    þ 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 Mon May 6 16:21:57 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a4e38543159fb11dd92a1045
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Skip files listed in imported DIRS.TXT/DIRS.WIN/00_INDEX.TXT files

    I'm not clear why Walnut Creek would list files (e.g. readme.txt) in these lists of "directories", but don't create file areas for them. Less clean-up required after import.

    ---
    þ 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 18: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 Tue Nov 5 19: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 17: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 00:38:18 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/fb648e0254367d4338fb621b
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Give sysop option to the abort import upon duplicate directory detection.

    ---
    þ 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 00:55:43 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/6b2295cde2e52311f70e15e5
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Give sysop option to continue importing dupes without prompting/notification

    Also the changed prompt that said "could not be imported" was not accurate. It's just overwriting a previously imported directory with the same internal code.

    ---
    þ 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 00:56:38 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/69c8f38b4dd2941fa0513654
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Typo

    ---
    þ 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 Wed Jan 14 23:55:34 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/846face774de38fb5982c18e
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Deal better with absence of trailing slash in lib's parent_path

    ... when importing a raw/directory listing

    Most things add the trailing slash, but it's not guaranteed.

    ---
    þ 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 23:55:34 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/c8096d61734cf623f87d2c46
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Improve directory list import

    - Better support for importing lists from multiple parent paths into same lib
    - Better detection of missing or mis-capitalized directories on imported media - In raw and dirs.txt import mode, uses more of the path for dir short names
    - Indicate with brackets ([]) when the parent directory is implicitly data/dirs - Update help text for Parent Directory
    - Rename "Transfer File Path" to (hopefully more clear) "Actual File Path"
    - More reliable indicator (especially on Windows) when Actual File Path is
    implicit (in [] brackets), forward versus backslashes and missing trailing
    slash was defeating our string comparison logic

    I imported several CD-ROMs using both raw/directory listing and various flavors of DIRS.TXT, DIRS.WIN, and 00_INDEX.TXT and came up with these changes to make everything more reliable and less frustrating for the sysop.

    I did not test importing FILEGATE.ZXX; someone should do that. :-)

    ---
    þ 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
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Jan 16 01:09:08 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/09f317279ef9cfbdd236eb8f
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix typo in sprintf format string, caught by GCC

    ---
    þ 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 Jan 16 01:24:57 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/a42479298fc2a5e6a5a90d1d
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Change the import preference order from 00_INDEX.TXT first, to last

    if a DIRS.WIN or DIRS.TXT file exists in the same directory as a 00_INDEX.TXT, the DIRS.* file is likely the one we want.

    This is just determining the default contents for the filename edit field.
    The sysop can import whatever path/filename they like.

    ---
    þ 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 Fri Jan 16 01:57:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/c12e79a083f97759db00fbe5
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Loop the filename prompt when importing a file list and the file can't be found

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