1. 05 Dec, 2008 6 commits
  2. 04 Dec, 2008 1 commit
  3. 03 Dec, 2008 1 commit
    • Behdad Esfahbod's avatar
      Bug 563024 – In alternate-screen, selection can copy out of screen · 7d03d88f
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              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
      t
      he
              visible screen.
      
              I have a deja vu of fixing this bug like two years ago...
      
      
      svn path=/trunk/; revision=2317
      7d03d88f
  4. 02 Dec, 2008 32 commits
    • Christian Persch's avatar
      Bug 552096 – Detect tgetent if provided by libtinfo · 0094f898
      Christian Persch authored
      	* 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.
      
      svn path=/trunk/; revision=2316
      0094f898
    • Christian Persch's avatar
      Show the correct version in Since: and Deprecated: annotations. · a1bac903
      Christian Persch authored
      	* src/vte.c: (vte_terminal_class_init): Show the correct version in
      	Since: and Deprecated: annotations.
      
      svn path=/trunk/; revision=2315
      a1bac903
    • Behdad Esfahbod's avatar
      Don't do fancy rounding for row selection, only for column. · d1c56ce8
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/vte.c (vte_terminal_start_selection),
              (vte_terminal_extend_selection): Don't do fancy rounding for row 
              selection, only for column.
      
      
      svn path=/trunk/; revision=2314
      d1c56ce8
    • Behdad Esfahbod's avatar
      Call function instead of open coding. · c15f5ce6
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/vte.c (vte_terminal_invalidate_selection),
              (vte_terminal_start_selection): Call function instead of open coding.
      
      
      svn path=/trunk/; revision=2313
      c15f5ce6
    • Behdad Esfahbod's avatar
      Cache the full ASCII range if Latin uses the default language. · 36e0a0aa
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/vtedraw.h:
              * src/vtepangocairo.c (font_info_cache_ascii):
              Cache the full ASCII range if Latin uses the default language.
      
      
      svn path=/trunk/; revision=2312
      36e0a0aa
    • Behdad Esfahbod's avatar
      Respect PangoLanguage set on a widget's PangoContext. · 4a3768af
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * 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.
      
      
      svn path=/trunk/; revision=2311
      4a3768af
    • Behdad Esfahbod's avatar
      Remove CJK fullwidth measurement hacks. Pango doesn't need these. We're · 86c55a0b
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * 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.
      
      
      svn path=/trunk/; revision=2310
      86c55a0b
    • Behdad Esfahbod's avatar
      Bug 559818 – redundant selection-changed signal on deselection · 8ad85661
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              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.
      
      
      svn path=/trunk/; revision=2309
      8ad85661
    • Behdad Esfahbod's avatar
      Add missing I_() decorator · 28995f52
      Behdad Esfahbod authored
      svn path=/trunk/; revision=2308
      28995f52
    • Behdad Esfahbod's avatar
      Rewrite text selection. In particular, fix block_mode. · d9c2e0ea
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/vte-private.h:
              * src/vte.c:
              Rewrite text selection.  In particular, fix block_mode.
      
      
      svn path=/trunk/; revision=2307
      d9c2e0ea
    • Behdad Esfahbod's avatar
      Update. · 66ef6a3d
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * HACKING: Update.
      
      
      svn path=/trunk/; revision=2306
      66ef6a3d
    • Behdad Esfahbod's avatar
      Mouse tracking cleanup. · ea2f60c5
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * 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.
      
      
      svn path=/trunk/; revision=2305
      ea2f60c5
    • Behdad Esfahbod's avatar
      Minor · 51c0a9c5
      Behdad Esfahbod authored
      svn path=/trunk/; revision=2304
      51c0a9c5
    • Behdad Esfahbod's avatar
      Add -Wno-switch-enum warning flag as we are not -Wswitch-enum clean. · ec2d1eeb
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * configure.in: Add -Wno-switch-enum warning flag as we are not 
              -Wswitch-enum clean.
      
      
      svn path=/trunk/; revision=2303
      ec2d1eeb
    • Behdad Esfahbod's avatar
      Cut one third of the 400-line function out into a function of its own. · 1501d6c5
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * 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.
      
      
      svn path=/trunk/; revision=2302
      1501d6c5
    • Behdad Esfahbod's avatar
      Revert previous change. · 0ae3274d
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/vte.c (vte_terminal_extend_selection): Revert previous change.
      
      
      svn path=/trunk/; revision=2301
      0ae3274d
    • Behdad Esfahbod's avatar
      Add a shortcircuit check. · ed8607b7
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/vte.c (vte_terminal_extend_selection):  Add a shortcircuit 
              check.
      
      
      svn path=/trunk/; revision=2300
      ed8607b7
    • Behdad Esfahbod's avatar
      Change mouse coordinates type from double to long. · df964160
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * 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.
      
      
      svn path=/trunk/; revision=2299
      df964160
    • Behdad Esfahbod's avatar
      Cleanup selection code a bit more. · 543ac083
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * src/vte-private.h:
              * src/vte.c (vte_terminal_start_selection),
              (vte_terminal_extend_selection):
              Cleanup selection code a bit more.
      
      
      svn path=/trunk/; revision=2298
      543ac083
    • Behdad Esfahbod's avatar
      Merge selection_origin and selection_restart_origin as only one was being · 5b53f739
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * 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.
      
      
      svn path=/trunk/; revision=2297
      5b53f739
    • Behdad Esfahbod's avatar
      Bug 471480 – select single character Bug 110371 – Cannot select · 47cffc64
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              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.
      
      
      svn path=/trunk/; revision=2296
      47cffc64
    • Christian Persch's avatar
      Bug 112172 – Get rid of VteReaper · c128acf0
      Christian Persch authored
      	* src/reaper.h: Deprecate.
      
      svn path=/trunk/; revision=2295
      c128acf0
    • Christian Persch's avatar
      Enable maintainer mode by default. Define more deprecation defines, and · 8bf18743
      Christian Persch authored
      	* 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.
      
      svn path=/trunk/; revision=2294
      8bf18743
    • Christian Persch's avatar
      Move VTE_UTF8_BPC definition from configure to vte-private.h. Include · e89b9c9d
      Christian Persch authored
      	* 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.
      
      svn path=/trunk/; revision=2293
      e89b9c9d
    • Christian Persch's avatar
      Remove VTE_INVALID_SOURCE definition and just use 0 directly. · 72a98498
      Christian Persch authored
      	* 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.
      
      svn path=/trunk/; revision=2292
      72a98498
    • Christian Persch's avatar
      Bug 560667 – invalid definition of VTE_INVALID_SOURCE · 0d8b2431
      Christian Persch authored
      	* src/vte-private.h: Fix VTE_INVALID_SOURCE define to use 0 instead of
      	-1.
      
      svn path=/trunk/; revision=2291
      0d8b2431
    • Christian Persch's avatar
      Remove two AC_DEFINEs from here. Define VTE_INVALID_SOURCE here for now. · d34606b6
      Christian Persch authored
      	* configure.in: Remove two AC_DEFINEs from here.
      	* src/vte-private.h: Define VTE_INVALID_SOURCE here for now.
      
      svn path=/trunk/; revision=2290
      d34606b6
    • Christian Persch's avatar
      Bug 112172 – Get rid of VteReaper · 3c751231
      Christian Persch authored
      	* 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.
      
      svn path=/trunk/; revision=2289
      3c751231
    • Christian Persch's avatar
      Catch the child-exited signal to the child's exit code. · 2309a9d0
      Christian Persch authored
      	* src/vteapp.c: (main): Catch the child-exited signal to the child's
      	exit code.
      
      svn path=/trunk/; revision=2288
      2309a9d0
    • Christian Persch's avatar
      Intern the signal names. · 44dcc154
      Christian Persch authored
      	* src/vte-private.h:
      	* src/vte.c: (vte_terminal_class_init): Intern the signal names.
      
      svn path=/trunk/; revision=2287
      44dcc154
    • Behdad Esfahbod's avatar
      Do not discard motion notify events with coordinates out of our · 576393b1
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              * 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.
      
      
      svn path=/trunk/; revision=2286
      576393b1
    • Behdad Esfahbod's avatar
      Bug 541441 – Dehighlight links on visibility notify? · 11bd8553
      Behdad Esfahbod authored
      2008-12-02  Behdad Esfahbod  <behdad@gnome.org>
      
              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".
      
      
      svn path=/trunk/; revision=2285
      11bd8553