summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into cmd-aliascmd-aliasSadrul Habib Chowdhury2010-03-1664-3016/+6104
|\
| * Add special rendition for silence'd windows.Sadrul Habib Chowdhury2010-03-1411-17/+42
| | | | | | | | | | The default rendition for silence'd windows in caption/hardstatus or in the windowlist is =u (underline). Closes savannah bug #29205.
| * Fix a typo.Sadrul Habib Chowdhury2010-03-121-2/+2
| |
| * Fix an invalid memory read.Sadrul Habib Chowdhury2010-03-121-3/+2
| | | | | | | | Thanks a bunch to Friedrich Delgado Friedrichs for providing the valgrind logs.
| * Make layer-resizing a bit more robust and readableSadrul Habib Chowdhury2010-03-102-33/+67
| | | | | | | | | | | | | | | | | | | | Instead of killing all overlays when resizing, just kill the ones that cannot be resized, and the resized the rest. This fixes a bug where the window-list (or a group-window) is aborted when layer-size changes (because window-size changed, or caption/hardstatus etc. was toggled). This also makes the code robust. So if you are looking at a window/display list, and the window-size is changed, the list won't go away.
| * Fix compiling SIMPLESCREEN.Sadrul Habib Chowdhury2010-03-091-0/+2
| |
| * Fix an invalid memory read.Sadrul Habib Chowdhury2010-03-091-2/+2
| | | | | | | | | | The window-list data gets freed when we abort the list. So read what we need to before aborting the list.
| * More fixes for -Werror=format-security.Sadrul Habib Chowdhury2010-03-082-2/+2
| |
| * Fix a hardstatus update issue.Sadrul Habib Chowdhury2010-03-081-20/+8
| | | | | | | | | | | | | | The initial change was to fix a bug in gnome-terminal (https://savannah.gnu.org/bugs/?23699), but that broke hardstatus update issues on bell (https://savannah.gnu.org/bugs/?24096). So apply a proper fix for #23699 without causing #24096.
| * Fix refresh when double-cell characters end a lineSadrul Habib Chowdhury2010-03-082-0/+16
| | | | | | | | | | | | | | | | Double cell characters that end a line are not properly displayed when there are split regions. Takeshi Banse detected the problem and a fix for it in Savannag bug #29106. A better fix for this was applied in the unicode++ branch, but that won't work in 'master'. This is approximately the same fix, in a slightly different way.
| * Changelog.Sadrul Habib Chowdhury2010-03-071-0/+1
| |
| * Fix build with -Werror=format-securityMichael Scherer2010-03-079-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | Some distributions ( mandriva for example ) use -Werror=format-security by default when build C software to try to enhance code quality and prevent security bugs. As the policy is to correct all occurences of the error ( so there is no false positive, nor question about to fix it or not ), a patch that fix the error on gnu screen 4.0.3 have been added to the package. I have rediffed it against latest git snapshot, to be sent upstream. It mainly add "%s" where applicable.
| * Some more fixes for the window list.Sadrul Habib Chowdhury2010-03-041-7/+11
| | | | | | | | Detecting when to destroy a window-list is rather complicated.
| * Handle mouse events in a generic list.Sadrul Habib Chowdhury2010-03-041-5/+53
| | | | | | | | Scroll wheels to scroll, left click to select.
| * Fix sending mouse event to a mouse-enabled layer.Sadrul Habib Chowdhury2010-03-041-1/+1
| |
| * Fix terminating an on-window list.Sadrul Habib Chowdhury2010-03-041-5/+4
| |
| * Use intelligent screen refresh only in split regions.Sadrul Habib Chowdhury2010-03-041-56/+44
| | | | | | | | | | | | | | | | When there are no splits, pausing output on a layer isn't necessary, since it doesn't hit the performance. But we do want to continue to pause output when there are splits to improve scrolling performance. Fixes savannah bug #29055. Thanks to Kazuo Teramoto for reporting the bug and testing the fix.
| * Do not terminate when size is reduced too much.Sadrul Habib Chowdhury2010-03-032-3/+3
| | | | | | | | | | | | | | | | Height of a window can be negative, when both hardstatus and caption are turned on, and the terminal size is reduced to one-line height. So handle those cases more gracefully. Fixes savannah bug #29037.
| * Sanity check line numbers for non-negative value.Sadrul Habib Chowdhury2010-03-031-0/+2
| | | | | | | | | | | | It looks like 'ys' can be negative at times, which results in invalid memory reads, and possibly writes. Valgrind log from Friedrich Delgado Friedrichs in savannah bug #29050.
| * Reduce a little code duplication.Sadrul Habib Chowdhury2010-02-261-63/+44
| |
| * Some more fixes for the list management.Sadrul Habib Chowdhury2010-02-269-17/+41
| | | | | | | | | | Make sure the allocated memory is always freed. Also, do not reference freed memory. Thank you valgrind.
| * Print the group name in a group window.Sadrul Habib Chowdhury2010-02-241-2/+10
| |
| * Some more window-management from the window-list.Sadrul Habib Chowdhury2010-02-242-7/+50
| | | | | | | | | | | | Pressing 'K' in the window-list will kill a window (after confirmation). Also, added some notes.
| * Allow moving windows around from the window list.Sadrul Habib Chowdhury2010-02-245-39/+112
| | | | | | | | | | | | Press ',' to switch the selected window with its previous window (in the same group). Similarly, press '.' to switch with the next window.
| * Typo fix.Sadrul Habib Chowdhury2010-02-241-1/+1
| |
| * Changelog the search-ability in the windowlist.Sadrul Habib Chowdhury2010-02-243-3/+11
| |
| * Man-pages updates for -p, -T, 'stuff' and 'su'.Curtis Brown2010-02-241-6/+12
| |
| * Typo fixes from Trent W Buck.Sadrul Habib Chowdhury2010-02-245-6/+6
| |
| * Simplify a little.Sadrul Habib Chowdhury2010-02-241-8/+5
| |
| * Allow searching in the window list.Sadrul Habib Chowdhury2010-02-244-2/+108
| | | | | | | | | | | | Press '/' to enter the search string, then pressing 'n' will search forward, and 'N' will search backward. Press '/' again to change the search string.
| * Add some navigation shortcut in list views.Sadrul Habib Chowdhury2010-02-241-2/+47
| | | | | | | | Page-up/down, home/end, ^A, ^E, ^B, ^F, ^D, ^U keys do their things.
| * Reset displays before dumping a core.Juergen Weigert2010-02-231-21/+35
| | | | | | | | | | | | | | | | | | | | If defined SHADOWPW, we may have passwd records in core, that the user would not be able to access otherwise. In that case, we should not dump core, as the core file would contain the passwd records, and would be readable for the user. We do not explicitly check for eff_uid == 0, because if his real_uid is also 0 he could have read all this anyway. Leaving only the cases where the two uids differ.
| * Remove old code.Sadrul Habib Chowdhury2010-02-235-632/+8
| |
| * Final touches to the revamped window list.Sadrul Habib Chowdhury2010-02-234-33/+82
| | | | | | | | | | | | | | This window list should be better than the old one, mostly code-wise, as there's yet no new functionality. However, it should be much simpler to add typeahead search and other nifty things now than before.
| * Add the navigation support back in the window list.Sadrul Habib Chowdhury2010-02-231-1/+52
| | | | | | | | | | Pressing 'm' toggles the MRU-ness, pressing 'a' shows the list of all windows. Still left to do: deal with nested view.
| * Fix the unexpected selection-change bug.Sadrul Habib Chowdhury2010-02-231-3/+11
| | | | | | | | Do not remove a row from the list if it is already in the correct position.
| * Update the window-list when necessary.Sadrul Habib Chowdhury2010-02-235-49/+217
| | | | | | | | | | | | | | | | Update the window-list whenever window ordering/etc. changes. There is an unusual bug where the selection in a list changes automatically when switching windows in another display. Need to investigate this issue. Also, left to do: support nested list, and advanced navigations introduced (e.g. toggle MRU, nestedness etc.)
| * It makes no sense to allow a group into itself.Sadrul Habib Chowdhury2010-02-221-1/+1
| |
| * Revamp the window list.Sadrul Habib Chowdhury2010-02-226-21/+343
| | | | | | | | | | | | The window list now uses the list-framework. The basic window list is working. The list for a group, or nested/mru lists still need some work. This is going to be a much simpler code than before.
| * Start working on a generic list framework.Sadrul Habib Chowdhury2010-02-215-212/+492
| | | | | | | | | | | | | | | | | | | | The list of displays uses this framework. Eventually, the list of windows, bindkeys etc. will also use this framework. In the list of displays, you can press 'd' to detach the selected display (and 'D' to power-detach). Eventually, the plan is to add typeahead search in the list too.
| * Allow searching in input history.Sadrul Habib Chowdhury2010-02-191-8/+54
| | | | | | | | | | You enter some text in the input, then press ctrl+r to cycle through the history that has the entered text as a substring.
| * Exclude the PID when expanding $STY.Sadrul Habib Chowdhury2010-02-181-1/+6
| | | | | | | | | | | | | | Excluding the PID from the expansion of $STY makes it possible to do, e.g. 'source screenrc-$STY' to load session-specific commands. If the PID is desired, for some reason, then '$PID.$STY' should be used instead.
| * Fix creating numbered windows.Sadrul Habib Chowdhury2010-02-181-2/+2
| | | | | | | | | | | | | | | | This is another bug introduced when the max number of windows was made configurable. Bug reported by Christian Ebert in <20100218160955.GC21624@krille.blacktrash.org>. And fix a typo.
| * Update comment regarding msg-version history.Sadrul Habib Chowdhury2010-02-181-2/+4
| |
| * Bump msg revision number so proper checking can be done.Sadrul Habib Chowdhury2010-02-181-2/+4
| |
| * Changelog the last few changes.Sadrul Habib Chowdhury2010-02-171-0/+4
| |
| * Allow expanding the command to full buffer size.Sadrul Habib Chowdhury2010-02-161-1/+1
| | | | | | | | | | Without this, commands like '-Q echo $STY' would fail with error: no space left for variable expansion.
| * Spelling fixes.Curtis Brown2010-02-161-10/+10
| | | | | | | | Closes #28473 on savannah.
| * Update info-page for 'stuff'.Curtis Brown2010-02-161-2/+3
| | | | | | | | Closes #28616 on savannah.
| * Document 'layout dump', and clarify 'layout save'.Curtis Brown2010-02-162-1/+22
| | | | | | | | Closes #28586 on savannah.