vte.git
19 years agoCheck for redundant resizes. Keep the alternate screen buffer size the
Nalin Dahyabhai [Wed, 26 Jun 2002 01:42:02 +0000 (01:42 +0000)]
Check for redundant resizes. Keep the alternate screen buffer size the

* src/vte.c (vte_terminal_reset_rowdata): Check for redundant resizes.
* src/vte.c (vte_terminal_set_scrollback_lines): Keep the alternate screen
buffer size the same as the window height, because xterm's alternate
screen doesn't backscroll.
* src/vte.c (vte_terminal_get_text): Don't append spaces to multicolumn
characters when reading the screen's contents.
* src/vte.c: Don't overexpose neighboring cells any more.  Cleanups.

19 years agoTreat option 1049 as a combination of 1047 and 1048. When finalizing while vte_0_4_4
Nalin Dahyabhai [Tue, 25 Jun 2002 19:39:28 +0000 (19:39 +0000)]
Treat option 1049 as a combination of 1047 and 1048. When finalizing while

* src/vte.c (vte_sequence_handler_decset_internal): Treat option 1049 as a
combination of 1047 and 1048.
* src/vte.c (vte_terminal_finalize): When finalizing while holding the
selection, try to throw the selection onto the clipboard without an
owner so that it doesn't just disappear.

19 years agoFix a logic bug that got rid of the title always, not just when conversion
Nalin Dahyabhai [Wed, 19 Jun 2002 15:24:49 +0000 (15:24 +0000)]
Fix a logic bug that got rid of the title always, not just when conversion

* src/vte.c (vte_sequence_handler_set_title_int): Fix a logic bug that got rid
of the title always, not just when conversion failed.

19 years agoClear the alternate screen when switching to it. vte_0_4_3
Nalin Dahyabhai [Wed, 19 Jun 2002 06:42:43 +0000 (06:42 +0000)]
Clear the alternate screen when switching to it.

* src/vte.c: Clear the alternate screen when switching to it.

19 years agoFix package description.
Nalin Dahyabhai [Wed, 19 Jun 2002 05:55:39 +0000 (05:55 +0000)]
Fix package description.

* vte.spec: Fix package description.

19 years agoFix refs/derefs with IOChannels and sources. Clean up I/O GIConv
Nalin Dahyabhai [Wed, 19 Jun 2002 05:07:26 +0000 (05:07 +0000)]
Fix refs/derefs with IOChannels and sources. Clean up I/O GIConv

* src/vte.c: Fix refs/derefs with IOChannels and sources.  Clean up I/O GIConv
descriptors at finalize-time.

19 years ago0.4.2 vte_0_4_2
Nalin Dahyabhai [Tue, 18 Jun 2002 16:44:24 +0000 (16:44 +0000)]
0.4.2

19 years agoMake cursor_visible a widget-wide (not per-screen) setting.
Nalin Dahyabhai [Tue, 18 Jun 2002 16:24:17 +0000 (16:24 +0000)]
Make cursor_visible a widget-wide (not per-screen) setting.

* src/vte.c: Make cursor_visible a widget-wide (not per-screen) setting.

19 years agoCorrect automake version check to require 1.5, heads-up from Glynn Foster.
Nalin Dahyabhai [Tue, 18 Jun 2002 16:17:49 +0000 (16:17 +0000)]
Correct automake version check to require 1.5, heads-up from Glynn Foster.

* autogen.sh: Correct automake version check to require 1.5, heads-up from
Glynn Foster.

19 years agoSort out greedy vs. non-greedy pattern matching. Make 1047 an alias for 47 vte_0_4_1
Nalin Dahyabhai [Tue, 18 Jun 2002 04:20:38 +0000 (04:20 +0000)]
Sort out greedy vs. non-greedy pattern matching. Make 1047 an alias for 47

* src/trie.c (vte_trie_match, vte_trie_match_x): Sort out greedy vs. non-greedy
pattern matching.
* src/vte.c (vte_sequence_handler_decset_internal): Make 1047 an alias for 47
(use alternate buffer), and handle cursor save/restore properly.

19 years agomove the python module to the non-devel package vte_0_4_0
Nalin Dahyabhai [Fri, 14 Jun 2002 20:52:04 +0000 (20:52 +0000)]
move the python module to the non-devel package

* vte.spec: move the python module to the non-devel package

19 years agoFix arg list mismatch.
Nalin Dahyabhai [Fri, 14 Jun 2002 19:50:33 +0000 (19:50 +0000)]
Fix arg list mismatch.

* python/vte.override: Fix arg list mismatch.

19 years agoOops, shell typo.
Nalin Dahyabhai [Fri, 14 Jun 2002 19:34:07 +0000 (19:34 +0000)]
Oops, shell typo.

* vte.spec: Oops, shell typo.

19 years agoAdd a parameter for passing in environment variables to add. Preprocess
Nalin Dahyabhai [Fri, 14 Jun 2002 19:26:41 +0000 (19:26 +0000)]
Add a parameter for passing in environment variables to add. Preprocess

* src/vte.c, src/vte.h (vte_terminal_fork_command): Add a parameter for passing
in environment variables to add.
 * src/termcap.c: Preprocess out unused comment() and generate() funcs.
 * src/Makefile.am: Bump library version number.
 * vte.spec: 0.4.0

19 years agosubst PYGTK_DATADIR vte_0_3_30
Nalin Dahyabhai [Fri, 14 Jun 2002 18:54:13 +0000 (18:54 +0000)]
subst PYGTK_DATADIR

* configure.in: subst PYGTK_DATADIR

19 years agoBuild python bindings with -fPIC.
Nalin Dahyabhai [Fri, 14 Jun 2002 18:51:10 +0000 (18:51 +0000)]
Build python bindings with -fPIC.

* python/Makefile.am: Build python bindings with -fPIC.

19 years agoHandle cases where pygtk isn't installed in the prefix we're configuring
Nalin Dahyabhai [Fri, 14 Jun 2002 16:47:43 +0000 (16:47 +0000)]
Handle cases where pygtk isn't installed in the prefix we're configuring

* configure.in, python/Makefile.am: Handle cases where pygtk isn't installed
in the prefix we're configuring for.
* src/Makefile.am: Link libvte to its library dependencies.

19 years ago0.3.30
Nalin Dahyabhai [Fri, 14 Jun 2002 16:26:53 +0000 (16:26 +0000)]
0.3.30

19 years agoStop watching for hierarchy-changed signals -- the accessible container
Nalin Dahyabhai [Thu, 13 Jun 2002 20:36:42 +0000 (20:36 +0000)]
Stop watching for hierarchy-changed signals -- the accessible container

* src/vteaccess.c: Stop watching for hierarchy-changed signals -- the accessible
container which is our parent handles it already (from msw).

19 years agoRe-read cursor position immediately on "cursor-moved" events, and emit the
Nalin Dahyabhai [Thu, 13 Jun 2002 19:25:37 +0000 (19:25 +0000)]
Re-read cursor position immediately on "cursor-moved" events, and emit the

* src/vteaccess.c: Re-read cursor position immediately on "cursor-moved" events,
and emit the "text-caret-moved" signal then as well.  Don't override the
signal handlers for signals we emit, bad things can happen (from msw).

19 years agoAlso tell the parent the child died when the child dies due to an uncaught
Nalin Dahyabhai [Wed, 12 Jun 2002 23:30:44 +0000 (23:30 +0000)]
Also tell the parent the child died when the child dies due to an uncaught

* src/reaper.c: Also tell the parent the child died when the child dies due
to an uncaught signal.

19 years agoRe-read the termcap when we change emulation, because the location of the
Nalin Dahyabhai [Wed, 12 Jun 2002 23:00:33 +0000 (23:00 +0000)]
Re-read the termcap when we change emulation, because the location of the

* src/vte.c: Re-read the termcap when we change emulation, because the location
of the file may have changed.
* python/vte.override (_wrap_vte_terminal_fork_command): Handle default value
for the command parameter.

19 years ago2002-06-12 msw implement
Matt Wilson [Wed, 12 Jun 2002 22:08:41 +0000 (22:08 +0000)]
2002-06-12 msw implement

2002-06-12 msw
* python/vte.override (_wrap_vte_terminal_fork_command): implement

19 years ago2002-06-12 msw added AM_CHECK_PYTHON_HEADERS from pygtk rewrote python
Matt Wilson [Wed, 12 Jun 2002 21:44:04 +0000 (21:44 +0000)]
2002-06-12 msw added AM_CHECK_PYTHON_HEADERS from pygtk rewrote python

2002-06-12 msw
* acinclude.m4: added AM_CHECK_PYTHON_HEADERS from pygtk
* configure.in: rewrote python checks to be more robust
* python/Makefile.am (CFLAGS): include @PYTHON_INCLUDES@

19 years ago2002-06-12 msw turn the logic around to be the right way
Matt Wilson [Wed, 12 Jun 2002 21:10:47 +0000 (21:10 +0000)]
2002-06-12 msw turn the logic around to be the right way

2002-06-12 msw
* src/vte.c (vte_terminal_get_accessible): turn the logic around
to be the right way

19 years agoMove python stuffs to a different subdirectory.
Nalin Dahyabhai [Wed, 12 Jun 2002 21:08:42 +0000 (21:08 +0000)]
Move python stuffs to a different subdirectory.

* Makefile.am, src/Makefile.am: Move python stuffs to a different subdirectory.

19 years agoImplement vte_terminal_get_encoding and vte_terminal_get_emulation, and
Nalin Dahyabhai [Wed, 12 Jun 2002 20:24:40 +0000 (20:24 +0000)]
Implement vte_terminal_get_encoding and vte_terminal_get_emulation, and

* src/vte.c, src/vte.h: Implement vte_terminal_get_encoding and
vte_terminal_get_emulation, and emit signals when these change.
* src/vteaccess.c: Emit a "text_caret_moved" signal when the cursor moves.

19 years agoFix declaration errors that broke stuff.
Nalin Dahyabhai [Wed, 12 Jun 2002 19:03:26 +0000 (19:03 +0000)]
Fix declaration errors that broke stuff.

* src/vte.defs, src/vte.override: Fix declaration errors that broke stuff.

19 years agoAdd rules for building python modules.
Nalin Dahyabhai [Wed, 12 Jun 2002 18:55:18 +0000 (18:55 +0000)]
Add rules for building python modules.

* configure.in, src/Makefile.am: Add rules for building python modules.

19 years agoFix hilite clearing when scrolling delta != 0. Actually add the signals
Nalin Dahyabhai [Wed, 12 Jun 2002 18:16:04 +0000 (18:16 +0000)]
Fix hilite clearing when scrolling delta != 0. Actually add the signals

* src/vte.c: Fix hilite clearing when scrolling delta != 0.
* src/debug.c, src/debug.h: Actually add the signals debugging flag.

19 years agoCache the result of vte_terminal_get_accessible() and unref it at
Nalin Dahyabhai [Wed, 12 Jun 2002 16:23:05 +0000 (16:23 +0000)]
Cache the result of vte_terminal_get_accessible() and unref it at

* src/vte.c: Cache the result of vte_terminal_get_accessible() and unref it at
finalize-time.  Add debug messages to log signals emitted by the widget.

19 years ago2002-06-12 msw accept end_offset of -1, which means "until the end". never
Matt Wilson [Wed, 12 Jun 2002 16:02:30 +0000 (16:02 +0000)]
2002-06-12 msw accept end_offset of -1, which means "until the end". never

2002-06-12 msw
* src/vteaccess.c (vte_terminal_accessible_get_text): accept
end_offset of -1, which means "until the end".
* src/vteaccess.c (vte_terminal_accessible_new): never set the
description to a NULL pointer

19 years agoRemoved. This is a generated file and should not be stored in cvs. Added.
Christian Rose [Tue, 11 Jun 2002 09:08:24 +0000 (09:08 +0000)]
Removed. This is a generated file and should not be stored in cvs. Added.

2002-06-11  Christian Rose  <menthos@menthos.com>

* vte.pot: Removed. This is a generated file and should not be
stored in cvs.
* .cvsignore: Added.
* sv.po: Added Swedish translation.

19 years agoAdd a changelog for translations. vte_0_3_29
Nalin Dahyabhai [Mon, 10 Jun 2002 23:06:29 +0000 (23:06 +0000)]
Add a changelog for translations.

* po/ChangeLog: Add a changelog for translations.

19 years agoFinish merging otaylor's Xft2 patch (oops). Compute padding correctly.
Nalin Dahyabhai [Mon, 10 Jun 2002 22:56:13 +0000 (22:56 +0000)]
Finish merging otaylor's Xft2 patch (oops). Compute padding correctly.

* src/vte.c: Finish merging otaylor's Xft2 patch (oops).  Compute padding
correctly.

19 years agoInclude gettext support. Mark warnings for possible translation. Add.
Nalin Dahyabhai [Mon, 10 Jun 2002 19:35:31 +0000 (19:35 +0000)]
Include gettext support. Mark warnings for possible translation. Add.

* Makefile.am, configure.in: Include gettext support.
* src/pty.c, src/reaper.c, src/trie.c, src/vte.c: Mark warnings for possible
translation.
* po/POTFILES.in, po/vte.pot: Add.

19 years ago0.3.28 vte_0_3_28
Nalin Dahyabhai [Mon, 10 Jun 2002 18:42:05 +0000 (18:42 +0000)]
0.3.28

19 years agoCenter characters in their cells, caching their extents. Finish merging
Nalin Dahyabhai [Mon, 10 Jun 2002 18:38:49 +0000 (18:38 +0000)]
Center characters in their cells, caching their extents. Finish merging

* src/vte.c: Center characters in their cells, caching their extents.  Finish
merging otaylor's Xft2 patch (oops).
* src/vte.c, src/vte.h: Expose vte_terminal_set_encoding().

19 years ago0.3.27 vte_0_3_27
Nalin Dahyabhai [Mon, 10 Jun 2002 14:31:35 +0000 (14:31 +0000)]
0.3.27

19 years agoMake reaper an EXTRA prog, not a NOINST prog.
Nalin Dahyabhai [Sun, 9 Jun 2002 05:54:39 +0000 (05:54 +0000)]
Make reaper an EXTRA prog, not a NOINST prog.

* src/Makefile.am: Make reaper an EXTRA prog, not a NOINST prog.

19 years agoAdjust font padding to account for characters with wcwidth() != 1.
Nalin Dahyabhai [Sun, 9 Jun 2002 04:42:57 +0000 (04:42 +0000)]
Adjust font padding to account for characters with wcwidth() != 1.

* src/vte.c: Adjust font padding to account for characters with wcwidth() != 1.

19 years agoCenter characters in their cells, caching their extents.
Nalin Dahyabhai [Fri, 7 Jun 2002 21:55:03 +0000 (21:55 +0000)]
Center characters in their cells, caching their extents.

* src/vte.c: Center characters in their cells, caching their extents.

19 years agoCheck for pangoxft with Xft1 or Xft2, hopefully getting things right for vte_0_3_26
Nalin Dahyabhai [Fri, 7 Jun 2002 16:58:50 +0000 (16:58 +0000)]
Check for pangoxft with Xft1 or Xft2, hopefully getting things right for

* configure.in: Check for pangoxft with Xft1 or Xft2, hopefully getting
things right for either case.  Patches by andersca and otaylor.
* src/reaper.c, src/reaper.h: Add a singleton object to watch for
SIGCHLD when child processes quit.
* src/vte.c, src/vte.h: Add get_cursor_position(). Remove get_snapshot()
and free_shapshot(). Emit a "child-exited" signal when a child started
with fork_command() exits.  Fix a logic bug that caused us to scroll
to the bottom even if the user just pressed and released a modifier
key.  Fix saving of the font in set_font() in most cases, where we
weren't saving the new font before.  Scroll-to-bottom on input method
commits, which are also the result of keystrokes, when
scroll-on-keystroke is enabled.
* src/vte.c: Use FcNameUnparse() instead of XftNameUnparse in Xft2.  Patch from
otaylor.
* src/vte.defs: Add.  Not very useful yet.
* src/vteaccess.c: Rework to use get_text() and get_cursor_position()
instead of get_snapshot(), so that selection and accessibility both
agree on what's visible (or "visible").

19 years ago1.3.25 vte_0_3_25
Nalin Dahyabhai [Wed, 5 Jun 2002 18:50:36 +0000 (18:50 +0000)]
1.3.25

* vte.spec: 1.3.25

19 years agoDon't attempt to handle the ac capability. Try to compute a more sensible
Nalin Dahyabhai [Wed, 5 Jun 2002 18:41:22 +0000 (18:41 +0000)]
Don't attempt to handle the ac capability. Try to compute a more sensible

* src/vte.c: Don't attempt to handle the ac capability.  Try to compute a more
sensible character width when using Xft.

19 years agoRemove the ac and ma capabilities, which aren't strings.
Nalin Dahyabhai [Tue, 4 Jun 2002 23:15:51 +0000 (23:15 +0000)]
Remove the ac and ma capabilities, which aren't strings.

19 years agoinclude <unistd.h> instead of <getopt.h>, patch from HideToshi Tajima.
Nalin Dahyabhai [Mon, 3 Jun 2002 19:42:00 +0000 (19:42 +0000)]
include <unistd.h> instead of <getopt.h>, patch from HideToshi Tajima.

* src/vteapp.c: include <unistd.h> instead of <getopt.h>, patch from
HideToshi Tajima.

19 years agoTweak handling of invalid multibyte characters, preventing some hangs. vte_0_3_24
Nalin Dahyabhai [Mon, 3 Jun 2002 16:08:24 +0000 (16:08 +0000)]
Tweak handling of invalid multibyte characters, preventing some hangs.

* src/vte.c: Tweak handling of invalid multibyte characters, preventing
some hangs.

19 years agoFinish switching iconv to g_iconv. I think this was a part of Hidetoshi vte_0_3_23
Nalin Dahyabhai [Fri, 31 May 2002 23:41:02 +0000 (23:41 +0000)]
Finish switching iconv to g_iconv. I think this was a part of Hidetoshi

* src/trie.c, src,vte.c: Finish switching iconv to g_iconv.  I think this was
a part of Hidetoshi Tajima's patch that I lost.  Free regexes when
we're done with them.
* src/vte.c: Implement font setting using PangoX to convert Pango font
descriptions to core font xlfds for use when drawing with Xlib.

19 years agoAlways free the segment when freeing arrays and strings. vte_0_3_22
Nalin Dahyabhai [Wed, 29 May 2002 00:27:24 +0000 (00:27 +0000)]
Always free the segment when freeing arrays and strings.

* src/vte.c, src/vteaccess.c: Always free the segment when freeing arrays and
strings.

19 years agoFix make distcheck.
Nalin Dahyabhai [Tue, 28 May 2002 23:11:38 +0000 (23:11 +0000)]
Fix make distcheck.

* Makefile.am, autogen.sh, configure.in: Fix make distcheck.

19 years agoFix cb() and ce() when the cursor is on a line without data (needed to vte_0_3_21
Nalin Dahyabhai [Tue, 28 May 2002 22:52:34 +0000 (22:52 +0000)]
Fix cb() and ce() when the cursor is on a line without data (needed to

* src/vte.c: Fix cb() and ce() when the cursor is on a line without data
(needed to create it) and when cells being cleared don't exist (needed to
create them).

19 years agoFix matching when scrolling delta isn't zero, really this time. Fix async
Nalin Dahyabhai [Tue, 28 May 2002 18:13:03 +0000 (18:13 +0000)]
Fix matching when scrolling delta isn't zero, really this time. Fix async

* src/vte.c: Fix matching when scrolling delta isn't zero, really this time.
Fix async background updating (report from Richard Neal Plana).

19 years agoFix matching when scrolling delta isn't zero.
Nalin Dahyabhai [Tue, 28 May 2002 15:30:49 +0000 (15:30 +0000)]
Fix matching when scrolling delta isn't zero.

* src/vte.c: Fix matching when scrolling delta isn't zero.

19 years agoCall libtoolize. (#82836) Fix stupid segfault in set_scrollback_lines. vte_0_3_20
Nalin Dahyabhai [Fri, 24 May 2002 18:46:28 +0000 (18:46 +0000)]
Call libtoolize. (#82836) Fix stupid segfault in set_scrollback_lines.

* autogen.sh: Call libtoolize. (#82836)
* src/vte.c: Fix stupid segfault in set_scrollback_lines.  (Patch from notting.)
Make another attempt to convert Pango font descriptions to xlfds.
* src/vte.c, src/vte.h: Expose set_emulation().
* src/vteapp.c: Add -c, -f, -t command-line flags for easier testing.

19 years agoInvoke libtoolize.
Nalin Dahyabhai [Fri, 24 May 2002 14:41:10 +0000 (14:41 +0000)]
Invoke libtoolize.

19 years agoFix hiliting of matched strings to better match the returned matched
Nalin Dahyabhai [Wed, 22 May 2002 04:19:22 +0000 (04:19 +0000)]
Fix hiliting of matched strings to better match the returned matched

* src/vte.c: Fix hiliting of matched strings to better match the returned
matched string in match_check().

19 years agoFilter key release events through input methods. (Patch from otaylor.)
Nalin Dahyabhai [Tue, 21 May 2002 21:50:23 +0000 (21:50 +0000)]
Filter key release events through input methods. (Patch from otaylor.)

* src/vte.c: Filter key release events through input methods.  (Patch from
otaylor.)  When building with gcc, use -std=c99.

19 years ago0.3.19 vte_0_3_19
Nalin Dahyabhai [Tue, 21 May 2002 16:54:40 +0000 (16:54 +0000)]
0.3.19

19 years agoPatch from Hidetoshi Tajima to fix building on Solaris systems, remove use
Nalin Dahyabhai [Tue, 21 May 2002 15:36:52 +0000 (15:36 +0000)]
Patch from Hidetoshi Tajima to fix building on Solaris systems, remove use

* autogen.sh, src/termcap.c, src/utf8echo.c, src/vte.c: Patch from Hidetoshi
Tajima to fix building on Solaris systems, remove use of syntax that
might be specific to gcc, and fix an overrun in vte_termcap_generate().
(#82433)

19 years ago2002-05-18 andersca Don't queue a background update if the background
Anders Carlsson [Mon, 20 May 2002 14:06:30 +0000 (14:06 +0000)]
2002-05-18 andersca Don't queue a background update if the background

2002-05-18 andersca
* src/vte.c: Don't queue a background update if the background isn't
transparent.

19 years agoTry multiple versions of autoconf, too. vte_0_3_18
Nalin Dahyabhai [Fri, 17 May 2002 02:25:25 +0000 (02:25 +0000)]
Try multiple versions of autoconf, too.

* autogen.sh: Try multiple versions of autoconf, too.

19 years agoTry multiple versions of automake, just in case. Fix displaying of
Nalin Dahyabhai [Fri, 17 May 2002 02:17:41 +0000 (02:17 +0000)]
Try multiple versions of automake, just in case. Fix displaying of

* autogen.sh: Try multiple versions of automake, just in case.
* src/vte.c: Fix displaying of underlined text.  Finish implementing matching.
* src/vteapp.c: Set "abcdefg" as a match string.

19 years agorework a couple of rules to make automake happy again. vte_0_3_17
Nalin Dahyabhai [Thu, 16 May 2002 23:04:32 +0000 (23:04 +0000)]
rework a couple of rules to make automake happy again.

* src/Makefile.am: rework a couple of rules to make automake happy again.

19 years agoSnip trailing whitespace off of copied lines, insert an end-of-line only
Nalin Dahyabhai [Thu, 16 May 2002 23:01:29 +0000 (23:01 +0000)]
Snip trailing whitespace off of copied lines, insert an end-of-line only

* src/vte.c: Snip trailing whitespace off of copied lines, insert an
end-of-line only when the copied line doesn't go to the right edge,
don't overrun right edge, even in insert mode.

19 years agoSend kI on insert key. Don't send drag events when the child has only vte_0_3_16
Nalin Dahyabhai [Wed, 15 May 2002 23:30:01 +0000 (23:30 +0000)]
Send kI on insert key. Don't send drag events when the child has only

* src/vte.c: Send kI on insert key.  Don't send drag events when the
child has only asked for click events.  Fix crashbugs in selection.
When getting scroll events, send mouse 4/5 events to the child instead
of performing a history scroll if the child wants mouse events.  Start
adding match support, merging how selection views the buffer with how
matching views the buffer, though matching doesn't work yet.

19 years agoDon't send motion-tracking events to the child unless we're dragging. Fix vte_0_3_15
Nalin Dahyabhai [Tue, 14 May 2002 22:02:40 +0000 (22:02 +0000)]
Don't send motion-tracking events to the child unless we're dragging. Fix

* src/vte.c: Don't send motion-tracking events to the child unless
we're dragging.  Fix ce so that it works even right after startup.
Make sure that repainting the entire window actually exposes the
visible parts of the window.  Fix tab clearing to also allow removal of
the current tabstop.  Implement save-mode and restore-mode.  Start on
reverse-video mode.  Don't scroll on modifier keypress events.  Rework
part of clipboard copy.
* termcaps/xterm: Add missing F11/F12/End keysyms to bundled xterm
termcap.

19 years agoDon't try to draw nul characters. vte_0_3_14
Nalin Dahyabhai [Tue, 14 May 2002 14:38:35 +0000 (14:38 +0000)]
Don't try to draw nul characters.

* src/vte.c: Don't try to draw nul characters.

19 years agoAdd "ALL" as a debug flag, aliased to everything. Print debug info after vte_0_3_13
Nalin Dahyabhai [Tue, 14 May 2002 00:42:35 +0000 (00:42 +0000)]
Add "ALL" as a debug flag, aliased to everything. Print debug info after

* src/debug.c: Add "ALL" as a debug flag, aliased to everything.
* src/pty.c: Print debug info after redirecting stdio.
* src/trie.c: When debugging, count only decision nodes.
* src/vte.c: Fix se, for real this time.  Add a mostly-ignored protected
attribute.  Handle am, bw, ul flags properly.  Make cd clear the current
line, too.  Make ce fill the current default attributes through the end
of the line.  Handle cS.  Fix cv to work when we have a scrollback
buffer.  Handle ll, mp.  Line wrap on nd.  Reset tab stops on hard reset
only.  Handle soft-reset and full-reset.  Handle uc.  Initialize
scrollback line count properly.  Tweak drawing of alternate 'a' to get
rid of artifacts.  Reset insert mode, cursor visibility, and scrolling
regions when resetting.

19 years agoMake delete mode a no-op, fix ic/IC (#81417).
Nalin Dahyabhai [Fri, 10 May 2002 23:45:21 +0000 (23:45 +0000)]
Make delete mode a no-op, fix ic/IC (#81417).

* src/vte.c: Make delete mode a no-op, fix ic/IC (#81417).

19 years agoImplement bt, ct, st. Reimplement ta. vte_0_3_12
Nalin Dahyabhai [Fri, 10 May 2002 00:29:42 +0000 (00:29 +0000)]
Implement bt, ct, st. Reimplement ta.

* src/vte.c: Implement bt, ct, st.  Reimplement ta.

19 years agoFixes to usage of iconv, from otaylor. Remap characters which are missing
Nalin Dahyabhai [Thu, 9 May 2002 23:54:35 +0000 (23:54 +0000)]
Fixes to usage of iconv, from otaylor. Remap characters which are missing

* src/vte.c: Fixes to usage of iconv, from otaylor.  Remap characters which are
missing in the current font to others in the current font, if possible,
from otaylor.  Change default emulation to "xterm", cleaning up
confusion over what standout really means.  Reorganize some internals.
Complain when an application sends us a key-press sequence, as if we
knew what to do with one of those.
* src/vte.c, src/vte.h: Implement vte_terminal_reset().
* src/debug.c, src/debug.h: Added to centralize some debugging settings.
* everywhere: Punt the question of whether or not to print debug spew to
run-time, suggested by otaylor.
* termcaps/xterm: Added.

19 years agoWarning fixes and cleanups. vte_0_3_11
Nalin Dahyabhai [Wed, 8 May 2002 22:20:57 +0000 (22:20 +0000)]
Warning fixes and cleanups.

* src/vte.c: Warning fixes and cleanups.

19 years agoImplement mouse button events and motion-event and any-event tracking.
Nalin Dahyabhai [Wed, 8 May 2002 22:12:10 +0000 (22:12 +0000)]
Implement mouse button events and motion-event and any-event tracking.

* src/vte.c: Implement mouse button events and motion-event and any-event
tracking.  Implement the rest of the special graphics characters.
Rename signals to be more consistent.  Add thin wrappers for emitting
signals, and use them everywhere.  Support pangox even when XFT isn't
available.  Try to provide bold text again.  Add signals for most of
the window manipulation control sequences.  Hide the mouse cursor when
we get keyboard events.  Use a different mouse cursor if the child is
mouse-aware.  Handle eA() by treating it as as().
* src/caps.c, src/caps.h: Export definitions of VTE_CAP_CSI and friends.
* src/ring.c: Remove a check in vte_ring_at() which is already made before
the function is called.

19 years agoHide the mouse cursor when we get keyboard events. Use a different mouse vte_0_3_10
Nalin Dahyabhai [Mon, 6 May 2002 23:14:27 +0000 (23:14 +0000)]
Hide the mouse cursor when we get keyboard events. Use a different mouse

* src/vte.c: Hide the mouse cursor when we get keyboard events.  Use a
different mouse cursor if the child is mouse-aware.  Handle eA() by
treating it as as().
* src/vte.c, src/vte.h: Allow enabling/disabling of mouse autohide.

19 years agoStart handling mouse button down / button up events. vte_0_3_9
Nalin Dahyabhai [Mon, 6 May 2002 21:53:07 +0000 (21:53 +0000)]
Start handling mouse button down / button up events.

* src/vte.c: Start handling mouse button down / button up events.

19 years agoFix an inadvertent mixing of preprocessor logic with code. vte_0_3_8
Nalin Dahyabhai [Mon, 6 May 2002 20:55:15 +0000 (20:55 +0000)]
Fix an inadvertent mixing of preprocessor logic with code.

* src/vte.c: Fix an inadvertent mixing of preprocessor logic with code.

19 years agoFinish implementing window-manipulation sequences. Rename signals to be
Nalin Dahyabhai [Mon, 6 May 2002 20:51:06 +0000 (20:51 +0000)]
Finish implementing window-manipulation sequences. Rename signals to be

* src/vte.c: Finish implementing window-manipulation sequences.  Rename signals
to be more consistent.  Add thin wrappers for emitting signals, and use
them everywhere.  Support pangox even when XFT isn't available.  Try to
provide bold text again.  Add signals for most of the window
manipulation control sequences.  Implement device-status-report and
dec-device-status-report.  Clamp location values in sequence_handler_cm
to the dimensions of the terminal window so that resize(1) will work
right.
* src/caps.c, src/caps.h: Export definitions of VTE_CAP_CSI and friends.

19 years agoExport a vte_termcap_strip() function for preprocessing escape sequences vte_0_3_7
Nalin Dahyabhai [Fri, 3 May 2002 21:21:25 +0000 (21:21 +0000)]
Export a vte_termcap_strip() function for preprocessing escape sequences

* src/termcap.c: Export a vte_termcap_strip() function for preprocessing
escape sequences and whatnot from capability values.
* src/typescrypt: Removed.
* src/vte.c: Pass the hard-coded xterm-specific capabilities through
vte_termcap_strip(), which fixes a few weird bugs.  Discard invalid
might-be-control-sequence sequences, like other emulators do.  Don't
consider modifier keys, by themselves, to be enough to scroll-on-key.
When snapshotting, actually snapshot all of a row instead of just the
last character.  Don't run past the end of snapshot contents when
reading them.
* src/vteaccess.c: Clamp offsets so that they always sort right.

19 years ago0.3.6 vte_0_3_6
Nalin Dahyabhai [Thu, 2 May 2002 23:31:55 +0000 (23:31 +0000)]
0.3.6

19 years agoHook up ts/te, ks/ke sequence handlers. Fix initialization crash bugs.
Nalin Dahyabhai [Thu, 2 May 2002 23:31:19 +0000 (23:31 +0000)]
Hook up ts/te, ks/ke sequence handlers. Fix initialization crash bugs.

* src/vte.c: Hook up ts/te, ks/ke sequence handlers.
* src/vteaccess.c: Fix initialization crash bugs.

19 years agofix parsing of octal codes which start with "1" instead of "0" munge as vte_0_3_5
Nalin Dahyabhai [Thu, 2 May 2002 20:48:18 +0000 (20:48 +0000)]
fix parsing of octal codes which start with "1" instead of "0" munge as

* src/termcap.c: fix parsing of octal codes which start with "1" instead of "0"
* src/vte.c: munge as many invalid multibyte characters as necessary to get
past decoding errors.

19 years agoFix a crashbug due to mismatch between parent field in the object's vte_0_3_4
Nalin Dahyabhai [Thu, 2 May 2002 19:55:29 +0000 (19:55 +0000)]
Fix a crashbug due to mismatch between parent field in the object's

* src/vteaccess.h: Fix a crashbug due to mismatch between parent field
in the object's structure and its inherited object's type.  More to go.
* src/trie.c: Fix a logic bug which caused intermittent escape sequence
recognition errors in the trie partial-match code.
* src/vte.c: Don't use $SHELL, which might have been set by a libtool wrapper,
as a default shell when we get NULL as a command.  Use 80x24 as the
default window size -- I'm pretty sure the termcap parsing is correct
now, so no need to use 60x18 to detect when it's broken.

19 years agoRework trie matching to return the address of the character which ended vte_0_3_3
Nalin Dahyabhai [Thu, 2 May 2002 08:33:23 +0000 (08:33 +0000)]
Rework trie matching to return the address of the character which ended

* src/trie.c: Rework trie matching to return the address of the
character which ended the match attempt, which should cut down on
useless initial-substring checks.  Remove several gdk_window_scroll()
calls which apparently aren't buffered.  Convert invalid multibyte
characters to '?' instead of just dropping them.  Provide a means of
setting the backspace/delete bindings.  Add a poor xlfd_from_pango
mapping function which would need serious work to be useful.  Get rid
of warnings when we're transparent and the root widnow pixmap isn't as
big as the root window because it's tiled.

19 years agoTry @pkgdatadir@/termcap/$TERM when reading termcap files. This fixes the vte_0_3_2
Nalin Dahyabhai [Wed, 1 May 2002 15:40:13 +0000 (15:40 +0000)]
Try @pkgdatadir@/termcap/$TERM when reading termcap files. This fixes the

* src/vte.c: Try @pkgdatadir@/termcap/$TERM when reading termcap files.  This fixes the app on systems with no /etc/termcap, and also speeds up loads and reduces memory consumption for xterm-color at the expense of making on-the-fly emulation changes impossible.  Don't xor reverse with itself when drawing characters (this broke when snapshotting was added).
* termcaps/Makefile.am, termcaps/xterm-color: include a default termcap         for xterm-color.
* src/termcap.c src/termcap.h: make _find_boolean return a gboolean instead of an int.

19 years agoDisconnect from toplevel configure events at finalize-time. vte_0_3_1
Nalin Dahyabhai [Tue, 30 Apr 2002 23:15:58 +0000 (23:15 +0000)]
Disconnect from toplevel configure events at finalize-time.

* src/vte.c: Disconnect from toplevel configure events at finalize-time.

19 years agoTrack and free idle task tags properly. Change F11 and F12 capabilities vte_0_3
Nalin Dahyabhai [Tue, 30 Apr 2002 22:06:35 +0000 (22:06 +0000)]
Track and free idle task tags properly. Change F11 and F12 capabilities

* src/vte.c: Track and free idle task tags properly.  Change F11 and F12
capabilities from 'k;' and 'F1' to 'F1' and 'F2'.  Send a NUL on
control space. (#80350)  Allow setting and checking of word characters,
and change select-by-word behavior to use the word character list.  Emit
"contents_changed" signals whenever the visible contents change, and
"cursor_moved" when the cursor moves.  Add snapshotting method.  Scroll
when auto-margin handling moves the cursor to the next line.  Assume
that the locale charset is actually ISO-8859-1 when we're in a UTF-8
locale, so we don't toggle from UTF-8 to UTF-8.  Treat GDK_KP_Page_Up
as a GDK_Page_Up, ditto for GDK_KP_Page_Down and GDK_KP_Tab and
GDK_KP_Space.  Add vte_terminal_get_font().  Don't bother messing with
ring buffers if we're resizing them to their current sizes.
* src/pty.c, src/vte.c: Return a pid from vte_terminal_fork_command().
* src/vteaccess.c, src/vteaccess.h: Add VteTerminalAccessible object type.  It
might even work, mostly.

19 years agoTrack and free idle task tags properly.
Nalin Dahyabhai [Mon, 29 Apr 2002 18:55:55 +0000 (18:55 +0000)]
Track and free idle task tags properly.

* src/vte.c: Track and free idle task tags properly.

19 years agoHandle me() by resetting all attributes (including colors, which we
Nalin Dahyabhai [Mon, 29 Apr 2002 18:23:06 +0000 (18:23 +0000)]
Handle me() by resetting all attributes (including colors, which we

* src/vte.c: Handle me() by resetting all attributes (including
colors, which we weren't resetting before).

19 years agoHandle kb by treating it as a backspace. Make pangox rendering the vte_0_2_2
Nalin Dahyabhai [Mon, 29 Apr 2002 15:02:15 +0000 (15:02 +0000)]
Handle kb by treating it as a backspace. Make pangox rendering the

* src/vte.c: Handle kb by treating it as a backspace.  Make pangox
  rendering the default.  Handle control-key sequences better, unless
  the input method is hiding the modifiers from us.  Set the default
  TERM variable to "xterm-color".
* src/vte.c src/vte.h: Get rid of vte_terminal_set_core_font().

19 years ago0.2.1 vte_0_2 vte_0_2_1
Nalin Dahyabhai [Fri, 26 Apr 2002 23:15:43 +0000 (23:15 +0000)]
0.2.1

19 years agoPunt all changes to background images and transparency to an idle task.
Nalin Dahyabhai [Fri, 26 Apr 2002 23:15:17 +0000 (23:15 +0000)]
Punt all changes to background images and transparency to an idle task.

* src/vte.c: Punt all changes to background images and transparency
to an idle task.  Only insert newlines into the copy buffer when the
last column in a given line doesn't have a character in it.

19 years agouse execlp/execvp
Bill Nottingham [Fri, 26 Apr 2002 21:35:45 +0000 (21:35 +0000)]
use execlp/execvp

19 years ago*** empty log message ***
Nalin Dahyabhai [Fri, 26 Apr 2002 19:08:10 +0000 (19:08 +0000)]
*** empty log message ***

19 years agoset a default scrollback line limit of 100. preserve the visible part of
Nalin Dahyabhai [Fri, 26 Apr 2002 19:07:54 +0000 (19:07 +0000)]
set a default scrollback line limit of 100. preserve the visible part of

* src/vteapp.c: set a default scrollback line limit of 100.
* src/vte.c: preserve the visible part of the screen across scrollback size changes.

19 years agoinclude config.h. fix adjustment calculations, which i didn't get quite
Nalin Dahyabhai [Fri, 26 Apr 2002 16:22:13 +0000 (16:22 +0000)]
include config.h. fix adjustment calculations, which i didn't get quite

* src/ring.c: include config.h.
* src/vte.c: fix adjustment calculations, which i didn't get quite right.

19 years agoadd a ring buffer for storing scrollback data. use a ring buffer instead
Nalin Dahyabhai [Fri, 26 Apr 2002 16:09:29 +0000 (16:09 +0000)]
add a ring buffer for storing scrollback data. use a ring buffer instead

* src/Makefile.am, src/ring.c, ring.h: add a ring buffer for storing scrollback data.
* src/vte.c: use a ring buffer instead of a GArray to hold scrollback rows.

19 years agoRun autogen before tagging so that the tag is always correct.
Nalin Dahyabhai [Fri, 26 Apr 2002 04:49:30 +0000 (04:49 +0000)]
Run autogen before tagging so that the tag is always correct.
Update docs.
Add pangox to the list of GTK+ 2.0 modules we link with.
Add vte_terminal_set_scrollback_lines(), add some code to use pangox for rendering before trying core rendering, which should make font selection actually work.

19 years agoAdd the changelog. vte_0_1
Nalin Dahyabhai [Thu, 25 Apr 2002 18:15:01 +0000 (18:15 +0000)]
Add the changelog.

19 years agoAdd scroll wheel support.
Anders Carlsson [Thu, 25 Apr 2002 17:22:25 +0000 (17:22 +0000)]
Add scroll wheel support.