Skip to content
Snippets Groups Projects
  1. Dec 17, 2017
  2. Oct 04, 2017
  3. Jul 02, 2017
  4. May 19, 2017
  5. Mar 03, 2017
  6. Feb 19, 2017
  7. Jan 30, 2017
  8. Jan 02, 2017
    • George Nachman's avatar
      Use sudo's method (and code) to close file descriptors instead of iterating... · f6b54d66
      George Nachman authored
      Use sudo's method (and code) to close file descriptors instead of iterating over every possible file descritor. In issue 5391 we see that closing file descriptors can take a very long time: 4 seconds in this user's case. We now close file descriptors in the file descriptor server before fork(). Since the file descriptor server is single-threaded, this works and is safe. Sudo uses opendir() after fork() which could deadlock, which we don't want to risk (and is a more serious concern for us since we're multithreaded) so when session restoration is disabled we still close every file descriptor because that's the state of the art on macOS (sigh).
      f6b54d66
  9. Dec 23, 2016
  10. Dec 01, 2016
  11. Oct 02, 2016
  12. Aug 21, 2016
    • George Nachman's avatar
      Rate limit TIOCSWINSZ to 5/second to avoid signal coalescing preventing the... · dcb469fb
      George Nachman authored
      Rate limit TIOCSWINSZ to 5/second to avoid signal coalescing preventing the remote from redrawing when size changes twice in rapid succession, as when you close a split pane with a per-pane title bar (1st the title bar goes away, causing a size change, and then the split goes away causing a second size change in rapdi succession). Issue 5096
      dcb469fb
  13. Aug 12, 2016
  14. Jun 22, 2016
  15. Jun 14, 2016
  16. Jun 13, 2016
  17. May 10, 2016
  18. Apr 01, 2016
    • George Nachman's avatar
      Add an off-by-default advanced pref to redraw the screen after Clear Buffer is... · 2a79e990
      George Nachman authored
      Add an off-by-default advanced pref to redraw the screen after Clear Buffer is selected. It's off by default because of the possible privacy implications (you might hit cmd-k quickly when your boss is walking by). Also refactor how size is used by PTYTask, VT100Screen, and PTYSession to be a VT100GridSize instead of two variables. Issue 4494.
      2a79e990
  19. Mar 28, 2016
  20. Feb 28, 2016
  21. Feb 18, 2016
  22. Oct 10, 2015
  23. Oct 01, 2015
  24. Jul 10, 2015
  25. Jul 01, 2015
  26. Jun 27, 2015
  27. Jun 11, 2015
    • George Nachman's avatar
      Have TaskNotifier waitpid() for dead servers. I noticed waitpid() hang when... · a8da080a
      George Nachman authored
      Have TaskNotifier waitpid() for dead servers. I noticed waitpid() hang when the child had exited. I tried wait() to no avail. ps showed it in parens and ps -o status showed a ? in the first column, which I think means task_for_pid failed, suggesting the process is in some weird state. Oddly, after breaking out of the loop waidpid was in, the dead process disappeared on its own. See the angry comment in -killServerIfRunning for more details on why this should work without causing too much harm.
      a8da080a
  28. Jun 10, 2015
  29. Jun 08, 2015
  30. Jun 07, 2015
  31. Jun 06, 2015
  32. Jun 03, 2015
  33. Jun 01, 2015
Loading