Skip to content
Snippets Groups Projects
  1. Jun 11, 2022
  2. Jun 10, 2022
    • Rob Swindell's avatar
      Force a garbage collection in the event "wait forever" loop · d07ae18a
      Rob Swindell authored
      This appears to fix the "lots of user.dat files open concurrently" behavior
      that remains when a browser/client has the webv4 page open for a long
      duration.
      
      Eventually, the User objects created in this loop would be cleaned (and the
      user.dat file descriptors closed), but the default garbage collection interval
      (configurable) is 1000 calls to the CommonOperationCallback function. This could
      be as as long as 1000 times through this loop before GC occurs.
      
      Since this is not a performance sensitive loop (we have a call to sleep for a
      full second) just force a garbage collection for each loop iteration.
      d07ae18a
  3. Jun 09, 2022
  4. Jun 08, 2022
    • Eric Oulashin's avatar
      dd_upload_processor readme update · 1817ea33
      Eric Oulashin authored
      1817ea33
    • Rob Swindell's avatar
      Support unlimited number/address aliases in [alias] section of ini file · 61fc51b0
      Rob Swindell authored
      Add support for an unlimited number of dial string (e.g. phone number) aliases in the [alias] section of the read .ini file. While the AT&Z, ATDSn support for stored numbers should work fine for the same use cases, it's limited to 20 numbers (that could be easily increased) and may be less obvious to users who it works. The [alias] aliases does not use AT commands to query/store the number aliases, just .ini file edits.
      
      Re-read .ini file when ATZ command is received. This allows applying dynamic changes to the .ini file without re-running SVDM.
      
      Address some memory-leaks when reading or making changes to .ini file.
      
      Fix ATIn command results. The normal result format (from an actual modem) is:
      <text>
      <blank-line>
      OK (or 0)
      61fc51b0
    • Rob Swindell's avatar
      Merge branch 'ddup_linux_update' into 'master' · 728ea692
      Rob Swindell authored
      Updated Digital Distortion Upload Processor so that the scanning works properly in Linux (directory permissions)
      
      See merge request !178
      728ea692
    • Eric Oulashin's avatar
      Updated Digital Distortion Upload Processor so that the scanning works... · bdde52f7
      Eric Oulashin authored and Rob Swindell's avatar Rob Swindell committed
      Updated Digital Distortion Upload Processor so that the scanning works properly in Linux (directory permissions)
      bdde52f7
  5. Jun 07, 2022
    • Rob Swindell's avatar
      Support option modem "speaker" (WAV file playback) control via ATM1 (turn on) · d3e4c4ed
      Rob Swindell authored
      Support optional WAV files via .ini keys:
      RingSound
      ConnectSound
      DisconnectSound
      
      ATM0 turns "speaker" (WAV playback) off (the default), ATM1 turns on.
      
      Ignore ATLn (speaker level), ATT (tone) and ATP (pulse) commands. These are
      sometimes found in init strings which we don't want to prematurely fail with
      a parse failure and "ERROR" result.
      
      Increment version number to 0.2.
      d3e4c4ed
  6. Jun 06, 2022
  7. Jun 05, 2022
  8. Jun 04, 2022
  9. Jun 03, 2022
  10. Jun 02, 2022
  11. Jun 01, 2022
    • Rob Swindell's avatar
      Add "Caller ID" support, enabled with AT#CID=1 or AT+VCID=1 · 2283ec95
      Rob Swindell authored
      Also controlled via [modem] CallerID key in svdm.ini fiile.
      Reports the connected IP address between the first and second RING result.
      Required a fix to reset the ringcount to 0 upon new connection.
      
      Simplified the AT command parsing logic a bit.
      2283ec95
    • Rob Swindell's avatar
      Accept all incoming connections in listen_thread() · ccb4d7dd
      Rob Swindell authored
      This sets the stage for "Caller-ID" support and IP/host filtering (before
      sending a "RING" result and requiring an auto-answer or host/BBS software to
      send "ATA").
      ccb4d7dd
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Don't clobber an open user.dat file descriptor in js_CreateUserObject() · e731ac18
      Rob Swindell authored
      Likely fix for the user.dat open file descriptor leak:
      If js_CreateUserObject(cx,parent,cfg,"name",...) is called multiple times
      (e.g. before login and after login), the successive calls will reuse the
      previously allocated JS object and allocated private data memory. However, the
      private data memory (which includes the descriptor of an open user.dat file,
      if it has been opened), was always zeroed, even if it was being reused. This
      would leak open file descriptor.
      
      So any (pre)login scripts or web scripts that use the "user" object (which
      is all zeroed-out before login) and then allows a user to subsequently login,
      would leak a file descriptor.
      e731ac18
Loading