vte.git
18 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().

18 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.

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

18 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)

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

19 years agoUncomment the tag target.
Nalin Dahyabhai [Thu, 25 Apr 2002 16:23:46 +0000 (16:23 +0000)]
Uncomment the tag target.

19 years agoAdd some targets for building tarballs in a hopefully-reproducible way.
Nalin Dahyabhai [Thu, 25 Apr 2002 16:22:36 +0000 (16:22 +0000)]
Add some targets for building tarballs in a hopefully-reproducible way.

19 years agoLet GDK_USE_XFT turn on Xft as well as VTE_USE_XFT.
Nalin Dahyabhai [Thu, 25 Apr 2002 16:12:01 +0000 (16:12 +0000)]
Let GDK_USE_XFT turn on Xft as well as VTE_USE_XFT.

* src/vte.c: Let GDK_USE_XFT turn on Xft as well as VTE_USE_XFT.

19 years agoHandle decoding errors better.
Nalin Dahyabhai [Thu, 25 Apr 2002 05:45:30 +0000 (05:45 +0000)]
Handle decoding errors better.

* src/vte.c: Handle decoding errors better.

19 years agoInclude pkgconfig files in the package.
Nalin Dahyabhai [Thu, 25 Apr 2002 04:49:26 +0000 (04:49 +0000)]
Include pkgconfig files in the package.

* vte.spec: Include pkgconfig files in the package.

19 years agosrc/vte.c: Make multiple calls to set_background_transparent() and set_background_ima...
Nalin Dahyabhai [Thu, 25 Apr 2002 04:43:36 +0000 (04:43 +0000)]
src/vte.c: Make multiple calls to set_background_transparent() and set_background_image() do the right thing.

19 years agoReverse the sanity check in vte_terminal_set_background_image_file() so
Nalin Dahyabhai [Thu, 25 Apr 2002 04:05:53 +0000 (04:05 +0000)]
Reverse the sanity check in vte_terminal_set_background_image_file() so

* src/vte.c: Reverse the sanity check in vte_terminal_set_background_image_file() so that it rejects zero-length strings, not the other way around.

19 years agoDemote some debug messages to being trie-specific debug messages. Declare
Nalin Dahyabhai [Thu, 25 Apr 2002 03:54:03 +0000 (03:54 +0000)]
Demote some debug messages to being trie-specific debug messages. Declare

* src/trie.c: Demote some debug messages to being trie-specific debug messages.
* src/vte.h: Declare vte_terminal_set_core_font() for non-Xft use.
* src/vte.c: Adjust idle priorities to make the terminal be more responsive; fix a double-free that corrupted the heap on core font loads; rework some pixbuf handling; revert a patch for profterm crackiness that's gone now.

19 years agoupdate to-do list. remove --disable-shared. remove a memory leak. fix a
Nalin Dahyabhai [Thu, 25 Apr 2002 00:49:15 +0000 (00:49 +0000)]
update to-do list. remove --disable-shared. remove a memory leak. fix a

* README: update to-do list.
* autogen.sh: remove --disable-shared.
* src/pty.c: remove a memory leak.
* src/termcap.c: fix a possible read-before-start-of-buffer.
* src/trie.c: use iconv instead of mbrstowcs, even if it's just ASCII->W_CHAR_T.
* src/vte.c: fix a few memory leaks; only reset the IM context when we're realized, which is the only time we actually have an IM context; don't create a copy of a pixbuf if we don't need to desaturate it, just ref it and use it directly.

19 years agosrc/vte.c: Display UTF-8 preedit strings properly, fix copy (no, really this time...
Nalin Dahyabhai [Tue, 23 Apr 2002 23:40:10 +0000 (23:40 +0000)]
src/vte.c: Display UTF-8 preedit strings properly, fix copy (no, really this time), and reset IM contexts when pasting text in.

19 years agosrc/pty.c: Print debug messages before redirecting stdio.
Nalin Dahyabhai [Tue, 23 Apr 2002 22:01:13 +0000 (22:01 +0000)]
src/pty.c: Print debug messages before redirecting stdio.
src/vte.c: Fix displaying of highlighted multi-column text.
Use the GTK global setting for cursor blinking to control das blinkencursor.
src/vte.h: Remove function for setting blinking timeout.

19 years agosrc/pty.c: Fix a compile warning.
Nalin Dahyabhai [Tue, 23 Apr 2002 19:54:51 +0000 (19:54 +0000)]
src/pty.c: Fix a compile warning.

19 years agoautogen.sh: Default to include optimization, even for debugging.
Nalin Dahyabhai [Tue, 23 Apr 2002 19:54:08 +0000 (19:54 +0000)]
autogen.sh: Default to include optimization, even for debugging.
configure.in: Move AM_CONFIG_HEADER to the top.
src/pty.c: Create non-login shells by default (when argv is NULL).
src/vte.c: Add mostly-complete input method support.
src/vte.h: Add vte_terminal_im_append_menuitems().

19 years agoadd vte_terminal_set_font
Havoc Pennington [Tue, 23 Apr 2002 17:04:33 +0000 (17:04 +0000)]
add vte_terminal_set_font

19 years agowhen setting background color, use allocated color, and don't overwrite with bg of...
Havoc Pennington [Mon, 22 Apr 2002 21:00:44 +0000 (21:00 +0000)]
when setting background color, use allocated color, and don't overwrite with bg of None

19 years agouse gdk_rgb_find_color to allocate X colors
Havoc Pennington [Mon, 22 Apr 2002 20:50:01 +0000 (20:50 +0000)]
use gdk_rgb_find_color to allocate X colors

19 years agoAdd vte_terminal_feed_child() to send UTF-8 strings to the child process, and
Nalin Dahyabhai [Mon, 22 Apr 2002 20:35:47 +0000 (20:35 +0000)]
Add vte_terminal_feed_child() to send UTF-8 strings to the child process, and
actually apply Havoc's fix right this time.

19 years agosrc/vte.c: Prevent double-free of incoming buffer (patch from Havoc).
Nalin Dahyabhai [Mon, 22 Apr 2002 13:56:00 +0000 (13:56 +0000)]
src/vte.c: Prevent double-free of incoming buffer (patch from Havoc).

19 years agoFix typo. Make blinking cursors stay on while the user is typing,
Nalin Dahyabhai [Tue, 16 Apr 2002 05:43:26 +0000 (05:43 +0000)]
Fix typo. Make blinking cursors stay on while the user is typing,

* README: Fix typo.
* src/vte.c: Make blinking cursors stay on while the user is typing, desaturate images using integer math.

19 years agoAdd less useless descriptions. Fix an uninitialized variable and missing
Nalin Dahyabhai [Fri, 5 Apr 2002 05:58:37 +0000 (05:58 +0000)]
Add less useless descriptions. Fix an uninitialized variable and missing

* vte.spec: Add less useless descriptions.
* src/vte.c: Fix an uninitialized variable and missing declaration error.

19 years agoEnsure that there's a data row whenever we scroll forward, fixing
Nalin Dahyabhai [Mon, 25 Mar 2002 02:52:02 +0000 (02:52 +0000)]
Ensure that there's a data row whenever we scroll forward, fixing

* src/vte.c: Ensure that there's a data row whenever we scroll forward, fixing strangeness when I suspend and resume vim.

19 years agocopy to clipboard synchronously, which fixes a number of problems
Nalin Dahyabhai [Mon, 25 Mar 2002 00:08:36 +0000 (00:08 +0000)]
copy to clipboard synchronously, which fixes a number of problems

* src/vte.c: copy to clipboard synchronously, which fixes a number of problems
implement background transparency
* src/vteapp.c: no changes(?)

19 years agoRework backgrounds to take advantage of gdk's automatic drawing. Try to
Nalin Dahyabhai [Mon, 18 Mar 2002 01:59:22 +0000 (01:59 +0000)]
Rework backgrounds to take advantage of gdk's automatic drawing. Try to

* vte.c: Rework backgrounds to take advantage of gdk's automatic drawing.
* vteapp.c: Try to enable transparency if no background image is present.

19 years agoAdjust warnings used when in maintainer mode.
Nalin Dahyabhai [Mon, 18 Mar 2002 01:58:34 +0000 (01:58 +0000)]
Adjust warnings used when in maintainer mode.

* autogen.sh configure.in: Adjust warnings used when in maintainer mode.

19 years agoDraw the cursor as an unfilled box when the widget does not have focus.
Nalin Dahyabhai [Sun, 17 Mar 2002 06:15:45 +0000 (06:15 +0000)]
Draw the cursor as an unfilled box when the widget does not have focus.

* src/vte.c: Draw the cursor as an unfilled box when the widget does not have focus.

19 years agoFix handling of scroll-on-output to always scroll when we're at the bottom
Nalin Dahyabhai [Sun, 17 Mar 2002 06:04:02 +0000 (06:04 +0000)]
Fix handling of scroll-on-output to always scroll when we're at the bottom

* src/vte.c: Fix handling of scroll-on-output to always scroll when we're at the bottom of the buffer.
* src/vteapp.c: Disable scroll-on-output by default.

19 years agoRework tiling of background images, and implement a blinking cursor. Set
Nalin Dahyabhai [Sun, 17 Mar 2002 05:46:00 +0000 (05:46 +0000)]
Rework tiling of background images, and implement a blinking cursor. Set

* src/vte.c src/vte.h: Rework tiling of background images, and implement a blinking cursor.
* src/vteapp.c: Set blinking cursor by default.

19 years agoCorrections to some xterm control sequences.
Nalin Dahyabhai [Thu, 14 Mar 2002 07:58:34 +0000 (07:58 +0000)]
Corrections to some xterm control sequences.

* caps.c: Corrections to some xterm control sequences.

19 years agoDefine PACKAGE correctly. Move most of the tear-down code into the widget
Nalin Dahyabhai [Thu, 14 Mar 2002 07:32:12 +0000 (07:32 +0000)]
Define PACKAGE correctly. Move most of the tear-down code into the widget

* configure.in: Define PACKAGE correctly.
* src/vte.c src/vteapp.c: Move most of the tear-down code into the widget finalize method; handle EOF and widget destruction correctly to prevent segfaults.

19 years agoDefine PACKAGE.
Nalin Dahyabhai [Thu, 14 Mar 2002 05:48:43 +0000 (05:48 +0000)]
Define PACKAGE.

* configure.in: Define PACKAGE.

19 years agoDisable gdk-pixbuf's deprecated functions. Discard non-ascii bytes to
Nalin Dahyabhai [Thu, 14 Mar 2002 05:18:44 +0000 (05:18 +0000)]
Disable gdk-pixbuf's deprecated functions. Discard non-ascii bytes to

* configure.in: Disable gdk-pixbuf's deprecated functions.
* vte.c: Discard non-ascii bytes to clear logjams that happen when we pass invalid terminal data to iconv().

19 years agofix missing includes implement background color setting, provide a
Nalin Dahyabhai [Thu, 14 Mar 2002 04:07:14 +0000 (04:07 +0000)]
fix missing includes implement background color setting, provide a

* iso8859mode.c utf8mode.c: fix missing includes
* vte.c vte.h: implement background color setting, provide a function for setting the defaults, tile background images properly

19 years agoRemove gdk-pixbuf-xlib dependency by using just gdk-pixbuf. Perform
Nalin Dahyabhai [Thu, 14 Mar 2002 02:12:38 +0000 (02:12 +0000)]
Remove gdk-pixbuf-xlib dependency by using just gdk-pixbuf. Perform

* configure.in vte.pc.in vte.c: Remove gdk-pixbuf-xlib dependency by using just gdk-pixbuf.
* vte.c: Perform background image desaturation locally.

19 years agoDon't add the widget's allocation offsets when generating expose events.
Nalin Dahyabhai [Wed, 13 Mar 2002 19:37:30 +0000 (19:37 +0000)]
Don't add the widget's allocation offsets when generating expose events.

* vte.c: Don't add the widget's allocation offsets when generating expose events.

19 years ago*vteapp.c: Don't try to use transparency for now.
Nalin Dahyabhai [Wed, 13 Mar 2002 19:22:58 +0000 (19:22 +0000)]
*vteapp.c: Don't try to use transparency for now.

19 years agoAdd more functions that profterm can use.
Anders Carlsson [Wed, 13 Mar 2002 18:29:20 +0000 (18:29 +0000)]
Add more functions that profterm can use.

19 years agoSilent cvs and add gdk-pixbuf-xlib to depends in the .pc.in file
Anders Carlsson [Wed, 13 Mar 2002 17:51:53 +0000 (17:51 +0000)]
Silent cvs and add gdk-pixbuf-xlib to depends in the .pc.in file

19 years agoSliff sloff
Anders Carlsson [Wed, 13 Mar 2002 17:37:48 +0000 (17:37 +0000)]
Sliff sloff

19 years agosssh
Anders Carlsson [Wed, 13 Mar 2002 17:37:20 +0000 (17:37 +0000)]
sssh

19 years agoAdd gdk-pixbuf-xlib-2.0 as a module requirement.
Nalin Dahyabhai [Wed, 13 Mar 2002 17:19:56 +0000 (17:19 +0000)]
Add gdk-pixbuf-xlib-2.0 as a module requirement.

* configure.in: Add gdk-pixbuf-xlib-2.0 as a module requirement.

19 years agoAdd set_size, set_audible_bell, set_scroll_on_output,
Nalin Dahyabhai [Wed, 13 Mar 2002 06:21:56 +0000 (06:21 +0000)]
Add set_size, set_audible_bell, set_scroll_on_output,

* vte.c: Add set_size, set_audible_bell, set_scroll_on_output,
 set_scroll_on_keystroke, copy_clipboard, paste_clipboard,
 set_background_image, set_background_image_file, and
 set_background_saturation.  Also added a broken
 set_background_transparent.
* vte.h: Add prototypes for those new functions.

19 years agofix the name of a declared function (was _set_size, is _size_set)
Nalin Dahyabhai [Wed, 13 Mar 2002 03:35:47 +0000 (03:35 +0000)]
fix the name of a declared function (was _set_size, is _size_set)

* vte.c: fix the name of a declared function (was _set_size, is _size_set)

19 years agoGet rid of a global copy of the parent class. Implement ec, ic, and IC
Nalin Dahyabhai [Wed, 13 Mar 2002 03:11:07 +0000 (03:11 +0000)]
Get rid of a global copy of the parent class. Implement ec, ic, and IC

* vte.c: Get rid of a global copy of the parent class.
* vte.c: Implement ec, ic, and IC handlers.

19 years agoFix a typo in a comment (we don't "omit" signals).
Nalin Dahyabhai [Wed, 13 Mar 2002 03:10:01 +0000 (03:10 +0000)]
Fix a typo in a comment (we don't "omit" signals).

* vte.h: Fix a typo in a comment (we don't "omit" signals).

19 years agocaps.c: Recognize xterm cursor-character-absolute sequence.
Nalin Dahyabhai [Tue, 12 Mar 2002 20:48:30 +0000 (20:48 +0000)]
caps.c: Recognize xterm cursor-character-absolute sequence.
vte.c: Handle cursor-character-absolute.
vte.c: Change the default font to "mono" 14 point when using Xft.

19 years agoHandle the ve (cursor visible) control sequence.
Nalin Dahyabhai [Tue, 12 Mar 2002 20:22:57 +0000 (20:22 +0000)]
Handle the ve (cursor visible) control sequence.

* vte.c: Handle the ve (cursor visible) control sequence.

19 years agovte.c: Handle dec private mode set (cursor visibility).
Nalin Dahyabhai [Tue, 12 Mar 2002 20:19:09 +0000 (20:19 +0000)]
vte.c: Handle dec private mode set (cursor visibility).

19 years agofix signed/unsigned problems (fixes from alexl) fix signed/unsigned
Nalin Dahyabhai [Tue, 12 Mar 2002 20:13:23 +0000 (20:13 +0000)]
fix signed/unsigned problems (fixes from alexl) fix signed/unsigned

* vte.c: fix signed/unsigned problems (fixes from alexl)
* vte.h: fix signed/unsigned problems (fixes from alexl)
* vteapp.h: fix signed/unsigned problems (fixes from alexl)

19 years agoMake scroll-on-output scroll on control sequences, too.
Nalin Dahyabhai [Tue, 12 Mar 2002 01:29:09 +0000 (01:29 +0000)]
Make scroll-on-output scroll on control sequences, too.

* src/vte.c: Make scroll-on-output scroll on control sequences, too.

19 years agoutf8mode.c: Add simple programs for moving a terminal in and out of UTF-8 mode.
Nalin Dahyabhai [Tue, 12 Mar 2002 01:19:40 +0000 (01:19 +0000)]
utf8mode.c: Add simple programs for moving a terminal in and out of UTF-8 mode.
iso8859mode.c: Add simple programs for moving a terminal in and out of UTF-8 mode.
vte.c: Be more verbose about iconv() errors.
vte.c: Implement dc and DC handlers.
vte.c: Handle auto-wrapping (the "am" flag).
vte.c: Remove scrolling cheats from the al handler, which made the window jump.

19 years agoAdd a finalize handler and free our title strings there.
Anders Carlsson [Mon, 11 Mar 2002 07:39:01 +0000 (07:39 +0000)]
Add a finalize handler and free our title strings there.

19 years agoEmit "window_title_changed" and "icon_title_changed" when the titles change,
Nalin Dahyabhai [Mon, 11 Mar 2002 07:05:47 +0000 (07:05 +0000)]
Emit "window_title_changed" and "icon_title_changed" when the titles change,
and store the new values in a public field so that a handler can retrieve the
values (patch from Anders Carlsson).

19 years agoAdd vte.pc, from Anders Carlsson.
Nalin Dahyabhai [Mon, 11 Mar 2002 06:54:51 +0000 (06:54 +0000)]
Add vte.pc, from Anders Carlsson.

19 years agoFix a duplicate-idle-handler bug.
Nalin Dahyabhai [Mon, 11 Mar 2002 06:47:00 +0000 (06:47 +0000)]
Fix a duplicate-idle-handler bug.

19 years agoFix selection (except maybe the end-of-line stuff).
Nalin Dahyabhai [Mon, 11 Mar 2002 06:32:38 +0000 (06:32 +0000)]
Fix selection (except maybe the end-of-line stuff).

19 years agoWhoops, I broke selection. Fix that.
Nalin Dahyabhai [Mon, 11 Mar 2002 04:44:31 +0000 (04:44 +0000)]
Whoops, I broke selection.  Fix that.
Implement selection by lines.