| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=728900#c5
|
|
|
|
| |
svn path=/trunk/; revision=2000
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-28 Behdad Esfahbod <behdad@gnome.org>
Bug 403217 – Outdated README
* README: Rewrite.
svn path=/trunk/; revision=1999
|
|
|
|
| |
* README: add pointers to info on bidirectional text and shaping.
|
|
|
|
|
|
|
|
|
|
| |
* README: assorted updates.
* configure.in: check for <sys/termios.h>
* src/pty.c: include <sys/termios.h> if found (#141392).
* src/dumpkeys.c, src/mev.c, src/pty.c, src/ssfe.c, src/vte.c: do the same.
* doc/reference/vte-sections.txt: add several functions which are new but
which weren't in the generated docs before.
* doc/reference/vte-unused.txt: sort.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* README: ask for LC_* in addition to LANG if weird spacing errors crop up.
* src/vteconv.c,src/vteconv.h: add wrappers for _vte_conv which weed out some
compiler warnings.
* src/iso2022.c: use _vte_conv_cu instead of _vte_conv.
* src/trie.c: use _vte_conv_cu instead of _vte_conv.
* src/vte.c: give _vte_terminal_fudge_pango_colors a return type again.
* src/vtebg.c: ifdef out vte_bg_source_name, which is unused.
* src/vtebg.c,src/vterdb.c: wrap calls to gdk_property_get to weed out some
compiler warnings.
|
|
|
|
|
|
|
|
| |
* src/vtebg.c(_vte_bg_get_pixmap, _vte_bg_get_pixbuf): trap X errors while
retrieving the contents of the root pixmap.
* doc/ambiguous.txt: add.
* README: update.
* vte.spec: rebuild.
|
|
|
|
|
|
|
|
|
|
| |
* src/buffer.c: add a short test program.
* src/iso2022.c: use hard values instead of GDK defines in the 0 map. Add
_vte_iso2022_substitute_single() for performing a single mapping
operation.
* src/vte.c: use _vte_iso2022_substitute_single() instead of a local mapping
table when mapping line-drawing charset data, simplifies maintenance
of the mapping.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: add "uk" to the list of languages.
* src/vte.h: remove the alternate attribute bit -- it's no longer meaningful.
* python/vte.override: remove the alternate attribute, add the strikethrough
attribute.
* src/vte.c (vte_terminal_insert_char): perform drawing character set to
Unicode mapping at insertion time if the alternate attribute is set,
otherwise discarding the attribute. If the character being inserted is
a graphic character, force its width to 1 or 2 depending on the current
codeset (#99603).
* src/vte.c (xlfd_from_pango_font_description): take advantage of XftXlfdParse
if we were built with Xft, as it appears to handle family aliases.
* src/vte.c (vte_terminal_draw_graphic): decide what to draw using Unicode code
points (instead of reverse mappings to drawing set), and implement the
double-thick versions of many of the existing glyphs. Return a boolean
indicating whether or not we drew something.
* src/vte.c (vte_terminal_draw_row): if vte_terminal_draw_graphic() returns
FALSE, try to draw the graphic character using the current font.
* src/vte.c (vte_terminal_paint): if vte_terminal_draw_graphic() returns FALSE,
try to draw the graphic character using the current font.
* src/caps.c: add the undocumented default 0 to the OSC set text parameters
sequence (#100468).
* README: updates.
* src/iso2022.c, src/iso2022.h: add a width mask for overriding widths for
ambiguous Unicode characters, and _vte_iso2022_get_width() for reading
the width, using unused bits in Unicode in a manner similar to
http://www.cl.cam.ac.uk/~mgk25/ucs/iso2022-wc.html
* src/table.c,src/trie.c: strip out iso2022 widths when extracting parameters
of control sequences.
* src/vte.c: heed iso2022 widths when inserting characters into the screen
buffer, but clear then before storing them so that copy and paste will
continue to work.
* src/matcher.c, src/matcher.h: add matcher, a wrapper for table and trie, and
move _vte_table_narrow_encoding and _vte_table_wide_encoding to this
module.
|
|
|
|
|
|
|
|
| |
* src/vte.c: ensure that when we select by line, we include all of the last
line, even if it's past the edge of the screen. Snap selection to the
beginning or end of a line when selecting lines which don't exist.
Only strip off whitespace if there's nothing but whitespace to the right
of the selection. Chuck the non-wrapping selection code.
|
|
|
|
|
|
| |
* NEWS: be more verbose.
* README: add more items to the TODO list so that I don't forget them.
* src/vte.c: ifdef out some of the selection code.
|
|
|
|
|
| |
* README, gnome-pty-helper/README: Doc fixups (mention gnome-terminal instead
of profterm, note the proper permissions for gnome-pty-helper, #84505).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Check for wint_t and attempt to allow compiles even when wint_t
isn't defined (this type is used only debug code, so it shouldn't break
anything).
* src/caps.c: Remove "te" and "ti", which are logical, in the same way "so" is,
from the known capabilities lists. Add a "is a key" field to the
termcap list so that we don't match against keystrokes in case they're
also control sequences.
* src/interpret.c: Use tables instead of tries. Don't add key sequences to the
table.
* src/pty.c: Fix incorrect invocation in sample.
* src/reaper.c: Include stdlib.h to quiet compiler warning.
* src/trie.c, src/trie.h: Remove the unused precomputing routines.
* src/utf8echo.c: Switch to link with tables instead of tries.
* src/vte.c: Switch to using tables instead of tries. Don't add key sequences
to the table. Map cursor-backward to LE instead of le, which handles
parameters right. Tune updates so that they occur less often when we're
processing large amounts of data from the child. Add a
'status-line-changed' signal. Implement fs() and fix ts(). Add
::get_status_line() to get the contents of the status line. Obey it()
when setting default tabstops. Implement cursor_next_line(),
cursor_lower_left(), cursor_preceding_line(),
cursor_horizontal_and_vertical_position(), erase_characters(), and
insert_blank_characters(). Implement nw().
|
|
|
|
|
|
|
|
|
|
| |
* README: Note that bold isn't broken any more.
* termcaps/xterm: Note that k; was added.
* src/pty.c: Set the proper number of columns in the initial window size.
* src/ring.h: Change macro argument names to hopefully not step on application
code.
* src/vte.c: Set the terminal size to the default size as specified in termcap
at init-time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Actually set ALL_LINGUAS so translations get installed.
* README: Document the weirdness that is cursor movement around wide characters.
* src/vte.defs: Bind set_color_bold().
* src/debug.c: Suppress warnings when $VTE_DEBUG_FLAGS isn't set.
* src/pty.c, src/reaper.c, src/termcap.c, src/trie.c: Provide for debug messages
in the test program.
* src/interpret.c, src/trie.c: Use libc stdio instead of g_print for printing
what might be part of a multibyte sequence because g_print checks for
validity.
* src/interpret.c, src/trie.c, src/utf8echo.c, src/vte.c: Use gunichar instead
of wchar_t in places where a gunichar is expected. Provide a means for
converting from wchar_t to gunichar for the sake of X11 calls which want
a wchar_t.
* src/trie.c: Provide vte_trie_wide_encoding() for finding a giconv target
which is hopefully compatible with gunichar. Likewise provide
vte_trie_narrow_encoding() to find one compatible with iso-8859-1.
* src/vte.c: Fall back to ISO-8859-1 if we can't set things up for the current
locale encoding at startup time. Fall back to the current encoding if
we can't perform a given dynamic switch.
|
|
|
|
| |
* src/vte.c: Make shift+button1 extend selection.
|
|
|
|
|
|
|
| |
* src/trie.c (vte_trie_match, vte_trie_match_x): Sort out greedy vs. non-greedy
pattern matching.
* src/vte.c (vte_sequence_handler_decset_internal): Make 1047 an alias for 47
(use alternate buffer), and handle cursor save/restore properly.
|
|
|
|
|
| |
* src/vte.c: Fix hilite clearing when scrolling delta != 0.
* src/debug.c, src/debug.h: Actually add the signals debugging flag.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Check for pangoxft with Xft1 or Xft2, hopefully getting
things right for either case. Patches by andersca and otaylor.
* src/reaper.c, src/reaper.h: Add a singleton object to watch for
SIGCHLD when child processes quit.
* src/vte.c, src/vte.h: Add get_cursor_position(). Remove get_snapshot()
and free_shapshot(). Emit a "child-exited" signal when a child started
with fork_command() exits. Fix a logic bug that caused us to scroll
to the bottom even if the user just pressed and released a modifier
key. Fix saving of the font in set_font() in most cases, where we
weren't saving the new font before. Scroll-to-bottom on input method
commits, which are also the result of keystrokes, when
scroll-on-keystroke is enabled.
* src/vte.c: Use FcNameUnparse() instead of XftNameUnparse in Xft2. Patch from
otaylor.
* src/vte.defs: Add. Not very useful yet.
* src/vteaccess.c: Rework to use get_text() and get_cursor_position()
instead of get_snapshot(), so that selection and accessibility both
agree on what's visible (or "visible").
|
|
|
|
|
|
|
|
| |
* autogen.sh: Call libtoolize. (#82836)
* src/vte.c: Fix stupid segfault in set_scrollback_lines. (Patch from notting.)
Make another attempt to convert Pango font descriptions to xlfds.
* src/vte.c, src/vte.h: Expose set_emulation().
* src/vteapp.c: Add -c, -f, -t command-line flags for easier testing.
|
|
|
|
|
| |
* src/vte.c: Fix hiliting of matched strings to better match the returned
matched string in match_check().
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* src/vte.c: Implement bt, ct, st. Reimplement ta.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* README: Fix typo.
* src/vte.c: Make blinking cursors stay on while the user is typing, desaturate images using integer math.
|
| |
|
|
|
|
| |
Updates to the meager docs.
|
| |
|
| |
|
|
|