Commit Graph

  • 44307712ed Add to TODO. Nicholas Marriott 2012-08-12 18:56:25 +00:00
  • 20129b7bf9 Simplify width calculation (all numbers always sequential) and don't rely on uninitialized data, from Thomas Adam. Nicholas Marriott 2012-08-12 06:22:26 +00:00
  • a194430e5d Remove dead code, from Sean Estabrooks. Nicholas Marriott 2012-08-11 07:32:16 +00:00
  • cf2e65c0e2 Another missing format from sam at sltosis.org. Nicholas Marriott 2012-08-11 07:10:01 +00:00
  • 8889a48f9b Fix a return type. Nicholas Marriott 2012-08-11 06:46:47 +00:00
  • a3dec6bece Instead of numbering choose mode items 0-9a-z and then nothing, number them all and if there are more than 10 use a prompt when 0-9 is pressed. From Thomas Adam. Nicholas Marriott 2012-08-11 06:45:33 +00:00
  • ff4097e02c Add some missing formats from Samuel Le Thiec. Nicholas Marriott 2012-08-11 05:55:12 +00:00
  • c081af2963 Sync with reality. Tiago Cunha 2012-07-16 22:19:13 +00:00
  • 89a96b05fa Document pane_index variable, from sam at sltosis dot org. Nicholas Marriott 2012-07-15 06:51:57 +00:00
  • 5385a9bb34 Add a queue of notifys and a way to turn them off and on (we do not want notifys to happen during some commands). Based on code from George Nachman. Nicholas Marriott 2012-07-13 06:27:41 +00:00
  • d697b5ef20 Sync OpenBSD patchset 1152: Tiago Cunha 2012-07-12 21:14:46 +00:00
  • 81858d7891 Now that the queue _SAFE macros are available, use them instead of rolling our own. This is analogous to the recent changes to the detach-client and kill-{session,window} commands. Tiago Cunha 2012-07-12 21:04:43 +00:00
  • 7a583b1e54 Sync with OpenBSD. Mostly because of the added _SAFE macros which is needed by an upcoming change. Tiago Cunha 2012-07-12 20:59:39 +00:00
  • 35a8a61254 Nuke unused variable from Thomas Adam. Nicholas Marriott 2012-07-12 13:03:42 +00:00
  • 513bd8f62d Remove remaining xfree calls from the portable version. Tiago Cunha 2012-07-11 19:50:46 +00:00
  • 1f5e6e35d5 Sync OpenBSD patchset 1151: Tiago Cunha 2012-07-11 19:37:32 +00:00
  • a432fcd306 Sync OpenBSD patchset 1150: Tiago Cunha 2012-07-11 19:34:16 +00:00
  • 06d27e94b2 Sync OpenBSD patchset 1149: Tiago Cunha 2012-07-11 19:30:01 +00:00
  • 188be9718e Sync OpenBSD patchset 1148: Tiago Cunha 2012-07-11 17:16:25 +00:00
  • bbd3e822c7 Sync OpenBSD patchset 1147: Tiago Cunha 2012-07-11 17:15:53 +00:00
  • 45a2e2d6c6 Update list of sources to reflect the recent changes introduced by the choose-tree command. Tiago Cunha 2012-07-11 17:15:23 +00:00
  • a10143a2d1 Sync OpenBSD patchset 1146: Tiago Cunha 2012-07-11 17:13:55 +00:00
  • 38530de622 Sync OpenBSD patchset 1144: Tiago Cunha 2012-07-11 17:06:11 +00:00
  • f040bc249f Add. Nicholas Marriott 2012-07-11 09:28:11 +00:00
  • ede8312d59 Make command exec functions return an enum rather than -1/0/1 values and add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531. Nicholas Marriott 2012-07-11 07:10:15 +00:00
  • df912e3540 xfree is not particularly helpful, remove it. From Thomas Adam. Nicholas Marriott 2012-07-10 11:53:01 +00:00
  • 3886f60671 +. Nicholas Marriott 2012-07-09 20:46:41 +00:00
  • a3391692ad Move a NULL check inside a function, from Tiago Cunha. Nicholas Marriott 2012-07-09 09:55:57 +00:00
  • 91f54b59ac Fix choose-tree usage string. Nicholas Marriott 2012-07-09 07:08:03 +00:00
  • b0f4f94b5b remove extraneous line; Jason McIntyre 2012-07-08 17:24:29 +00:00
  • f20c6fe009 Add choose-tree command to show windows and sessions in the same list. Change choose-window and -session to use the same code. From Thomas Adam. Nicholas Marriott 2012-07-08 16:04:38 +00:00
  • 191a92c0c6 Sort SRCS list. Nicholas Marriott 2012-07-08 15:24:08 +00:00
  • adba3d35b1 + entry to show default options, suggested by Thomas Adam. Nicholas Marriott 2012-07-08 13:32:09 +00:00
  • 63f5c38023 Clear flags across all sessions, from Thomas Adam. Nicholas Marriott 2012-07-08 07:27:32 +00:00
  • 7e02d2f459 Sync OpenBSD patchset 1143: Tiago Cunha 2012-07-04 11:03:20 +00:00
  • 5761712799 Sync OpenBSD patchset 1142: Tiago Cunha 2012-07-04 11:01:00 +00:00
  • 9bb97522d5 Sync OpenBSD patchset 1141: Tiago Cunha 2012-07-04 10:55:22 +00:00
  • f4053bc217 Sync OpenBSD patchset 1140: Tiago Cunha 2012-07-04 10:54:45 +00:00
  • 67b926cf3c Provide common helper function for adding windows and sessions to choose lists and expand %% in command before using it rather than at callback time. From Thomas Adam. Nicholas Marriott 2012-06-25 14:27:25 +00:00
  • 5b6f78186c Clean up and simplify the choose mode code, from Thomas Adam. Nicholas Marriott 2012-06-25 14:08:55 +00:00
  • 39abca401a Trim a blank line. Nicholas Marriott 2012-06-25 13:49:16 +00:00
  • a7917430d8 Remove a couple of unused variables from redbrain at gcc dot gnu dot org. Nicholas Marriott 2012-06-20 12:55:55 +00:00
  • 202c04414c More ifdef goo is needed due to NOKERNINFO. Tiago Cunha 2012-06-18 16:23:42 +00:00
  • bc47596313 Sync OpenBSD patchset 1139: Tiago Cunha 2012-06-18 15:25:23 +00:00
  • dfc845e7f9 Add control.c to the list of sources. Tiago Cunha 2012-06-18 15:24:17 +00:00
  • 0159c74a32 Sync OpenBSD patchset 1138: Tiago Cunha 2012-06-18 15:23:01 +00:00
  • a401420273 Sync OpenBSD patchset 1137: Tiago Cunha 2012-06-18 15:17:55 +00:00
  • fce30422f3 Sync OpenBSD patchset 1136: Tiago Cunha 2012-06-18 15:15:32 +00:00
  • 2a36a0a067 Sync OpenBSD patchset 1135: Tiago Cunha 2012-06-18 15:14:48 +00:00
  • 1c15848c47 Sync OpenBSD patchset 1134: Tiago Cunha 2012-06-18 15:12:54 +00:00
  • 4a634a7da4 Sync OpenBSD patchset 1133: Tiago Cunha 2012-06-18 15:11:35 +00:00
  • 576f2694b1 Sync OpenBSD patchset 1132: Tiago Cunha 2012-06-18 15:10:40 +00:00
  • 0f00c3b47a Actually write all the data to stdout/stderr. Nicholas Marriott 2012-06-18 13:34:56 +00:00
  • 2942eca895 Add a skeleton mode to tmux (called "control mode") that let's tmux commands be sent and output received on stdout. This can be used to integrate with other terminal emulators and should allow some other things to be made simpler later. More to come so doesn't do much yet and deliberately not documented. Nicholas Marriott 2012-06-18 13:16:42 +00:00
  • 7c39850d1f Tidy up bell code, from Thomas Adam. Nicholas Marriott 2012-06-18 10:58:44 +00:00
  • a13b4a819a Add a couple of NULL pointer checks to key binding functions, from jspenguin on SF bug 3535531. Nicholas Marriott 2012-06-18 09:58:02 +00:00
  • a4a2c68fa9 Do not crash when the current session has no window, fixes a bug reported by Giorgio Lando. Fix from Thomas Adam. Nicholas Marriott 2012-06-18 09:20:19 +00:00
  • 2113115cdd Add -a for kill-session, from Thomas Adam. Nicholas Marriott 2012-06-18 09:16:15 +00:00
  • 038e8b770d Add -a flag for detach-client, from Thomas Adam. Nicholas Marriott 2012-06-18 09:15:22 +00:00
  • 04ac61ecd7 Simplify references to alerts in the man page, from Thomas Adam. Nicholas Marriott 2012-06-18 09:13:12 +00:00
  • eed7d9b473 Do not use stderr for log file and don't call log_close when not needed. Nicholas Marriott 2012-05-30 15:01:57 +00:00
  • 021e95b09f Do not use stderr for log file and don't call log_close when not needed. Nicholas Marriott 2012-05-30 15:01:21 +00:00
  • bf4b02cea2 Sync OpenBSD patchset 1130: Tiago Cunha 2012-05-30 13:49:45 +00:00
  • e96d514247 Sync OpenBSD patchset 1129: Tiago Cunha 2012-05-30 13:49:05 +00:00
  • bcda6eed63 Sync OpenBSD patchset 1128: Tiago Cunha 2012-05-30 13:48:16 +00:00
  • 2e3a260315 Sync OpenBSD patchset 1127: Tiago Cunha 2012-05-30 13:47:33 +00:00
  • b24829a99c Sync OpenBSD patchset 1126: Tiago Cunha 2012-05-30 13:46:25 +00:00
  • 7c7bd14c61 Sync OpenBSD patchset 1125: Tiago Cunha 2012-05-30 13:45:16 +00:00
  • 30b23baaf5 Sync OpenBSD patchset 1124: Tiago Cunha 2012-05-30 13:44:13 +00:00
  • 169d362945 Sync OpenBSD patchset 1123: Tiago Cunha 2012-05-30 13:42:57 +00:00
  • c6fc8771a9 Sync OpenBSD patchset 1122: Tiago Cunha 2012-05-30 13:41:58 +00:00
  • 626c8aa8e7 Add a simple zoom script from Juan Ignacio Pumarino. Nicholas Marriott 2012-05-30 10:33:20 +00:00
  • db20f2d907 Add pane title to choose-window template and use the right index for the pane, from Romain Francoise. Nicholas Marriott 2012-05-29 08:15:45 +00:00
  • 63d109fb7f Use RB_FOREACH_SAFE as winlinks are being removed, from Chris Johnsen. Nicholas Marriott 2012-05-29 08:12:13 +00:00
  • 226f9fa012 Use session from -t for killw -a, from Chris Johnsen. Nicholas Marriott 2012-05-29 08:11:34 +00:00
  • f51c55c3f0 Use default-shell not _PATH_BSHELL to spawn commands, pointed out by Dennis G?nnewig and Thomas Adam. Nicholas Marriott 2012-05-28 08:55:43 +00:00
  • fbf2bd865c Trim a double space from template. Nicholas Marriott 2012-05-28 08:00:46 +00:00
  • 1845800651 Strip layout from choose-windows again (leave in list-windows), suggested by Romain Francoise, diff from Thomas Adam. Nicholas Marriott 2012-05-28 07:59:07 +00:00
  • 993f1b96a3 Fix client templates, from Romain Francoise. Nicholas Marriott 2012-05-27 21:43:57 +00:00
  • 196710e2d3 Simplify logging and just fprintf(stderr, ...) for early errors. Nicholas Marriott 2012-05-25 08:28:10 +00:00
  • ed85c5a198 Remove an extraneous word. Nicholas Marriott 2012-05-23 20:08:14 +00:00
  • 1f23f6d686 Use a predefined structure for not-space cells used to set attributes. Nicholas Marriott 2012-05-23 19:19:40 +00:00
  • 17da2f7d5f Sync OpenBSD patchset 1121: Tiago Cunha 2012-05-22 21:05:30 +00:00
  • fff7c0b276 Sync OpenBSD patchset 1120: Tiago Cunha 2012-05-22 21:04:25 +00:00
  • 5cc4961fd2 Sync OpenBSD patchset 1119: Tiago Cunha 2012-05-22 21:03:25 +00:00
  • baafc17a1e Sync OpenBSD patchset 1118: Tiago Cunha 2012-05-22 20:59:58 +00:00
  • 49b2a255b6 Sync OpenBSD patchset 1117: Tiago Cunha 2012-05-22 20:59:12 +00:00
  • d9cb07df3b Sync OpenBSD patchset 1116: Tiago Cunha 2012-05-22 20:58:33 +00:00
  • a97f22ff2b Sync OpenBSD patchset 1115: Tiago Cunha 2012-05-22 20:57:47 +00:00
  • ffab6dbc9a Sync OpenBSD patchset 1114: Tiago Cunha 2012-05-22 20:56:35 +00:00
  • 04bf0d8efc Sync OpenBSD patchset 1113: Tiago Cunha 2012-05-22 20:50:51 +00:00
  • 3604b31b6f Sync OpenBSD patchset 1112: Tiago Cunha 2012-05-22 20:50:03 +00:00
  • 84c708f355 Store client in tty struct directly instead of using a callback function pointer. Nicholas Marriott 2012-05-22 14:32:28 +00:00
  • fe4f00834d Store mouse data in tty structure not on the stack. Nicholas Marriott 2012-05-22 14:11:30 +00:00
  • ebf94bc9cb Switch all of the various choose- and list- commands over to the format infrastructure, from Thomas Adam. Nicholas Marriott 2012-05-22 11:35:37 +00:00
  • 682884edc5 Add a helper function to send ready message. Nicholas Marriott 2012-05-22 10:56:48 +00:00
  • 82b053a811 Use tty_pane_full_width macro in some more places. Nicholas Marriott 2012-05-22 09:37:54 +00:00
  • 2f93affb98 If there are any terminals with insert mode but not ich1, they can go through the slow path. Tidies code slightly. Nicholas Marriott 2012-05-22 09:36:12 +00:00
  • 243d12752c Move some common code to repeat spaces into a function. Nicholas Marriott 2012-05-22 09:09:16 +00:00
  • 7a4679a17f Instead of passing stdin/stdout/stderr file descriptors over imsg and handling them in the server, handle them in the client and pass buffers over imsg. This is much tidier for some upcoming changes and the performance hit isn't critical. Nicholas Marriott 2012-05-21 18:27:42 +00:00