• exec/load/file_size.js

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Wed Apr 7 00:08:27 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5e6b0ef825bb7655c16048a3
    Modified Files:
    exec/load/file_size.js
    Log Message:
    Add optional/better format to file_size_str() by passing a precision as 3rd argReturns a floating-point formatted size estimate more in-line with mypreference (e.g. 17.0G instead of 17,000M).
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Thu Apr 8 02:32:50 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/c1fc6708515292d9e2dd918d
    Modified Files:
    exec/load/file_size.js
    Log Message:
    When bytes is falsey and size is > 0 but < 1000*1024 don't return "0K"Instead, return the fractional size in KB's with 2 digits of precision.Fixed up some of the variable names.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Apr 11 21:01:34 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6f2cbca95c5d25c45c1ef289
    Modified Files:
    exec/load/file_size.js
    Log Message:
    Revert back to whole numbers only for the comma-formatted K outputbut round-up non-zero values to 1K.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Apr 12 00:39:40 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/be6e64a8accd30670c97fb77
    Modified Files:
    exec/load/file_size.js
    Log Message:
    Use Math.round() for sizes > 1024 and < 1024000
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Apr 3 15:54:37 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/066327b75d7bb16a350b1111
    Modified Files:
    exec/load/file_size.js
    Log Message:
    Remove the 'B' suffix in file_size_float() outputTo match behavior of changed xpdev->byte_estimated_to_str().If the caller wants a 'B' suffix, they can add it.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)