vte.git
18 years agoFix HAVE_UT_UT_TV for cases where the static initializer might not work
Nalin Dahyabhai [Tue, 24 Sep 2002 19:31:04 +0000 (19:31 +0000)]
Fix HAVE_UT_UT_TV for cases where the static initializer might not work

* gnome-pty-helper/acinclude.m4: Fix HAVE_UT_UT_TV for cases where the static
initializer might not work right (#93774, patch from Kalpesh Shah).

18 years agoDoc fixups (mention gnome-terminal instead of profterm, note the proper
Nalin Dahyabhai [Tue, 24 Sep 2002 19:24:28 +0000 (19:24 +0000)]
Doc fixups (mention gnome-terminal instead of profterm, note the proper

* README, gnome-pty-helper/README:  Doc fixups (mention gnome-terminal instead
of profterm, note the proper permissions for gnome-pty-helper, #84505).

18 years agoFix a ring-buffer manipulation bug (Red Hat #74290) which might cause a
Nalin Dahyabhai [Fri, 20 Sep 2002 16:58:57 +0000 (16:58 +0000)]
Fix a ring-buffer manipulation bug (Red Hat #74290) which might cause a

* src/ring.c: Fix a ring-buffer manipulation bug (Red Hat #74290) which might
cause a new item to be inserted in the wrong location.

18 years agoMunge input data the way the terminal does so that conversion failures
Nalin Dahyabhai [Thu, 19 Sep 2002 20:14:06 +0000 (20:14 +0000)]
Munge input data the way the terminal does so that conversion failures

* src/interpret.c: Munge input data the way the terminal does so that conversion
failures don't wedge us.

18 years agobacking out change made by accident.
Brian Cameron [Thu, 19 Sep 2002 14:20:30 +0000 (14:20 +0000)]
backing out change made by accident.

18 years agoBacked out scrolldelay patches from 09-17 and 09-18 at Nalin's request.
Brian Cameron [Thu, 19 Sep 2002 14:18:55 +0000 (14:18 +0000)]
Backed out scrolldelay patches from 09-17 and 09-18 at Nalin's request.

2002-09-19 Brian Cameron <Brian.Cameron@sun.com>
    * src/vte.c: Backed out scrolldelay patches from 09-17 and 09-18 at
    Nalin's request.  Left in the patch which allows programs which
    update the screen non-linearly like lynx to work properly.

18 years agobacking out patch i accidently put in
Brian Cameron [Thu, 19 Sep 2002 14:00:52 +0000 (14:00 +0000)]
backing out patch i accidently put in

18 years agoBacked out scrolldelay patches from 09-17 and 09-18 at Nalin's request.
Brian Cameron [Thu, 19 Sep 2002 13:57:14 +0000 (13:57 +0000)]
Backed out scrolldelay patches from 09-17 and 09-18 at Nalin's request.

2002-09-19 Brian Cameron <Brian.Cameron@sun.com>
    * src/vte.c: Backed out scrolldelay patches from 09-17 and 09-18 at
    Nalin's request.  Left in the patch which allows programs which
    update the screen non-linearly like lynx to work properly.

18 years agoCorrected a problem with yesterday's patch. I am now properly calling
Brian Cameron [Wed, 18 Sep 2002 14:20:34 +0000 (14:20 +0000)]
Corrected a problem with yesterday's patch. I am now properly calling

2002-09-18 Brian Cameron <Brian.Cameron@sun.com>
    * src/vte.c: Corrected a problem with yesterday's patch.  I am now
    properly calling g_source_remove on the scroll_delay timeout
    function.  This prevents VTE from core dumping if you start up
    more than one VTE gnome-terminal and exit from one of them.  Also
    made the vte_scroll_timeout function a little cleaner by using
    the VTE_IS_TERMINAL macro.

18 years agoFixed bug with my 09/11 speedup fix which caused programs that update the
Brian Cameron [Tue, 17 Sep 2002 14:40:06 +0000 (14:40 +0000)]
Fixed bug with my 09/11 speedup fix which caused programs that update the

2002-09-17 Brian Cameron <Brian.Cameron@sun.com>
    * src/vte.c: Fixed bug with my 09/11 speedup fix which caused programs
    that update the screen non-linearly like lynx to not update properly.
    Also included a speed improvement which delays the scroll-down for
    70ms.  Too fast to be noticeable to the user, but it speeds up VTE
    greatly.

18 years agoFix typo which broke builds on systems where MSG_NOSIGNAL is defined. Bad
Nalin Dahyabhai [Fri, 13 Sep 2002 18:37:51 +0000 (18:37 +0000)]
Fix typo which broke builds on systems where MSG_NOSIGNAL is defined. Bad

* src/pty.c: Fix typo which broke builds on systems where MSG_NOSIGNAL is
defined.  Bad boc!  Bad!

18 years agoAdded -lsocket to LIBS if socket is in libsocket, so VTE will compile on
Brian Cameron [Fri, 13 Sep 2002 17:35:49 +0000 (17:35 +0000)]
Added -lsocket to LIBS if socket is in libsocket, so VTE will compile on

2002-09-12 Brian Cameron <Brian.Cameron@sun.com>
    * configure.in : Added -lsocket to LIBS if socket is in libsocket,
    so VTE will compile on Solaris.

18 years agoonly use MSG_NOSIGNAL if it's defined
jacob berkman [Thu, 12 Sep 2002 18:34:09 +0000 (18:34 +0000)]
only use MSG_NOSIGNAL if it's defined

2002-09-12  jacob berkman  <jacob@ximian.com>

* src/pty.c: only use MSG_NOSIGNAL if it's defined

* gnome-pty-helper/gnome-pty-helper.c (struct pty_info): remove
master_fd and slave_fd fields
(shutdown_pty): don't close master/slave fd's here...
(pty_add): don't take master/slave fd args
(open_ptys): ...close master/slave fd's right after passing them

this fixes a hang after closing a window on os x, not sure why...

* gnome-pty-helper/Makefile.am (install-exec-hook): remove
trailing / after $DESTDIR

18 years agoAC_CHECK_FUNC() doesn't do AC_DEFINE(HAVE_FOO), so do that for socket()
jacob berkman [Thu, 12 Sep 2002 17:32:21 +0000 (17:32 +0000)]
AC_CHECK_FUNC() doesn't do AC_DEFINE(HAVE_FOO), so do that for socket()

2002-09-12  jacob berkman  <jacob@ximian.com>

* configure.in: AC_CHECK_FUNC() doesn't do AC_DEFINE(HAVE_FOO), so
do that for socket() and socketpair() if they are found

18 years agoRemove the invalidate_cells parameter, because the function is a big no-op
Nalin Dahyabhai [Thu, 12 Sep 2002 14:43:08 +0000 (14:43 +0000)]
Remove the invalidate_cells parameter, because the function is a big no-op

* src/vte.c(vte_invalidate_cursor_once): Remove the invalidate_cells parameter,
because the function is a big no-op if FALSE, in which case we should
just not call it instead. (vte_terminal_process_incoming): refresh the
right number of rows after processing a block of data.

18 years agosrc/vte.c Fixed minor error with my previous patch. This just makes a
Brian Cameron [Thu, 12 Sep 2002 11:46:03 +0000 (11:46 +0000)]
src/vte.c Fixed minor error with my previous patch. This just makes a

2002-09-12 Brian Cameron <Brian.Cameron@sun.com>
    * src/vte.c Fixed minor error with my previous patch.  This just makes
    a warning go away.

18 years agoadded spanish translation file.
Pablo Gonzalo del Campo [Thu, 12 Sep 2002 01:15:31 +0000 (01:15 +0000)]
added spanish translation file.

2002-09-11  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

* es.po: added spanish translation file.

18 years agoReorder definitions to avoid implicit declaration warnings. Check for
Nalin Dahyabhai [Wed, 11 Sep 2002 22:05:26 +0000 (22:05 +0000)]
Reorder definitions to avoid implicit declaration warnings. Check for

* src/pty.c: Reorder definitions to avoid implicit declaration warnings.
* configure.in: Check for socketpair().  Check for socket() in libc before
poking around in libsocket.
* gnome-pty-helper/configure.in: Check for openpty() in libutil as well, and do
so before we check for other functions.

18 years agoTest for sendmsg() with AC_CHECK_FUNCS instead of AC_TRY_COMPILE. Removed.
Nalin Dahyabhai [Wed, 11 Sep 2002 21:03:03 +0000 (21:03 +0000)]
Test for sendmsg() with AC_CHECK_FUNCS instead of AC_TRY_COMPILE. Removed.

* configure.in, gnome-pty-helper/configure.in: Test for sendmsg() with
AC_CHECK_FUNCS instead of AC_TRY_COMPILE.
* acconfig.h: Removed.
* src/pty.c: Formatting.

18 years agoAdded check for socket library and SendMsg check. Added this file with a
Brian Cameron [Wed, 11 Sep 2002 20:36:00 +0000 (20:36 +0000)]
Added check for socket library and SendMsg check. Added this file with a

2002-09-11 Brian Cameron <Brian.Cameron@sun.com>
    * configure.in: Added check for socket library and SendMsg
    check.
    * acconfig.h: Added this file with a HAVE_SENDMSG definition.
    * gnome-pty-helper/configure.in: Added checks needed for the
    source code, including the SendMsg check.
    * src/pty.c: Corrected _vte_pty_pipe_open so it works on
    Solaris.
    *src/vte.c: Made some speed improvements so vte_invalidate_cells
    is not called for every character in the while loop in
    vte_process_incoming, but only once when the while loop is done.

18 years agoUpdate from libzvt CVS. Fix some automake breakage.
Nalin Dahyabhai [Wed, 11 Sep 2002 20:00:51 +0000 (20:00 +0000)]
Update from libzvt CVS. Fix some automake breakage.

* gnome-pty-helper: Update from libzvt CVS.
* python/Makefile.am: Fix some automake breakage.

18 years agoFix my broken merge of Jacob's patch to make inability to build python
Nalin Dahyabhai [Wed, 11 Sep 2002 19:12:18 +0000 (19:12 +0000)]
Fix my broken merge of Jacob's patch to make inability to build python

* python/Makefile.am: Fix my broken merge of Jacob's patch to make inability to
build python modules non-fatal.

18 years agobuild fixes vte_0_9_0
Nalin Dahyabhai [Wed, 11 Sep 2002 06:34:27 +0000 (06:34 +0000)]
build fixes

18 years agoSkip lookups for padding information if we're pretty sure we're using a
Nalin Dahyabhai [Wed, 11 Sep 2002 06:10:47 +0000 (06:10 +0000)]
Skip lookups for padding information if we're pretty sure we're using a

* src/vte.c: Skip lookups for padding information if we're pretty sure we're
using a monospaced font.
* src/vte.c: Fix from Brian Cameron for uninitialized GError in
vte_wc_from_unichar().
* src/interpret.c, src/iso2022.c, src/pty.c, src/ring.h, src/table.c,
src/table.h, src/trie.c, src/vte.c, src/vteaccess.c: Signed/unsigned
int/size_t/gsize and pointer typecast warning fixes from Brian Cameron.
* src/vte.c: Avoid invalidating the cursor in the cursor blink timeout unless
we have focus.
* src/pty.c, src/pty.h: Add vte_pty_close() and vte_pty_open_with_logging(),
breaking the ABI but not the existing API.
* src/vte.c, src/vte.h: Add vte_terminal_fork_logged_command(), breaking the
ABI but not the existing API.
* gnome-pty-helper/*: Swallow the pty helper bits of gnome-libs, but install
into $pkglibdir instead of $sbindir so that existing packages don't
suddenly start breaking.
* src/termcap.c(_vte_termcap_find_string_length): Fix signature to match the
declaration in termcap.h.  From patch by Jacob Berkman.
* configure.in: Add $X_PRE_LIBS to the front of $X_LIBS, -lX11 and $X_EXTRA_LIBS
to the end of $X_LIBS.  Remove some cruftiness and set CPPFLAGS when
checking for Xft.  Check for the existence of wchar.h, because it might
not exist.  Use an automake conditional to make compilation of the
Python bindings non-critical.  From patch by Jacob Berkman.
* src/pty.c: Silence compiler warning when exec() fails.  From patch by Jacob
Berkman.
* src/interpret.c, src/vte.c: Stop including langinfo.h since we don't call
nl_langinfo() any more.  Adapted from patch by Jacob Berkman.
* src/caps.c: Fill in a couple of missing initializers.
* src/vte.c, src/vte.h: Add accessor functions for use in language bindings,
breaking the ABI but not the API.
* python/vte.defs: Add defs for the new accessor functions.
* python/vte-demo.py: Add a scrollbar to the sample window, handle more of the
options the C version handles.  Stop expecting additional arguments with
a signal that doesn't include any.
* python/Makefile.am: We only have one target, so don't bother with
target-specific primaries if we can avoid it (#92252).
* vte.pc.in: Note build dependencies on ATK, Pango, and PangoX.

18 years agoremove es until the file really gets added. also it wasn't added
Jacob Berkman [Wed, 11 Sep 2002 01:10:32 +0000 (01:10 +0000)]
remove es until the file really gets added. also it wasn't added

2002-09-10  Jacob Berkman  <jacob@ximian.com>

* configure.in (ALL_LINGUAS: remove es until the file really gets
added.  also it wasn't added alphabetically

18 years agoAdded "es" to ALL_LINGUAS
Pablo Gonzalo del Campo [Wed, 11 Sep 2002 00:48:05 +0000 (00:48 +0000)]
Added "es" to ALL_LINGUAS

2002-09-10 Pablo Gonzalo del Campo <pablodc@bigfoot.com>

        * configure.in: Added "es" to ALL_LINGUAS

18 years agofix for building when builddir != srcdir vte_0_8_19
Nalin Dahyabhai [Thu, 5 Sep 2002 20:44:58 +0000 (20:44 +0000)]
fix for building when builddir != srcdir

* doc/reference/Makefile.am, doc/reference/vte.types: fix for building when
builddir != srcdir

18 years ago- 0.8.19
Nalin Dahyabhai [Thu, 5 Sep 2002 20:34:46 +0000 (20:34 +0000)]
- 0.8.19

18 years ago2002-09-05 nalin prefix library-internal interfaces with underscores so
Nalin Dahyabhai [Thu, 5 Sep 2002 19:37:53 +0000 (19:37 +0000)]
2002-09-05 nalin prefix library-internal interfaces with underscores so

2002-09-05 nalin
* src/caps.c, src/caps.h, src/debug.c, src/debug.h, src/interpret.c,
src/iso2022.c, src/iso2022.h, src/pty.c, src/reaper.c, src/ring.c,
src/ring.h, src/table.c, src/table.h, src/termcap.c, src/termcap.h,
src/trie.c, src/trie.h, src/utf8echo.c, src/vte.c, src/vteaccess.c,
src/vteapp.c: prefix library-internal interfaces with underscores so
that gtk-doc doesn't guess they're public.
* src/vte.c: return FALSE from focus-in/focus-out/expose handlers.

18 years agoadd giant warnings about how these headers define library-internal vte_0_8_18
Nalin Dahyabhai [Thu, 5 Sep 2002 05:59:15 +0000 (05:59 +0000)]
add giant warnings about how these headers define library-internal

* src/caps.h, src/debug.h, src/iso2022.h, src/marshal.h, src/ring.h,
src/table.h, src/termcap.h, src/trie.h: add giant warnings about how
these headers define library-internal interfaces.
* vte.spec: 0.8.18

18 years ago- remove items from pkgincludedir that are subject to change
Nalin Dahyabhai [Thu, 5 Sep 2002 05:48:25 +0000 (05:48 +0000)]
- remove items from pkgincludedir that are subject to change

18 years ago- remove items from ToC that are subject to change
Nalin Dahyabhai [Thu, 5 Sep 2002 05:48:06 +0000 (05:48 +0000)]
- remove items from ToC that are subject to change

18 years ago2002-09-05 nalin first pass at writing documentation fix
Nalin Dahyabhai [Thu, 5 Sep 2002 05:42:13 +0000 (05:42 +0000)]
2002-09-05 nalin first pass at writing documentation fix

2002-09-05 nalin
* docs/reference: first pass at writing documentation
* src/termcap.c: fix how'd-that-ever-work in vte_termcap_strip(), patch
from Brian Cameron.  Take \\e as an alias for \\E, which is already
an alias for Escape.
* src/vte.c(vte_terminal_get_cursor): Return an absolute cursor position
instead of a relative position.

18 years agoonly compile the FC_HINT_STYLE part if FC_HINT_STYLE is defined
jacob berkman [Wed, 4 Sep 2002 18:36:46 +0000 (18:36 +0000)]
only compile the FC_HINT_STYLE part if FC_HINT_STYLE is defined

2002-09-04  jacob berkman  <jacob@ximian.com>

* src/vte.c (vte_default_substitute): only compile the FC_HINT_STYLE
part if FC_HINT_STYLE is defined

18 years agoAdd missing fontconfig.h include, spotted by Jacob Berkman.
Nalin Dahyabhai [Wed, 4 Sep 2002 16:43:11 +0000 (16:43 +0000)]
Add missing fontconfig.h include, spotted by Jacob Berkman.

* src/vte.c: Add missing fontconfig.h include, spotted by Jacob Berkman.

18 years agoAdded stropts.h check for Solaris. Do not send data to the slave if the
Brian Cameron [Wed, 4 Sep 2002 08:33:08 +0000 (08:33 +0000)]
Added stropts.h check for Solaris. Do not send data to the slave if the

2002-09-04 Brian Cameron <Brian.Cameron@sun.com>
    * configure.in: Added stropts.h check for Solaris.
    * src/vte.c: Do not send data to the slave if the length is zero.
    Some shells on Solaris do not handle this well.
    * src/pty.c: Added ptem/ldterm/ttcompat ioctls so VTE will work
    on Solaris.

18 years agoAvoid double color deallocations with Xft. vte_0_8_17
Nalin Dahyabhai [Tue, 3 Sep 2002 22:35:37 +0000 (22:35 +0000)]
Avoid double color deallocations with Xft.

* src/vte.c: Avoid double color deallocations with Xft.

18 years agoHandle color allocation failures with Xft better. Clean up typedef vte_0_8_16
Nalin Dahyabhai [Tue, 3 Sep 2002 22:05:13 +0000 (22:05 +0000)]
Handle color allocation failures with Xft better. Clean up typedef

* src/vte.c: Handle color allocation failures with Xft better.
* src/vte.h: Clean up typedef declarations.

18 years agoModify the child-exited signal to pass signed ints and an unmodified exit
Nalin Dahyabhai [Tue, 3 Sep 2002 19:10:31 +0000 (19:10 +0000)]
Modify the child-exited signal to pass signed ints and an unmodified exit

* src/marshal.list, src/reaper.c, src/reaper.h, src/vte.c: Modify the
child-exited signal to pass signed ints and an unmodified exit status,
allowing the callback to check for normal/abnormal exit status.

18 years ago- cleanups - don't invalidate subwindows vte_0_8_14 vte_0_8_15
Nalin Dahyabhai [Mon, 2 Sep 2002 23:25:28 +0000 (23:25 +0000)]
- cleanups - don't invalidate subwindows

- cleanups
- don't invalidate subwindows

18 years agoDon't send zero-length strings to the child -- it may not be able to cope
Nalin Dahyabhai [Mon, 2 Sep 2002 20:19:47 +0000 (20:19 +0000)]
Don't send zero-length strings to the child -- it may not be able to cope

* src/vte.c: Don't send zero-length strings to the child -- it may not be able
to cope properly.  Spotted by Brian Cameron.
* src/vte.c: Handle cursor exposes correctly for multicolumn characters, no
matter which cell the cursor is in.  Fix autoscrolling boundary checks
for when allocation.y != 0.

18 years agoWrap correctly to avoid screwing up multicolumn characters.
Nalin Dahyabhai [Fri, 30 Aug 2002 22:35:58 +0000 (22:35 +0000)]
Wrap correctly to avoid screwing up multicolumn characters.

* src/vte.c(vte_terminal_insert_char): Wrap correctly to avoid screwing up
multicolumn characters.

18 years agoGet smarter about when it's necessary to start messing with our
Nalin Dahyabhai [Fri, 30 Aug 2002 21:57:43 +0000 (21:57 +0000)]
Get smarter about when it's necessary to start messing with our

* src/vte.c: Get smarter about when it's necessary to start messing with our
adjustments (Red Hat #73091).  Change the way we clear the screen so
that all of the contents of the current screen become scrollback data.

18 years agoRegister VteTerminalEraseBinding with GObject as an enum. Update. Ignore
Nalin Dahyabhai [Fri, 30 Aug 2002 21:04:16 +0000 (21:04 +0000)]
Register VteTerminalEraseBinding with GObject as an enum. Update. Ignore

* src/vte.c: Register VteTerminalEraseBinding with GObject as an enum.
* python/vte.defs: Update.
* python/vte.overrides: Ignore vte_terminal_get_text_range().

18 years agoRestore the focus-in/focus-out handlers -- the defaults don't quite DTRT vte_0_8_13
Nalin Dahyabhai [Fri, 30 Aug 2002 18:48:38 +0000 (18:48 +0000)]
Restore the focus-in/focus-out handlers -- the defaults don't quite DTRT

* src/vte.c: Restore the focus-in/focus-out handlers -- the defaults don't
quite DTRT for us because they miss our im_context (#72946).  When
setting the cursor location for the input method, make the Y coordinate
relative to the window, not the scrollback buffer.  When resizing the
scrollback buffer, clamp the cursor to the set of possible locations,
not the visible locations.

18 years agoInitialize the pty master fd to -1 to avoid spurious window resizes on fd
Nalin Dahyabhai [Fri, 30 Aug 2002 15:49:45 +0000 (15:49 +0000)]
Initialize the pty master fd to -1 to avoid spurious window resizes on fd

* src/vte.c: Initialize the pty master fd to -1 to avoid spurious window resizes
on fd 0.
* src/debug.c, src/debug.h: Add a "pty" debug message class.

18 years agoFix a how'd-that-ever-work bug (not returning anything from vte_0_8_12
Nalin Dahyabhai [Fri, 30 Aug 2002 14:49:37 +0000 (14:49 +0000)]
Fix a how'd-that-ever-work bug (not returning anything from

* src/iso2022.c: Fix a how'd-that-ever-work bug (not returning anything from
vte_iso2022_new()), spotted by Brian Cameron.
* configure.in: Use -Wall when building with gcc in maintainer mode.
* src/interpret.c, src/ring.h, src/table.c, src/trie.c, src/vte.c,
src/vteaccess.c: Warning cleanups.

18 years agoClean up bookkeeping for mouse autoscrolling and adjustment change vte_0_8_11
Nalin Dahyabhai [Thu, 29 Aug 2002 20:19:51 +0000 (20:19 +0000)]
Clean up bookkeeping for mouse autoscrolling and adjustment change

* src/vte.c: Clean up bookkeeping for mouse autoscrolling and adjustment change
notifications.  Reset the scrolling and insertion deltas when clearing
the history.
* src/interpret.c: Don't dump data on incomplete conversion errors, which we're
going to retry anyway.
* src/iso2022.txt: Add iso-2022-kr examples (no workee -- uses GR).
* src/vte.c, src/vte.h: Add vte_terminal_copy_primary and
vte_terminal_paste_primary(), because I really want to let profterm
decide default values for key bindings.

18 years agonew translation, by "Alexandre Folle de Menezes" <afmenez@terra.com.br>
Gustavo Noronha Silva [Wed, 28 Aug 2002 21:18:09 +0000 (21:18 +0000)]
new translation, by "Alexandre Folle de Menezes" <afmenez@terra.com.br>

18 years agoStop autoscrolling on button release. vte_0_8_10
Nalin Dahyabhai [Wed, 28 Aug 2002 04:16:48 +0000 (04:16 +0000)]
Stop autoscrolling on button release.

* src/vte.c: Stop autoscrolling on button release.

18 years agoWhen autoscrolling, clamp the new boundaries to what the user can see.
Nalin Dahyabhai [Wed, 28 Aug 2002 04:03:31 +0000 (04:03 +0000)]
When autoscrolling, clamp the new boundaries to what the user can see.

* src/vte.c: When autoscrolling, clamp the new boundaries to what the user can
see.

18 years agoImplement autoscroll (Red Hat #70481).
Nalin Dahyabhai [Wed, 28 Aug 2002 03:46:46 +0000 (03:46 +0000)]
Implement autoscroll (Red Hat #70481).

* src/vte.c: Implement autoscroll (Red Hat #70481).

18 years agoOnly perform cr-lf substitutions when pasting text, not when inputting
Nalin Dahyabhai [Wed, 28 Aug 2002 02:54:37 +0000 (02:54 +0000)]
Only perform cr-lf substitutions when pasting text, not when inputting

* src/vte.c: Only perform cr-lf substitutions when pasting text, not when
inputting from a live user (Red Hat #72639).  Bind GDK_ISO_Left_Tab to
kB.  Formatting changes.
* termcaps/xterm: Bind kB to back-tab (Red Hat #70340).

18 years agoDon't tamper with the scrolling offsets -- they're updated when we handle vte_0_8_9
Nalin Dahyabhai [Tue, 27 Aug 2002 21:10:25 +0000 (21:10 +0000)]
Don't tamper with the scrolling offsets -- they're updated when we handle

* src/vte.c: Don't tamper with the scrolling offsets -- they're updated when we
handle adjustment_changed notifications.  Scroll instead of just moving
the cursor down when soft-wrapping to the next line.  Avoid emitting
adjustment_changed when only the value has changed, likewise for the
value and the other fields of the adjustment.

18 years agoKeep cursor position and scrolling offsets from going wonky when you vte_0_8_8
Nalin Dahyabhai [Tue, 27 Aug 2002 07:11:58 +0000 (07:11 +0000)]
Keep cursor position and scrolling offsets from going wonky when you

* src/vte.c: Keep cursor position and scrolling offsets from going wonky when
you resize, especially on the alternate screen.  Suppress duplicate
adjustment_changed notifications.
* src/vteapp.c: Set the MIN_SIZE geometry hints so that we can resize to
unreasonably-small dimensions.
* src/ring.c, src/ring.h: Add vte_ring_new_with_delta().

18 years agoAdd padding spaces after full lines as well -- spotted by both notting and
Nalin Dahyabhai [Mon, 26 Aug 2002 19:49:21 +0000 (19:49 +0000)]
Add padding spaces after full lines as well -- spotted by both notting and

* src/vte.c: Add padding spaces after full lines as well -- spotted by both
notting and pjones.

18 years agoDon't deadlock when substitution fails, spotted by msw. vte_0_8_7
Nalin Dahyabhai [Mon, 26 Aug 2002 16:41:15 +0000 (16:41 +0000)]
Don't deadlock when substitution fails, spotted by msw.

* src/vte.c: Don't deadlock when substitution fails, spotted by msw.

18 years agoIf GDK_USE_XFT is set, check the value of GDK_USE_XFT, not VTE_USE_XFT. vte_0_8_6
Nalin Dahyabhai [Mon, 26 Aug 2002 14:11:53 +0000 (14:11 +0000)]
If GDK_USE_XFT is set, check the value of GDK_USE_XFT, not VTE_USE_XFT.

* src/vte.c: If GDK_USE_XFT is set, check the value of GDK_USE_XFT, not
VTE_USE_XFT.  Spotted by hp.

18 years agoHeed the reverse-video setting when painting character cells again. Make vte_0_8_5
Nalin Dahyabhai [Sun, 25 Aug 2002 23:27:56 +0000 (23:27 +0000)]
Heed the reverse-video setting when painting character cells again. Make

* src/vte.c: Heed the reverse-video setting when painting character cells again.
Make selection and matching coordinates global, fixing the selecting-
while-scrolling case.  Prevent overdraws into the padding area on the
right.

18 years ago2002-08-25 nalin Make nd() move right but not wrap -- according to Strang vte_0_8_4
Nalin Dahyabhai [Sun, 25 Aug 2002 19:48:05 +0000 (19:48 +0000)]
2002-08-25 nalin Make nd() move right but not wrap -- according to Strang

2002-08-25 nalin
* src/vte.c:  Make nd() move right but not wrap -- according to Strang
it's undefined, but xterm doesn't wrap it.  Separate do/DO from sf/SF
and up/UP from sr/SR, because the scrolling behavior is supposed to be
different.  Add support for decset/decreset 7 (wraparound mode) and
1051 (Sun keyboard).  Add support for DECALN.  Remove some type checks
from run-time which the compiler can catch with certainty.

18 years agoAdded Norwegian (no) to ALL_LINGUAS.
Kjartan Maraas [Sat, 24 Aug 2002 23:18:40 +0000 (23:18 +0000)]
Added Norwegian (no) to ALL_LINGUAS.

2002-08-25  Kjartan Maraas  <kmaraas@gnome.org>

* configure.in: Added Norwegian (no) to ALL_LINGUAS.

18 years agoForgot the ChangeLog
Kjartan Maraas [Sat, 24 Aug 2002 23:17:39 +0000 (23:17 +0000)]
Forgot the ChangeLog

18 years agoNew translation
Kjartan Maraas [Sat, 24 Aug 2002 23:17:13 +0000 (23:17 +0000)]
New translation

18 years agoAdded Vietnamese file
Pablo Saratxaga [Sat, 24 Aug 2002 16:14:55 +0000 (16:14 +0000)]
Added Vietnamese file

18 years agoWhoa, back that out.
Nalin Dahyabhai [Thu, 22 Aug 2002 23:33:56 +0000 (23:33 +0000)]
Whoa, back that out.

18 years agoBind ENQ to "return-terminal-status". Fix an off-by-one which incorrectly
Nalin Dahyabhai [Thu, 22 Aug 2002 23:27:31 +0000 (23:27 +0000)]
Bind ENQ to "return-terminal-status". Fix an off-by-one which incorrectly

* src/caps.c: Bind ENQ to "return-terminal-status".
* src/iso2022.c: Fix an off-by-one which incorrectly triggered an assertion.
* src/vte.c: Implement send-primary/secondary-device-attributes.  Bind
shift+insert to "paste PRIMARY".  Guard against NULL window/icon title
when telling the child app what they are.

18 years agoSet geometry hints using the initial font setup.
Nalin Dahyabhai [Thu, 22 Aug 2002 20:50:13 +0000 (20:50 +0000)]
Set geometry hints using the initial font setup.

* src/vteapp.c: Set geometry hints using the initial font setup.

18 years ago0.8.3 vte_0_8_3
Nalin Dahyabhai [Thu, 22 Aug 2002 20:19:59 +0000 (20:19 +0000)]
0.8.3

18 years agoMake use of the visible bell a separate option from use of the audible
Nalin Dahyabhai [Thu, 22 Aug 2002 20:19:47 +0000 (20:19 +0000)]
Make use of the visible bell a separate option from use of the audible

* src/vte.c, src/vte.h: Make use of the visible bell a separate option from
use of the audible bell, allowing both/neither to be used.  Open fonts
right away again -- profterm reads the metrics right after calling
set_font(), so we have to open fonts ASAP.  Rework the Xft/Pango/Xlib
decision code to be more consistent.  Watch for style changes and reset
our font to the new style's font when we're already using the old
style's font.

18 years agoThe unrealize/realize test, from msw.
Nalin Dahyabhai [Thu, 22 Aug 2002 02:31:31 +0000 (02:31 +0000)]
The unrealize/realize test, from msw.

18 years agoTake a vte_table as an additional argument, and don't mess with text vte_0_8_2
Nalin Dahyabhai [Thu, 22 Aug 2002 02:02:40 +0000 (02:02 +0000)]
Take a vte_table as an additional argument, and don't mess with text

* src/iso2022.c(vte_iso2022_substitute): Take a vte_table as an additional
argument, and don't mess with text that's part of a control sequence,
fixing weird behaviors when we got control sequences in the middle of
shift-out text.
* src/table.c(vte_table_match): Speed up for the no-arguments-requested
case, which just became much more common.

18 years agoCap the maximum number of characters we draw in a single call to vte_0_8_1
Nalin Dahyabhai [Wed, 21 Aug 2002 21:53:27 +0000 (21:53 +0000)]
Cap the maximum number of characters we draw in a single call to

* src/vte.c(vte_terminal_draw_rows): Cap the maximum number of characters we
draw in a single call to vte_terminal_draw_cells at a reasonable number.

18 years agoDon't overwrite the original pattern pointers before freeing the old
Nalin Dahyabhai [Wed, 21 Aug 2002 14:29:53 +0000 (14:29 +0000)]
Don't overwrite the original pattern pointers before freeing the old

* src/table.c: Don't overwrite the original pattern pointers before freeing
the old value.
* src/vte.c: Use the same pango context whenever possible, to save on PangoX
startup time.

18 years agoUnref the output channel one more time when we're done sending data to the
Nalin Dahyabhai [Tue, 20 Aug 2002 22:32:48 +0000 (22:32 +0000)]
Unref the output channel one more time when we're done sending data to the

* src/vte.c: Unref the output channel one more time when we're done sending data
to the child.  Free the background data GDK property when we're finished
with it.  Don't retrieve the pango context when drawing unless Xft has
already been disabled.  Don't try to use the pango layout to draw unless
it's valid.  Don't try to use the XftDraw item to draw unless it's
valid.

18 years agoDispose of the updated substitution context properly when processing
Nalin Dahyabhai [Tue, 20 Aug 2002 21:50:59 +0000 (21:50 +0000)]
Dispose of the updated substitution context properly when processing

* src/vte.c: Dispose of the updated substitution context properly when
processing blocks of input text.  Spotted by Arjan van de Ven.

18 years ago- run automake with -c vte_0_8_0
Nalin Dahyabhai [Tue, 20 Aug 2002 21:25:53 +0000 (21:25 +0000)]
- run automake with -c

18 years agoDebug when rows get freed. Maybe-release pango contexts after unreffing
Nalin Dahyabhai [Tue, 20 Aug 2002 20:55:20 +0000 (20:55 +0000)]
Debug when rows get freed. Maybe-release pango contexts after unreffing

* src/ring.c: Debug when rows get freed.
* src/vte.c: Maybe-release pango contexts after unreffing layouts which refer
to them.  Decide on how we want to draw fonts before deciding which
fonts to draw, to avoid spurious font loading.  Remove output tags when
the output tag's callback is about to return FALSE.

18 years agoDon't leak the hintstyle and rgba settings. Patch from Arjan van de Ven.
Nalin Dahyabhai [Tue, 20 Aug 2002 16:00:11 +0000 (16:00 +0000)]
Don't leak the hintstyle and rgba settings. Patch from Arjan van de Ven.

* src/vte.c: Don't leak the hintstyle and rgba settings.  Patch from Arjan van
de Ven.  Free PangoX contexts when we're done with them because we get
a new one every time, spotted by Arjan van de Ven.

18 years agoLoad fonts just-in-time to avoid spurious reloads. Don't override the
Nalin Dahyabhai [Tue, 20 Aug 2002 04:47:32 +0000 (04:47 +0000)]
Load fonts just-in-time to avoid spurious reloads. Don't override the

* src/vte.c: Load fonts just-in-time to avoid spurious reloads.  Don't override
the focus_in and focus_out event handlers -- the defaults DTRT.
* src/debug.c, src/debug.h: Add a RING debug class.
* src/iso2022.c: Handle override maps which don't affect the font palette
correctly, resetting at newlines and escape marks.  Process bogon data
correctly.
* src/iso2022.txt: Add some sample text.
* src/vte.c: Fixup some fontconfig/Xft mixups.  Set the hint style instead of
hinting when reading the GTK hint style setting (spotted by katzj and
otaylor).

18 years agoAdd sample iso-2002 escaped text.
Nalin Dahyabhai [Mon, 19 Aug 2002 23:30:35 +0000 (23:30 +0000)]
Add sample iso-2002 escaped text.

18 years agoFixup some fontconfig/Xft mixups. Set the hint style instead of hinting
Nalin Dahyabhai [Mon, 19 Aug 2002 23:01:28 +0000 (23:01 +0000)]
Fixup some fontconfig/Xft mixups. Set the hint style instead of hinting

* src/vte.c: Fixup some fontconfig/Xft mixups.  Set the hint style instead of
hinting when reading the GTK hint style setting.

18 years agoUse gssize instead of ssize_t. Perform substitutions while processing. Use
Nalin Dahyabhai [Mon, 19 Aug 2002 22:33:21 +0000 (22:33 +0000)]
Use gssize instead of ssize_t. Perform substitutions while processing. Use

* src/vte.h, src/vte.c: Use gssize instead of ssize_t.  Perform substitutions
while processing.  Use PangoX contexts when we're using the PangoX
fontmap and when doing PangoX rendering.

18 years agoAdd. Use unitables. Remove sequences for designating character sets.
Nalin Dahyabhai [Mon, 19 Aug 2002 22:27:33 +0000 (22:27 +0000)]
Add. Use unitables. Remove sequences for designating character sets.

* src/mkunitables.sh,src/unitable.*: Add.
* src/iso2022.c, src/iso2022.h: Use unitables.
* src/caps.c: Remove sequences for designating character sets.  Switch to using
a second passed-in buffer for storing results in case the caller doesn't
want substitutions done in-place.
* src/interpret.c: Perform substitution.
* src/table.c, src/table.h: Use gssize instead of ssize_t.
* src/termcap.c, src/termcap.h: Use gssize instead of ssize_t.
* src/utf8echo.c: Use strtol, allowing users to specify code points in hex
format.

18 years agoRename vte.py to vte-demo.py, so that having . in your PYTHONPATH doesn't
Nalin Dahyabhai [Mon, 19 Aug 2002 16:41:50 +0000 (16:41 +0000)]
Rename vte.py to vte-demo.py, so that having . in your PYTHONPATH doesn't
do odd things if you run the script from the build directory (when it's also
the source directory).

18 years agoAdd.
Nalin Dahyabhai [Thu, 15 Aug 2002 07:16:50 +0000 (07:16 +0000)]
Add.

18 years agorepaint the entire window to ensure that any overdraw area we're not
Nalin Dahyabhai [Wed, 14 Aug 2002 19:39:36 +0000 (19:39 +0000)]
repaint the entire window to ensure that any overdraw area we're not

* src/vte.c(vte_terminal_configure_toplevel): repaint the entire window to
ensure that any overdraw area we're not paying attention to at least
gets cleared to the background.
* src/vte.c(vte_terminal_locale_encoding): don't try to second-guess the local
encoding, just use the current charset as returned by g_get_charset().

18 years agodrop pending incoming data on reset. give reprocessing of pending input vte_0_7_4
Nalin Dahyabhai [Wed, 14 Aug 2002 06:10:19 +0000 (06:10 +0000)]
drop pending incoming data on reset. give reprocessing of pending input

* src/vte.c(vte_terminal_reset): drop pending incoming data on reset.
* src/vte.c: give reprocessing of pending input data a higher priority than
reading it from the child to prevent backlogs on corrupt or invalid
multibyte data from building up and whacking us exponentially.
* src/vte.c(vte_sequence_handler_delete_lines): initialize lines added to the
current default colors.  Spotted by jrb.
* src/vte.c(vte_terminal_set_font): don't try to pick up GTK Xft settings
unless we're using FontConfig.  Patch from otaylor.

18 years agoUpdated Danish translation.
Ole Laursen [Tue, 13 Aug 2002 20:12:42 +0000 (20:12 +0000)]
Updated Danish translation.

2002-08-13  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

18 years agoreorder set/reset processing for decset so that 1049 properly represents
Nalin Dahyabhai [Tue, 13 Aug 2002 01:49:50 +0000 (01:49 +0000)]
reorder set/reset processing for decset so that 1049 properly represents

* src/vte.c: reorder set/reset processing for decset so that 1049 properly
represents the combination of 1047 and 1048 (#90027).

18 years ago- don't include datadir files more than once vte_0_7_3
Nalin Dahyabhai [Mon, 12 Aug 2002 19:49:03 +0000 (19:49 +0000)]
- don't include datadir files more than once

18 years agoproperly escape a command sequence with an embedded '%'.
Nalin Dahyabhai [Mon, 12 Aug 2002 19:44:36 +0000 (19:44 +0000)]
properly escape a command sequence with an embedded '%'.

* src/caps.c: properly escape a command sequence with an embedded '%'.

18 years agoadd de and nl translations to ALL_LINGUAS
Nalin Dahyabhai [Mon, 12 Aug 2002 19:10:41 +0000 (19:10 +0000)]
add de and nl translations to ALL_LINGUAS

* configure.in: add de and nl translations to ALL_LINGUAS

18 years ago0.7.3
Nalin Dahyabhai [Mon, 12 Aug 2002 19:01:03 +0000 (19:01 +0000)]
0.7.3

18 years agochange Xft-related defaults match whichever version of GTK we were built
Nalin Dahyabhai [Mon, 12 Aug 2002 16:13:18 +0000 (16:13 +0000)]
change Xft-related defaults match whichever version of GTK we were built

* src/vte.c: change Xft-related defaults match whichever version of GTK
we were built with (hopefully).

18 years agodon't bother with cursor blinking or freezing/thawing updates when the
Nalin Dahyabhai [Mon, 12 Aug 2002 14:40:20 +0000 (14:40 +0000)]
don't bother with cursor blinking or freezing/thawing updates when the

* src/vte.c: don't bother with cursor blinking or freezing/thawing
updates when the widget isn't realized.  Patch from Gustavo Giráldez.

18 years ago2002-08-09 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu)
Vincent van Adrighem [Fri, 9 Aug 2002 08:15:08 +0000 (08:15 +0000)]
2002-08-09  Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu)

* nl.po: Dutch translation updated by Taco Witte.

18 years agotake extra steps to make sure that the cursor doesn't go back into
Nalin Dahyabhai [Thu, 8 Aug 2002 18:42:26 +0000 (18:42 +0000)]
take extra steps to make sure that the cursor doesn't go back into

* src/vte.c: take extra steps to make sure that the cursor doesn't go back into
negative scrollback space.

19 years agorewrite. vte_0_7_2
Nalin Dahyabhai [Thu, 8 Aug 2002 05:38:35 +0000 (05:38 +0000)]
rewrite.

* src/vte.c(vte_terminal_invalidate_all): rewrite.

19 years agofill in the background color when drawing the cursor, even if it's going
Nalin Dahyabhai [Thu, 8 Aug 2002 05:04:12 +0000 (05:04 +0000)]
fill in the background color when drawing the cursor, even if it's going

* src/vte.c(vte_terminal_paint,vte_terminal_draw_cells): fill in the background
color when drawing the cursor, even if it's going to end up as the
default background color, spotted by Peter Jones.  Draw the cursor
correctly if it's over a graphic character.

19 years agoonce again, avoid drawing NULs. add a small pad to each edge (#89048).
Nalin Dahyabhai [Thu, 8 Aug 2002 04:25:58 +0000 (04:25 +0000)]
once again, avoid drawing NULs. add a small pad to each edge (#89048).

* src/vte.c(vte_terminal_draw_cells): once again, avoid drawing NULs.
* src/vte.c: add a small pad to each edge (#89048).
* src/vteapp.c: handle widget padding.