Skip to content
Snippets Groups Projects
  1. Mar 30, 2021
  2. Mar 29, 2021
  3. Mar 28, 2021
  4. Mar 27, 2021
  5. Mar 26, 2021
  6. Mar 25, 2021
  7. Mar 23, 2021
  8. Mar 21, 2021
  9. Mar 20, 2021
    • Deucе's avatar
      Add three new socket status functions: · 99f25324
      Deucе authored
      socket_readable() returns TRUE if recv() will not block if called
      on the specified socket.
      
      socket_writable() returns TRUE if send() will not block if called
      on the specified socket.
      
      socket_recvdone() returns TRUE if all data has been recv()ed an
      the socket is closed.
      
      "will not block" includes "will return an error".
      
      This matches the three main use-cases for select() of a single socket
      in Synchronet.
      
      Use them in the SyncTERM RLogin stuff so they can be tested easily.
      99f25324
    • Deucе's avatar
      Add support for MinGW-w64 · 1dc1a6b9
      Deucе authored
      MinGW32 is getting long in the tooth and is missing a lot of modern
      Windows features as well as having broken headers.  Most people will
      be using MinGW-w64 at this point, so add support for it.  Once I
      ensure SyncTERM works properly with it, MinGW32 support will be
      discontinued.
      
      I suspect this will impact exactly zero people since the reason this
      exists is to build the Win32 versions of SyncTERM on FreeBSD.
      
      Changes:
      - Explicitly request 32-bit Windows output
      - Detect the string "mingw32" anywhere in the hardware description
      - Explicitly link with libuuid
      - Add a terrible hack to syncterm.c to block wincrypt.h
      1dc1a6b9
    • Deucе's avatar
      Ensure cleared block in in scrolling region · 5abc5cda
      Deucе authored
      Do not clear at the current X/Y on scroll (derp)
      5abc5cda
    • Deucе's avatar
      Fix error on scroll with left/right margins · 2f33ee73
      Deucе authored
      Scrolling would clear the line to the end of the screen, not the
      end of the scrolling region.
      
      Sorry echicken.
      2f33ee73
    • Rob Swindell's avatar
      Track the active client "highwater mark" (highest number of concurrent clients) · b881935a
      Rob Swindell authored
      Could be useful for knowing if you need to increase MaxClients for typical
      usage.
      b881935a
    • Rob Swindell's avatar
      Refactor the get_pw() and get_ticpw() methods · 6aade458
      Rob Swindell authored
      First look for a linked node matching the node address string as passed,
      then look for a match using the normalized address (removing .0 and @domain).
      The "ALL" wildcard should not be used for password lookups.
      
      This should fix reported issue 240.
      6aade458
  10. Mar 19, 2021
    • Deucе's avatar
      Revert last commit that used poll() · 9d93ebaa
      Deucе authored
      Borland hates it.
      9d93ebaa
    • Deucе's avatar
      First attempt to use poll() · d0b94c03
      Deucе authored
      There has been a sighting of Synchronet exceeding FD_SETSIZE sockets.
      This means select() is of less use and we need to start migrating to
      either poll() or platform-specific methods to achieve the same end.
      
      This commit is mostly to check that poll() builds on Win32 and that
      it actually works.
      d0b94c03
    • Deucе's avatar
      Declare the 't' variable used for word-wrap. · 017e0386
      Deucе authored
      Hopefully fixes crash in lord when composing a message and using
      word-wrap.
      017e0386
Loading