1. 13 May, 2021 3 commits
    • Rob Swindell's avatar
      Remove the archive contents in SMB file "tail" thing · 23b741a1
      Rob Swindell authored
      This was really slowing down the upgrade_to_v319 and there's no current consumer of the data.
      Consider adding back in JSON format later or just leave it to JS things to use for JSON-formatted metadata.
    • Rob Swindell's avatar
      Fix crash in smb_addfile_withlist() when passed a non-NULL empty list · cfee914f
      Rob Swindell authored
      Don't allocate and memset a buffer of -1:
      #1  0x0000559222bc167f in strListCombine (list=0x559224220720, buf=0x559224226550 "", maxlen=18446744073709551615,
          delimit=0x559222bcce0a "\r\n") at str_list.c:447
      447             memset(buf, 0, maxlen);
      (gdb) print maxlen
      $1 = 18446744073709551615
      (gdb) up
      #2  0x0000559222ba3841 in smb_addfile_withlist (smb=0x7ffce63a7e90, file=0x7ffce63a5bc0, storage=1, extdesc=0x0,
          list=0x559224220720, path=0x7ffce63a6e80 "/xfer/loons/manhater.mp3") at smbfile.c:365
      365                     strListCombine(list, content, size - 1, "\r\n");
      (gdb) print list
      $2 = (str_list_t) 0x559224220720
      (gdb) print list[0]
      $3 = 0x0
      Found/reported by plt via irc. Thanks!
    • Rob Swindell's avatar
      Speed up list_archive_contents() · 024319d6
      Rob Swindell authored
      Don't use iniSet* since we know we're not updating existing ini entries. Use strListAppendFormat() instead.
  2. 11 May, 2021 3 commits
  3. 10 May, 2021 5 commits
  4. 08 May, 2021 1 commit
  5. 07 May, 2021 2 commits
    • Rob Swindell's avatar
      Change CRLF before batch flag prompt to a conditional new-line. · a9214ac4
      Rob Swindell authored
      If a sysop wants a *blank* line before the batch flag prompt, they can put that (or a conditional blank line, even better) in their text.dat (BatchFlagPrompt). For now, I'm thinking no blank line before the prompt is better use of the screen.
    • Deucе's avatar
      More improvements... · 19f0c215
      Deucе authored
      Consistently use map_rip_color()
      Optimize flood fill to not clobber the stack
      Fix small full ellipses to match RIPTerm 1.54
  6. 06 May, 2021 1 commit
  7. 05 May, 2021 6 commits
  8. 04 May, 2021 5 commits
  9. 03 May, 2021 4 commits
  10. 02 May, 2021 6 commits
    • Rob Swindell's avatar
      Insert conditional-newlines (Ctrl-A/) to force line-wraps on >80 col terminals · 32df7843
      Rob Swindell authored
      Apparently these menu files were created exactly 80 columns wide. <shrug>
      This fixes issue 257 reported by Keyop.
    • Deucе's avatar
      Optimize color_value() and fix RIP reset · 75bd66f1
      Deucе authored
      color_value() is in the hot drawing path, so should be as fast
      as possible... remove all the bit shifting and have the palette
      just be colour values.
      For RIP, the reset wasn't resetting the global coordinates, so a
      scaled image would cause everything to be scaled down later.
    • Deucе's avatar
      Add save/resotore mouse fields commands. · 1075cd28
      Deucе authored
      Used extensively on Black Flag BBS.
    • Rob Swindell's avatar
      Add a 'readd_always' option to the update() method · 24bf49ea
      Rob Swindell authored
      This will cause archive file contents to be re-captured/added
    • Rob Swindell's avatar
      JSDOC updates · 63a2631f
      Rob Swindell authored
      Finally document the file-meta-object properties now that things are solidifying.
    • Rob Swindell's avatar
      Store contents (list) of archive files in filebase (in the "msg tail") · 5374a113
      Rob Swindell authored
      This will allow fast/easy display of archive contents without actually reading the archive files.
      Introduces some new functions:
      - list_archive_contents()
      - smb_adddfile_withlist()
      A new SMB convenience variable ("tail", aliased as "content" for a file).
      A new file detail level ("file_detail_content", exposed in JS as FileBase.DETAIL.CONTENTS) which adds a "content" array property to file metadata objects for JS FileBase.get().
      Files already added to the new filebases won't have this archive content automatically - I'm looking into that now (likely a new or updated JS script to run).
  11. 01 May, 2021 4 commits