| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Revert "Do some symbol hiding"
This reverts commit 296a3cbaf6b69555f7d6cdc639dc57c51f2e2bba.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-17 Chris Wilson <chris@chris-wilson.co.uk>
As part of Bug 397439.
* src/matcher.c: (_vte_matcher_add), (_vte_matcher_create),
(_vte_matcher_destroy), (_vte_matcher_new), (_vte_matcher_match),
(_vte_matcher_print):
* src/matcher.h:
* src/table.c: (_vte_table_new):
* src/table.h:
* src/trie.c: (_vte_trie_new):
* src/trie.h:
_vte_match_match() is called extremely frequently, and the
switch shows up on the profiles. Replace the switch with a
function pointer obtained by introducing function tables for
the matcher implementations.
svn path=/trunk/; revision=1444
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/debug.h: include <glib.h> for gboolean type definition.
* src/matcher.c: include "config.h" and "debug.h".
* src/matcher.h: use G_BEGIN_DECLS/G_END_DECLS
* src/table.h: use G_BEGIN_DECLS/G_END_DECLS
* src/termcap.h: include <glib.h>, again for gboolean.
* src/vtebg.h,src/vterdb.h,src/vtergb.h: adjust macro used to prevent multiple
inclusions to match the rest of the tree.
* src/vtefc.c(_vte_fc_patterns_from_pango_font_desc): provide a callback which
can be used to override all defaults.
* src/vtegl.h,src/vtexft.h: don't include "config.h"
* src/vteglyph.c, src/vteglyph.h: add _vte_glyph_get_uncached().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: 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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|