1. 30 Apr, 2004 1 commit
    • Nalin Dahyabhai's avatar
      assorted updates. check for <sys/termios.h> include <sys/termios.h> if · cf8e7d95
      Nalin Dahyabhai authored
      * 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.
      cf8e7d95
  2. 20 Apr, 2004 2 commits
    • Nalin Dahyabhai's avatar
      document the child-exited signal. document the emulation-changed and · bc403a38
      Nalin Dahyabhai authored
      * doc/reference/tmpl/reaper.sgml: document the child-exited signal.
      * doc/reference/tmpl/vte.sgml: document the emulation-changed and
      	encoding-changed signals.
      One hundred percent*.  ONE HUNDRED PERCENT* I TELL YOU!
      
      * Except for the unused bits.
      bc403a38
    • Nalin Dahyabhai's avatar
      don't disable use of deprecated APIs unless asked to do so. add Meta case · bb252866
      Nalin Dahyabhai authored
      * configure.in: don't disable use of deprecated APIs unless asked to do so.
      * src/keymap.c(_vte_keymap_GDK_space): add Meta case (gafton).
      * src/vtefc.c(_vte_fc_width_from_pango_stretch): add.
      * src/vtefc.c(_vte_fc_transcribe_from_pango_font_description): handle
        PangoStretch characteristics using _vte_fc_width_from_pango_stretch.
      * src/vteregex.c: add random comments.
      * src/vte.c(VteTerminal): track the "xn" terminal attribute.
      bb252866
  3. 02 Feb, 2004 1 commit
    • Martin Kretzschmar's avatar
      use gtk-doc in xml-mode. · 779ee126
      Martin Kretzschmar authored
      * docs/reference/Makefile.am: use gtk-doc in xml-mode.
      
      * docs/reference/vte-docs.sgml: sgml->xml, update to DocBook XML
      4.1.2 DTD (fixes Bug #132945)
      779ee126
  4. 13 Aug, 2003 2 commits
    • Nalin Dahyabhai's avatar
      exit on any error, to avoid leaving random unreaped children running. · bfabf9b4
      Nalin Dahyabhai authored
      * src/pty.c(_vte_pty_run_on_pty): exit on any error, to avoid leaving random
      	unreaped children running.  Accept NULL command indicating that no
      	exec() should occur, but still error out if command isn't NULL and
      	exec() fails.
      * src/pty.c(_vte_pty_fork_on_pty_name,_vte_pty_fork_on_pty_fd): store 0 as the
      	new child's PID if we're the child.
      * src/pty.c(main): don't run "tty" by default, test the forkpty() case instead.
      * src/vte.c(vte_terminal_fork_command): rename to _vte_terminal_fork_basic.
      	Remove code to replace NULL command with the user's shell.
      * src/vte.c(vte_terminal_fork_command): new (sort of)! wrap
      	_vte_terminal_fork_basic, replacing a NULL command with the user's
      	shell.
      * src/vte.c(vte_terminal_forkpty),src/vte.h: new! wrap _vte_terminal_fork_basic,
      	passing NULL for the command and argv arguments (bug #116450).
      * src/Makefile.am: update shared library version.
      * doc/reference/vte-sections.txt: add vte_terminal_forkpty.
      bfabf9b4
    • Nalin Dahyabhai's avatar
      note that dimensions passed in with the resize-window signal include · 6ab10dbe
      Nalin Dahyabhai authored
      * doc/reference/tmpl/vte.sgml: note that dimensions passed in with the
      	resize-window signal include padding (more of bug #119141).
      6ab10dbe
  5. 22 May, 2003 1 commit
    • Nalin Dahyabhai's avatar
      force an entire window repaint if we're supposed to scroll the background · c5bc6f08
      Nalin Dahyabhai authored
      * src/vte.c(vte_terminal_scroll_region): force an entire window repaint if
      	we're supposed to scroll the background but we're not scrolling the
      	entire window.  This means we need to repaint the scrolled region, and
      	to keep things looking right, we need to repaint everything.
      * src/vteapp.c(main): enable visible bell if we're disabling the audible bell,
      	and vice-versa.
      * src/vte.c: flesh out some doc comments.
      * doc/reference/tmpl/vte.sgml: flesh out some notes on signals.
      c5bc6f08
  6. 19 May, 2003 1 commit
    • Nalin Dahyabhai's avatar
      remove comma from end of enum declaration (#111925). don't use · 03b492bb
      Nalin Dahyabhai authored
      * src/iso2022.c, src/keymap.c, src/mev.c, src/vtebg.h, src/vteglyph.h: remove
      	comma from end of enum declaration (#111925).
      * src/vtetc.c: don't use parameter-as-array-size compiler extension (#111925).
      * src/ssfe.c: don't assume that the compiler interprets \e correctly, use %c
      	with value of 27 instead (#111925).
      * doc/reference/Makefile.am: obey CPPFLAGS and LDFLAGS (#111925).
      * gnome-pty-helper/gnome-utmp.c: only include <utmp.h> if HAVE_UTMP_H was
      	defined (#111925).
      * src/keymap.c, src/ssfe.c: unconditionally include <term.h> if we defined
      	HAVE_CURSES or HAVE_NCURSES, as having the header is a precondition
      	for defining either (#111925).
      * src/iso2022.c: make each array have at least one element (#111925).
      * src/pty.c, src/gnome-login-support.c: try to open /dev/ptc if opening
      	/dev/ptmx fails due to ENOENT (#111925).
      03b492bb
  7. 01 May, 2003 1 commit
  8. 24 Apr, 2003 1 commit
  9. 06 Mar, 2003 1 commit
  10. 09 Jan, 2003 1 commit
    • Nalin Dahyabhai's avatar
      Only suppress meta-sends-escape on Backspace if backspace is mapped to the · 9820448f
      Nalin Dahyabhai authored
      * src/vte.c(vte_terminal_key_press): Only suppress meta-sends-escape on
      	Backspace if backspace is mapped to the delete sequence.
      * src/vte.c: don't just skip reading data if selection is in progress -- we
      	wedge if we do that (#101739).  Instead, temporarily stop reading from
      	the child pty.
      * src/vte.c(vte_terminal_open_font_xft): if we get NULL when matching fonts,
      	use the desired pattern's name when displaying an error, preventing a
      	NULL dereference (#96769).
      * configure.in: make building of python modules depend on configure having been
      	run with --enable-python. make --enable-python the default.  Fix an
      	indentation error in the version check which chokes Python 2.2.2.
      * src/vte.h, src/vte.c: add new signals to VteTerminalClass (NOTE: may break
      	ABI, so might as well add some padding)
      * src/vteaccess.c: be more precise about locations in text_changed signals
      	(part of #95901)
      * src/vte.c: get more selective about when we consider it necessary to emit
      	text-insert and text-delete events.
      9820448f
  11. 07 Nov, 2002 1 commit
  12. 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
  13. 30 Oct, 2002 1 commit
    • Nalin Dahyabhai's avatar
      implement iconify, deiconify, raise, lower, maximize, restore, refresh, · 12b3f279
      Nalin Dahyabhai authored
      * src/vteapp.c: implement iconify, deiconify, raise, lower, maximize, restore,
      	refresh, resize, and move signals.
      * src/vte.c: add vte_terminal_match_remove().
      * src/vte.c (vte_sequence_handler_cb): clear the current column in addition to
      	columns to the left, spotted by Sam Varshavchik.
      * src/vte.c:  Use g_array_set_size() to clear arrays instead of removing each
      	element.  Properly initialize new columns with just the default colors
      	and not other attributes (#96978).
      * src/vte.c (vte_sequence_handler_ta): revert to non-overwriting tabs, otherwise
      	we got occasional drawing artifacts.
      12b3f279
  14. 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
  15. 15 Oct, 2002 1 commit
  16. 14 Oct, 2002 1 commit
    • 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
  17. 11 Sep, 2002 1 commit
    • 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
  18. 05 Sep, 2002 5 commits