2004-05-02 nalin * src/reaper.c(vte_reaper_add_child): pass the global reaper in as data when adding the child source, not the terminal which called us. Stop accepting a data argument, because we'd discard it anyway. Return the ID of the source which is added, if that happens. * configure.in: define VTE_INVALID_SOURCE for internal use. 2004-05-01 nalin * README: add pointers to info on bidirectional text and shaping. 2004-05-01 nalin * src/vte.c(vte_terminal_get_text_maybe_wrapped): add a parameter to control whether or not trailing whitespace is trimmed (padraig.obriain, #141148). * src/vte.c,src/vte.h(vte_terminal_get_text_include_trailing_spaces): add as a wrapper for the new vte_terminal_get_text_maybe_wrapped() (padraig.obriain, #141148). * src/vteaccess.c(vte_terminal_accessible_update_private_d): use vte_terminal_get_text_include_trailing_spaces to ensure that we get trailing spaces (padraig.obriain, #141148). * src/vte.c(vte_terminal_insert_char): clean up some autowrap stuff. 2004-04-30 nalin * vte.pc.in, vte-uninstalled.pc.in: declare the defaultemulation variable as one kind of variable, not that other kind (#141515). 2004-04-30 nalin * src/vte.c(vte_terminal_button_release): complete selection if we were selecting, not just if Shift is held down (allows Press Shift, Press Button, Release Shift, Release Button in addition to already-recognized Press Shift, Press Button, Release Button, Release Shift) (#121905). * vte.spec: buildrequire gtk-doc, manually copy png images at install-time. 2004-04-29 nalin * src/vte.c, NEWS, doc/reference/vte-sections.txt, doc/reference/tmpl/vte-unused.sgml: documentation updates. * doc/reference/tmpl/reaper.sgml: note that we just proxy for glib 2.4 child_watch functionality, if present. 2004-04-29 nalin * python/vte.defs: include get_default_emulation binding. 2004-04-29 nalin * vte.spec: update version to 0.11.11 2004-04-29 nalin * src/vte.c(vte_terminal_unrealize): don't unref our accessible peer; it may be accessed while we're unrealized, causing it to be destroyed and re-created needlessly (#128049). * src/vte.c(vte_terminal_finalize): unref our accessible peer. 2004-04-29 nalin * src/vte.c(vte_terminal_finalize): don't clear the child's PID early, so that we'll SIGHUP it properly (the kernel should do that anyway, but...) (#128291). 2004-04-29 nalin * src/vte.c(vte_terminal_insert_char): only deselect the current selection if just-inserted text affected the selected region of the screen (#135259). 2004-04-29 nalin * README: assorted updates. * configure.in: check for * src/pty.c: include 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. * doc/reference/vte-unused.txt: sort. 2004-04-29 nalin * src/vte.c(vte_terminal_scroll_region): remove stray debug printfs. 2004-04-29 nalin * configure.in: add a --with-default-emulation argument (part of #115750). Use AS_HELP_STRING wherever we need help strings. * vte.pc.in, vte-uninstalled.pc.in: add DefaultEmulation variable * vte.spec: specify "xterm" as the default-emulation, even though it's the default default * termcaps/Makefile.am: build and install the default emulation's termcap, assuming it's some kind of xterm variant. * src/keymap.c(_vte_keymap_map): check for xterm-xfree86 definitions if the terminal type includes xterm, not if it exactly matches xterm * src/reaper.c(vte_reaper_add_child): add. The glib 2.4 SIGCHLD watcher requires us to register particular PIDs for monitoring, so now we require applications to do so. * src/reaper.c(vte_reaper_child_watch_cb): add. * src/reaper.c(vte_reaper_init): Don't hook the SIGCHLD handler if we're running under glib 2.4, expect to use the g_child_watch mechanism. * src/vte.c: remove hard-coded definition of VTE_DEFAULT_EMULATION, to be picked up from config.h instead. * src/vte.c(vte_sequence_handler_cs): remove stray debug printfs. * src/vte.c(vte_terminal_insert_char): only do what we were doing for xn if LP was also set (#141445). * src/vte.c(vte_terminal_get_default_emulation): add. * src/vte.c(_vte_terminal_fork_basic): call vte_reaper_add_child for new children. 2004-04-27 nalin * src/vte.c(vte_terminal_fork_command): more clearly document what the argv and envv arguments are expected to contain (#127979). * src/vte.c(vte_terminal_insert_char): attempt to more closely match the behavior of am and xn on terminals -- if am is set {if xn is set, autowrap should only happen before a character is output, and then only if it's a graphic character, otherwise we autowrap after a character is output} 2004-04-21 nalin * src/vte.c(vte_terminal_get_text_range_maybe_wrapped): also trim back lines which are nothing but whitespace (#140765). * src/vte.c(vte_terminal_configure_toplevel): invalidate the whole window if we're "transparent", because we don't get expose events unless some portion of our area came out from behind something else, but we still need to repaint it (#122243). 2004-04-20 nalin * doc/reference/tmpl/reaper.sgml: document the child-exited signal. * doc/reference/tmpl/vte.sgml: document the emulation-changed and encoding-changed signals. 2004-04-20 nalin * Makefile.am: add rule for generating vte-uninstall.pc (Gman, #136129) * vte-uninstalled.pc.in: add (Gman, #136129) 2004-04-19 nalin * src/vte.c(vte_terminal_key_press): don't steal keys from the input method. 2004-04-19 nalin * src/pty.c(_vte_pty_set_utf8): toggle the IUTF8 flag, if it was defined at compile-time (maybe for #129317). * src/vte.c(vte_terminal_set_encoding): call _vte_pty_set_utf8. * src/vte.h (vte_terminal_anti_alias_get_type): declare. * src/vtebg.c(vte_bg_get_pixmap): Optimisation to fix the ridiculous amount of time required to render solid colour or extremely small image tiled backgrounds. This fixes bug #123903. (desrt) * src/vtebg.c(vte_bg_root_pixmap): move resize code into a separate function. * src/vtebg.c(vte_bg_get_pixmap): Resize all image sources, in case we're using a very small image file for the background. 2004-04-19 nalin * python/Makefile.am: move python module to site-packages/gtk-2.0, which is added to the search path only by pygtk 2 (#92252). 2004-04-19 nalin * python/vte.override: define a modulename override so that the Terminal class is registered in the proper namespace so that python's help() builtin sees the Terminal class (#130267). 2004-04-19 nalin * src/vte.c(vte_terminal_anti_alias_get_type): add, for the sake of bindings. 2004-04-19 nalin * src/vte.c(vte_terminal_key_press): call GtkWidget's key_press_event callback for keys, in case GtkWidget has pre-programmed behavior for that key (#133878). * configure.in, gnome-pty-helper/configure.in: quote names of defined functions (#133222). * configure.in: make compilation of gnome-pty-helper actually conditional (#133077). * src/vte.c(vte_terminal_process_incoming): Doh #132610, actually call vte_terminal_emit_contents_changed() when the contents change. 2004-04-19 nalin * src/vte.h, src/vte.c (vte_terminal_set_font_full): Add (#134429). * src/vteglyph.c(_vte_glyph_cache_set_font_description): take a VteTerminalAntiAlias argument. * src/vteft2.c, src/vtegl.c, src/pango.c, src/pango.x, src/vtexft.c (*_set_text_font): take a VteTerminalAntiAlias argument. 2004-04-19 Victor Zverovich * src/vte.h src/vte.c: Added default signal handlers to VteTerminalClass (#137961). [NOTE: ABI change.] 2004-04-19 nalin * src/vte.c(vte_terminal_configure_toplevel): don't re-invalidate everything, apparently unnecessary (#122243). Might need to back this out if I ever remember what specific combination of software and versions prompted its addition in the first place. * src/vte.c(vte_terminal_class_init): tell gettext that messages retrieved from this domain should be returned in UTF-8 (#139542). 2004-04-19 nalin * 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. 2004-04-10 Guntupalli Karunakar * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS. 2004-03-20 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS 2004-03-10 Alexander Winston * configure.in: Added en_CA to ALL_LINGUAS. 2004-03-04 Guntupalli Karunakar * configure.in: Added "pa" for Punjabi to ALL_LINGUAS. 2004-02-07 Robert Sedak * configure.in: Added "hr" (Croatian) to ALL_LINGUAS. 2004-02-02 Martin Kretzschmar * 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) 2004-02-02 Alastair McKinstry * configure.in: Added 'ga' to ALL_LINGUAS * po/ga.po: Added Gaeilge (Irish) translation. 2004-01-27 Åsmund Skjæveland * configure.in: Added 'nn' to ALL_LINGUAS * po/nn.po: Added Norwegian Nynorsk translation. 2003-12-20 Arafat Medini * configure.in: Added Arabic Locale "ar" to ALL_LINGUAS 2003-12-10 Tõivo Leedjärv * configure.in: Added et to ALL_LINGUAS. 2003-12-06 Iñaki Larrañaga * configure.in: Added "eu" (Basque) to ALL_LINGUAS. 2003-10-14 Christian Rose * configure.in: Added "ne" to ALL_LINGUAS. 2003-10-07 Žygimantas Beručka * configure.in: Added "lt" to ALL_LINGUAS. 2003-09-15 nalin * src/vteapp.c: add options for exercising the cursor and highlight colors. * src/debug.c: flush output streams when we check if debugging is enabled, because we'll probably output a string next. * src/iso2022.c: don't print a zero-length string. Yay compiler warnings. * src/interpret.c: use g_print() instead of fprintf() to print. * src/keymap.c,src/ssfe.c: include , hopefully fixing bug #121880 (or not). 2003-09-15 nalin * python/vte.defs: add specs for set_color_cursor and set_color_highlight. 2003-09-15 nalin * src/vte.h,src/vte.c: add vte_terminal_set_color_cursor. * src/vte.h,src/vte.c: add vte_terminal_set_color_highlight (#69776). * src/vte.c(vte_terminal_determine_colors): add parameters for specifying if the cell being rendered is the cursor or is highlighted, probably for being selected. If either flag is set, and we've been given a color to use for the purpose by a caller, use the supplied color, else use inverse colors. 2003-09-15 nalin * src/iso2022.c(process_control): don't reset the conversion state when we hit an end-of-line. I wasn't reading RFC1468 closely enough, as it states that each line begins in the same encoding as the end of the previous line, and read "application should reset before end-of- line" as "terminal resets at end-of-line" (bug #122156). 2003-09-11 nalin * src/vteapp.c: silence a compiler warning. 2003-09-11 nalin * 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 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. 2003-09-11 nalin * src/vte.c(vte_terminal_draw_cells_with_attributes): properly resolve colors and cell properties to drawing colors. * src/vte.c(_vte_terminal_fudge_pango_colors): add a function for mapping GTK+ white-on-black preedit text to default reverse-colored text for the terminal. * src/vte.c(_vte_terminal_translate_pango_cells): don't bother doing anything with the attribute for a range if the list is NULL. Fudge white-on-black text to default colors in reverse so that it works when the terminal is in a black-on-white color scheme. 2003-09-11 nalin * src/vte.c(_vte_terminal_apply_pango_attr): map weight attributes to the terminal's bold attribute. 2003-09-11 nalin * src/vte.c(_vte_terminal_map_pango_color): add. * src/vte.c(vte_terminal_im_preedit_changed): don't discard the attributes list for the preedit string -- save them. * src/vte.c(vte_terminal_draw_cells_with_attributes): add. * src/vte.c(vte_terminal_paint): use draw_cells_with_attributes to use the preedit attributes list when drawing the preedit string. This changes the way the preedit string is presented to the user, but it now looks [more] like GTK+ suggests it should look, so it should be a good change. 2003-08-13 nalin * src/caps.c: add sequences for linux-console-cursor-attributes, which we'll ignore (bug #108232). 2003-08-13 nalin * 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. 2003-08-13 nalin * src/vte.c(vte_terminal_fork_command,vte_terminal_forkpty): doc update to note that directory and envv can be NULL for both. 2003-08-13 nalin * src/vteapp.c(main): if -S is passed, use forkpty to start a child that just counts until killed with Ctrl-C. 2003-08-13 nalin * doc/reference/vte-sections.txt: add vte_terminal_forkpty. * 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! 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. 2003-08-12 nalin * configure.in: if isn't found, then we can't use any freetype-specific bits, and that's not useful. Error out, and say that we need freetype 2.0.2 or newer, which introduced this header into the procedure (bug #116341). 2003-08-12 nalin * src/vte.c: don't create an accessible peer at init() time in debug mode. * gnome-pty-helper/gnome-pty-helper.c(struct pty_info): add a field to keep track of whether or not we created a lastlog record. * gnome-pty-helper/gnome-pty-helper.c(shutdown_pty): also try to write a logout record if pi->lastlog is true, because in doing so we free pi->data, closing a leak (bug #116091). 2003-08-12 nalin * src/vteapp.c(resize_window): don't add the padding in when calculating the new window size. 2003-08-12 nalin * doc/reference/tmpl/vte.sgml: note that dimensions passed in with the resize-window signal include padding (more of bug #119141). 2003-08-12 nalin * src/vte.c(vte_sequence_handler_character_attributes, vte_sequence_handler_decset_internal): remove redundant type checks. * src/vte.c(all signal handlers): return a boolean indicating whether or not to exit the processing loop instance early to allow the application to deal with some input (usually along the lines of a signal requesting that the terminal be resized) (bug #118938). 2003-08-12 nalin * 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: exercise get_text() on "window-raise" signals. 2003-08-12 Padraig O'Briain * src/vteaccess.c: (vte_terminal_initialize): New function containing initialization code previously in vte_terminal_accessible_new. Also set role in this function. (vte_terminal_accessible_class_init): Specify function pointer for vte_terminal_initialize. (vte_terminal_accessible_get_type): Do not set instance data size or GInstanceInitFunc. Remove vte_terminal_accessible_init. This fixes bug #119694. 2003-08-11 nalin * python/vte.override: add binding for get_padding() (bug #118834). 2003-08-11 nalin * python/vte.override: add binding for get_cursor_position() (bug #118800). 2003-08-11 nalin * python/vte.defs: give length parameters for feed() and feed_child() default values of -1 (bug #118711). * python/vte.override: use the length parameter if it's supplied to the feed() and feed_child() methods. 2003-08-11 nalin * python/vte.override: add overrides for feed() and feed_child() methods which use the length of the string as given in C, to hopefully allow passing NUL bytes around as part of strings (bug #118711). Make the length parameter optional, and ignored, to try to avoid breaking existing Python code in an obvious way. 2003-08-11 nalin * src/vte.c(vte_terminal_start_selection,vte_terminal_extend_selection): drop an unnecessary cast-and-check, which we don't need because we have no use for the GtkWidget pointer to the terminal. Fix initial shift- click (bug #118106). 2003-08-11 nalin * configure.in: error out if we don't find ncurses, curses, or libtermcap development headers (bug #117754). 2003-08-11 nalin * autogen.sh: export WANT_AUTOCONF_2_5 for the sake of Mandrake autoconf wrapper (bug #119066). 2003-08-05 nalin * src/vte.c(vte_sequence_handler_decset_internal, vte_sequence_handler_window_manipulation): include the widget's padding widths in resize requests (bug #119141). 2003-07-30 nalin * autogen.sh: check for autoconf-2.51, autoconf-2.50, autoconf-2.5 when looking for autoconf 2.5x (bug #118627). 2003-07-21 nalin * gnome-pty-helper/configure.in: define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE, and __EXTENSIONS__ for Solaris, as we do in the top-level configure (#117636). 2003-07-16 nalin * gnome-pty-helper/configure.in: check for grantpt in libc and then in libpt. Check for openpty in libc before checking libutil. Check for sendmsg in libc before checking libsocket (with libnsl) (#117636). 2003-07-11 Pablo Saratxaga * configure.in: Added Walloon (wa) to ALL_LINGUAS 2003-07-10 nalin * src/vteregex.h, src/vteregex.c: add. * src/vte.c: use interfaces from vteregex for doing dingus matching. 2003-07-03 nalin * src/vte.c(vte_sequence_handler_return_terminal_status): return an empty string in response to the ENQ control sequence instead of "xterm". Report and patch from Mariano Suárez-Alvarez (#116495). 2003-06-27 nalin * src/iso2022.c: treat the "big5hkscs" encoding as an East Asian encoding, which uses ambiguous widths (#116078). Report and patch from Roger So. * src/dumpkeys.c, src/iso2022.c, src/iso8859mode.c, src/nativeecho.c, src/utf8echo.c, src/utf8mode.c, src/vte.c: don't use the literal escape character, express it as an octal sequence. 2003-06-16 nalin * src/caps.c: add vertical-tab and form-feed to the list of control sequences. * src/vte.c(vte_controL_sequence_handler_form_feed): add. * src/vte.c(vte_controL_sequence_handler_vertical_tab): add.