vte.git
12 years agoFixed the commented-out shortdesc field in the doap file
Michael J. Chudobiak [Fri, 17 Apr 2009 19:07:29 +0000 (15:07 -0400)]
Fixed the commented-out shortdesc field in the doap file

Bug #579322.

12 years agoRemove generated ChangeLog on make clean
Christian Persch [Fri, 17 Apr 2009 17:31:02 +0000 (19:31 +0200)]
Remove generated ChangeLog on make clean

12 years agoRemove ChangeLog, and auto-generate changelog on make dist
Christian Persch [Fri, 17 Apr 2009 16:58:36 +0000 (18:58 +0200)]
Remove ChangeLog, and auto-generate changelog on make dist

12 years agoAdd DOAP file.
Christian Persch [Fri, 17 Apr 2009 16:56:16 +0000 (18:56 +0200)]
Add DOAP file.

12 years agoMore NEWS vte_0_20_1
Christian Persch [Sun, 12 Apr 2009 13:54:29 +0000 (13:54 +0000)]
More NEWS

svn path=/trunk/; revision=2397

12 years agoVersion 0.20.1
Christian Persch [Sun, 12 Apr 2009 13:53:19 +0000 (13:53 +0000)]
Version 0.20.1

svn path=/trunk/; revision=2396

12 years agoAdd gopher:// to the dingus-click regexes.
Adam Jackson [Wed, 1 Apr 2009 00:49:38 +0000 (00:49 +0000)]
Add gopher:// to the dingus-click regexes.

svn path=/trunk/; revision=2395

12 years agoMinor fixes from Richard Russon.
Behdad Esfahbod [Thu, 26 Mar 2009 17:58:05 +0000 (17:58 +0000)]
Minor fixes from Richard Russon.

2009-03-26  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (always_selected):
        * src/vtepangocairo.c (_vte_pangocairo_set_background_image):
        * src/vteskel.c (_vte_skel_draw_text):
        Minor fixes from Richard Russon.

svn path=/trunk/; revision=2394

12 years agoBug 576797 – Double-click sometimes stops working
Behdad Esfahbod [Thu, 26 Mar 2009 06:18:23 +0000 (06:18 +0000)]
Bug 576797 – Double-click sometimes stops working

2009-03-26  Behdad Esfahbod  <behdad@gnome.org>

        Bug 576797 – Double-click sometimes stops working

        * src/vte.c (vte_terminal_extend_selection): Invalidate selection
        if forced.

svn path=/trunk/; revision=2393

12 years agoBug 573674 – reset resets width to 80 chars
Behdad Esfahbod [Thu, 26 Mar 2009 05:46:39 +0000 (05:46 +0000)]
Bug 573674 – reset resets width to 80 chars

2009-03-26  Behdad Esfahbod  <behdad@gnome.org>

        Bug 573674 – reset resets width to 80 chars

        * src/vteseq.c (vte_sequence_handler_decset_internal): Disable
        resizing on decreset.

svn path=/trunk/; revision=2392

12 years agoBug 576504 – vte does not pass its testsuite.
Behdad Esfahbod [Mon, 23 Mar 2009 23:39:56 +0000 (23:39 +0000)]
Bug 576504 – vte does not pass its testsuite.

2009-03-23  Behdad Esfahbod  <behdad@gnome.org>

        Bug 576504 – vte does not pass its testsuite.

        * src/vte.c:
        * src/vtedraw.h:
        Fix "make check".

svn path=/trunk/; revision=2391

12 years ago Bug 574491 – gnome-pty-helper can prevent volumes from being unmounted
Christian Persch [Mon, 23 Mar 2009 12:12:51 +0000 (12:12 +0000)]
Bug 574491 – gnome-pty-helper can prevent volumes from being unmounted

* gnome-pty-helper/gnome-pty-helper.c: (main): chdir to /.

svn path=/trunk/; revision=2390

12 years agoUpdated Arabic translation
Djihed Afifi [Wed, 18 Mar 2009 09:19:40 +0000 (09:19 +0000)]
Updated Arabic translation

svn path=/trunk/; revision=2389

12 years agoUpdated Galician translation by Suso Baleato.
Ignacio Casal Quinteiro [Tue, 17 Mar 2009 22:08:28 +0000 (22:08 +0000)]
Updated Galician translation by Suso Baleato.

svn path=/trunk/; revision=2388

12 years agoupdating for GNOME Punjabi Translation by A S Alam
Amanpreet Singh Alam [Tue, 17 Mar 2009 02:17:33 +0000 (02:17 +0000)]
updating for GNOME Punjabi Translation by A S Alam

svn path=/trunk/; revision=2387

12 years agoNEWS update
Christian Persch [Sun, 15 Mar 2009 14:15:16 +0000 (14:15 +0000)]
NEWS update

svn path=/trunk/; revision=2386

12 years agoFix make. vte_0_20_0
Christian Persch [Sun, 15 Mar 2009 12:56:45 +0000 (12:56 +0000)]
Fix make.

svn path=/trunk/; revision=2384

12 years agoPrepare version 0.20.0.
Christian Persch [Sun, 15 Mar 2009 12:56:40 +0000 (12:56 +0000)]
Prepare version 0.20.0.

* configure.in: Prepare version 0.20.0.

svn path=/trunk/; revision=2383

12 years ago Bug 575398 – configure warns about term.h under OpenSolaris
Christian Persch [Sun, 15 Mar 2009 12:56:33 +0000 (12:56 +0000)]
Bug 575398 – configure warns about term.h under OpenSolaris

* configure.in: Fix curses detection on solaris. Patch by David Adam.

svn path=/trunk/; revision=2382

12 years agoUpdated assamese translations
Amitakhya Phukan [Fri, 13 Mar 2009 11:26:42 +0000 (11:26 +0000)]
Updated assamese translations

svn path=/trunk/; revision=2381

12 years agoUpdated assamese translations
Amitakhya Phukan [Fri, 13 Mar 2009 11:26:12 +0000 (11:26 +0000)]
Updated assamese translations

svn path=/trunk/; revision=2380

12 years agoBug 574616 – "real" transparency not working from python bindings
Behdad Esfahbod [Mon, 9 Mar 2009 10:20:54 +0000 (10:20 +0000)]
Bug 574616 – "real" transparency not working from python bindings

2009-03-09  Behdad Esfahbod  <behdad@gnome.org>

        Bug 574616 – "real" transparency not working from python bindings

        * src/vtepangocairo.c (_vte_pangocairo_destroy),
        (_vte_pangocairo_set_background_image): Better handle failure of
        creating pixmap.

        * src/vtebg.c (vte_bg_get_pixmap): Get rid of unused mask parameter.

svn path=/trunk/; revision=2379

12 years agoBug 574025 – Crash in _vte_terminal_insert_char
Behdad Esfahbod [Sat, 7 Mar 2009 23:51:12 +0000 (23:51 +0000)]
Bug 574025 – Crash in _vte_terminal_insert_char

2009-03-07  Behdad Esfahbod  <behdad@gnome.org>

        Bug 574025 – Crash in _vte_terminal_insert_char

        * src/vte.c (_vte_terminal_insert_char): Don't crash.

svn path=/trunk/; revision=2378

12 years agoPrepare 0.19.5
Christian Persch [Mon, 2 Mar 2009 20:14:12 +0000 (20:14 +0000)]
Prepare 0.19.5

svn path=/trunk/; revision=2377

12 years agoCorrect use of padding returned by vte_terminal_get_padding().
Christian Persch [Mon, 2 Mar 2009 20:14:07 +0000 (20:14 +0000)]
Correct use of padding returned by vte_terminal_get_padding().

* src/vteaccess.c: (vte_terminal_accessible_set_size),
(vte_terminal_accessible_ref_accessible_at_point):
* src/vteapp.c: (button_pressed): Correct use of padding returned
        by vte_terminal_get_padding().

svn path=/trunk/; revision=2376

12 years agoUse g_strerror() instead of strerror().
Christian Persch [Mon, 2 Mar 2009 20:14:01 +0000 (20:14 +0000)]
Use g_strerror() instead of strerror().

* src/vte.c: (vte_terminal_refresh_size), (vte_terminal_set_size):
Use g_strerror() instead of strerror().

svn path=/trunk/; revision=2375

12 years agoUpdated Italian translation by Francesco Marletta.
Luca Ferretti [Wed, 18 Feb 2009 20:22:43 +0000 (20:22 +0000)]
Updated Italian translation by Francesco Marletta.

2009-02-18  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation by Francesco Marletta.

svn path=/trunk/; revision=2374

12 years agoUpdated Romanian translations from Adi Roiban and Mișu Moldovan
Jani Monoses [Mon, 16 Feb 2009 19:55:33 +0000 (19:55 +0000)]
Updated Romanian translations from Adi Roiban and Mișu Moldovan

svn path=/trunk/; revision=2373

12 years ago0.19.4
Chao-Hsiung Liao [Sat, 14 Feb 2009 09:50:02 +0000 (09:50 +0000)]
0.19.4

svn path=/trunk/; revision=2372

12 years agoBug 54926 – Should try bold version of font before pseudo-bolding
Behdad Esfahbod [Thu, 12 Feb 2009 05:33:15 +0000 (05:33 +0000)]
Bug 54926 – Should try bold version of font before pseudo-bolding

2009-02-12  Behdad Esfahbod  <behdad@gnome.org>

        Bug 54926 – Should try bold version of font before pseudo-bolding

        Patch from Kees Cook <kees@outflux.net>

        * src/vte.c (_vte_invalidate_cell), (_vte_invalidate_cursor_once),
        (vte_terminal_unichar_is_local_graphic),
        (vte_terminal_draw_graphic), (vte_terminal_draw_cells),
        (vte_terminal_draw_rows), (vte_terminal_paint_cursor):
        * src/vtedraw.c (_vte_draw_get_char_width), (_vte_draw_text),
        (_vte_draw_char), (_vte_draw_has_char):
        * src/vtedraw.h:
        * src/vtepangocairo.c (_vte_pangocairo_set_text_font),
        (_vte_pangocairo_get_char_width), (_vte_pangocairo_has_bold),
        (_vte_pangocairo_draw_text), (_vte_pangocairo_draw_has_char):
        * src/vteskel.c:
        Try bold font before pseudo-bolding.

svn path=/trunk/; revision=2371

12 years agoIgnore this
Christian Persch [Sun, 8 Feb 2009 14:20:25 +0000 (14:20 +0000)]
Ignore this

svn path=/trunk/; revision=2370

12 years ago Bug 570208 – vte fails to build outside source tree
Christian Persch [Mon, 2 Feb 2009 15:09:20 +0000 (15:09 +0000)]
Bug 570208 – vte fails to build outside source tree

* python/Makefile.am: Build fix.

svn path=/trunk/; revision=2369

12 years agoRemove marshalers that have stock ones in gobject, and use the stock ones
Christian Persch [Sun, 1 Feb 2009 22:26:06 +0000 (22:26 +0000)]
Remove marshalers that have stock ones in gobject, and use the stock ones

* src/marshal.list:
* src/vte.c: (vte_terminal_class_init):
* src/vtebg.c: (vte_bg_class_init): Remove marshalers that have stock
ones in gobject, and use the stock ones instead.

svn path=/trunk/; revision=2368

12 years agoRequire GTK+ >= 2.14, for "gtk-fontconfig-timestamp" settings property.
Behdad Esfahbod [Sun, 1 Feb 2009 06:18:43 +0000 (06:18 +0000)]
Require GTK+ >= 2.14, for "gtk-fontconfig-timestamp" settings property.

2009-02-01  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Require GTK+ >= 2.14, for "gtk-fontconfig-timestamp"
        settings property.

        * src/vte.c (vte_terminal_style_set),
        (vte_terminal_set_font_full_internal), (vte_terminal_init),
        (vte_terminal_class_init):  Use style_set class method instead of
        hooking to style-set signal.  Also, proceed to recreating the font
        even if neither description nor antialias setting changed.  This is
        necessary to pick up fontconfig configuration changes as well as font
        install/uninstallations or GNOME font preferences changes.

        * src/vtepangocairo.c (font_info_destroy),
        (fontconfig_timestamp_quark),
        (vte_pango_cairo_set_fontconfig_timestamp),
        (vte_pango_cairo_get_fontconfig_timestamp), (context_hash),
        (context_equal), (font_info_create_for_context),
        (font_info_create_for_screen):
        Use fontconfig_timestamp in the font object hash, such that we respond
        to fontconfig configuration changes.

svn path=/trunk/; revision=2367

12 years agoUpdated Korean translation
Changwoo Ryu [Thu, 29 Jan 2009 12:38:14 +0000 (12:38 +0000)]
Updated Korean translation

svn path=/trunk/; revision=2366

12 years agofix bug #548272
Saleem Abdulrasool [Wed, 28 Jan 2009 03:47:11 +0000 (03:47 +0000)]
fix bug #548272

svn path=/trunk/; revision=2365

12 years agoUse GDK_BLANK_CURSOR for the invisible cursor on gtk+ >= 2.15.
Christian Persch [Tue, 20 Jan 2009 19:25:13 +0000 (19:25 +0000)]
Use GDK_BLANK_CURSOR for the invisible cursor on gtk+ >= 2.15.

* src/vte.c: (vte_terminal_realize): Use GDK_BLANK_CURSOR for the
invisible cursor on gtk+ >= 2.15.

svn path=/trunk/; revision=2364

12 years agoUse ttyname() as recommended in the glibc manual. Bug #565688.
Christian Persch [Tue, 20 Jan 2009 18:44:30 +0000 (18:44 +0000)]
Use ttyname() as recommended in the glibc manual. Bug #565688.

* gnome-pty-helper/gnome-pty-helper.c: (init_term_with_defaults),
(open_ptys), (close_pty_pair): Use ttyname() as recommended in the
glibc manual. Bug #565688.

svn path=/trunk/; revision=2363

12 years agoConvert some g_strdup_printf() uses to g_snprintf() when the buffer was
Behdad Esfahbod [Tue, 6 Jan 2009 20:18:36 +0000 (20:18 +0000)]
Convert some g_strdup_printf() uses to g_snprintf() when the buffer was

2009-01-06  Behdad Esfahbod  <behdad@gnome.org>

        * src/vteseq.c (vte_parse_color),
        (vte_sequence_handler_change_color),
        (vte_sequence_handler_request_terminal_parameters),
        (vte_sequence_handler_send_primary_device_attributes),
        (vte_sequence_handler_send_secondary_device_attributes),
        (vte_sequence_handler_device_status_report),
        (vte_sequence_handler_dec_device_status_report),
        (vte_sequence_handler_window_manipulation),
        (vte_sequence_handler_change_cursor_color):
        Convert some g_strdup_printf() uses to g_snprintf() when
        the buffer was fixed-size and freed immediately.
        Also fix g_snprintf usage by not using its return value.
        *If* the buffer is short, the returned len is not what we
        are interested in.
        Finally, pass -1 as len to vte_terminal_feed_child() in
        most places.  This means a bit more work for the processor,
        but cleaner code.

svn path=/trunk/; revision=2362

12 years agoBug 566795 – VTE fails to build in trunk
Behdad Esfahbod [Tue, 6 Jan 2009 19:04:59 +0000 (19:04 +0000)]
Bug 566795 – VTE fails to build in trunk

2009-01-06  Behdad Esfahbod  <behdad@gnome.org>

        Bug 566795 – VTE fails to build in trunk

        * src/vteseq.c (vte_sequence_handler_change_cursor_color):
        Fix build.

svn path=/trunk/; revision=2361

12 years agoadd support for OSC 4 and OSC 12
Saleem Abdulrasool [Tue, 6 Jan 2009 06:51:58 +0000 (06:51 +0000)]
add support for OSC 4 and OSC 12

svn path=/trunk/; revision=2360

12 years agoBug 566730 – vte_terminal_set_color_cursor() calls invalidate_all but it
Behdad Esfahbod [Tue, 6 Jan 2009 05:39:42 +0000 (05:39 +0000)]
Bug 566730 – vte_terminal_set_color_cursor() calls invalidate_all but it

2009-01-06  Behdad Esfahbod  <behdad@gnome.org>

        Bug 566730 – vte_terminal_set_color_cursor() calls invalidate_all but
        it doesn't have to

        * src/vte.c (vte_terminal_set_color_internal): If color is VTE_CUR_BG,
        invalidate_cursor_once instead of invalidate_all.

svn path=/trunk/; revision=2359

12 years agoIf color is VTE_CUR_BG, invalidate_cursor_once instead of invalidate_all.
Behdad Esfahbod [Tue, 6 Jan 2009 05:39:17 +0000 (05:39 +0000)]
If color is VTE_CUR_BG, invalidate_cursor_once instead of invalidate_all.

2009-01-06  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (vte_terminal_set_color_internal): If color is VTE_CUR_BG,
        invalidate_cursor_once instead of invalidate_all.

svn path=/trunk/; revision=2358

12 years agoBug 565679 - alloca is discouraged
Halton Huo [Fri, 26 Dec 2008 14:48:23 +0000 (14:48 +0000)]
Bug 565679 - alloca is discouraged

2008-12-26  Halton Huo  <halton.huo@sun.com>

Bug 565679 - alloca is discouraged

* gnome-pty-helper/gnome-pty-helper.c: use malloc replace alloca.

svn path=/trunk/; revision=2357

12 years agoFix the same typo also in the libinfo check.
Christian Persch [Fri, 26 Dec 2008 12:37:42 +0000 (12:37 +0000)]
Fix the same typo also in the libinfo check.

* configure.in: Fix the same typo also in the libinfo check.

svn path=/trunk/; revision=2356

12 years agoBug 565675 - typo in configure.in cause ncurses checking fail
Halton Huo [Fri, 26 Dec 2008 10:34:18 +0000 (10:34 +0000)]
Bug 565675 - typo in configure.in cause ncurses checking fail

2008-12-26  Halton Huo  <halton.huo@sun.com>

Bug 565675 - typo in configure.in cause ncurses checking fail

* configure.in: Fix typo for ncurses. s/ncuses/ncurses

svn path=/trunk/; revision=2355

12 years agoFix warnings.
Behdad Esfahbod [Fri, 26 Dec 2008 04:13:33 +0000 (04:13 +0000)]
Fix warnings.

2008-12-25  Behdad Esfahbod  <behdad@gnome.org>

        * src/interpret.c (main):
        * src/slowcat.c (catfile):
        * src/table.c (_vte_table_addi), (_vte_table_add):
        * src/trie.c (_vte_trie_matchx):
        * src/vte.c (_vte_invalidate_cell), (_vte_terminal_insert_char):
        * src/vteaccess.c (offset_from_xy),
        (vte_terminal_accessible_finalize),
        (vte_terminal_accessible_get_text),
        (vte_terminal_accessible_get_text_somewhere):
        * src/vteapp.c (main):
        * src/vtebg.c (vte_bg_cache_item_free), (vte_bg_cache_add):
        Fix warnings.

svn path=/trunk/; revision=2354

12 years agoMinor.
Behdad Esfahbod [Fri, 26 Dec 2008 03:11:32 +0000 (03:11 +0000)]
Minor.

svn path=/trunk/; revision=2353

12 years agoBug 565663 – compile failure because use static function in another .h
Behdad Esfahbod [Fri, 26 Dec 2008 03:10:39 +0000 (03:10 +0000)]
Bug 565663 – compile failure because use static function in another .h

2008-12-25  Behdad Esfahbod  <behdad@gnome.org>

        Bug 565663 – compile failure because use static function in another .h
        file

        * src/vte.c: Don't mark extern function inline.

svn path=/trunk/; revision=2352

12 years agoBug 149631 – gnome-terminal doesn't combine combining chars in utf8
Behdad Esfahbod [Wed, 17 Dec 2008 08:26:19 +0000 (08:26 +0000)]
Bug 149631 – gnome-terminal doesn't combine combining chars in utf8

2008-12-17  Behdad Esfahbod  <behdad@gnome.org>

        Bug 149631 – gnome-terminal doesn't combine combining chars in utf8

        * src/vteunistr.c:
        Limit to 9 combining marks per unistr, and a total of 100,000 unistrs.
        All to prevent OOM.

svn path=/trunk/; revision=2351

12 years agoReleased 0.19.4. vte_0_19_4
Behdad Esfahbod [Mon, 15 Dec 2008 20:50:32 +0000 (20:50 +0000)]
Released 0.19.4.

2008-12-15  Behdad Esfahbod  <behdad@gnome.org>

        * NEWS:
        * configure.in:
        Released 0.19.4.

svn path=/trunk/; revision=2349

12 years agoFix make check.
Behdad Esfahbod [Mon, 15 Dec 2008 20:45:11 +0000 (20:45 +0000)]
Fix make check.

svn path=/trunk/; revision=2348

12 years agoFix doc syntax
Behdad Esfahbod [Mon, 15 Dec 2008 20:30:18 +0000 (20:30 +0000)]
Fix doc syntax

svn path=/trunk/; revision=2347

12 years agoBug 564535 – check for gperf on build
Behdad Esfahbod [Mon, 15 Dec 2008 01:08:12 +0000 (01:08 +0000)]
Bug 564535 – check for gperf on build

2008-12-14  Behdad Esfahbod  <behdad@gnome.org>

        Bug 564535 – check for gperf on build

        * autogen.sh: Check for gperf.

svn path=/trunk/; revision=2346

12 years agoTypos
Behdad Esfahbod [Fri, 12 Dec 2008 11:29:40 +0000 (11:29 +0000)]
Typos

svn path=/trunk/; revision=2345

12 years agoDocument vteunistr.
Behdad Esfahbod [Fri, 12 Dec 2008 11:20:31 +0000 (11:20 +0000)]
Document vteunistr.

2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

        * doc/reference/Makefile.am:
        * src/vteunistr.c (unistr_comp_hash), (unistr_comp_equal),
        (_vte_unistr_append_unichar), (_vte_unistr_get_base),
        (_vte_unistr_append_to_string), (_vte_unistr_strlen):
        * src/vteunistr.h:
        Document vteunistr.

svn path=/trunk/; revision=2344

12 years ago.
Behdad Esfahbod [Fri, 12 Dec 2008 09:22:48 +0000 (09:22 +0000)]
.

svn path=/trunk/; revision=2343

12 years agoMinor.
Behdad Esfahbod [Fri, 12 Dec 2008 09:22:06 +0000 (09:22 +0000)]
Minor.

svn path=/trunk/; revision=2342

12 years agoAvoid pointers in the const array.
Behdad Esfahbod [Fri, 12 Dec 2008 09:04:00 +0000 (09:04 +0000)]
Avoid pointers in the const array.

2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

        * src/iso2022.c (_vte_iso2022_ambiguous_width): Avoid pointers in the
        const array.

svn path=/trunk/; revision=2341

12 years agoBug 149631 – gnome-terminal doesn't combine combining chars in utf8
Behdad Esfahbod [Fri, 12 Dec 2008 06:57:09 +0000 (06:57 +0000)]
Bug 149631 – gnome-terminal doesn't combine combining chars in utf8

2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

        Bug 149631 – gnome-terminal doesn't combine combining chars in utf8

        * src/vteunistr.c:
        * src/vteunistr.h:
        An extended UTF-32 type that assigns numeric values to UTF-8 sequences
        on demand.  Can be used to efficiently store a string, instead of one
        character, at each cell.

        * src/vte-private.h:
        * src/vte.c:
        * src/vtedraw.c:
        * src/vtedraw.h:
        * src/vtepangocairo.c:
        Port to vteunistr instead of gunichar for cell content.

        * src/vte.c:
        Handle zerowidth insertions by sticking it on the previous cell.

        * src/iso2022.h:
        * src/iso2022.c:
        Cleanup ambiguous-width handling.  Handle zero-width chars.

svn path=/trunk/; revision=2340

12 years agoTypo
Christian Persch [Thu, 11 Dec 2008 14:05:01 +0000 (14:05 +0000)]
Typo

svn path=/trunk/; revision=2339

12 years ago Bug 564057 – src/pty.c does not compile with
Christian Persch [Thu, 11 Dec 2008 13:50:33 +0000 (13:50 +0000)]
Bug 564057 – src/pty.c does not compile with
--disable-gnome-pty-helper

* src/pty.c: Build with --disable-gnome-pty-helper. Patch by
yselkowitz at users.sourceforge.net .

svn path=/trunk/; revision=2338

12 years agoUpdate set-scroll-adjustement docs.
Christian Persch [Thu, 11 Dec 2008 13:50:25 +0000 (13:50 +0000)]
Update set-scroll-adjustement docs.

* src/vte.c: (vte_terminal_class_init): Update set-scroll-adjustement
docs.

svn path=/trunk/; revision=2337

12 years agoBug 562695 - ship pkg-config file for python bindings
Paolo Borelli [Wed, 10 Dec 2008 21:51:27 +0000 (21:51 +0000)]
Bug 562695 - ship pkg-config file for python bindings

2008-12-10  Paolo Borelli  <pborelli@katamail.com>

Bug 562695 - ship pkg-config file for python bindings

* configure.in:
        * python/Makefile.am:
* python/pyvte.pc.in:

svn path=/trunk/; revision=2336

12 years agoBug 563752 – pangocairo backend recreates cairo_surface_t for background
Behdad Esfahbod [Mon, 8 Dec 2008 20:17:00 +0000 (20:17 +0000)]
Bug 563752 – pangocairo backend recreates cairo_surface_t for background

2008-12-08  Behdad Esfahbod  <behdad@gnome.org>

        Bug 563752 – pangocairo backend recreates cairo_surface_t for
        background drawing

        * src/vte.c (vte_terminal_paint),
        (vte_terminal_set_scroll_background),
        (vte_terminal_background_update):
        * src/vtedraw.c (_vte_draw_new), (_vte_draw_set_background_solid),
        (_vte_draw_set_background_image),
        (_vte_draw_set_background_scroll), (_vte_draw_draw_rectangle):
        * src/vtedraw.h:
        * src/vtepangocairo.c (_vte_pangocairo_destroy),
        (_vte_pangocairo_set_background_solid),
        (_vte_pangocairo_set_background_image),
        (_vte_pangocairo_set_background_scroll), (_vte_pangocairo_clear),
        (_vte_pangocairo_clip), (set_source_color_alpha):
        * src/vteskel.c:
        Cleanup vte_draw background API.  Use a cached cairo_pattern_t in
        pangocairo backend.

        Also, queue background update on scroll_background change.

svn path=/trunk/; revision=2335

12 years agoBug 163213 – Cursor should remain visible when selected
Behdad Esfahbod [Mon, 8 Dec 2008 04:06:05 +0000 (04:06 +0000)]
Bug 163213 – Cursor should remain visible when selected

2008-12-07  Behdad Esfahbod  <behdad@gnome.org>

        Bug 163213 – Cursor should remain visible when selected

        * src/vte.c (vte_terminal_paint_cursor): Do a reverse hollow cursor
        if selected but not focused.

svn path=/trunk/; revision=2334

12 years agoDon't modify source_pixbuf. If we're going to change the saturation, first
Christian Persch [Fri, 5 Dec 2008 18:58:17 +0000 (18:58 +0000)]
Don't modify source_pixbuf. If we're going to change the saturation, first

* src/vtebg.c: (vte_bg_get_pixmap): Don't modify source_pixbuf. If
we're going to change the saturation, first make a copy. Fixes
switching background type between fauxtransparency and image in
gnome-terminal trunk.

svn path=/trunk/; revision=2333

12 years agoFix scrolling offset. Ray Strode reported that background offset was being
Behdad Esfahbod [Fri, 5 Dec 2008 18:35:29 +0000 (18:35 +0000)]
Fix scrolling offset. Ray Strode reported that background offset was being

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * src/vtepangocairo.c (_vte_pangocairo_clear): Fix scrolling offset.
        Ray Strode reported that background offset was being done incorrectly.
        A negation did it.

svn path=/trunk/; revision=2332

12 years agoHook up perf/.
Behdad Esfahbod [Fri, 5 Dec 2008 18:20:41 +0000 (18:20 +0000)]
Hook up perf/.

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * Makefile.am:
        * configure.in:
        Hook up perf/.

        Also adjust svn:ignore props.

svn path=/trunk/; revision=2331

12 years agoReleased 0.19.3.
Behdad Esfahbod [Fri, 5 Dec 2008 18:08:07 +0000 (18:08 +0000)]
Released 0.19.3.

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * NEWS:
        * configure.in:
        Released 0.19.3.

svn path=/trunk/; revision=2330

12 years agoAlways call g_array_new() with clear flag set. It incurs no overhead but
Behdad Esfahbod [Fri, 5 Dec 2008 18:02:21 +0000 (18:02 +0000)]
Always call g_array_new() with clear flag set. It incurs no overhead but

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (_vte_new_row_data), (_vte_new_row_data_sized),
        (vte_terminal_match_contents_refresh),
        (vte_terminal_process_incoming), (vte_terminal_init),
        (vte_terminal_set_word_chars):
        Always call g_array_new() with clear flag set.  It incurs no overhead
        but avoids heisenbugs.

svn path=/trunk/; revision=2329

12 years agoUse structure assignment instead of memcpy().
Behdad Esfahbod [Fri, 5 Dec 2008 17:58:05 +0000 (17:58 +0000)]
Use structure assignment instead of memcpy().

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (_vte_terminal_insert_char):
        * src/vteseq.c (vte_sequence_handler_screen_alignment_test):
        Use structure assignment instead of memcpy().

svn path=/trunk/; revision=2328

12 years agoRemove unneeded checks. They were masking bugs.
Behdad Esfahbod [Fri, 5 Dec 2008 17:56:48 +0000 (17:56 +0000)]
Remove unneeded checks. They were masking bugs.

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (_vte_terminal_cleanup_tab_fragments_at_cursor): Remove
        unneeded checks.  They were masking bugs.

svn path=/trunk/; revision=2327

12 years agoRed Hat Bug 474618 - gnome-terminal sometime leaves empty begining of the
Behdad Esfahbod [Fri, 5 Dec 2008 17:53:49 +0000 (17:53 +0000)]
Red Hat Bug 474618 - gnome-terminal sometime leaves empty begining of the

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        Red Hat Bug 474618 -  gnome-terminal sometime leaves empty begining
        of the line

        * src/vte.c (_vte_terminal_insert_char): Really fix the bug this time.

svn path=/trunk/; revision=2326

12 years agoBuild fixes. vte_0_19_2
Behdad Esfahbod [Fri, 5 Dec 2008 15:04:24 +0000 (15:04 +0000)]
Build fixes.

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * src/Makefile.am:
        Build fixes.

        * NEWS:
        * configure.in:
        Released 0.19.2.

svn path=/trunk/; revision=2324

12 years agoMore build fixes
Behdad Esfahbod [Fri, 5 Dec 2008 15:03:27 +0000 (15:03 +0000)]
More build fixes

svn path=/trunk/; revision=2323

12 years agoFix build.
Behdad Esfahbod [Fri, 5 Dec 2008 14:52:42 +0000 (14:52 +0000)]
Fix build.

svn path=/trunk/; revision=2322

12 years agoFix version numbers here.
Behdad Esfahbod [Fri, 5 Dec 2008 14:30:48 +0000 (14:30 +0000)]
Fix version numbers here.

svn path=/trunk/; revision=2321

12 years agoReleased 0.19.2.
Behdad Esfahbod [Fri, 5 Dec 2008 14:29:49 +0000 (14:29 +0000)]
Released 0.19.2.

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

        * NEWS:
        * configure.in:
        Released 0.19.2.

svn path=/trunk/; revision=2320

12 years agoBug 474618 - gnome-terminal sometime leaves empty begining of the line
Behdad Esfahbod [Fri, 5 Dec 2008 14:23:28 +0000 (14:23 +0000)]
Bug 474618 - gnome-terminal sometime leaves empty begining of the line

2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

         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.

svn path=/trunk/; revision=2319

12 years agoBug 563274 – Misspelled word in src code
Behdad Esfahbod [Thu, 4 Dec 2008 21:25:03 +0000 (21:25 +0000)]
Bug 563274 – Misspelled word in src code

2008-12-04  Behdad Esfahbod  <behdad@gnome.org>

        Bug 563274 – Misspelled word in src code

        * src/vte.c (vte_terminal_process_incoming): Fix typo.

svn path=/trunk/; revision=2318

12 years agoBug 563024 – In alternate-screen, selection can copy out of screen
Behdad Esfahbod [Wed, 3 Dec 2008 00:56:02 +0000 (00:56 +0000)]
Bug 563024 – In alternate-screen, selection can copy out of screen

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

12 years ago Bug 552096 – Detect tgetent if provided by libtinfo
Christian Persch [Tue, 2 Dec 2008 22:10:19 +0000 (22:10 +0000)]
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.

svn path=/trunk/; revision=2316

12 years agoShow the correct version in Since: and Deprecated: annotations.
Christian Persch [Tue, 2 Dec 2008 22:10:13 +0000 (22:10 +0000)]
Show the correct version in Since: and Deprecated: annotations.

* src/vte.c: (vte_terminal_class_init): Show the correct version in
Since: and Deprecated: annotations.

svn path=/trunk/; revision=2315

12 years agoDon't do fancy rounding for row selection, only for column.
Behdad Esfahbod [Tue, 2 Dec 2008 20:38:06 +0000 (20:38 +0000)]
Don't do fancy rounding for row selection, only for column.

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

12 years agoCall function instead of open coding.
Behdad Esfahbod [Tue, 2 Dec 2008 20:29:09 +0000 (20:29 +0000)]
Call function instead of open coding.

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

12 years agoCache the full ASCII range if Latin uses the default language.
Behdad Esfahbod [Tue, 2 Dec 2008 20:16:27 +0000 (20:16 +0000)]
Cache the full ASCII range if Latin uses the default language.

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

12 years agoRespect PangoLanguage set on a widget's PangoContext.
Behdad Esfahbod [Tue, 2 Dec 2008 19:57:47 +0000 (19:57 +0000)]
Respect PangoLanguage set on a widget's PangoContext.

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

12 years agoRemove CJK fullwidth measurement hacks. Pango doesn't need these. We're
Behdad Esfahbod [Tue, 2 Dec 2008 19:14:26 +0000 (19:14 +0000)]
Remove CJK fullwidth measurement hacks. Pango doesn't need these. We're

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

12 years agoBug 559818 – redundant selection-changed signal on deselection
Behdad Esfahbod [Tue, 2 Dec 2008 18:36:33 +0000 (18:36 +0000)]
Bug 559818 – redundant selection-changed signal on deselection

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

12 years agoAdd missing I_() decorator
Behdad Esfahbod [Tue, 2 Dec 2008 18:22:39 +0000 (18:22 +0000)]
Add missing I_() decorator

svn path=/trunk/; revision=2308

12 years agoRewrite text selection. In particular, fix block_mode.
Behdad Esfahbod [Tue, 2 Dec 2008 17:59:11 +0000 (17:59 +0000)]
Rewrite text selection. In particular, fix block_mode.

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

12 years agoUpdate.
Behdad Esfahbod [Tue, 2 Dec 2008 15:43:43 +0000 (15:43 +0000)]
Update.

2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

        * HACKING: Update.

svn path=/trunk/; revision=2306

12 years agoMouse tracking cleanup.
Behdad Esfahbod [Tue, 2 Dec 2008 15:40:12 +0000 (15:40 +0000)]
Mouse tracking cleanup.

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

12 years agoMinor
Behdad Esfahbod [Tue, 2 Dec 2008 14:55:55 +0000 (14:55 +0000)]
Minor

svn path=/trunk/; revision=2304

12 years agoAdd -Wno-switch-enum warning flag as we are not -Wswitch-enum clean.
Behdad Esfahbod [Tue, 2 Dec 2008 14:53:59 +0000 (14:53 +0000)]
Add -Wno-switch-enum warning flag as we are not -Wswitch-enum clean.

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

12 years agoCut one third of the 400-line function out into a function of its own.
Behdad Esfahbod [Tue, 2 Dec 2008 14:45:30 +0000 (14:45 +0000)]
Cut one third of the 400-line function out into a function of its own.

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

12 years agoRevert previous change.
Behdad Esfahbod [Tue, 2 Dec 2008 14:33:57 +0000 (14:33 +0000)]
Revert previous change.

2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (vte_terminal_extend_selection): Revert previous change.

svn path=/trunk/; revision=2301

12 years agoAdd a shortcircuit check.
Behdad Esfahbod [Tue, 2 Dec 2008 13:54:42 +0000 (13:54 +0000)]
Add a shortcircuit check.

2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c (vte_terminal_extend_selection):  Add a shortcircuit
        check.

svn path=/trunk/; revision=2300

12 years agoChange mouse coordinates type from double to long.
Behdad Esfahbod [Tue, 2 Dec 2008 13:49:21 +0000 (13:49 +0000)]
Change mouse coordinates type from double to long.

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