Skip to content
Snippets Groups Projects
  1. May 14, 2021
    • Rob Swindell's avatar
      Fix ERROR ... removing file from database · b830d5f5
      Rob Swindell authored
      Wrong arguments passed to loadfiles() caused only index to be read.
      
      As reported by plt via irc:
      ERROR (smb_putmsghdr illegal header length increase: 70 (1 blocks, 0 hfields, 0 dfields) vs 0 (0 blocks)) removing file from database
      
      Also, replace old CVS rev with Git branch and hash.
      
      And for everyone: use delfiles.js instead (e.g. with jsexec).
      b830d5f5
    • Deucе's avatar
      Align into columns, and add aspect ratios for more modes. · fc6a8fa6
      Deucе authored
      I really need to do a sweep through and update all the aspect
      ratios now that the data actually matters.
      fc6a8fa6
    • Deucе's avatar
      Many X11 scaling improvements... · 767cbb9a
      Deucе authored
      1) Initialize the r2y array for xBR so it actually works.
      2) Add a vertical (only) interpolation scaler for aspect ratio enforcement
      3) Add a simple muliplier scaler, so that can be removed from x_event.c
      4) Use a new graphics buffer free list, which allows tracking last
         drawn screen instead of last bitmap rectangle, removing various hacks
      5) Share the Y'CbCr <-> R'dG'dB'd tables between xBR and scale.c
      767cbb9a
  2. May 13, 2021
    • Deucе's avatar
      More fallout from non-square pixels... · 26def071
      Deucе authored
      This fixes all the window adjustment "stuff", but the new aspect
      ratio enforcement means that ALT-UP and ALT-DOWN are useless for
      resizing the window unless it's not already snapped... use ALT-LEFT
      and ALT-RIGHT to decrease/increase the window size.
      26def071
    • Deucе's avatar
      Keep correct aspect ratio when resizing window. · 5f027c49
      Deucе authored
      Also, the 8x16 font at 80x25 is *not* a square pixel aspect ratio.
      As a result, it now stays "proper", which is likely not what you
      want.
      
      This was discovered when I was trying to make DigitalMan happy
      because he wanted the apsect ratio retained on scaling.
      
      Sorry for the impending imminent scaling hassle DigitalMan!
      5f027c49
    • Rob Swindell's avatar
      Don't populate metadata property unless there is metadata · 2b047cf6
      Rob Swindell authored
      Or detail level is MAX.
      2b047cf6
    • Rob Swindell's avatar
      Allow the metadata property to be set with add() and update() · 1c96d408
      Rob Swindell authored
      Sorry for the impending imminent merge hassle Deuce!
      1c96d408
    • Rob Swindell's avatar
      Eliminate list_archive_contents() · 75b575f1
      Rob Swindell authored
      Do this in JS and use JSON for format instead of .ini.
      75b575f1
    • Rob Swindell's avatar
      The optional JSON-metadata string property is now "metadata" · b3d55fd2
      Rob Swindell authored
      The old "content" array property goes away.
      b3d55fd2
    • Deucе's avatar
      Add smooth scaling to X11 output · cae45cbd
      Deucе authored
      Uses "pointyscale" for x3 and x5
      Uses xBR from FFmpeg for x2 and x4
      HQx is also included, but unused as it's too slow at x4.
      cae45cbd
    • Rob Swindell's avatar
      Attempt to resolve "!ERROR 11 receiving from socket" reported by plt · 3202b477
      Rob Swindell authored
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 <plt> append key into keybuf: 4E (N)
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 <plt> Executing external: /sbbs/exec/sexyz 14 -Telnet sz /mnt/disk1/dl/COCO/AGI/agi-xmas.zip
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 <plt> sexyz: Synchronet External X/Y/ZMODEM  v3.0  master/23b741a1  Copyright Rob Swindell
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 <plt> sexyz: !File skipped by receiver
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 <plt> sexyz: !File Skipped
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 <plt> sexyz: !0 Aborting Transfer (Sending ZABORT)
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 !ERROR 11 receiving from socket 14
      <plt> May 13 00:39:40 sbbs synchronet: term Node 1 input thread terminated (received 365 bytes in 35 blocks)
      
      Not sure why this isn't happening for other sysops - perhaps plt was spying on the node?
      3202b477
    • 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.
      23b741a1
    • 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!
      cfee914f
    • 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.
      024319d6
  3. May 11, 2021
  4. May 10, 2021
  5. May 08, 2021
  6. May 07, 2021
    • 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.
      a9214ac4
    • 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
      19f0c215
  7. May 06, 2021
  8. May 05, 2021
  9. May 04, 2021
  10. May 03, 2021
Loading