aboutsummaryrefslogtreecommitdiff
path: root/layout.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 1089:Tiago Cunha2012-04-10
| | | | | Fix some indentation.
* Sync OpenBSD patchset 1085:Tiago Cunha2012-04-10
| | | | | Fix option name.
* Sync OpenBSD patchset 1084:Tiago Cunha2012-04-10
| | | | | | Add a layout history which can be stepped through with select-layout -u and -U commands (bound to 'u' and 'U' by default).
* Sync OpenBSD patchset 1069:Tiago Cunha2012-03-18
| | | | | | Add notify hooks for various events, the functions are currently empty stubs but will be filled in for control mode later. From George Nachman.
* Sync OpenBSD patchset 1035:Tiago Cunha2012-03-03
| | | | | | | Add move-pane command (like join-pane but allows the same window). Also -b flag to join-pane and move-pane to place the pane to the left or above. From George Nachman.
* Sync OpenBSD patchset 1015:Tiago Cunha2012-01-29
| | | | | | Add an option to move the status line to the top of the screen, requested by many.
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Sync OpenBSD patchset 905:Tiago Cunha2011-05-18
| | | | | | Add a new option, mouse-resize-pane. When on, panes may be resized by dragging their borders. From hsim at gmx.li.
* Sync OpenBSD patchset 732:Tiago Cunha2010-07-02
| | | | | | | Custom layouts. list-windows command displays the layout as a string (such as "bb62,159x48,0,0{79x48,0,0,79x48,80,0}") and it can be applied to another window (with the same number of panes or fewer) using select-layout.
* Sync OpenBSD patchset 604:Tiago Cunha2010-01-08
| | | | | | New command, join-pane, to split and move an existing pane into the space (like splitw then movep, or the reverse of breakp).
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 142:Tiago Cunha2009-07-20
| | | | | | | | | | | | | | | | | | | | | | | | Each window now has a tree of layout cells associated with it. In this tree, each node is either a horizontal or vertical cell containing a list of other cells running from left-to-right or top-to-bottom, or a leaf cell which is associated with a pane. The major functional changes are: - panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and vertically (splitw -v, C-b "); - panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D, bound to C-b left/right/up/down and C-b M-left/right/up/down); - layouts are now applied and then may be modified by resizing or splitting panes, rather than being fixed and reapplied when the window is resized or panes are added; - manual-vertical layout is no longer necessary, and active-only layout is gone (but may return in future); - the main-pane layouts now reduce the size of the main pane to fit all panes if possible. Thanks to all who tested.
* Get rid of the PANE_HIDDEN flag in favour of a function, and moving theNicholas Marriott2009-07-15
| | | | | | | | | decision for whether or not a pane should be drawn out of the layout code and into the redraw code. This is needed for the new layout design, getting it in now to make that easier to work on.
* main-horizontal layout and main-pane-height option to match vertical.Nicholas Marriott2009-05-18
|
* left-vertical -> main-vertical.Nicholas Marriott2009-05-18
| | | | | Also update CHANGES/TODO.
* New option main-pane-width to set width of pane in left-vertical mode.Nicholas Marriott2009-05-18
|
* horizontal -> h, vertical -> v, to shorten some function names a little.Nicholas Marriott2009-05-18
|
* Behave properly when resize not supported.Nicholas Marriott2009-05-18
|
* manual -> manual-vertical.Nicholas Marriott2009-05-18
|
* Clean up manual layout code:Nicholas Marriott2009-05-18
| | | | | | | | | | | | - change the one layout function into two _refresh and _resize - create layout-manual.c for manual layout code - move the fit panes/update panes code from window.c to the new file as it is only used by manual layout now - move the resize pane code into layout-manual.c as well - get rid of the direct calls to fit/update and make them go through layout - rename a couple of variables This is mainly as a first step before reworking the manual layout code to see if anything breaks.
* select-layout command and some key bindings.Nicholas Marriott2009-05-16
|
* Space trimmage mega-diff.Nicholas Marriott2009-05-04
|
* previous-layout command.Nicholas Marriott2009-04-30
|
* Display the layout name in window lists.Nicholas Marriott2009-04-30
|
* - Allow switching to hidden windows (for active-only layout).Nicholas Marriott2009-04-01
| | | | | - Don't update unnecessarily for other layouts when changing active pane doesn't matter.
* Handle 0 panes better.Nicholas Marriott2009-04-01
|
* Basic horizontal splitting and layout management. Still some redraw and otherNicholas Marriott2009-04-01
issues - particularly, don't mix with manual pane resizing and be careful when viewing from multiple clients; generally cycling the layout a few times will fix most problems. Getting this in for testing while I think about how to deal with manual mode. Split window as normal and cycle the layouts with C-b space. Some of the layouts will work better when swap-pane comes along.