1. 15 Sep, 2003 1 commit
  2. 13 Aug, 2003 1 commit
    • Nalin Dahyabhai's avatar
      if we don't find the python headers (even if we found python), disable · 54a1c9d3
      Nalin Dahyabhai authored
      * configure.in: if we don't find the python headers (even if we found python),
      	disable compilation of python bindings (bug #116756).  Make the checks
      	for python support sequential for easier maintenance.
      * python/vte.defs: add def for vte_terminal_match_set_cursor_type.  Make the
      	color argument to vte_terminal_set_background_tint_color const.
      * python/vte.override(_wrap_vte_terminal_forkpty): add.
      * python/vte.override(_wrap_vte_terminal_fork_command): don't leak envv.
      54a1c9d3
  3. 12 Aug, 2003 1 commit
    • Nalin Dahyabhai's avatar
      reorder arguments to match the order for the C versions (#118882). fix · 6b1e9298
      Nalin Dahyabhai authored
      * python/vte.override(get_text,get_text_range): reorder arguments to match
      	the order for the C versions (#118882).
      * python/vte.override(get_text,get_text_range,call_callback): fix refcounting
      	and callback argument marshalling (bug #118882).
      * python/vte-demo.py: exercies get_text() on "window-raise" signals.
      6b1e9298
  4. 11 Aug, 2003 4 commits
  5. 06 Mar, 2003 1 commit
  6. 10 Dec, 2002 1 commit
    • Nalin Dahyabhai's avatar
      add "uk" to the list of languages. remove the alternate attribute bit -- · 8145dde6
      Nalin Dahyabhai authored
      * 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.
      8145dde6
  7. 05 Nov, 2002 1 commit
    • Nalin Dahyabhai's avatar
      handle end-of-line selection correctly. Stop highlighting selection on · 2a94d48c
      Nalin Dahyabhai authored
      * src/vte.c: handle end-of-line selection correctly.  Stop highlighting
      	selection on click, but don't lose it until new text is selected.
      * python/vte.override: fix binding for set_colors() to properly take a
      	list of colors for the palette (#97682).
      * src/vte.c, src/vte.h: add increase-font-size and decrease-font-size to allow
      	mimicking XTerm's and Mozilla's behavior on Shift/Control
      	KP_Add/KP_Subtract
      * src/vteapp.c: handle increase-font-size and decrease-font-size.
      2a94d48c
  8. 25 Oct, 2002 1 commit
    • Nalin Dahyabhai's avatar
      snip off final newlines when we're matching, they're usually not wanted. · 25f08488
      Nalin Dahyabhai authored
      * src/vte.c (vte_terminal_match_check_internal): snip off final newlines when
      	we're matching, they're usually not wanted.
      * src/pty.c, src/pty.h: replace the simpler pty_open() function with a logging
      	version, adding the ability to specify a startup directory (Red Hat
      	#76529).
      * src/vte.c, src/vte.h: replace the simpler fork_command() function with a
      	logging version, adding the ability to specify a startup directory (Red
      	Hat #76529).
      * src/vteapp.c: modify call to handle new fork_command().
      * python/vte.defs: update as above.
      * python/vte.override: modify call to handle new fork_command(), adding an
      	optional "directory" argument.
      * src/vte.c: refactor the selection code, cleaning up when selection is
      	cleared/started/extended (#95783).  Grab focus whenever we get button
      	press or release or motion events.
      * src/vte.c: rework how wide characters are stored to allow storing tabs
      	(#95958).
      * python/vte.override: wrap vte_terminal_get_text() and
      	vte_terminal_get_text_range().  Based on patch from ha shao (#96230).
      * src/vte.c, src/vte.h: add a user pointer argument to get_text callbacks
      	(#96230).
      * src/Makefile.am: bump shared library version because we changed a public
      	function's signature.  Take the opportunity to replace padding fields
      	which had previously been used up.
      25f08488
  9. 18 Oct, 2002 1 commit
  10. 16 Oct, 2002 1 commit
    • Nalin Dahyabhai's avatar
      adjust our adjustments whenever a line might scroll off the top of the · b68e4014
      Nalin Dahyabhai authored
      * src/vte.c: adjust our adjustments whenever a line might scroll off the top of
      	the buffer.  Fix computation of the new insertion delta to ensure that
      	it never goes below the scroll delta, which should fix the resizing
      	crashes, and add some debug assertions to verify this.
      * configure.in, python/Makefile.am: build the python bindings as a library,
      	not a binary with wacky ldflags.
      * src/vte.c: don't try to close the pty at finalize time if we didn't open
      	it.  Patch from ha shao.
      * src/keymap.c, src/keymap.h: move the addition of modifiers into a separate
      	function.  Add the function key strings from terminfo for fkey_sun and
      	fkey_hp cases.  Make control+F1 = F13 only in vt220 mode.
      * src/vte.c: apply modifiers to function keys in normal and legacy modes.
      b68e4014
  11. 15 Oct, 2002 1 commit
  12. 14 Oct, 2002 2 commits
    • Nalin Dahyabhai's avatar
      note that commit came about because of mail from ha shao. add a couple of · b648a00d
      Nalin Dahyabhai authored
      * ChangeLog: note that commit came about because of mail from ha shao.
      * python/cat.py: add a couple of comments.
      b648a00d
    • Nalin Dahyabhai's avatar
      more $pkglibdir -> $libexecdir fixing. add rules for generating ps and · cda7db5a
      Nalin Dahyabhai authored
      * configure.in: more $pkglibdir -> $libexecdir fixing.
      * doc/Makefile.am: add rules for generating ps and text versions of the ctlseqs
      	docs.
      * doc/reference/tmpl/vte.sgml: add snippet for "commit".
      * python/python/vte.defs: update to add a binding for
      	vte_terminal_fork_logged_command().
      * src/buffer.h: add a warning comment that these are private interfaces.  Wrap
      	declarations in G_BEGIN_DECLS/G_END_DECLS.
      * src/caps.h: add macros for the SS2/SS3 sequences.
      * src/marshal.list: add a marshaller for the "commit" signal.
      * src/keymap.c, src/keymap.h: move the getting-more-convoluted keypress-handling
      	code to a shell that parses tables of static info.
      * src/pty.c: reset signal handlers before exec() (Red Hat #75341)
      * src/vte.c: use the keymap for most non-printable keys.  Add a "commit" signal
      	to allow an app to just use the terminal for displaying data and
      	grabbing input.  Obey the application's desired meta-sends-escape
      	setting.  Recognize HP function key mode.  Recognize and handle legacy
      	XTerm function key mode.  Force a redraw if the child application tries
      	to switch to 80/132 columns, even though we don't usually let them try.
      	Don't try to send keystrokes to the child pty when there is no child
      	pty.  Don't convert final whitespace to newlines when copying text
      	(Red Hat #74611).  Properly distinguish cursor key mode and keypad key
      	mode, obey application mode for cursor keys,
      * python/cat.py: test program for running without a command.
      * termcaps/xterm: change the definitions for ku/kd/kl/kr to match XTerm in
      	normal cursor mode instead of application cursor mode.
      cda7db5a
  13. 10 Oct, 2002 1 commit
    • Nalin Dahyabhai's avatar
      allow specifying the scrollback buffer size. if we don't have <wchar.h>, · 272bef21
      Nalin Dahyabhai authored
      * src/vteapp.c, python/vte-demo.py: allow specifying the scrollback buffer size.
      * src/vte.c: if we don't have <wchar.h>, typedef wchar_t as a gunichar, not a
      	long.
      * src/buffer.c, src/buffer.h: add.
      * src/interpret.c, src/vte.c: use _vte_buffer structures instead of char arrays
      	with separate lengths.  Use a scratch buffer for holding the results of
      	conversions.
      * src/vte.c: separate the pango and pangox drawing paths so that they're easier
      	to tweak and compare to each other.
      * src/vte.c: ditch the smooth scrolling change, which won't work right anyway
      	(expose events don't get processed until after we finish processing a
      	chunk of data unless we explicitly request it, so using a bbox is both
      	simpler and faster).  Use a mask when creating the cursor we use for
      	hiding the cursor.
      * vte.spec, gnome-pty-helper/Makefile.am: install gnome-pty-helper into the
      	libexecdir, not pkglibdir (#95085).
      * src/vte.c: obey smooth/jump scrolling options, default is jump scroll.
      * src/vte.c (vte_font_match): Fix over-aggressive Xft => Fc conversion - need
      	to call XftDefaultSubstitute to pick up Xft X resources, not
      	FcDefaultSubstitute.  From otaylor.
      272bef21
  14. 11 Sep, 2002 3 commits
    • Nalin Dahyabhai's avatar
      Update from libzvt CVS. Fix some automake breakage. · fb18be14
      Nalin Dahyabhai authored
      * gnome-pty-helper: Update from libzvt CVS.
      * python/Makefile.am: Fix some automake breakage.
      fb18be14
    • Nalin Dahyabhai's avatar
      Fix my broken merge of Jacob's patch to make inability to build python · fcd1b81f
      Nalin Dahyabhai authored
      * python/Makefile.am: Fix my broken merge of Jacob's patch to make inability to
      	build python modules non-fatal.
      fcd1b81f
    • Nalin Dahyabhai's avatar
      Skip lookups for padding information if we're pretty sure we're using a · 2149ce6c
      Nalin Dahyabhai authored
      * 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.
      2149ce6c
  15. 30 Aug, 2002 1 commit
  16. 22 Aug, 2002 1 commit
  17. 19 Aug, 2002 1 commit
  18. 18 Jul, 2002 1 commit
    • Nalin Dahyabhai's avatar
      Actually set ALL_LINGUAS so translations get installed. Document the · cf554036
      Nalin Dahyabhai authored
      * 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.
      cf554036
  19. 13 Jul, 2002 1 commit
    • Nalin Dahyabhai's avatar
      Added. Add -a/-b flags to control audible bell and blinking cursors. Only · 65970d91
      Nalin Dahyabhai authored
      * src/slowcat.c: Added.
      * src/vteapp.c: Add -a/-b flags to control audible bell and blinking cursors.
      	Only send "pwd" as an initial command if there wasn't a command
      	specified on the command line.  Add a simple help message.
      * src/vte.c: Bind F13-F35 per termcap.  Treat GDK_KP_Delete as GDK_Delete.  Map
      	Ctrl+F1-F12 to F13-F24.  Fix dc() to ensure that the rows stays full and
      	that newly-added cells get the default attributes.  Fix cl() to clear
      	all rows on the screen with the default attributes (bce).  Default to
      	using Xft if available for consistency with GTK.
      * src/vte.c: Treat super, hyper, meta, and alt as modifiers when deciding to
      	scroll-on-keypress.  Noted by jrb.
      * src/vte.c: Always map \r and \n to cr and so, even when they're defined by
      	the termcap.
      * src/vte.c, src/vte.h: Rework how default colors are set up, and add
      	vte_terminal_set_color_foreground and vte_terminal_set_color_background.
      * src/vte.h: Remove includes for local headers which apps are not likely to
      	never use, cleaning up the namespace a little.
      * python/vte.defs: Bind vte_terminal_set_color_{fore,back}ground.
      * src/debug.h, src/ring.h: Use G_BEGIN_DECLS/G_END_DECLS.
      * src/reaper.h: Use G_BEGIN_DECLS/G_END_DECLS in the right place.
      * src/vteapp.c: Add -B/-T flags to set background images and transparency.
      65970d91
  20. 14 Jun, 2002 4 commits
  21. 12 Jun, 2002 4 commits