ChangeLog.pre-git 423 KB
Newer Older
1 2 3 4 5
2009-03-31  Adam Jackson  <ajax@redhat.com>

	* src/vteapp.c:
	Add gopher:// to the dingus-click regexes.

6 7 8 9 10 11 12
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.

13 14 15 16 17 18 19
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.

20 21 22 23 24 25 26
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.

27 28 29 30 31 32 33 34
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".

35 36 37 38 39 40
2009-03-15  Christian Persch  <chpe@gnome.org>

	Bug 574491  gnome-pty-helper can prevent volumes from being unmounted

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

41 42 43 44
2009-03-15  Christian Persch  <chpe@gnome.org>

	* configure.in: Prepare version 0.20.0.

45 46 47 48 49 50
2009-03-15  Christian Persch  <chpe@gnome.org>

	Bug 575398  configure warns about term.h under OpenSolaris

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

51 52 53 54 55 56 57 58 59 60
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.

61 62 63 64 65 66
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.

67 68 69 70 71
2009-03-02  Christian Persch  <chpe@gnome.org>

	* NEWS:
	* configure.in: Updated for version 0.19.5.

72 73 74 75 76 77 78
2009-03-02  Christian Persch  <chpe@gnome.org>

	* 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().

79 80 81 82 83
2009-03-02  Christian Persch  <chpe@gnome.org>

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

84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
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.

103 104 105 106 107 108
2009-02-02  Christian Persch  <chpe@gnome.org>

	Bug 570208 – vte fails to build outside source tree

	* python/Makefile.am: Build fix.

109 110 111 112 113 114 115
2009-02-01  Christian Persch  <chpe@gnome.org>

	* 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.

116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
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.

Saleem Abdulrasool's avatar
Saleem Abdulrasool committed
138 139 140 141 142
2009-01-22  Saleem Abdulrasool <compnerd@compnerd.org>

	* src/vteseq.c (vte_sequence_handler_window_manipulation):
		Tweak output for OSC 13, 14, 18, 19, 20, 21.  Bug #548272.

143 144 145 146 147
2009-01-20  Christian Persch  <chpe@gnome.org>

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

148 149 150 151 152 153
2009-01-20  Christian Persch  <chpe@gnome.org>

	* 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.

154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
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.

174 175 176 177 178 179 180
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.

181 182 183 184 185 186 187 188 189 190
2009-01-06  Saleem Abdulrasool <compnerd@compnerd.org>

	* src/vteseq-n.gperf:
	* src/vteseq.c (vte_ucs4_to_utf8), (vte_parse_color),
	(vte_terminal_emit_deiconify_window), (vte_sequence_handler_change_color),
	(vte_sequence_handler_change_cursor_color):

	Bug #524170 - Pull out ucs4_to_utf8 and use in new functions.  Add support
	for OSC 4 (initc) and OSC 12 (change cursor color).

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

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

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

199 200 201 202 203 204
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.

205 206 207 208
2008-12-26  Christian Persch  <chpe@gnome.org>

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

209 210 211 212 213 214
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

Behdad Esfahbod's avatar
Behdad Esfahbod committed
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
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.

230 231 232 233 234 235 236
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.

237 238 239 240 241 242 243 244
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.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
245 246 247 248 249 250
2008-12-15  Behdad Esfahbod  <behdad@gnome.org>

	* NEWS:
	* configure.in:
	Released 0.19.4.

251 252 253 254 255 256
2008-12-14  Behdad Esfahbod  <behdad@gnome.org>

	Bug 564535  check for gperf on build

	* autogen.sh: Check for gperf.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
257 258 259 260 261 262 263 264 265
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.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
266 267
2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

Behdad Esfahbod's avatar
.  
Behdad Esfahbod committed
268
	* src/vteunistr.h: Minor cleanup.
Behdad Esfahbod's avatar
Behdad Esfahbod committed
269

270 271 272 273 274
2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

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

275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298
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.

299 300 301 302 303 304 305 306
2008-12-11  Christian Persch  <chpe@gnome.org>

	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 .

307 308 309 310 311
2008-12-11  Christian Persch  <chpe@gnome.org>

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

312 313 314 315 316
2008-12-10  Paolo Borelli  <pborelli@katamail.com>

	Bug 562695 - ship pkg-config file for python bindings

	* configure.in:
317
	* python/Makefile.am:
318 319
	* python/pyvte.pc.in:

320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
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.

343 344 345 346 347 348 349
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.

350 351 352 353 354 355 356
2008-12-05  Christian Persch  <chpe@gnome.org>

	* 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.

357 358 359 360 361 362
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.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
363 364 365 366 367 368 369 370
2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

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

	Also adjust svn:ignore props.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
371 372 373 374 375 376
2008-12-05  Behdad Esfahbod  <behdad@gnome.org>

	* NEWS:
	* configure.in:
	Released 0.19.3.

377 378 379 380 381 382 383 384 385
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.

386 387 388 389 390 391
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().

392 393 394 395 396
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.

397 398 399 400 401 402 403
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.

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

Behdad Esfahbod's avatar
Behdad Esfahbod committed
406 407 408
	* src/Makefile.am:
	Build fixes.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
409 410 411 412 413 414 415 416
	* NEWS:
	* configure.in:
	Released 0.19.2.

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

	Red Hat Bug 474618 -  gnome-terminal sometime leaves empty begining
	of the line
417 418 419 420

	* src/vte.c (_vte_terminal_cleanup_tab_fragments_at_cursor): continue
	instead of break'ing out of the loop.

421 422 423 424 425 426
2008-12-04  Behdad Esfahbod  <behdad@gnome.org>

	Bug 563274  Misspelled word in src code

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

427 428 429 430 431 432 433 434 435 436 437
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 the
	visible screen.

	I have a deja vu of fixing this bug like two years ago...

438 439 440 441 442 443 444 445 446
2008-12-02  Christian Persch  <chpe@gnome.org>

	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.

447 448 449 450 451 452
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.

453 454 455 456 457
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.

458 459 460 461 462 463
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.

464 465 466 467 468 469 470
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.

471 472 473 474 475 476
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.

477 478 479 480 481 482 483 484
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.

485 486 487 488 489 490
2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h:
	* src/vte.c:
	Rewrite text selection.  In particular, fix block_mode.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
491 492 493 494
2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

	* HACKING: Update.

495 496 497 498 499 500 501 502 503 504 505 506 507
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.

508 509 510 511 512
2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in: Add -Wno-switch-enum warning flag as we are not
	-Wswitch-enum clean.

513 514 515 516 517 518
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.

519 520 521 522
2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

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

523 524 525 526 527
2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

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

528 529 530 531 532 533 534 535 536 537 538 539
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.

540 541 542 543 544 545 546
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.

547 548 549 550 551 552 553 554
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.

555 556 557 558 559 560 561 562 563 564 565
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.

566 567 568 569 570
2008-12-02  Christian Persch  <chpe@gnome.org>

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

571 572 573 574 575 576
2008-12-02  Christian Persch  <chpe@gnome.org>

	Bug 112172  Get rid of VteReaper

	* src/reaper.h: Deprecate.

577 578 579 580 581 582 583
2008-12-02  Christian Persch  <chpe@gnome.org>

	* 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.

584 585 586 587 588 589 590
2008-12-02  Christian Persch  <chpe@gnome.org>

	* 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.

591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607
2008-12-02  Christian Persch  <chpe@gnome.org>

	* 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.

608 609 610 611 612 613 614
2008-12-02  Christian Persch  <chpe@gnome.org>

	Bug 560667  invalid definition of VTE_INVALID_SOURCE

	* src/vte-private.h: Fix VTE_INVALID_SOURCE define to use 0 instead of
	-1.

615 616 617 618 619
2008-12-02  Christian Persch  <chpe@gnome.org>

	* configure.in: Remove two AC_DEFINEs from here.
	* src/vte-private.h: Define VTE_INVALID_SOURCE here for now.

620 621 622 623 624 625 626 627 628 629 630
2008-12-02  Christian Persch  <chpe@gnome.org>

	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.

631 632 633 634 635
2008-12-02  Christian Persch  <chpe@gnome.org>

	* src/vteapp.c: (main): Catch the child-exited signal to the child's
	exit code.

636 637 638 639 640
2008-12-02  Christian Persch  <chpe@gnome.org>

	* src/vte-private.h:
	* src/vte.c: (vte_terminal_class_init): Intern the signal names.

641 642 643 644 645 646 647 648
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.

649 650 651 652 653 654 655
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".

656 657 658 659 660 661 662 663 664 665 666 667
2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

	* 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.

668 669 670 671 672 673 674 675 676 677 678 679
2008-12-02  Behdad Esfahbod  <behdad@gnome.org>

	* 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.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
680 681 682 683 684 685
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* NEWS:
	* configure.in:
	Released 0.19.1.

686 687 688 689 690 691 692 693 694 695 696 697
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* doc/reference/Makefile.am:
	* doc/reference/check-doc-syntax.sh:
	* src/Makefile.am:
	* src/check-doc-syntax.sh:
	* src/vte.c (vte_terminal_catch_child_exited),
	(vte_terminal_class_init):
	* src/vte.h:
	* src/vtepangocairo.c:
	Copy check-doc-syntax.sh tests from cairo and fix doc bugs.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
698 699 700 701 702 703
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* doc/reference/tmpl/vte-unused.sgml:
	* doc/reference/vte-sections.txt:
	Remove reaper docs.

704 705 706 707 708 709 710 711 712 713
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	Bug 562806  crash in Terminal: Typing "cd " just after ...

	* src/vte.c (_vte_terminal_cleanup_tab_fragments_at_cursor):
	Fix possible NULL dereference.

	* src/vteseq.c (vte_sequence_handler_ta):
	Fix tab fragments to have \t as c.

714 715 716 717 718
2008-12-01  Christian Persch  <chpe@gnome.org>

	* NEWS:
	* configure.in: Prepare 0.19.0.

719 720 721 722 723 724 725 726 727
2008-12-01  Christian Persch  <chpe@gnome.org>

	Bug 562511  scrollbar doesn't sit at the bottom

	* src/vte.c: (vte_terminal_init),
	(vte_terminal_set_scrollback_lines): Always update the scrollback
	lines, even if the setting hasn't changed. Work-around to fix bug
	#562511.

728 729 730 731
2008-12-01  Christian Persch  <chpe@gnome.org>

	* src/vte.c: (vte_terminal_class_init): Fix visible-bell property.

732 733 734 735 736 737
2008-12-01  Christian Persch  <chpe@gnome.org>

	* src/vte.c: (vte_terminal_set_font_full_internal),
	(vte_terminal_class_init): Rename font property to "font-desc" to be
	more in line with other properties of this type in gtk.

738 739 740 741
2008-12-01  Christian Persch  <chpe@gnome.org>

	* src/vteapp.c: (main): Add gobject notification debugging.

742 743 744 745 746 747
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (vte_terminal_termcap_string_same_as_for),
	(vte_sequence_handler_se), (vte_sequence_handler_so):
	Simplify standout handling code.

748 749 750 751
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c: Rip out VTE_SEQUENCE_HANDLER_PROTO.

752 753 754 755
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c: Rip out vte_sequence_handler_invoke.

756 757 758 759
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c: Rip out VTE_SEQUENCE_HANDLER_INVOKE.

760 761 762 763
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c: Rip out VTE_SEQUENCE_HANDLER_REFERENCE.

764 765 766 767 768
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (_vte_terminal_handle_sequence): Rip out the gcc label
	vtable code.

769 770 771 772 773 774
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (display_control_sequence),
	(_vte_terminal_handle_sequence):
	Some cleanup of the gcc label vtable code before I rip it out.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
775 776 777 778 779 780 781
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (vte_sequence_handler_set_title_internal),
	(vte_sequence_handler_set_mode_internal),
	(vte_sequence_handler_invoke_internal):
	Move some code around.

782 783 784 785
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteskel.c: Remove excess initializer.

786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/buffer.c:
	* src/caps.c:
	* src/dumpkeys.c:
	* src/interpret.c:
	* src/iso2022.c:
	* src/keymap.c:
	* src/matcher.c:
	* src/mev.c:
	* src/pty.c:
	* src/reaper.c:
	* src/reflect.c:
	* src/ring.c:
	* src/slowcat.c:
	* src/ssfe.c:
	* src/table.c:
	* src/trie.c:
	* src/vteaccess.c:
	* src/vtebg.c:
	* src/vteconv.c:
	* src/vtedraw.c:
	* src/vteseq.c:
	* src/vteskel.c:
	* src/xticker.c:
	#include <config.h> instead of "../config.h".

813 814 815 816 817 818 819 820 821
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c: Some wild crack to build the vtable using gcc
	extension for labels as values.  The advantage is that we get down to
	an empty .data for vteseq.o but .text grows considerably.  And we have
	to use nested functions, and #define static auto.  It's really ugly.
	I'm going to remove it in the next commit or the one after.  Just
	wanted to record it here for posterity.

822 823 824 825 826 827 828 829 830 831 832 833
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (vte_sequence_handler_invoke),
	(vte_sequence_handler_offset), (vte_sequence_handler_multiple),
	(vte_sequence_handler_decset_internal),
	(VTE_SEQUENCE_HANDLER_PROTO), (_vte_terminal_handle_sequence):
	Almost there.  Towards a .data-free vtable.

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

	* src/vteseq.c: Finish decoupling handle type from function type.

834 835 836 837 838 839 840 841 842 843 844
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h:
	* src/vteseq.c (vte_sequence_handler_offset),
	(vte_sequence_handler_multiple),
	(vte_sequence_handler_decset_internal),
	(vte_sequence_handler_set_mode_internal),
	(VTE_SEQUENCE_HANDLER_PROTO), (_vte_terminal_handle_sequence):
	Make sequence handlers return void instead of gboolean.  The return
	value was unused.

845 846 847 848 849 850 851 852 853 854
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (vte_sequence_handler_offset),
	(vte_sequence_handler_multiple),
	(vte_sequence_handler_decset_internal),
	(VTE_SEQUENCE_HANDLER_PROTO), (_vte_terminal_handle_sequence):
	Switch to calling other handlers using two macros.
	Get rid of match and match_quark arguments to sequence handlers.
	They were unused.

855 856 857 858 859
2008-12-01  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (vte_sequence_handler_set_title_internal):
	Cleanup vte_sequence_handler_set_title_internal.

860 861 862 863 864
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (VTE_SEQUENCE_HANDLER_PROTO): Use a macro to define
	type of sequence handlers.

865 866 867 868 869 870 871 872
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/vteseq-2.c:
	* src/vteseq-n.c:
	Remove gperf-generated files from SVN, but still distribute them in
	the tarball.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
873 874 875 876 877 878 879 880 881
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h:
	* src/vte.c:
	* src/vteseq.c (_vte_terminal_scroll_text),
	(vte_sequence_handler_scroll_down),
	(vte_sequence_handler_scroll_up):
	More code shufflling.

882 883 884 885 886 887
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/vteseq-list.h:
	Remove vteseq-list.h from SVN, but still distribute it in the tarball.

888 889 890 891 892 893
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/vteseq-list.h:
	Autogenerate vteseq-list.h.

894 895 896 897 898 899 900 901 902 903 904
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq-list.h:
	* src/vteseq.c (_vte_terminal_home_cursor),
	(_vte_terminal_clear_screen), (_vte_terminal_clear_current_line),
	(_vte_terminal_clear_above_current),
	(vte_sequence_handler_decset_internal), (vte_sequence_handler_cl),
	(vte_sequence_handler_ho), (vte_sequence_handler_erase_in_display),
	(vte_sequence_handler_erase_in_line):
	Sync vteseql-list.h with actual handlers used in gperf files.

905 906 907 908 909 910 911 912
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq-list.h:
	* src/vteseq.c (vte_sequence_handler_scroll_down),
	(vte_sequence_handler_scroll_up):
	Implement these calling vte_terminal_scroll() directly instead of
	multiple'ing.

913 914 915 916 917 918 919 920
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h:
	* src/vte.c (_vte_terminal_scroll), (_vte_terminal_scroll_region):
	* src/vteseq.c (vte_sequence_handler_scroll_down_one),
	(vte_sequence_handler_scroll_up_one):
	Move vte_terminal_scroll to vte.c

921 922 923 924 925 926 927 928 929 930 931 932 933 934 935
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq-2.c (vteseq_2_hash), (vteseq_2_lookup):
	* src/vteseq-2.gperf:
	* src/vteseq-list.h:
	* src/vteseq.c:
	Remove vte_sequence_handler_complain_key.  The idea was to warn about
	receiving control-sequence handling request for escape sequences that
	actually belong to a key stroke.  Kinda like a debugging feature.
	Remove it as the number of sequences being handle that way was
	greater than the number of sequences handled in the real sense.
	Saves 2k .data!

	The actual list is still in vteseq-2.gperf, but commented out.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
936 937 938 939 940 941
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (_vte_sequence_get_handler),
	(display_control_sequence):
	Remove stale comment.

942 943 944 945 946 947 948 949 950 951
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/vte-private.h:
	* src/vte.c (vte_terminal_process_incoming):
	* src/vteseq.c (display_control_sequence),
	(_vte_terminal_handle_sequence):
	* src/vteseq.h:
	Move _vte_terminal_handle_sequence() into vteseq.c

952 953 954 955 956 957 958 959 960 961 962 963 964 965
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h:
	* src/vte.c (vte_insert_line_internal), (vte_remove_line_internal),
	(_vte_terminal_cursor_down), (_vte_terminal_insert_char),
	(_vte_terminal_audible_beep), (_vte_terminal_visible_beep),
	(_vte_terminal_beep), (vte_terminal_key_press):
	* src/vteseq.c (vte_insert_line_internal),
	(vte_remove_line_internal), (vte_unichar_strlen),
	(vte_sequence_handler_bl), (vte_sequence_handler_sf),
	(vte_sequence_handler_SF), (vte_sequence_handler_vb):
	* src/vteseq.h:
	Some code reshuffling to remove vte.c calls to vteseq.c functions.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
966 967 968 969 970 971
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq-2.gperf:
	* src/vteseq.c:
	Minor.

972 973 974 975 976
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (vte_terminal_beep): Move helper function out of the
	way.

977 978 979 980 981 982 983 984 985 986
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq-2.c (vteseq_2_lookup):
	* src/vteseq-2.gperf:
	* src/vteseq-n.c (vteseq_n_lookup):
	* src/vteseq-n.gperf:
	* src/vteseq.c:
	Add a macro around sequence handler citations, for future table
	tricks.

987 988 989 990 991 992
2008-11-30  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq-n.gperf:
	* src/vteseq-n.c (vteseq_n_hash), (vteseq_n_lookup):
	Remove bogus entry that accidentally made it into the gperf list.

993 994 995 996
2008-11-30  Christian Persch  <chpe@gnome.org>

	* acinclude.m4: Remove more crufty macros.

997 998 999 1000
2008-11-30  Christian Persch  <chpe@gnome.org>

	* acinclude.m4: Remove FT2 check macro.

1001 1002 1003 1004 1005 1006 1007
2008-11-30  Christian Persch  <chpe@gnome.org>

	Bug 540951 – The gnome-pty-helper is spawn when its not needed
	
	* src/pty.c: (_vte_pty_open): Don't use the pty helper when we don't
	need to update any of utmp, wtmp, lastlog. Patch by Alex Cornejo.

1008 1009 1010 1011 1012 1013 1014
2008-11-30  Christian Persch  <chpe@gnome.org>

	Bug 465036 – gnome-pty-helper locks /var/run/utmp

	* gnome-pty-helper/gnome-utmp.c: (update_utmp): Close the utmp
	database after updating it. Patch by Kevin W. Rudd.

1015 1016 1017 1018 1019 1020 1021
2008-11-29  Behdad Esfahbod  <behdad@gnome.org>

	Bug 127870 – terminal garbled and needs 'reset' after cat'ing file

	* src/iso2022.c (_vte_iso2022_state_new): Initialize all four maps
	(G0, G1, G2, G3) in USASCII mode, like xterm does.

1022 1023 1024 1025
2008-11-29  Christian Persch  <chpe@gnome.org>

	* python/vtemodule.c: (initvte): Register the constants too!

1026 1027 1028 1029 1030 1031 1032 1033
2008-11-29  Christian Persch  <chpe@gnome.org>

	* src/debug.c: (_vte_debug_init):
	* src/debug.h:
	* src/vte.c: (vte_terminal_size_request),
	(vte_terminal_size_allocate): Add a specific debug flag for widget
	size-request/size-allocation.

1034 1035 1036 1037 1038 1039
2008-11-29  Christian Persch  <chpe@gnome.org>

	* src/vteapp.c: (main): Add options to use a GtkScrolledWindow as the
	terminal's container, and to set its vertical scrollbar policy, to
	allow testing VteTerminal in a scrolled window.

1040 1041 1042 1043 1044 1045 1046 1047 1048
2008-11-29  Behdad Esfahbod  <behdad@gnome.org>

	Bug 317236 – vte resynchrones too late on invalid UTF-8

	* src/vteconv.c (_vte_conv_utf8_utf8): In our UTF-8 to UTF-8 converter
	differentiate between an incomplete sequence and an ill sequence at
	the end of the buffer.  Also cleanup some minor inaccuracies (return
	value).

1049 1050 1051 1052 1053 1054 1055 1056 1057
2008-11-29  Behdad Esfahbod  <behdad@gnome.org>

	Bug 107031 – device-control-string error

	* src/table.c (_vte_table_addi):
	* src/vte.c (vte_terminal_handle_sequence):
	* src/vteseq.c (vte_sequence_handler_decset_internal):
	Replace some g_warning's with vte debug output.

1058 1059 1060 1061 1062 1063 1064 1065
2008-11-29  Behdad Esfahbod  <behdad@gnome.org>

	Bug 521420  vte closes connection to child before all output is read
	Patch from Thomas Leonard

	* src/reaper.c (vte_reaper_add_child): Install child watch at low
	priority instead of high.

1066 1067 1068 1069 1070 1071 1072
2008-11-29  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in: Require glib >= 2.18.0 as earlier glib versions
	had a totally bogus g_unichar_iswide_cjk().

	* perf/vim.sh: Don't use builting time command.

1073 1074 1075 1076 1077 1078 1079
2008-11-29  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_emit_char_size_changed),
	(_vte_terminal_emit_status_line_changed), (vte_terminal_init),
	(vte_terminal_background_update):
	Remove C++-style comment markers.

1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092
2008-11-29  Behdad Esfahbod  <behdad@gnome.org>

	Bug 514632 – Problem with cursor in emacs in gnome-terminal

	* src/vte-private.h:
	* src/vte.c (_vte_terminal_cleanup_tab_fragments_at_cursor),
	(_vte_terminal_insert_char):
	* src/vteseq.c (vte_sequence_handler_ch),
	(vte_sequence_handler_cm), (vte_sequence_handler_le),
	(vte_sequence_handler_cursor_character_absolute):
	Break "smart tabs" into multiple empty cells when cursor moves
	into them or inserting character there.

1093 1094 1095 1096 1097 1098 1099 1100 1101 1102
2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

	* src/debug.c (_vte_debug_init):
	* src/debug.h:
	* src/vtepangocairo.c (font_info_cache_ascii),
	(font_info_allocate), (font_info_free),
	(font_info_find_for_context), (font_info_get_unichar_info):
	Port vtepangocairo profiling and lifecycle logging to vtedebug
	facilities under debug domain "pangocairo".

1103 1104 1105 1106 1107
2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

	* src/debug.c (_vte_debug_init): Rename debug env var from
	VTE_DEBUG_FLAGS to VTE_DEBUG.

1108 1109 1110 1111 1112 1113
2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

	* src/debug.c (_vte_debug_init):
	* src/debug.h:
	Make _vte_debug_on() inline.

1114 1115 1116 1117 1118
2008-11-28  Christian Persch  <chpe@gnome.org>

	* src/vte.c: Remove backward compat define for gtk 2.0, since we
	already depend on a much higher version.

1119 1120 1121 1122 1123
2008-11-28  Christian Persch  <chpe@gnome.org>

	* src/debug.c: (_vte_debug_on): Revert behaviour change of
	_vte_debug_on() from last commit.

1124 1125 1126 1127 1128 1129 1130 1131 1132
2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

	Bug 459553 – gnome-terminal cannot shows circled digits with the
	correct width on ja_JP.PCK
	Patch from Takao Fujiwara

	* src/iso2022.c (_vte_iso2022_ambiguous_width): Recognize Shift_JIS
	as East Asian locale for width considerations.

1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143
2008-11-28  Christian Persch  <chpe@gnome.org>

	* src/debug.c: (_vte_debug_init), (_vte_debug_on):
	* src/debug.h:
	* src/interpret.c: (main):
	* src/pty.c: (main):
	* src/reaper.c: (main):
	* src/trie.c: (main):
	* src/vte.c: (vte_terminal_new), (vte_terminal_class_init): Use
	g_parse_debug_string to parse the debug flags.

1144 1145 1146 1147 1148 1149
2008-11-28  Christian Persch  <chpe@gnome.org>

	* src/vteregex.c: (compare_matches), (_vte_regex_compile),
	(_vte_regex_free), (_vte_regex_exec): Remove the unused GNU regex
	code too.

1150 1151 1152 1153 1154 1155
2008-11-28  Christian Persch  <chpe@gnome.org>

	* src/vteregex.c: (_vte_regex_compile), (_vte_regex_free),
	(_vte_regex_exec): Remove unused PCRE code. If you want PCRE regexes,
	use the new APIs that take GRegex.

1156 1157
2008-11-28  Christian Persch  <chpe@gnome.org>

1158
	Bug 562385 – gnome-pty-helper goes to 100% cpu usage
1159 1160

	* gnome-pty-helper/gnome-pty-helper.c: (pass_fd), (pty_free),
1161
	(main): Make sure data structures are correctly aligned and of the
1162 1163
	right size. 

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1164 1165 1166 1167 1168 1169
2008-11-27  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in:
	* src/Makefile.am:
	More cleanup.

1170 1171 1172 1173 1174 1175 1176 1177 1178
2008-11-27  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	Run some of the utilities in "make check", and build the others.

	* src/nativeecho.c:
	* src/utf8echo.c:
	Remove more useless trivial utilities.

1179 1180 1181 1182 1183 1184 1185
2008-11-27  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/iso8859mode.c:
	* src/utf8mode.c:
	Remove useless trivial utilities.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1186 1187 1188 1189
2008-11-27  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am: Update EXTRA_DIST.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1190 1191 1192 1193
2008-11-27  Behdad Esfahbod  <behdad@gnome.org>

	* HACKING: Update :P.

1194 1195 1196 1197 1198
2008-11-26  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c (_vte_sequence_get_handler): Safely handle input of
	length 1.

1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209
2008-11-26  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/vteseq-2.c (vteseq_2_hash), (vteseq_2_lookup):
	* src/vteseq-2.gperf:
	* src/vteseq-n.c (vteseq_n_lookup):
	* src/vteseq-n.gperf:
	Don't use switch in gperf-generated code.  This increases .data by 1k
	but decreases .text by 6k AND the lookup code is MUCH faster.  It used
	to do tens of compares before.

1210 1211 1212 1213 1214 1215 1216 1217 1218
2008-11-26  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/vteseq-2.c (vteseq_2_hash), (vteseq_2_lookup):
	* src/vteseq-n.c (vteseq_n_lookup):
	* src/vteseq.c (_vte_sequence_get_handler):
	Revert previous commit, fix NULL dereference that it was trying to
	fix, and make lookup functions inline.

1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
2008-11-26  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/Makefile.am:
	* src/vteseq-2.c (vteseq_2_hash), (vteseq_2_lookup):
	* src/vteseq-n.c (vteseq_n_lookup):
	* src/vteseq.c (_vte_sequence_get_handler):
	Manually modify (and record those modifications in the Makefile)
	the autogenerated gperf source code so that we return the sequence
	handler directly from the lookup function, or NULL on failure.
	So is this pain worth it?

1230 1231 1232 1233 1234
2008-11-26  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_get_unichar_info):
	Free internal layout resources.

1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245
2008-11-26  Behdad Esfahbod  <behdad@gnome.org>

	Bug 562332  cleanup font infos on exit?

	* src/vtepangocairo.c
	(cleanup_delayed_font_info_destroys_predicate),
	(cleanup_delayed_font_info_destroys), (ensure_quit_handler),
	(font_info_register), (font_info_reference),
	(font_info_destroy_delayed), (font_info_destroy):
	Use gtk_quit_add() to complete delayed font_info destroys.

1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256
2008-11-26  Christian Persch  <chpe@gnome.org>

	Bug 562338  don't need to connect to bunch of xft settings

	* src/vte-private.h:
	* src/vte.c: (vte_terminal_style_changed), (add_cursor_timeout),
	(vte_terminal_init), (vte_terminal_size_allocate),
	(vte_terminal_finalize), (vte_terminal_realize): Don't listen to
	changes on the gtk-xft-* GtkSettings properties. Just calling
	vte_terminal_set_font_full in the style-set handler works fine.

1257 1258 1259 1260 1261 1262 1263 1264 1265 1266
2008-11-26  Christian Persch  <chpe@gnome.org>

	Bug 488960  gnome-terminal on Solaris 10 does not clean up utmpx on
	exit (intermittent)

	* gnome-pty-helper/gnome-pty-helper.c: (main):
	* gnome-pty-helper/gnome-pty.h:
	* src/pty.c: (_vte_pty_close): Add new GNOME_PTY_SYNCH operation to
	gnome-pty-helper. Patch from Behdad.

1267 1268 1269 1270 1271 1272 1273 1274 1275 1276
2008-11-26  Christian Persch  <chpe@gnome.org>

	* src/vte.c: (vte_terminal_style_changed),
	(vte_terminal_ensure_font), (vte_terminal_set_font_full),
	(vte_terminal_set_font_from_string_full_internal),
	(vte_terminal_set_font_from_string_full),
	(vte_terminal_reset_rowdata), (vte_terminal_set_property): Add
	vte_terminal_set_font_*full_internal so we don't use deprecated
	symbols internally.

1277 1278 1279 1280 1281 1282
2008-11-26  Christian Persch  <chpe@gnome.org>

	* src/vte.c: (vte_terminal_sync_settings),
	(vte_terminal_screen_changed): Remove gtk 2.12 version checks, since
	we already depend on 2.12.

1283 1284 1285 1286 1287 1288 1289 1290 1291
2008-11-26  Christian Persch  <chpe@gnome.org>

	Bug 561366 – remove antialias setting for 1.0
	
	* src/vte.c: (vte_terminal_set_font_full),
	(vte_terminal_get_property), (vte_terminal_class_init):
	* src/vte.h: Deprecate the font antialias setting, and remove the
	(existing only on trunk) font-antialias property already.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1292 1293 1294 1295 1296 1297 1298 1299 1300 1301
2008-11-25  Behdad Esfahbod  <behdad@gnome.org>

	* src/Makefile.am:
	* src/vteseq-2.c (vteseq_2_hash), (vteseq_2_lookup):
	* src/vteseq-2.gperf:
	* src/vteseq-n.c (vteseq_n_hash), (vteseq_n_lookup):
	* src/vteseq-n.gperf:
	* src/vteseq.c (_vte_sequence_get_handler):
	Cleanup gperf stuff.

1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315
2008-11-24  Behdad Esfahbod  <behdad@gnome.org>

	Bug 562187 – Add make rules for calling gperf

	* src/Makefile.am: Add a "gperf" target to be run manually.

	* src/vteseq-2.gperf:
	* src/vteseq-n.gperf:
	Add comment about "make gperf".

	* src/vteseq-2.c:
	* src/vteseq-n.c:
	Regenerate using newer gperf.

1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326
2008-11-24  Behdad Esfahbod  <behdad@gnome.org>

	Bug 416518 – Do something about uniwidths

	* src/iso2022.c (_vte_iso2022_is_ambiguous):
	Call into glib to determine ambiguous-width chars.

	* src/genwidths.py:
	* src/uniwidths:
	Remove.

1327 1328 1329 1330 1331 1332 1333 1334 1335 1336
2008-11-24  Behdad Esfahbod  <behdad@gnome.org>

	Bug 500191 – Remove vteseq-table.h?

	* src/Makefile.am:
	* src/vteseq-gen.c:
	* src/vteseq-table.h:
	Remove the old table implementation.  We use gperf-generated tables
	now.

1337 1338 1339 1340 1341 1342
2008-11-24  Behdad Esfahbod  <behdad@gnome.org>

	Bug 514457 – Use g_strv_length()

	* src/vte.c (_vte_terminal_fork_basic): Do it.

1343 1344 1345 1346 1347
2008-11-24  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_create_for_widget): No need to check
	widget font desc here as vte.c does that for us already.

1348 1349 1350 1351 1352
2008-11-24  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_destroy): Modify GTK_CHECK_VERSION
	handling to make my vim syntax highlighter happy.

1353 1354 1355 1356
2008-11-23  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_ensure_cursor): Refactor duplicate code.

1357 1358 1359 1360
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/vte.h: Move all the deprecated stuff into one place.

1361 1362 1363 1364 1365 1366
2008-11-22  Christian Persch  <chpe@gnome.org>

	Bug 542561 – Doesn't build when disabling gnome-pty-helper

	* src/pty.c: Always include sys/socket.h. Patch by Loïc Minier.

1367 1368 1369 1370
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/vteapp.c: (main): Fix --blink; the flag is inverted.

1371 1372 1373 1374 1375
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/vteapp.c: (main): Use vte_terminal_set_cursor_blink_mode instead
	of the deprecated set_cursor_blinks here.

1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
2008-11-22  Christian Persch  <chpe@gnome.org>

	Bug 560766  Deprecate and remove vte_terminal_get_using_xft()

	* src/vte.c: (vte_terminal_get_using_xft):
	* src/vte.h:
	* src/vtedraw.c: (_vte_draw_text):
	* src/vtedraw.h:
	* src/vtepangocairo.c: Deprecate vte_terminal_get_using_xft() as preparation for
	bug #560766. Remove the internal vtedraw method already.

1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
2008-11-22  Christian Persch  <chpe@gnome.org>

	Bug 536894  Confusing use of "free" as variable-name in ring
	functions

	* src/ring.c: (_vte_ring_new), (_vte_ring_new_with_delta),
	(_vte_ring_remove):
	* src/ring.h: Don't shadow global declarations. Patch by dmacks at 
	netspace.org. 

1397 1398 1399 1400
2008-11-22  Christian Persch  <chpe@gnome.org>

	* python/vte.override: Fix missing-prototypes warnings.

1401 1402 1403 1404
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/vtepangocairo.c: No need to include gi18n-lib.h here.

1405 1406 1407 1408 1409 1410
2008-11-22  Christian Persch  <chpe@gnome.org>

	* configure.in:
	* vte-uninstalled.pc.in:
	* vte.pc.in: Clean up the pkgs declared for use in the .pc files.

1411 1412 1413 1414
2008-11-22  Christian Persch  <chpe@gnome.org>

	* configure.in: Depend on gtk 2.12. Bug #398862.

1415 1416 1417 1418
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/table.c: (print_array): Fix the build (broken since r1622).

1419 1420 1421 1422
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/reaper.c: Don't include gtk.h here, it's unneeded.

1423 1424 1425 1426 1427
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/iso2022.c: (main): Make iso2022 programme build again; it was
	broken since r1612.

1428 1429 1430 1431
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/Makefile.am: Separate CFLAGS and CPPFLAGS.

1432 1433 1434 1435 1436
2008-11-22  Christian Persch  <chpe@gnome.org>

	* src/Makefile.am: Don't add LDFLAGS to *_LDADD, that's wrong and
	broken.

1437 1438 1439 1440 1441 1442 1443 1444
2008-11-22  Christian Persch  <chpe@gnome.org>

	* configure.in:
	* src/Makefile.am:
	* vte-uninstalled.pc.in:
	* vte.pc.in: Remove more configure cruft: OTHERCFLAGS, OTHERLIBS,
	X_CFLAGS and X_LIBS.

1445 1446 1447 1448 1449 1450
2008-11-21  Christian Persch  <chpe@gnome.org>

        * src/vtepangocairo.c: (font_info_destroy_delayed),
        (font_info_destroy): Use gdk_threads_add_timeout_seconds() for
        complete threadsafety.

1451 1452 1453 1454
2008-11-21  Chris Wilson  <chris@chris-wilson.co.uk>

	* vte.pc.in: Remove FT2_LIBS and FT2_CFLAGS

1455 1456 1457 1458 1459 1460 1461 1462 1463
2008-11-21  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/iso2022.c (_vte_iso2022_is_ambiguous): Break out of interval
	search as early as possible. Exploit the strict ordering of the 
	ambiguous/unambiguous ranges to break out of the for loop as soon
	as the character is less than a range start. (As the arrays only
	contain 2/3 elements, it is not worth adding the overhead of calling
	bsearch()).

1464 1465 1466 1467 1468
2008-11-21  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/iso2022.c (process_cdata): Copy the gunichars directly to the
	array from the incoming chunk.

Chris Wilson's avatar
Chris Wilson committed
1469 1470 1471 1472
2008-11-20  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/Makefile.am: Remove FT2_FLAGS

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1473 1474 1475 1476 1477
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_destroy_delayed): Remove obsolete
	check.

1478 1479 1480 1481 1482 1483 1484
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	Bug 561713 – crash on font cache cleanup

	* src/vtepangocairo.c (font_info_reference), (font_info_destroy):
	Remove destroy timeout when resurrecting a font info.

1485 1486 1487 1488 1489 1490 1491
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_cache_ascii),
	(font_info_allocate), (font_info_free),
	(font_info_find_for_context):
	Make profiling messages print the info pointer.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1492 1493 1494 1495
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in:  Remove more cruft.

1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	Bug 560819 – Remove obsolete backends

	* configure.in:
	* src/Makefile.am:
	* src/vtebg.c (vte_bg_get_pixmap):
	* src/vtebg.h:
	* src/vtedraw.c:
	* src/vtefc.c:
	* src/vtefc.h:
	* src/vteft2.c:
	* src/vteft2.h:
	* src/vtegl.c:
	* src/vtegl.h:
	* src/vteglyph.c:
	* src/vteglyph.h:
	* src/vterdb.c:
	* src/vterdb.h:
	* src/vtergb.c:
	* src/vtergb.h:
	* src/vtexft.c:
	* src/vtexft.h:
	Remove all backends except for pangocairo.  Saves so much code.

1521 1522 1523 1524 1525 1526 1527 1528 1529 1530
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	Bug 560819 – Remove obsolete backends

	* src/Makefile.am:
	* src/vtedraw.c:
	* src/vtepango.c:
	* src/vtepango.h:
	Remove pango backend.

1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	Bug 560819 – Remove obsolete backends

	* configure.in:
	* src/Makefile.am:
	* src/vtedraw.c:
	* src/vtepangox.c:
	* src/vtepangox.h:
	Remove pangox backend.

1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555
2008-11-20  Behdad Esfahbod  <behdad@gnome.org>

	Bug 560818 – pangocairo backend doesn't share font cache across
	widgets

	* src/vtepangocairo.c (font_info_cache_ascii),
	(font_info_allocate), (font_info_free), (font_info_register),
	(font_info_unregister), (font_info_reference),
	(font_info_destroy_delayed), (font_info_destroy), (context_hash),
	(context_equal), (font_info_find_for_context),
	(font_info_create_for_context), (font_info_create_for_screen),
	(font_info_get_unichar_info): Cache font info and use it for multiple
	widgets.

1556 1557 1558 1559 1560
2008-11-19  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_create_for_screen),
	(font_info_destroy): Remove unused PangoCoverage.

1561 1562 1563 1564 1565 1566 1567
2008-11-19  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_find_unichar_info),
	(font_info_cache_ascii), (font_info_measure_font),
	(font_info_get_unichar_info): Cache ASCII characters when building
	font.

1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578
2008-11-18  Christian Persch  <chpe@gnome.org>

	Remove glib usage from gnome-pty-helper. Bug #560977.

	* gnome-pty-helper/Makefile.am: Remove GLIB CFLAGS/LIBS.
	* gnome-pty-helper/configure.in: Remove glib check, and do some auto*
	modernisation.
	* gnome-pty-helper/gnome-pty-helper.c: (open_ptys), (exit_handler),
	(main): Use alloca instead of g_alloca, and use int instead of
	gboolean.

1579 1580 1581 1582 1583 1584
2008-11-18  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtepangocairo.c (font_info_create_for_screen),
	(font_info_destroy): Remove copy of font desc and antialias from font
	info object as they were not used.

1585 1586 1587 1588 1589 1590 1591
2008-11-18  Behdad Esfahbod  <behdad@gnome.org>

	Bug 561185  pangocairo backend sets antialias incorrectly

	* src/vtepangocairo.c (font_info_create_for_screen): Handle
	FORCE_ENABLE correctly.

1592 1593 1594 1595 1596 1597 1598 1599 1600
2008-11-16  Behdad Esfahbod  <behdad@gnome.org>

	Bug 560817  pagocairo backend doesn't have correct opacity support	

	* src/vtepangocairo.c (_vte_pangocairo_clear),
	(_vte_pangocairo_draw_text), (_vte_pangocairo_draw_rectangle),
	(_vte_pangocairo_fill_rectangle): Fix opacity support by using
	SOURCE operator.

1601 1602 1603 1604 1605 1606 1607
2008-11-16  Behdad Esfahbod  <behdad@gnome.org>

	Bug 560991 – Unsetting background doesn't work

	* src/vte.c (vte_terminal_set_background_image): Correctly unset
	background if image==NULL.

1608 1609 1610 1611
2008-11-14 Christian Persch <chpe@gnome.org>

	* src/vteskel.c: Fix missing prototype warning.

1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627
2008-11-14  Behdad Esfahbod  <behdad@gnome.org>

	Bug 395599  Add pangocairo backend

	* configure.in:
	Require pango >= 1.22.0

	* src/Makefile.am:
	* src/vtedraw.c:
	* src/vtepangocairo.c:
	* src/vtepangocairo.h:
	Add a pangocairo drawing backend.  Use it by default.  This is as fast
	as the xft backend.  Doesn't share font caches across widgets yet.
	Also, the transparent background stuff doesn't match xft backend's
	yet.

1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664
2008-11-14  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_ensure_font):
	* src/vtedraw.c (_vte_draw_new), (_vte_draw_free),
	(_vte_draw_set_background_opacity),
	(_vte_draw_set_background_color), (_vte_draw_set_text_font),
	(_vte_draw_get_text_metrics), (_vte_draw_get_char_width),
	(_vte_draw_char), (_vte_draw_draw_rectangle),
	(_vte_draw_set_scroll):
	* src/vtedraw.h:
	* src/vteft2.c (_vte_ft2_destroy), (_vte_ft2_start),
	(_vte_ft2_end), (_vte_ft2_set_background_image), (_vte_ft2_clear),
	(_vte_ft2_set_text_font), (_vte_ft2_get_text_metrics),
	(_vte_ft2_get_char_width), (_vte_ft2_draw_text),
	(_vte_ft2_draw_has_char), (_vte_ft2_draw_rectangle),
	(_vte_ft2_fill_rectangle):
	* src/vtegl.c (_vte_gl_destroy), (_vte_gl_get_visual),
	(_vte_gl_start), (_vte_gl_end), (_vte_gl_set_background_image),
	(_vte_gl_clear), (_vte_gl_set_text_font),
	(_vte_gl_get_text_metrics), (_vte_gl_get_char_width),
	(_vte_gl_draw_text), (_vte_gl_draw_has_char), (_vte_gl_rectangle):
	* src/vtepango.c (_vte_pango_set_text_font),
	(_vte_pango_get_text_metrics):
	* src/vtepangox.c (_vte_pangox_create), (_vte_pangox_destroy),
	(_vte_pangox_start), (_vte_pangox_end),
	(_vte_pangox_set_background_image), (_vte_pangox_clip),
	(_vte_pangox_clear), (_vte_pangox_set_text_font),
	(_vte_pangox_get_text_metrics), (_vte_pangox_get_using_fontconfig),
	(_vte_pangox_draw_text), (_vte_pangox_draw_has_char),
	(_vte_pangox_draw_rectangle), (_vte_pangox_fill_rectangle):
	* src/vtepangox.h:
	* src/vteskel.c (_vte_skel_clear), (_vte_skel_get_text_metrics),
	(_vte_skel_draw_text), (_vte_skel_fill_rectangle):
	* src/vtexft.c (_vte_xft_set_text_font),
	(_vte_xft_get_text_metrics), (_vte_xft_draw_text):
	Remove unneeded draw methods.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1665 1666 1667 1668 1669 1670 1671
2008-11-14  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtedraw.c (_vte_draw_get_char_width): Minor fix.

	* src/vtepangox.c (_vte_pango_x_create), (_vte_pango_x_start),
	(_vte_pango_x_clear): Cleanup here too.

1672 1673 1674 1675 1676 1677
2008-11-13  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in:
	* src/vte-private.h:
	Undo previous change instead of cleanly fix it for now.

1678 1679 1680 1681 1682 1683
2008-11-13  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in:
	* src/vte-private.h:
	Why do we let people configure random things?

1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701
2008-11-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_background_update):
	* src/vtedraw.c (_vte_draw_update_requires_clear), (_vte_draw_new),
	(_vte_draw_set_background_opacity),
	(_vte_draw_set_background_color), (_vte_draw_set_background_image),
	(_vte_draw_char), (_vte_draw_set_scroll):
	* src/vtedraw.h:
	* src/vteft2.c (_vte_ft2_set_background_image), (_vte_ft2_clear),
	(_vte_ft2_get_char_width):
	* src/vtegl.c (_vte_gl_create), (_vte_gl_clear),
	(_vte_gl_get_char_width), (_vte_gl_draw_text):
	* src/vtepango.c (_vte_pango_create), (_vte_pango_start),
	(_vte_pango_set_background_image), (_vte_pango_clear):
	* src/vtexft.c (_vte_xft_create), (_vte_xft_set_background_image),
	(_vte_xft_clear), (_vte_xft_get_char_width):
	Simplify backends by relying more on defaults.

1702 1703 1704 1705 1706
2008-11-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtedraw.c (_vte_draw_init_user), (_vte_draw_init_default):
	Accept draw impl if impl->check is NULL.

1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722
2008-11-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtedraw.h:
	* src/vtedraw.c (_vte_draw_new), (_vte_draw_get_visual),
	(_vte_draw_get_colormap), (_vte_draw_start), (_vte_draw_end),
	(_vte_draw_set_background_color), (_vte_draw_set_background_image),
	(_vte_draw_requires_repaint), (_vte_draw_clip), (_vte_draw_clear),
	(_vte_draw_set_text_font), (_vte_draw_get_text_width),
	(_vte_draw_get_text_height), (_vte_draw_get_text_ascent),
	(_vte_draw_get_char_width), (_vte_draw_get_using_fontconfig),
	(_vte_draw_text), (_vte_draw_char), (_vte_draw_has_char),
	(_vte_draw_fill_rectangle), (_vte_draw_draw_rectangle),
	(_vte_draw_set_scroll):
	Use sensical defaults instead of g_return_if_fail'ing when backend
	functions are not implemented.

1723 1724 1725 1726 1727 1728 1729 1730 1731
2008-10-31  Chris Wilson  <chris@chris-wilson.co.uk>

	Bug 557375  >=vte-0.16.14 breaks highlighting on activity

	* src/vte.c (vte_terminal_deselect_all):
	Preserve the copy of the selection until it is replace by a new
	selection, so that we can perform asynchronous copies from the
	clipboard.

1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742
2008-10-23  Chris Wilson  <chris@chris-wilson.co.uk>

	Bug 557375  >=vte-0.16.14 breaks highlighting on activity

	* src/vte.c (vte_terminal_deselect_all),
	(vte_terminal_extend_selection):
	After the user modifies the selection, copy it to PRIMARY and store
	it on the terminal. This ensures that after a screen redraw, we
	compare the contents of the selected region with the current
	selection, instead of stale data.

1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769
2008-10-23  Christian Persch  <chpe@gnome.org>

        * configure.in:
        * src/Makefile.am: Use glib-genmarshal --internal directly instead
        of checking the glib version, since we now depend on a glib version
        that provides this.

2008-10-23  Christian Persch  <chpe@gnome.org>

        Bug 556398  maybe deprecate vte_terminal_get_char_ascent/descent

        * src/vte.[ch]: Deprecate vte_terminal_get_char_ascent/descent.

2008-10-23  Christian Persch  <chpe@gnome.org>

        Bug 339819  LibVTE terminals in GLADE

        A glade/*:
        * Makefile.am
        * configure.in: Add glade catalogue.

2008-10-23  Christian Persch  <chpe@gnome.org>

        Bug 399364  Implement properties

        * src/vte.c: Add gobject properties.

1770 1771 1772 1773 1774 1775
2008-10-19  Christian Persch  <chpe@gnome.org>

        Bug 556328  Document set-scroll-adjustment parameters

        * src/vte.c: Document the set-scroll-adjustments signal.

1776 1777 1778 1779 1780 1781 1782
2008-10-15  Behdad Esfahbod  <behdad@gnome.org>

	* doc/reference/Makefile.am:
	* doc/reference/check-doc-coverage.sh:
	* doc/reference/check.docs:
	Update doc coverage test from cairo.

1783 1784 1785 1786 1787
2008-10-14  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_set_cursor_shape):
	Invalidate cursor upon shape change.

1788 1789 1790 1791
2008-10-15  Christian Persch  <chpe@gnome.org>

	* python/vte.defs: Add new API to the binding.

1792 1793 1794 1795 1796 1797
2008-10-14  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h:
	* src/vte.c (vte_terminal_draw_line), (vte_terminal_paint_cursor):
	Remove VTE_CURSOR_OUTLINE in favor of VTE_LINE_WIDTH.

1798 1799 1800 1801 1802
2008-10-14  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_paint_cursor):
	Supposedly handle reverse video during cursor drawing.

1803 1804 1805 1806 1807 1808 1809
2008-10-14  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_paint_im_preedit_string),
	(vte_terminal_paint):
	Move IM preedit string drawing into its own function for code
	clarity.

1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833
2008-10-14  Behdad Esfahbod  <behdad@gnome.org>

	Bug 549835  Feature Request: Configurable cursor appearance

	* src/vte.h:
	New public api:

		VteTerminalCursorShape
		vte_terminal_set_cursor_shape
		vte_terminal_get_cursor_shape

	* src/vte-private.h:
	* src/vte.c (_vte_terminal_insert_char), (vte_terminal_init),
	(vte_terminal_paint_cursor), (vte_terminal_paint),
	(vte_terminal_set_cursor_shape), (vte_terminal_get_cursor_shape):
	Implement new API.  Also clean up cursor drawing in general.

	* doc/reference/Makefile.am:
	* doc/reference/tmpl/reaper.sgml:
	* doc/reference/tmpl/vte-unused.sgml:
	* doc/reference/tmpl/vte.sgml:
	* doc/reference/vte-sections.txt:
	Doc new symbols.  Also add some missing docs.

1834 1835 1836 1837
2008-10-13  Christian Persch  <chpe@gnome.org>

	* src/vte.c: Add gobject property infrastructure.

1838 1839 1840 1841 1842
2008-10-13  Christian Persch  <chpe@gnome.org>

	* src/Makefile.am: Fix missing prototypes compiler warning in
	marshal.c.

1843 1844 1845 1846
2008-10-06  Christian Persch  <chpe@gnome.org>

	* src/vteconv.c: (_vte_conv_open): Fix compiler warning.

1847 1848 1849 1850 1851 1852
2008-10-06  Christian Persch  <chpe@gnome.org>

        Bug 509204  child-exited signal does not provide exit code

	* python/vte.defs: Add the new function to the bindings.

1853 1854 1855 1856 1857 1858
2008-10-06  Christian Persch  <chpe@gnome.org>

        Bug 539130  building g-t fails due to GtkType etc. deprecation

        * src/vte.h: Deprecate useless macros.

1859 1860 1861 1862 1863 1864 1865 1866
2008-10-06  Christian Persch  <chpe@gnome.org>

        Bug 509204  child-exited signal does not provide exit code

        * src/vte-private.h:
        * src/vte.h:
        * src/vte.c: Add function to get the child's exit status.

1867 1868 1869 1870
2008-10-06  Christian Persch  <chpe@gnome.org>

	* configure.in: Bump version to 0.17.5.

1871 1872 1873 1874 1875 1876 1877
2008-09-08  Christian Persch  <chpe@gnome.org>

        Release 0.17.3.

        * NEWS:
	* configure.in: Updated.

1878 1879 1880 1881
2008-09-07  Christian Persch  <chpe@gnome.org>

	* python/vte.defs: Update python bindings.

1882 1883 1884 1885 1886 1887
2008-08-20  Sébastien Granjoux  <seb.sfo@free.fr>

	Bug 538344 – Anjuta hangs when program is executed in terminal

	* src/vte.c: Ensure the output channel exists when we need to write.

1888 1889 1890 1891 1892
2008-08-20  Christian Persch  <chpe@gnome.org>

	* src/vte.c: (vte_terminal_match_check_internal_gregex): Plug a mem
	leak.

1893 1894 1895 1896 1897
2008-08-15  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/vte.c (vte_terminal_set_pty):
	fcntl(2) specifies that the flags argument is a long. Make it so.

1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914
2008-08-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h:
	* src/vte.c (vte_terminal_match_check_internal_vte),
	(vte_terminal_ensure_cursor), (vte_terminal_set_colors),
	(_vte_terminal_insert_char), (vte_terminal_feed),
	(vte_terminal_key_press), (vte_terminal_match_hilite_update),
	(vte_terminal_extend_selection):
	* src/vteseq.c (vte_terminal_find_charcell),
	(vte_sequence_handler_set_title_internal),
	(vte_sequence_handler_decset_internal), (vte_sequence_handler_cb),
	(vte_sequence_handler_cd), (vte_sequence_handler_ce),
	(vte_sequence_handler_ec), (vte_sequence_handler_ta),
	(vte_sequence_handler_set_mode),
	(vte_sequence_handler_window_manipulation):
	Fix all "signed vs unsigned comparison" warnings.

1915 1916 1917 1918 1919 1920 1921
2008-08-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (regex_match_clear_cursor),
	(vte_terminal_set_cursor_from_regex_match):
	Fix uninitialized cursor warning.  Setting to NULL sounds
	right to me.  ChPe?

1922 1923 1924 1925 1926
2008-08-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c: Remove useless "inline" decorators.  Gcc has been
	rightfully complaining.

1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939
2008-08-13  Behdad Esfahbod  <behdad@gnome.org>

	Bug 546940 – Crash when selecting text

	* src/vte.c (vte_terminal_extend_selection): Fix crash with 64-bit
	systems.  Note to self:

		unsigned int len = 0;
		long i = len - 1;
		assert (i < 0);

	fails on 64-bit systems.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
1940 1941 1942 1943 1944 1945 1946 1947 1948
2008-08-05  Behdad Esfahbod  <behdad@gnome.org>

	Released vte-0.17.1.

	* NEWS: Updated.

	* configure.in: Bumped version to 0.17.1.
	Bumped libtool version to 12:0:3.

1949 1950 1951 1952 1953 1954 1955 1956
2008-08-05  Behdad Esfahbod  <behdad@gnome.org>

	Bug 546366 – hard to select last tab char on a line

	* src/vte.c (vte_terminal_extend_selection):
	* src/vteseq.c (vte_sequence_handler_ta):
	Handle fragment cells.

1957 1958 1959 1960 1961 1962 1963 1964
2008-08-05  Behdad Esfahbod  <behdad@gnome.org>

	Bug 545924 – tab characters not handled correctly after ncurses clear	
	Patch from Patryk Zawadzki

	* src/vteseq.c (vte_sequence_handler_ta): Ignore empty cells at end of
	line.

1965 1966 1967 1968 1969 1970 1971
2008-07-14  Behdad Esfahbod  <behdad@gnome.org>

	Bug 542795 – VTE_CJK_WIDTH don't work

	* src/iso2022.c (_vte_iso2022_ambiguous_width): Fix VTE_CJK_WIDTH env
	handling.

1972 1973 1974 1975 1976 1977 1978
2008-06-27  Christian Persch  <chpe@gnome.org>

        Bug 399744  Hide more font-aa implementation details

        * src/vtexft.c: Disable antialiasing if using the default antialias
        setting and the XRender extension is not available.

1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989
2008-06-27  Christian Persch  <chpe@gnome.org>

        Bug 510903  use gtk-cursor-blink setting

        * doc/reference/tmpl/vte.sgml:
        * doc/reference/vte-sections.txt:
        * src/vte-private.h:
        * src/vte.c:
        * src/vte.h: Make the cursor blinking follow the gtk setting by
        default, with a possible override.

1990 1991 1992 1993 1994
2008-06-26  Christian Persch  <chpe@gnome.org>

	* src/vte.h: Remove the enum type declarations that are now in
        vtetypebuiltins.h.

1995 1996 1997 1998 1999 2000
2008-06-26  Christian Persch  <chpe@gnome.org>

        * Makefile.am:
        * autogen.sh: Fix the build from svn and make dist when using
        intltool 0.40.0. Tarball builds still only require 0.35.0.

2001 2002 2003 2004 2005
2008-06-26  Christian Persch  <chpe@gnome.org>

	* src/vteversion.h.in: Disallow direct inclusion of the new
	vteversion.h file.

2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
2008-06-26  Christian Persch  <chpe@gnome.org>

	* configure.in:
	* src/Makefile.am:
	* src/vte.c:
	* src/vte.h:
	* src/vtetypebuiltins.c.template:
	* src/vtetypebuiltins.h.template: Use glib-mkenums to generate the
	enum types; makes it easier to add more enum types.

2016 2017 2018 2019 2020 2021 2022 2023 2024
2008-06-26  Christian Persch  <chpe@gnome.org>

        Bug 539130  building g-t fails due to GtkType etc. deprecation

        * src/reaper.h:
        * src/vte.c:
        * src/vteaccess.[ch]: 
        * src/vtebg.h: Also remove the deprecated GtkType macros from here.

2025 2026 2027 2028 2029 2030 2031
2008-06-25  Christian Persch  <chpe@gnome.org>

	Bug 540182  crash in geany with vte trunk

	* src/vte.c: Make sure that match_attributes always exist even if
	there haven't been any matches added.

2032 2033
2008-06-23  Christian Persch  <chpe@gnome.org>

2034
	Bug 535552 – vte_terminal_set_allow_bold doesn't queue redraw
2035

2036
	* src/vte.c: Invalidate all when changing the allow-bold property.
2037

2038 2039 2040 2041 2042 2043 2044 2045
2008-06-23  Christian Persch  <chpe@gnome.org>

        Bug 535469  support named cursors on matches

        * src/vte-private.h
        * src/vte.c
        * src/vte.h: Implement named cursors on matches.

2046 2047 2048 2049 2050 2051 2052 2053 2054
2008-06-23  Christian Persch  <chpe@gnome.org>

        Bug 418918  Switch to GRegex

        * src/vte-private.h
        * src/vte.c
        * src/vte.h: Implement GRegex matching, to be used alternatively
        to the old vteregex matching.

2055 2056 2057 2058 2059 2060 2061
2008-06-23  Christian Persch  <chpe@gnome.org>

        Bug 535467  implement set-scroll-adjustments signal

        * src/vte.c: Add set-scroll-adjustments signal, needed to allow
        adding a VteTerminal into a GtkScrolledWindow.

2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073
2008-06-23  Christian Persch  <chpe@gnome.org>

        Bug 535468  need version check macros

        * configure.in
        * doc/reference/tmpl/vteversion.sgml
        * doc/reference/vte-sections.txt
        * doc/reference/vte.types
        * src/Makefile.am
        * src/vte.h
        A src/vteversion.h.in: Add version check macro.

2074 2075 2076 2077
2008-06-21  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.h: Don't use GTK_CHECK* macros.

2078 2079 2080 2081 2082 2083 2084
2008-06-04  Christian Persch  <chpe@gnome.org>

	Bug 515972 – Bold black is black in vte's default palette

	* src/vte.c: (vte_terminal_set_colors): Correctly set the value of
	'bold black' in the palette. Patch by Santtu Lakkala.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
2085 2086 2087 2088 2089 2090 2091 2092 2093
2008-06-04  Behdad Esfahbod  <behdad@gnome.org>

	Released vte-0.16.14.

	* NEWS: Updated.

	* configure.in: Bumped version to 0.16.14.
	Bumped libtool version to 11:18:2.

2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106
2008-06-04  Behdad Esfahbod  <behdad@gnome.org>

	Bug 536632  vte build failure in ring.c:210: error: expected
	expression before 'do'

	* src/debug.h:
	* src/ring.c:
	* src/ring.h:
	With latest glib (after bug #519026), g_error is expanding to
	"do {...} while(0)" instead of "{...}".  This breaks build in
	debugging mode.  Use g_critical instead.  Also add some
	G_STMT_START/END to some macros.

2107 2108 2109 2110 2111
2008-05-29  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/pty.c (merge_environ): Replace previous commit with the
	better patch by Christian Persch.

2112 2113 2114 2115 2116 2117
2008-05-29  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/pty.c (merge_environ): Fix bug in patch to use g_listenv()
	as it only returns the variable name and we need to use g_getenv()
	to retrieve its value.

2118 2119 2120 2121 2122
2008-05-27  Behdad Esfahbod  <behdad@gnome.org>

	* src/iso2022.c (_vte_iso2022_ambiguous_width): Oops.  Fix thinko
	in last commit.

2123 2124 2125 2126 2127 2128 2129 2130 2131
2008-05-27  Behdad Esfahbod  <behdad@gnome.org>

	Bug 535022  ambiguous width in utf8 locale

	* src/iso2022.c (_vte_iso2022_ambiguous_width): Recognize
	env var settings VTE_CJK_WIDTH=narrow and VTE_CJK_WIDTH=wide.
	Any other value means "auto" based on locale, as it was doing
	previously.

2132 2133 2134 2135 2136
2008-05-21  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/pty.c (merge_environ): Silence compiler warning about using
	environ as a local variable name.

2137 2138 2139 2140 2141 2142 2143
2008-05-21  Richard Hult  <richard@imendio.com>

	Bug 534148  Use g_listenv() instead of environ

	* src/pty.c: (merge_environ): Use g_listenv() instead of
	non-portable environ extern.

2144 2145 2146 2147 2148 2149 2150 2151
2008-05-19  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: automake doesn't like to substitute more
	than one variable at a time.
	* src/vtedraw.c: (_vte_draw_get_using_fontconfig):
	* src/vtetc.c: (_vte_termcap_find_boolean):
	Fix two compiler warnings.

2152 2153 2154 2155 2156
2008-05-09  Chris Wilson  <chris@chris-wilson.co.uk>

	* src/vtedraw.c (_vte_draw_text):
	    Add the text to draw to the debug output.