nicm 
							
						 
					 
					
						
						
							
						
						9b7697db62 
					 
					
						
						
							
							Change cmd_find_target to use a state struct from the caller.  
						
						
						
						
					 
					
						2015-12-13 16:44:35 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						ae5ddfdc1a 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-12-13 16:01:13 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						ff599f4004 
					 
					
						
						
							
							Remove the cmd_find_{session,window,pane,index} functions (which are  
						
						... 
						
						
						
						just wrappers around cmd_find_target) and just use cmd_find_target
directly. 
						
						
					 
					
						2015-12-13 15:32:12 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						4a4daf1303 
					 
					
						
						
							
							Instead of every command resolving the target (-t or -s) itself, prepare  
						
						... 
						
						
						
						the state (client, session, winlink, pane) for it it before entering the
command. Each command provides some flags that tell the prepare step
what it is expecting.
This is a requirement for having hooks on commands (for example, if you
hook "select-window -t1:2", the hook command should to operate on window
1:2 not whatever it thinks is the current window), and should allow some
other target improvements.
The old cmd_find_* functions remain for the moment but that layer will
be dropped later.
Joint work with Thomas Adam. 
						
						
					 
					
						2015-12-13 14:32:38 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						845a664bb2 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-12-12 20:01:15 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						5ed17e84fa 
					 
					
						
						
							
							Add key-table option to set the default key table for a session, allows  
						
						... 
						
						
						
						different key bindings for different sessions and a few other things. 
						
						
					 
					
						2015-12-12 18:32:24 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						39cf9c9d31 
					 
					
						
						
							
							Allow prefix and prefix2 to be set to None to disable (useful if you  
						
						... 
						
						
						
						would rather bind the prefix in the root table). 
						
						
					 
					
						2015-12-12 18:19:00 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						2a6b215328 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-12-11 18:01:11 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						88bc8f3528 
					 
					
						
						
							
							Style nits and line wrapping of function declarations.  
						
						
						
						
					 
					
						2015-12-11 16:37:21 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						2a3456cd3b 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-12-11 16:01:16 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						bd5918760e 
					 
					
						
						
							
							We cannot do hooks_find and then hooks_remove because it might have come  
						
						... 
						
						
						
						from the parent (global) tree, instead make it remove by name like options.
While here, also tidy up a few bits of options and hooks handling (use
RB_FOREACH_SAFE, and a helper function for the free). 
						
						
					 
					
						2015-12-11 15:46:57 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						4909a70174 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-12-11 13:24:45 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						01831da5f5 
					 
					
						
						
							
							Add cmdq as an argument to format_create and add a format for the  
						
						... 
						
						
						
						command name (will also be used for more later). 
						
						
					 
					
						2015-12-11 12:27:36 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						af8134a6ff 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-12-08 10:01:16 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						e0f26dcda3 
					 
					
						
						
							
							Remove format_create_flags and just pass flags to format_create.  
						
						
						
						
					 
					
						2015-12-08 08:34:18 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						8f671d3eef 
					 
					
						
						
							
							Spacing nits.  
						
						
						
						
					 
					
						2015-12-08 08:14:04 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						5862f59ed7 
					 
					
						
						
							
							Conflicts:  
						
						... 
						
						
						
						Makefile 
						
						
					 
					
						2015-12-08 07:11:09 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						d2fb0efcd1 
					 
					
						
						
							
							Add hooks infrastructure, basic commands (set-hook, show-hooks) and a  
						
						... 
						
						
						
						couple of not very useful client hooks. This will eventually let
commands be run at various points and on notifications. Joint work with
Thomas Adam. 
						
						
					 
					
						2015-12-08 01:10:31 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						bac8c72381 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-12-07 10:01:09 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						b9563340b7 
					 
					
						
						
							
							Fix bell indicators across detach, reported by Torbjorn Lonnemark, diff  
						
						... 
						
						
						
						from Thomas Adam. 
						
						
					 
					
						2015-12-07 09:47:41 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						9fe8b28746 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-27 15:41:28 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						6a2ca34216 
					 
					
						
						
							
							Do not set a limit on the length of commands when printing them.  
						
						
						
						
					 
					
						2015-11-27 15:06:43 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						890d8da2e3 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						... 
						
						
						
						Conflicts:
	log.c
	proc.c
	tmux.c 
						
						
					 
					
						2015-11-25 16:37:30 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						62d3af17f9 
					 
					
						
						
							
							Make environ_set va_args and use it to tidy up some calls. Also add a  
						
						... 
						
						
						
						missing word in manpage (from jmc). 
						
						
					 
					
						2015-11-24 23:46:15 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						3ff46b2e43 
					 
					
						
						
							
							Shell command from -c doesn't have to be global, pass it as an argument.  
						
						
						
						
					 
					
						2015-11-24 23:22:51 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						c913fb99b6 
					 
					
						
						
							
							Tidy the code that works out the socket path, and just use the full path  
						
						... 
						
						
						
						in the global socket_path rather than copying it. 
						
						
					 
					
						2015-11-24 22:27:22 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						1e2df2d464 
					 
					
						
						
							
							Remove the -I part of show-messages which isn't really that useful; the  
						
						... 
						
						
						
						server start time can now be accessed with a new start_time format (use:
tmux display -p '#{t:start_time}') 
						
						
					 
					
						2015-11-24 21:52:06 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						9cccb8c115 
					 
					
						
						
							
							Make the log stuff a bit tidier with some helper functions.  
						
						
						
						
					 
					
						2015-11-24 21:19:46 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						534f9e3ab1 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-24 10:01:13 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						b32ce34cf2 
					 
					
						
						
							
							Don't allow options in table without scope set.  
						
						
						
						
					 
					
						2015-11-24 09:34:55 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						3f47ff6ecd 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-24 00:01:16 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						2adf3f42ee 
					 
					
						
						
							
							Partly revert previous, it is harmless to keep support for UTF-8 mouse  
						
						... 
						
						
						
						mode inside tmux, just no longer support it for tmux itself. 
						
						
					 
					
						2015-11-23 23:47:57 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						b642b3c8e3 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-23 21:21:12 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						32e510bd70 
					 
					
						
						
							
							Remove support for the UTF-8 mouse extension. This was a briefly used,  
						
						... 
						
						
						
						poor idea that was fairly quickly replaced by SGR mouse input (which is
now widespread). It is impossible to tell the difference between UTF-8
and non-UTF-8 mouse input; since the mouse-utf8 option was removed tmux
has not handled it correctly in any case; and it is ridiculous to have
three different forms of mouse input. 
						
						
					 
					
						2015-11-23 20:53:09 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						78a00c845c 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						... 
						
						
						
						Conflicts:
	tmux.h 
						
						
					 
					
						2015-11-21 14:24:33 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						fce56c56ef 
					 
					
						
						
							
							Instead of separate tables for different types of options, give each  
						
						... 
						
						
						
						option a scope type (server, session, window) in one table. 
						
						
					 
					
						2015-11-20 12:01:19 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						374e273df5 
					 
					
						
						
							
							Only assume pasting with at least two characters, reduces problems for  
						
						... 
						
						
						
						people who can type ^B c very fast, or who are using tmux inside
something else that buffers. 
						
						
					 
					
						2015-11-19 22:46:46 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						7fe8edc396 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-18 16:01:23 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						577c0e3e5a 
					 
					
						
						
							
							Use __unused rather than rolling our own.  
						
						
						
						
					 
					
						2015-11-18 14:27:44 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						8fa822b521 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-18 14:01:12 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						64571368dc 
					 
					
						
						
							
							Sync the entire xmalloc.[ch] with the other users, but with the addition  
						
						... 
						
						
						
						of xrealloc, xvasprintf, xvsnprintf. 
						
						
					 
					
						2015-11-18 13:06:54 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						1686a15fb6 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-16 00:01:10 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						661d0dfac9 
					 
					
						
						
							
							Make key_code unsigned long long not uint64_t which is more portable for  
						
						... 
						
						
						
						printf formats, and move UTF8_SIZE define down to near the rest of the
UTF-8 bits. 
						
						
					 
					
						2015-11-15 22:50:38 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						f12d7f0d4b 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-14 12:01:09 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						205d15e82d 
					 
					
						
						
							
							All these return values from utf8_* are confusing, use an enum.  
						
						
						
						
					 
					
						2015-11-14 11:45:43 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						7b4b78b419 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						
						
						
					 
					
						2015-11-14 11:38:52 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						7b749eff35 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						... 
						
						
						
						Conflicts:
	server.c
	tmux.c 
						
						
					 
					
						2015-11-14 11:38:30 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						64333e3ef8 
					 
					
						
						
							
							Be more strict about invalid UTF-8.  
						
						
						
						
					 
					
						2015-11-14 10:56:31 +00:00 
						 
				 
			
				
					
						
							
							
								nicm 
							
						 
					 
					
						
						
							
						
						c56b81a2ce 
					 
					
						
						
							
							Push stdout and stderr to clients more aggressively, and add an event to  
						
						... 
						
						
						
						continue if the send fails. 
						
						
					 
					
						2015-11-14 09:41:06 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Adam 
							
						 
					 
					
						
						
							
						
						3df4959f51 
					 
					
						
						
							
							Merge branch 'obsd-master'  
						
						... 
						
						
						
						Conflicts:
	Makefile 
						
						
					 
					
						2015-11-13 10:42:45 +00:00