ChangeLog 177 KB
Newer Older
Behdad Esfahbod's avatar
Behdad Esfahbod committed
1 2 3 4 5 6 7 8
2006-03-08  Behdad Esfahbod  <behdad@gnome.org>

	Released vte-0.12.0.

	* NEWS: Updated.

	* configure.in: Bumped version to 0.12.0.

9 10 11 12 13
2006-03-09  Abel Cheung  <maddog@linuxhall.org>

	* configure.in: Readd kn to ALL_LINGUAS and make sure everything
	builds fine.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
14 15 16 17 18 19 20 21
2006-03-08  Behdad Esfahbod  <behdad@gnome.org>

	Released vte-0.11.21.

	* NEWS: Updated.

	* configure.in: Bumped version to 0.11.21.

22 23 24
	* configure.in: Removed kn from ALL_LINGUAS, as it was breaking
	the build.

25 26 27 28 29
2006-03-08  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c, src/vte-private.h: Fix vte_update_timeout repeat to
	25ms. (bug #333776, Egmont Koblinger)

30 31 32 33
2006-03-07  Abel Cheung  <maddog@linuxhall.org>

	* configure.in: Added "kn" "zh_HK" to ALL_LINGUAS.

34 35 36 37 38 39
2006-02-28  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte-private.h: Step up COALESCE_TIMEOUT and DISPLAY_TIMEOUT
	from 2ms to 10ms.  This is more compatible with the updated timeout
	that we are doing at around 25ms.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
40 41 42 43
2006-02-27  Behdad Esfahbod  <behdad@gnome.org>

	* MAINTAINERS: Added.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
44 45 46 47 48 49 50 51
2006-02-25  Behdad Esfahbod  <behdad@gnome.org>

	Released vte-0.11.20.

	* NEWS: Updated.

	* configure.in: Bumped version to 0.11.20.

52 53 54 55 56 57 58
2006-02-25  Behdad Esfahbod  <behdad@gnome.org>

	* src/vtexft.c: (_vte_xft_font_for_char): Rever the patch to
	optimize memory usage by releasing fonts that aren't needed early.
	Because that was inserting destroyed fonts into cache. Closes bug
	#332580 and reverts bug #309322.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
59 60 61 62 63 64 65 66
2006-02-25  Behdad Esfahbod  <behdad@gnome.org>

	Released vte-0.11.19.

	* NEWS: Updated.

	* configure.in: Bumped version to 0.11.19.

67 68 69 70 71
2006-02-17  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c: Make shift+insert paste PRIMARY and ctrl+shift+insert
	paste CLIPBOARD (switched them. bug #123844)

72 73 74 75 76 77
2006-02-17  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c: Better update-timeout handling.  Always delay updates
	a bit.  Schedule updates as G_PRIORITY_DEFAULT_IDLE.  And, set delay
	as the number of lines, in milliseconds.

78 79 80 81
2006-02-14  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq-gen.c (main): Return 0.  (bug #331178)

82 83 84 85 86 87
2006-02-14  Behdad Esfahbod  <behdad@gnome.org>

	* gnome-pty-helper/gnome-pty-helper.c (main): Use getpwnam to
	correctly log multiple users with the same UID. (bug #319564,
	patch from Laszlo (Laca) Peter.

88 89 90 91 92
2006-02-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (update_timeout): Only discontinue timer if nothing
	was updated in the last cycle.

93 94 95 96 97 98
2006-02-13  Behdad Esfahbod  <behdad@gnome.org>

	* gnome-pty-helper/gnome-pty-helper.c: Fix race condition when
	shutdown_helper may be called again from the signal handler when
	it's already running. (bug #331056)

99 100 101 102 103
2006-02-13  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in: Do not prepend X_LIBS and X_CFLAGS to LIBS and
	CFLAGS. (bug #331021, Sylvain BERTRAND)

104 105 106 107 108
2006-02-13  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (vte_terminal_key_press): Handle Ctrl+Shift+Insert to
	paste PRIMARY.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
109 110 111 112 113 114 115 116
2006-02-11  Behdad Esfahbod  <behdad@gnome.org>

	Released vte-0.11.18.

	* NEWS: Updated.

	* configure.in: Bumped version to 0.11.18.

117 118 119 120 121
2006-02-11  Behdad Esfahbod  <behdad@gnome.org>

	* src/iso2022.c: Change INVALID_CODEPOINT from 0xFFFF to 0xFFFD.
	(bug #317235, Egmont Koblinger)

122 123 124 125
2006-02-11  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (_vte_invalidate_cells): Guard more against off values.

126 127 128 129 130 131 132 133 134 135
2006-02-10  Behdad Esfahbod  <behdad@gnome.org>

	Update the build infrastructure.  make distcheck works now!

	* autogen.sh: Use a generic autogen.sh that uses gnome-common.

	* configure.in: Simplify gtk-doc stuff.  Update to newer syntax.

	* Makefile.am, src/Makefile.am, doc/reference/Makefile.am: Updated.

136 137 138 139 140
2006-02-10  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c (_vte_invalidate_cells): Throttle invalidating to at most
	40 times per second, using a timeout.

141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
2006-02-10  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteseq.c: Removed the huge sequence handler table.  Changed to
	use the compact tables in vteseq-table.h.

	* src/vteseq-gen.c: Generator containing the table removed from above,
	that generates compact tables.

	* src/vteseq-table.h: Table generated by above.  Can be regenerated
	using make.

	* src/Makefile.am: Adjusted.

	* src/vteapp.c: Set default font to Monospace instead of Sans.

156 157 158 159
2006-02-10  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c: Allocate terminal->pvt using GObject private data.

160 161 162 163 164 165 166 167 168 169 170
2006-02-10  Behdad Esfahbod  <behdad@gnome.org>

	Moved all sequence handler codes into a separate file.

	* src/vte.c: Stuff moved to other files.

	* src/vte-private.h: Includes all struct definitions from vte.c.

	* src/vteseq.c, src/vteseq.h, src/vteseq-list.h: The sequence
	handlers are all here now.

171 172 173 174 175
2006-02-09  Behdad Esfahbod  <behdad@gnome.org>

	* src/vteapp.c: Make a couple debug messages conditional on
	DEBUG_MISC.

176 177 178 179 180 181 182
2006-02-03  Behdad Esfahbod  <behdad@gnome.org>

	* src/vte.c: Warning cleanup.  A couple were actually bugs.

	* src/vteapp.c: No need to run $SHELL by default.  Handled
	by vte.c now.  A bug was causing nothing to be run...

183 184 185 186 187 188 189 190 191 192 193 194 195 196
2006-02-03  Behdad Esfahbod  <behdad@gnome.org>

	* src/debug.c, src/debug.h, src/matcher.c: Add the debug
	flag TRIE for printing out the trie (previous was using
	MISC.)

	* src/vte.c (vte_invalidate_cells): Update row_count and
	column_count when clamping their respective _start values.

	* src/vte.c (vte_terminal_extend_selection, _vte_terminal_select_text): 
	Pass row_count to vte_invalidate_cells(), instead of row_stop.

	* src/vteapp.c: Run $SHELL by default.

Behdad Esfahbod's avatar
Behdad Esfahbod committed
197 198 199 200 201 202 203
2006-02-01  Behdad Esfahbod  <behdad@gnome.org>

	* doc/reference/tmpl/internals.sgml: Added to CVS.

	* vte/src/vte.c: Fix selection vs. primary that have been
	borked forever. Closes bug #123844.

204 205 206 207 208
2006-01-30  Guilherme de S. Pastore  <gpastore@gnome.org>

	* src/trie.c: applied patch from Tomas Mraz to fix a double
	  free. Closes bug #161337.

209 210 211 212
2006-01-30  Erdal Ronahi  <erdal.ronahi@gmail.com>

	* configure.in: added ku (Kurdish) to ALL_LINGUAS

213 214 215 216 217 218 219 220 221 222 223 224 225 226
2006-01-28  Guilherme de S. Pastore  <gpastore@gnome.org>

	* src/Makefile.am: add -DG_DISABLE_ASSERT to CFLAGS.

	* NEWS: updated.

	* vte.spec: bumped version to 0.11.17.

2006-01-28  Guilherme de S. Pastore  <gpastore@gnome.org>

	* src/vte.c: only try to guess the user's shell when actually
	  forking, so we avoid unnecessary work if the application
	  already has to do that itself.
	
227 228 229 230 231
2006-01-15  Guilherme de S. Pastore  <gpastore@gnome.org>

	* src/: applied patch from Kjartan Maraas that replaces g_return
	  functions with g_assert. Should give an 8% speed boost.

232 233 234 235 236
2006-01-14  Guilherme de S. Pastore  <gpastore@gnome.org>

	* doc/reference/Makefile.am: install more than *.html, based on the
	  patch from Ed Catmur. Closes bug #321909.

237 238 239 240 241
2006-01-14  Olav Vitters  <olav@bkor.dhs.org>

	* src/caps.c: Support save and restore cursor position using \033[s
	and \033[u. Reported by Dag Wieers. Fixes bug 170032.

242 243 244 245 246
2005-12-31  Olav Vitters  <olav@bkor.dhs.org>

	* vte.pc.in: Backup patch from Steve Langasek. It needs pkg-config
	changes.

247 248 249 250 251
2005-12-12  Kjartan Maraas  <kmaraas@gnome.org>

	* vte.pc.in: Cleanups for the pkg-config file.
	Patch from Steve Langasek. Closes bug #322240.

252 253 254 255 256 257 258
2005-12-12  Kjartan Maraas  <kmaraas@gnome.org>

	* python/vte.override: python-vte seems to have a small bug in
	the override file that prevents the forkpty() method to be generated.
	The attached patch fixes this problem. Patch from Michael Vogt.
	Closes bug #169201.

259 260 261 262 263 264 265 266
2005-11-30  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_preedit_length): Remove some
	unused code.
	(vte_terminal_process_incoming): Don't emit signals for every
	character that's output. Patch from Padraig O'Briain. Huge
	performance gain when a11y is activated.

267 268 269 270
2005-11-16  Timur Jamakeev  <timurj@cvs.gnome.org>

	* confgiure.in: Added 'ky' to ALL_LINGUAS

Kjartan Maraas's avatar
Kjartan Maraas committed
271 272 273 274 275 276 277 278 279 280 281 282 283 284
2005-11-08  Kjartan Maraas  <kmaraas@gnome.org>

	* NEWS: Update.
	* Makefile.am:
	* autogen.sh:
	* configure.in:
	* python/Makefile.am:
	I'm attaching a patch that modernizes the python binding 
	build stuff. Notably, it excludes python/vte.c from the dist.
	Right now as it stands, the file is disted, which means people's 
	builds will not work unless they build against pygtk 2.8, 
	which makes this bug somewhat important. Patch from Manish Sing
	Closes bug #320931.

285 286 287 288 289 290 291 292
2005-11-01  Bill Haneman <billh@gnome.org>

	* src/vteaccess.c: 
	(vte_terminal_accessible_get_text):
	Swap offsets if start > end; fixes crasher
	bug #153405.  Patch from padraig o'briain,
	thanks to Kjartan for review.

293 294 295 296 297 298 299
2005-10-02  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vtebg.c: (_vte_property_get_pixmaps):
	* src/vterdb.c: (_vte_property_get_string):
	Fix gdk warnings. Patch from Michele Baldessari.
	Closes bug #309025.

300 301 302 303 304 305
2005-09-16  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vtexft.c: (_vte_xft_font_for_char): Optimize memory
	usage by releasing fonts that aren't needed early. Patch
	from Mike Hearn. Closes bug #309322.

306 307 308 309 310 311 312
2005-08-13  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-pty-helper/gnome-pty-helper.c: (init_msg_pass):
	Make VTE work on NetBSD, OpenBSD (sparc and macppc).
	Reported by Adrian Bunk, patches by Dan Winship and
	Rich Edelman. Closes bug #126554.

313 314 315 316 317 318
2005-08-12  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vtetc.c: (_vte_termcap_destroy): Don't crash
	if there's no termcap file. Michele Baldessari
	Closes bug #312260.

319 320 321 322 323
2005-08-12  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Correct test for recvmsg(). Patch from
	Robert Basch. Closes bug #304815 and possibly bug #122055.

324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
2004-08-10  Kjartan Maraas  <kmaraas@gnome.org>

	Patch from: Padraig O'Briain  <padraig.obriain@sun.com>
	Closes bug #113590.

	* src/vte.c, src/vteint.h:
	Add new functions to support accessible text selection:
	_vte_terminal_get_selection, _vte_terminal_get_start_selection,
	_vte_terminal_get_end_selection, _vte_terminal_select_text,
	_vte_terminal_remove_selection
	* src/vteaccess.c:
	(xy_from_offset): Fix for offset being entire text.
	(vte_terminal_accessibility_selection_changed): VteTerminal's
	selection-changed signal handler which emits text-selection-changed
	signal.
	(vte_terminal_accessible_initialize): Connect to VteTerminal's
	selection-changed signal.
	(vte_terminal_accessible_get_n_selections) Add implementation.
	(vte_terminal_accessible_get_selection) Add implementation.
	(vte_terminal_accessible_add_selection) Add implementation.
	(vte_terminal_accessible_remove_selection) Add implementation.
	(vte_terminal_accessible_set_selection) Add implementation.

347 348 349 350 351 352
2005-08-05  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-pty-helper/gnome-pty-helper.c: (exit_handler), (main):
	Clean up utmp/wtmp under vncserver if things fall apart under
	the terminal. (Dave Lehman). Closes bug #312373

353 354 355 356
2005-07-26  Michele Baldessari  <michele@pupazzo.org>

	* python/vte.override (_wrap_vte_terminal_set_colors): 
	pyg_boxed_get should be on item not py_palette. 
357
	Reported with fix by Ethan Glasser-Camp <glasse@rpi.edu>
358 359
	Closes bug #311570

360 361 362 363 364
2005-07-25  Michele Baldessari  <michele@pupazzo.org>

	* src/vtepango.c (_vte_pango_create): Initialize 
	PangoContext * data->ctx with NULL. Closes bug #126262

365 366 367 368 369 370 371
2005-07-21  Danilo Šegan  <danilo@gnome.org>

	Fixes #149925.
	
	* src/vte.c (vte_terminal_io_read): Added simple comment for 
	translators.

372 373 374 375 376
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* src/vte.c (vte_terminal_unrealize): Unset the user data
	on the gdk window. 

377 378 379 380
2005-06-15  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* configure.in: Added 'th' (Thai) to ALL_LINGUAS.

Kjartan Maraas's avatar
Kjartan Maraas committed
381 382 383 384 385 386 387 388 389 390 391 392
2005-06-11  Kjartan Maraas  <kmaraas@gnome.org>

	* NEWS: Update some.
	* doc/reference/tmpl/reaper.sgml:
	* doc/reference/tmpl/vte-unused.sgml:
	* doc/reference/tmpl/vte.sgml:
	* doc/reference/tmpl/vteaccess.sgml: Docs updates.
	* src/vte.c: (vte_terminal_init), (vte_terminal_finalize),
	(vte_terminal_get_accessible), (vte_terminal_class_init):
	Apply patch from Padraig O'Briain <padraig.obriain@sun.com>
	to fix a crash. Closes bug #119913.

393 394 395 396 397 398
2005-06-09  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_style_changed):
	Fix a crash when reparenting. Closes bug #169326.
	Patch from Michele Baldessari.

399 400 401 402
2005-06-05  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>

	* configure.in: Added 'gl' to ALL_LINGUAS.

403 404 405 406 407 408 409 410 411 412
2005-04-29  Kjartan Maraas  <kmaraas@gnome.org>

	* src/table.c: (_vte_table_literal_new), (_vte_table_free),
	(_vte_table_addi), (_vte_table_matchi), (_vte_table_match),
	(_vte_table_printi): Final bits of the memory reduction patch
	from Aivars Kalvans. bug #160993 comment #9
	* src/vte.c: (vte_terminal_scroll_region): Patch from Egmont
	Koblinger to fix some scrolling issues. bug #164153
	* vte.spec: Bump version.

413 414 415 416
2005-04-07  Abduxukur Abdurixit  <abduxukur.abdurixit@t-systems.ch>

	* configure.in: Added "ug" to ALL_LINGUAS.

417 418 419 420
2005-04-01  Adi Attar  <aattar@cvs.gnome.org>

	* configure.in: Added "xh" to ALL_LINGUAS.

421 422 423 424
2005-03-31  Steve Murphy  <murf@e-tools.com>

        * configure.in: Added "rw" to ALL_LINGUAS.

425 426 427 428 429 430 431
2005-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* autogen.sh: Use head -n 1 instead of head -1 to avoid
	warning about the latter being deprecated in newer versions.
	Reported by Ali Akcaagac. Closes bug #156022.
	* vte.spec: Bump version

432 433 434 435 436
2005-03-16  Manish Singh  <yosh@gimp.org>

	* python/vtemodule.c: Remove stray underscores so python module
	works again. Fixes bug #150760.

437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
2005-03-14  Kjartan Maraas  <kmaraas@gnome.org>

	* src/Makefile.am: 
	* src/interpret.c: (main):
	* src/matcher.c: (_vte_matcher_add), (_vte_matcher_init),
	(_vte_matcher_create), (_vte_matcher_destroy), (_vte_matcher_new),
	(_vte_matcher_free):
	* src/matcher.h:
	* src/vte.c: (vte_terminal_set_emulation), (vte_terminal_init):
	* src/vtetc.c: (_vte_termcap_create), (_vte_termcap_destroy),
	(_vte_termcap_new), (_vte_termcap_free):
	* src/vtetc.h: Add patch for excessive memory consumption when
	opening new tabs. This patch makes struct _vte_matcher and
	struct _vte_termcap shared between terminals and should reduce
	memory consumption with multiple tabs a lot. Patch from Aivars
	Kalvans <kalvans at inbox lv>. From bug #160993.

454 455 456 457 458 459 460 461 462 463
2005-03-14  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_scroll_region),
	(vte_sequence_handler_al), (vte_sequence_handler_dl),
	(vte_sequence_handler_sr), (vte_sequence_handler_insert_lines),
	(vte_sequence_handler_delete_lines), (vte_terminal_handle_scroll):
	Back out one of the fedora patches since it apparently causes
	screen corruption for some users. It was rumored to have issues
	from the start, so...

464 465 466 467 468 469 470 471 472
2005-03-02  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_process_incoming): Fix the
	crash in minicom when resizing the window. Closes
	bug #163814. Also adjust the coalesce and display timeouts.
	This makes g-t and xterm behave just about the same visually
	but g-t is still a bit faster when using the same font and
	utf8.

473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488
2005-03-02  Kjartan Maraas  <kmaraas@gnome.org>

	* src/Makefile.am: Add vtetree.[ch]
	* src/vte.c: (vte_terminal_draw_row): Don't use a GArray
	but use calloc'ed memory to speed up things further.
	From bug #137864. Patch from Benjamin Otte.
	* src/vtetree.c: (_vte_tree_new), (_vte_tree_destroy),
	(_vte_tree_insert), (_vte_tree_lookup): New file
	* src/vtetree.h: New file
	* src/vtexft.c: (_vte_xft_font_open), (_vte_xft_font_close),
	(_vte_xft_font_for_char), (_vte_xft_char_width): Use the new
	functions to speed up things. From bug #137864. Patch from
	Benjamin Otte. There are still two patches in there that don't
	apply cleanly any more. Will look at those later.
	* vte.spec: Bump version.

489 490 491 492 493 494
2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_sequence_handler_send_primary_device_attributes):
	Patch from Mariano to make vte claim to be the right type terminal.
	Closes bug #130671.

495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/iso2022.c: (_vte_iso2022_is_ambiguous),
	(_vte_iso2022_find_nextctl):
	* src/uniwidths:
	* src/vte.c: (vte_terminal_catch_child_exited), (vte_terminal_eof),
	(vte_terminal_process_incoming), (vte_terminal_feed),
	(vte_terminal_init), (vte_terminal_finalize), (vte_terminal_reset),
	(add_display_timeout), (add_coalesce_timeout),
	(remove_display_timeout), (remove_coalesce_timeout),
	(vte_terminal_stop_processing), (vte_terminal_start_processing),
	(vte_terminal_is_processing), (display_timeout),
	(coalesce_timeout):
	* src/vtexft.c: (_vte_xft_drawcharfontspec), (_vte_xft_draw_text):
	Apply fix from Fedora package for performance problems. Closes
	bug #143914. Patch was written by Søren Sandmann.

512 513 514 515 516 517
2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_scroll_region): Fix for
	problem with redrawing when scrolling back then forward
	Closes bug #122150. Patch from Benjamin Otte.

518 519 520 521 522 523
2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_unrealize): Fix a crash
	when trying to use input methods. From Fedora.
	Closes bug #168213.

524 525 526 527 528 529 530 531 532
2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_scroll_region),
	(vte_sequence_handler_al), (vte_sequence_handler_dl),
	(vte_sequence_handler_sr), (vte_sequence_handler_insert_lines),
	(vte_sequence_handler_delete_lines), (vte_terminal_handle_scroll):
	Another patch from fedora. Make sure the screen is fully redrawn
	before scrolling. Apparently this patch has some issues, but those
	were found to be small enough to apply in Fedora, so I guess
533
	the same holds true here. Closes bug #168212
534

535 536 537 538 539 540 541
2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/iso2022.c: (_vte_iso2022_process): Apply another
	patch from Fedora. This should fix some screen corruption
	with multibyte charsets. Closes bug #168211 and possibly
	others.

542 543 544 545 546 547 548 549 550
2005-02-28  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_adjust_adjustments),
	(vte_terminal_maybe_scroll_to_bottom),
	(vte_terminal_update_insert_delta), (vte_terminal_handle_scroll),
	(vte_terminal_set_scroll_adjustment), (vte_terminal_size_allocate):
	Apply patch from Fedora to fix some scrolling issues. Closes
	bug #168210 and possibly others.

551 552 553 554 555 556 557
2005-02-15  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_visibility_notify): Fix black
	backgrounds in new terminals. Fix from Jon Nettleton
	<nettleton at gmail com>. Closes bug #125364. Has been
	in Fedora Core for months already.

558 559 560 561 562 563 564
2005-02-15  Kjartan Maraas  <kmaraas@gnome.org>

	* src/keymap.c: (_vte_keymap_map): Fix keypad behaviour
	to be like xterm. Closes bug #128099. Fix is from
	<jylefort at brutele be> and has been used in Fedora the last
	three months at least.

565 566 567 568 569 570
2005-02-15  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vteregex.h: Don't include <config.h> here. It breaks
	building on AIX and can cause problems for l10n. Closes
	bug #161352.

571 572 573 574 575 576
2005-02-15  Kjartan Maraas  <kmaraas@gnome.org>

	* src/dumpkeys.c: Fix build on NetBSD and Darwin.
	Patch from Adrian Bunk <bunk at stusta de>. Closes
	bug #126377.

Rajesh Ranjan's avatar
Rajesh Ranjan committed
577 578
2004-12-07 Rajesh Ranjan<rranjan@redhat.com>
	* configure.in: included the hi locale in ALL_LINGUAS 
579 580 581 582 583
2004-11-16 nalin
	* src/vte.c(vte_terminal_io_read,vte_terminal_io_write): silence a
	couple of warnings by expecting a GIOCondition instead of a
	GtkInputCondition as a parameter.

584 585 586 587
2004-11-16 nalin
	* autogen.sh: accept more, newer versions of autoconf/automake.  Treat
	autoconf >= 3 as acceptable instead of just > 3.

588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605
2004-11-16 nalin
	* src/vte.c(vte_terminal_sequence_handler_scroll_up_or_down): add.
	* src/vte.c(vte_terminal_sequence_handler_scroll_up_once): add.
	* src/vte.c(vte_terminal_sequence_handler_scroll_down_once): add.
	* src/vte.c(vte_terminal_sequence_handler_scroll_up): add.
	* src/vte.c(vte_terminal_sequence_handler_scroll_down): add.
	* src/table.c(_vte_table_addi): expand "%m" locally so that we can
	distinguish between control sequences which differ only in the number
	of numeric arguments they expect.  This means we have a new upper
	limit on the length of a numeric argument list we'll recognize.
	* src/caps.c(_vte_xterm_capability_strings): remove alternates for
	strings which include '%m' as a specifier -- that's handled at the
	matching layer now.
	* src/vte.c(vte_terminal_paste_cb): drop the supplied data if it isn't
	valid UTF-8 (Red Hat #119099).
	* src/keymap.c(_vte_keymap_map): try xterm variants if we're xterm, not
	the other way around.

606 607 608 609
2004-08-18  David Lodge <dave@cirt.net>

	* configure.in: Added "ang" to ALL_LINGUAS.

610 611 612 613
2004-08-18  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Added «nb» to ALL_LINGUAS.

614 615 616 617
2004-08-16  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "bs" to ALL_LINGUAS.

618 619 620 621
2004-08-13  Gora Mohanty  <gmohanty@cvs.gnome.org>

	* configure.in: Added "or" to ALL_LINGUAS.

622 623 624 625
2004-07-17  Dinesh Nadarajah <dinesh_list@sbcglobal.net>

	* ta.po: Added tamil Translation

626 627 628 629 630 631 632
2004-05-02 nalin
	* src/reaper.c(vte_reaper_add_child): pass the global reaper in as
	data when adding the child source, not the terminal which called us.
	Stop accepting a data argument, because we'd discard it anyway.  Return
	the ID of the source which is added, if that happens.
	* configure.in: define VTE_INVALID_SOURCE for internal use.

633 634 635
2004-05-01 nalin
	* README: add pointers to info on bidirectional text and shaping.

636 637 638 639 640 641 642 643 644 645 646 647
2004-05-01 nalin
	* src/vte.c(vte_terminal_get_text_maybe_wrapped): add a parameter to
	control whether or not trailing whitespace is trimmed (padraig.obriain,
	#141148).
	* src/vte.c,src/vte.h(vte_terminal_get_text_include_trailing_spaces):
	add as a wrapper for the new vte_terminal_get_text_maybe_wrapped()
	(padraig.obriain, #141148).
	* src/vteaccess.c(vte_terminal_accessible_update_private_d): use
	vte_terminal_get_text_include_trailing_spaces to ensure that we get
	trailing spaces (padraig.obriain, #141148).
	* src/vte.c(vte_terminal_insert_char): clean up some autowrap stuff.

648 649 650 651
2004-04-30 nalin
	* vte.pc.in, vte-uninstalled.pc.in: declare the defaultemulation
	variable as one kind of variable, not that other kind (#141515).

652 653 654 655 656 657 658 659
2004-04-30 nalin
	* src/vte.c(vte_terminal_button_release): complete selection if we were
	selecting, not just if Shift is held down (allows Press Shift, Press
	Button, Release Shift, Release Button in addition to already-recognized
	Press Shift, Press Button, Release Button, Release Shift) (#121905).
	* vte.spec: buildrequire gtk-doc, manually copy png images at
	install-time.

660 661 662 663 664 665
2004-04-29 nalin
	* src/vte.c, NEWS, doc/reference/vte-sections.txt,
	doc/reference/tmpl/vte-unused.sgml: documentation updates.
	* doc/reference/tmpl/reaper.sgml: note that we just proxy for glib 2.4
	child_watch functionality, if present.

666 667 668
2004-04-29 nalin
	* python/vte.defs: include get_default_emulation binding.

669 670 671
2004-04-29 nalin
	* vte.spec: update version to 0.11.11

672 673 674 675 676 677
2004-04-29 nalin
	* src/vte.c(vte_terminal_unrealize): don't unref our accessible peer;
	it may be accessed while we're unrealized, causing it to be destroyed
	and re-created needlessly (#128049).
	* src/vte.c(vte_terminal_finalize): unref our accessible peer.

678 679 680 681 682
2004-04-29 nalin
	* src/vte.c(vte_terminal_finalize): don't clear the child's PID early,
	so that we'll SIGHUP it properly (the kernel should do that anyway,
	but...) (#128291).

683 684 685 686 687
2004-04-29 nalin
	* src/vte.c(vte_terminal_insert_char): only deselect the current
	selection if just-inserted text affected the selected region of the
	screen (#135259).

688 689 690 691 692 693 694 695 696 697
2004-04-29 nalin
	* README: assorted updates.
	* configure.in: check for <sys/termios.h>
	* src/pty.c: include <sys/termios.h> if found (#141392).
	* src/dumpkeys.c, src/mev.c, src/pty.c, src/ssfe.c, src/vte.c: do the
	same.
	* doc/reference/vte-sections.txt: add several functions which are new
	but which weren't in the generated docs.
	* doc/reference/vte-unused.txt: sort.

698 699 700
2004-04-29 nalin
	* src/vte.c(vte_terminal_scroll_region): remove stray debug printfs.

701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726
2004-04-29 nalin
	* configure.in: add a --with-default-emulation argument (part of
	#115750).  Use AS_HELP_STRING wherever we need help strings.
	* vte.pc.in, vte-uninstalled.pc.in: add DefaultEmulation variable
	* vte.spec: specify "xterm" as the default-emulation, even though it's
	the default default
	* termcaps/Makefile.am: build and install the default emulation's
	termcap, assuming it's some kind of xterm variant.
	* src/keymap.c(_vte_keymap_map): check for xterm-xfree86 definitions
	if the terminal type includes xterm, not if it exactly matches xterm
	* src/reaper.c(vte_reaper_add_child): add.  The glib 2.4 SIGCHLD
	watcher requires us to register particular PIDs for monitoring, so now
	we require applications to do so.
	* src/reaper.c(vte_reaper_child_watch_cb): add.
	* src/reaper.c(vte_reaper_init): Don't hook the SIGCHLD handler if
	we're running under glib 2.4, expect to use the g_child_watch
	mechanism.
	* src/vte.c: remove hard-coded definition of VTE_DEFAULT_EMULATION,
	to be picked up from config.h instead.
	* src/vte.c(vte_sequence_handler_cs): remove stray debug printfs.
	* src/vte.c(vte_terminal_insert_char): only do what we were doing for
	xn if LP was also set (#141445).
	* src/vte.c(vte_terminal_get_default_emulation): add.
	* src/vte.c(_vte_terminal_fork_basic): call vte_reaper_add_child for
	new children.

727 728 729 730 731 732 733 734 735
2004-04-27 nalin
	* src/vte.c(vte_terminal_fork_command): more clearly document what
	the argv and envv arguments are expected to contain (#127979).
	* src/vte.c(vte_terminal_insert_char): attempt to more closely match
	the behavior of am and xn on terminals -- if am is set {if xn is set,
	autowrap should only happen before a character is output, and then only
	if it's a graphic character, otherwise we autowrap after a character is
	output}

736 737 738 739 740 741 742 743
2004-04-21 nalin
	* src/vte.c(vte_terminal_get_text_range_maybe_wrapped): also trim back
	lines which are nothing but whitespace (#140765).
	* src/vte.c(vte_terminal_configure_toplevel): invalidate the whole
	window if we're "transparent", because we don't get expose events
	unless some portion of our area came out from behind something else,
	but we still need to repaint it (#122243).

744 745 746 747 748
2004-04-20 nalin
	* doc/reference/tmpl/reaper.sgml: document the child-exited signal.
	* doc/reference/tmpl/vte.sgml: document the emulation-changed and
	encoding-changed signals.

749 750 751 752
2004-04-20 nalin
	* Makefile.am: add rule for generating vte-uninstall.pc (Gman, #136129)
	* vte-uninstalled.pc.in: add (Gman, #136129)

753 754 755 756
2004-04-19 nalin
	* src/vte.c(vte_terminal_key_press): don't steal keys from the input
	method.

757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773
2004-04-19 nalin
	* src/pty.c(_vte_pty_set_utf8): toggle the IUTF8 flag, if
	it was defined at compile-time (maybe for #129317).
	* src/vte.c(vte_terminal_set_encoding): call _vte_pty_set_utf8.
	* src/vte.h (vte_terminal_anti_alias_get_type): declare.
	* src/vtebg.c(vte_bg_get_pixmap): Optimisation to fix the ridiculous
	amount of time required to render solid colour or extremely small
	image tiled backgrounds.  This fixes bug #123903.  (desrt)
	* src/vtebg.c(vte_bg_root_pixmap): move resize code into a separate
	function.
	* src/vtebg.c(vte_bg_get_pixmap): Resize all image sources, in case
	we're using a very small image file for the background.

2004-04-19 nalin
	* python/Makefile.am: move python module to site-packages/gtk-2.0,
	which is added to the search path only by pygtk 2 (#92252).

774 775 776 777 778
2004-04-19 nalin
	* python/vte.override: define a modulename override so that the
	Terminal class is registered in the proper namespace so that python's
	help() builtin sees the Terminal class (#130267).

779 780 781 782
2004-04-19 nalin
	* src/vte.c(vte_terminal_anti_alias_get_type): add, for the sake of
	bindings.

783 784 785 786 787 788 789 790 791 792 793
2004-04-19 nalin
	* src/vte.c(vte_terminal_key_press): call GtkWidget's key_press_event
	callback for keys, in case GtkWidget has pre-programmed behavior for
	that key (#133878).
	* configure.in, gnome-pty-helper/configure.in: quote names of defined
	functions (#133222).
	* configure.in: make compilation of gnome-pty-helper actually
	conditional (#133077).
	* src/vte.c(vte_terminal_process_incoming): Doh #132610, actually
	call vte_terminal_emit_contents_changed() when the contents change.

794 795 796 797 798 799 800
2004-04-19 nalin
	* src/vte.h, src/vte.c (vte_terminal_set_font_full): Add (#134429).
	* src/vteglyph.c(_vte_glyph_cache_set_font_description): take a
	VteTerminalAntiAlias argument.
	* src/vteft2.c, src/vtegl.c, src/pango.c, src/pango.x, src/vtexft.c
	(*_set_text_font): take a VteTerminalAntiAlias argument.

801 802 803 804 805 806 807 808 809 810 811 812 813
2004-04-19  Victor Zverovich  <vitaut@users.sourceforge.net>
	* src/vte.h src/vte.c: Added default signal handlers to
	VteTerminalClass (#137961).  [NOTE: ABI change.]

2004-04-19 nalin
	* src/vte.c(vte_terminal_configure_toplevel): don't re-invalidate
	everything, apparently unnecessary (#122243).  Might need to back this
	out if I ever remember what specific combination of software and
	versions prompted its addition in the first place.
	* src/vte.c(vte_terminal_class_init): tell gettext that messages
	retrieved from this domain should be returned in UTF-8 (#139542).

2004-04-19 nalin
814 815 816 817 818 819 820 821 822
	* configure.in: don't disable use of deprecated APIs unless asked
	to do so.
	* src/keymap.c(_vte_keymap_GDK_space): add Meta case (gafton).
	* src/vtefc.c(_vte_fc_width_from_pango_stretch): add.
	* src/vtefc.c(_vte_fc_transcribe_from_pango_font_description): handle
	PangoStretch characteristics using _vte_fc_width_from_pango_stretch.
	* src/vteregex.c: add random comments.
	* src/vte.c(VteTerminal): track the "xn" terminal attribute.

823 824 825 826
2004-04-10  Guntupalli Karunakar  <karunakar@freedomink.org>

        * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.

Gareth Owen's avatar
Gareth Owen committed
827 828 829 830
2004-03-20  Gareth Owen  <gowen72@yahoo.com>

	* configure.in: Added en_GB to ALL_LINGUAS

831 832 833 834
2004-03-10  Alexander Winston  <alexander.winston@comcast.net>

	* configure.in: Added en_CA to ALL_LINGUAS.

835 836 837 838
2004-03-04  Guntupalli Karunakar  <karunakar@freedomink.org>

	* configure.in: Added "pa" for Punjabi to ALL_LINGUAS.

839
2004-02-07  Robert Sedak  <robert.sedak@sk.htnet.hr>
840 841

	* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
842

843 844 845 846 847 848 849
2004-02-02  Martin Kretzschmar  <m_kretzschmar@gmx.net>

	* docs/reference/Makefile.am: use gtk-doc in xml-mode.

	* docs/reference/vte-docs.sgml: sgml->xml, update to DocBook XML
	4.1.2 DTD (fixes Bug #132945)

850 851 852 853 854
2004-02-02 Alastair McKinstry <mckinstry@computer.org>

	* configure.in: Added 'ga' to ALL_LINGUAS
	* po/ga.po: Added Gaeilge (Irish) translation.

855 856 857 858 859
2004-01-27  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* configure.in: Added 'nn' to ALL_LINGUAS
	* po/nn.po: Added Norwegian Nynorsk translation.

Arafat Medini's avatar
Arafat Medini committed
860
2003-12-20  Arafat Medini <lumina@silverpen.de>
861 862

	* configure.in: Added Arabic Locale "ar" to ALL_LINGUAS
Arafat Medini's avatar
Arafat Medini committed
863

Tivo Leedjrv's avatar
Tivo Leedjrv committed
864 865 866 867
2003-12-10  Tõivo Leedjärv  <toivo@linux.ee>

	* configure.in: Added et to ALL_LINGUAS.

868 869 870 871
2003-12-06  Iñaki Larrañaga  <dooteo@euskalgnu.org>

	* configure.in: Added "eu" (Basque) to ALL_LINGUAS.

872 873 874 875
2003-10-14  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "ne" to ALL_LINGUAS.

876 877 878 879
2003-10-07  Žygimantas Beručka  <uid0@tuxfamily.org>

	* configure.in: Added "lt" to ALL_LINGUAS.

880 881 882 883 884 885 886 887 888 889 890
2003-09-15 nalin
	* src/vteapp.c: add options for exercising the cursor and highlight
	colors.
	* src/debug.c: flush output streams when we check if debugging is
	enabled, because we'll probably output a string next.
	* src/iso2022.c: don't print a zero-length string.  Yay compiler
	warnings.
	* src/interpret.c: use g_print() instead of fprintf() to print.
	* src/keymap.c,src/ssfe.c: include <stdarg.h>, hopefully fixing
	bug #121880 (or not).

891 892 893 894
2003-09-15 nalin
	* python/vte.defs: add specs for set_color_cursor and
	set_color_highlight.

895 896 897 898 899 900 901 902 903
2003-09-15 nalin
	* src/vte.h,src/vte.c: add vte_terminal_set_color_cursor.
	* src/vte.h,src/vte.c: add vte_terminal_set_color_highlight (#69776).
	* src/vte.c(vte_terminal_determine_colors): add parameters for
	specifying if the cell being rendered is the cursor or is highlighted,
	probably for being selected.  If either flag is set, and we've been
	given a color to use for the purpose by a caller, use the supplied
	color, else use inverse colors.

904 905 906 907 908 909 910
2003-09-15 nalin
	* src/iso2022.c(process_control): don't reset the conversion state
	when we hit an end-of-line.  I wasn't reading RFC1468 closely enough,
	as it states that each line begins in the same encoding as the end of
	the previous line, and read "application should reset before end-of-
	line" as "terminal resets at end-of-line" (bug #122156).

911 912 913
2003-09-11 nalin
	* src/vteapp.c: silence a compiler warning.

914 915 916 917 918 919 920 921 922 923 924 925
2003-09-11 nalin
	* README: ask for LC_* in addition to LANG if weird spacing errors
	crop up.
	* src/vteconv.c,src/vteconv.h: add wrappers for _vte_conv which weed
	out some warnings.
	* src/iso2022.c: use _vte_conv_cu instead of _vte_conv.
	* src/trie.c: use _vte_conv_cu instead of _vte_conv.
	* src/vte.c: give _vte_terminal_fudge_pango_colors a return type again.
	* src/vtebg.c: ifdef out vte_bg_source_name, which is unused.
	* src/vtebg.c,src/vterdb.c: wrap calls to gdk_property_get to weed out
	some compiler warnings.

926 927 928 929 930 931 932 933 934 935 936
2003-09-11 nalin
	* src/vte.c(vte_terminal_draw_cells_with_attributes): properly resolve
	colors and cell properties to drawing colors.
	* src/vte.c(_vte_terminal_fudge_pango_colors): add a function for
	mapping GTK+ white-on-black preedit text to default reverse-colored
	text for the terminal.
	* src/vte.c(_vte_terminal_translate_pango_cells): don't bother
	doing anything with the attribute for a range if the list is NULL.
	Fudge white-on-black text to default colors in reverse so that it
	works when the terminal is in a black-on-white color scheme.

937 938 939 940
2003-09-11 nalin
	* src/vte.c(_vte_terminal_apply_pango_attr): map weight attributes to
	the terminal's bold attribute.

941 942 943 944 945 946 947 948 949 950 951
2003-09-11 nalin
	* src/vte.c(_vte_terminal_map_pango_color): add.
	* src/vte.c(vte_terminal_im_preedit_changed): don't discard the
	attributes list for the preedit string -- save them.
	* src/vte.c(vte_terminal_draw_cells_with_attributes): add.
	* src/vte.c(vte_terminal_paint): use draw_cells_with_attributes to
	use the preedit attributes list when drawing the preedit string.  This
	changes the way the preedit string is presented to the user, but it
	now looks [more] like GTK+ suggests it should look, so it should be a
	good change.

952 953 954 955
2003-08-13 nalin
	* src/caps.c: add sequences for linux-console-cursor-attributes, which
	we'll ignore (bug #108232).

956 957 958 959 960 961 962 963 964
2003-08-13 nalin
	* configure.in: if we don't find the python headers (even if we found
	python), disable compilation of python bindings (bug #116756).  Make the
	checks for python support sequential for easier maintenance.
	* python/vte.defs: add def for vte_terminal_match_set_cursor_type.  Make
	the color argument to vte_terminal_set_background_tint_color const.
	* python/vte.override(_wrap_vte_terminal_forkpty): add.
	* python/vte.override(_wrap_vte_terminal_fork_command): don't leak envv.

965 966 967 968
2003-08-13 nalin
	* src/vte.c(vte_terminal_fork_command,vte_terminal_forkpty): doc update
	to note that directory and envv can be NULL for both.

969 970 971 972
2003-08-13 nalin
	* src/vteapp.c(main): if -S is passed, use forkpty to start a child that
	just counts until killed with Ctrl-C.

973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993
2003-08-13 nalin
	* doc/reference/vte-sections.txt: add vte_terminal_forkpty.
	* src/pty.c(_vte_pty_run_on_pty): exit on any error, to avoid leaving
	random unreaped children running.  Accept NULL command indicating that
	no exec() should occur, but still error out if command isn't NULL and
	exec() fails.
	* src/pty.c(_vte_pty_fork_on_pty_name,_vte_pty_fork_on_pty_fd): store
	0 as the new child's PID if we're the child.
	* src/pty.c(main): don't run "tty" by default, test the forkpty() case
	instead.
	* src/vte.c(vte_terminal_fork_command): rename to
	_vte_terminal_fork_basic.  Remove code to replace NULL command with
	the user's shell.
	* src/vte.c(vte_terminal_fork_command): new! wrap
	_vte_terminal_fork_basic, replacing a NULL command with the user's
	shell.
	* src/vte.c(vte_terminal_forkpty),src/vte.h: new! wrap
	_vte_terminal_fork_basic, passing NULL for the command and argv
	arguments (bug #116450).
	* src/Makefile.am: update shared library version.

994 995 996 997 998 999
2003-08-12 nalin
	* configure.in: if <ft2build.h> isn't found, then we can't use any
	freetype-specific bits, and that's not useful.  Error out, and say
	that we need freetype 2.0.2 or newer, which introduced this header
	into the procedure (bug #116341).

1000 1001 1002 1003 1004 1005 1006 1007 1008
2003-08-12 nalin
	* src/vte.c: don't create an accessible peer at init() time in
	debug mode.
	* gnome-pty-helper/gnome-pty-helper.c(struct pty_info): add a field to
	keep track of whether or not we created a lastlog record.
	* gnome-pty-helper/gnome-pty-helper.c(shutdown_pty): also try to
	write a logout record if pi->lastlog is true, because in doing so we
	free pi->data, closing a leak (bug #116091).

1009 1010 1011 1012
2003-08-12 nalin
	* src/vteapp.c(resize_window): don't add the padding in when calculating
	the new window size.

1013 1014 1015 1016
2003-08-12 nalin
	* doc/reference/tmpl/vte.sgml: note that dimensions passed in with
	the resize-window signal include padding (more of bug #119141).

1017 1018 1019 1020 1021 1022 1023 1024
2003-08-12 nalin
	* src/vte.c(vte_sequence_handler_character_attributes,
	vte_sequence_handler_decset_internal): remove redundant type checks.
	* src/vte.c(all signal handlers): return a boolean indicating whether
	or not to exit the processing loop instance early to allow the
	application to deal with some input (usually along the lines of a
	signal requesting that the terminal be resized) (bug #118938).

1025 1026 1027 1028 1029
2003-08-12 nalin
	* python/vte.override(get_text,get_text_range): reorder arguments to
	match the order for the C versions (#118882).
	* python/vte.override(get_text,get_text_range,call_callback): fix
	refcounting and callback argument marshalling (bug #118882).
1030
	* python/vte-demo.py: exercise get_text() on "window-raise" signals.
1031

1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044
2003-08-12  Padraig O'Briain  <padraig.obriain@sun.com>

	* src/vteaccess.c:
	(vte_terminal_initialize): New function containing initialization code
	previously in vte_terminal_accessible_new. Also set role in
	this function.
	(vte_terminal_accessible_class_init): Specify function pointer for
	vte_terminal_initialize.
	(vte_terminal_accessible_get_type): Do not set instance data size or
	GInstanceInitFunc. Remove vte_terminal_accessible_init.

	This fixes bug #119694.

1045 1046 1047
2003-08-11 nalin
	* python/vte.override: add binding for get_padding() (bug #118834).

1048 1049 1050 1051
2003-08-11 nalin
	* python/vte.override: add binding for get_cursor_position()
	(bug #118800).

1052 1053 1054 1055 1056 1057
2003-08-11 nalin
	* python/vte.defs: give length parameters for feed() and feed_child()
	default values of -1 (bug #118711).
	* python/vte.override: use the length parameter if it's supplied to the
	feed() and feed_child() methods.

1058 1059 1060 1061 1062 1063 1064
2003-08-11 nalin
	* python/vte.override: add overrides for feed() and feed_child()
	methods which use the length of the string as given in C, to hopefully
	allow passing NUL bytes around as part of strings (bug #118711).  Make
	the length parameter optional, and ignored, to try to avoid breaking
	existing Python code in an obvious way.

1065 1066 1067 1068 1069 1070
2003-08-11 nalin
	* src/vte.c(vte_terminal_start_selection,vte_terminal_extend_selection):
	drop an unnecessary cast-and-check, which we don't need because we have
	no use for the GtkWidget pointer to the terminal.  Fix initial shift-
	click (bug #118106).

1071 1072 1073 1074
2003-08-11 nalin
	* configure.in: error out if we don't find ncurses, curses, or
	libtermcap development headers (bug #117754).

1075 1076 1077 1078
2003-08-11 nalin
	* autogen.sh: export WANT_AUTOCONF_2_5 for the sake of Mandrake autoconf
	wrapper (bug #119066).

1079
2003-08-05 nalin
1080
	* src/vte.c(vte_sequence_handler_decset_internal,
1081 1082 1083
	vte_sequence_handler_window_manipulation): include the widget's padding
	widths in resize requests (bug #119141).

1084 1085 1086 1087 1088
2003-07-30 nalin
	* autogen.sh: check for autoconf-2.51, autoconf-2.50, autoconf-2.5 when
	looking for autoconf 2.5x (bug #118627).

2003-07-21 nalin
1089 1090 1091 1092
	* gnome-pty-helper/configure.in: define _XOPEN_SOURCE_EXTENDED,
	_XOPEN_SOURCE, and __EXTENSIONS__ for Solaris, as we do in the top-level
	configure (#117636).

1093 1094 1095 1096 1097
2003-07-16 nalin
	* gnome-pty-helper/configure.in: check for grantpt in libc and then
	in libpt.  Check for openpty in libc before checking libutil.  Check for
	sendmsg in libc before checking libsocket (with libnsl) (#117636).

Pablo Saratxaga's avatar
Pablo Saratxaga committed
1098 1099 1100
2003-07-11  Pablo Saratxaga <pablo@mandrakesoft.com>
	* configure.in: Added Walloon (wa) to ALL_LINGUAS

1101 1102 1103 1104
2003-07-10 nalin
	* src/vteregex.h, src/vteregex.c: add.
	* src/vte.c: use interfaces from vteregex for doing dingus matching.

1105 1106 1107 1108 1109
2003-07-03 nalin
	* src/vte.c(vte_sequence_handler_return_terminal_status): return an
	empty string in response to the ENQ control sequence instead of "xterm".
	Report and patch from Mariano Suárez-Alvarez (#116495).

1110 1111 1112 1113 1114 1115 1116 1117
2003-06-27 nalin
	* src/iso2022.c: treat the "big5hkscs" encoding as an East Asian
	encoding, which uses ambiguous widths (#116078).  Report and patch
	from Roger So.
	* src/dumpkeys.c, src/iso2022.c, src/iso8859mode.c, src/nativeecho.c,
	src/utf8echo.c, src/utf8mode.c, src/vte.c: don't use the literal escape
	character, express it as an octal sequence.

1118 1119 1120 1121 1122 1123
2003-06-16 nalin
	* src/caps.c: add vertical-tab and form-feed to the list of control
	sequences.
	* src/vte.c(vte_controL_sequence_handler_form_feed): add.
	* src/vte.c(vte_controL_sequence_handler_vertical_tab): add.

1124 1125 1126
2003-06-16 nalin
	* src/vteaccess.c(xy_from_offset): fix a compiler warning.

1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139
2003-06-16 nalin
	* src/vteint.h: add.  Move private VteTerminal stuff which needs to be
	shared with other modules in the library here.
	* src/vtedraw.c, src/vtedraw.h: add get_char_width(), for use in drawing
	the cursor.
	* src/vte.c(vte_invalidate_cursor_once): if the character under the
	cursor doesn't fit into its cell, expose the column to the right of
	it so that we can paint into the adjacent cell.
	* src/vte.c(vte_terminal_paint): when clearing the area behind the
	cursor or drawing the hollow rectangle to indicate its position when
	we don't have focus, use the visible width of the character instead
	of just assuming it will fit.  This complies better with assertion 2.

1140 1141 1142 1143
2003-06-09 nalin
	* src/vte.c(vte_terminal_set_encoding): set the encoding for the iso2022
	converter (spotted by havill).

1144 1145 1146 1147 1148
2003-06-04 nalin
	* src/vtebg.c, src/vterdb.c: sync the display before trapping errors
	to ensure that any errors we'll get will be handled before we remove
	the error handlers.

1149 1150 1151 1152 1153 1154 1155
2003-06-03 nalin
	* src/vtebg.c(_vte_bg_get_pixmap, _vte_bg_get_pixbuf): trap X errors
	while retrieving the contents of the root pixmap.
	* doc/ambiguous.txt: add.
	* README: update.
	* vte.spec: rebuild.

1156 1157 1158 1159
Tue Jun  3 15:50:38 2003  Jonathan Blandford  <jrb@redhat.com>

	* src/pty.c (n_read): add a missing break in the switch statement.

1160 1161 1162
2003-06-03  Kenneth Rohde Christiansen  <kenneth@gnu.org>
	* configure.in: Added Limburgish (li) to ALL_LINGUAS.

Nalin Dahyabhai's avatar
Nalin Dahyabhai committed
1163 1164 1165
2003-06-02 nalin
	* src/Makefile.am: start using libtool versioning in earnest.

Nalin Dahyabhai's avatar
Nalin Dahyabhai committed
1166 1167 1168
2003-06-01 nalin
	* src/vtegl.c(_vte_gl_set_text_font): compile fix.

1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180
2003-05-30 nalin
	* src/vte.c(vte_sequence_handler_decset_internal): fix logic for
	skipping over particular settings so that setting 1048 actually works.
	* src/vte.c(vte_terminal_process_incoming): in debug mode, print out
	characters with codepoints higher than 255 in hex rather than decimal.
	* src/iso2022.c(_vte_iso2022_ambiguous_width): rename to
	_vte_iso2022_ambiguous_width_guess because that's all we can do without
	more context.
	* src/iso2022.c(_vte_iso2022_ambiguous_width): add for using the
	current encoding to determine what the width of an ambiguously-wide
	character should be.  This seems to work better.

1181 1182 1183 1184 1185 1186 1187 1188
2003-05-30  Padraig O'Briain  <padraig.obriain@sun.com>
	* src/vteaccess.c: Add implementation for get_character_extents,
	get_offset_at_point and get_run_attributes. This fixes bug #110770.
	Add casts to fix complier warnings on Solaris.
	
	* src/vtexft.c (_vte_xft_text_extents): Do not call return as function
	returns void. Fixes compiler error on Solaris.

1189 1190 1191 1192 1193
2003-05-29 nalin
	* src/vteapp.c: require -i for icon-title-changed messages, which got
	really annoying really fast.
	* src/trie.c(main): use g_quark_from_static_string for static strings.

1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
2003-05-29 nalin
	* src/vte.c(vte_terminal_send): fix newline stuffing (used in linefeed
	mode).
	* src/vte.c(vte_unicode_strlen): rename to vte_unichar_strlen.
	* src/vte.c(vte_terminal_set_title_internal): don't leak the new title
	in the unlikely cases.
	* src/vte.c(vte_terminal_process_incoming): be more careful with control
	characters to avoid cases where we could be tricked into a loop.
	* src/vteapp.c: emit a message when the icon title is changed.

1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219
2003-05-29 nalin
	* src/vte.c(vte_terminal_process_incoming): handle control characters
	in the middle of control sequences.
	* src/vte.c(vte_sequence_handler_cm): fix origin mode.
	* src/vte.c(vte_sequence_handler_cv): fix origin mode.
	* src/vte.c(vte_sequence_handler_cs): snap the cursor to the scrolling
	region which is set.
	* src/table.c(_vte_table_extract_number): extract a number digit by
	digit as we do in the trie parser.
	* src/vte.h: declare 'struct vte_char_attributes' again to restore API
	back compat with 0.10.x.
	* src/iso2022.c(_vte_iso2022_sequence_length): don't recognize PM
	messages -- Xterm doesn't do anything with them and we don't want to
	appear to hang when we're really just waiting for the end of the
	message.

1220 1221 1222 1223 1224 1225
2003-05-28 nalin
	* src/vtefc.c(_vte_fc_defaults_from_rdb): only apply DPI if we were
	able to get a value.
	* src/vterdb.c, src/vterdb.h: use the display and screen of a passed-in
	widget if asked to do so, else use screen 0 of the default display.

1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
2003-05-28 nalin
	* configure.in: check for GTK+ 2.2, and if found, force use of
	multihead-safe APIs to try to flush out some bugs.
	* src/vte.c, src/vteapp.c, src/vtedraw.c, src/vtefc.c, src/vteglyph.c:
	clean up some sloppy multihead changes.
	* src/vte.c, src/vte.h (vte_terminal_match_set_cursor_type): add.
	* src/vtedraw.c, src/vtedraw.h: add a draw_char() method which is
	allowed to fail.
	* src/vte.c(vte_terminal_draw_graphic): separate the width of a column
	and the number of columns to be drawn.  Use _vte_draw_char() to avoid
	crude approximations of characters when we have a font for them.

1238 1239 1240 1241 1242 1243 1244 1245 1246 1247
2003-05-21 nalin
	* src/vte.c(vte_terminal_scroll_region): force an entire window repaint
	if we're supposed to scroll the background but we're not scrolling the
	entire window.  This means we need to repaint the scrolled region, and
	to keep things looking right, we need to repaint everything.
	* src/vteapp.c(main): enable visible bell if we're disabling the
	audible bell, and vice-versa.
	* src/vte.c: flesh out some doc comments.
	* doc/reference/tmpl/vte.sgml: flesh out some notes on signals.

1248 1249 1250 1251 1252 1253
2003-05-21 nalin
	* src/vteconv.c(_vte_conv): pass zero bytes which trigger EILSEQ
	through and keep going.
	* src/vteconv.c: replace use of g_utf8_strlen with an internal function
	which doesn't stop counting at NUL characters.

1254 1255 1256 1257 1258 1259
2003-05-21 nalin
	* src/interpret.c: use _vte_matcher_free_params_array.
	* src/vte.c(vte_invalidate_cursor_once): add a parameter for indicating
	if this is a "cursor blink" (periodic) refresh, and if it is set and
	the cursor isn't supposed to blink, suppress the invalidate.

1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275
2003-05-21 nalin
	* src/iso2022.c(_vte_iso2022_process): free the temporary array.
	* src/matcher.c(_vte_matcher_free_params_array): add.
	* src/vte.c: use _vte_matcher_free_params_array instead of the local
	copy, which is removed.
	* src/interpret.c, src/table.c, src/trie.c: use
	_vte_matcher_free_params_array to free parameter arrays instead of
	g_value_array_free, which doesn't take care of the pointer values.
	* src/vte.c(vte_sequence_handler_set_title_internal): only attempt to
	close the conversion descriptor if it was opened successfully.
	* src/vteapp.c: add the -k option to spin after gtk_main() returns.
	* src/vtefc.c: make copies of patterns with FcPatternDuplicate so that
	we know where all of the returned patterns came from.
	* src/vtexft.c(_vte_xft_font_for_char): set the item in the pattern
	array to NULL if we successfully opened a font using the pattern.

1276 1277 1278 1279 1280 1281 1282
2003-05-20 nalin
	* src/iso2022.c: clarify comments near one of the warning messages.
	* src/vtefc.c(_vte_fc_transcribe_from_pango_font_description): unref
	the Pango context, which was created for us.
	* src/vtepango.c: keep track of the Pango context, and unref it when
	it is no longer needed.

1283 1284 1285 1286
2003-05-20 nalin
	* src/Makefile.am: try juggling the CFLAGS and LIBS order to let the
	xft CFLAGS/LIBS take precedence over everything else (#113335).

1287 1288 1289
2003-05-20 nalin
	* src/ssfe.c: compile fix for Solaris, patch from #113344.

1290 1291 1292 1293
2003-05-20 nalin
	* src/vte.c: remove no-longer-used tree structure.
	* src/vtefc.c: free strings returned by g_object_get().

1294 1295 1296 1297 1298 1299 1300
2003-05-20 nalin
	* src/vte.c(vte_terminal_realize): create the terminal's draw structure.
	* src/vte.c(vte_terminal_unrealize): free the terminal's draw structure.
	* src/vteapp.c(main): enforce a clean shutdown by requiring that the
	terminal and top-level window are both finalized before gtk_main()
	returns.

1301 1302 1303 1304 1305 1306 1307 1308
2003-05-20 nalin
	* src/vte.c(vte_terminal_finalize): properly send a SIGHUP to the child
	process if it hasn't already exited (#112505).
	* src/vteapp.c: don't exit on EOF, only on child-exited.
	* src/vte.c(vte_sequence_handler_sf): increment the scrolling offset
	to avoid flickering when the application has defined a scrolling region
	with top row == 1.

1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
2003-05-19 nalin
	* src/iso2022.c, src/keymap.c, src/mev.c, src/vtebg.h, src/vteglyph.h:
	remove comma from end of enum declaration (#111925).
	* src/vtetc.c: don't use parameter-as-array-size compiler
	extension (#111925).
	* src/ssfe.c: don't assume that the compiler interprets \e correctly,
	use %c with value of 27 instead (#111925).
	* doc/reference/Makefile.am: obey CPPFLAGS and LDFLAGS (#111925).
	* gnome-pty-helper/gnome-utmp.c: only include <utmp.h> if HAVE_UTMP_H
	was defined (#111925).
	* src/keymap.c, src/ssfe.c: unconditionally include <term.h> if we
	defined HAVE_CURSES or HAVE_NCURSES, as having the header is a
	precondition for defining either (#111925).
	* src/iso2022.c: make each array have at least one element (#111925).
	* src/pty.c, src/gnome-login-support.c: try to open /dev/ptc if opening
	/dev/ptmx fails due to ENOENT (#111925).

1326 1327 1328 1329 1330 1331
2003-05-19 nalin
	* src/vteapp.c: don't exit on eof, just child-exited.
	* src/vte.c(vte_terminal_eof): don't disconnect from SIGCHLD on eof,
	the child might still be running.

2003-05-19 nalin
1332 1333 1334 1335
	* src/Makefile.am: change all instances of "termcap" to "vtetc".
	* src/termcap.c, src/termcap.h: rename to vtetc.c, vtetc.h, to avoid
	conflicts with system headers.

1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355
2003-05-19 nalin
	* src/keymap.c: fix KP_PageDown in application keypad mode (#113187).
	* src/reaper.c: add a finalize method which properly cleans things up
	so that the singleton can at least theoretically be destroyed (part of
	a fix for #112172).
	* src/vte.c: obtain a ref to a reaper object whenever we are waiting
	for a child to exit.
	* po/POTFILES.in: add more source files for scanning.
	* src/iso2022.c: rework pieces to handle incomplete sequences at the
	end of input.  Check for 8-bit SS2 and SS3 in case of EILSEQ.  Build
	a fake ISO-8859-1 map for conversions using invalid maps.
	* src/iso2022.c(_vte_iso2022_state_free): free the state's buffer.
	* src/vteconv.c: internalize UTF-8 to UTF-8 conversions, fix handling
	of incomplete sequences at the end of the available data.
	* src/vte.c: implement send/receive and automatic linefeed modes.
	* src/vte.c(vte_sequence_handler_sr): invalidate the row which contains
	the cursor to ensure that it doesn't leave a trail.
	* src/vte.c(vte_sequence_handler_return_terminal_id): add.
	* src/vte.c(vte_terminal_feed_child_using_modes): add.

1356 1357 1358 1359
2003-05-19 Telsa Gwynne  <hobbit@aloss.ukuu.org.uk>

	* configure.in: Add cy (Welsh) to ALL_LINGUAS

1360 1361 1362 1363
2003-05-13 nalin
	* src/iso2022.c(_vte_iso2022_find_nextctl): don't recognize 8-bit
	SS2 and SS3 by default, it breaks UTF-8 and other encodings (#112879).

1364 1365 1366 1367 1368 1369 1370 1371 1372 1373
2003-05-13 nalin
	* src/vtedraw.c, src/vtedraw.h: add _vte_draw_needs_repaint() to
	indicate if the drawing back-end can only handle entire-window paints.
	* src/vteconv.c: return a value from _vte_conv_close(), even though
	it isn't used.
	* src/vte.c(vte_terminal_paint): don't look at drawing starting at
	negative row or coumn offsets.
	* src/vtegl.c: prefer glX double-buffering to GDK's, and use double-
	buffered possibly-direct windows instead of indirect pixmaps.

1374 1375 1376 1377 1378
2003-05-12 nalin
	* src/vtebg.c(_vte_bg_get_pixmap, _vte_bg_get_pixbuf): account for the
	foreign root pixmap not having a colormap by default, using the root
	window's colormap if it doesn't already have one set.

1379 1380 1381 1382 1383
2003-05-12 nalin
	* src/iso2022.c(_vte_iso2022_state_new): if we can't convert from the
	locale encoding to UTF-8, use UTF-8 as the locale encoding (#112614).
	* src/vtegl.c(_vte_gl_start): enable point smoothing.

1384 1385 1386 1387 1388 1389 1390 1391 1392
2003-05-08 nalin
	* src/vtedraw.c, src/vtedraw.h (_vte_draw_get_colormap): let the caller
	control whether or not we return the default colormap.
	* src/vtegl.c: enable blending.  Don't specify any buffer depths.  Set
	the current drawable before we do any drawing.  Call gluOrtho2D with
	the right args to set up the right projection.
	* src/vteskel.c: quiet compiler warning by removing a "const".
	* src/vtedraw.c: juggle the preferred render order again.

Abel Cheung's avatar
Abel Cheung committed
1393 1394 1395 1396
2003-05-08  Abel Cheung  <maddog@linux.org.hk>

	* configure.in: Added "mk" to ALL_LINGUAS.

1397 1398 1399 1400
2003-05-07 nalin
	* src/iso2022.c: let OSC command sequences be subject to code
	conversion again (#112485).

1401 1402 1403 1404 1405 1406 1407 1408 1409 1410
2003-05-07 nalin
	* src/vteconv.c, src/vteconv.h: add VteConv as a thin wrapper around
	GIConv.
	* src/iso2022.c: use VteConv.
	* src/matcher.c(_vte_matcher_find_valid_encoding): remove.
	* src/matcher.c(_vte_matcher_wide_encoding): remove.
	* src/trie.c: use VteConv.
	* src/utf8echo.c: use VteConv.
	* src/vte.c: use VteConv (#112446).

1411 1412 1413 1414 1415 1416 1417
2003-05-06 nalin
	* src/vte.c: add "Since: 0.11" to documentation for functions which
	aren't available in the 0.10 series.
	* src/iso2022.c: default G2 to JIS0201, G3 to JIS0212 for Japanese,
	because they appear to not be used by anyone else.
	* vte.spec: merge with .spec file from RHL.

1418 1419 1420
2003-05-06 nalin
	* src/vtegl.c: get text rendering semi-working.

1421 1422 1423 1424 1425 1426 1427
2003-05-06 nalin
	* src/vteft2.c, src/vtegl.c, src/vtepango.c, src/vtepangox.c,
	src/vtexft.c: when setting up backgrounds, don't deref an existing
	background before fetching a new one, in case they're the same.
	* src/vteglyph.c(_vte_glyph_draw): fix computation of the input offset.
	* src/vtegl.c: implement drawing of backgrounds.

1428 1429 1430 1431 1432 1433 1434 1435 1436 1437
2003-05-06 nalin
	* src/iso2022.c(_vte_iso2022_map_J): include the whole JIS0201 map
	instead of just the lower half.
	* src/iso2022.c(_vte_iso2022_map_get): set the and_mask to clear the
	high bits of pairs before looking them up in the maps.
	* src/iso2022.c(_vte_iso2022_fragment_input): recognize the 8-bit
	versions of SS2 and SS3.
	* src/iso2022.c(_vte_iso2022_process_control): recognize the 8-bit
	versions of SS2 and SS3.

1438 1439 1440 1441
2003-05-06  Danilo Šegan  <dsegan@gmx.net>

	* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.

1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454
2003-05-05 nalin
	* src/debug.h: include <glib.h> for gboolean type definition.
	* src/matcher.c: include "config.h" and "debug.h".
	* src/matcher.h: use G_BEGIN_DECLS/G_END_DECLS
	* src/table.h: use G_BEGIN_DECLS/G_END_DECLS
	* src/termcap.h: include <glib.h>, again for gboolean.
	* src/vtebg.h,src/vterdb.h,src/vtergb.h: adjust macro used to prevent
	multiple inclusions to match the rest of the tree.
	* src/vtefc.c(_vte_fc_patterns_from_pango_font_desc): provide a callback
	which can be used to override all defaults.
	* src/vtegl.h,src/vtexft.h: don't include "config.h"
	* src/vteglyph.c, src/vteglyph.h: add _vte_glyph_get_uncached().

1455 1456 1457 1458 1459 1460
2003-05-04 nalin
	* gnome-pty-helper/gnome-login-support.c(n_read,n_write): if ERESTART
	is defined, treat it like EINTR and EAGAIN.
	* src/pty.c(n_read,n_write): if ERESTART is defined, treat it like
	EINTR and EAGAIN.

1461 1462 1463 1464 1465 1466 1467 1468 1469
2003-05-02 nalin
	* configure.in: define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE, and
	__EXTENSIONS__ to get definitions for msg_control and msg_controllen
	on Solaris (#112036).
	* src/vtedraw.c(_vte_draw_set_scroll): don't try to return a value from
	this void function (#112036).  Patch from Hidetoshi Tajima.
	* src/xticker.c: don't include getopt.h, which isn't even needed for
	regular getopt() (#112036).  Patch from Hidetoshi Tajima.

1470 1471 1472 1473 1474 1475 1476 1477
2003-05-01 nalin
	* src/vtebg.c(vte_bg_set_root_pixmap,vte_bg_root_pixmap): remove some
	debugging g_print() calls.
	* src/iso2022.c(process_cdata): skip over NUL bytes (#112022).
	* src/vte.c(vte_terminal_background_update): map the bgcolor values to
	a pixel value before setting the window background color.
	* src/nativeecho.c(main): echo NUL bytes if asked to do so.

1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
2003-05-01 nalin
	* src/vtebg.c, src/vtebg.h: add a singleton object for managing
	copies of background images, either the desktop background, an
	in-memory pixbuf, or an on-disk file, with tinting.  Using a single
	store for this stuff lets multiple widgets share images and should
	reduce both CPU and memory consumption in applications which create
	more than one VteTerminal instance with similar settings.
	* src/vtedraw.c, src/vtedraw.h: adapt the set_background_pixbuf()
	interface to the vtebg method and rename to set_background_image().
	* src/vteft2.c, src/vtegl.c, src/vtepango.c, src/vtepangox.c,
	src/vteskel.c, src/vtexft.c: update to work with newer vtebg/vtedraw
	interfaces.
	* src/vte.c(vte_terminal_filter_property_changes): remove in favor
	of vtebg method.  Manage background state for vtebg.

1493 1494 1495 1496
2003-05-01 Kang Jeong-Hee <Keizi@mail.co.kr>
	* doc/reference/Makefile.am: s/index.sgml/index.html/.
	There's no index.sgml in html directory, but a index.html.

1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511
2003-04-29 nalin
	* src/vte.c(vte_sequence_handler_local_charset): remove the unused
	DEFAULT_ISO_8859_1 case.
	* src/vte.c(vte_terminal_class_init): don't call
	_vte_matcher_narrow_encoding(), because we don't need it any more.
	Change the error message emitted when _vte_matcher_wide_encoding()
	fails (#111925), and mark it for translation.
	* src/trie.c(main): don't call _vte_matcher_narrow_encoding() just
	to print its result.
	* src/vte.c(vte_terminal_set_encoding): include the right codeset name
	in the error message.
	* src/vteglyph.c(_vte_glyph_get): mark error message for translation.
	* src/matcher.c, src/matcher.h: remove _vte_matcher_narrow_encoding().
	Make tables of strings "const".

1512 1513 1514 1515
2003-04-29 nalin
	* src/vte.c(vte_terminal_unrealize): set the IM context's client window
	to NULL before unreferencing it to avoid crashes when preedit is active.

1516 1517 1518
2003-04-29 nalin
	* src/keymap.c: add keymaps for GDK_slash and GDK_question (#108299).

1519 1520 1521 1522
2003-04-29 nalin
	* src/vterdb.c(_vte_rdb_get): use INT_MAX instead of LONG_MAX when
	passing in the maximum length, because it's returned in an int.

1523 1524 1525 1526
2003-04-29 nalin
	* src/iso2022.txt: fix the UTF-8 sample text which corresponds to the
	ISO-2022-KR sample text so that it actually matches the text.

1527 1528 1529 1530 1531 1532 1533 1534 1535 1536
2003-04-29 nalin
	* src/iso2022.c(_vte_iso2022_map_U): add map for CP437.
	* src/unitable.CP437: add.
	* src/mkunitables.sh: add CP437.
	* src/Makefile.am: add unitable.CP437 to the file list.

2003-04-29 nalin
	* src/iso2022.c(_vte_iso2022_process_control): accept and warn about
	bogus map names (#110300).

1537 1538 1539 1540 1541 1542 1543 1544 1545
2003-04-28 nalin
	* src/vte.c(vte_invalidate_cursor_once): rework to simplify the logic
	of how many cells to invalidate when we have a preedit string.
	* src/vte.c(vte_terminal_paint): draw the preedit string correctly for
	cases more complicated than the default IM (seems to fix #111767).
	* src/vterdb.c(_vte_rdb_get): use g_strncpy() and the property length
	to avoid going past the end of the possibly-not-nul-terminated string.
	* src/Makefile.am: build a standalone vterdb binary.

1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562
2003-04-28 nalin
	* src/vte.c(vte_terminal_insert_char): add another flag to skip over
	sanity-checking the buffer when adding characters.
	* src/vte.c(vte_terminal_process_incoming): sanity-check the buffer
	only when necessary to save time.
	* src/vte.c(vte_terminal_scroll_region): invalidate the region which
	is exposed when we scroll so that the entire cell gets redrawn, avoiding
	clipping problems (#111683).
	* src/vte.c(vte_terminal_paint): fix math for determining where to
	stop drawing.
	* src/vte.c(vte_terminal_fill_rectangle): rename to ..._int to reduce
	confusion over which internal drawing commands are offset and which are
	not.
	* src/vte.c(vte_terminal_insert_char): if performing a single
	substitution, check the encoded width of the output char, not the
	input char, which doesn't have one.

1563 1564 1565 1566 1567 1568 1569 1570
2003-04-28 nalin
	* src/vterdb.c, src/vterdb.h: add routines for pulling Xft antialiasing
	and hinting options from the resource database.
	* src/vtefc.c(_vte_fc_patterns_from_pango_font_desc): apply settings
	from the resource database after applying settings from GTK+.
	* src/vtefc.c(_vte_fc_defaults_from_rdb): added, for adding default
	settings based on the resource database.

1571 1572 1573 1574 1575
2003-04-27 nalin
	* src/vtefc.c(_vte_fc_defaults_from_gtk): complain when the installed
	version of GTK+ doesn't support reporting Xft antialiasing and hinting
	settings.

1576 1577 1578 1579
2003-04-25 nalin
	* src/vte.c(vte_sequence_handler_sf): freeze the window when scrolling
	down in a restricted scrolling area again.

1580 1581 1582 1583 1584 1585
2003-04-23 nalin
	* src/iso2022.c(_vte_iso2022_state_set_codeset): save the new codeset.
	* src/iso2022.c(process_cdata): compare the new codeset to the name of
	the UTF-8 codeset instead of the local codeset to see if we need to
	notify callers of a change.

1586 1587 1588 1589 1590
2003-04-23 nalin
	* src/vte.c(vte_sequence_handler_sf): don't use the window freeze count
	to check if it's safe to scroll using gdk_window_scroll(), require other
	parts of this widget to declare it unsafe for those cases.

1591 1592 1593 1594 1595 1596
2003-04-23 nalin
	* src/vtexft.c(_vte_xft_char_width): take an explicit XftFont instead
	of figuring out which one to use ourselves.
	* src/vtexft.c(_vte_xft_draw_text): pass the XftFont which we're already
	using to _vte_xft_char_width to save a call to _vte_xft_font_for_char.

1597 1598 1599
2003-04-23 nalin
	* autogen.sh: accept libtool 1.5 in addition to 1.4 (#15968).

1600 1601 1602 1603 1604 1605
2003-04-23 nalin
	* src/vte.c,src/vte.h: (_vte_terminal_accessible_ref): add.
	* src/vteaccess.c(vte_terminal_accessible_new): call
	_vte_terminal_accessible_ref to ensure that accessible signals are
	going to be emitted.

1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631
2003-04-23 nalin
	* src/dumpkeys.c: formatting fixup.
	* src/iso2022.c: formatting fixups.  Try using U+FFFF as the "invalid"
	marker character instead of '?', because it's actually invalid.
	* src/pty.c: formatting fixup.
	* src/reflect.c: formatting fixup.
	* src/ring.c: formatting fixup.
	* src/ssfe.c: formatting fixups.
	* src/trie.c: formatting fixup.
	* src/vte.c: formatting fixups.
	* src/vte.c(vte_terminal_get_accessible): don't add a weak pointer to
	the AtkObject if it isn't a valid AtkObject.  Only emit text-changed
	signals if we managed to create a valid accessible peer.
	* src/vteaccess.c: formatting fixups.
	* src/vteaccess.c(vte_terminal_accessible_init): unset the EXPANDABLE
	Atk state.  Set the RESIZABLE state.
	* src/vteaccess.c(vte_terminal_accessible_class_init): Remove
	spurious(?) call to bind_textdomain.
	* src/vteaccess.c(vte_terminal_accessible_get_type): check if the
	accessible peer of our peer's ancestor is derived from GtkAccessible,
	and if it isn't derive from GtkAccessible instead of that.
	* src/vteaccess.c(vte_terminal_accessible_get_type): register our
	factory type.
	* src/vteaccess.c, src/vteaccess.c: add VteTerminalAccessibleFactory.
	* src/vtedraw.c: formatting fixup.

1632 1633 1634 1635
2003-04-23 nalin
	* src/vte.c(vte_terminal_background_update): always refetch the
	root pixmap if we don't currently have a background image (#111386).

1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647
2003-04-23 nalin
	* src/vteaccess.c: implement an AtkComponent interface (part of
	#110770).
	* src/vteaccess.c(vte_terminal_accessible_focus_in): set the focus
	state on the accessible peer (part of #110770).
	* src/vteaccess.c(vte_terminal_accessible_focus_out): unset the focus
	state on the accessible peer (part of #110770).
	* src/vteaccess.c(vte_terminal_accessible_init): connect to the widget's
	visibility-notify signals.
	* src/vteaccess.c(vte_terminal_accessible_finalize): disconnect from
	the widget's visibility-notify signals.

1648 1649 1650 1651 1652 1653 1654 1655 1656
2003-04-23 nalin
	* src/vte.c(vte_terminal_background_update): don't bother generating
	a new pixmap or panning the pixbuf -- we can use the desaturated
	pixbuf directly now (#111386).
	* src/vte.c(vte_terminal_paint): use the drawing offsets because we
	don't regenerate new background pixmaps when the window is moved.
	* src/vte.c(vte_terminal_draw_cells): add jittered bold text back in,
	fell out in the drawing overhaul (#111430).

1657 1658 1659 1660
2003-04-22 nalin
	* src/iso2022.c(_vte_iso2022_fragment_input): account for valid CSI
	sequences which were missed earlier.

1661 1662 1663 1664
2003-04-22 nalin
	* src/vte.c(vte_terminal_eof): dispose of the PTY completely.
	* src/vte.c(vte_terminal_child_exited): dispose of the PTY completely.

1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676
2003-04-22 nalin
	* configure.in: add missing check for recvmsg.
	* gnome-pty-helper/gnome-login-support.c: formatting and spelling fixes.
	* gnome-pty-helper/gnome-login-support.c(n_read): reorganize.
	* gnome-pty-helper/gnome-login-support.c(n_write): add.
	* gnome-pty-helper/gnome-login-support.h: add prototype for n_write.
	* gnome-pty-helper/gnome-pty-helper.c: only define the I_SENDFD version
	of pass_fd() if I_SENDFD is defined, to clarify compile errors when it
	isn't defined.
	* src/pty.c(main): exercise session logging.
	* src/pty.c(_vte_pty_open_with_helper): add more debug messages.

1677 1678 1679 1680 1681 1682 1683 1684 1685
2003-04-22 nalin
	* src/iso2022.c(_vte_iso2022_map_get): force visible widths to 2 columns
	for CJK maps which use 2 bytes per character.
	* src/iso2022.c(_vte_iso2022_fragment_input): recognize CSI/OSC/PM
	sequences as control sequences and not raw text, allowing us to treat
	them specially later.
	* src/iso2022.c(process_control): pass CSI/OSC/PM sequences through
	unmodified (without going through maps).

1686 1687 1688 1689
2003-04-22 nalin
	* src/vte.c(vte_invalidate_cursor_once): don't bother doing anything if
	we're fully obscured (related to #102703).

1690 1691 1692 1693
2003-04-22 nalin
	* src/vteapp.c(main): stop messing with fontconfig's list of font
	directories.

1694 1695 1696 1697 1698
2003-04-22 nalin
	* configure.in: rework link order so that xft2 is linked before anything
	else.  You're still screwed if you link with both xft1 and xft2 libs,
	but maybe this'll help (#107285).

1699 1700 1701 1702 1703 1704 1705 1706
2003-04-22 nalin
	* src/vteglyph.c: fix a couple of #errors.
	* src/vte.c(vte_invalidate_cells): if the area we're invading is on the
	edge, invalidate the edge as well.
	* src/pty.c: implement and use wrappers for read and write which handle
	EINTR and EAGAIN.
	* src/vte.c(vte_terminal_scroll_region): don't use gdk_window_scroll if
	the window is frozen for updates.
Nalin Dahyabhai's avatar
Nalin Dahyabhai committed
1707 1708 1709
	* src/vte.c(vte_terminal_sequence_handler_sf): when scrolling down while
	we have a defined scrolling region, freeze the window to avoid flicker
	when we update the scrolling offsets (#108058).
1710

1711 1712 1713 1714 1715
2003-04-21 nalin
	* gnome-pty-helper/gnome-login-support.c(n_read): don't bail out if
	read() returns -1 and errno is either EINTR or EAGAIN, candidate fix for
	#107534.

1716 1717 1718 1719
2003-04-21 nalin
	* src/vte.c(vte_terminal_io_read): add a couple of assertions here
	just to be sure (#108066).

1720 1721 1722 1723 1724 1725 1726 1727
2003-04-21 nalin
	* src/pty.c(_vte_pty_ptsname): don't depend on PATH_MAX being
	available and correct (#109805).
	* src/vte.c(vte_terminal_set_termcap): don't depend on PATH_MAX being
	available and correct (#109805).
	* src/vte.c(vte_terminal_io_read): fix signed/unsigned comparison
	(#108066).

1728 1729 1730 1731
2003-04-21 nalin
	* Makefile.am: add MESSAGE-OF-DOOM to EXTRA_DIST
	* src/keymap.c: make Alt+Return generate ESC newline (#108863).

1732 1733 1734 1735 1736
2003-04-21 nalin
	* src/Makefile.am: drop unitable.KSC5601
	* src/iso2022.c: fixup comment re: KS X 1001 (#107119).
	* src/mkunitables.sh: add two characters from KS X 1001:1998 (#107119).

1737 1738 1739 1740 1741 1742
2003-04-21 nalin
	* src/vte.c(vte_terminal_eof): don't try to process incoming data if
	there isn't any (#110946).
	* src/vtexft.c: mark a warning message for translation.
	* src/vtegl.c: make the warning when glX isn't available debug-only.

1743 1744 1745 1746
2003-04-21 nalin
	* src/vteglyph.c: use #if HAVE_DECL_XXX instead of #ifdef HAVE_DECL_XXX,
	noted by Bob Doan.

1747 1748 1749 1750
2003-04-20 nalin
	* src/vtexft.c: work around for garbled glyphs when drawing runs of
	text using multiple fonts while mixing bitmap and antialiased fonts

1751 1752 1753
2003-04-17 nalin
	* src/vte.c: add missing prototype for vte_terminal_process_incoming().

1754 1755
2003-04-17 nalin
	* src/vteglyph.c(_vte_glyph_get): quiet a compiler warning.
1756 1757 1758 1759
	* src/iso2022.c: use KSX-1001 instead of KSC-5601 for Korean (#107119),
	add maps for CNS 11643 planes 3,4,5,6,7 (can't test them, but hey).
	Rework so that we get the data before it's passed to g_iconv(), and
	return gunichars.
1760 1761 1762 1763 1764
	* src/interpret.c: adapt to changes in the iso2022 interfaces.
	* src/vte.c: adapt to changes in the iso2022 interfaces.
	* src/mkunitables.sh: add snippets for KSX 1001.
	* src/iso2022.txt: add iso-2022-cn example text.

1765 1766 1767 1768
2003-04-17 nalin
	* src/vte.c(vte_terminal_process_incoming): invalidate a larger
	rectangle to fix behavior wrt openi18n assertion 2.

1769 1770 1771 1772 1773 1774 1775
2003-04-16 nalin
	* src/vte.c(vte_terminal_paint): fix logic error drawing the cursor
	which caused ALTGR characters to always be used.  Draw the preedit
	string in the right location.
	* src/vte.c(vte_invalidate_cursor_once): expose the visible width of
	the preedit string, not its length.

1776 1777 1778
2003-04-15 nalin
	* src/vteaccess.c: fix broken debug message.

1779 1780 1781 1782
2003-04-15 nalin
	* src/vte.c: make row_data a structure containing an array instead of a
	simple array.  Add a field to row data structures which tracks whether
	or not we soft-wrapped from this line to the next one.  Make use of the
1783
	field when copying text and selecting by "line" (#105189).
1784 1785 1786 1787 1788 1789 1790 1791 1792
	* src/reflect.c: put the label in a scrolled window to avoid mad loops
	when we resize it to accomodate more text, which shrinks the terminal,
	which removes text from the label, which resizes it to be smaller, which
	gives the terminal more space, which adds text to the viewable area,
	which requires a bigger label, and so on.
	* src/vte.c: move vte_terminal_get_text_range logic into
	vte_terminal_get_text_range_maybe_wrapped for internal use,
	vte_terminal_get_text likewise.

1793 1794 1795 1796
2003-04-14 nalin
	* src/vte.c: don't snap the beginning of selection to the next line in
	select-by-line mode.

1797 1798 1799 1800 1801 1802
2003-04-14 nalin
	* configure.in, src/vteglyph.c: fix macro invocations so that when
	LCD and GRAY2/GRAY4 pixel modes are supported by freetype, we don't
	get confused by them.
	* src/vtepango.c, src/vtepangox.c: fix background scrolling.

1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818
2003-04-14 nalin
	* autogen.sh: require automake 1.6, 1.5 chokes on AM_LDFLAGS, which 1.7
	wants instead of LDFLAGS(!).  Require autoconf 2.52 or newer, because
	older versions bail on configure.in.
	* configure.in: Check if ft_render_mode_mono, FT_RENDER_MODE_NORMAL,
	FT_PIXEL_MODE_MONO, ft_pixel_mode_mono, FT_PIXEL_MODE_GRAY2,
	FT_PIXEL_MODE_GRAY4, FT_PIXEL_MODE_GRAY, ft_pixel_mode_grays,
	FT_PIXEL_MODE_LCD are declared.
	* src/vte.c, src/vteapp.c, src/vtefc.c, src/vtepango.c: handle being
	built with GTK+ 2.0 or 2.2.
	* src/vtegl.c: disable for GTK+ < 2.2.0.
	* src/vtepangox.c: use a PangoX context instead of a Pango context
	when determining font metrics.
	* src/vteglyph.c: handle the twisty maze of load and render options and
	pixel modes various versions of freetype support.

1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841
2003-04-14 nalin
	* configure.in: disable pangox, xft, glx drawing if run invoked with
	the --without-x flag.
	* vte.pc.in: include CFLAGS found by AC_PATH_XTRA when built with X.
	* src/iso2022.c(_vte_iso2022_substitute_single): clean up and ensure
	that ambiguous widths are respected.
	* src/iso2022.c, src/iso2022.h: add _vte_iso2022_unichar_width().
	* src/vte.c: remove old xft2/xft1/pango/pangox/core drawing code,
	making draw the only supported method.  Remove most dependencies on
	gdkx and Xlib, except for root pixmap ID watching.
	* src/vtedraw.c: only use pangox, xft if X_DISPLAY_MISSING is not
	defined.
	* src/vtedraw.c, src/vtedraw.h: add get_using_fontconfig() method.
	* src/vte.c(vte_terminal_get_using_xft): use
	_vte_draw_get_using_fontconfig(), which is what apps really want to
	know when they call this function.
	* src/vtegl.c: wrap in #ifndef X_DISPLAY_MISSING.
	* src/vtepangox.c: wrap in #ifndef X_DISPLAY_MISSING.
	* src/vtexft.c: wrap in #ifndef X_DISPLAY_MISSING.
	* src/vteglyph.c(_vte_glyph_cache_set_description): use horizontal
	advance instead of bitmap width when calculating display widths.
	Rename to _vte_glyph_cache_set_font_description.

1842 1843 1844
2003-04-09 nalin
	* src/vte.c: add back some variables which are used after all.

1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863
2003-04-09 nalin
	* configure.in: add specific checks for PangoX and glX.
	* src/vteft2.c, src/vteft2.h: add drawing method using freetype and
	GdkRGB.
	* src/vteglyph.c, src/vteglyph.h: add.
	* src/vtepangox.c, src/vtepangox.h: add drawing method using PangoX.
	* src/vtergb.c, src/vtergb.h: add.
	* src/vtegl.c, src/vtegl.h: add placeholder drawing method using
	freetype and glX.
	* src/Makefile.am: add newly-added source files to libvte.la target.
	* src/vtedraw.c, src/vtedraw.h: add get_visual and get_colormap
	methods so that drawing methods can override the default visual and
	colormap.  Rename get_text_base() to get_text_ascent(), which is more
	correct.  Remove scroll(), which would just wrap gdk_window_scroll().
	* src/vte.c: fix logic for choosing alternate render methods when
	VTE_USE_XFT is "0".
	* src/vteapp.c: add -- option to stop parsing options with getopt.
	* src/vtefc.c: fix incorrect DPI read due to type mismatch (#109513).

1864 1865 1866 1867
2003-03-31  Laurent Dhima  <laurenti@alblinux.net>

	* configure.in: Added "sq" to ALL_LINGUAS.
	 
1868 1869 1870 1871
2003-03-26 nalin
	* src/Makefile.am: specify AM_CFLAGS and AM_LDFLAGS instead of CFLAGS
	and LDFLAGS so that automake 1.7 doesn't kick us to the curb

1872 1873 1874 1875
2003-03-13  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "ml" to ALL_LINGUAS.

1876 1877 1878 1879 1880
2003-03-07 nalin	
	* src/vte.c(vte_terminal_paint): adjust coordinates for the border when
	clearing rectangles.
	* src/vteskel.c, src/vteskel.h: add.
	* src/vtedraw.c: use the skeleton drawing code.
1881 1882 1883 1884 1885 1886
2003-03-07 nalin	
	* src/vte.c(vte_terminal_visibility_notify): watch for Visibility
	events.
	* src/vte.c(vte_invalidate_cells,vte_invalidate_all): don't synthesize
	an expose event if we're fully obscured, that's just silly.

1887 1888 1889 1890
2003-03-06 nalin	
	* src/vte.c, src/vte.h(vte_terminal_set_background_tint_color): take a
	const GdkColor* instead of a non-const color.

1891 1892 1893 1894
2003-03-06 nalin	
	* python/vte.defs: regenerate.
	* python/vte.override: update for vte_char_attributes rename.

1895 1896 1897 1898 1899
2003-03-06 nalin	
	* src/vte.c, src/vte.h, src/vteaccess.c: rename struct
	vte_char_attributes to VteCharAttributes, fixup some docs.
	* doc/reference: finish up docs.

1900 1901 1902 1903
2003-03-05 nalin	
	* vte.pc.in: add FT2_LIBS and FT2_CFLAGS to our libs and cflags.  Add
	xft >= 2.0 and fontconfig as hard requirements.

1904 1905 1906 1907
2003-03-05 nalin	
	* src/vtedraw.c: don't spit out which rendering method we're using
	except in debug mode.

1908 1909 1910 1911
2003-03-05 nalin	
	* src/vtepango.c, src/vtexft.c: don't print "Bogus font." when we think
	the font metrics are screwy.

1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931
2003-03-05 nalin	
	* configure.in: require Xft2 and fontconfig, drop Xft1.  Require
	freetype2.
	* src/Makefile.am, src/xticker.c: add xticker, useless but interesting.
	* src/vte.c, src/vte.h: add vte_terminal_set_scroll_background() to
	enable background scrolling (where supported by the drawing code).
	* src