vte.git
17 years agoadd MESSAGE-OF-DOOM to EXTRA_DIST make Alt+Return generate ESC newline
Nalin Dahyabhai [Mon, 21 Apr 2003 20:34:10 +0000 (20:34 +0000)]
add MESSAGE-OF-DOOM to EXTRA_DIST make Alt+Return generate ESC newline

* Makefile.am: add MESSAGE-OF-DOOM to EXTRA_DIST
* src/keymap.c: make Alt+Return generate ESC newline (#108863).

17 years agoreally drop this file
Nalin Dahyabhai [Mon, 21 Apr 2003 20:09:45 +0000 (20:09 +0000)]
really drop this file

17 years agodrop unitable.KSC5601 fixup comment re: KS X 1001 (#107119). add two
Nalin Dahyabhai [Mon, 21 Apr 2003 20:05:30 +0000 (20:05 +0000)]
drop unitable.KSC5601 fixup comment re: KS X 1001 (#107119). add two

* src/Makefile.am: drop unitable.KSC5601
* src/iso2022.c: fixup comment re: KS X 1001 (#107119).
* src/mkunitables.sh: add two characters from KS X 1001:1998 (#107119).

17 years agodon't try to process incoming data if there isn't any (#110946). mark a
Nalin Dahyabhai [Mon, 21 Apr 2003 19:35:16 +0000 (19:35 +0000)]
don't try to process incoming data if there isn't any (#110946). mark a

* src/vte.c(vte_terminal_eof): don't try to process incoming data if there
isn't any (#110946).
* src/vtexft.c: mark a warning message for translation.
* src/vtegl.c: make the warning when glX isn't available debug-only.

17 years agouse #if HAVE_DECL_XXX instead of #ifdef HAVE_DECL_XXX, noted by Bob Doan.
Nalin Dahyabhai [Mon, 21 Apr 2003 19:01:58 +0000 (19:01 +0000)]
use #if HAVE_DECL_XXX instead of #ifdef HAVE_DECL_XXX, noted by Bob Doan.

* src/vteglyph.c: use #if HAVE_DECL_XXX instead of #ifdef HAVE_DECL_XXX, noted
by Bob Doan.

17 years ago- ident tagging - header reorg
Nalin Dahyabhai [Mon, 21 Apr 2003 02:50:46 +0000 (02:50 +0000)]
- ident tagging - header reorg

- ident tagging
- header reorg

17 years agowork around for garbled glyphs when drawing runs of text using multiple
Nalin Dahyabhai [Mon, 21 Apr 2003 02:45:11 +0000 (02:45 +0000)]
work around for garbled glyphs when drawing runs of text using multiple

* src/vtexft.c: work around for garbled glyphs when drawing runs of text using
multiple fonts while mixing bitmap and antialiased fonts

18 years ago- 0.11.3 vte_0_11_3
Nalin Dahyabhai [Fri, 18 Apr 2003 00:31:22 +0000 (00:31 +0000)]
- 0.11.3

18 years ago- add
Nalin Dahyabhai [Fri, 18 Apr 2003 00:16:52 +0000 (00:16 +0000)]
- add

18 years agoadd missing prototype for vte_terminal_process_incoming().
Nalin Dahyabhai [Fri, 18 Apr 2003 00:16:19 +0000 (00:16 +0000)]
add missing prototype for vte_terminal_process_incoming().

* src/vte.c: add missing prototype for vte_terminal_process_incoming().

18 years agoquiet a compiler warning. use KSX-1001 instead of KSC-5601 for Korean, add
Nalin Dahyabhai [Fri, 18 Apr 2003 00:14:55 +0000 (00:14 +0000)]
quiet a compiler warning. use KSX-1001 instead of KSC-5601 for Korean, add

* src/vteglyph.c(_vte_glyph_get): quiet a compiler warning.
* src/iso2022.c: use KSX-1001 instead of KSC-5601 for Korean, add maps for
CNS 11643 planes 3,4,5,6,7 (can't test them, but hey).  Rework so
that we get the data before it's passed to g_iconv(), and stuff
gunichars into an array for the caller.
* src/interpret.c: adapt to changes in the iso2022 interfaces.
* src/vte.c: adapt to changes in the iso2022 interfaces.
* src/mkunitables.sh: add snippets for KSX 1001.
* src/iso2022.txt: add iso-2022-cn example text.

18 years ago0.11.2 vte_0_11_2
Nalin Dahyabhai [Thu, 17 Apr 2003 16:02:17 +0000 (16:02 +0000)]
0.11.2

18 years agoinvalidate a larger rectangle to fix behavior wrt openi18n assertion 2.
Nalin Dahyabhai [Thu, 17 Apr 2003 15:44:14 +0000 (15:44 +0000)]
invalidate a larger rectangle to fix behavior wrt openi18n assertion 2.

* src/vte.c(vte_terminal_process_incoming): invalidate a larger rectangle to
fix behavior wrt openi18n assertion 2.

18 years agofix logic error drawing the cursor which caused ALTGR characters to always
Nalin Dahyabhai [Wed, 16 Apr 2003 22:14:42 +0000 (22:14 +0000)]
fix logic error drawing the cursor which caused ALTGR characters to always

* src/vte.c(vte_terminal_paint): fix logic error drawing the cursor which
caused ALTGR characters to always be used.  Draw the preedit string
in the right location.
* src/vte.c(vte_invalidate_cursor_once): expose the visible width of the
preedit string, not its length.

18 years agofix broken debug message.
Nalin Dahyabhai [Tue, 15 Apr 2003 16:40:15 +0000 (16:40 +0000)]
fix broken debug message.

* src/vteaccess.c: fix broken debug message.

18 years ago- correct bad cast
Nalin Dahyabhai [Tue, 15 Apr 2003 15:46:21 +0000 (15:46 +0000)]
- correct bad cast

18 years agomake row_data a structure containing an array instead of a simple array.
Nalin Dahyabhai [Tue, 15 Apr 2003 15:43:52 +0000 (15:43 +0000)]
make row_data a structure containing an array instead of a simple array.

* src/vte.c: make row_data a structure containing an array instead of a simple
array.  Add a field to row data structures which tracks whether or not
we soft-wrapped from this line to the next one.  Make use of the field
when copying text and selecting by "line".
* src/reflect.c: put the label in a scrolled window to avoid mad loops when we
resize it to accomodate more text, which shrinks the terminal, which
removes text from the label, which resizes it to be smaller, which
gives the terminal more space, which adds text to the viewable area,
which requires a bigger label, and so on.
* src/vte.c: move vte_terminal_get_text_range logic into
vte_terminal_get_text_range_maybe_wrapped for internal use,
vte_terminal_get_text likewise.

18 years agoadded Macedonian translation
Ivan Stojmirov [Tue, 15 Apr 2003 12:13:00 +0000 (12:13 +0000)]
added Macedonian translation

18 years agodon't snap the beginning of selection to the next line in select-by-line
Nalin Dahyabhai [Tue, 15 Apr 2003 02:41:41 +0000 (02:41 +0000)]
don't snap the beginning of selection to the next line in select-by-line

* src/vte.c: don't snap the beginning of selection to the next line in
select-by-line mode.

18 years ago- 0.11.1 vte_0_11_1
Nalin Dahyabhai [Tue, 15 Apr 2003 01:45:50 +0000 (01:45 +0000)]
- 0.11.1

18 years agofix macro invocations so that when LCD and GRAY2/GRAY4 pixel modes are
Nalin Dahyabhai [Tue, 15 Apr 2003 00:05:35 +0000 (00:05 +0000)]
fix macro invocations so that when LCD and GRAY2/GRAY4 pixel modes are

* configure.in, src/vteglyph.c: fix macro invocations so that when LCD and
GRAY2/GRAY4 pixel modes are supported by freetype, we don't get
confused by them.
* src/vtepango.c, src/vtepangox.c: fix background scrolling.

18 years agorequire automake 1.6, 1.5 chokes on AM_LDFLAGS, which 1.7 wants instead of
Nalin Dahyabhai [Mon, 14 Apr 2003 23:31:59 +0000 (23:31 +0000)]
require automake 1.6, 1.5 chokes on AM_LDFLAGS, which 1.7 wants instead of

* autogen.sh: require automake 1.6, 1.5 chokes on AM_LDFLAGS, which 1.7 wants
instead of LDFLAGS(!).  Require autoconf 2.52 or newer, because older
versions bail on configure.in.
* configure.in: Check if ft_render_mode_mono, FT_RENDER_MODE_NORMAL,
FT_PIXEL_MODE_MONO, ft_pixel_mode_mono, FT_PIXEL_MODE_GRAY2,
FT_PIXEL_MODE_GRAY4, FT_PIXEL_MODE_GRAY, ft_pixel_mode_grays,
FT_PIXEL_MODE_LCD are declared.
* src/vte.c, src/vteapp.c, src/vtefc.c, src/vtepango.c: handle being built with
GTK+ 2.0 or 2.2.
* src/vtegl.c: disable for GTK+ < 2.2.0.
* src/vtepangox.c: use a PangoX context instead of a Pango context when
determining font metrics.
* src/vteglyph.c: handle the twisty maze of load and render options and pixel
modes which various versions of freetype support.

18 years agodisable pangox, xft, glx drawing if run invoked with the --without-x flag.
Nalin Dahyabhai [Mon, 14 Apr 2003 19:41:12 +0000 (19:41 +0000)]
disable pangox, xft, glx drawing if run invoked with the --without-x flag.

* configure.in: disable pangox, xft, glx drawing if run invoked with the
--without-x flag.
* vte.pc.in: include CFLAGS found by AC_PATH_XTRA when built with X.
* src/iso2022.c(_vte_iso2022_substitute_single): clean up and ensure that
ambiguous widths are respected.
* src/iso2022.c, src/iso2022.h: add _vte_iso2022_unichar_width().
* src/vte.c: remove old xft2/xft1/pango/pangox/core drawing code, making draw
the only supported method.  Remove most dependencies on gdkx and Xlib,
except for root pixmap ID watching.
* src/vtedraw.c: only use pangox, xft if X_DISPLAY_MISSING is not defined.
* src/vtedraw.c, src/vtedraw.h: add get_using_fontconfig() method.
* src/vte.c(vte_terminal_get_using_xft): use _vte_draw_get_using_fontconfig(),
which is what apps really want to know when they call this function.
* src/vtegl.c: wrap in #ifndef X_DISPLAY_MISSING.
* src/vtepangox.c: wrap in #ifndef X_DISPLAY_MISSING.
* src/vtexft.c: wrap in #ifndef X_DISPLAY_MISSING.
* src/vteglyph.c(_vte_glyph_cache_set_description): use horizontal advance
instead of bitmap width when calculating display widths.
Rename to _vte_glyph_cache_set_font_description.

18 years agoadd back some variables which are used after all.
Nalin Dahyabhai [Wed, 9 Apr 2003 20:11:52 +0000 (20:11 +0000)]
add back some variables which are used after all.

* src/vte.c: add back some variables which are used after all.

18 years agoadd specific checks for PangoX and glX. add drawing method using freetype
Nalin Dahyabhai [Wed, 9 Apr 2003 20:01:50 +0000 (20:01 +0000)]
add specific checks for PangoX and glX. add drawing method using freetype

* configure.in: add specific checks for PangoX and glX.
* src/vteft2.c, src/vteft2.h: add drawing method using freetype and GdkRGB.
* src/vteglyph.c, src/vteglyph.h: add.
* src/vtepangox.c, src/vtepangox.h: add drawing method using PangoX.
* src/vtergb.c, src/vtergb.h: add.
* src/vtegl.c, src/vtegl.h: add placeholder drawing method using freetype and
glX.
* src/Makefile.am: add newly-added source files to libvte.la target.
* src/vtedraw.c, src/vtedraw.h: add get_visual and get_colormap methods so that
drawing methods can override the default visual and colormap.  Rename
get_text_base() to get_text_ascent(), which is more correct.  Remove
scroll(), which would just wrap gdk_window_scroll().
* src/vte.c: fix logic for choosing alternate render methods when VTE_USE_XFT
is "0".
* src/vteapp.c: add -- option to stop parsing options with getopt.
* src/vtefc.c: fix incorrect DPI read due to type mismatch (#109513).

18 years agoAdded "sq" to ALL_LINGUAS
Laurent Dhima [Mon, 31 Mar 2003 08:36:26 +0000 (08:36 +0000)]
Added "sq" to ALL_LINGUAS

* configure.in: Added "sq" to ALL_LINGUAS

18 years agoAdded Albanian translation
Laurent Dhima [Mon, 31 Mar 2003 08:33:05 +0000 (08:33 +0000)]
Added Albanian translation

* sq.po: Added Albanian translation

18 years ago- sprinkle various CFLAGS throughout
Nalin Dahyabhai [Thu, 27 Mar 2003 20:45:22 +0000 (20:45 +0000)]
- sprinkle various CFLAGS throughout

18 years ago- more automake-1.7 changes, should properly accept 1.7, 1.6 or 1.5 now
Nalin Dahyabhai [Thu, 27 Mar 2003 00:48:54 +0000 (00:48 +0000)]
- more automake-1.7 changes, should properly accept 1.7, 1.6 or 1.5 now

18 years agospecify AM_CFLAGS and AM_LDFLAGS instead of CFLAGS and LDFLAGS so that
Nalin Dahyabhai [Thu, 27 Mar 2003 00:39:53 +0000 (00:39 +0000)]
specify AM_CFLAGS and AM_LDFLAGS instead of CFLAGS and LDFLAGS so that

* src/Makefile.am: specify AM_CFLAGS and AM_LDFLAGS instead of CFLAGS and
LDFLAGS so that automake 1.7 doesn't kick us to the curb

18 years agocommit useful news vte_0_11_0
Nalin Dahyabhai [Wed, 26 Mar 2003 19:30:43 +0000 (19:30 +0000)]
commit useful news

18 years ago- copy AC_CHECK_FT2 to VTE_CHECK_FT2 and use it instead -- some systems with
Nalin Dahyabhai [Mon, 17 Mar 2003 19:23:10 +0000 (19:23 +0000)]
- copy AC_CHECK_FT2 to VTE_CHECK_FT2 and use it instead -- some systems with
  freetype development stuff still don't include the right autoconf macros
  (#108481)

18 years ago- warn when freetype devel stuff isn't present, becuase we need it to
Nalin Dahyabhai [Mon, 17 Mar 2003 17:53:04 +0000 (17:53 +0000)]
- warn when freetype devel stuff isn't present, becuase we need it to
  supply the AC_CHECK_FT2 macro

18 years agoUpdated Azerbaijani translation.
Metin Amiroff [Fri, 14 Mar 2003 18:56:44 +0000 (18:56 +0000)]
Updated Azerbaijani translation.

2003-03-14  Metin Amiroff  <metin@karegen.com>

* az.po: Updated Azerbaijani translation.

18 years agoAdded "ml" to ALL_LINGUAS. Added Malayalam translation by FSF-India
Christian Rose [Thu, 13 Mar 2003 13:14:42 +0000 (13:14 +0000)]
Added "ml" to ALL_LINGUAS. Added Malayalam translation by FSF-India

2003-03-13  Christian Rose  <menthos@menthos.com>

* configure.in: Added "ml" to ALL_LINGUAS.
* po/ml.po: Added Malayalam translation by
FSF-India <locale@gnu.org.in>.

18 years ago- actually add these files
Nalin Dahyabhai [Fri, 7 Mar 2003 17:51:41 +0000 (17:51 +0000)]
- actually add these files

18 years agoadjust coordinates for the border when clearing rectangles. add. use the
Nalin Dahyabhai [Fri, 7 Mar 2003 17:51:21 +0000 (17:51 +0000)]
adjust coordinates for the border when clearing rectangles. add. use the

* src/vte.c(vte_terminal_paint): adjust coordinates for the border when
clearing rectangles.
* src/vteskel.c, src/vteskel.h: add.
* src/vtedraw.c: use the skeleton drawing code.

18 years agowatch for Visibility events. don't synthesize an expose event if we're
Nalin Dahyabhai [Fri, 7 Mar 2003 16:54:13 +0000 (16:54 +0000)]
watch for Visibility events. don't synthesize an expose event if we're

* src/vte.c(vte_terminal_visibility_notify): watch for Visibility events.
* src/vte.c(vte_invalidate_cells,vte_invalidate_all): don't synthesize an
expose event if we're fully obscured, that's just silly.

18 years agotake a const GdkColor* instead of a non-const color.
Nalin Dahyabhai [Fri, 7 Mar 2003 00:28:21 +0000 (00:28 +0000)]
take a const GdkColor* instead of a non-const color.

* src/vte.c, src/vte.h(vte_terminal_set_background_tint_color): take a const
GdkColor* instead of a non-const color.

18 years agoregenerate. update for vte_char_attributes rename.
Nalin Dahyabhai [Thu, 6 Mar 2003 17:25:44 +0000 (17:25 +0000)]
regenerate. update for vte_char_attributes rename.

* python/vte.defs: regenerate.
* python/vte.override: update for vte_char_attributes rename.

18 years agorename struct vte_char_attributes to VteCharAttributes, fixup some docs.
Nalin Dahyabhai [Thu, 6 Mar 2003 17:20:33 +0000 (17:20 +0000)]
rename struct vte_char_attributes to VteCharAttributes, fixup some docs.

* src/vte.c, src/vte.h, src/vteaccess.c: rename struct vte_char_attributes to
VteCharAttributes, fixup some docs.
* doc/reference: finish up docs.

18 years agoadd FT2_LIBS and FT2_CFLAGS to our libs and cflags. Add xft >= 2.0 and
Nalin Dahyabhai [Wed, 5 Mar 2003 22:55:08 +0000 (22:55 +0000)]
add FT2_LIBS and FT2_CFLAGS to our libs and cflags. Add xft >= 2.0 and

* vte.pc.in: add FT2_LIBS and FT2_CFLAGS to our libs and cflags.  Add xft >= 2.0
and fontconfig as hard requirements.

18 years agodon't spit out which rendering method we're using except in debug mode.
Nalin Dahyabhai [Wed, 5 Mar 2003 22:36:42 +0000 (22:36 +0000)]
don't spit out which rendering method we're using except in debug mode.

* src/vtedraw.c: don't spit out which rendering method we're using except in
debug mode.

18 years agodon't print "Bogus font." when we think the font metrics are screwy.
Nalin Dahyabhai [Wed, 5 Mar 2003 22:34:34 +0000 (22:34 +0000)]
don't print "Bogus font." when we think the font metrics are screwy.

* src/vtepango.c, src/vtexft.c: don't print "Bogus font." when we think the
font metrics are screwy.

18 years agorequire Xft2 and fontconfig, drop Xft1. Require freetype2. add xticker,
Nalin Dahyabhai [Wed, 5 Mar 2003 22:31:08 +0000 (22:31 +0000)]
require Xft2 and fontconfig, drop Xft1. Require freetype2. add xticker,

* configure.in: require Xft2 and fontconfig, drop Xft1.  Require freetype2.
* src/Makefile.am, src/xticker.c: add xticker, useless but interesting.
* src/vte.c, src/vte.h: add vte_terminal_set_scroll_background() to enable
background scrolling (where supported by the drawing code).
* src/vteapp.c: set the tinting color to the default background color to see
what that's like.  Add -s option to toggle scrolling backgrounds.
* src/vtefc.c, src/vtefc.h: add.  For converting PangoFontDescriptions to
sorted lists of FcPatterns suitable for passing to XftFontOpenPattern()
or even FT_New_Face().
* src/vtedraw.c, src/vtedraw.h: add.  New drawing layer.
* src/vtepango.c, src/vtepango.h: add.  Drawing layer using Pango.
* src/vtexft.c, src/vtexft.h: add.  Drawing layer using Xft2.
* src/vte.c: add render type VteRenderDraw for transitional period in
preparation for nuking other drawing code.  Merge HAVE_XFT bits into
HAVE_XFT2 areas.  Nuke Xft1-specific stuff.  Move drawing of lines
and rectangles to dedicated functions.  Always call vte_unichar_width()
instead of g_unichar_iswide().

18 years agofix swap of one variable for another which prevented stripping of control
Nalin Dahyabhai [Tue, 4 Mar 2003 19:56:17 +0000 (19:56 +0000)]
fix swap of one variable for another which prevented stripping of control

* src/vte.c(vte_sequence_handler_set_title_internal): fix swap of one variable
for another which prevented stripping of control chars, spotted by
Nam SungHyun.

18 years agowrap properly when a scrolling region is set (#107559).
Nalin Dahyabhai [Tue, 4 Mar 2003 18:01:25 +0000 (18:01 +0000)]
wrap properly when a scrolling region is set (#107559).

* src/vte.c(vte_terminal_insert_char): wrap properly when a scrolling region
is set (#107559).

18 years ago2003-02-28 added po/ja.po. T.Aihana <aihana@gnome.gr.jp>
added po/ja.po. T.Aihana [Thu, 27 Feb 2003 15:42:21 +0000 (15:42 +0000)]
2003-02-28 added po/ja.po. T.Aihana <aihana@gnome.gr.jp>

18 years ago2003-02-28 added Japanese translation. T.Aihana <aihana@gnome.gr.jp>
added Japanese translation. T.Aihana [Thu, 27 Feb 2003 15:40:39 +0000 (15:40 +0000)]
2003-02-28 added Japanese translation. T.Aihana <aihana@gnome.gr.jp>

18 years agoforce characters substituted through the ACS map to have width of 1.
Nalin Dahyabhai [Thu, 27 Feb 2003 00:31:47 +0000 (00:31 +0000)]
force characters substituted through the ACS map to have width of 1.

* src/iso2022.c(_vte_iso2022_substitute,_vte_iso2022_substitute_single): force
characters substituted through the ACS map to have width of 1.

18 years agouse an array of codepoints instead of a UTF-8 string so that we can check
Nalin Dahyabhai [Thu, 27 Feb 2003 00:14:08 +0000 (00:14 +0000)]
use an array of codepoints instead of a UTF-8 string so that we can check

* src/vte.c(vte_terminal_font_open_xft,vte_terminal_font_open_pango): use an
array of codepoints instead of a UTF-8 string so that we can check for
lack of font coverage in Xft fonts.

18 years agoformatting fixups.
Nalin Dahyabhai [Wed, 26 Feb 2003 23:50:04 +0000 (23:50 +0000)]
formatting fixups.

* src/vte.c: formatting fixups.

18 years agopatch from Jungshik Shin for detecting and handling fonts where ASCII
Nalin Dahyabhai [Wed, 26 Feb 2003 23:47:51 +0000 (23:47 +0000)]
patch from Jungshik Shin for detecting and handling fonts where ASCII

* src/vte.c(vte_terminal_font_open_xft,vte_terminal_font_open_pango): patch
from Jungshik Shin for detecting and handling fonts where ASCII
characters are double-width (#106618)

18 years agoAdded "bn" to ALL_LINGUAS. Added Bangla/Bengali translation by Jamil Ahmed
Taneem Ahmed [Wed, 26 Feb 2003 08:37:13 +0000 (08:37 +0000)]
Added "bn" to ALL_LINGUAS. Added Bangla/Bengali translation by Jamil Ahmed

2003-02-26  Taneem Ahmed  <taneem@eyetap.org>

* configure.in:  Added "bn" to ALL_LINGUAS.
* bn.po: Added Bangla/Bengali translation
by Jamil Ahmed <jamil@bengalinux.org>.

18 years agotake a shot at implementing xconsole-like functionality when started with
Nalin Dahyabhai [Wed, 26 Feb 2003 00:33:14 +0000 (00:33 +0000)]
take a shot at implementing xconsole-like functionality when started with

* src/vteapp.c(main): take a shot at implementing xconsole-like functionality
when started with the -C flag: we open /dev/console and TIOCCONS it,
and just feed data to the widget until we lose ownership of the
MIT_CONSOLE_$(hostname) clipboard.

18 years agoAdded Icelandic translation.
Samúel Jón Gunnarsson [Tue, 25 Feb 2003 19:14:43 +0000 (19:14 +0000)]
Added Icelandic translation.

2003-02-25  Samúel Jón Gunnarsson <sammi@techattack.nu>

* is.po: Added Icelandic translation.

18 years agodon't report the user-settable title and icon strings to applications,
Nalin Dahyabhai [Tue, 25 Feb 2003 00:18:03 +0000 (00:18 +0000)]
don't report the user-settable title and icon strings to applications,

* src/vte.c(vte_sequence_handler_window_manipulation): don't report the
user-settable title and icon strings to applications, based on H D
Moore's "Terminal Emulator Security Issues" (CAN-2003-0070).
* src/vte.c(vte_sequence_handler_set_title_internal): strip out control
characters just to be on the safe side.

18 years agohome the cursor when we switch to the alternate screen (#105075).
Nalin Dahyabhai [Mon, 24 Feb 2003 22:45:07 +0000 (22:45 +0000)]
home the cursor when we switch to the alternate screen (#105075).

* src/vte.c(vte_sequence_handler_decset_internal): home the cursor when we
switch to the alternate screen (#105075).

18 years agoAdded "pt" to ALL_LINGUAS.
Duarte Loreto [Sun, 23 Feb 2003 02:52:09 +0000 (02:52 +0000)]
Added "pt" to ALL_LINGUAS.

2003-02-23  Duarte Loreto <happyguy_pt@hotmail.com>

        * configure.in: Added "pt" to ALL_LINGUAS.

18 years agoAdded Portuguese translation.
Duarte Loreto [Sun, 23 Feb 2003 02:51:05 +0000 (02:51 +0000)]
Added Portuguese translation.

2003-02-23  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Added Portuguese translation.

18 years agoAdded az to ALL_LINGUAS.
Metin Amiroff [Fri, 21 Feb 2003 11:54:44 +0000 (11:54 +0000)]
Added az to ALL_LINGUAS.

2003-02-21  Metin Amiroff  <metin@karegen.com>

* configure.in:  Added az to ALL_LINGUAS.

18 years agoAdded Azerbaijani translation.
Metin Amiroff [Fri, 21 Feb 2003 11:52:54 +0000 (11:52 +0000)]
Added Azerbaijani translation.

2003-02-21  Metin Amiroff  <metin@karegen.com>

* az.po: Added Azerbaijani translation.

18 years agoin debug mode, skip coverage assertions for specific keys (GDK_2 - GDK_8).
Nalin Dahyabhai [Fri, 21 Feb 2003 03:12:09 +0000 (03:12 +0000)]
in debug mode, skip coverage assertions for specific keys (GDK_2 - GDK_8).

* src/keymap.c(_vte_keymap_map): in debug mode, skip coverage assertions for
specific keys (GDK_2 - GDK_8).
* src/keymap.c: remove unshifted entries for GDK_2 - GDK_8 (#106667)

18 years agostop gratuitously resetting the IM context. correctly determine when we
Nalin Dahyabhai [Fri, 21 Feb 2003 01:20:44 +0000 (01:20 +0000)]
stop gratuitously resetting the IM context. correctly determine when we

* src/vte.c(vte_terminal_im_commit,vte_terminal_paste_cb): stop gratuitously
resetting the IM context.
* src/vte.c(vte_terminal_process_incoming): correctly determine when we have an
IM context -- it should be iff we're realized.
* src/vte.c(vte_terminal_key_press/release): only filter keypresses through the
IM context if we're realized, otherwise it doesn't exist.

18 years agoreverse that last change -- don't always assume proportional text.
Nalin Dahyabhai [Thu, 20 Feb 2003 19:27:17 +0000 (19:27 +0000)]
reverse that last change -- don't always assume proportional text.

* src/vte.c(vte_terminal_paint): reverse that last change -- don't always
assume proportional text.
* src/vte.c(vte_sequence_handler_ta): eliminate dead code.

18 years agomove the initial drawing x left whenever we back up to a previous cell to
Nalin Dahyabhai [Thu, 20 Feb 2003 08:12:12 +0000 (08:12 +0000)]
move the initial drawing x left whenever we back up to a previous cell to

* src/vte.c(vte_terminal_draw_row): move the initial drawing x left whenever
we back up to a previous cell to avoid drawing fragments.
* src/vte.c(vte_terminal_paint): always assume non-monospaced text, because the
"missing glyph" glyph consistently looks screwy otherwise.

18 years agodon't reset the input method here -- it may be in the middle of something
Nalin Dahyabhai [Thu, 20 Feb 2003 07:40:17 +0000 (07:40 +0000)]
don't reset the input method here -- it may be in the middle of something

* src/vte.c(vte_terminal_feed_child): don't reset the input method here -- it
may be in the middle of something (Red Hat #81542).
* src/vte.c(vte_terminal_im_commit): reset the input method when we get text
committed (Red Hat #81542).

18 years agoif we're not currently realized, don't try to tell our IM context that our
Nalin Dahyabhai [Thu, 20 Feb 2003 03:42:43 +0000 (03:42 +0000)]
if we're not currently realized, don't try to tell our IM context that our

* src/vte.c(vte_terminal_focus_in,vte_terminal_focus_out): if we're not
currently realized, don't try to tell our IM context that our focus
state changed, because we don't have one.  While we're at it, it's
silly to try to force the cursor to be drawn when we're not realized,
either.
* src/vte.c(vte_terminal_background_update): disconnect self, just in case we
were called directly while still queued, which would otherwise leak the
source, leading to potential problems later (Red Hat #84368).

18 years agouse gdk_window_scroll if the first row to be scrolled is the first visible
Nalin Dahyabhai [Thu, 20 Feb 2003 02:44:40 +0000 (02:44 +0000)]
use gdk_window_scroll if the first row to be scrolled is the first visible

* src/vte.c(vte_terminal_scroll_window): use gdk_window_scroll if the first row
to be scrolled is the first visible row, not if it's the first row we
ever saw (Red Hat #83472).

18 years ago- add bug ID from Red Hat bugzilla, for tracking
Nalin Dahyabhai [Thu, 20 Feb 2003 02:04:50 +0000 (02:04 +0000)]
- add bug ID from Red Hat bugzilla, for tracking

18 years agograb input focus on button 1 press (#106573).
Nalin Dahyabhai [Thu, 20 Feb 2003 02:03:59 +0000 (02:03 +0000)]
grab input focus on button 1 press (#106573).

* src/vte.c(vte_terminal_button_press): grab input focus on button 1 press
(#106573).

18 years agobe.po: Updated Belarusian translation from Belarusian team <i18n@mova.org>.
Dmitry Mastrukov [Wed, 19 Feb 2003 05:29:16 +0000 (05:29 +0000)]
be.po: Updated Belarusian translation from Belarusian team <i18n@mova.org>.

18 years agoadd missing chunk of fix for backtab.
Nalin Dahyabhai [Tue, 18 Feb 2003 20:54:21 +0000 (20:54 +0000)]
add missing chunk of fix for backtab.

* src/vte.c(vte_terminal_sequence_handler_bt): add missing chunk of fix for
backtab.

18 years agoturn on update debugging if VTE_DEBUG_FLAGS includes "updates"
Nalin Dahyabhai [Tue, 18 Feb 2003 20:19:03 +0000 (20:19 +0000)]
turn on update debugging if VTE_DEBUG_FLAGS includes "updates"

* src/vte.c: turn on update debugging if VTE_DEBUG_FLAGS includes "updates"

18 years agoadd map entries for unmodified digit keypresses.
Nalin Dahyabhai [Tue, 18 Feb 2003 20:00:56 +0000 (20:00 +0000)]
add map entries for unmodified digit keypresses.

* src/keymap.c: add map entries for unmodified digit keypresses.

18 years agouse the default cursor by default, so that we don't look weird to people
Nalin Dahyabhai [Tue, 18 Feb 2003 19:54:03 +0000 (19:54 +0000)]
use the default cursor by default, so that we don't look weird to people

* src/vte.c(vte_terminal_match_add): use the default cursor by default, so that
we don't look weird to people who aren't used to the cursor changing
this way.
* configure.in: forcibly define VTE_DEBUG to "1" when we define it.

18 years agoemit focus-event signals from the accessible peer when the widget receives
Nalin Dahyabhai [Tue, 18 Feb 2003 19:39:24 +0000 (19:39 +0000)]
emit focus-event signals from the accessible peer when the widget receives

* src/vteaccess.c: emit focus-event signals from the accessible peer when the
widget receives focus-in and focus-out events, noted by Marc Mulcahy.

18 years agoAdded "fa" to ALL_LINGUAS. Added Persian translation.
Roozbeh Pournader [Tue, 18 Feb 2003 14:13:16 +0000 (14:13 +0000)]
Added "fa" to ALL_LINGUAS. Added Persian translation.

2003-02-18  Roozbeh Pournader  <roozbeh@sharif.edu>

* configure.in: Added "fa" to ALL_LINGUAS.
* po/fa.po: Added Persian translation.

18 years agoadd vte_terminal_match_set_cursor() (#105986).
Nalin Dahyabhai [Tue, 18 Feb 2003 05:42:59 +0000 (05:42 +0000)]
add vte_terminal_match_set_cursor() (#105986).

* src/vte.c, src/vte.h: add vte_terminal_match_set_cursor() (#105986).

18 years agoadd @LDFLAGS@ to all of the LDADD clauses, hopefully fixing #105415.
Nalin Dahyabhai [Tue, 18 Feb 2003 05:02:07 +0000 (05:02 +0000)]
add @LDFLAGS@ to all of the LDADD clauses, hopefully fixing #105415.

* src/Makefile.am: add @LDFLAGS@ to all of the LDADD clauses, hopefully fixing
#105415.

18 years agorecognize and discard invalid arguments (#57453).
Nalin Dahyabhai [Tue, 18 Feb 2003 03:49:08 +0000 (03:49 +0000)]
recognize and discard invalid arguments (#57453).

* src/vte.c(vte_terminal_sequence_handler_cs): recognize and discard invalid
arguments (#57453).

18 years agoadd map entries for Ctrl+digit keys (#106193).
Nalin Dahyabhai [Tue, 18 Feb 2003 03:47:25 +0000 (03:47 +0000)]
add map entries for Ctrl+digit keys (#106193).

* src/keymap.c: add map entries for Ctrl+digit keys (#106193).

18 years agoAdded Italian translation by Francesco Marletta.
Alessio Frusciante [Mon, 17 Feb 2003 18:48:03 +0000 (18:48 +0000)]
Added Italian translation by Francesco Marletta.

18 years agoSome fixes for problems catched in translation review.
Christian Rose [Sun, 16 Feb 2003 20:04:45 +0000 (20:04 +0000)]
Some fixes for problems catched in translation review.

2003-02-16  Christian Rose  <menthos@menthos.com>

* sv.po: Some fixes for problems catched in translation review.

18 years agoconfigure.in: Added Belarusian to ALL_LINGUAS.
Dmitry Mastrukov [Sun, 16 Feb 2003 09:36:02 +0000 (09:36 +0000)]
configure.in: Added Belarusian to ALL_LINGUAS.

18 years agobe.po: Added Belarusian translation from Belarusian team <i18n@infonet.by>.
Dmitry Mastrukov [Sun, 16 Feb 2003 09:34:32 +0000 (09:34 +0000)]
be.po: Added Belarusian translation from Belarusian team <i18n@infonet.by>.

18 years agofix to move back to the leftmost column if there are no previous tabstops,
Nalin Dahyabhai [Fri, 14 Feb 2003 22:32:10 +0000 (22:32 +0000)]
fix to move back to the leftmost column if there are no previous tabstops,

* src/vte.c(vte_terminal_sequence_handler_bt): fix to move back to the leftmost
column if there are no previous tabstops, exercised by make menuconfig.
* src/vte.c(vte_terminal_background_update): handle pixbufs with n_channels!=3.

18 years agohandle width masks now that we're encoding widths for all characters.
Nalin Dahyabhai [Fri, 14 Feb 2003 21:58:18 +0000 (21:58 +0000)]
handle width masks now that we're encoding widths for all characters.

* src/interpret.c: handle width masks now that we're encoding widths for all
characters.

18 years ago- would help if i actually made the changes i changelogged
Nalin Dahyabhai [Fri, 14 Feb 2003 21:36:13 +0000 (21:36 +0000)]
- would help if i actually made the changes i changelogged

18 years agomore comments to keep myself from getting confused later.
Nalin Dahyabhai [Fri, 14 Feb 2003 21:35:09 +0000 (21:35 +0000)]
more comments to keep myself from getting confused later.

* src/vte.c: more comments to keep myself from getting confused later.

18 years agochange the coalescing timeout to 2ms.
Nalin Dahyabhai [Fri, 14 Feb 2003 04:46:08 +0000 (04:46 +0000)]
change the coalescing timeout to 2ms.

* src/vte.c: change the coalescing timeout to 2ms.

18 years agoattempt to coalesce data received within about 10ms to reduce load on the
Nalin Dahyabhai [Fri, 14 Feb 2003 03:50:48 +0000 (03:50 +0000)]
attempt to coalesce data received within about 10ms to reduce load on the

* src/vte.c(vte_terminal_io_read): attempt to coalesce data received
within about 10ms to reduce load on the X server on systems where the
scheduler wakes us up as soon as we have a few bytes available.  Based
on a suggested fix by msw.
* src/vte.c(vte_terminal_io_read): never free buf, it's not a heap
variable any more.  Spotted by msw.

18 years agoclose fd leak. close potential fd leak.
Nalin Dahyabhai [Thu, 13 Feb 2003 07:16:04 +0000 (07:16 +0000)]
close fd leak. close potential fd leak.

* src/vte.c(vte_terminal_finalize): close fd leak.
* src/vte.c(vte_terminal_fork_command): close potential fd leak.

18 years agohandle cases where the widget has no data and returns NULL when we ask for
Nalin Dahyabhai [Thu, 13 Feb 2003 07:00:21 +0000 (07:00 +0000)]
handle cases where the widget has no data and returns NULL when we ask for

* src/reflect.c(main): handle cases where the widget has no data and returns
NULL when we ask for it.

18 years agodo a complete read of the widget before we start off in main to ensure we
Nalin Dahyabhai [Thu, 13 Feb 2003 06:57:16 +0000 (06:57 +0000)]
do a complete read of the widget before we start off in main to ensure we

* src/reflect.c(main): do a complete read of the widget before we start off in
main to ensure we have accurate data.
* src/vteaccess.c(vte_terminal_accessible_update_private_data_if_needed): only
attempt to free the previous snapshot if it existed.

18 years agoconnect to signals before any get emitted. use a GString to store snapshot
Nalin Dahyabhai [Thu, 13 Feb 2003 06:50:02 +0000 (06:50 +0000)]
connect to signals before any get emitted. use a GString to store snapshot

* src/reflect.c(main): connect to signals before any get emitted.
* src/vteaccess.c: use a GString to store snapshot text so that we always have
proper length information.

18 years agospit out a warning if we receive an out-of-range text_changed::delete
Nalin Dahyabhai [Thu, 13 Feb 2003 05:01:28 +0000 (05:01 +0000)]
spit out a warning if we receive an out-of-range text_changed::delete

* src/reflect.c(text_changed_delete): spit out a warning if we receive an
out-of-range text_changed::delete signal.

18 years agoadd data for tracking ambiguous-width Unicode characters. add
Nalin Dahyabhai [Tue, 11 Feb 2003 20:21:43 +0000 (20:21 +0000)]
add data for tracking ambiguous-width Unicode characters. add

* src/genwidths, src/uniwidths: add data for tracking ambiguous-width Unicode
characters.
* src/iso2022.c, src/iso2022.h: add _vte_iso2022_is_ambiguous() for checking if
a character is ambiguous, and _vte_iso2022_ambiguous_width() for
guessing how wide it should be based on the current locale.  Rename
_vte_iso2022_get/set_width to ...encoded_width to clarify the intent,
ditto for the related macros.
* src/table.c,src/trie.c: use renamed macros for reading encoded widths.
* src/iso2022.c(_vte_iso2022_substitute_single,_vte_iso2022_substitute): handle
ambiguous widths properly, and always encode a width.
* src/Makefile.am: use the default LDFLAGS, I think.
* src/vte.c,src/vte.h: add vte_terminal_set_background_tint_color().
* src/vte.c(vte_terminal_unrealize): unhook from background update sources,
because we may not have a display after that.
* src/vte.c(vte_terminal_size_allocate): only queue a background update if
we're in transparent mode and either we've been moved or we have no
background yet.  If our size changed, force a repaint.
* src/vte.c(vte_sequence_handler_window_manipulation): snip off the padding
along the edges when responding to requests for the window size and
location -- apps have no way to query it.
* src/vte.c(vte_terminal_get_text_range): skip over fragments properly.
* src/vte.c(vte_terminal_draw_row): skip over fragments properly.
* src/vte.c(vte_unichar_width): rework in terms of the width checking in the
iso2022 module for consistency.

18 years agoTake over
Fatih Demir [Mon, 10 Feb 2003 23:34:42 +0000 (23:34 +0000)]
Take over

18 years agoAdded "id" to ALL_LINGUAS. Added Indonesian translation by Mohammad Damt
Christian Rose [Thu, 6 Feb 2003 10:58:25 +0000 (10:58 +0000)]
Added "id" to ALL_LINGUAS. Added Indonesian translation by Mohammad Damt

2003-02-06  Christian Rose  <menthos@menthos.com>

* configure.in: Added "id" to ALL_LINGUAS.
* po/id.po: Added Indonesian translation by
Mohammad Damt <mdamt@bisnisweb.com>.