Aurélien Aptel [Sat, 11 Sep 2010 14:07:36 +0000 (16:07 +0200)]
s/hasfocus/focus/ for consistency.
Aurélien Aptel [Sat, 11 Sep 2010 14:05:57 +0000 (16:05 +0200)]
don't draw if the window is not visible.
Aurélien Aptel [Sat, 11 Sep 2010 14:01:41 +0000 (16:01 +0200)]
use xclear() in draw().
Aurélien Aptel [Sat, 11 Sep 2010 13:59:54 +0000 (15:59 +0200)]
use XCreateWindow(), set gravity bit.
Aurélien Aptel [Thu, 2 Sep 2010 22:15:43 +0000 (00:15 +0200)]
cleaning st.info. added comment in st.c for DECSCNM.
Aurélien Aptel [Thu, 2 Sep 2010 22:00:41 +0000 (00:00 +0200)]
cleaning st.info. fixed cvvis.
Aurélien Aptel [Thu, 2 Sep 2010 20:35:55 +0000 (22:35 +0200)]
set terminal colors to xterm default ones.
Aurélien Aptel [Thu, 2 Sep 2010 19:59:05 +0000 (21:59 +0200)]
removed gfx chars not present in xterm acsc.
Aurélien Aptel [Thu, 2 Sep 2010 18:24:33 +0000 (20:24 +0200)]
fixed start/end sequence of gfx.
Aurélien Aptel [Thu, 2 Sep 2010 18:21:40 +0000 (20:21 +0200)]
undefined gfx doesn't draw \0.
Aurélien Aptel [Thu, 2 Sep 2010 00:03:53 +0000 (02:03 +0200)]
fixed makefile.
Aurélien Aptel [Thu, 2 Sep 2010 00:02:56 +0000 (02:02 +0200)]
added manpage.
Aurélien Aptel [Wed, 1 Sep 2010 23:42:03 +0000 (01:42 +0200)]
resize from the top.
Aurélien Aptel [Wed, 1 Sep 2010 23:37:01 +0000 (01:37 +0200)]
added -e and -t option.
Aurélien Aptel [Wed, 1 Sep 2010 21:20:54 +0000 (23:20 +0200)]
factored code and fixed behaviour of tnewline().
Aurélien Aptel [Wed, 1 Sep 2010 20:54:28 +0000 (22:54 +0200)]
updated TODO.
Aurélien Aptel [Wed, 1 Sep 2010 20:54:07 +0000 (22:54 +0200)]
started to go through st.info and fix things.
Aurélien Aptel [Wed, 1 Sep 2010 17:47:46 +0000 (19:47 +0200)]
capabilities sorted by capname in st.info. copy acsc from xterm.
Aurélien Aptel [Wed, 1 Sep 2010 16:12:54 +0000 (18:12 +0200)]
removed debug code.
Aurélien Aptel [Wed, 1 Sep 2010 15:21:09 +0000 (17:21 +0200)]
fixed IL and DL.
Aurélien Aptel [Wed, 1 Sep 2010 14:26:12 +0000 (16:26 +0200)]
factor and cleanup code.
Aurélien Aptel [Tue, 31 Aug 2010 22:30:39 +0000 (00:30 +0200)]
added correct line drawing characters for default font.
Aurélien Aptel [Tue, 31 Aug 2010 16:30:18 +0000 (18:30 +0200)]
use struct instead of array.
Aurélien Aptel [Tue, 31 Aug 2010 16:22:59 +0000 (18:22 +0200)]
cleanup.
pancake@nopcode.org [Tue, 31 Aug 2010 15:36:55 +0000 (17:36 +0200)]
fix segfault when selecting big buffers
shift+insert paste clipboard
honor CFLAGS and LDFLAGS in config.mk
Aurélien Aptel [Tue, 31 Aug 2010 14:56:27 +0000 (16:56 +0200)]
fix build.
Aurélien Aptel [Tue, 31 Aug 2010 14:53:34 +0000 (16:53 +0200)]
add selinit() and renamed clipboard_* to sel*.
Aurélien Aptel [Tue, 31 Aug 2010 14:30:11 +0000 (16:30 +0200)]
move event configuration in xinit().
Aurélien Aptel [Tue, 31 Aug 2010 13:36:13 +0000 (15:36 +0200)]
use one global struct instead of many vars for selection. Cleanup.
Aurélien Aptel [Tue, 31 Aug 2010 12:52:52 +0000 (14:52 +0200)]
use GLYPH_SET to test if a char is set; cleanup.
pancake@nopcode.org [Tue, 31 Aug 2010 09:40:57 +0000 (11:40 +0200)]
fix crash for small windows
use unconditional infinite loops
Aurélien Aptel [Tue, 31 Aug 2010 09:02:17 +0000 (11:02 +0200)]
toggle ATTR_REVERSE on selected text, factored some code and fixed Makefile.
pancake [Mon, 30 Aug 2010 21:49:15 +0000 (23:49 +0200)]
fix build
use config.def.h mechanism
add SHELL in config.h
pancake [Mon, 30 Aug 2010 21:41:37 +0000 (23:41 +0200)]
initial implementation of selection and clipboard
pancake@nopcode.org [Mon, 30 Aug 2010 15:07:54 +0000 (17:07 +0200)]
fix segfault
Aurélien Aptel [Mon, 30 Aug 2010 14:48:18 +0000 (16:48 +0200)]
added support for alternate screen.
Aurélien Aptel [Mon, 30 Aug 2010 13:28:29 +0000 (15:28 +0200)]
cursor is hid when unfocused.
Aurélien Aptel [Mon, 30 Aug 2010 11:04:19 +0000 (13:04 +0200)]
use predefined OS macro instead of uname.
Aurélien Aptel [Sun, 29 Aug 2010 23:20:38 +0000 (01:20 +0200)]
st should compile on NetBSD.
Aurélien Aptel [Mon, 30 Aug 2010 01:12:11 +0000 (03:12 +0200)]
removed pty.h. minimal system guessing added in config.mk.
Aurélien Aptel [Mon, 30 Aug 2010 01:05:05 +0000 (03:05 +0200)]
removed (visual) bell. '\a' sets the urgency flag if st is unfocused.
Aurélien Aptel [Sun, 29 Aug 2010 23:45:57 +0000 (01:45 +0200)]
removed useless cursor init. and renamed xcursor() to xdrawcursor().
Aurélien Aptel [Sun, 29 Aug 2010 23:35:37 +0000 (01:35 +0200)]
added support for the "magic margin", changed c.hide to c.state, changed xcursor() to use term instead of a
parameter and fixed the cursor position after setting a scrolling region.
Aurélien Aptel [Sun, 29 Aug 2010 23:19:05 +0000 (01:19 +0200)]
removed old VT52 escapes, fixed VT100 IND.
pancake [Sun, 29 Aug 2010 22:32:49 +0000 (00:32 +0200)]
fix warning
Aurélien Aptel [Sun, 29 Aug 2010 18:12:44 +0000 (20:12 +0200)]
fixed optimized drawing routine and factored some code.
Aurélien Aptel [Sun, 29 Aug 2010 17:41:36 +0000 (19:41 +0200)]
fixed pixmap buffer drawing.
Aurélien Aptel [Sun, 29 Aug 2010 17:14:05 +0000 (19:14 +0200)]
added a XFlush() in xbell().
Aurélien Aptel [Sun, 29 Aug 2010 16:55:15 +0000 (18:55 +0200)]
moved term.hidec in term.c for consistency, put back delay in xbell()
along with duration in config.h, factored some code in tnew()/treset()
and cleaned some code.
Aurélien Aptel [Sun, 29 Aug 2010 10:27:59 +0000 (12:27 +0200)]
merged tscroll() with tscrollup().
Aurélien Aptel [Sat, 28 Aug 2010 01:18:22 +0000 (03:18 +0200)]
st now runs on Linux, OpenBSD and FreeBSD.
Aurélien Aptel [Fri, 27 Aug 2010 11:53:27 +0000 (13:53 +0200)]
removed XINERAMA from config.mk and fixed a segfault when st is
started without a display. (thx Hiltjo Posthuma)
Aurélien Aptel [Thu, 26 Aug 2010 22:58:28 +0000 (00:58 +0200)]
fixed potential bug in IS_SET().
Aurélien Aptel [Thu, 26 Aug 2010 22:28:27 +0000 (00:28 +0200)]
merged tcursorwrap() with tnewline(), added few comments and updated copyright.
Aurélien Aptel [Thu, 26 Aug 2010 22:05:50 +0000 (00:05 +0200)]
cleaned some spaces.
Aurélien Aptel [Thu, 26 Aug 2010 21:43:08 +0000 (23:43 +0200)]
added macro to test flags, removed tmovecursor().
Aurélien Aptel [Thu, 26 Aug 2010 19:37:12 +0000 (21:37 +0200)]
faster resizing.
Aurélien Aptel [Thu, 26 Aug 2010 19:36:21 +0000 (21:36 +0200)]
close master/slave pty in the shell process.
Aurélien Aptel [Thu, 26 Aug 2010 19:34:37 +0000 (21:34 +0200)]
clean \t.
Aurélien Aptel [Thu, 26 Aug 2010 19:33:53 +0000 (21:33 +0200)]
update function prototypes.
Aurélien Aptel [Thu, 26 Aug 2010 19:32:34 +0000 (21:32 +0200)]
fix \b and clean \t.
Aurélien Aptel [Sun, 22 Aug 2010 17:46:46 +0000 (19:46 +0200)]
added F1-12 key, fixed DCH and ICH.
Aurélien Aptel [Thu, 19 Aug 2010 10:46:54 +0000 (12:46 +0200)]
fixed backspace problem, updated terminfo entry and moved TNAME in config.h.
Aurélien Aptel [Fri, 13 Aug 2010 20:43:30 +0000 (22:43 +0200)]
renamed a function.
Anselm R Garbe [Sat, 24 Jul 2010 11:09:14 +0000 (12:09 +0100)]
applied Devin J Pohly's st color info patches, thanks Devin!
pancake@nopcode.org [Thu, 8 Jul 2010 15:34:02 +0000 (17:34 +0200)]
fix gcc warnings
Aurélien Aptel [Thu, 8 Jul 2010 14:31:41 +0000 (16:31 +0200)]
fixed background color bug (thx Devin J. Pohly).
Aurélien Aptel [Thu, 3 Jun 2010 21:14:37 +0000 (23:14 +0200)]
added PBaseSize hint and set default title to "st".
Aurélien Aptel [Wed, 2 Jun 2010 14:01:30 +0000 (16:01 +0200)]
rearranged code, resize fixed.
Aurélien Aptel [Mon, 26 Apr 2010 22:04:29 +0000 (00:04 +0200)]
little clean up.
Aurélien Aptel [Mon, 26 Apr 2010 17:20:53 +0000 (19:20 +0200)]
use SHELL environment variable (thx Thomas Adam)
Aurélien Aptel [Mon, 15 Mar 2010 22:56:38 +0000 (23:56 +0100)]
double-buffering added using pixmap (finally).
results in a lot of simplification :
- no more dirty flags (perf are good enough).
- no more ugly gfx call in emulation functions.
LINESPACE removed from config.h.
BORDER is now handled correctly.
Aurélien Aptel [Thu, 11 Mar 2010 22:50:50 +0000 (23:50 +0100)]
bold attribute is back.
visibility of the cursor is not saved/loaded anymore.
scrolling up/down is fixed.
added RI and RIS sequences.
fixed cursor drawing bug.
Aurélien Aptel [Sun, 21 Feb 2010 13:59:32 +0000 (14:59 +0100)]
added VT100 NEL.
Aurélien Aptel [Sun, 21 Feb 2010 13:39:31 +0000 (14:39 +0100)]
added VT100 RI.
Aurélien Aptel [Sun, 21 Feb 2010 13:28:32 +0000 (14:28 +0100)]
added VT100 save&load cursor support.
Aurélien Aptel [Sun, 21 Feb 2010 13:14:58 +0000 (14:14 +0100)]
ECH handled correctly.
Aurélien Aptel [Mon, 8 Feb 2010 22:16:55 +0000 (23:16 +0100)]
more escapes & more compability:
cursor keys are handled in kpress according to the Application Mode (DECPAM).
define & enum were renamed.
tcursor() is now tmovecursor() which is more correct.
tcpos() is now tcursor(), as DECSC is also supposed to save attributes.
capnames are indicated whenever possible.
Currently:
alsamixer looks fine, totally usable.
ncmpc is almost ok.
emacs looks like shit.
Aurélien Aptel [Wed, 3 Feb 2010 15:18:04 +0000 (16:18 +0100)]
graphic charset and a few more escapes.
Aurélien Aptel [Wed, 3 Feb 2010 02:25:35 +0000 (03:25 +0100)]
TERM set to xterm by default (which broke a lot of stuff), better escape handling (title), and a little clean up.
Aurélien Aptel [Wed, 28 Oct 2009 13:34:22 +0000 (14:34 +0100)]
drawing is faster but the bold attr is not supported anymore.
Aurélien Aptel [Mon, 7 Sep 2009 19:19:29 +0000 (21:19 +0200)]
Fixed possible segfault by reverting to the key struct (again).
Anselm R Garbe [Fri, 10 Jul 2009 15:27:14 +0000 (16:27 +0100)]
only compile tdump if DEBUG flag is set
Anselm R Garbe [Fri, 10 Jul 2009 15:23:11 +0000 (16:23 +0100)]
we definately need pixmaps for the drawing, currently drawing into the window is painfully slow! much more slower than drawing into a pixmap and mapping that when finished -- several optimisations
Aurélien Aptel [Sun, 21 Jun 2009 17:52:06 +0000 (19:52 +0200)]
reverted back to the old Key struct.
Aurélien Aptel [Sun, 21 Jun 2009 17:37:12 +0000 (19:37 +0200)]
updated "key" to a lookup table.
Aurélien Aptel [Wed, 17 Jun 2009 18:44:36 +0000 (20:44 +0200)]
removed old unused cursor() proto.
Aurélien Aptel [Wed, 17 Jun 2009 00:58:40 +0000 (02:58 +0200)]
fixed the scrolling bug and cleaned some stuff.
Aurélien Aptel [Tue, 16 Jun 2009 10:34:10 +0000 (12:34 +0200)]
dump escseq if not handled.
Aurélien Aptel [Tue, 16 Jun 2009 00:41:45 +0000 (02:41 +0200)]
clean up.
Aurélien Aptel [Tue, 16 Jun 2009 00:33:38 +0000 (02:33 +0200)]
added/removed files, updated Makefile.
Aurélien Aptel [Tue, 16 Jun 2009 00:23:46 +0000 (02:23 +0200)]
made kpress() more flexible, removed st.h, added config.h.
Aurélien Aptel [Thu, 11 Jun 2009 15:03:25 +0000 (17:03 +0200)]
updated TODO.
Aurélien Aptel [Thu, 11 Jun 2009 14:41:14 +0000 (16:41 +0200)]
added sigchld handler, cleaned error checking.
Aurélien Aptel [Wed, 27 May 2009 23:33:01 +0000 (01:33 +0200)]
cleaned up (removed space indentation). select/event bug fixed.
Aurélien Aptel [Tue, 26 May 2009 00:21:02 +0000 (02:21 +0200)]
fixed a memory leak & segfault in tresize.
Aurélien Aptel [Thu, 14 May 2009 22:40:47 +0000 (00:40 +0200)]
updated TODO.
Aurélien Aptel [Thu, 14 May 2009 22:39:51 +0000 (00:39 +0200)]
tab moves the cursor instead of inserting spaces.
Aurélien Aptel [Wed, 13 May 2009 23:03:17 +0000 (01:03 +0200)]
handle tabulation (still not perfect)
Aurélien Aptel [Wed, 13 May 2009 22:28:10 +0000 (00:28 +0200)]
removed truecolor stuff