Skip to content
Snippets Groups Projects
  1. Dec 17, 2023
  2. Dec 16, 2023
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Fix typo (missing quote) · 7d213a0a
      Rob Swindell authored
      7d213a0a
    • Rob Swindell's avatar
      Fix typo in previous commit · 2e6e3757
      Rob Swindell authored
      2e6e3757
    • Rob Swindell's avatar
      New findstr functions that can search for (up to) two strings in one go · dd37a468
      Rob Swindell authored
      Many searches are done (e.g. in the mail server, QWK import) for either of 2
      strings in single file or list, so let's optimize that to a single iteration
      through the file/list. This should reduce some redundant file I/O.
      
      I do find this API a little confusing with the filename or list at the end
      of the argument list, but kept it consistent with the existing single string
      findstr functions (which are now just wrappers for the new 2-string flavors).
      
      I noticed during this update that findstr() did not share the same behavior
      as findstr_in_list() (feature added in commit f08f2137) whereby if all the
      patterns were negative searches (beginning with '!'), then *all* the
      negative matches would have to be successful (not just the first) for the
      function to return true. So now findstr() behaves like findstr_in_list()
      in this regard.
      
      I also added some optimizations to findstr_in_string().
      dd37a468
  3. Dec 15, 2023
  4. Dec 14, 2023
  5. Dec 12, 2023
  6. Dec 11, 2023
  7. Dec 10, 2023
  8. Dec 09, 2023
    • Deucе's avatar
      Fix literal 0xe0 (lower-case greek alpha in unicode/ch437) · 5f1c39f0
      Deucе authored
      With 0xE0 being used for ciolib "super-extended scancodes", a literal
      0xe0 can't pass through the input path.  This is an issue in CP866 (р)
      and KOI8-U (Ю) as well as CP437 α.
      
      Should fix SyncTERM SF bug 123.
      5f1c39f0
    • Rob Swindell's avatar
      Move the startup directory checking to the "native" block of *nix build · 7866f106
      Rob Swindell authored
      of sbbs_t::external()
      
      The startup directory for DOS doors might not be a valid Unix (case-sensitive)
      path, so let's just do that check in the native block here.
      
      Also, removed a bunch of redundant startup_dir ==/!= NULL checks. It can't be
      NULL here.
      7866f106
    • Rob Swindell's avatar
      Only create/use a single run-time for use in JSexec, even when re-runnning · affce7f6
      Rob Swindell authored
      The '-l' (loop) option would cause the JS runtime to be destroyed and
      recreated for each new execution of the script, which resulted in memory
      leaks in Windows builds (see issue #672 for details). So instead, just
      use a single JS runtime here when the -l option is used to prevent that
      from happening, though truth be told, that's likely not a normal/common
      occurrence. Other apparent JS-related memory leaks (e.g. in the web
      server) appear to be of a common concern.
      
      Likely upgrading to a modern libmozjs would also fix this issue, but
      we're far short of being able to do that right now.
      affce7f6
  9. Dec 08, 2023
  10. Dec 05, 2023
    • Rob Swindell's avatar
      Combine the "new packet" and "password-protected" debug-log lines · dd97c28f
      Rob Swindell authored
      ... to de-clutter the log
      
      Also, don't log the packet passwords. Folks copy and post sbbsecho.log lines
      and that could seriously compromise the security of the Interwebs if those
      super-secret passwords were ever leaked!
      dd97c28f
    • Rob Swindell's avatar
      Allow default packet type to be configurable · 6004fd06
      Rob Swindell authored
      Previously, any packets created for unlinked nodes, would always be Type-2
      packets and the packet type for newly created nodes (in echocfg->Linked Nodes)
      would be Type-2+.
      
      The new DefaultPacketType setting default is 2+, so the only observed
      change in behavior will be that packets created for unlinked nodes will also
      be type 2+ (by default).
      
      Some additional log detail/adjustment around created/detected packet types.
      6004fd06
    • Rob Swindell's avatar
      Fix issue when packing netmails for multiple different linked-nodes · 5aa983c8
      Rob Swindell authored
      Introduced in commit 0e38cb0f (9 months ago), the first linked-node config
      (including packet password!) for the first packed netmail message would be
      reused for subsequent packed netmail messages.
      
      Thank you to Wilfred van Velzen (2:280/464) for reporting this problem!
      
      Additional debug-level log message when using a packet password for a newly
      created packet.
      5aa983c8
    • Rob Swindell's avatar
      Throw an error and hint if SYMLINK is defined on the command-line · cfcff881
      Rob Swindell authored
      Since SYMLINK=1 is valid/suggested for install/GNUmakefile, this is a common
      mistake that we can catch here.
      cfcff881
  11. Dec 03, 2023
  12. Dec 02, 2023
Loading