Here you can find the recent changes to tmuxp.
- [cli] Load multiple tmux sessions at once, thanks @madprog, #135.
- [docs] README and Documentation fixes #133 #131.
- [internal] switch to
.venvfor virtualenv directory to not conflict with.env(used by autoenv). - [internal] move to entr(1) for file watching in tests. update docs.
- [compatibility] Support Anaconda Python 2 and 3, see #130.
- [internal] Update to support tmux 2.1 via #122, thank you @estin.
- [internal] use travis container infrastructure for faster tests
- [tests] change test in workspace builder test to use
top(1)instead ofman(1).man(1)caused errors on some systems wherePAGERis set.
- [packaging] Add fix python 3 for sysutils/pytmuxp on FreeBSD ports. See #119 GH and #201564 @ FreeBSD Bugzilla. Thanks Ruslan Makhmatkhanov.
- [internal]: Renamed
config.expandpathtoconfig.expandshell. - [internal] [tests]: compat 2.7/3.3 wrapper for
EnvironmentVarGuardfor testing. - [shell_command_before]: You can now use environment variables inside of
start_directory,before_script,shell_command_before,session_nameandwindow_name. - [docs] [examples]: add example for environmental variables,
examples/env-variables.jsonandexamples/env-variables.yaml. - [internal] de-vendorize colorama. Thanks @marbu. #110
- [tests] fix failure of test_pane_order on fedora machines #109 from @marbu
- [manuals]: append
.txtextension to manuals (repo ony) #105 from @yegortimoshenko. - [internal] Fix Server.attached_sessions return type #107 by @thomasballinger.
- [internal]: update travis to use new tmux git repository.
- [internal] [testing]: fix sniffer test runner in python 3
- [docs] new animated image demo for RTD and README
[version]: version bump 0.1.13 -> 0.8.0
[internal]: tmux 2.0 support
[internal]: Fix documentation for :meth:
Session.switch_client().[cli]: Add
--log-levelargument.[internal]: Refactor
{Server,Session,Window,Pane}.tmuxinto:- :meth:`Server.cmd()`
- :meth:`Session.cmd()`
- :meth:`Window.cmd()`
- :meth:`Pane.cmd()`
(See conversation at https://github.com/bitprophet/dotfiles/issues/5)
[internal]: Refactor
util.tmuxinto :meth:`util.tmux_cmd`.
- [internal] Remove
package_metadata.pyin favor of__about__.py. - [docs]
scent.pyfor building docs - [docs] docutils from 0.11 to 0.12
- [internal]
bootstrap_env.pywill check for linux, darwin (OS X) and windows and install the correct sniffer file watcher plugin. - [tests] testsuite for cli uses :py:func:`tempfile.mkdtemp()` instead
TMP_DIR(which resolved to.tmuxpin the testsuite directory. - [tests] replace watchingtestrunner with sniffer in examples.
.tmuxp.confand.tmux.jsonupdated - [docs] updates to doc links
- [docs]
make checkbuildfor verifying internal / intersphinx doc references. - [internal] Add Warning tmux versions less than 1.4 from @techtonik.
- [internal] [docs] Add documentation on leading space in
send_keysfrom @thomasballinger. - [docs] Update about page from teamocil and erb support from @raine.
[config] :meth:`config.expand` now resolves directories in configuration via :py:func:`os.path.expanduser` and :py:func:`os.path.expandvars`.
[config] :meth:`config.expandpath` for helping resolve paths.
[builder] [cli] improved support for loading tmuxp project files from outside current working directory. e.g.
$ tmuxp load /path/to/my/project/.tmuxp.yaml
Will behave better with relative directories.
- [config]:
before_scriptnow loads relative to project directory with./. - [development]: Use
bootstrap_env.pyin tmuxp's.tmuxp.yamland.tmuxp.jsonproject files. - [internal]: Improvements to :meth:`util.run_before_script()`,
:class:`exc.BeforeLoadScriptFailed` behavior to print
stdoutand returnstderris a non-zero exit is returned. - [internal]:
run_script_beforehas moved toutil. - [internal]:
BeforeLoadScriptFailedandBeforeLoadScriptNotExistshas moved to theexcmodule. - [internal]: Tests for
run_script_beforerefactored.
2 bug fixes and allow panes with no shell commands to accept options, thanks for these 3 patches, @ThiefMaster:
- [builder]: Issue #73: Fix an error caused by spaces in
start_directory. - [builder]: Issue #77: Fix bug where having a
-in ashell_commandwould cauesd a build error. - [config]: Issue #76: Don't require
shell_commandto pass options to panes (likefocus: true).
The --force was not with us.
- [cli] [freezer]: Issue #72: Create destination directory if it doesn't exist. Thanks @ThiefMaster.
- [tests]: New context manager for tests,
temp_session. - [tests]: New testsuite,
testsuite.test_utilsfor testing testsuite tools. - [config] [builder]: New command,
before_script, which is a file to be executed with a return code. It can be a bash, perl, python etc. script. - [docs]: :ref:`python_api_quickstart` per Issue #56.
- [cli] [test]: Fix Issue #55 where tmuxp would crash with letter numbers in version. Write tests.
[internals] :meth:`Window.split_window()` now allows
-c start_directory.[builder] Issue #35 - Builder will now use
-c start_directoryto create new windows and panes.This removes a hack where
default-pathwould be set for new pane and window creations. This would bleed into tmux user sessions after creations.
- [packaging] fix Issue #49 bug where
package_manifest.pymissing fromMANIFEST.inwould cause error installing.
- [docs] section heading normalization.
- [docs] tao of tmux section now treated as a chatper. tao of tmux may be split off into its own project.
- [internals] use conventions from tony/cookiecutter-pypackage.
- [cli] Fix
$ tmuxp freezeCLI output. - [internals] Update
_compatsupport module. - [internals] Fix extra space in PEP 263.
- [cli] Fix Python 3 CLI issue. Issue #48.
- [cli]
$ tmuxpwithout option raises an error. Issue #48. - [builder] - Add space before send-keys to not populate bash and zsh history.
- [tests] now using werkzeug / flask style testsuites.
- [cli] Merge Issue #43 -
tmuxp -dfor loading in detached mode. Thanks roxit.
- [builder] [freezer] [bug] Fix Issue #32 where special characters caused unicode caused unexpected outcomes loading and freezing sessions.
- [cli] fix duplicate print out of filename with using
tmuxp load .. - version to 0.1. No
--preneeded. Future versions will not use rc.
- [internal]
unicode_literals - [internal] Move py2/py3 compliancy code to
_compat.
- [config] [tests] [bug] Issue #33 bug. Partial rewrite of :meth:`config.expand`.
- [cli] tmuxp will exit silently with
Ctrl-c.
- [config] [tests] [examples] Add Issue #31 from stratoukos -
window_indexoption, and add example.
- [tests] [config] [builder] Fix Issue #28 - shell_command_before in session scope of config causing duplication. New test.
- [bug] Fix Issue #26 and Issue #29 for OS X tests. Thanks stratoukos.
- [bug] Fix Issue #27 where
$ tmuxp freezeraises unhelpful message if session doesn't exist.
- [bug] fix bug were
focus: truewould not launch sessions when using$ tmuxp loadin a tmux session.
- [bug] [tests] Issue #25 -
focus: truenot working in panes. Add tests for focusing panes in config. - [internal] :meth:`Pane.select_pane()`.
- [docs] add new example for
focus: true.
- [cli] [tests] - fix Issue #23 where workspace would not build with
pane-base-index set to 1. Update tests to fix if
pane-base-indexis not 0. - [cli] - removed
$ tmuxp load --listfunctionality. Update :ref:`quickstart` accordingly.
- [internal] pep8 and pep257 in unit tests.
- Changelog will now be updated on a version basis, use pep440 versioning.
- [internal] :meth:`Session.show_options`, :meth:`Session.show_option` now
accept
gto pass in-g.
- [internal] :meth:`Window.show_window_options`,
:meth:`Window.show_window_option` now accept
gto pass in-g. - [internal] [bug] Behavioral changes in the WorkspaceBuilder to fix pane ordering Issue #15.
- [internal] [bug] Issue #21 - Error with unit testing python 2.6 python configuration tests. Use :py:mod:`tempfile` instead.
- [tests] WorkspaceBuilder tests have been improved to use async better.
- [cli] fix a bug where missing tmux didn't show correct warning.
- [tests] Travis now tests python 2.6 as requirement and not allowed to fail.
- [cli] accept
-yargument to answer yes to questions. #19 - [cli] :meth:`cli.SessionCompleter` no longer allows a duplicate session after one is added.
- [docs] ongoing work on :ref:`about_tmux`.
- [docs] [translation] documentation in Chinese from wrongwaycn.
- [docs] More work done on the :ref:`about_tmux` page.
- [cli] :meth:`Pane.split_window()` for splitting :class:`Window` at
target-panelocation.
[cli] [freeze] -
$ tmuxp freezewill now freeze a window with astart_directorywhen all panes in a window are inside the same directory.[cli] [config] [tests] :meth:`config.inline` will now turn panes with no other attributes and 1 command into a single item value.
- panes: - shell_command: top # will now inline to: - panes - top This will improve ``$ tmuxp freeze``
- [internal] Remove old logger (based on tornado's log.py), replace with new, simpler one.
- [cli] [import] fix teamocil import.
- [import] [tests]: support import teamocil
roottostart_directory.
- [cli] [tests] tagged v0.0.37. Many fixes. Python 2.6 support. Will switch to per-version changelog after 0.1 release..
- [config] support for blank panes (null,
pane,blank) and panes with empty strings. - [freeze] tmuxp freeze supports exporting to blank panes.
- [freeze] tmuxp freeze will now return a blank pane for panes that would previously return a duplicate shell command, or generic python, node interpreter.
- [cli] Support for
[-L socket-name]and[-S socket-path]in autocompletion and when loading. Note, switching client into another socket may cause an error. - Documentation tweaking to :ref:`API`, :ref:`about_tmux`.
- New :ref:`roadmap`.
- pep257, pep8.
- [docs] Many documentation, pep257, pep8 fixes
- [internal] move old :class:`Server` methods
__list_panes(),__list_windowsand__list_sessionsinto the single underscore. - [cli] #12 bug fix for
$ tmuxp freezeby @finder. - [cli] Support for spaces in
$ tmuxp attach-sessionand$ tmuxp kill-session, and$ tmuxp freeze. - [config] [tests] support for relative paths of
start_directory. Add an update config in Start Directory on :ref:`examples`.
- [internal] [tests] New servers for :class:`Server` arguments
socket_name,socket_path,config_file. - [internal] :class:`Server` support for
-2withcolors=256andcolors=8. - [cli]
$ tmuxp -2for forcing 256 colors andtmuxp -8for forcing 88. - [config] [tests] Concatenation with
start_directoryvia :meth:`config.trickle()` if windowstart_directoryis alphanumeric / relative (doesn't start with/). See :ref:`Examples` in start directory. - [import] Fix bug with import teamocil and tmuxinator
- [import] Improve quality of tmuxinator imports. Especially
session_nameandstart_directory. - [cli] Allow saving with
~in file destination.
- [internal] :meth:`util.is_version()`
- [config] [tests]: correctly :meth:`config.trickle()` the
start_directory. - [config] [tests]: get
start_directoryworking for configs - [internal]: fix :meth:
Window.kill_window()target tosession_id:window_indexfor compatibility and pass tests. - [docs] [examples]: Example for
start_directory. - [internal] fix bug where first and second window would load in mixed order
- [internal] :class:`Window.move_window()` for moving window.
- [docs] major doc overhaul. front page, renamed orm_al.rst to internals.rst.
- [cli] fix bug where if inside tmux, loading a workspace via switch_client wouldn't work.
- [cli] fix bug where
tmuxp load .would return an error instead of a notice. - [cli]
tmuxp freeze <filename>experimental - [freeze] [tests] tmuxp now has experimental support for freezing live sessions.
- [internal] :meth:`Window.kill_window()`
- [internal] support for
start_directory(work in progress)
- [internal] :meth:`Window.select_pane` now accepts
-l,-U,-D,-L,-R. - [internal] [tests] support for
automatic-renameoption. - [docs] 3 new :ref:`examples`, 'main-pane-height', 'automatic-rename', and 'shorthands'.
- [cli] enhancements to prompts
- [cli]
tmuxp importfor teamocil and tmuxinator now has a wizard and offers to save in JSON or YAML format. - [cli] [bug] [b6c2e84] Fix bug where tmuxp load w/ session already loaded would switch/attach even if no was entered
- [cli] when workspace loader crashes, give option to kill session, attach it or detach it.
- [cli] tmux 1.8
set-option/set-window-optionscommandtarget-windowfix. - [internal] :class:`WorkspaceBuilder` now has
.sessionattribute accessible publicly. - [cli] tmux will now use :meth:`Session.switch_client` and
:meth:`Session.attach_session` to open new sessions instead of
os.exec. - [config] tmuxp now allows a new shorter form for panes. Panes can just be a string. See the shorthand form in the :ref:`examples` section.
- [cli] [config] support loading
.yml.
- [cli] fix
tmuxp load .fixed - [cli] fix
tmuxp convert <file>fixed. - [internal] pep257 fixes.
- [internal] [tests] - :class:`Pane` now has :meth:`Pane.set_width` and :meth:`Pane.set_height`.
- [tests]
./run_tests.py --testsnow automatically prependstmuxp.testsuiteto names. - [internal] :meth:`Window.tmux` and :meth:`Pane.tmux` will automatically add
their
{window/pane}_idif one isn't specific.
- [cli] argcomplete overhaul for CLI bash completion.
- [cli]
tmuxp load,tmuxp convertandtmuxp importnow support relative and full filenames in addition to searching the config directory.
- [import] [tests] initial version of tmuxinator and teamocil config importer. it does not support all options and it not guaranteed to fully convert window/pane size and state.
- [internal] :meth:`config.in_dir` supports a list of
extensionsfor filetypes to search, i.e.['.yaml', '.json']. - [internal] :meth:`config.is_config_file` now supports
extensionsargument as a string also. - [cli] fix
$ tmuxp load -lto work correctly alongside$ tmuxp load filename.
- [cli] fix bug where
-vand--versionwouldn't print version. - [cli] property handle case where no tmux server exists when
attach-sessionorkill-sessionis used. - [import] [tests] test fixtures and inital work for importing tmuxinator and teamocil configs
- [internal] clean out old code for
automatic-renameoption. it will be reimplemented fresh. - [cli] check for
oh-my-zshwhen using$SHELLzsh. Prompt ifDISABLE_AUTO_TITLEis unset or set totrue. - [cli] tmuxp can now
$ tmuxp convert <file>from JSON <=> YAML, back and forth. - [docs] New examples in JSON. Update the :ref:`examples` page in the docs.
- [dev]
.tmuxp.jsonnow exists as a config for tmuxp development and as an example. - [cli] Fix bug where
tmuxp kill-sessionwould give bad output - [cli] Fix bug in tab completion for listing sessions with no tmux server is active.
- [cli] zsh/bash/tcsh completion improvements for tab-completion options
- [cli] tmuxp
kill-sessionwith tab-completion. - [cli] tmuxp
attach-sessionwith tab-completion. Attach session willswitch-clientfor you if you are inside of of a tmux client. - [cli] tmuxp
loadfor loading configs. - [tests] unit test fixes.
- [cli] Make 1.8 the official minimym version, give warning notice to upgrade tmux if out of date
- Fix regression causing unexpected build behavior due to unremoved code supporting old tmux versions.
- [docs] Added 2 new examples to the :ref:`examples` page.
- [docs] Examples now have graphics
- [cli] [internal]
$ tmuxp -vwill print the version info.
- [internal] tmuxp will now give warning and sys.exit() with a message if
tmuxnot found in system PATH - [internal] major internal overhaul of :class:`Server`, :class:`Session`
, :class:`Window`, and :class:`Pane` continues.
- :class:`Server` has @property :meth:`Server.sessions`, which is forward to :meth:`Server.list_sessions()` (kept to keep tmux commands in serendipty with api), :meth:`Server._list_sessions()` returns dict object from :meth:`Server.__list_sessions()` tmux command. :meth:`Server.__list_sessions()` exists to keep the command layered so it can be tested against in a matrix with travis and compatibility methods can be made.
- :class:`Session` now has @proprety :meth:`Session.windows` returning a list of :class:`Window` objects via :meth:`Session.list_windows()`. @property :meth:`Session._windows` to :meth:`Session._list_windows()` to return a list of dicts without making objects.
- :class:`Window` now has @proprety :meth:`Window.panes` returning a list of :class:`Pane` objects via :meth:`Window.list_panes()`. @property :meth:`Window._panes` to :meth:`Window._list_panes()` to return a list of dicts without making objects.
- [internal] major internal overhaul of :class:`Server`, :class:`Session`,
:class:`Window`, and :class:`Pane`.
Session,WindowandPanenow refer to a data object in :class:`Server` internally and always pull the freshest data.- A lot of code and complexity regarding setting new data for objects
has been reduced since objects use their unique key identifier to
filter their objects through the windows and panes in
Serverobject. Serverobject is what does the updating now.
- [project] some research into supporting legacy tmux versions. tmux 1.6 and 1.7 support seem likely eventually if there is enough demand.
- [internal] python 3 support
- [docs] updated README docs with new project details, screenshots
- [dev] [docs] - new example
.tmuxp.yamlfile updated to include development workflow. Removed nodemon as the tool for checking files for now. - [cli] Support for switching sessions from within tmux. In both cases after the the session is built and if session already exists.
- [cli] use :meth:`util.which()` from salt.util to find tmux binary.
- [pypi / packaging] add MANIFEST.in, fix issue where package would not install because missing file
- [cli] bash / zsh completion.
- [docs] New page on :ref:`internals`.
- [docs] Updates to :ref:`about_tmux` page.
- [docs] add vim modeline for rst to bottom of this page
- [internal] [tests] Server is now a subclass of
util.TmuxObject. - [internal] [tests] subclasses of :class:`util.TmuxRelationalObject`, :class:`Server`, :class:`Session`, :class:`Window`, :class:`Pane` now have :meth:`util.TmuxRelationalObject.getById` (similar to .get() in backbone.js collection), :meth:`util.TmuxRelationalObject.where` and :meth:`util.TmuxRelationalObject.findWhere` (.where() and .findWhere() in underscore.js), to easily find child objects.
- [internal] tmux object mapping has been split into :class:`util.TmuxMappingObject`. The mapping and the relational has been decoupled to allow :class:`Server` to have children while not being a dict-like object.
- [internal] :class:`Server`, :class:`Session`, :class:`Window`, :class:`Pane` now explicitly mixin subclasses.
[docs] new theme
[docs] initial examples, misc. updates, front page update.
[cli] support for
$ tmux .to load.tmuxp.{yaml/json/py}in current working directory.[cli] support for
socket-name(-L) andsocket-path(socket-path)[config] [builder] Support for 1-command pane items.
session_name: my session windows: - window_name: hi panes: - bash - htop
[cli] If session name is already exists, prompt to attach.
- [cli] can now -l to list configs in current directory and $HOME/.tmuxp
- [cli] tmuxp can now launch configs and build sessions
- [internal] new exceptions
- [config] [tests] :meth:`config.check_consistency()` to verify and diagnose issues with config files.
- [cli] [tests] :meth:`cli.startup()`
- [config] [tests] :meth:`config.is_config_file()`
- [config] [tests] :meth:`config.in_dir()`
- [config] [tests] :meth:`config.in_cwd()`
- [cli] [tests] :meth:`config.inline()` to produce far far better looking config exports and tests.
- :meth:`Pane.resize_pane()` and tests
- documentation fixes and updates
- [internal] :meth:`Session.refresh()`, :meth:`Window.refresh()`, :meth:`Pane.refresh()`.
- [internal] :meth:`Server.find()`, :meth:`Session.find()`, :meth:`Window.find()`.
- [tests] Test documentation updates
- [internal] [tests] Builder is now :class:`WorkspaceBuilder` + tests. - WorkspaceBuilder can build panes - WorkspaceBuilder can build windows and set options
- [internal] [tests] :meth:`Window.show_window_options()`, :meth:`Window.show_window_option()`, :meth:`Window.set_window_option()`
- [internal] [tests] :meth:`Session.show_options()`, :meth:`Session.show_option()`, :meth:`Session.set_option()`
- [builder] More preparation for builder / session maker utility.
- [tests] Major test runner and test suite overhaul.
- [docs] Documentation for development environment and test runner updated.
- [tests] Travis now tests against tmux 1.8 and latest source. Door open for future testing against python 3 and earlier tmux versions in the future.
- [internal] Quiet logger down in some areas
- [internal] __future__ imports for future python 3 compatibility
- [internal] setup.py import __version__ via regex from tmuxp package
- [cli] move beginnings of cli to
tmuxp.cli
- New logging module
- Removed dependency logutils
- Removed dependency sh
- switch to semver
.. todo:: # vim: set filetype=rst:
