1. 26 Nov, 2015 1 commit
    • rswindell's avatar
      Make the SMB plain-text only feature available to users of the · 83cd7103
      rswindell authored
      MsgBase.get_msg_body() method: added an additional boolean argument (following
      the 'include_tails' argument), which defaults to false (disabled). Pass true
      for this argument to enable this feature. Yes, JS-authors could do this parsing
      easily via JS, but I figure so long as this feature is in the SMBLIB, might as
      well expose it to JS for consistency (e.g. in 3rd party message reader mods).
      83cd7103
  2. 23 Nov, 2015 2 commits
  3. 28 Oct, 2015 1 commit
  4. 29 Jul, 2015 1 commit
  5. 08 Nov, 2014 1 commit
  6. 06 Apr, 2014 1 commit
    • rswindell's avatar
      Store scfg_t* in JS runtime private rather than object private or global · 451ca678
      rswindell authored
      variable (with various race conditions). This resolves a long LONG standing
      bug that caused crashes when shutting down or recycling servers/services
      while one or more servers/services were in use.
      This change requires every thread which calls into libjs to have its own JS
      runtime.
      451ca678
  7. 05 Oct, 2013 1 commit
  8. 01 Oct, 2013 2 commits
  9. 30 Sep, 2013 1 commit
  10. 08 Feb, 2013 3 commits
  11. 07 Mar, 2012 1 commit
    • rswindell's avatar
      Created new SMB fixed header field: thread_id which contains the message number · bdfe0f79
      rswindell authored
      of the first message in the thread, or 0 if unknown (e.g. legacy message). When
      a new message is created, the thread_id value of the message being replied-to
      will be used, else if the new msg is not a reply, then the new message's number
      will be the value used for the thread_id.
      This "thread-id" feature (Deuce's idea) allows threads with a common parent to
      remain logically grouped after the original messages in the thread have been
      purged (though the original hiearchy will start to be lost).
      bdfe0f79
  12. 12 Nov, 2011 1 commit
  13. 09 Nov, 2011 4 commits
  14. 02 Nov, 2011 1 commit
  15. 29 Oct, 2011 1 commit
  16. 27 Oct, 2011 2 commits
  17. 26 Oct, 2011 2 commits
    • deuce's avatar
      Check the return of JS_ValueToInt32() and return false in method/property · c1fdb1b1
      deuce authored
      functions when an excpetion is pending.
      
      Some work still needs to be done on js_msgbase.c,  js_user.c, and mailsrvr.c
      c1fdb1b1
    • deuce's avatar
      "Fix" problem as a result of the change to JSVAL_IS_NUM() · b2d7cf7e
      deuce authored
      Perviously, if the argument to a number of bbs.* functions was not a valid
      number, Synchronet would silently ignore the parameter and treat it as though
      it was not specified.
      
      The new behaviour was to use the value as a number.  However, the old code
      caused the exception triggered by an inability to convert the number to
      be pending until after the return (the JS_Native didn't return JS_FALSE) so
      a try/catch block aorund it would not catch the exception.
      
      The new new behaviour is to throw the exception immediately so it can be
      caught and handled correctly.
      b2d7cf7e
  18. 19 Oct, 2011 1 commit
  19. 16 Oct, 2011 2 commits
  20. 11 Oct, 2011 1 commit
  21. 10 Oct, 2011 1 commit
  22. 09 Oct, 2011 6 commits
  23. 08 Oct, 2011 1 commit
  24. 30 Aug, 2011 1 commit
  25. 25 Aug, 2011 1 commit