2008-12-05 Behdad Esfahbod * NEWS: * configure.in: Released 0.19.2. 2008-12-05 Behdad Esfahbod Red Hat Bug 474618 - gnome-terminal sometime leaves empty begining of the line * src/vte.c (_vte_terminal_cleanup_tab_fragments_at_cursor): continue instead of break'ing out of the loop. 2008-12-04 Behdad Esfahbod Bug 563274 – Misspelled word in src code * src/vte.c (vte_terminal_process_incoming): Fix typo. 2008-12-02 Behdad Esfahbod Bug 563024 – In alternate-screen, selection can copy out of screen boundaries * src/vte.c (vte_terminal_extend_selection_expand), (vte_terminal_extend_selection): Make sure current selection row is in the visible screen. I have a deja vu of fixing this bug like two years ago... 2008-12-02 Christian Persch Bug 552096 – Detect tgetent if provided by libtinfo * configure.in: Rewrote tgetent checks to be more readable. Also check for tgetent in libtinfo. * src/keymap.c: (_vte_keymap_map), (_vte_keymap_key_is_modifier): * src/ssfe.c: Adjust includes accordingly. 2008-12-02 Behdad Esfahbod * src/vte.c (vte_terminal_start_selection), (vte_terminal_extend_selection): Don't do fancy rounding for row selection, only for column. 2008-12-02 Behdad Esfahbod * src/vte.c (vte_terminal_invalidate_selection), (vte_terminal_start_selection): Call function instead of open coding. 2008-12-02 Behdad Esfahbod * src/vtedraw.h: * src/vtepangocairo.c (font_info_cache_ascii): Cache the full ASCII range if Latin uses the default language. 2008-12-02 Behdad Esfahbod * src/vtepangocairo.c (context_hash), (context_equal), (font_info_create_for_context), (font_info_create_for_screen), (font_info_create_for_widget): Respect PangoLanguage set on a widget's PangoContext. 2008-12-02 Behdad Esfahbod * src/vtepangocairo.c (font_info_measure_font): Remove CJK fullwidth measurement hacks. Pango doesn't need these. We're down to one FcFontSort() instead of two during initialization. 2008-12-02 Behdad Esfahbod Bug 559818 – redundant selection-changed signal on deselection * src/vte.c (vte_terminal_start_selection), (vte_terminal_extend_selection): Fix all redundant selection-changed signals. Including those on double-click. 2008-12-02 Behdad Esfahbod * src/vte-private.h: * src/vte.c: Rewrite text selection. In particular, fix block_mode. 2008-12-02 Behdad Esfahbod * HACKING: Update. 2008-12-02 Behdad Esfahbod * src/vte-private.h: * src/vte.c (_vte_terminal_set_pointer_visible), (vte_terminal_get_mouse_tracking_info), (vte_terminal_send_mouse_button_internal), (vte_terminal_maybe_send_mouse_button), (vte_terminal_maybe_send_mouse_drag), (vte_terminal_motion_notify), (vte_terminal_button_press), (vte_terminal_button_release), (vte_terminal_scroll), (vte_terminal_reset): * src/vteseq.c (vte_sequence_handler_decset_internal): Mouse tracking cleanup. 2008-12-02 Behdad Esfahbod * configure.in: Add -Wno-switch-enum warning flag as we are not -Wswitch-enum clean. 2008-12-02 Behdad Esfahbod * src/vte.c (vte_terminal_extend_selection_on_type), (vte_terminal_extend_selection): Cut one third of the 400-line function out into a function of its own. 2008-12-02 Behdad Esfahbod * src/vte.c (vte_terminal_extend_selection): Revert previous change. 2008-12-02 Behdad Esfahbod * src/vte.c (vte_terminal_extend_selection): Add a shortcircuit check. 2008-12-02 Behdad Esfahbod * src/vte-private.h: * src/vte.c (vte_terminal_send_mouse_button_internal), (vte_terminal_maybe_send_mouse_drag), (cursor_inside_match), (vte_terminal_match_hilite_show), (vte_terminal_match_hilite_update), (vte_terminal_match_hilite), (vte_terminal_extend_selection), (vte_terminal_autoscroll), (vte_terminal_motion_notify), (vte_terminal_button_press), (vte_terminal_button_release): Change mouse coordinates type from double to long. 2008-12-02 Behdad Esfahbod * src/vte-private.h: * src/vte.c (vte_terminal_start_selection), (vte_terminal_extend_selection): Cleanup selection code a bit more. 2008-12-02 Behdad Esfahbod * src/vte-private.h: * src/vte.c (vte_terminal_start_selection), (vte_terminal_extend_selection): Merge selection_origin and selection_restart_origin as only one was being used at a time. 2008-12-02 Behdad Esfahbod Bug 471480 – select single character Bug 110371 – Cannot select newline at end of full line * src/vte-private.h: * src/vte.c (find_start_column), (find_end_column), (vte_terminal_start_selection), (math_div), (vte_terminal_extend_selection): Make selection work more I-beam-like. 2008-12-02 Christian Persch * src/vte.c: (vte_terminal_class_init): Show the correct version in Since: and Deprecated: annotations. 2008-12-02 Christian Persch Bug 112172 – Get rid of VteReaper * src/reaper.h: Deprecate. 2008-12-02 Christian Persch * configure.in: Enable maintainer mode by default. Define more deprecation defines, and define the *_DISABLE_SINGLE_INCLUDES defines. Enable deprecations by default in maintainer mode. * src/vteapp.c: Undef VTE_DISABLE_DEPRECATED here. 2008-12-02 Christian Persch * configure.in: * src/vte-private.h: Move VTE_UTF8_BPC definition from configure to vte-private.h. * src/vteconv.c: Include vte-private.h here. 2008-12-02 Christian Persch * src/vte-private.h: * src/vte.c: (mark_input_source_invalid), (_vte_terminal_connect_pty_read), (mark_output_source_invalid), (_vte_terminal_connect_pty_write), (_vte_terminal_disconnect_pty_read), (_vte_terminal_disconnect_pty_write), (_vte_terminal_enable_input_source), (remove_cursor_timeout), (vte_terminal_key_press), (vte_terminal_focus_in), (vte_terminal_focus_out), (vte_terminal_init), (vte_terminal_unrealize), (vte_terminal_expose), (vte_terminal_background_update), (add_update_timeout), (remove_from_active_list), (vte_terminal_add_process_timeout), (process_timeout), (update_repeat_timeout), (update_timeout): Remove VTE_INVALID_SOURCE definition and just use 0 directly. 2008-12-02 Christian Persch Bug 560667 – invalid definition of VTE_INVALID_SOURCE * src/vte-private.h: Fix VTE_INVALID_SOURCE define to use 0 instead of -1. 2008-12-02 Christian Persch * configure.in: Remove two AC_DEFINEs from here. * src/vte-private.h: Define VTE_INVALID_SOURCE here for now. 2008-12-02 Christian Persch Bug 112172 – Get rid of VteReaper * src/reaper.c: (vte_reaper_child_watch_cb), (vte_reaper_add_child), (vte_reaper_init), (vte_reaper_constructor), (vte_reaper_finalize), (vte_reaper_class_init), (vte_reaper_get), (child_exited), (main): * src/reaper.h: Prepare for removal of Reaper in vte1.0 by removing the unused pre-glib-2.4 code from Reaper. 2008-12-02 Christian Persch * src/vteapp.c: (main): Catch the child-exited signal to the child's exit code. 2008-12-02 Christian Persch * src/vte-private.h: * src/vte.c: (vte_terminal_class_init): Intern the signal names. 2008-12-02 Behdad Esfahbod * src/vte.c (vte_terminal_motion_notify): Do not discard motion notify events with coordinates out of our allocation, or when the cell under the cursor didn't change. These are useful for extending selection and for sub-cell selection details, as well as app-requested all motion tracking. 2008-12-02 Behdad Esfahbod Bug 541441 – Dehighlight links on visibility notify? * src/vte.c (vte_terminal_focus_in), (vte_terminal_enter): Move match highlight enabling into "enter" event instead of "focus in". 2008-12-02 Behdad Esfahbod * src/vte-private.h: * src/vte.c (_vte_terminal_set_pointer_visible), (vte_terminal_maybe_send_mouse_button), (vte_terminal_maybe_send_mouse_drag), (vte_terminal_motion_notify), (vte_terminal_button_press), (vte_terminal_button_release), (vte_terminal_scroll), (vte_terminal_reset): * src/vteseq.c (vte_sequence_handler_decset_internal): Simplify mouse event tracking by using a single int instead of five booleans. 2008-12-02 Behdad Esfahbod * src/vte-private.h: * src/vte.c (vte_terminal_deselect_all), (vte_terminal_process_incoming), (vte_cell_is_selected), (vte_terminal_copy), (vte_terminal_start_selection), (vte_terminal_extend_selection), (vte_terminal_select_all), (vte_terminal_paint), (_vte_terminal_get_start_selection), (_vte_terminal_get_end_selection), (_vte_terminal_select_text): Rename struct selection_cell_coords members from x,y to col,row for clarity.