Commits on Jan 9, 2015
  1. Change vi copy-mode bindings

    guns committed Jan 9, 2015
Commits on Jan 2, 2015
  1. Merge remote-tracking branch 'origin/master' into nerv

    guns committed Jan 2, 2015
    * origin/master:
      Need param.h, from Ismail Donmez.
Commits on Dec 27, 2014
  1. Merge remote-tracking branch 'origin/master' into nerv

    guns committed Dec 27, 2014
    * origin/master:
      t_kP is the same as PageUp, so no need for it, from Daniel Hahler.
      Notify on zoom/unzoom, from George Nachmann.
      Only redraw affected lines when selection changes with mouse. From Michael Graczyk.
      Add missing va_end, from Thomas Jarosch.
      Add pane_dead_status for exit status of dead panes.
      Tweak ordering and whitespace.
Commits on Dec 15, 2014
  1. Rename arch package to tmux-nerv

    guns committed Dec 15, 2014
  2. Merge remote-tracking branch 'origin/master' into guns

    guns committed Dec 15, 2014
    * origin/master: (40 commits)
      Add -F to if-shell to allow it to be used to check for format or option values rather than executing a command.
      Permit option values to be used in formats.
      Another fix for insertion from Balazs Kezes. On insertion, size the line just enough for the inserted characters.
      Check ZOOMED flag on window.
      Remove dead code, from Thomas Adam.
      Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
      Label windows which are smaller than expected with a reason.
      Restore change in r1.17 but add checks to prevent the line length overflowing, from Balazs Kezes.
      Add -b to splitw like joinw, from Felix Rosencrantz.
      Don't let force-width or force-height be < PANE_MINIMUM.
      Revert r1.17 as it breaks inserting in some cases.
      Expand formats in copy-pipe command, suggested by Suraj N Kurapati.
      Two improvements to reflow from Balazs Kezes:
      Empty strings should be false too for #{?}, from Marc Finet.
      No need for $Id$ now.
      V should be vi not emacs, also sort. From Theo Buehler.
      Use KERN_PROC_CWD if supported, from Tiwei Bie.
      Wrap when copy mode is used for output, from Balazs Kezes.
      Use -a for terminal-overrides from Daniel Hahler.
Commits on Oct 18, 2014
  1. Merge branch 'master' into guns

    guns committed Oct 18, 2014
    * master: (28 commits)
      OSdep:  Update for xrealloc() change
      Add xreallocarray and remove nmemb argument from xrealloc.
      Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflow check.
      Top function key is F12 now.
      Take account of window-status-separator when checking window position, based on diff from Balazs Kezes.
      Update status when pane selected with mouse, from Balazs Kezes.
      Ignore ENXIO on Solaris as well, from Peter Schow.
      Copy ACS characters as UTF-8, from Balazs Kezes.
      Fix osdep_get_cwd on Solaris 11, from J Raynor.
      Call waitpid on SIGCHLD even if client not attached, it is possible (on very slow platforms) for the first daemon() child to still be running when client_attached is set so we end up with a zombie. From J Raynor.
      Support using pane id as part of session or window specifier (so %1 means session-of-%1 or window-of-%1) and window id as part of session (so @1 means session-of-@1).
      Support ! for last pane.
      Don't close random file descriptor on error, from J Raynor.
      I broke last change, fix so it works, from J Raynor.
      cdefs.h -> types.h.
      Solaris doesn't have flock and fcntl is useless so make a no-op flock. Reported by Dagobert Michelsen.
      Synchronize forkpty master and child to avoid hang on AIX with fast exiting child and output left in the queue, from J Raynor.
      Fix some comments (c -> colour) and join unnecessary line splits.
      Tweak www and add RELEASE variable for current release version so we don't need to turn it back and forth when updating.
      Stupid comment.
Commits on Aug 21, 2014
  1. Add libutempter dep

    guns committed Aug 21, 2014
  2. Merge branch 'master' into guns

    guns committed Aug 21, 2014
    * master: (106 commits)
      Add compat/fparseln.c
      SYNCING:  Make a note about libutils
      Sync libutil from OpenBSD (imsg)
      Add compat/fparseln() for non-BSD systems
      Remove support for the continuous reporting "any" mouse mode which never really worked properly and is rarely used.
      FAQ:  Mention Git before filing bug reports
      Revert the up/down wheel emulation for now, there will be a better way to do this along later for those who want it.
      lockf is entirely useless and it was a mistake to change to it, go back to using flock which actually works sensibly. Also always retry the lock to fix a potential race, and add some extra logging.
      Drop explicit support for F13-F20 and change to match the xterm terminfo entry:
      Show an error if cmd_find_session can't find the current session, like the other functions.
      An EOF is a good reason to close a connection.
      If a client is killed while suspended with ^Z so has gone through the MSG_EXITED dance, don't try to resume it since a) it's pointless and b) the tty structures have been cleaned up and tmux will crash.
      Track whether a process is a zombie or not yet fully built via flags PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data.  This eliminates the need for the thread-level SDEAD state.
      Handle escaped back slashes and missing new lines at end of line by using fparseln instead of reimplementing it on our own.
      Allow keys and send-keys to invisible panes, from saggy-kun at users dot sf dot net.
      Count mouse clicks correctly, from Balazs Kezes.
      Notes for better mouse support.
      We have utmp with utempter now and that's the best we're going to get.
      Remove some done, tweak some others.
      Comment style nits.
  3. Unset pkgver

    guns committed Aug 21, 2014
Commits on Mar 7, 2014
  1. Merge remote-tracking branch 'origin/master' into guns

    guns committed Mar 7, 2014
    * origin/master:
      Don't segfaut when the parent of the layout cell is NULL, from Thomas Adam.
      Spaces to tabs.
      Add names for mouse button bits rather than using magic numbers, from Marcel Partap.
      Use hex constants rather than shifts for mouse events and flags, pointed out by Marcel Partap.
      Add setb -a to append and a copy mode append command, from J Raynor with minor changes.
      Make session_attached a count and add session_many_attached flag.
      Restore SunOS fix, noticed by Greg Onufer.
      www: Add link to CHANGES file for download tarball
      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.
      Having three *clock* files is ridiculous, remove clock.c.
      Don't write into buffer if no arguments, reported by Filipe Rosset.
      Change secondary device attributes response to \033[>84;0;0c which is unique for tmux.
      Fix xterm-keys.vim syntax
      I prefer . here not :.
      Missing period.
      Use utempter to update utmp if it's around for configure, from madmaverick9 at roxxmail dot eu.
      Add to TODO.
      Go back to working on 1.10
  2. Revert "Fix segfault with window_pane_active_lost()"

    guns committed Mar 7, 2014
    This reverts commit 204575c.
Commits on Feb 23, 2014
  1. Merge tag '1.9a' into guns

    guns committed Feb 23, 2014
    Tagged 1.9a (bug-fix release)
    * tag '1.9a':
      Update CHANGES and for 1.9a release
      Fix crash due to uninitialized lastwp member of layout_cell, reported by Balazs Kezes.
      FAQ about xterm-keys in emacs and vim, from Mark Oteiza.
      Fix -fg/-bg/-style with 256 colour terminals.
      Correct Linux-specific manpage sections
      Put each command on its own line and remove duplicates, from Daniel Hahler.
      dist: Call clean target before any other action
      Working on 1.10
      Missing *.
Commits on Feb 21, 2014
  1. Merge tag '1.9' into guns

    guns committed Feb 21, 2014
    Tagging 1.9 release of tmux.
    * tag '1.9': (47 commits)
      Update CHANGES and for 1.9 release
      Fix memory leaks with paste_replace, based on changes from J Raynor.
      Be consistent and allow only mouse down and mouse wheel for any pane with mouse-select-pane rather than just in copy mode, reported by Balazs Kezes.
      Don't crash when given a invalid colour, reported by Felix Rosencrantz, fix from Thomas Adam.
      Leftovers from removing 88 colour support, from Theo Buehler.
      If the terminfo entry has colors#256, assume that setaf and setab work and use them for the 256 colour set. If the terminfo entry doesn't have colors#256 and the user gives -2 to the client, use a \033[38;5;Xm sequence as before. Should allow fbterm to work with it's weird setaf and setab.
      Make status-interval of zero work as indented.
      Style nit - no space between function name and bracket.
      Do not need to call winlink_find_by_window, from Filip Moc.
      Check for NULL session and whatnot in status_replace, from Thomas Adam.
      Make C-j the same as C-m, from Simon Nicolussi.
      Avoid use of uninitialized variable, from Thomas Adam.
      The last fix to xterm keys meant that some keys such as \033OA were being wrongly treated as partial matches. So both check xterm keys after standard keys and only wildcard the minimum required ('1' to '8'). Problems reported by Ralf Horstmann and Tim van der Molen.
      Sort and organize option names in tmux.vim
      Sort and organize commands in tmux.vim
      Remove references to 88colour support
      fix some minor formatting glitches;
      Tidy up TODO list.
      Fixup BSD specific things from last merge
      Break up and simplify screen_redraw_screen.
Commits on Jan 7, 2014
  1. Merge branch master into guns

    guns committed Jan 7, 2014
Commits on Dec 11, 2013
  1. Merge branch master into guns

    guns committed Dec 11, 2013
Commits on Dec 5, 2013
  1. Merge branch 'master' into guns

    guns committed Dec 5, 2013
    * master:
Commits on Nov 17, 2013
  1. Merge branch 'master' into guns

    guns committed Nov 17, 2013
    * master:
      from nicm: : handle msgbuf_write() returning EAGAIN
      Support case insensitive searching in the same manner as emacs - all lowercase means case insensitive, any uppercase means case sensitive. From J Raynor.
      Correctly redraw the top two lines in copy mode when they are selected - the selection was being updated before the redraw so the markings were lost. Based on a fix from J Raynor.
      Key to swap to other end of selection (bound to o with vi keys), from J Raynor.
      Do not run any command line command from the client which starts the server until after the configuration file completes. This prevents it racing against run-shell or if-shell in .tmux.conf that run in the background.
      Don't turn on modifyOtherKeys by default, it is annoying if tmux is killed and it's left on and we can't turn it on and off like we do for attributes. It's not hard to enable in .Xresources or .Xdefaults anyway.
Commits on Oct 21, 2013
  1. Simplify configure task

    guns committed Oct 21, 2013
Commits on Oct 19, 2013
  1. [PKGBUILD] Conflict with tmux

    guns committed Oct 19, 2013
  2. Merge branch 'master' into guns

    guns committed Oct 19, 2013
    * master: (64 commits)
      Fix detach -a by skipping clients where the session is NULL.
      Fix previous
      Fix up missing cwd definition
      Forward-declarations for osdep-linux
      Fixup osdep-* specific code
      Add destroy entry to TODO.
      + to TODO.
      + to TODO.
      ++ to TODO.
      Remove from TODO.
      Set EVENT_NOEPOLL on Linux again.
      Add entry about smaller clients based on text from Thomas Adam.
      Add subdir-objects to shut automake up
      Check setupterm() in libtinfo also
      Ignore .dirstamp files
      Add openat() to compat.
      Don't leak file descriptors in the rare MSG_VERSION case. From Chris Johnsen.
      Remove stray return, from Chris Johnsen.
      And get it right this time... don't leak if it is an empty string either.
      Bracket in the wrong place in description of c0-change-trigger.
Commits on Oct 18, 2013

    guns committed Oct 18, 2013
  2. Install share/terminfo

    guns committed Oct 18, 2013
Commits on Oct 9, 2013
  1. Merge branch master into guns

    guns committed Oct 9, 2013
Commits on Sep 13, 2013
  1. Merge branch 'master' into guns

    guns committed Sep 13, 2013
    * master: (56 commits)
      Mark flags as optional and mutually exclusive.
      Add entry about smaller clients based on text from Thomas Adam.
      No space in lsw -a targets.
      Set EVENT_NOEPOLL on Linux again.
      A couple of manpage fixes from Tiago Cunha.
      Trivial style and spacing nits.
      Remove from TODO.
      ++ to TODO.
      + to TODO.
      Remove the barely-used and unnecessary command check() function.
      Clear window->flags when clearing winlinks
      choose-tree: Reset top when toggling items
      Renumber windows: Lookup lastw via window not index
      Assign mouse x/y coords before checking them
      Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff from Hayaki Saito.
      Add automatic-rename-format option allowing automatic rename to use something other than pane_current_command.
      Allow nested format expansion.
      Add length limit operator for formats.
      + to TODO.
      Handle input mouse positions <33 (we already can generate them).
Commits on May 31, 2013
  1. Merge branch 'master' into guns

    guns committed May 31, 2013
    * master: (39 commits)
      Don't let cursor position overflow when reflowing, from Christopher Collins.
      Reserve space for \0 in cmd_print, from George Nachman.
      RIS should reset focus reporting, from Hayaki Saito.
      Rename back to tmux.1 and generate tmux.1.{mdoc,man} instead.
      Don't limit width and height to 222 in standard mouse mode.
      Use $(srcdir) for generating tmux.1, reported by fasta_ on IRC.
      .Op Fl b not .Fl b for run-shell synopsis, from Ben Boeckel.
      Rename global configuration define.
      Use sysconfdir for the location of global tmux.conf (but default it to /etc), based on changes from Dagobert Michelsen.
      When using choose-tree -u, start with the current window highlighted. From Thomas Adam.
      Get session of -t window rather than client's window.
      Call recalculate_sizes() after killing window in case it is in a grouped session, from Daniel Ralston.
      Pass to awk on stdin rather than as an argument.
      Add compat for cfmakeraw, from Dagobert Michelsen.
      Use lockf which is more portable than flock, from Dagobert Michelsen.
      -paths.h. Fixes Solaris, from Dagobert Michelsen.
      Don't let server_client_check_focus use a dead bufferevent, from Romain Francoise.
      (long long) and %lld for time_t output ok nicm
      %zu format for size_t.
      Generate tmux.1 using mdoc2man.awk on Solaris, issue brought up and changes tested by Dagobert Michelsen.
Commits on Apr 4, 2013
  1. Merge branch master into guns

    guns committed Apr 4, 2013
Commits on Mar 26, 2013
  1. Merge branch master into guns

    guns committed Mar 26, 2013
Commits on Mar 21, 2013
  1. Merge branch 'master' into guns

    guns committed Mar 21, 2013
    * master:
      Handle empty pending output (not a failure) and add \n. From George Nachman.
      Clean up capture-pane and add -P option to dump pending output, based on code from George Nachman.
Commits on Mar 16, 2013
  1. Merge branch 'master' into guns

    guns committed Mar 16, 2013
    * master:
      Handle no client better in display-message.
      When only two panes in a window, only draw half the separating line as active.
      Don't let display-message crash if no client, from George Nachman.
      Only send end guard if begin was sent, from George Nachman.
      Include prefix on ids, from George Nachman.
      Write escaped output in control mode rather than hex, from George Nachman.
      Clarify zoom/unzoom, from Romain Francoise.
      Don't zoom windows with one pane, from Romain Francoise.
      We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when becoming ready.
      Don't add prefix to %output pane id.
      Document control mode in the manpage, from George Nachman.
      Use single stdout and stderr for control clients.
      Fix if-shell and run-shell if there are no sessions. Batted around through several people, finished off by Chris Johnsen.
      Add a home and end as modified by xterm in keypad mode, from Chris Johnsen.
      Fix a warning.
      Add time and a command count to control mode guards, based on code from George Nachman.
Commits on Mar 11, 2013
  1. Merge branch 'master' into guns

    guns committed Mar 11, 2013
    * master:
      Fix handling of short (< 4 character) checksums and a bug with parsing old-style custom layouts. Based on fix from Chris Johnsen.
Commits on Mar 10, 2013
  1. Merge branch 'master' into guns

    guns committed Mar 10, 2013
    * master: (131 commits)
      Zoom script is no longer needed.
      Do not redraw panes if invisible.
      Rename session idx to session id throughout and add $ prefix to targets to use it, extended from a diff from George Nachman.
      Fix --disable-static, reported by Shea Levy.
      Add wait-for -L and -U for lock and unlock, from Thiago Padilha.
      Add a wait-for command which blocks a client on a named channel until it is wokrn up again (with wait-for -S). From Thiago Padilha.
      Allow lastgc to be NULL in grid_string_cells so find-window doesn't crash, problem reported by eugene everson.
      Do not leak command in formats, from Romain Francoise.
      Unzoom on last-pane and fix a typo, from Romain Francoise.
      Add some additional debug logging.
      Continue the parent cmdq after sourcing a file.
      Preserve trailing spaces with capture-pane -J, from George Nachman.
      Print %%error not %%end guard on error, from George Nachman.
      tty.path can be NULL, don't dereference it. From George Nachman.
      Remove some unused/unnecessary control notifications, from George Nachman.
      Add -q flags to shut up errors to capture-pane and show-options, from George Nachman.
      Send DSC 1000p at the beginning of a -CC client's lifetime and ST and the end, from George Nachman..
      Remove previous
      Plug small memory leak in run-shell
      Add -a to capture-pane to capture alternate screen, from George Nachman.