aboutsummaryrefslogtreecommitdiff
path: root/cmd-split-window.c
Commit message (Collapse)AuthorAge
...
| * Add static in cmd-* and fix a few other nits.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-09-04
|\|
| * Add support for performing a full width split (with splitw -f), rathernicm2016-09-04
| | | | | | | | than splitting the current cell. From Stephen Kent.
* | Merge branch 'obsd-master'Thomas Adam2016-06-06
|\|
| * Insert new panes after the pane being split in the list rather thannicm2016-06-06
| | | | | | | | | | always after the active pane. This is more sensible when doing it with commands rather than keys.
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|
| * I no longer use my SourceForge address so replace it.nicm2016-01-19
| |
* | Merge branch 'obsd-master'Thomas Adam2015-12-14
|\|
| * Instead of combined flags for -c, -s, -t, split into different setsnicm2015-12-14
| | | | | | | | using an enum and simplify the parsing code.
* | Merge branch 'obsd-master'Thomas Adam2015-12-13
|\|
| * Use member names in cmd_entry definitions so I stop getting confusednicm2015-12-13
| | | | | | | | about the order.
* | Merge branch 'obsd-master'Thomas Adam2015-12-13
|\|
| * Instead of every command resolving the target (-t or -s) itself, preparenicm2015-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'obsd-master'Thomas Adam2015-12-11
|\|
| * Add cmdq as an argument to format_create and add a format for thenicm2015-12-11
| | | | | | | | command name (will also be used for more later).
* | Merge branch 'obsd-master'Thomas Adam2015-12-08
|\|
| * Remove format_create_flags and just pass flags to format_create.nicm2015-12-08
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\| | | | | | | | | Conflicts: server.c
| * Fall back silently to ~ or / rather than checking -c with access(), thisnicm2015-10-31
| | | | | | | | was the old behaviour.
* | Merge branch 'obsd-master'Thomas Adam2015-10-31
|\|
| * Because pledge(2) does not allow us to pass directory file descriptorsnicm2015-10-31
| | | | | | | | | | | | | | | | | | around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too).
* | 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
| * Move struct options into options.c.nicm2015-10-27
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\| | | | | | | | | Conflicts: cmd-find.c
| * Remove some unnecessary checks before free().nicm2015-10-23
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-27
|\| | | | | | | | | | | Conflicts: Makefile tmux.1
| * Remove panes from layout if spawning them fails, reported by Anthony Jnicm2015-04-26
| | | | | | | | Bentley.
* | Merge branch 'obsd-master'Thomas Adam2015-02-06
|\| | | | | | | | | Conflicts: cmd-pipe-pane.c
| * Remove a couple of now-unused variables.nicm2015-02-05
| |
| * Wrap all the individual format_* calls in a single format_defaultsnicm2015-02-05
| | | | | | | | functions.
* | Merge branch 'obsd-master'Thomas Adam2014-11-19
|\|
| * Add -b to splitw like joinw, from Felix Rosencrantz.nicm2014-11-12
| |
* | No need for $Id$ now.Nicholas Marriott2014-11-08
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-21
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
| * Move template defines back into .c files.nicm2014-10-20
| |
| * Instead of setting up the default keys by building the key structnicm2014-10-20
| | | | | | | | | | | | | | | | | | directly with a helper function in the cmd_entry, include a table of bind-key commands and pass them through the command parser and a temporary cmd_q. As well as being smaller, this will allow default bindings to be command sequences which will probably be needed soon.
* | Merge branch 'obsd-master'Thomas Adam2014-09-25
|\|
| * Various minor style and spacing nits.nicm2014-09-01
| |
* | Merge branch 'obsd-master'Thomas Adam2014-05-13
|\| | | | | | | | | | | Conflicts: format.c window.c
| * If multiple arguments are given to new-session, new-window,nicm2014-05-13
| | | | | | | | | | | | split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor.
* | Merge branch 'obsd-master'Thomas Adam2014-04-23
|\| | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c
| * Set PATH explicitly, either from client or sessionnicm2014-04-17
| | | | | | | | | | environment. Previously it came from the session environment. From J Raynor.
* | Merge branch 'obsd-master'Thomas2014-01-20
|\|
| * Handle empty current directory more gracefully.nicm2013-11-22
| |
| * Don't boke when figuring out working directory from configuration file.nicm2013-10-10
| |
| * Alter how tmux handles the working directory to internally use filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptors rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '~', do: bind c neww -c ~ This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
| * Support -c for new-session, based on code from J Raynor.nicm2013-10-10
| |
* | Don't boke when figuring out working directory from configuration file.Nicholas Marriott2013-10-06
| |