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. 03 Aug, 2019 6 commits
  2. 02 Aug, 2019 22 commits
  3. 01 Aug, 2019 4 commits
  4. 31 Jul, 2019 3 commits
  5. 30 Jul, 2019 5 commits
    • rswindell's avatar
      Define some new SMB hfield types: · a8709616
      rswindell authored
      - REPLYTOLIST (a mime-decoded version of RFC822REPLYTO)
      - RECIPIENTLIST (a mime-decoded version of RC822TO)
      - RFC822CC (a mime-encoded version of SMB_CARBONCOPY)
      - RFC822ORG (a mime-encoded version of SMB_ORGANIZATION)
      - RFC822SUBJECT (a mime-encoded version of SUBJECT)
      
      The RFC822* hfields are only created when necessary: there was a MIME-encoded
      hfield value received (e.g. by the mailsrvr) for the corresponding hfield.
      
      The to_list and replyto_list convenience pointers now point to the MIME-decoded
      (plain text) version of these header fields, since that's what everyone
      normally wants to see and use.
      
      The MIME-encoded flavors (RFC822*) are stored for relaying via SMTP or POP3
      and retaining all data (no normalization or decoding).
      
      A new auxattr bit has been defined: MSG_HFIELDS_UTF8 (happens to be the same
      as P_UTF8 - snicker). This bit will be set in msg.hdr.auxattr when one or more
      hfield values are in UTF-8 format. When this flag is not set, all hfield values
      are assumed to be CP437 for backwards compatibility.
      Since we are using a single flag, all header fields have to use the same
      encoding (either CP437 or UTF-8). When the hfield values are all plain ASCII,
      there's no difference between CP437 and UTF-8 and the MSG_HFIELDS_UTF8 flag
      is not expected to be set, though setting it shouldn't hurt. The RFC822* hfield
      values should also include US-ASCII text (using MIME-encoding for any 8-bit
      charsets).
      
      smb_get_hfield() function prototype change: the 3rd argument changed from
      an hfield_t* to an hfield_t**, so that the caller can actually change the
      hfield type (in memory) if they wish. Nobody seemed to be passing any non-NULL
      3rd argument value, so this changed appeared safe to make.
      a8709616
    • rswindell's avatar
      Clarify the help text of the AUTO-UTF8 option a bit more (it's detected · 6c8526f0
      rswindell authored
      during *display* in the terminal server, so this option would help, say,
      the web server).
      6c8526f0
    • rswindell's avatar
      Allow the P_AUTO_UTF8 mode to be set in a sub's pmode setting (for auto-detect · b677fa38
      rswindell authored
      of UTF-8 message text).
      Remember the "bar" position of sub toggle options (now that they scroll).
      b677fa38
    • rswindell's avatar
      Define and use Unicode code points 0x2015 through 0x2021 in unicode_to_cp437() · b87338ca
      rswindell authored
      for some obvious (but missing) mappings.
      b87338ca
    • rswindell's avatar