aboutsummaryrefslogtreecommitdiff
path: root/resize.c
Commit message (Collapse)AuthorAge
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Sync OpenBSD patchset 806:Tiago Cunha2010-12-22
| | | | | | | | | | | Store sessions in an RB tree by name rather than a list, this is tidier and allows them to easily be shown sorted in various lists (list-sessions/choose-sessions). Keep a session index which is used in a couple of places internally but make it an ever-increasing number rather than filling in gaps with new sessions.
* PatchSet 789Nicholas Marriott2010-12-06
| | | | | | | | | | | | | | | | | | | | Date: 2010/11/22 21:13:13 Author: nicm Branch: HEAD Tag: (none) Log: There is somewhere that WINDOW_HIDDEN is getting set when it shouldn't be and I can't find it, but the flag itself is a useless optimisation that only applies to automatic-resize windows, so just dispose of it entirely. Fixes problems reported by Nicholas Riley. Members: resize.c:1.5->1.6 tmux.h:1.246->1.247 tty.c:1.92->1.93
* Sync OpenBSD patchset 724:Tiago Cunha2010-06-22
| | | | | | Having a list of winlinks->alerts for each session is stupid, just store the alert flags directly in the winlink itself.
* Sync OpenBSD patchset 352:Tiago Cunha2009-09-25
| | | | | Don't allow locked or suspended clients to limit the size of active clients.
* 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.
* - 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.
* 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.
* Move sx,sy into tty rather than client.Nicholas Marriott2009-02-11
|
* Window splitting. Two vertical panes fixed 50% each. This is a huge diff, ↵Nicholas Marriott2009-01-11
| | | | still a couple of bugs (notably heap corruption somewhere causing segfault on exit).
* Make window options work the same was as session options, add ↵Nicholas Marriott2008-12-08
| | | | mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
* status-lines -> status, prefix-key -> prefixNicholas Marriott2008-06-19
|
* New window options: force-width and force-height. This will force a window toNicholas Marriott2008-06-14
| | | | | | | | | an arbitrary width and height (0 for the default unlimited). This is neat for emacs which doesn't have a sensible way to force hard wrapping at 80 columns. Also, don't try to be clever and use clr_eol when redrawing the whole screen, it causes trouble since the redraw functions are used to draw the blank areas too.
* Clear blank area properly on redraw, and add a marker line below it.Nicholas Marriott2008-06-14
|
* Clear clients with flag too.Nicholas Marriott2008-06-07
|
* New flag: aggressize resize. Resize window when to size of smallest session ↵Nicholas Marriott2008-06-06
| | | | for which it is _current_ window.
* Per-session configuration options.Nicholas Marriott2008-06-03
|
* Don't die if no dst window and -k to linkw.Nicholas Marriott2008-06-01
|
* Major reorganisation of screen handling.Nicholas Marriott2007-12-06
|
* Clear before resize.Nicholas Marriott2007-12-02
|
* Big internal reorganisation to move tty control into parent.Nicholas Marriott2007-11-27
|
* Initial history support.Nicholas Marriott2007-11-21
|
* Mass screen.c rename/tidy. Add a actual size (ysize) as distinct from ↵Nicholas Marriott2007-11-20
| | | | display size (now dx,dy). Move functions which work on the displayed area into screen-display.c and tidy. Use macros consistently when accessing screen data (may want to move everything about again later!). This the first step on the road to scrollback.
* Add a bell-action option.Nicholas Marriott2007-10-19
|
* Have resize update a SESSION_UNATTACHED flag.Nicholas Marriott2007-10-05
|
* Don't accept UINT_MAX as size if no clients/sessions.Nicholas Marriott2007-10-04
|
* Incomplete resize support.Nicholas Marriott2007-10-04