• src/xpdev/genwrap.c genwrap.h

    From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, February 11, 2022 23:11:31
    https://gitlab.synchro.net/main/sbbs/-/commit/0cc707ae754aabc942077bfe
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Use xp_timer()-based msclock() on Win32 too.

    Now it should keep working after 24 days.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, February 11, 2022 23:39:06
    https://gitlab.synchro.net/main/sbbs/-/commit/84a2bb321ffa35c33a731f8c
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Add xp_timer64()

    This is a millisecond timer that tries to avoid floating-point
    operations.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, March 13, 2022 23:33:54
    https://gitlab.synchro.net/main/sbbs/-/commit/1bea824793a13283c0f2c9a6
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Create *nix wrapper for MSVC's _i64toa()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, March 23, 2022 21:07:26
    https://gitlab.synchro.net/main/sbbs/-/commit/fcb6846b84fccc3c803edaa1
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    byte-count to string routines type unsigned 64-bit int now

    We don't have a use case negative byte values in strings anywhere that I can think of.

    Created wrapper for MSFT _ui64toa_() - unsigned 64-bit integer to ASCII string.

    Add Petabyte (actually, Pebibyte) support to byte_count_to_str() and byte_estimate_to_str().

    Removed 'B' suffix from byte_estimate_to_str() output for values < 1024. Callers may display this returned string followed by "bytes" (or similar) and thus the 'B' suffix is redundant in that case. If the caller needs a 'B' suffix, they can detect no suffix and add it.

    ---
    þ 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 Monday, December 18, 2023 01:49:02
    https://gitlab.synchro.net/main/sbbs/-/commit/66c589fae030890e79a6c15b
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Create duration_estimate_to_[v]str() functions

    Sometimes you want to see "1.5 minutes" (or "1.5M") intead of "90 seconds"
    (or "90S")

    I noticed some left over questionable use of ulong here in byte_count related functions, so fixed that.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, February 20, 2024 14:43:49
    https://gitlab.synchro.net/main/sbbs/-/commit/30854bbbcfd86f2cafd57c62
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Whoops, these are for all !_WIN32 and some _WIN32

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, February 20, 2024 15:01:42
    https://gitlab.synchro.net/main/sbbs/-/commit/1a853b2836486a40aeaa3d5d
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Fix inverted logic for Mingw32.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, February 20, 2024 16:38:09
    https://gitlab.synchro.net/main/sbbs/-/commit/ad4737c5e5041545d09b8dc5
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    mingw32-w64 does not include ultoa()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, March 22, 2024 10:59:52
    https://gitlab.synchro.net/main/sbbs/-/commit/2e39f3d24b87e073cff17a8b
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Cpoy/paste strlcat() from FreeBSD 13.3-RELEASE

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