aboutsummaryrefslogtreecommitdiff
path: root/status.c
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 1150:Tiago Cunha2012-07-11
| | | | | xfree is not particularly helpful, remove it. From Thomas Adam.
* Sync OpenBSD patchset 1149:Tiago Cunha2012-07-11
| | | | | Move a NULL check inside a function, from Tiago Cunha.
* Sync OpenBSD patchset 1103:Tiago Cunha2012-05-03
| | | | | | Use int not u_char for colours from options since they may have bit 8 set to mark them as 256-colour. Reported by Chris Johnson.
* Sync OpenBSD patchset 1097:Tiago Cunha2012-04-24
| | | | | Add window-status-separator option, from Thomas Adam.
* Sync OpenBSD patchset 1057:Tiago Cunha2012-03-18
| | | | | | Check event_initialized before event_del if event may not have been set up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
* Sync OpenBSD patchset 1039:Tiago Cunha2012-03-07
| | | | | Add A and I keys for vi status line editing.
* Sync OpenBSD patchset 1036:Tiago Cunha2012-03-07
| | | | | | The wlmouse offset should be part of the client, not the server. From Ailin Nemui.
* 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.
* Sync OpenBSD patchset 1013:Tiago Cunha2012-01-29
| | | | | | Terminate strftime buffer properly even if a really long format string is given, from Tiago Cunha.
* Sync OpenBSD patchset 1012:Tiago Cunha2012-01-29
| | | | | Fix memory leak in error path, from Tiago Cunha.
* Sync OpenBSD patchset 1001:Tiago Cunha2012-01-20
| | | | | | Add some trivial additional status line attributes from jwcxz at users dot sourceforge dot net.
* Sync OpenBSD patchset 998:Tiago Cunha2012-01-20
| | | | | Add space movement keys for vi mode in the status line from Ben Boeckel.
* Sync OpenBSD patchset 983:Tiago Cunha2011-12-06
| | | | | | Make M-f and M-b work the same at the command prompt as in copy mode, pointed out by Romain Francoise.
* Sync OpenBSD patchset 982:Tiago Cunha2011-11-25
| | | | | | Add word movement and editing command for command prompt editing, from Ben Boeckel.
* Sync OpenBSD patchset 979:Tiago Cunha2011-11-25
| | | | | Make window_pane_index work the same as window_index, from Ben Boeckel.
* Sync OpenBSD patchset 976:Tiago Cunha2011-11-10
| | | | | | Option to change status line (message) background when using vi keys and in command mode. From Ben Boeckel.
* Sync OpenBSD patchset 947:Tiago Cunha2011-08-21
| | | | | Fix a couple of memory leaks, from marcel partap.
* Sync OpenBSD patchset 934:Tiago Cunha2011-07-08
| | | | | | | | Make confirm-before prompt customizable with -p option like command-prompt. Also move responsibility for calling status_replace into status_prompt_{set,update} and add #W and #P to the default kill-window and kill-pane prompts. By Tiago Cunha.
* Sync OpenBSD patchset 927:Tiago Cunha2011-07-03
| | | | | | Allow the initial context on prompts to be set with the new -I option to command-prompt. From Tiago Cunha.
* Sync OpenBSD patchset 899:Tiago Cunha2011-05-05
| | | | | | Only redraw the status line on command update, not the entire client (big DOH).
* Sync OpenBSD patchset 898:Tiago Cunha2011-04-25
| | | | | Provide #h for short hostname (no domain) from Michal Mazurek.
* |PatchSet 893Nicholas Marriott2011-04-18
| | | | | | | | | | | |Date: 2011/04/18 20:49:05 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Add an option (mouse-select-window) which allows the mouse to be used by |clicking on the status line, written by hsim at gmx dot li.
* |PatchSet 876Nicholas Marriott2011-04-06
| | | | | | | | | | | |Date: 2011/03/29 20:30:16 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Change -t on display-message to be target-pane for the #[A-Z] |replacements and add -c as target-client.
* Sync OpenBSD patchset 855:Tiago Cunha2011-02-15
| | | | | | | | | | | | | | | | | | | Simplify the way jobs work and drop the persist type, so all jobs are fire-and-forget. Status jobs now managed with two trees of output (new and old), rather than storing the output in the jobs themselves. When the status line is processed any jobs which don't appear in the new tree are started and the output from the old tree displayed. When a job finishes it updates the new tree with its output and that is used for any subsequent redraws. When the status interval expires, the new tree is moved to the old so that all jobs are run again. This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands of identical persistent jobs and high memory use (this can still be achieved by adding "sleep 30" but that is much less likely to happen by accident).
* Sync OpenBSD patchset 813:Tiago Cunha2011-01-07
| | | | | | Add a function to create window flags rather than doing the same thing in two places. From Thomas Adam.
* Sync OpenBSD patchset 827:Tiago Cunha2011-01-07
| | | | | | Handle a # at the end of a replacement string (such as status-left) correctly. Found by Thomas Adam.
* Sync OpenBSD patchset 826:Tiago Cunha2011-01-03
| | | | | | | | Move the user-visible parts of all options (names, types, limit, default values) together into one set of tables in options-table.c. Also clean up and simplify cmd-set-options.c and move a common print function into option-table.c.
* Global paste buffers instead of per-session which renders copy-buffer useless.Tiago Cunha2010-12-30
| | | | | As a consequence buffer-limit is now a server option.
* Make the prompt history global for all clients which is much more usefulNicholas Marriott2010-12-11
| | | | | than per-client history.
* Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott2010-12-06
| | | | | window. From Thomas Adam.
* 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 701:Tiago Cunha2010-06-05
| | | | | Colour+attribute options for status line alerts, from Alex Alexander.
* Stupid style nits.Nicholas Marriott2010-04-06
|
* Don't accept keys with modifiers as input. Fixes crash reported by BrianNicholas Marriott2010-03-31
| | | | | R Landy.
* Nuke unused functions.Nicholas Marriott2010-03-27
|
* Plug memory leak, from Gregory Thiemonge.Nicholas Marriott2010-03-10
|
* Sync OpenBSD patchset 622:Tiago Cunha2010-01-28
| | | | | | Calculate offset correctly, fixes incorrect offset and prevents crash when status-left is empty. From Micah Cowan.
* Sync OpenBSD patchset 620:Tiago Cunha2010-01-28
| | | | | Actually use the copy made when no newline is found, from martynas@.
* Sync OpenBSD patchset 588:Tiago Cunha2009-12-16
| | | | | Add server options to completion as well.
* 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 580:Tiago Cunha2009-12-04
| | | | | | | | | Eliminate duplicate code and ease the passage for server-wide options by adding a -w flag to set-option and show-options and making setw and showw aliases to set -w and show -w. Note: setw and showw are still there, but now aliases for set -w and show -w.
* Sync OpenBSD patchset 569:Tiago Cunha2009-11-28
| | | | | | Tidy up various bits of the paste code, make the data buffer char * and add comments.
* Sync OpenBSD patchset 567:Tiago Cunha2009-11-28
| | | | | | Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to the rest to reduce lint output.
* Sync OpenBSD patchset 557:Tiago Cunha2009-11-22
| | | | | | Display UTF-8 properly in status line messages and prompt. Cursor handling is still way off though.
* Sync OpenBSD patchset 556:Tiago Cunha2009-11-22
| | | | | Remove oldest messages from log when limit is hit, not newest.
* Sync OpenBSD patchset 555:Tiago Cunha2009-11-22
| | | | | | Get some brackets in the right place so ## works. Also fix a space in a comment.
* Sync OpenBSD patchset 554:Tiago Cunha2009-11-19
| | | | | | | Change status line drawing to create the window list in a separate screen and then copy it into the status line screen. This allows UTF-8 in window names and fixes some problems with #[] in window-status-format.
* Sync OpenBSD patchset 553:Tiago Cunha2009-11-19
| | | | | | | | | | Two new options, window-status-format and window-status-current-format, which allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
* Sync OpenBSD patchset 550:Tiago Cunha2009-11-19
| | | | | | Tidy up by breaking the # replacement code into a separate function, also add a few comments.
* Sync OpenBSD patchset 549:Tiago Cunha2009-11-19
| | | | | | Don't interpret #() for display-message, it usually doesn't make sense and may leak commands.