summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-11tedu regress/usr.bin/pccLawrence Teo
ok deraadt
2013-10-11improve ntpctl argv parsingTheo de Raadt
2013-10-11Add initial RTL8106E and RTL8168G/8111G support.Jonathan Gray
An earlier version didn't seem to work on a machine bmercer@ had access to a few months ago but this seems to work with the onboard Ethernet in an ASUS Z87 board RD Thrush has.
2013-10-11poll(2) on a closed tty should return POLLIN|POLLHUP in reventsTodd C. Miller
when events is set to POLLIN and POLLHUP when events is set to POLLOUT. In the pty case we need to be careful to only treat the pty as closed if carrier is on. This fixes a hang on close problem seen with ssh and xterm.
2013-10-11Prevent non-data packets from being dropped.Gerhard Roth
ok bluhm@ mikeb@
2013-10-11Don't leak file descriptors in the rare MSG_VERSION case. From ChrisNicholas Marriott
Johnsen.
2013-10-11Remove stray return, from Chris Johnsen.Nicholas Marriott
2013-10-11And get it right this time... don't leak if it is an empty string either.Nicholas Marriott
2013-10-11Don't free the pane name by accident.Nicholas Marriott
2013-10-11match Intel 8 Series SMBus (Lynx Point and Lynx Point-LP)Jonathan Gray
tested by RD Thrush on Lynx Point
2013-10-11obsolete commentDamien Miller
2013-10-11missed one arg reorderDamien Miller
2013-10-11rename flag arguments to be more clear and consistent.Damien Miller
reorder some internal function arguments to make adding additional flags easier. no functional change
2013-10-11reference vmwpvs.David Gwynne
jmc pointed out i missed this
2013-10-10Bracket in the wrong place in description of c0-change-trigger.Nicholas Marriott
2013-10-10Fix leak in format_get_command.Nicholas Marriott
2013-10-10Better boot device detection code. Board-specific code will now return theMiod Vallat
address of a controller only know by its SCM name and number, and the boot device detection code will now attempt to match the controller first, and then grandchildren of it (if the boot device is a disk or a tape).
2013-10-10Misc cleanups and small fixes. Boot controller/unit/lun information passedMiod Vallat
to the kernel will now match the device the kernel is loaded from, not the device the boot blocks are loaded from (this allows one to netboot the boot blocks to boot a kernel from a local disk).
2013-10-10Add edma driver. This driver add support for am335x edma3 controller.Sylvestre Gallon
With some more work, it will allow us to speed-up ommmc driver. ok patrick@.
2013-10-10Remove the KERN_PROC_CWD the proc_current_path format (which is the onlyNicholas Marriott
thing that uses it now).
2013-10-10Use format_get_command() and some spacing tweaks.Nicholas Marriott
2013-10-10Pass -1 for cwd now not NULL.Nicholas Marriott
2013-10-10We accidentally haven't been using $TMUX to work out the session for aNicholas Marriott
while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ.
2013-10-10Remove now unused cmd_get_default_path.Nicholas Marriott
2013-10-10Don't boke when figuring out working directory from configuration file.Nicholas Marriott
2013-10-10Show session name in detached message. Requested by somebody a fewNicholas Marriott
months ago who didn't bother testing it. But it works for me anyway.
2013-10-10Don't look at string[length - 1] if length == 0.Nicholas Marriott
2013-10-10Alter how tmux handles the working directory to internally use fileNicholas Marriott
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.
2013-10-10Make tilde expansion in command strings work even if it isn't terminated by /.Nicholas Marriott
2013-10-10Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.Nicholas Marriott
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.