1. b0a99e8 Don't shift version out of peerid, it is needed later. by nicm · 9 years ago
  2. 01defc9 Because pledge(2) does not allow us to pass directory file descriptors by nicm · 9 years ago
  3. bf9c933 Like options, move the environ struct into environ.c. by nicm · 9 years ago
  4. 44657bf Move struct options into options.c. by nicm · 9 years ago
  5. 07b0ea0 Break the common process set up, event loop and imsg dispatch code by nicm · 9 years ago
  6. 174a2ad Pass current directory as a string rather than a file descriptor because by nicm · 9 years ago
  7. 9c601eb Add pledge "stdio unix sendfd proc exec tty" to tmux client process, by nicm · 9 years ago
  8. 241fd72 Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept by guenther · 9 years ago
  9. 2a62917 Don't leak fd and path on failure. by nicm · 9 years ago
  10. 67ee995 No need to keep global options around for client which doesn't use them. by nicm · 9 years ago
  11. c6e9160 Login shell can be a client flag, and move the exec code into client.c. by nicm · 9 years ago
  12. dd92b6e Event base does not need to be global. by nicm · 9 years ago
  13. 4e637b1 Ignore environment variables that are too long to send to the server. by nicm · 9 years ago
  14. 29c29e7 Add a format for client PID (client_pid) and server PID (pid). Diff for by nicm · 9 years ago
  15. 6b21296 Move the nested check from client to server and compare the client tty by nicm · 9 years ago
  16. a5a873d Set up signal handler earlier so that we don't get zombies, reported by by nicm · 10 years ago
  17. 7a72eff Simplify error messages when socket connect fails, suggested by "Karthik K". by nicm · 10 years ago
  18. 02df860 Fix some format specifier nits, from Ben Boeckel. by nicm · 10 years ago
  19. 900f6fc Tidy up some includes. by nicm · 10 years ago
  20. 045d0c3 Call waitpid on SIGCHLD even if client not attached, it is possible (on by nicm · 10 years ago
  21. 4e956d5 Various minor style and spacing nits. by nicm · 10 years ago
  22. 8e4ae12 lockf is entirely useless and it was a mistake to change to it, go back by nicm · 10 years ago
  23. 2b67907 An EOF is a good reason to close a connection. by krw · 10 years ago
  24. 5b2c815 fcntl.h is still needed here. by nicm · 11 years ago
  25. bce9527 Remove some unnecessary includes and fix a typo. by nicm · 11 years ago
  26. b185449 Fix a memory/fd leak reported by Tiago Cunha. by nicm · 11 years ago
  27. adc1f21 Three small changes from Tiago Cunha: by nicm · 11 years ago
  28. 7624800 from nicm: : handle msgbuf_write() returning EAGAIN by benno · 11 years ago
  29. 99e3cbc Use format_get_command() and some spacing tweaks. by nicm · 11 years ago
  30. c1ccefc We accidentally haven't been using $TMUX to work out the session for a by nicm · 11 years ago
  31. 7936ce3 Show session name in detached message. Requested by somebody a few by nicm · 11 years ago
  32. b8b85fb Don't look at string[length - 1] if length == 0. by nicm · 11 years ago
  33. 282c5f9 Alter how tmux handles the working directory to internally use file by nicm · 11 years ago
  34. 10c3843 Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048. by nicm · 11 years ago
  35. 6c09301 Remove CMD_SENDENVIRON. by nicm · 11 years ago
  36. d89b35e Use lockf which is more portable than flock, from Dagobert Michelsen. by Nicholas Marriott · 12 years ago
  37. 88b92df We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when by Nicholas Marriott · 12 years ago
  38. 6fee3e9 Rename session idx to session id throughout and add $ prefix to targets by Nicholas Marriott · 12 years ago
  39. 62db3c8 Send DSC 1000p at the beginning of a -CC client's lifetime and ST and by Nicholas Marriott · 12 years ago
  40. 20636d9 Add a command queue to standardize and simplify commands that call other by Nicholas Marriott · 12 years ago
  41. 8d59b18 No more lint means no more ARGSUSED. by Nicholas Marriott · 12 years ago
  42. 2e43372 If stdin in the client is enable immediately, tmux will eat anything by Nicholas Marriott · 12 years ago
  43. 84a4007 Change a log to fprintf that was missed last time around, from Tiago Cunha. by Nicholas Marriott · 12 years ago
  44. df912e3 xfree is not particularly helpful, remove it. From Thomas Adam. by Nicholas Marriott · 12 years ago
  45. 0f00c3b Actually write all the data to stdout/stderr. by Nicholas Marriott · 12 years ago
  46. 2942eca Add a skeleton mode to tmux (called "control mode") that let's tmux by Nicholas Marriott · 12 years ago
  47. 196710e Simplify logging and just fprintf(stderr, ...) for early errors. by Nicholas Marriott · 13 years ago
  48. 7a4679a Instead of passing stdin/stdout/stderr file descriptors over imsg and by Nicholas Marriott · 13 years ago
  49. 94795eb Add missing prototype. by Nicholas Marriott · 13 years ago
  50. d3e4320 Use an enum for client exit reasons, from George Nachman. by Nicholas Marriott · 13 years ago
  51. 0edaa34 Add sys/file.h. by Nicholas Marriott · 13 years ago
  52. bf9e7a1 Move MSG_IDENTIFY to the last sent by the client, this will be needed by by Nicholas Marriott · 13 years ago
  53. ac9ebc2 Use a lock file and flock() to serialize server start, avoids problems by Nicholas Marriott · 13 years ago
  54. 7954126 Add a -P option to detach to HUP the client's parent process (usually by Nicholas Marriott · 14 years ago
  55. 69cb1f8 Move all calls to fcntl(...O_NONBLOCK) into a function and clear the by Nicholas Marriott · 14 years ago
  56. 248fb14 Merge the before and after attach client code into one in client.c by Nicholas Marriott · 14 years ago
  57. f56b4ec Trying to set FD_CLOEXEC on every fd is a lost cause, just use by Nicholas Marriott · 14 years ago
  58. fc9f082 Can't call event_del() without event_set() first - so call event_set() by Nicholas Marriott · 14 years ago
  59. 5f5104e MSG_EXIT can now have a return code in the message, so check for that by Nicholas Marriott · 14 years ago
  60. 76bbdeb Send all three of stdin, stdout, stderr from the client to the server, so that by Nicholas Marriott · 14 years ago
  61. 510ec3f Fix problems with window sizing seen by Raghavendra D Prabhu when by Nicholas Marriott · 14 years ago
  62. 36c0871 This ioctl(TIOCGWINSZ) call is no longer necessary, the result is never by Nicholas Marriott · 14 years ago
  63. 72d1afa Catch SIGHUP and terminate if running as a client. This prevents clients by Joel Sing · 15 years ago
  64. c4a2fdf Put this back in with the initialisation in the right order. by Nicholas Marriott · 15 years ago
  65. af5e0bd Revert last change, it appears to be broken somehow. by Nicholas Marriott · 15 years ago
  66. ec1d37b Make signal handler setup/teardown two common functions instead of six, by Nicholas Marriott · 15 years ago
  67. 15a64b8 Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last by Nicholas Marriott · 15 years ago
  68. 4ca857e Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to by Nicholas Marriott · 15 years ago
  69. a18a374 imsg_read returns ssize_t not int, pointed out by lint via deraadt. by Nicholas Marriott · 15 years ago
  70. 9f47c60 Don't return 1 unless there was actually a problem (signal/lost server) rather by Nicholas Marriott · 15 years ago
  71. 862fe15 Move some common code into a function. by Nicholas Marriott · 15 years ago
  72. abf3a5d Initial changes to move tmux to libevent. by Nicholas Marriott · 15 years ago
  73. 2a585dc Leftover unused variable :-/. by Nicholas Marriott · 15 years ago
  74. 42fd44f There isn't much point in doing lstat before connect so instead just do connect by Nicholas Marriott · 15 years ago
  75. a8b1379 Clear signal flags /before/ taking action and continue afterwards to reduce by Nicholas Marriott · 15 years ago
  76. 284b946 Tidy identify message send into a separate function. by Nicholas Marriott · 15 years ago
  77. 90ad041 Client tidying: get rid of client_ctx struct in favour of two variables in by Nicholas Marriott · 15 years ago
  78. 0907ca1 Do this in a better way - print messages when exiting with nonzero. by Nicholas Marriott · 15 years ago
  79. 760e39e Don't print exit messages when used as a login shell, requested by martynas@ a by Nicholas Marriott · 15 years ago
  80. 9200a0b Support -c like sh(1) to execute a command, useful when tmux is a login by Nicholas Marriott · 15 years ago
  81. b01dcd7 Remove the internal tmux locking and instead detach each client and run the by Nicholas Marriott · 15 years ago
  82. 962fa20 Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client by Nicholas Marriott · 15 years ago
  83. 64caf59 Don't attempt to open() the tty path, rely on the client sending its stdin fd by Nicholas Marriott · 15 years ago
  84. 273f1b3 Regularise some fatal messages. by Nicholas Marriott · 15 years ago
  85. 751a2fa Fix a race condition when asking a client to take over the terminal (switching by Nicholas Marriott · 15 years ago
  86. 459abaf That was the wrong fix. MSG_ERROR should set the error and the client should by Nicholas Marriott · 15 years ago
  87. 7a4bac8 Set exittype for error exit as well as the error string. by Nicholas Marriott · 15 years ago
  88. 85e8b70 imsg closes the fd after sending, so dup() STDIN_FILENO before passing it to by Nicholas Marriott · 15 years ago
  89. 4310282 Have the client pass its stdin fd to the server when identifying itself and by Nicholas Marriott · 15 years ago
  90. f063571 Switch tmux to use imsg. This is the last major change to make the by Nicholas Marriott · 15 years ago
  91. 6491274 Infrastructure and commands to manage the environment for processes started by Nicholas Marriott · 15 years ago
  92. e985629 Tidy function a little by using a temporary variable. by Nicholas Marriott · 15 years ago
  93. 5f13bb0 There aren't many client message types or code to handle them so get rid of the by Nicholas Marriott · 15 years ago
  94. 479d614 Tell the server when the client gets SIGTERM so it can clean up the terminal by Nicholas Marriott · 15 years ago
  95. 34a82e7 Make all messages sent between the client and server fixed size. by Nicholas Marriott · 15 years ago
  96. 4a04b49 None of the server message functions return anything but 0, so make them all by Nicholas Marriott · 15 years ago
  97. 16e017d Tidy client message return slightly: convert flags into an enum, and merge by Nicholas Marriott · 15 years ago
  98. bb14c36 Pass a set of flags into client_init rather than just a start_server by Nicholas Marriott · 15 years ago
  99. eb8ab96 Remove some dead assignments, found by sthen with clang. by Nicholas Marriott · 15 years ago
  100. 1156467 Call setproctitle earlier in the client, and include the socket name. Makes it by Nicholas Marriott · 15 years ago