Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 08 Feb, 2019 2 commits
    • rswindell's avatar
      Add/use new function findstr_list() which opens and returns a string list · 32051b32
      rswindell authored
      suitable for passing to findstr_in_list().
      SBBSecho peformance improvement: don't open/read the twitlist.cfg file for
      *each* imported message: just read it once during initialization (using the new
      findstr_list() function of course).
      Reversed course on the findstr()/trashcan() matching logic: significant leading
      white-space was not backwards compatible (and was the cause of recent lost
      messages in DOVE-Net) - so I decided to go a different route and support
      C-style character escape sequences (e.g. \r, \n, \t, \x##, etc.) in findstr
      comparison strings, so the new way to represent a leading space character
      in a filter file (e.g. twitlist.cfg, name.can) would be: "\ ". So to match (e.g.
      filter/disallow) all strings with a leading space: "\ *". "\x20 *" would also
      work (0x20 is ASCII for "space").
      Now, again, leading white-space in filter files (e.g. text/*.can, twitlist.cfg)
      is ignored. <sigh>
      32051b32
    • rswindell's avatar
      New function: strListModifyEach(), iterates through a string list, calling · 7fa88586
      rswindell authored
      a caller-supplied function (callback) which can modify each string or leave
      the string in tact by returning NULL. Shrinking strings is trivial while
      expanding strings (making them bigger) is a little more involved, probably
      using the cbdata to pass a temporary buffer around to store each expanded
      string or returning a new globally-valid pointer.
      Removed the malloc.h #include as we haven't used alloca() here for a while.
      7fa88586
  2. 05 Feb, 2019 2 commits
  3. 04 Feb, 2019 3 commits
  4. 03 Feb, 2019 1 commit
  5. 02 Feb, 2019 5 commits
  6. 01 Feb, 2019 11 commits
  7. 31 Jan, 2019 2 commits
  8. 30 Jan, 2019 5 commits
  9. 29 Jan, 2019 9 commits