Skip to content
Snippets Groups Projects
  1. Aug 05, 2015
  2. Jul 29, 2015
  3. Jul 24, 2015
  4. Jul 22, 2015
  5. Jul 17, 2015
  6. Jul 15, 2015
  7. Jul 14, 2015
  8. Jul 13, 2015
    • deuce's avatar
      Fix memory leak in wordwrap() where the paragraph array was never free()d. · ceb0fd0f
      deuce authored
      Add a great deal of comments for future-Deuce.
      ceb0fd0f
    • deuce's avatar
      Overhaul the wordwrap() function. · 5710fda8
      deuce authored
      The old code unwrapped from the old width and rewrapped to the new width in
      a single pass.  While this was more efficient, it was very difficult to work
      on and understand the code.
      
      Now, wordwrap() is a two pass process.  The first pass unwraps "paragraphs"
      (defined as being the text between two hard CRs) and the second pass wraps
      to the new width.  This makes it simpler to understand and debug.
      
      This fixes some odd wrapping issues when quoting messages.
      5710fda8
  9. Jul 12, 2015
  10. Jul 09, 2015
  11. Jul 08, 2015
  12. Jul 07, 2015
  13. Jul 05, 2015
    • deuce's avatar
      Improve the locking "stuff"... · 4d70127d
      deuce authored
      For regular vstatlock things, only hold the lock long enough to copy the
      variables that will be used.
      
      For vstat.vmem stuff, create a separate reference-counting vmem structure
      and a new vmem_lock so the memcpy() of the vmem won't block basic vstat
      accesses.
      
      This appears to fix the recently-added "blockiness" of screen updates in
      SyncTERM, without risking deadlocks or unlocked accesses... the major issue
      holding up a release.
      4d70127d
Loading