Commit Graph

1270 Commits

Author SHA1 Message Date
Nicholas Marriott
0fdd47660a UTF-8 detection is broken on sparc64; disable until I get time to test it further. 2009-06-24 17:31:03 +00:00
Nicholas Marriott
6208128fa2 Sync with private copy. 2009-06-03 17:52:29 +00:00
Nicholas Marriott
940e2ae1fd endpwent() is not required after getpwuid(). 2009-06-01 20:38:59 +00:00
Nicholas Marriott
144aed48fa +. 2009-05-29 23:26:11 +00:00
Nicholas Marriott
f63f5e6489 Clear status line on incorrect password. 2009-05-29 23:25:26 +00:00
Nicholas Marriott
17a6c01d58 Don't show real character under cursor when hidden. Doh. 2009-05-29 05:40:56 +00:00
Nicholas Marriott
8536ad0ce7 Reset activity time to avoid relock on -U. 2009-05-28 16:24:02 +00:00
Nicholas Marriott
3a55871d04 Now in base. 2009-05-26 18:31:10 +00:00
Nicholas Marriott
cd4566cd69 Spacing. 2009-05-26 18:30:51 +00:00
Nicholas Marriott
133539a2d4 Update. 2009-05-21 19:51:33 +00:00
Nicholas Marriott
89404788c9 Spacing. 2009-05-21 19:47:57 +00:00
Nicholas Marriott
6c442c19ba UPPER -> BIG, sort, and bump protocol version. 2009-05-21 19:46:00 +00:00
Nicholas Marriott
a8ec5f1d09 stat(2) files before trying to load them to avoid problems, for example with "source-file /dev/zero".
This commit dedicated to Tom: protecting idiots from their own stupidity for more than 20 years.
2009-05-21 19:38:51 +00:00
Nicholas Marriott
eb6007102e new layout plan 2009-05-20 15:46:48 +00:00
Nicholas Marriott
cdce5f739d Indentation. 2009-05-19 16:29:35 +00:00
Nicholas Marriott
5707eb3256 +. 2009-05-19 16:12:40 +00:00
Nicholas Marriott
6db7bd6791 Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide character and seeing how much the cursor moves. Currently tries to figure out if this works by some stupid checks on the terminal, these need to be rethought. Also might be better using a width 1 character rather than width 2. 2009-05-19 16:08:35 +00:00
Nicholas Marriott
5db59a0d20 If LANG contains "UTF-8", assume the terminal supports UTF-8, on the grounds that anyone who configures it probably wants UTF-8. Not certain if this is a perfect idea but let's see if it causes any problems. 2009-05-19 16:03:18 +00:00
Tiago Cunha
80af85a102 - New window option monitor-content to search for a string in a window, and
highlight the status line if it matches.
- To make this possible, the function cmd_find_window_search from
  cmd-find-window.c had to be moved to window.c and renamed window_pane_search.
- While there use three new functions in server.c to check for bell, activity,
  and content, to avoid too much nesting.
2009-05-19 13:32:55 +00:00
Nicholas Marriott
a385f75792 Note. 2009-05-19 08:50:10 +00:00
Nicholas Marriott
0abd8ea84f (void). 2009-05-19 08:48:49 +00:00
Nicholas Marriott
72e464fa04 main-horizontal layout and main-pane-height option to match vertical. 2009-05-18 22:17:24 +00:00
Nicholas Marriott
c21ffbc772 left-vertical -> main-vertical.
Also update CHANGES/TODO.
2009-05-18 21:58:40 +00:00
Nicholas Marriott
6e4b947d71 New option main-pane-width to set width of pane in left-vertical mode. 2009-05-18 21:55:53 +00:00
Nicholas Marriott
3ee4b334e7 manual -> manual-vertical. 2009-05-18 21:32:36 +00:00
Nicholas Marriott
404411f5e7 horizontal -> h, vertical -> v, to shorten some function names a little. 2009-05-18 21:29:11 +00:00
Nicholas Marriott
d601c42ea2 Behave properly when resize not supported. 2009-05-18 21:16:09 +00:00
Nicholas Marriott
b233616853 Update TODO. 2009-05-18 21:08:11 +00:00
Nicholas Marriott
5518b6138d manual -> manual-vertical. 2009-05-18 21:06:16 +00:00
Nicholas Marriott
ab4e5e8574 Clean up manual layout code:
- 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.
2009-05-18 21:01:38 +00:00
Nicholas Marriott
b6b00c53bd Fix comment. 2009-05-18 20:18:08 +00:00
Nicholas Marriott
2f5c3d881d #undef everything in config.h. This is the only bit of the scripting work I am
using now :-).
2009-05-18 19:18:41 +00:00
Nicholas Marriott
a03cf0e183 +b on fopen. 2009-05-18 16:22:30 +00:00
Nicholas Marriott
d2275f4abf chmod +x configure 2009-05-18 15:42:30 +00:00
Nicholas Marriott
0c33b73db0 Move some crap into the attic, and some other stuff into tools/. 2009-05-17 18:27:18 +00:00
Nicholas Marriott
8dc73f2df5 Move website stuff into its own directory. 2009-05-17 18:20:59 +00:00
Nicholas Marriott
6805217783 Move dist.mk to tools/. 2009-05-17 18:15:41 +00:00
Nicholas Marriott
0f5168f971 Use >|. 2009-05-16 22:14:47 +00:00
Nicholas Marriott
c111310600 Use a better variable name and allow the uname to be overridden. 2009-05-16 22:06:01 +00:00
Nicholas Marriott
d58bfe5f0a clean-all. 2009-05-16 21:56:38 +00:00
Nicholas Marriott
095f16d64f clean-all target to clean configure stuff too. 2009-05-16 21:55:54 +00:00
Nicholas Marriott
25911d32e1 Use empty(), FreeBSD doesn't like ==. 2009-05-16 18:59:50 +00:00
Nicholas Marriott
1001902143 select-layout command and some key bindings. 2009-05-16 11:48:47 +00:00
Nicholas Marriott
03af7c99b5 Recreate server socket on SIGUSR1, per SF feature request 2792533. 2009-05-16 10:02:51 +00:00
Nicholas Marriott
92de1ad6c8 putenv can be char *. 2009-05-15 12:58:56 +00:00
Nicholas Marriott
0b54a2d723 Don't use -Wcast-qual and use explicit casts to shut gcc up in the few cases we can't avoid using a char *. 2009-05-15 12:57:36 +00:00
Nicholas Marriott
8913d853e4 +sfw for solaris too. 2009-05-14 19:49:26 +00:00
Nicholas Marriott
cba338ac13 Keys in status line (p in vi mode, M-y in emacs) to paste the first line of the upper paste buffer. Suggested by Dan Colish. 2009-05-14 19:36:56 +00:00
Nicholas Marriott
8931f0018a Separate tmux target. Doh. 2009-05-14 19:32:37 +00:00
Nicholas Marriott
b476fab34d PuTTY resizing from merdely. 2009-05-14 18:43:02 +00:00