aboutsummaryrefslogtreecommitdiff
path: root/cmd-find.c
Commit message (Collapse)AuthorAge
...
* | Merge branch 'obsd-master'Thomas Adam2015-12-15
|\|
| * We changed somewhat recently to us the pty when tmux was run insidenicm2015-12-15
| | | | | | | | | | | | | | | | | | | | itself to work out the current pane. This is confusing in many cases (particularly notable is that "tmux neww\; splitw" would not split the new window), and the few advantages do not make up for the confusion. So drop this behaviour and return to using the current window and pane; keep the pty check but only use it to limit the list of possible current sessions.
| * Don't copy marked pane when can just point to it.nicm2015-12-15
| |
| * Make the marked pane a cmd_find_state.nicm2015-12-15
| |
* | Merge branch 'obsd-master'Thomas Adam2015-12-15
|\|
| * Use cmd_find_clear_state instead of an extra function doing the same.nicm2015-12-14
| |
* | Merge branch 'obsd-master'Thomas Adam2015-12-13
|\|
| * Use struct cmd_find_state directly and remove cmd_state_flag, alsonicm2015-12-13
| | | | | | | | change so that winlink is set even if an index is too.
* | Merge branch 'obsd-master'Thomas Adam2015-12-13
|\|
| * Change cmd_find_target to use a state struct from the caller.nicm2015-12-13
| |
* | Merge branch 'obsd-master'Thomas Adam2015-12-13
|\|
| * Remove the cmd_find_{session,window,pane,index} functions (which arenicm2015-12-13
| | | | | | | | | | just wrappers around cmd_find_target) and just use cmd_find_target directly.
| * Move logging into cmd_find_target rather than each function.nicm2015-12-13
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-28
|\|
| * Like options, move the environ struct into environ.c.nicm2015-10-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-27
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
| * Break the common process set up, event loop and imsg dispatch codenicm2015-10-27
| | | | | | | | | | between server and client out into a separate internal API. This will make it easier to add another process.
* | -sys/types.hNicholas Marriott2015-10-25
| |
* | Add missing headers for getpid()Thomas Adam2015-10-25
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\| | | | | | | | | Conflicts: cmd-find.c
| * If $TMUX is set, and we are unsure about the session, use it.nicm2015-10-23
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-22
|\|
| * If the pane is still on all_window_panes but not actually connected tonicm2015-10-22
| | | | | | | | | | | | window or session (which can happen if it is killed during a command sequence and something else has a reference), fall back to the best effort. Fixes "tmux killw\; detach" for Rudis Muiznieks.
* | Merge branch 'obsd-master'Thomas Adam2015-09-14
|\|
| * Remove some extra blank lines.nicm2015-09-14
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-13
|\|
| * right-up should be right-of, also rename the values too.nicm2015-08-13
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-12
|\|
| * Rename left/right/up/down relative to active pane to add -of suffixnicm2015-08-12
| | | | | | | | | | (left-of/right-of/etc) to remove conflict with left/right meaning leftmost or rightmost pane. From Ben Boeckel.
* | Merge branch 'obsd-master'Thomas Adam2015-06-07
|\| | | | | | | | | | | | | Conflicts: client.c tmux.1 tmux.c
| * Fix a warning.nicm2015-06-05
| |
| * Make it so that if a window or session target is prefixed with an =,nicm2015-06-05
| | | | | | | | | | only an exact name or index match is accepted, no special character, prefix match, or fnmatch.
* | Merge branch 'obsd-master'Thomas Adam2015-06-04
|\|
| * Add support for a single "marked pane". There is one marked pane in thenicm2015-06-04
| | | | | | | | | | | | | | | | | | server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
* | Merge branch 'obsd-master'Thomas Adam2015-05-09
|\| | | | | | | | | Conflicts: tmux.h
| * Style spacing nits.nicm2015-05-07
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-29
|\|
| * If looking for an index, don't fill in window when given a session.nicm2015-04-28
| |
| * Do not do a search for the tty path if there isn't one.nicm2015-04-28
| |
| * If can't find pane as a pane, try as a window; likewise if can't findnicm2015-04-28
| | | | | | | | window as a session.
* | No paths.h on Solaris.Nicholas Marriott2015-04-28
|/
* Do not include unattached clients when trying to find one for target.nicm2015-04-27
|
* Assign to the right variable when comparing clients.nicm2015-04-27
|
* Rewrite of the target resolution internals to be simpler and morenicm2015-04-27
consistent but with much less duplication, but keeping the same internal API. Also adds more readable aliases for some of the special tokens used in targets (eg "{start}" instead of "^"). Some behaviours may have changed, for example prefix matches now happen before fnmatch.