summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2013-10-10Instead of fixed size buffers for some messages, send only the stringNicholas Marriott
length.
2013-10-10retcode -> retval for exit message.Nicholas Marriott
2013-10-10Merge IDENTIFY_* flags with CLIENT_* flags.Nicholas Marriott
2013-10-10Bump protocol version and add new message types.Nicholas Marriott
2013-10-10Remove CMD_SENDENVIRON.Nicholas Marriott
2013-10-10mouse-resize-pane: Only resize on border selectNicholas Marriott
The current behaviour of mouse-resize-pane is such that if the mouse button is held down and a selection takes place within a pane, that if the mouse pointer then hits a border edge, that pane-resize would initiate. This seems counter-intuitive; instead, check for a resize condition if the border of a pane is selected, and in the case of mouse selection within a pane, no longer resize the pane if edge of the border is hit. By Thomas Adam.
2013-10-10Support -c for new-session, based on code from J Raynor.Nicholas Marriott
2013-10-10Make cmdq->client_exit a tristate (-1 means "not set") so that ifNicholas Marriott
explicitly set it can be copied from child to parent cmdq by if-shell and source-file. This fixes using attach or new. From Chris Johnsen.
2013-10-10Restore missing key binding for %, from Chris Johnsen.Nicholas Marriott
2013-10-10First period not last for host_short, from Michael Scholz.Nicholas Marriott
2013-10-10layout-resize-pane-mouse: Consider visible panes onlyNicholas Marriott
When a pane is maximized, and text is selected, we end up checking if a pane switch is needed. This therefore means we might end up selecting panes which aren't visible. By Thomas Adam.
2013-10-10Don't treat TMUX_TMPDIR as a potential fileNicholas Marriott
The point of setting TMUX_TMPDIR is to then make any labels from -L go to that directory. In the case of makesocketpath() with no TMUX_TMPDIR set, would set both the path and the default socket to a file. The checking of the permissions on the file worked fine in that case, but when TMUX_TMPDIR is set, won't work on a directory. This fixes the problem by ensuring the check on the permissions is performed on directories only. By Thomas Adam.
2013-10-10Mark flags as optional and mutually exclusive. From Tiago Cunha.Nicholas Marriott
2013-10-10No space in lsw -a targets.Nicholas Marriott
2013-10-10A couple of manpage fixes from Tiago Cunha.Nicholas Marriott
2013-10-10Trivial style and spacing nits.Nicholas Marriott
2013-10-10Remove the barely-used and unnecessary command check() function.Nicholas Marriott
2013-10-10Clear window->flags when clearing winlinksNicholas Marriott
When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for that window, clear the window->flags as well, otherwise sessions may well still see flags for winlinks long since cleared. This therefore introduces WINDOW_ALERTFLAGS to help with this.
2013-10-10choose-tree: Reset top when toggling itemsNicholas Marriott
When choose-tree is told to expand/collapse items (especially when first rendering collapsed to just show sessions), ensure that in addition to setting the selected item, that the item itself appears on the bottom of the screen, rather than off screen. This was causing rendering glitches when a very small tmux window tried to render a list of items in choose-tree much larger than itself, and the selected item appeared off screen, and didn't show the selection until the selection had wrapped around to the top of the screen.
2013-10-10Renumber windows: Lookup lastw via window not indexNicholas Marriott
When calling 'movew -r' on a session to reorder the winlinks, ensure when adding back in the information for the lastw stack that we look up the winlink based on the window and not its index. Using the index doesn't make sense here because when comparing it to the old set, it will never match since the winlink has been renumbered. Bug reported by Ben Boeckel. Patch by Thomas Adam.
2013-10-10Assign mouse x/y coords before checking them. When receiving mouseNicholas Marriott
inputs, we should set the x/y coordinates earlier than we currently do, so that we aren't off-by-one in the case when the statusbar is at the top of the screen. By Thomas Adam.
2013-10-10Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff fromNicholas Marriott
Hayaki Saito.
2013-10-10Add automatic-rename-format option allowing automatic rename to useNicholas Marriott
something other than pane_current_command.
2013-10-10Allow nested format expansion.Nicholas Marriott
2013-10-10Add length limit operator for formats.Nicholas Marriott
2013-10-10Handle input mouse positions <33 (we already can generate them).Nicholas Marriott
2013-10-10Only include actual trailing spaces not unused cells with capturep -J,Nicholas Marriott
from George Nachman.
2013-10-10Allow the file descriptor received from the client to be -1.Nicholas Marriott
2013-10-10Add formats for window flags.Nicholas Marriott
2013-10-10Don't leak formats if they are added multiple times.Nicholas Marriott
2013-10-10Don't add client formats when they are NULL.Nicholas Marriott
2013-10-10Missing space in refresh-client synopsis.Nicholas Marriott
2013-10-10Grouped sessions were being leaked on destroy, correctly free them.Nicholas Marriott
2013-10-10Make recalculate_sizes() handle an empty window with no activeNicholas Marriott
pane. This can happen when a window is in two sessions - it isn't destroyed immediately when the pane goes away but is left until the last session is destroyed. Fixes problems with grouped sessions reported by Daniel Ralston.
2013-10-10Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd canNicholas Marriott
be NULL. Avoids crash when a command in a command client can't be parsed.
2013-10-10Regenerate moduliDarren Tucker
2013-10-10bz#2139: fix re-exec fallback by ensuring that startup_pipe is correctlyDamien Miller
updated; ok dtucker@
2013-10-10Move moduli generation to usr.bin/ssh/moduli-gen and keep track ofDarren Tucker
the fragments separately. "No substantive objection" djm@
2013-10-10add -Q, -P and -p to usage() before jmc@ catches meDamien Miller
2013-10-09Add ability to whitelist and/or blacklist sftp protocol requests by name.Damien Miller
Refactor dispatch loop and consolidate read-only mode checks. Make global variables static, since sftp-server is linked into sshd(8). ok dtucker@
2013-10-08backwards compatibility is king, and will remain king, until 2038.Reyk Floeter
2013-10-08Increase the size of the Diffie-Hellman groups requested for a each symmetricDarren Tucker
key size. New values from NIST Special Publication 800-57 with the upper limit specified by RFC4419. Pointed out by Peter Backes, ok djm@.
2013-10-08Obtain the uptime of the running system using the new CLOCK_UPTIME,Philip Guenther
so that averages/rates are over the actual time-running-not-suspended. For kernel cores, peek at the 'time_uptime' and 'naptime' variables. original report by and ok mlarkin@
2013-10-07Printf size_t vars with %zu, not %ld;Ingo Schwarze
from Antonio Huete Jimenez <tuxillo at quantumachine dot net> via Franco Fichtner (both DragonFly).
2013-10-07Yesterday, i released (portable) mandoc 1.12.2, so bump our VERSION, too.Ingo Schwarze
No merging is needed; basically, mandoc is developed here and mdocml.bsd.lv is not really "upstream", but just OpenBSD plus compatibility goo. All the same, the exercise is far from useless: NetBSD, FreeBSD, and DragonFly have mandoc in base, NetBSD uses it by default to show manuals, and FreeBSD and DragonFly have finally come close to switching away from groff as well. Useful bug reports come in and help making our mandoc better. Maybe we should list mandoc as an OpenBSD associated project on index.html.
2013-10-06We don't do hyphenation, but we allow breaking the line at hyphens that areIngo Schwarze
already there in the middle of words. So far, we only allowed this on text lines. Now it turns out some macros allow this for their arguments, too, in particular .Nd and most of the .%? citation macros. Issue found by Franco Fichtner <franco at lastsummer dot de> while doing systematic groff-mandoc comparisons in the DragonFly base system, THANKS! While here, garbage collect two empty prevalidator function pointer lists and sort a couple of function declarations.
2013-10-06If there is random stuff inside a .Bl block body before the first .It,Ingo Schwarze
do not throw a FATAL error and do not die, but just throw a WARNING and move the stuff out of the .Bl block. This bug felt completely 2008-ish; meanwhile, such bugs from the Kristaps-doesnt-like-syntax-errors-so-lets-just-give-up--Era are becoming rare, but this was one of the last survivors. Thanks to bentley@ for reminding me to finally fix this.
2013-10-05Cleanup suggested by gcc-4.8.1, following hints by Christos Zoulas:Ingo Schwarze
- avoid bad qualifier casting in roff.c, roff_parsetext() by changing the mandoc_escape arguments to "const char const **" - avoid bad qualifier casting in mandocdb.c, index_merge() - garbage collect a few unused variables elsewhere
2013-10-05Change the default for the default-path option to ~. This is a quickNicholas Marriott
change to turn off the KERN_PROC_CWD code which is unpredictable. Later it will go away and there may be other changes to how this works.
2013-10-05Fix previous not to leak fd on failure, whoops.Nicholas Marriott