Commit Graph

  • 353d1825d5 Send up and down keys for mouse wheel in alternate screen mode (when it normally does nothing), from Marcel Partap. nicm 2014-05-08 07:59:16 +00:00
  • 94ccc6aeaa Instead of forcing mouse scroll to 1 in choose mode, scale it down instead. Means modifier keys still increase the line count, just not as much. Based on a diff from Marcel Partap. nicm 2014-05-08 07:54:47 +00:00
  • 189017c078 Plug a memory leak, from J Raynor. nicm 2014-05-08 06:06:07 +00:00
  • 540f0b3e45 Both the two previous ways of navigating panes by direction have irritating flaws: nicm 2014-05-08 06:03:30 +00:00
  • 6369ea10d7 Handle colour 8 properly in the 256 colour palette, from Timothy Allen. nicm 2014-05-08 05:53:29 +00:00
  • ea5a223a2e Merge branch 'obsd-master' Thomas Adam 2014-04-30 00:05:58 +01:00
  • 5b2c8156d5 fcntl.h is still needed here. nicm 2014-04-29 22:31:22 +00:00
  • afb4dbd465 Typo in previous: $(srcdir) Thomas Adam 2014-04-29 23:13:51 +01:00
  • b096ad9f22 Makefile.am: Honour $srcdir for mdoc2man.awk Thomas Adam 2014-04-29 23:10:22 +01:00
  • 40cb4cb086 specifying ECHOCTL once is enough ok nicm@ jsg 2014-04-25 12:45:16 +00:00
  • 3f54c9292f Merge branch 'obsd-master' Thomas Adam 2014-04-24 12:59:00 +01:00
  • bec6c807cd There is no longer a need for a paste_stack struct or for global_buffers to be global. Move to paste.c. nicm 2014-04-24 09:14:43 +00:00
  • 953c3ef47a Merge branch 'obsd-master' Thomas Adam 2014-04-23 11:26:11 +01:00
  • 7ab2690be8 Differentiate between linked and unlinked window closes and renames, like we already do for adds. From Andre Masella. nicm 2014-04-23 10:14:29 +00:00
  • 12e9c974fa Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-04-17 23:50:24 +01:00
  • 024846b4d8 If pgrp fails in osdep_get_cwd, try sid. Fixes eg cat foo|less. From Balazs Kezes. Nicholas Marriott 2014-04-17 23:48:19 +01:00
  • 64613b9d41 #nnT went away a while ago, remove a leftover from the manpage. nicm 2014-04-17 15:48:02 +00:00
  • 806520f025 Add some UTF-8 utility functions and use them to prevent the width limit on formats from splitting UTF-8 characters improperly. nicm 2014-04-17 15:37:55 +00:00
  • a5d4b7f3d9 Some more long lines. nicm 2014-04-17 14:45:49 +00:00
  • 248ad8bdb2 Next up is 2.0 not 1.10. Nicholas Marriott 2014-04-17 15:26:26 +01:00
  • f194f103a2 Only scroll by one line at a time in choose mode, lists are generally pretty small. nicm 2014-04-17 14:13:59 +00:00
  • 3e27be353d Set PATH explicitly, either from client or session environment. Previously it came from the session environment. From J Raynor. nicm 2014-04-17 13:02:59 +00:00
  • c3b2e5eed3 Wrap some long lines. nicm 2014-04-17 12:57:28 +00:00
  • ada75af199 Don't limit the DCS buffer to 256 bytes, expand it as needed. Requested by Suraj Kurapati. nicm 2014-04-17 12:43:38 +00:00
  • bce952777a Remove some unnecessary includes and fix a typo. nicm 2014-04-17 11:38:35 +00:00
  • 2e98c9057d Correct the dance to fix the active pane in join-pane by pulling the (right) code from break-pane and window_remove_pane into a helper function. nicm 2014-04-17 09:13:13 +00:00
  • 2740490e27 Remove the "info" message mechanism, this was only used for about five mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now. nicm 2014-04-17 07:55:43 +00:00
  • 877bdb46ed Extend the -q flag to set-option to suppress errors about unknown options - this will allow options to be removed more easily. nicm 2014-04-17 07:51:38 +00:00
  • ebc5cb447f Do not show the -fg, -bg and -attr options. If asked for one explicitly, show the equivalent -style option instead. nicm 2014-04-17 07:43:20 +00:00
  • 992ef70fb6 Remove the monitor-content option and associated bits and bobs. It's never worked very well. If there is a big demand for it to return, will consider better ways to do it. nicm 2014-04-17 07:36:45 +00:00
  • 5acee1c04e Memory leak in error path and unnecessary assignment, from clang. nicm 2014-04-16 23:05:38 +00:00
  • 871b83cbab Remove a leftover prototype and fix some spacing. nicm 2014-04-16 21:16:19 +00:00
  • 14a96df9ee Remove the choose-list command to prepare for some later choose-* work. nicm 2014-04-16 21:02:41 +00:00
  • e5d85c6c3c Because we pass the file descriptor from client to server, tmux can't usefully work if stdin is /dev/tty. Complain about it more clearly. nicm 2014-04-16 08:02:31 +00:00
  • 4abc8f717a Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-04-15 00:33:56 +01:00
  • 8e1cef4040 +. Nicholas Marriott 2014-04-15 00:31:45 +01:00
  • a47d2397df Don't leak socketpair file descriptors if fork fails. Spotted by Balazs Kezes. nicm 2014-04-14 22:27:30 +00:00
  • b8bda67f30 Don't blindly increase offsets by the return value of snprintf, if there wasn't enough space this will go off the end. Instead clamp to the available space. Fixes crash reported by Julien Rebetez. nicm 2014-04-11 19:35:54 +00:00
  • 73c5a487c1 save-buffer needs to use O_TRUNC. nicm 2014-04-07 10:32:16 +00:00
  • 57c514d2f8 Remove <vis.h>; not used on Linux. Thomas Adam 2014-04-05 12:40:19 +01:00
  • 0c99c7dbff Merge branch 'obsd-master' Thomas Adam 2014-04-05 12:36:14 +01:00
  • acef311fe3 Work out mouse scroll wheel effect when the mouse is first detected and store it in struct mouse_event, reduce the scroll size the 3 but allow shift to reduce it to 1 and meta and ctrl to multiply by 3 if the terminal supports them, also support wheel in choose mode. From Marcel Partap. nicm 2014-04-03 08:20:29 +00:00
  • 8824dae6f7 A couple of trivial mouse-related style nits. nicm 2014-04-03 08:15:17 +00:00
  • 252a7373d6 Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also make buffer_sample bigger to let it trim at window right edge. nicm 2014-04-02 18:12:18 +00:00
  • 82f3e0e9e6 Use the same logic for bell with and without visual-bell, from Filip Moc. nicm 2014-04-02 17:14:24 +00:00
  • 8880bdb67c Do not replace ## with # in status_replace1 because it'll be done later by the format code. nicm 2014-04-02 17:08:23 +00:00
  • 806d5dcb17 Remove LocalWords. Nicholas Marriott 2014-04-02 18:02:25 +01:00
  • b52b40b2bc pane_start_path has gone away. nicm 2014-04-02 07:55:09 +00:00
  • d9960b2d4d missed commit matching log.c deraadt 2014-04-01 05:50:30 +00:00
  • 3c06bec03f Don't crash with a zero-length argument to setb, from J Raynor. nicm 2014-03-31 21:43:55 +00:00
  • ee19d304ff In four byte UTF-8 sequences, only three bits of the first byte should be used. Fix from Koga Osamu. nicm 2014-03-31 21:43:35 +00:00
  • 48478ea0a9 Remove log_debug2 as well and simplify log.c. nicm 2014-03-31 21:42:45 +00:00
  • 7bdb675469 GRID_DEBUG is no longer needed. nicm 2014-03-31 21:42:27 +00:00
  • f155316be7 Remove unused log functions. nicm 2014-03-31 21:42:05 +00:00
  • dca7d1c0fd Make message-limit a server option. nicm 2014-03-31 21:41:35 +00:00
  • 1704d4a6b7 Don't segfaut when the parent of the layout cell is NULL, from Thomas Adam. nicm 2014-03-31 21:41:07 +00:00
  • 46593e7aa2 Add names for mouse button bits rather than using magic numbers, from Marcel Partap. nicm 2014-03-31 21:40:21 +00:00
  • fcdae6925a Use hex constants rather than shifts for mouse events and flags, pointed out by Marcel Partap. nicm 2014-03-31 21:39:59 +00:00
  • 0e4d1d8493 Add setb -a to append and a copy mode append command, from J Raynor with minor changes. nicm 2014-03-31 21:39:31 +00:00
  • b11de5adc7 Make session_attached a count and add session_many_attached flag. nicm 2014-03-31 21:37:55 +00:00
  • 9368914ee7 Add start-of-list, end-of-list, top-line and bottom-line in choice mode, from madmaverick9 at roxxmail dot eu, similar diff a few days later from Marcel Partap. nicm 2014-03-31 21:36:43 +00:00
  • 175f215187 Having three *clock* files is ridiculous, remove clock.c. nicm 2014-03-31 21:34:08 +00:00
  • 18cb135218 Don't write into buffer if no arguments, reported by Filipe Rosset. nicm 2014-03-31 21:32:31 +00:00
  • 04f469a324 Change secondary device attributes response to \033[>84;0;0c which is unique for tmux. nicm 2014-03-31 21:32:00 +00:00
  • 26c42ad1e4 Don't crash with a zero-length argument to setb, from J Raynor. Nicholas Marriott 2014-03-24 12:00:15 +00:00
  • 77603c4f2d Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-03-08 16:28:56 +00:00
  • 7019f77c05 In four byte UTF-8 sequences, only three bits of the first byte should be used. Fix from Koga Osamu. Nicholas Marriott 2014-03-08 16:27:45 +00:00
  • 9880114aff Make -a append to top buffer if -b is not specified. Nicholas Marriott 2014-03-08 08:53:48 +00:00
  • 3625bcba24 Add osdep-cgywin.c as a copy of osdep-linux.c, from J Raynor. Nicholas Marriott 2014-03-08 08:44:24 +00:00
  • b1a87b2ee4 Remove log_debug2 as well and simplify log.c. Nicholas Marriott 2014-03-07 16:05:29 +00:00
  • c5a30513ed GRID_DEBUG is no longer needed. Nicholas Marriott 2014-03-07 15:51:27 +00:00
  • ebe7bd7c8b Remove unused log functions. Nicholas Marriott 2014-03-07 15:49:09 +00:00
  • 683ca270d4 Make message-limit a server option. Nicholas Marriott 2014-03-07 15:37:01 +00:00
  • 78e783e786 Don't segfaut when the parent of the layout cell is NULL, from Thomas Adam. Nicholas Marriott 2014-03-06 13:01:51 +00:00
  • cbd360b7dd Spaces to tabs. Nicholas Marriott 2014-03-06 12:46:03 +00:00
  • 23e944c91d Add names for mouse button bits rather than using magic numbers, from Marcel Partap. Nicholas Marriott 2014-03-06 12:00:30 +00:00
  • f15fcb6a1d Use hex constants rather than shifts for mouse events and flags, pointed out by Marcel Partap. Nicholas Marriott 2014-03-06 11:53:46 +00:00
  • 8c0edcbfa3 Add setb -a to append and a copy mode append command, from J Raynor with minor changes. Nicholas Marriott 2014-03-06 11:50:07 +00:00
  • b7f6356053 Make session_attached a count and add session_many_attached flag. Nicholas Marriott 2014-03-06 11:25:27 +00:00
  • b65c72c45c Restore SunOS fix, noticed by Greg Onufer. Nicholas Marriott 2014-03-05 23:28:32 +00:00
  • 19c534e325 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-03-05 23:27:04 +00:00
  • 5f05c41126 www: Add link to CHANGES file for download tarball Thomas Adam 2014-03-03 21:59:22 +00:00
  • 9134e4de1e Add start-of-list, end-of-list, top-line and bottom-line in choice mode, from madmaverick9 at roxxmail dot eu, similar diff a few days earlier from Marcel Partap. Nicholas Marriott 2014-02-26 22:22:07 +00:00
  • 582c2671dd Having three *clock* files is ridiculous, remove clock.c. Nicholas Marriott 2014-02-26 21:59:33 +00:00
  • 0bb9d51965 Don't write into buffer if no arguments, reported by Filipe Rosset. Nicholas Marriott 2014-02-26 21:42:59 +00:00
  • 6d9f936ff2 Change secondary device attributes response to \033[>84;0;0c which is unique for tmux. Nicholas Marriott 2014-02-26 21:42:14 +00:00
  • 594348440e Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-02-26 13:49:41 +00:00
  • 091cd0109f Add. Nicholas Marriott 2014-02-26 13:48:25 +00:00
  • 225164a9d6 Fix xterm-keys.vim syntax Thomas Adam 2014-02-25 20:23:08 +00:00
  • f3152079e1 I prefer . here not :. Nicholas Marriott 2014-02-24 23:11:25 +00:00
  • bf82f15bba Missing period. Nicholas Marriott 2014-02-24 23:09:19 +00:00
  • 4273c1b80e Use utempter to update utmp if it's around for configure, from madmaverick9 at roxxmail dot eu. Nicholas Marriott 2014-02-24 23:07:22 +00:00
  • 488583dc8d Add to TODO. Nicholas Marriott 2014-02-23 10:19:04 +00:00
  • f1828921df Change terminal-overrides to a server option (now that we have them), it doesn't make much sense as a session option. nicm 2014-02-23 00:53:06 +00:00
  • 7eed5ad97b Go back to working on 1.10 Thomas Adam 2014-02-22 21:09:09 +00:00
  • 80d9964a30 Update CHANGES and configure.ac for 1.9a release 1.9a Thomas Adam 2014-02-22 20:53:39 +00:00
  • 150ef86800 Merge branch 'obsd-master' Thomas Adam 2014-02-22 20:48:44 +00:00
  • 315d45a0eb Fix crash due to uninitialized lastwp member of layout_cell, reported by Balazs Kezes. nicm 2014-02-22 18:01:10 +00:00
  • 2a412fad04 Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code Nicholas Marriott 2014-02-22 17:36:17 +00:00
  • fe6f520054 FAQ about xterm-keys in emacs and vim, from Mark Oteiza. Nicholas Marriott 2014-02-22 17:35:41 +00:00