Commit Graph

550 Commits

Author SHA1 Message Date
Sadrul Habib Chowdhury
d7bc717504 Fix a crash with layouts, splits and killed windows
Having the same window in multiple split regions in a layout, and then
killing the window would cause a crash. This change fixes that crash.
2008-08-15 21:53:57 -04:00
Micah Cowan
04ce58b3df Minor reword of the input-reading phrase in HACKING. 2008-08-14 00:43:05 -07:00
Micah Cowan
6ead6f557b Add %p, %+p, for display of backend, display pids. 2008-08-13 23:20:38 -07:00
Micah Cowan
f053a18d58 Fix Cygwin build (#11174). 2008-08-13 18:23:07 -07:00
Micah Cowan
b129b2f850 Use etags rather than ctags -e (may not support -e). 2008-08-13 18:22:19 -07:00
Micah Cowan
5a96807db6 Don't put an uninitialized string into the blanker environment. 2008-08-13 13:21:58 -07:00
Micah Cowan
601f73e10b Added preliminary HACKING file. 2008-08-13 04:06:23 -07:00
Sadrul Habib Chowdhury
5e4c7c57bf Use fuzzy-matching for session names only if required
If there is a session with the exact name specified, then use that one
instead of matching other sessions with a similar name. Detailed bug
report by Marius Mikucionis
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361274)
2008-08-12 22:41:19 -04:00
Sadrul Habib Chowdhury
f6b50e175b A display is not needed for remote window creation
Detailed bug report by Jorgen Grahn
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466072)
2008-08-12 17:39:43 -04:00
Sadrul Habib Chowdhury
8d8b0f2a87 Pressing 'a' in the windowlist will list all windows. 2008-08-12 17:30:03 -04:00
Sadrul Habib Chowdhury
cc21ef38fb Update caption when sessionname is changed 2008-08-12 11:23:10 -04:00
Micah Cowan
12646e3584 Decode titles from cmdline, and don't free from av (#18505). 2008-08-12 02:57:10 -07:00
Stephane Chazelas
2e910c93da Screen-reported reports go to filter input, too (#11021). 2008-08-11 21:19:23 -07:00
Sadrul Habib Chowdhury
e3fc19a176 Require password, when applicable, for remote detach
If a session has a password set, then it should be necessary for the
user to enter the password before a remote detach. This change achieves
that behaviour.

A small change in the messaging system is necessary, thus bumping the
message version, for the first time since it has been introduced, it
seems. But I don't think it's going to break anything.

Discussion at #24029
2008-08-11 23:11:58 -04:00
Sadrul Habib Chowdhury
ae69eb8b96 Make new group window belong to the existing group 2008-08-11 23:05:17 -04:00
Sadrul Habib Chowdhury
d938e51452 Fix a bug involving windowlist, splits and layouts
The blank layer, which is used by the windowlist, is not resized when
the canvas is resized, which caused the bug. This change should fix the
issue.

Bug reported by Jean-Yves Levesque in
<111f7ec40808050840t521e4d9bmcd54353087c81fec@mail.gmail.com>
2008-08-10 10:15:21 -04:00
Sadrul Habib Chowdhury
896e50658d Fix a crash triggered by killed window in a layout
The canvas list in a layout was not being updated when a window was
killed. This caused a crash when switching to a layout that has a
non-existent window in one of the canvases. This change should fix this
crash. Detailed bug report by Jonas Kölker (#23303).
2008-08-10 06:46:09 -04:00
Sadrul Habib Chowdhury
490e4b5cf5 Merge branch 'master' of git://git.savannah.gnu.org/screen 2008-08-09 19:38:55 -04:00
Sadrul Habib Chowdhury
1f533041be Some more windowlist tweaks
Pressing 'g' in the windowlist will toggle the nestedness. Pressing 'm'
will toggle the 'most recently used'-ness of the list.

The nested/mru-ness of the list is also remembered while navigating from
a parent-group to its child group window.
2008-08-09 19:28:53 -04:00
Micah Cowan
4bd95712f0 Don't have to be root if you're the same user (#9538). 2008-08-09 12:19:03 -07:00
Emanuele Giaquinta
e16843a896 Farm out locale checks. 2008-08-09 11:46:45 -07:00
Micah Cowan
1c5054501f DTRT with SCREENENCODINGS, ETCSCREENRC. 2008-08-09 11:44:17 -07:00
Emanuele Giaquinta
2485de2365 Remove unneeded templates in acconfig.h. 2008-08-09 10:27:26 -07:00
Micah Cowan
99c93a070e Removed *.dist files. 2008-08-09 10:12:43 -07:00
Sadrul Habib Chowdhury
3335a9c2a0 Fix some more windowlist glitches
* Do not clear the window when hitting enter in an empty group
* Do not clear the window when selecting the active window from the
  windowlist.
References #23856.
2008-08-09 08:58:47 -04:00
Sadrul Habib Chowdhury
fe745b1abd Do not empty a group window when escape is pressed 2008-08-08 20:56:27 -04:00
Sadrul Habib Chowdhury
dfc7d7413a Nested list of windows in the windowlist view
The -g flag to windowlist will cause the windowlist to be nested, i.e.
the windows belonging to a group window in the list will show up
indented on the left. The -g flag is compatible with the -m flag.

Also, in a windowlist, pressing  or  will jump to its parent group
window.

References #23856
2008-08-08 19:04:30 -04:00
Emanuele Giaquinta
7264aa1486 Fix incomplete change to utf8_iscomb 2008-08-08 15:52:55 -04:00
Sadrul Habib Chowdhury
d77d98d3ae Get rid of a bunch of compile warnings 2008-08-08 15:26:18 -04:00
Sadrul Habib Chowdhury
c39f7a96ce Compile with older compilers/standards. 2008-08-08 15:22:37 -04:00
Sadrul Habib Chowdhury
a0404c3a5f Some systems come with just ncursesw, and no ncurses. 2008-08-08 15:09:24 -04:00
Micah Cowan
2957e96eb1 Get rid of comment on #undef line, to work with autoconf-2.62. 2008-08-08 01:56:03 -07:00
Micah Cowan
c64cccb096 Avoid VTE lastline update glitch (#23699). 2008-08-08 00:52:11 -07:00
Micah Cowan
7bcd726c23 Why the heck was esc set to the actual escape char?! 2008-08-07 22:35:12 -07:00
Micah Cowan
2cc00bf4d8 Proper 2-arg/3-arg setenv checks (#15921). 2008-08-07 22:10:08 -07:00
Micah Cowan
7f8218c200 Added string escape: %S for session name. 2008-08-07 21:50:44 -07:00
Micah Cowan
04595d21e8 Don't track screen.info-N either. 2008-08-07 21:36:36 -07:00
Micah Cowan
fb8eefc50e Remove screen.info from tracking. 2008-08-07 21:32:46 -07:00
Micah Cowan
3fd21ac063 Test for select() properly (#16076). 2008-08-07 21:23:58 -07:00
Micah Cowan
eb71f3f64d Increase MAXSTR (#14153). 2008-08-07 21:09:16 -07:00
Micah Cowan
efd5cec327 Advertise "hs" in screen-s (#19514). 2008-08-07 20:53:50 -07:00
Micah Cowan
ad3f082a02 exg: update combining-chars table, and use bisearch (#24019). 2008-08-07 20:48:28 -07:00
Micah Cowan
8a701f8337 Cast (ew!) to avoid warning (s/b void*, though). 2008-08-07 20:40:43 -07:00
Micah Cowan
7b0b7e840f Was comparing fd to recv (function) instead of recvfd. :) 2008-08-07 20:32:23 -07:00
Micah Cowan
ae7e80a9e8 exg: export FindLayout (#24020). 2008-08-07 20:23:48 -07:00
Micah Cowan
5f92aa2259 Merge branch 'master' of git.sv.gnu.org:/srv/git/screen 2008-08-07 20:20:57 -07:00
Sadrul Habib Chowdhury
78fee1772a A typo that could've resulted in random crashes. 2008-08-07 22:39:06 -04:00
Sadrul Habib Chowdhury
4e40661129 Prevent crashing from ;, in copy mode without fFtT
Make sure there is some search to repeat when ;, is pressed in copy
mode.
2008-08-07 22:25:49 -04:00
Sadrul Habib Chowdhury
be4930f1de Fix interactive resizing of regions
If no argument is provided with the 'resize' command, then an
interactive prompt comes up. If you cancel that promp by pressing
ctrl+g, bad things happen. This change fixes that issue.
2008-08-07 21:27:47 -04:00
Sadrul Habib Chowdhury
b82f5f86e7 Fix the screen command to autofocus the new window 2008-08-07 20:53:42 -04:00