2 * configure.in: don't disable use of deprecated APIs unless asked
4 * src/keymap.c(_vte_keymap_GDK_space): add Meta case (gafton).
5 * src/vtefc.c(_vte_fc_width_from_pango_stretch): add.
6 * src/vtefc.c(_vte_fc_transcribe_from_pango_font_description): handle
7 PangoStretch characteristics using _vte_fc_width_from_pango_stretch.
8 * src/vteregex.c: add random comments.
9 * src/vte.c(VteTerminal): track the "xn" terminal attribute.
11 2004-04-10 Guntupalli Karunakar <karunakar@freedomink.org>
13 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
15 2004-03-20 Gareth Owen <gowen72@yahoo.com>
17 * configure.in: Added en_GB to ALL_LINGUAS
19 2004-03-10 Alexander Winston <alexander.winston@comcast.net>
21 * configure.in: Added en_CA to ALL_LINGUAS.
23 2004-03-04 Guntupalli Karunakar <karunakar@freedomink.org>
25 * configure.in: Added "pa" for Punjabi to ALL_LINGUAS.
27 2004-02-07 Robert Sedak <robert.sedak@sk.htnet.hr>
29 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
31 2004-02-02 Martin Kretzschmar <m_kretzschmar@gmx.net>
33 * docs/reference/Makefile.am: use gtk-doc in xml-mode.
35 * docs/reference/vte-docs.sgml: sgml->xml, update to DocBook XML
36 4.1.2 DTD (fixes Bug #132945)
38 2004-02-02 Alastair McKinstry <mckinstry@computer.org>
40 * configure.in: Added 'ga' to ALL_LINGUAS
41 * po/ga.po: Added Gaeilge (Irish) translation.
43 2004-01-27 Åsmund Skjæveland <aasmunds@fys.uio.no>
45 * configure.in: Added 'nn' to ALL_LINGUAS
46 * po/nn.po: Added Norwegian Nynorsk translation.
48 2003-12-20 Arafat Medini <lumina@silverpen.de>
50 * configure.in: Added Arabic Locale "ar" to ALL_LINGUAS
52 2003-12-10 Tõivo Leedjärv <toivo@linux.ee>
54 * configure.in: Added et to ALL_LINGUAS.
56 2003-12-06 Iñaki Larrañaga <dooteo@euskalgnu.org>
58 * configure.in: Added "eu" (Basque) to ALL_LINGUAS.
60 2003-10-14 Christian Rose <menthos@menthos.com>
62 * configure.in: Added "ne" to ALL_LINGUAS.
64 2003-10-07 Žygimantas Beručka <uid0@tuxfamily.org>
66 * configure.in: Added "lt" to ALL_LINGUAS.
69 * src/vteapp.c: add options for exercising the cursor and highlight
71 * src/debug.c: flush output streams when we check if debugging is
72 enabled, because we'll probably output a string next.
73 * src/iso2022.c: don't print a zero-length string. Yay compiler
75 * src/interpret.c: use g_print() instead of fprintf() to print.
76 * src/keymap.c,src/ssfe.c: include <stdarg.h>, hopefully fixing
80 * python/vte.defs: add specs for set_color_cursor and
84 * src/vte.h,src/vte.c: add vte_terminal_set_color_cursor.
85 * src/vte.h,src/vte.c: add vte_terminal_set_color_highlight (#69776).
86 * src/vte.c(vte_terminal_determine_colors): add parameters for
87 specifying if the cell being rendered is the cursor or is highlighted,
88 probably for being selected. If either flag is set, and we've been
89 given a color to use for the purpose by a caller, use the supplied
90 color, else use inverse colors.
93 * src/iso2022.c(process_control): don't reset the conversion state
94 when we hit an end-of-line. I wasn't reading RFC1468 closely enough,
95 as it states that each line begins in the same encoding as the end of
96 the previous line, and read "application should reset before end-of-
97 line" as "terminal resets at end-of-line" (bug #122156).
100 * src/vteapp.c: silence a compiler warning.
103 * README: ask for LC_* in addition to LANG if weird spacing errors
105 * src/vteconv.c,src/vteconv.h: add wrappers for _vte_conv which weed
107 * src/iso2022.c: use _vte_conv_cu instead of _vte_conv.
108 * src/trie.c: use _vte_conv_cu instead of _vte_conv.
109 * src/vte.c: give _vte_terminal_fudge_pango_colors a return type again.
110 * src/vtebg.c: ifdef out vte_bg_source_name, which is unused.
111 * src/vtebg.c,src/vterdb.c: wrap calls to gdk_property_get to weed out
112 some compiler warnings.
115 * src/vte.c(vte_terminal_draw_cells_with_attributes): properly resolve
116 colors and cell properties to drawing colors.
117 * src/vte.c(_vte_terminal_fudge_pango_colors): add a function for
118 mapping GTK+ white-on-black preedit text to default reverse-colored
119 text for the terminal.
120 * src/vte.c(_vte_terminal_translate_pango_cells): don't bother
121 doing anything with the attribute for a range if the list is NULL.
122 Fudge white-on-black text to default colors in reverse so that it
123 works when the terminal is in a black-on-white color scheme.
126 * src/vte.c(_vte_terminal_apply_pango_attr): map weight attributes to
127 the terminal's bold attribute.
130 * src/vte.c(_vte_terminal_map_pango_color): add.
131 * src/vte.c(vte_terminal_im_preedit_changed): don't discard the
132 attributes list for the preedit string -- save them.
133 * src/vte.c(vte_terminal_draw_cells_with_attributes): add.
134 * src/vte.c(vte_terminal_paint): use draw_cells_with_attributes to
135 use the preedit attributes list when drawing the preedit string. This
136 changes the way the preedit string is presented to the user, but it
137 now looks [more] like GTK+ suggests it should look, so it should be a
141 * src/caps.c: add sequences for linux-console-cursor-attributes, which
142 we'll ignore (bug #108232).
145 * configure.in: if we don't find the python headers (even if we found
146 python), disable compilation of python bindings (bug #116756). Make the
147 checks for python support sequential for easier maintenance.
148 * python/vte.defs: add def for vte_terminal_match_set_cursor_type. Make
149 the color argument to vte_terminal_set_background_tint_color const.
150 * python/vte.override(_wrap_vte_terminal_forkpty): add.
151 * python/vte.override(_wrap_vte_terminal_fork_command): don't leak envv.
154 * src/vte.c(vte_terminal_fork_command,vte_terminal_forkpty): doc update
155 to note that directory and envv can be NULL for both.
158 * src/vteapp.c(main): if -S is passed, use forkpty to start a child that
159 just counts until killed with Ctrl-C.
162 * doc/reference/vte-sections.txt: add vte_terminal_forkpty.
163 * src/pty.c(_vte_pty_run_on_pty): exit on any error, to avoid leaving
164 random unreaped children running. Accept NULL command indicating that
165 no exec() should occur, but still error out if command isn't NULL and
167 * src/pty.c(_vte_pty_fork_on_pty_name,_vte_pty_fork_on_pty_fd): store
168 0 as the new child's PID if we're the child.
169 * src/pty.c(main): don't run "tty" by default, test the forkpty() case
171 * src/vte.c(vte_terminal_fork_command): rename to
172 _vte_terminal_fork_basic. Remove code to replace NULL command with
174 * src/vte.c(vte_terminal_fork_command): new! wrap
175 _vte_terminal_fork_basic, replacing a NULL command with the user's
177 * src/vte.c(vte_terminal_forkpty),src/vte.h: new! wrap
178 _vte_terminal_fork_basic, passing NULL for the command and argv
179 arguments (bug #116450).
180 * src/Makefile.am: update shared library version.
183 * configure.in: if <ft2build.h> isn't found, then we can't use any
184 freetype-specific bits, and that's not useful. Error out, and say
185 that we need freetype 2.0.2 or newer, which introduced this header
186 into the procedure (bug #116341).
189 * src/vte.c: don't create an accessible peer at init() time in
191 * gnome-pty-helper/gnome-pty-helper.c(struct pty_info): add a field to
192 keep track of whether or not we created a lastlog record.
193 * gnome-pty-helper/gnome-pty-helper.c(shutdown_pty): also try to
194 write a logout record if pi->lastlog is true, because in doing so we
195 free pi->data, closing a leak (bug #116091).
198 * src/vteapp.c(resize_window): don't add the padding in when calculating
202 * doc/reference/tmpl/vte.sgml: note that dimensions passed in with
203 the resize-window signal include padding (more of bug #119141).
206 * src/vte.c(vte_sequence_handler_character_attributes,
207 vte_sequence_handler_decset_internal): remove redundant type checks.
208 * src/vte.c(all signal handlers): return a boolean indicating whether
209 or not to exit the processing loop instance early to allow the
210 application to deal with some input (usually along the lines of a
211 signal requesting that the terminal be resized) (bug #118938).
214 * python/vte.override(get_text,get_text_range): reorder arguments to
215 match the order for the C versions (#118882).
216 * python/vte.override(get_text,get_text_range,call_callback): fix
217 refcounting and callback argument marshalling (bug #118882).
218 * python/vte-demo.py: exercise get_text() on "window-raise" signals.
220 2003-08-12 Padraig O'Briain <padraig.obriain@sun.com>
223 (vte_terminal_initialize): New function containing initialization code
224 previously in vte_terminal_accessible_new. Also set role in
226 (vte_terminal_accessible_class_init): Specify function pointer for
227 vte_terminal_initialize.
228 (vte_terminal_accessible_get_type): Do not set instance data size or
229 GInstanceInitFunc. Remove vte_terminal_accessible_init.
231 This fixes bug #119694.
234 * python/vte.override: add binding for get_padding() (bug #118834).
237 * python/vte.override: add binding for get_cursor_position()
241 * python/vte.defs: give length parameters for feed() and feed_child()
242 default values of -1 (bug #118711).
243 * python/vte.override: use the length parameter if it's supplied to the
244 feed() and feed_child() methods.
247 * python/vte.override: add overrides for feed() and feed_child()
248 methods which use the length of the string as given in C, to hopefully
249 allow passing NUL bytes around as part of strings (bug #118711). Make
250 the length parameter optional, and ignored, to try to avoid breaking
251 existing Python code in an obvious way.
254 * src/vte.c(vte_terminal_start_selection,vte_terminal_extend_selection):
255 drop an unnecessary cast-and-check, which we don't need because we have
256 no use for the GtkWidget pointer to the terminal. Fix initial shift-
260 * configure.in: error out if we don't find ncurses, curses, or
261 libtermcap development headers (bug #117754).
264 * autogen.sh: export WANT_AUTOCONF_2_5 for the sake of Mandrake autoconf
265 wrapper (bug #119066).
268 * src/vte.c(vte_sequence_handler_decset_internal,
269 vte_sequence_handler_window_manipulation): include the widget's padding
270 widths in resize requests (bug #119141).
273 * autogen.sh: check for autoconf-2.51, autoconf-2.50, autoconf-2.5 when
274 looking for autoconf 2.5x (bug #118627).
277 * gnome-pty-helper/configure.in: define _XOPEN_SOURCE_EXTENDED,
278 _XOPEN_SOURCE, and __EXTENSIONS__ for Solaris, as we do in the top-level
282 * gnome-pty-helper/configure.in: check for grantpt in libc and then
283 in libpt. Check for openpty in libc before checking libutil. Check for
284 sendmsg in libc before checking libsocket (with libnsl) (#117636).
286 2003-07-11 Pablo Saratxaga <pablo@mandrakesoft.com>
287 * configure.in: Added Walloon (wa) to ALL_LINGUAS
290 * src/vteregex.h, src/vteregex.c: add.
291 * src/vte.c: use interfaces from vteregex for doing dingus matching.
294 * src/vte.c(vte_sequence_handler_return_terminal_status): return an
295 empty string in response to the ENQ control sequence instead of "xterm".
296 Report and patch from Mariano Suárez-Alvarez (#116495).
299 * src/iso2022.c: treat the "big5hkscs" encoding as an East Asian
300 encoding, which uses ambiguous widths (#116078). Report and patch
302 * src/dumpkeys.c, src/iso2022.c, src/iso8859mode.c, src/nativeecho.c,
303 src/utf8echo.c, src/utf8mode.c, src/vte.c: don't use the literal escape
304 character, express it as an octal sequence.
307 * src/caps.c: add vertical-tab and form-feed to the list of control
309 * src/vte.c(vte_controL_sequence_handler_form_feed): add.
310 * src/vte.c(vte_controL_sequence_handler_vertical_tab): add.
313 * src/vteaccess.c(xy_from_offset): fix a compiler warning.
316 * src/vteint.h: add. Move private VteTerminal stuff which needs to be
317 shared with other modules in the library here.
318 * src/vtedraw.c, src/vtedraw.h: add get_char_width(), for use in drawing
320 * src/vte.c(vte_invalidate_cursor_once): if the character under the
321 cursor doesn't fit into its cell, expose the column to the right of
322 it so that we can paint into the adjacent cell.
323 * src/vte.c(vte_terminal_paint): when clearing the area behind the
324 cursor or drawing the hollow rectangle to indicate its position when
325 we don't have focus, use the visible width of the character instead
326 of just assuming it will fit. This complies better with assertion 2.
329 * src/vte.c(vte_terminal_set_encoding): set the encoding for the iso2022
330 converter (spotted by havill).
333 * src/vtebg.c, src/vterdb.c: sync the display before trapping errors
334 to ensure that any errors we'll get will be handled before we remove
338 * src/vtebg.c(_vte_bg_get_pixmap, _vte_bg_get_pixbuf): trap X errors
339 while retrieving the contents of the root pixmap.
340 * doc/ambiguous.txt: add.
344 Tue Jun 3 15:50:38 2003 Jonathan Blandford <jrb@redhat.com>
346 * src/pty.c (n_read): add a missing break in the switch statement.
348 2003-06-03 Kenneth Rohde Christiansen <kenneth@gnu.org>
349 * configure.in: Added Limburgish (li) to ALL_LINGUAS.
352 * src/Makefile.am: start using libtool versioning in earnest.
355 * src/vtegl.c(_vte_gl_set_text_font): compile fix.
358 * src/vte.c(vte_sequence_handler_decset_internal): fix logic for
359 skipping over particular settings so that setting 1048 actually works.
360 * src/vte.c(vte_terminal_process_incoming): in debug mode, print out
361 characters with codepoints higher than 255 in hex rather than decimal.
362 * src/iso2022.c(_vte_iso2022_ambiguous_width): rename to
363 _vte_iso2022_ambiguous_width_guess because that's all we can do without
365 * src/iso2022.c(_vte_iso2022_ambiguous_width): add for using the
366 current encoding to determine what the width of an ambiguously-wide
367 character should be. This seems to work better.
369 2003-05-30 Padraig O'Briain <padraig.obriain@sun.com>
370 * src/vteaccess.c: Add implementation for get_character_extents,
371 get_offset_at_point and get_run_attributes. This fixes bug #110770.
372 Add casts to fix complier warnings on Solaris.
374 * src/vtexft.c (_vte_xft_text_extents): Do not call return as function
375 returns void. Fixes compiler error on Solaris.
378 * src/vteapp.c: require -i for icon-title-changed messages, which got
379 really annoying really fast.
380 * src/trie.c(main): use g_quark_from_static_string for static strings.
383 * src/vte.c(vte_terminal_send): fix newline stuffing (used in linefeed
385 * src/vte.c(vte_unicode_strlen): rename to vte_unichar_strlen.
386 * src/vte.c(vte_terminal_set_title_internal): don't leak the new title
387 in the unlikely cases.
388 * src/vte.c(vte_terminal_process_incoming): be more careful with control
389 characters to avoid cases where we could be tricked into a loop.
390 * src/vteapp.c: emit a message when the icon title is changed.
393 * src/vte.c(vte_terminal_process_incoming): handle control characters
394 in the middle of control sequences.
395 * src/vte.c(vte_sequence_handler_cm): fix origin mode.
396 * src/vte.c(vte_sequence_handler_cv): fix origin mode.
397 * src/vte.c(vte_sequence_handler_cs): snap the cursor to the scrolling
399 * src/table.c(_vte_table_extract_number): extract a number digit by
400 digit as we do in the trie parser.
401 * src/vte.h: declare 'struct vte_char_attributes' again to restore API
402 back compat with 0.10.x.
403 * src/iso2022.c(_vte_iso2022_sequence_length): don't recognize PM
404 messages -- Xterm doesn't do anything with them and we don't want to
405 appear to hang when we're really just waiting for the end of the
409 * src/vtefc.c(_vte_fc_defaults_from_rdb): only apply DPI if we were
411 * src/vterdb.c, src/vterdb.h: use the display and screen of a passed-in
412 widget if asked to do so, else use screen 0 of the default display.
415 * configure.in: check for GTK+ 2.2, and if found, force use of
416 multihead-safe APIs to try to flush out some bugs.
417 * src/vte.c, src/vteapp.c, src/vtedraw.c, src/vtefc.c, src/vteglyph.c:
418 clean up some sloppy multihead changes.
419 * src/vte.c, src/vte.h (vte_terminal_match_set_cursor_type): add.
420 * src/vtedraw.c, src/vtedraw.h: add a draw_char() method which is
422 * src/vte.c(vte_terminal_draw_graphic): separate the width of a column
423 and the number of columns to be drawn. Use _vte_draw_char() to avoid
424 crude approximations of characters when we have a font for them.
427 * src/vte.c(vte_terminal_scroll_region): force an entire window repaint
428 if we're supposed to scroll the background but we're not scrolling the
429 entire window. This means we need to repaint the scrolled region, and
430 to keep things looking right, we need to repaint everything.
431 * src/vteapp.c(main): enable visible bell if we're disabling the
432 audible bell, and vice-versa.
433 * src/vte.c: flesh out some doc comments.
434 * doc/reference/tmpl/vte.sgml: flesh out some notes on signals.
437 * src/vteconv.c(_vte_conv): pass zero bytes which trigger EILSEQ
438 through and keep going.
439 * src/vteconv.c: replace use of g_utf8_strlen with an internal function
440 which doesn't stop counting at NUL characters.
443 * src/interpret.c: use _vte_matcher_free_params_array.
444 * src/vte.c(vte_invalidate_cursor_once): add a parameter for indicating
445 if this is a "cursor blink" (periodic) refresh, and if it is set and
446 the cursor isn't supposed to blink, suppress the invalidate.
449 * src/iso2022.c(_vte_iso2022_process): free the temporary array.
450 * src/matcher.c(_vte_matcher_free_params_array): add.
451 * src/vte.c: use _vte_matcher_free_params_array instead of the local
452 copy, which is removed.
453 * src/interpret.c, src/table.c, src/trie.c: use
454 _vte_matcher_free_params_array to free parameter arrays instead of
455 g_value_array_free, which doesn't take care of the pointer values.
456 * src/vte.c(vte_sequence_handler_set_title_internal): only attempt to
457 close the conversion descriptor if it was opened successfully.
458 * src/vteapp.c: add the -k option to spin after gtk_main() returns.
459 * src/vtefc.c: make copies of patterns with FcPatternDuplicate so that
460 we know where all of the returned patterns came from.
461 * src/vtexft.c(_vte_xft_font_for_char): set the item in the pattern
462 array to NULL if we successfully opened a font using the pattern.
465 * src/iso2022.c: clarify comments near one of the warning messages.
466 * src/vtefc.c(_vte_fc_transcribe_from_pango_font_description): unref
467 the Pango context, which was created for us.
468 * src/vtepango.c: keep track of the Pango context, and unref it when
469 it is no longer needed.
472 * src/Makefile.am: try juggling the CFLAGS and LIBS order to let the
473 xft CFLAGS/LIBS take precedence over everything else (#113335).
476 * src/ssfe.c: compile fix for Solaris, patch from #113344.
479 * src/vte.c: remove no-longer-used tree structure.
480 * src/vtefc.c: free strings returned by g_object_get().
483 * src/vte.c(vte_terminal_realize): create the terminal's draw structure.
484 * src/vte.c(vte_terminal_unrealize): free the terminal's draw structure.
485 * src/vteapp.c(main): enforce a clean shutdown by requiring that the
486 terminal and top-level window are both finalized before gtk_main()
490 * src/vte.c(vte_terminal_finalize): properly send a SIGHUP to the child
491 process if it hasn't already exited (#112505).
492 * src/vteapp.c: don't exit on EOF, only on child-exited.
493 * src/vte.c(vte_sequence_handler_sf): increment the scrolling offset
494 to avoid flickering when the application has defined a scrolling region
498 * src/iso2022.c, src/keymap.c, src/mev.c, src/vtebg.h, src/vteglyph.h:
499 remove comma from end of enum declaration (#111925).
500 * src/vtetc.c: don't use parameter-as-array-size compiler
502 * src/ssfe.c: don't assume that the compiler interprets \e correctly,
503 use %c with value of 27 instead (#111925).
504 * doc/reference/Makefile.am: obey CPPFLAGS and LDFLAGS (#111925).
505 * gnome-pty-helper/gnome-utmp.c: only include <utmp.h> if HAVE_UTMP_H
506 was defined (#111925).
507 * src/keymap.c, src/ssfe.c: unconditionally include <term.h> if we
508 defined HAVE_CURSES or HAVE_NCURSES, as having the header is a
509 precondition for defining either (#111925).
510 * src/iso2022.c: make each array have at least one element (#111925).
511 * src/pty.c, src/gnome-login-support.c: try to open /dev/ptc if opening
512 /dev/ptmx fails due to ENOENT (#111925).
515 * src/vteapp.c: don't exit on eof, just child-exited.
516 * src/vte.c(vte_terminal_eof): don't disconnect from SIGCHLD on eof,
517 the child might still be running.
520 * src/Makefile.am: change all instances of "termcap" to "vtetc".
521 * src/termcap.c, src/termcap.h: rename to vtetc.c, vtetc.h, to avoid
522 conflicts with system headers.
525 * src/keymap.c: fix KP_PageDown in application keypad mode (#113187).
526 * src/reaper.c: add a finalize method which properly cleans things up
527 so that the singleton can at least theoretically be destroyed (part of
529 * src/vte.c: obtain a ref to a reaper object whenever we are waiting
531 * po/POTFILES.in: add more source files for scanning.
532 * src/iso2022.c: rework pieces to handle incomplete sequences at the
533 end of input. Check for 8-bit SS2 and SS3 in case of EILSEQ. Build
534 a fake ISO-8859-1 map for conversions using invalid maps.
535 * src/iso2022.c(_vte_iso2022_state_free): free the state's buffer.
536 * src/vteconv.c: internalize UTF-8 to UTF-8 conversions, fix handling
537 of incomplete sequences at the end of the available data.
538 * src/vte.c: implement send/receive and automatic linefeed modes.
539 * src/vte.c(vte_sequence_handler_sr): invalidate the row which contains
540 the cursor to ensure that it doesn't leave a trail.
541 * src/vte.c(vte_sequence_handler_return_terminal_id): add.
542 * src/vte.c(vte_terminal_feed_child_using_modes): add.
544 2003-05-19 Telsa Gwynne <hobbit@aloss.ukuu.org.uk>
546 * configure.in: Add cy (Welsh) to ALL_LINGUAS
549 * src/iso2022.c(_vte_iso2022_find_nextctl): don't recognize 8-bit
550 SS2 and SS3 by default, it breaks UTF-8 and other encodings (#112879).
553 * src/vtedraw.c, src/vtedraw.h: add _vte_draw_needs_repaint() to
554 indicate if the drawing back-end can only handle entire-window paints.
555 * src/vteconv.c: return a value from _vte_conv_close(), even though
557 * src/vte.c(vte_terminal_paint): don't look at drawing starting at
558 negative row or coumn offsets.
559 * src/vtegl.c: prefer glX double-buffering to GDK's, and use double-
560 buffered possibly-direct windows instead of indirect pixmaps.
563 * src/vtebg.c(_vte_bg_get_pixmap, _vte_bg_get_pixbuf): account for the
564 foreign root pixmap not having a colormap by default, using the root
565 window's colormap if it doesn't already have one set.
568 * src/iso2022.c(_vte_iso2022_state_new): if we can't convert from the
569 locale encoding to UTF-8, use UTF-8 as the locale encoding (#112614).
570 * src/vtegl.c(_vte_gl_start): enable point smoothing.
573 * src/vtedraw.c, src/vtedraw.h (_vte_draw_get_colormap): let the caller
574 control whether or not we return the default colormap.
575 * src/vtegl.c: enable blending. Don't specify any buffer depths. Set
576 the current drawable before we do any drawing. Call gluOrtho2D with
577 the right args to set up the right projection.
578 * src/vteskel.c: quiet compiler warning by removing a "const".
579 * src/vtedraw.c: juggle the preferred render order again.
581 2003-05-08 Abel Cheung <maddog@linux.org.hk>
583 * configure.in: Added "mk" to ALL_LINGUAS.
586 * src/iso2022.c: let OSC command sequences be subject to code
587 conversion again (#112485).
590 * src/vteconv.c, src/vteconv.h: add VteConv as a thin wrapper around
592 * src/iso2022.c: use VteConv.
593 * src/matcher.c(_vte_matcher_find_valid_encoding): remove.
594 * src/matcher.c(_vte_matcher_wide_encoding): remove.
595 * src/trie.c: use VteConv.
596 * src/utf8echo.c: use VteConv.
597 * src/vte.c: use VteConv (#112446).
600 * src/vte.c: add "Since: 0.11" to documentation for functions which
601 aren't available in the 0.10 series.
602 * src/iso2022.c: default G2 to JIS0201, G3 to JIS0212 for Japanese,
603 because they appear to not be used by anyone else.
604 * vte.spec: merge with .spec file from RHL.
607 * src/vtegl.c: get text rendering semi-working.
610 * src/vteft2.c, src/vtegl.c, src/vtepango.c, src/vtepangox.c,
611 src/vtexft.c: when setting up backgrounds, don't deref an existing
612 background before fetching a new one, in case they're the same.
613 * src/vteglyph.c(_vte_glyph_draw): fix computation of the input offset.
614 * src/vtegl.c: implement drawing of backgrounds.
617 * src/iso2022.c(_vte_iso2022_map_J): include the whole JIS0201 map
618 instead of just the lower half.
619 * src/iso2022.c(_vte_iso2022_map_get): set the and_mask to clear the
620 high bits of pairs before looking them up in the maps.
621 * src/iso2022.c(_vte_iso2022_fragment_input): recognize the 8-bit
622 versions of SS2 and SS3.
623 * src/iso2022.c(_vte_iso2022_process_control): recognize the 8-bit
624 versions of SS2 and SS3.
626 2003-05-06 Danilo Šegan <dsegan@gmx.net>
628 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
631 * src/debug.h: include <glib.h> for gboolean type definition.
632 * src/matcher.c: include "config.h" and "debug.h".
633 * src/matcher.h: use G_BEGIN_DECLS/G_END_DECLS
634 * src/table.h: use G_BEGIN_DECLS/G_END_DECLS
635 * src/termcap.h: include <glib.h>, again for gboolean.
636 * src/vtebg.h,src/vterdb.h,src/vtergb.h: adjust macro used to prevent
637 multiple inclusions to match the rest of the tree.
638 * src/vtefc.c(_vte_fc_patterns_from_pango_font_desc): provide a callback
639 which can be used to override all defaults.
640 * src/vtegl.h,src/vtexft.h: don't include "config.h"
641 * src/vteglyph.c, src/vteglyph.h: add _vte_glyph_get_uncached().
644 * gnome-pty-helper/gnome-login-support.c(n_read,n_write): if ERESTART
645 is defined, treat it like EINTR and EAGAIN.
646 * src/pty.c(n_read,n_write): if ERESTART is defined, treat it like
650 * configure.in: define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE, and
651 __EXTENSIONS__ to get definitions for msg_control and msg_controllen
652 on Solaris (#112036).
653 * src/vtedraw.c(_vte_draw_set_scroll): don't try to return a value from
654 this void function (#112036). Patch from Hidetoshi Tajima.
655 * src/xticker.c: don't include getopt.h, which isn't even needed for
656 regular getopt() (#112036). Patch from Hidetoshi Tajima.
659 * src/vtebg.c(vte_bg_set_root_pixmap,vte_bg_root_pixmap): remove some
660 debugging g_print() calls.
661 * src/iso2022.c(process_cdata): skip over NUL bytes (#112022).
662 * src/vte.c(vte_terminal_background_update): map the bgcolor values to
663 a pixel value before setting the window background color.
664 * src/nativeecho.c(main): echo NUL bytes if asked to do so.
667 * src/vtebg.c, src/vtebg.h: add a singleton object for managing
668 copies of background images, either the desktop background, an
669 in-memory pixbuf, or an on-disk file, with tinting. Using a single
670 store for this stuff lets multiple widgets share images and should
671 reduce both CPU and memory consumption in applications which create
672 more than one VteTerminal instance with similar settings.
673 * src/vtedraw.c, src/vtedraw.h: adapt the set_background_pixbuf()
674 interface to the vtebg method and rename to set_background_image().
675 * src/vteft2.c, src/vtegl.c, src/vtepango.c, src/vtepangox.c,
676 src/vteskel.c, src/vtexft.c: update to work with newer vtebg/vtedraw
678 * src/vte.c(vte_terminal_filter_property_changes): remove in favor
679 of vtebg method. Manage background state for vtebg.
681 2003-05-01 Kang Jeong-Hee <Keizi@mail.co.kr>
682 * doc/reference/Makefile.am: s/index.sgml/index.html/.
683 There's no index.sgml in html directory, but a index.html.
686 * src/vte.c(vte_sequence_handler_local_charset): remove the unused
687 DEFAULT_ISO_8859_1 case.
688 * src/vte.c(vte_terminal_class_init): don't call
689 _vte_matcher_narrow_encoding(), because we don't need it any more.
690 Change the error message emitted when _vte_matcher_wide_encoding()
691 fails (#111925), and mark it for translation.
692 * src/trie.c(main): don't call _vte_matcher_narrow_encoding() just
694 * src/vte.c(vte_terminal_set_encoding): include the right codeset name
695 in the error message.
696 * src/vteglyph.c(_vte_glyph_get): mark error message for translation.
697 * src/matcher.c, src/matcher.h: remove _vte_matcher_narrow_encoding().
698 Make tables of strings "const".
701 * src/vte.c(vte_terminal_unrealize): set the IM context's client window
702 to NULL before unreferencing it to avoid crashes when preedit is active.
705 * src/keymap.c: add keymaps for GDK_slash and GDK_question (#108299).
708 * src/vterdb.c(_vte_rdb_get): use INT_MAX instead of LONG_MAX when
709 passing in the maximum length, because it's returned in an int.
712 * src/iso2022.txt: fix the UTF-8 sample text which corresponds to the
713 ISO-2022-KR sample text so that it actually matches the text.
716 * src/iso2022.c(_vte_iso2022_map_U): add map for CP437.
717 * src/unitable.CP437: add.
718 * src/mkunitables.sh: add CP437.
719 * src/Makefile.am: add unitable.CP437 to the file list.
722 * src/iso2022.c(_vte_iso2022_process_control): accept and warn about
723 bogus map names (#110300).
726 * src/vte.c(vte_invalidate_cursor_once): rework to simplify the logic
727 of how many cells to invalidate when we have a preedit string.
728 * src/vte.c(vte_terminal_paint): draw the preedit string correctly for
729 cases more complicated than the default IM (seems to fix #111767).
730 * src/vterdb.c(_vte_rdb_get): use g_strncpy() and the property length
731 to avoid going past the end of the possibly-not-nul-terminated string.
732 * src/Makefile.am: build a standalone vterdb binary.
735 * src/vte.c(vte_terminal_insert_char): add another flag to skip over
736 sanity-checking the buffer when adding characters.
737 * src/vte.c(vte_terminal_process_incoming): sanity-check the buffer
738 only when necessary to save time.
739 * src/vte.c(vte_terminal_scroll_region): invalidate the region which
740 is exposed when we scroll so that the entire cell gets redrawn, avoiding
741 clipping problems (#111683).
742 * src/vte.c(vte_terminal_paint): fix math for determining where to
744 * src/vte.c(vte_terminal_fill_rectangle): rename to ..._int to reduce
745 confusion over which internal drawing commands are offset and which are
747 * src/vte.c(vte_terminal_insert_char): if performing a single
748 substitution, check the encoded width of the output char, not the
749 input char, which doesn't have one.
752 * src/vterdb.c, src/vterdb.h: add routines for pulling Xft antialiasing
753 and hinting options from the resource database.
754 * src/vtefc.c(_vte_fc_patterns_from_pango_font_desc): apply settings
755 from the resource database after applying settings from GTK+.
756 * src/vtefc.c(_vte_fc_defaults_from_rdb): added, for adding default
757 settings based on the resource database.
760 * src/vtefc.c(_vte_fc_defaults_from_gtk): complain when the installed
761 version of GTK+ doesn't support reporting Xft antialiasing and hinting
765 * src/vte.c(vte_sequence_handler_sf): freeze the window when scrolling
766 down in a restricted scrolling area again.
769 * src/iso2022.c(_vte_iso2022_state_set_codeset): save the new codeset.
770 * src/iso2022.c(process_cdata): compare the new codeset to the name of
771 the UTF-8 codeset instead of the local codeset to see if we need to
772 notify callers of a change.
775 * src/vte.c(vte_sequence_handler_sf): don't use the window freeze count
776 to check if it's safe to scroll using gdk_window_scroll(), require other
777 parts of this widget to declare it unsafe for those cases.
780 * src/vtexft.c(_vte_xft_char_width): take an explicit XftFont instead
781 of figuring out which one to use ourselves.
782 * src/vtexft.c(_vte_xft_draw_text): pass the XftFont which we're already
783 using to _vte_xft_char_width to save a call to _vte_xft_font_for_char.
786 * autogen.sh: accept libtool 1.5 in addition to 1.4 (#15968).
789 * src/vte.c,src/vte.h: (_vte_terminal_accessible_ref): add.
790 * src/vteaccess.c(vte_terminal_accessible_new): call
791 _vte_terminal_accessible_ref to ensure that accessible signals are
795 * src/dumpkeys.c: formatting fixup.
796 * src/iso2022.c: formatting fixups. Try using U+FFFF as the "invalid"
797 marker character instead of '?', because it's actually invalid.
798 * src/pty.c: formatting fixup.
799 * src/reflect.c: formatting fixup.
800 * src/ring.c: formatting fixup.
801 * src/ssfe.c: formatting fixups.
802 * src/trie.c: formatting fixup.
803 * src/vte.c: formatting fixups.
804 * src/vte.c(vte_terminal_get_accessible): don't add a weak pointer to
805 the AtkObject if it isn't a valid AtkObject. Only emit text-changed
806 signals if we managed to create a valid accessible peer.
807 * src/vteaccess.c: formatting fixups.
808 * src/vteaccess.c(vte_terminal_accessible_init): unset the EXPANDABLE
809 Atk state. Set the RESIZABLE state.
810 * src/vteaccess.c(vte_terminal_accessible_class_init): Remove
811 spurious(?) call to bind_textdomain.
812 * src/vteaccess.c(vte_terminal_accessible_get_type): check if the
813 accessible peer of our peer's ancestor is derived from GtkAccessible,
814 and if it isn't derive from GtkAccessible instead of that.
815 * src/vteaccess.c(vte_terminal_accessible_get_type): register our
817 * src/vteaccess.c, src/vteaccess.c: add VteTerminalAccessibleFactory.
818 * src/vtedraw.c: formatting fixup.
821 * src/vte.c(vte_terminal_background_update): always refetch the
822 root pixmap if we don't currently have a background image (#111386).
825 * src/vteaccess.c: implement an AtkComponent interface (part of
827 * src/vteaccess.c(vte_terminal_accessible_focus_in): set the focus
828 state on the accessible peer (part of #110770).
829 * src/vteaccess.c(vte_terminal_accessible_focus_out): unset the focus
830 state on the accessible peer (part of #110770).
831 * src/vteaccess.c(vte_terminal_accessible_init): connect to the widget's
832 visibility-notify signals.
833 * src/vteaccess.c(vte_terminal_accessible_finalize): disconnect from
834 the widget's visibility-notify signals.
837 * src/vte.c(vte_terminal_background_update): don't bother generating
838 a new pixmap or panning the pixbuf -- we can use the desaturated
839 pixbuf directly now (#111386).
840 * src/vte.c(vte_terminal_paint): use the drawing offsets because we
841 don't regenerate new background pixmaps when the window is moved.
842 * src/vte.c(vte_terminal_draw_cells): add jittered bold text back in,
843 fell out in the drawing overhaul (#111430).
846 * src/iso2022.c(_vte_iso2022_fragment_input): account for valid CSI
847 sequences which were missed earlier.
850 * src/vte.c(vte_terminal_eof): dispose of the PTY completely.
851 * src/vte.c(vte_terminal_child_exited): dispose of the PTY completely.
854 * configure.in: add missing check for recvmsg.
855 * gnome-pty-helper/gnome-login-support.c: formatting and spelling fixes.
856 * gnome-pty-helper/gnome-login-support.c(n_read): reorganize.
857 * gnome-pty-helper/gnome-login-support.c(n_write): add.
858 * gnome-pty-helper/gnome-login-support.h: add prototype for n_write.
859 * gnome-pty-helper/gnome-pty-helper.c: only define the I_SENDFD version
860 of pass_fd() if I_SENDFD is defined, to clarify compile errors when it
862 * src/pty.c(main): exercise session logging.
863 * src/pty.c(_vte_pty_open_with_helper): add more debug messages.
866 * src/iso2022.c(_vte_iso2022_map_get): force visible widths to 2 columns
867 for CJK maps which use 2 bytes per character.
868 * src/iso2022.c(_vte_iso2022_fragment_input): recognize CSI/OSC/PM
869 sequences as control sequences and not raw text, allowing us to treat
870 them specially later.
871 * src/iso2022.c(process_control): pass CSI/OSC/PM sequences through
872 unmodified (without going through maps).
875 * src/vte.c(vte_invalidate_cursor_once): don't bother doing anything if
876 we're fully obscured (related to #102703).
879 * src/vteapp.c(main): stop messing with fontconfig's list of font
883 * configure.in: rework link order so that xft2 is linked before anything
884 else. You're still screwed if you link with both xft1 and xft2 libs,
885 but maybe this'll help (#107285).
888 * src/vteglyph.c: fix a couple of #errors.
889 * src/vte.c(vte_invalidate_cells): if the area we're invading is on the
890 edge, invalidate the edge as well.
891 * src/pty.c: implement and use wrappers for read and write which handle
893 * src/vte.c(vte_terminal_scroll_region): don't use gdk_window_scroll if
894 the window is frozen for updates.
895 * src/vte.c(vte_terminal_sequence_handler_sf): when scrolling down while
896 we have a defined scrolling region, freeze the window to avoid flicker
897 when we update the scrolling offsets (#108058).
900 * gnome-pty-helper/gnome-login-support.c(n_read): don't bail out if
901 read() returns -1 and errno is either EINTR or EAGAIN, candidate fix for
905 * src/vte.c(vte_terminal_io_read): add a couple of assertions here
906 just to be sure (#108066).
909 * src/pty.c(_vte_pty_ptsname): don't depend on PATH_MAX being
910 available and correct (#109805).
911 * src/vte.c(vte_terminal_set_termcap): don't depend on PATH_MAX being
912 available and correct (#109805).
913 * src/vte.c(vte_terminal_io_read): fix signed/unsigned comparison
917 * Makefile.am: add MESSAGE-OF-DOOM to EXTRA_DIST
918 * src/keymap.c: make Alt+Return generate ESC newline (#108863).
921 * src/Makefile.am: drop unitable.KSC5601
922 * src/iso2022.c: fixup comment re: KS X 1001 (#107119).
923 * src/mkunitables.sh: add two characters from KS X 1001:1998 (#107119).
926 * src/vte.c(vte_terminal_eof): don't try to process incoming data if
927 there isn't any (#110946).
928 * src/vtexft.c: mark a warning message for translation.
929 * src/vtegl.c: make the warning when glX isn't available debug-only.
932 * src/vteglyph.c: use #if HAVE_DECL_XXX instead of #ifdef HAVE_DECL_XXX,
936 * src/vtexft.c: work around for garbled glyphs when drawing runs of
937 text using multiple fonts while mixing bitmap and antialiased fonts
940 * src/vte.c: add missing prototype for vte_terminal_process_incoming().
943 * src/vteglyph.c(_vte_glyph_get): quiet a compiler warning.
944 * src/iso2022.c: use KSX-1001 instead of KSC-5601 for Korean (#107119),
945 add maps for CNS 11643 planes 3,4,5,6,7 (can't test them, but hey).
946 Rework so that we get the data before it's passed to g_iconv(), and
948 * src/interpret.c: adapt to changes in the iso2022 interfaces.
949 * src/vte.c: adapt to changes in the iso2022 interfaces.
950 * src/mkunitables.sh: add snippets for KSX 1001.
951 * src/iso2022.txt: add iso-2022-cn example text.
954 * src/vte.c(vte_terminal_process_incoming): invalidate a larger
955 rectangle to fix behavior wrt openi18n assertion 2.
958 * src/vte.c(vte_terminal_paint): fix logic error drawing the cursor
959 which caused ALTGR characters to always be used. Draw the preedit
960 string in the right location.
961 * src/vte.c(vte_invalidate_cursor_once): expose the visible width of
962 the preedit string, not its length.
965 * src/vteaccess.c: fix broken debug message.
968 * src/vte.c: make row_data a structure containing an array instead of a
969 simple array. Add a field to row data structures which tracks whether
970 or not we soft-wrapped from this line to the next one. Make use of the
971 field when copying text and selecting by "line" (#105189).
972 * src/reflect.c: put the label in a scrolled window to avoid mad loops
973 when we resize it to accomodate more text, which shrinks the terminal,
974 which removes text from the label, which resizes it to be smaller, which
975 gives the terminal more space, which adds text to the viewable area,
976 which requires a bigger label, and so on.
977 * src/vte.c: move vte_terminal_get_text_range logic into
978 vte_terminal_get_text_range_maybe_wrapped for internal use,
979 vte_terminal_get_text likewise.
982 * src/vte.c: don't snap the beginning of selection to the next line in
986 * configure.in, src/vteglyph.c: fix macro invocations so that when
987 LCD and GRAY2/GRAY4 pixel modes are supported by freetype, we don't
988 get confused by them.
989 * src/vtepango.c, src/vtepangox.c: fix background scrolling.
992 * autogen.sh: require automake 1.6, 1.5 chokes on AM_LDFLAGS, which 1.7
993 wants instead of LDFLAGS(!). Require autoconf 2.52 or newer, because
994 older versions bail on configure.in.
995 * configure.in: Check if ft_render_mode_mono, FT_RENDER_MODE_NORMAL,
996 FT_PIXEL_MODE_MONO, ft_pixel_mode_mono, FT_PIXEL_MODE_GRAY2,
997 FT_PIXEL_MODE_GRAY4, FT_PIXEL_MODE_GRAY, ft_pixel_mode_grays,
998 FT_PIXEL_MODE_LCD are declared.
999 * src/vte.c, src/vteapp.c, src/vtefc.c, src/vtepango.c: handle being
1000 built with GTK+ 2.0 or 2.2.
1001 * src/vtegl.c: disable for GTK+ < 2.2.0.
1002 * src/vtepangox.c: use a PangoX context instead of a Pango context
1003 when determining font metrics.
1004 * src/vteglyph.c: handle the twisty maze of load and render options and
1005 pixel modes various versions of freetype support.
1008 * configure.in: disable pangox, xft, glx drawing if run invoked with
1009 the --without-x flag.
1010 * vte.pc.in: include CFLAGS found by AC_PATH_XTRA when built with X.
1011 * src/iso2022.c(_vte_iso2022_substitute_single): clean up and ensure
1012 that ambiguous widths are respected.
1013 * src/iso2022.c, src/iso2022.h: add _vte_iso2022_unichar_width().
1014 * src/vte.c: remove old xft2/xft1/pango/pangox/core drawing code,
1015 making draw the only supported method. Remove most dependencies on
1016 gdkx and Xlib, except for root pixmap ID watching.
1017 * src/vtedraw.c: only use pangox, xft if X_DISPLAY_MISSING is not
1019 * src/vtedraw.c, src/vtedraw.h: add get_using_fontconfig() method.
1020 * src/vte.c(vte_terminal_get_using_xft): use
1021 _vte_draw_get_using_fontconfig(), which is what apps really want to
1022 know when they call this function.
1023 * src/vtegl.c: wrap in #ifndef X_DISPLAY_MISSING.
1024 * src/vtepangox.c: wrap in #ifndef X_DISPLAY_MISSING.
1025 * src/vtexft.c: wrap in #ifndef X_DISPLAY_MISSING.
1026 * src/vteglyph.c(_vte_glyph_cache_set_description): use horizontal
1027 advance instead of bitmap width when calculating display widths.
1028 Rename to _vte_glyph_cache_set_font_description.
1031 * src/vte.c: add back some variables which are used after all.
1034 * configure.in: add specific checks for PangoX and glX.
1035 * src/vteft2.c, src/vteft2.h: add drawing method using freetype and
1037 * src/vteglyph.c, src/vteglyph.h: add.
1038 * src/vtepangox.c, src/vtepangox.h: add drawing method using PangoX.
1039 * src/vtergb.c, src/vtergb.h: add.
1040 * src/vtegl.c, src/vtegl.h: add placeholder drawing method using
1042 * src/Makefile.am: add newly-added source files to libvte.la target.
1043 * src/vtedraw.c, src/vtedraw.h: add get_visual and get_colormap
1044 methods so that drawing methods can override the default visual and
1045 colormap. Rename get_text_base() to get_text_ascent(), which is more
1046 correct. Remove scroll(), which would just wrap gdk_window_scroll().
1047 * src/vte.c: fix logic for choosing alternate render methods when
1049 * src/vteapp.c: add -- option to stop parsing options with getopt.
1050 * src/vtefc.c: fix incorrect DPI read due to type mismatch (#109513).
1052 2003-03-31 Laurent Dhima <laurenti@alblinux.net>
1054 * configure.in: Added "sq" to ALL_LINGUAS.
1057 * src/Makefile.am: specify AM_CFLAGS and AM_LDFLAGS instead of CFLAGS
1058 and LDFLAGS so that automake 1.7 doesn't kick us to the curb
1060 2003-03-13 Christian Rose <menthos@menthos.com>
1062 * configure.in: Added "ml" to ALL_LINGUAS.
1065 * src/vte.c(vte_terminal_paint): adjust coordinates for the border when
1066 clearing rectangles.
1067 * src/vteskel.c, src/vteskel.h: add.
1068 * src/vtedraw.c: use the skeleton drawing code.
1070 * src/vte.c(vte_terminal_visibility_notify): watch for Visibility
1072 * src/vte.c(vte_invalidate_cells,vte_invalidate_all): don't synthesize
1073 an expose event if we're fully obscured, that's just silly.
1076 * src/vte.c, src/vte.h(vte_terminal_set_background_tint_color): take a
1077 const GdkColor* instead of a non-const color.
1080 * python/vte.defs: regenerate.
1081 * python/vte.override: update for vte_char_attributes rename.
1084 * src/vte.c, src/vte.h, src/vteaccess.c: rename struct
1085 vte_char_attributes to VteCharAttributes, fixup some docs.
1086 * doc/reference: finish up docs.
1089 * vte.pc.in: add FT2_LIBS and FT2_CFLAGS to our libs and cflags. Add
1090 xft >= 2.0 and fontconfig as hard requirements.
1093 * src/vtedraw.c: don't spit out which rendering method we're using
1094 except in debug mode.
1097 * src/vtepango.c, src/vtexft.c: don't print "Bogus font." when we think
1098 the font metrics are screwy.
1101 * configure.in: require Xft2 and fontconfig, drop Xft1. Require
1103 * src/Makefile.am, src/xticker.c: add xticker, useless but interesting.
1104 * src/vte.c, src/vte.h: add vte_terminal_set_scroll_background() to
1105 enable background scrolling (where supported by the drawing code).
1106 * src/vteapp.c: set the tinting color to the default background color
1107 to see what that's like. Add -s option to toggle scrolling backgrounds.
1108 * src/vtefc.c, src/vtefc.h: add. For converting PangoFontDescriptions
1109 to sorted lists of FcPatterns suitable for passing to XftFontOpenPattern
1111 * src/vtedraw.c, src/vtedraw.h: add. New drawing layer.
1112 * src/vtepango.c, src/vtepango.h: add. Drawing layer using Pango.
1113 * src/vtexft.c, src/vtexft.h: add. Drawing layer using Xft2.
1114 * src/vte.c: add render type VteRenderDraw for transitional period in
1115 preparation for nuking other drawing code. Merge HAVE_XFT bits into
1116 HAVE_XFT2 areas. Nuke Xft1-specific stuff. Move drawing of lines
1117 and rectangles to dedicated functions. Always call vte_unichar_width()
1118 instead of g_unichar_iswide().
1121 * src/vte.c(vte_sequence_handler_set_title_internal): fix swap of
1122 one variable for another which prevented stripping of control chars,
1123 spotted by Nam SungHyun.
1126 * src/vte.c(vte_terminal_insert_char): wrap properly when a scrolling
1127 region is set (#107559).
1129 2003-02-28 Takeshi AIHANA <aihana@gnome.gr.jp>
1131 * po/ja.po: Added Japanese translations from gnome-2-2.
1134 * src/iso2022.c(_vte_iso2022_substitute,_vte_iso2022_substitute_single):
1135 force characters substituted through the ACS map to have width of 1.
1138 * src/vte.c(vte_terminal_font_open_xft,vte_terminal_font_open_pango):
1139 use an array of codepoints instead of a UTF-8 string so that we can
1140 check for lack of font coverage in Xft fonts.
1143 * src/vte.c: formatting fixups.
1146 * src/vte.c(vte_terminal_font_open_xft,vte_terminal_font_open_pango):
1147 patch from Jungshik Shin for detecting and handling fonts where ASCII
1148 characters are double-width (#106618)
1150 2003-02-26 Taneem Ahmed <taneem@eyetap.org>
1152 * configure.in: Added "bn" to ALL_LINGUAS.
1155 * src/vteapp.c(main): take a shot at implementing xconsole-like
1156 functionality when started with the -C flag: we open /dev/console and
1157 TIOCCONS it, and just feed data to the widget until we lose ownership
1158 of the MIT_CONSOLE_$(hostname) clipboard.
1160 2003-02-25 Samúel Jón Gunnarsson <sammi@techattack.nu>
1162 * configure.in: added "is" to ALL_LINGUAS.
1165 * src/vte.c(vte_sequence_handler_window_manipulation): don't report the
1166 user-settable title and icon strings to applications, based on H D
1167 Moore's "Terminal Emulator Security Issues" (CAN-2003-0070).
1168 * src/vte.c(vte_sequence_handler_set_title_internal): strip out control
1169 characters just to be on the safe side.
1172 * src/vte.c(vte_sequence_handler_decset_internal): home the cursor when
1173 we switch to the alternate screen (#105075).
1175 2003-02-23 Duarte Loreto <happyguy_pt@hotmail.com>
1177 * configure.in: Added "pt" to ALL_LINGUAS.
1179 2003-02-21 Metin Amiroff <metin@karegen.com>
1181 * configure.in: Added az to ALL_LINGUAS.
1184 * src/keymap.c(_vte_keymap_map): in debug mode, skip coverage assertions
1185 for specific keys (GDK_2 - GDK_8).
1186 * src/keymap.c: remove unshifted entries for GDK_2 - GDK_8 (#106667)
1189 * src/vte.c(vte_terminal_im_commit,vte_terminal_paste_cb): stop
1190 gratuitously resetting the IM context.
1191 * src/vte.c(vte_terminal_process_incoming): correctly determine when
1192 we have an IM context -- it should be iff we're realized.
1193 * src/vte.c(vte_terminal_key_press/release): only filter keypresses
1194 through the IM context if we're realized, otherwise it doesn't exist.
1197 * src/vte.c(vte_terminal_paint): reverse that last change -- don't
1198 always assume proportional text.
1199 * src/vte.c(vte_sequence_handler_ta): eliminate dead code.
1202 * src/vte.c(vte_terminal_draw_row): move the initial drawing x left
1203 whenever we back up to a previous cell to avoid drawing fragments.
1204 * src/vte.c(vte_terminal_paint): always assume non-monospaced text,
1205 because the "missing glyph" glyph consistently looks screwy otherwise.
1208 * src/vte.c(vte_terminal_feed_child): don't reset the input method
1209 here -- it may be in the middle of something (Red Hat #81542).
1210 * src/vte.c(vte_terminal_im_commit): reset the input method when we
1211 get text committed (Red Hat #81542).
1214 * src/vte.c(vte_terminal_focus_in,vte_terminal_focus_out): if we're not
1215 currently realized, don't try to tell our IM context that our focus
1216 state changed, because we don't have one. While we're at it, it's
1217 silly to try to force the cursor to be drawn when we're not realized,
1219 * src/vte.c(vte_terminal_background_update): disconnect self, just in
1220 case we were called directly while still queued, which would otherwise
1221 leak the source, leading to potential problems later (Red Hat #84368).
1224 * src/vte.c(vte_terminal_scroll_window): use gdk_window_scroll if the
1225 first row to be scrolled is the first visible row, not just if it's the
1226 first row we ever saw (Red Hat #83472).
1229 * src/vte.c(vte_terminal_button_press): grab input focus on button 1
1230 press (#106573, Red Hat #84384).
1233 * src/vte.c(vte_terminal_sequence_handler_bt): add missing chunk of
1237 * src/vte.c: turn on update debugging if VTE_DEBUG_FLAGS includes
1241 * src/keymap.c: add map entries for unmodified digit keypresses.
1244 * src/vte.c(vte_terminal_match_add): use the default cursor by default,
1245 so that we don't look weird to people who aren't used to the cursor
1247 * configure.in: forcibly define VTE_DEBUG to "1" when we define it.
1250 * src/vteaccess.c: emit focus-event signals from the accessible peer
1251 when the widget receives focus-in and focus-out events, noted by
1254 2003-02-18 Roozbeh Pournader <roozbeh@sharif.edu>
1256 * configure.in: Added "fa" to ALL_LINGUAS.
1259 * src/vte.c, src/vte.h: add vte_terminal_match_set_cursor() (#105986).
1262 * src/Makefile.am: add @LDFLAGS@ to all of the LDADD clauses, hopefully
1266 * src/vte.c(vte_terminal_sequence_handler_cs): recognize and discard
1267 invalid arguments (#57453).
1270 * src/keymap.c: add map entries for Ctrl+digit keys (#106193, Red Hat
1273 2003-02-17 Alessio Frusciante <algol@firenze.linux.it>
1275 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1277 2003-02-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1279 * configure.in: Added Belarusian to ALL_LINGUAS.
1282 * src/vte.c(vte_terminal_sequence_handler_bt): fix to move back to the
1283 leftmost column if there are no previous tabstops, exercised by
1287 * src/vte.c(vte_terminal_background_update): handle pixbufs with
1291 * src/interpret.c: handle width masks now that we're encoding widths for
1295 * src/vte.c: more comments to keep myself from getting confused later.
1298 * src/vte.c: change the coalescing timeout to 2ms.
1301 * src/vte.c(vte_terminal_io_read): attempt to coalesce data received
1302 within about 10ms to reduce load on the X server on systems where the
1303 scheduler wakes us up as soon as we have a few bytes available. Based
1304 on a suggested fix by msw.
1305 * src/vte.c(vte_terminal_io_read): never free buf, it's not a heap
1306 variable any more. Spotted by msw.
1309 * src/vte.c(vte_terminal_finalize): close fd leak.
1310 * src/vte.c(vte_terminal_fork_command): close potential fd leak.
1313 * src/reflect.c(main): handle cases where the widget has no data and
1314 returns NULL when we ask for it.
1317 * src/reflect.c(main): do a complete read of the widget before we
1318 start off in main to ensure we have accurate data.
1319 * src/vteaccess.c(vte_terminal_accessible_update_private_data_if_needed):
1320 only attempt to free the previous snapshot if it existed.
1323 * src/reflect.c(main): connect to signals before any get emitted.
1324 * src/vteaccess.c: use a GString to store snapshot text so that we
1325 always have proper length information.
1328 * src/reflect.c(text_changed_delete): spit out a warning if we receive
1329 an out-of-range text_changed::delete signal.
1332 * src/genwidths, src/uniwidths: add data for tracking ambiguous-width
1334 * src/iso2022.c, src/iso2022.h: add _vte_iso2022_is_ambiguous() for
1335 checking if a character is ambiguous, and _vte_iso2022_ambiguous_width()
1336 for guessing how wide it should be based on the current locale. Rename
1337 _vte_iso2022_get/set_width to ...encoded_width to clarify the intent,
1338 ditto for the related macros.
1339 * src/table.c,src/trie.c: use renamed macros for reading encoded widths.
1340 * src/iso2022.c(_vte_iso2022_substitute_single,_vte_iso2022_substitute):
1341 handle ambiguous widths properly, and always encode a width.
1342 * src/Makefile.am: use the default LDFLAGS, I think.
1343 * src/vte.c,src/vte.h: add vte_terminal_set_background_tint_color().
1344 * src/vte.c(vte_terminal_unrealize): unhook from background update
1345 sources, because we may not have a display after that.
1346 * src/vte.c(vte_terminal_size_allocate): only queue a background update
1347 if we're in transparent mode and either we've been moved or we have no
1348 background yet. If our size changed, force a repaint.
1349 * src/vte.c(vte_sequence_handler_window_manipulation): snip off the
1350 padding along the edges when responding to requests for the window size
1351 and location -- apps have no way to query it.
1352 * src/vte.c(vte_terminal_get_text_range): skip over fragments properly.
1353 * src/vte.c(vte_terminal_draw_row): skip over fragments properly.
1354 * src/vte.c(vte_unichar_width): rework in terms of the width checking
1355 in the iso2022 module for consistency.
1357 2003-02-06 Christian Rose <menthos@menthos.com>
1359 * configure.in: Added "id" to ALL_LINGUAS.
1362 * src/vte.c(vte_terminal_size_allocate): suppress background updates if
1363 we haven't moved and the background image already exists (#104868).
1366 * src/vte.c(vte_terminal_get_accessible): keep a weak pointer to the
1367 accessible peer instead of a static pointer (part of #104909).
1368 * src/vte.c(vte_terminal_finalize): if the accessible peer still exists,
1369 remove its weak pointer before attempting to unref it.
1370 * src/vte.c: rename accessible_exists member to accessible_emit, which
1371 more accurately reflects its purpose.
1372 * src/vteaccess.c(vte_terminal_accessible_update_private_data_if_needed):
1373 always update the cursor position, in case text was added or removed
1374 without the cursor itself moving.
1375 * src/vteaccess.c(vte_terminal_accessible_get_text_somewhere): don't
1376 emit a warning when the caller attempts to read the Nth character when
1377 we have 0 to N-1, just return an empty string.
1378 * src/vteaccess.c(vte_terminal_accessible_new): make the terminal peer
1379 a weak pointer (part of #104909).
1380 * src/vteaccess.c(vte_terminal_accessible_finalize): if the terminal
1381 peer is not NULL, disconnect it as a weak pointer and don't bother
1382 disconnecting from its signals (part of #104909). Add a debug message.
1383 * src/vteaccess.c(vte_terminal_accessible_text_finalize): Add a debug
1387 * src/vte.c(vte_unichar_isgraphic): rename to vte_unichar_is_graphic,
1388 to match conventions used elsewhere.
1389 * src/vte.c(vte_unichar_is_graphic): count 0xa3, 0x3c0, 0x2592,
1390 0x25ae, 0x25c6 as graphic characters.
1391 * src/iso2022.txt: add sample text using character set 0.
1393 2003-01-30 Fatih Demir <kabalak@gtranslator.org>
1395 * configure.in: Added "tr" (Turkish) to the languages' list.
1398 * MESSAGE-OF-DOOM: added, for scaring people away.
1399 * vte.spec: bump to 0.11.x for development.
1400 * src/mev.c(main): reset modes before quitting.
1401 * src/vte.c(vte_terminal_button_press): don't always extend selection
1402 when not in event mode.
1405 * configure.in: make debugging support an explicit option to configure.
1406 don't automatically enable debugging in maintainer mode.
1409 * src/vte.c(vte_terminal_realize): create the "invisible" cursor using
1410 a bitmap instead of a pixmap, changing it from a 1x1 black square to
1414 * src/vte.c(vte_terminal_decset_internal): make the various mouse event
1415 modes mutually-exclusive, because apps expect them to be (#104395).
1416 * src/vte.c: add a prototype for vte_terminal_background_update before
1417 it is used to silence a compiler warning.
1420 * src/vte.c(vte_terminal_realize): force a background update immediately
1421 when we realize instead of queuing it up (#104381).
1423 2003-01-26 Daniel Yacob <locales@geez.org>
1425 * configure.in: Added "am" to ALL_LINGUAS.
1428 * src/vte.c(vte_terminal_background_update): fix declaration order
1431 2003-01-24 Nam SungHyun <namsh@kldp.org>
1433 * configure.in: Added "ko" to ALL_LINGUAS.
1436 * src/caps.c, src/vte.c: recognize and ignore attempts to set text
1437 properties 21 and 2L, whatever those are (possible workaround #104154).
1440 * src/iso2022.c: accept "1" and "2" as aliases for "B" (#104257).
1443 * configure.in: check for curses if we don't have ncurses (the order
1444 is ncurses, curses, libtermcap), as Solaris has neither ncurses nor
1445 libtermcap. Reported by Brian Cameron.
1446 * src/keymap.c, src/ssfe.c: accept either curses or ncurses as
1450 * src/Makefile.am, src/mev.c: add mev.
1451 * src/vte.c(vte_sequence_handler_clear_screen): don't home the cursor
1453 * src/vte.c(vte_terminal_button_pressed): fix sense of shift overriding
1454 event mode. Ignore double- and triple-click in event mode.
1455 * src/vte.c(vte_terminal_scroll): in event mode, send button release
1456 events to the terminal if it's expecting them.
1457 * src/vte.c(vte_terminal_send_mouse_button_internal): clamp coordinates
1459 * src/vte.c(vte_terminal_maybe_send_mouse_drag): compare integral cell
1460 locations, not floating point, when choosing whether or not to drop
1461 events in cell tracking mode. Don't lose the modifiers.
1462 * src/vte.c(vte_terminal_motion_notify): don't autoscroll in events
1466 * src/caps.c: accept OSC{number};{string}ST as set-text-parameters,
1467 per XTerm docs (part of #104154).
1468 * src/keymap.c: revert change to prepend "1;" to keys with
1469 modifiers (#104139).
1471 2003-01-22 Christian Rose <menthos@menthos.com>
1473 * configure.in: Added "mn" to ALL_LINGUAS.
1476 * src/vte.c: streamline background images and transparency handling,
1477 should use less memory now.
1480 * src/reflect.c: add some debugging messages if REFLECT_VERBOSE is
1481 set in the environment.
1484 * src/Makefile.am, src/reflect.c: add reflect-text-view, for testing
1485 with GtkTextView for sanity's sake.
1488 * src/reflect.c: account for atk_text_get_text() being 0-clean.
1491 * configure.in, src/Makefile.am, src/reflect.c: try to build reflect
1492 with both vte and libzvt, building a useless binary if libzvt isn't
1496 * src/vte.c: colors 90-97 and 100-107 are bold colors, noted and patched
1497 by Matthijs Melchior (#103874).
1499 2003-01-19 He Qiangqiang <carton@linux.net.cn>
1501 * configure.in: Added "zh_CN" (Simplified Chinese) to ALL_LINGUAS.
1503 2003-01-19 Marius Andreiana <marius galuna.ro>
1505 * configure.in: added 'ro' to ALL_LINGUAS
1508 * src/vteaccess.c(update_private_data_if_needed): if the caret is past
1509 the end of the text, count unichars properly. Compute the caret
1511 * src/reflect.c: handle text-caret-moved signals and display the caret.
1514 * src/iso2022.c: update copyright dates.
1515 * src/reflect.c: add.
1516 * src/Makefile.am: add reflect (noinst).
1517 * src/vteaccess.c(vte_terminal_accessible_get_text): always return a
1518 string, even if it's zero-length. Properly detect and handle requests
1519 that go right up to the last byte.
1521 2003-01-18 Andras Timar <timar@gnome.hu>
1523 * configure.in: Added "hu" to ALL_LINGUAS.
1526 * src/vte.c(vte_terminal_set_size): emit a "text-modified" signal,
1527 because what you see changes when you resize the terminal.
1530 * src/vte.c(vte_terminal_paint): don't draw cursors below or above the
1531 screen, correctly compute the clear area when drawing the cursor,
1532 if we're ignoring padding in general because we're monospaced, also
1533 ignore it when drawing the character under the cursor.
1534 * src/vte.c(vte_terminal_io_read): eliminate dead code.
1537 * src/keymap.c(_vte_keymap_map): if we don't find an entry for the
1538 requested key, and the terminal type is "xterm", retry using
1539 "xterm-xfree86", possible fix for #103713.
1540 * src/vte.c(vte_terminal_draw_row): fix handling of items with
1541 width != 1 when computing runs.
1544 * src/iso2022.c: fix boneheaded "config.h" instead of "../config.h"
1545 include, pointed out by Dan Mills and Brian Cameron.
1548 * configure.in: fix test for whether or not we need to check for termcap
1549 * src/Makefile.am: override default includes to not prepend "." to the
1550 include path, so that we can include the system <termcap.h> properly
1551 * src/keymap.c: define the ncurses scratch buffer for use when we're
1555 * configure.in: actually disable attempts to build python bindings if
1556 pygtk-2.0 isn't found (#103676)
1559 * src/keymap.c(_vte_keymap_key_add_key_modifiers): if a key sequence
1560 which needs modifiers doesn't have a numeric part, add "1" as the
1561 numeric part before adding the modifiers. Spotted by msw.
1564 * src/ring.c, src/ring.h: add _vte_ring_insert_preserve(), which
1565 scrolls lost items off the top instead of the bottom, as
1566 _vte_ring_insert() does.
1567 * src/slowcat.c (catfile): check that we didn't read an EOF before
1568 attempting to write it. Skip the more complicated checks and just
1569 check that the file pointer isn't stdin before closing it.
1570 * src/ssfe.c: cleanups.
1571 * src/vte.c(vte_sequence_handler_sf): add lines to the scrollback area
1572 when scrolling is restricted but the top line of the area is the
1573 topmost visible line (Red Hat #75900).
1576 * src/nativeecho.c, src/utf8echo.c: don't switch terminal modes before
1577 or after echoing bytes -- doing so confuses me now.
1578 * src/vte.c: make use of '?' to mark invalid data a compile-time define.
1579 * src/vteaccess.c(vte_terminal_accessible_text_scrolled): properly
1580 handle scrolling events with delta less than the window size (more
1582 * src/vteaccess.c(vte_terminal_accessible_finalize): disconnect
1583 from text-inserted, text-deleted, text-modified, text-scrolled,
1584 cursor-moved, window-title-changed on finalize.
1585 * src/vte.c(vte_terminal_key_press,vte_terminal_key_release,
1586 vte_terminal_button_press,vte_terminal_button_release,
1587 vte_terminal_motion_notify,vte_terminal_focus_in,vte_terminal_focus_out,
1588 vte_terminal_scroll): track event modifiers in an object-local modifier
1590 * src/vte.c(vte_terminal_key_press): always steal key events from the
1591 input method if the meta key is down (#96006). Don't munge the cursor
1592 or keypad modes before passing them to the keymapping routines. Stop
1593 overriding the cursor mode on NumLock (doesn't appear to work as
1594 documented in other terminals, needed to modify the keymap mode anyway
1596 * configure.in: define HAVE_XFT whenever HAVE_XFT2 is defined -- they're
1597 more or less compatible (#103130).
1599 2003-01-10 Abel Cheung <maddog@linux.org.hk>
1601 * configure.in: Added "zh_TW" to ALL_LINGUAS.
1603 2003-01-10 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1605 * configure.in: Added Russian to ALL_LINGUAS.
1608 * configure.in: disable the python bindings if we can't find python,
1612 * src/vte.c: don't just skip reading data if selection is in progress --
1613 we wedge if we do that (#101739). Instead, temporarily stop reading
1615 * src/vte.c(vte_terminal_open_font_xft): if we get NULL when matching
1616 fonts, use the desired pattern's name when displaying an error,
1617 preventing a NULL dereference (#96769).
1618 * configure.in: make building of python modules depend on configure
1619 having been run with --enable-python. make --enable-python the default.
1620 Fix an indentation error in the version check which chokes Python 2.2.2.
1621 * src/vte.h, src/vte.c: add new signals to VteTerminalClass (NOTE: may
1622 break ABI, so might as well add some padding)
1623 * src/vteaccess.c: be more precise about locations in text_changed
1624 signals (part of #95901)
1625 * src/vte.c: get more selective about when we consider it necessary to
1626 emit text-insert and text-delete events.
1629 * src/vte.c(vte_terminal_key_press): Only suppress meta-sends-escape on
1630 Backspace if backspace is mapped to the delete sequence. (#100635)
1633 * src/vte.c(vte_terminal_setup_background): Use a lookup table
1634 instead of a mess of floating point math when desaturating images.
1637 * src/vte.c(vte_terminal_init): Add the periodic blinking refresh
1638 with the normal timeout instead of 0 to avoid wedging when we get
1639 created without focus. Fix suggested by Dennis Haney (#102701).
1642 * src/vte.c: Use a simple XftPatternGetString/GetDouble pair instead
1643 of XftNameUnparse, which isn't in older versions of Xft (#101142).
1644 * src/vte.c: Add a flag to VteTerminalPrivate which we can use to keep
1645 track of modifications, particularly if they remove text, and toggle
1646 it in several sequence handlers.
1647 * src/vte.c(vte_terminal_process_incoming): Also emit the "contents
1648 changed" signal when the modified flag is TRUE, not enough to fix
1649 #95901, but at least making some forward progress.
1651 2003-01-05 Pauli Virtanen <pauli.virtanen@hut.fi>
1653 * configure.in (ALL_LINGUAS): Added "fi" (Finnish).
1655 2003-01-04 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
1657 * configure.in: (ALL_LINGUAS) Added sk (Slovak).
1658 * po/sk.po: Added Slovak translation.
1661 * configure.in: look for libncurses or libtermcap
1662 * vte.pc.in: include other libraries (ncurses, termcap, socket,
1663 whatever) in the list of libraries.
1664 * src/keymap.c(_vte_keymap_map): for Home and End, consult libncurses
1665 or libtermcap if we have no hard-wired mapping and there's none in the
1666 termcap file. Should fix #100472, even in cases where Home and End
1667 vary wildly from what I've got on my box.
1668 * src/keymap.c: rename cursor/fkey_normal to cursor/fkey_default,
1669 which makes a little more sense.
1671 2003-01-02 Zbigniew Chyla <cyba@gnome.pl>
1673 * configure.in: (ALL_LINGUAS) Added pl (Polish).
1675 2002-12-22 Artis Trops <hornet@navigator.lv>
1677 * configure.in: Added Latvian (lv) to ALL_LINGUAS.
1679 2002-12-19 Yanko Kaneti <yaneti@declera.com>
1681 * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
1684 * configure.in: complain if Xft2 and Xft aren't found.
1685 * src/vte.c (vte_terminal_paint): if we're not double-buffered, clear
1686 the drawing area before we draw text.
1687 * src/vteapp.c: add -2 to toggle double-buffering.
1690 * src/vte.c (vte_terminal_key_press): wire Shift+Home/Shift+End to
1691 scroll-to-top and scroll-to-bottom.
1694 * src/buffer.c: add a short test program.
1695 * src/iso2022.c: use hard values instead of GDK defines in the 0 map.
1696 Add _vte_iso2022_substitute_single() for performing a single mapping
1698 * src/vte.c: use _vte_iso2022_substitute_single() instead of a local
1699 mapping table when mapping line-drawing charset data, simplifies
1700 maintenance of the mapping.
1702 2002-12-12 Pablo Saratxaga <pablo@mandrakesoft.com>
1703 * configure.in: Added Catalan (ca), Spanish (es)
1704 and Hebrew (he) to ALL_LINGUAS
1707 * configure.in: define VTE_USE_GNOME_PTY_HELPER if use of the helper
1708 is enabled at compile-time (enabled by default).
1709 * src/iso2022.c(_vte_iso2022_substitute): force characters received in
1710 the line-drawing map to have width = 1 (more #99603), so that we can
1711 distinguish them from line-drawing characters received in eucXX, which
1713 * src/vte.c(vte_terminal_insert_char): when mapping from line-drawing
1714 to gunichars, force a width of 1.
1715 * src/vte.c(vte_terminal_process_incoming): extend the bounding box
1716 for updates one cell further to the right, in case the cursor is in
1717 a cell which contains a wide character.
1718 * src/pty.c(_vte_pty_start_helper): spit out a warning if the helper
1720 * src/pty.c: don't compile in any gnome-pty-helper-specific code if
1721 VTE_USE_GNOME_PTY_HELPER isn't defined.
1724 * src/buffer.c, src/buffer.h: centralize buffer length sanity checks,
1725 add some utility functions for stuffing things into buffers and pulling
1727 * src/debug.c, src/debug.h: add a lifecycle debug class, for tracking
1728 down initialization order weirdness.
1729 * src/pty.c: try to check that we can run the pty helper before
1730 trying to run it, to avoid SIGPIPE failures when it's not installed.
1731 * src/vte.c: never grab focus -- let the shell app deal with it.
1732 Return TRUE from mouse motion and press/release events to keep them
1733 from being passed up. (#101089)
1736 * configure.in: add "uk" to the list of languages.
1737 * src/vte.h: remove the alternate attribute bit -- it's no longer
1739 * python/vte.override: remove the alternate attribute, add the
1740 strikethrough attribute.
1741 * src/vte.c (vte_terminal_insert_char): perform drawing character set
1742 to Unicode mapping at insertion time if the alternate attribute is set,
1743 otherwise discarding the attribute. If the character being inserted is
1744 a graphic character, force its width to 1 or 2 depending on the current
1746 * src/vte.c (xlfd_from_pango_font_description): take advantage of
1747 XftXlfdParse if we were built with Xft, as it appears to handle family
1749 * src/vte.c (vte_terminal_draw_graphic): decide what to draw using
1750 Unicode code points (instead of reverse mappings to drawing set), and
1751 implement the double-thick versions of many of the existing glyphs.
1752 Return a boolean indicating whether or not we drew something.
1753 * src/vte.c (vte_terminal_draw_row): if vte_terminal_draw_graphic()
1754 returns FALSE, try to draw the graphic character using the current font.
1755 * src/vte.c (vte_terminal_paint): if vte_terminal_draw_graphic()
1756 returns FALSE, try to draw the graphic character using the current font.
1757 * src/caps.c: add the undocumented default 0 to the OSC set text
1758 parameters sequence (#100468).
1762 * src/iso2022.c, src/iso2022.h: add a width mask for overriding widths
1763 for ambiguous Unicode characters, and _vte_iso2022_get_width() for
1764 reading the width, using unused bits in Unicode in a manner similar to
1765 http://www.cl.cam.ac.uk/~mgk25/ucs/iso2022-wc.html
1766 * src/table.c,src/trie.c: strip out iso2022 widths when extracting
1767 parameters of control sequences.
1768 * src/vte.c: heed iso2022 widths when inserting characters into the
1769 screen buffer, but clear then before storing them so that copy and
1770 paste will continue to work.
1771 * src/matcher.c, src/matcher.h: add matcher, a wrapper for table and
1772 trie, and move _vte_table_narrow_encoding and _vte_table_wide_encoding
1776 * src/pty.c: if TIOCSCTTY is defined, use it, even if it's redundant.
1780 * src/utf8echo.c: change the default from resetting to the terminal's
1781 default encoding before exiting to leaving it alone. Don't mess with
1782 the terminal's encoding if stdout isn't connected to a terminal.
1783 * src/nativeecho.c: add, for printing random bytes.
1786 * src/vte.c: don't zero-fill rows, space-fill them.
1787 * src/vte.c(vte_terminal_is_word_char): Don't just fail if the
1788 word_chars array doesn't exist.
1791 * acinclude.m4: add AC_CHECK_CC_OPT from ac-archive.
1792 * configure.in: check for cfmakeraw, sys/select.h, compiler support
1794 * doc/boxes.txt: change reference to online Docbook reference to the
1795 charts at the Unicode web site.
1796 * src/dumpkeys.c: make a best-effort at making a terminal raw on systems
1797 where cfmakeraw() isn't available, from patch by Brian Cameron. Wait
1798 for up to 1/50 of a second for more bytes we'll consider to be part of
1800 * src/pty.c(getpt): ensure that the new terminal is opened in non-
1802 * src/trie.c: use g_unichar_digit_value() instead of subtracting '0'.
1803 * src/vte.c: don't declare the xft_textitem member on non-Xft2 systems,
1804 because it uses an Xft2-specific type (#99685).
1805 * src/vteapp.c: add $pkgdatadir/fonts to the font path for testing.
1808 * src/vte.c: fix mapping of Unicode code chars 0x252c and 0x2534 which
1809 incorrectly mixed them up (#99474).
1810 * src/iso2022.c: fix mapping of 'v' and 'w' from special graphics to
1811 Unicode, which masked the above bug.
1814 * src/vte.c: fix cd() to clear using the current colors.
1817 * termcaps/xterm: add ta back in -- it's not a key sequence.
1820 * src/vte.c: fix cd() to clear to the right of the cursor on the current
1821 line instead of the entire line (#98844).
1824 * src/vte.c: add keyboard debug messages when we change keyboard modes.
1825 * termcaps/xterm: remove kh definition.
1828 * src/keymap.c: make keypad arrow keys follow cursor mode (#98604).
1831 * src/keymap.c: sort out when we add modifiers to keys (#98094). Fix
1833 * termcaps/xterm: remove ta definition.
1836 * src/debug.c, src/debug.h: add keyboard debugging class.
1837 * src/dumpkeys.c: refresh on Ctrl-L, reset on 'r'.
1838 * src/keymap.c, src/keymap.h: add more setting combinations, and a
1839 simplistic check for more complete coverage.
1840 * src/vte.c: add debug messages for keyboard handling. Improve
1841 detection of invalid coordinates as a signal that no text is selected
1842 or hilited (#98946).
1843 * termcaps/xterm.baseline: add a baseline copy of xterm from my termcap,
1844 so that I can diff it more easily.
1845 * termcaps/xterm: remove key definitions -- xterm's way more complicated
1846 than the capability strings suggest.
1849 * configure.in: incorporate more correct check for the right version of
1852 2002-11-15 Hasbullah BIn Pit <sebol@ikhlas.com>
1854 * configure.in: Added "ms" to ALL_LINGUAS.
1857 * src/vte.c: ensure that when we select by line, we include all of the
1858 last line, even if it's past the edge of the screen. Snap selection to
1859 the beginning or end of a line when selecting lines which don't exist.
1860 Only strip off whitespace if there's nothing but whitespace to the right
1861 of the selection. Chuck the non-wrapping selection code.
1864 * src/vte.c: properly set the "selecting" flag again when we start
1868 * src/vte.c: rework selection so that word- and line-based selection
1869 can wrap like XTerm does (#97057,#97719).
1872 * src/vte.h: doc fixes.
1873 * src/dumpkeys.c: use the older alternate-screen decset value.
1874 * src/vte.c: fixup screwups on extending selection (#97118).
1877 * src/vte.c: handle end-of-line selection correctly. Stop highlighting
1878 selection on click, but don't lose it until new text is selected
1880 * python/vte.override: fix binding for set_colors() to properly take a
1881 list of colors for the palette (#97682).
1882 * src/vte.c, src/vte.h: add increase-font-size and decrease-font-size
1883 to allow mimicking XTerm's behavior on Shift/Control+KP_Add/KP_Subtract
1884 * src/vteapp.c: handle increase-font-size and decrease-font-size.
1886 2002-11-05 Abi Brady <morwen@evilmagic.org>
1887 * src/vte.c: Add and implement the strikethrough attribute.
1888 Change underline to be drawn using the ascent, rather than
1889 arbritarily putting it two lines above the bottom of the
1890 charcell - looks much better with large fonts.
1893 * NEWS: be more verbose.
1894 * README: add more items to the TODO list so that I don't forget them.
1895 * src/vte.c: ifdef out some of the selection code.
1898 * src/buffer.c, src/iso2022.c, src/vteaccess.c: add ident tags.
1899 * src/vte.c: don't scroll-to-bottom if we're selecting (#97923).
1902 * src/vteapp.c: implement iconify, deiconify, raise, lower, maximize,
1903 restore, refresh, resize, and move signals.
1904 * src/vte.c: add vte_terminal_match_remove().
1905 * src/vte.c (vte_sequence_handler_cb): clear the current column in
1906 addition to columns to the left, spotted by Sam Varshavchik.
1907 * src/vte.c: Use g_array_set_size() to clear arrays instead of
1908 removing each element. Properly initialize new columns with just the
1909 default colors and not other attributes (#96978).
1910 * src/vte.c (vte_sequence_handler_ta): revert to non-overwriting tabs,
1911 otherwise we got occasional drawing artifacts.
1913 2002-10-30 Abi Brady <morwen@evilmagic.org>
1915 * src/vte.c, src/vte.h : Support dim (halfbright) colours. All the
1916 infrastructure for this was here already (apart from making sure bold
1917 and half are mutually exclusive). Add API set_color_dim, and let
1918 set_colors take a palette of size 24.
1920 2002-10-29 Abi Brady <morwen@evilmagic.org>
1921 * src/iso2022.c (_vte_iso2022_map_[J4]): Map to UCS, not keysyms.
1922 (which differ > 0xff).
1924 2002-10-28 Abi Brady <morwen@evilmagic.org>
1925 * src/vte.c: Add line-drawing representation for full block. Draw
1926 U+23BA-23BD. Fix drawing of U+23BD (scan line 9) and U+2592
1927 (checkerboard) to use bottom line of the charcell, not the top line of
1929 * src/iso2022.c: Complete DEC Special Graphics to Unicode map.
1932 * src/vte.c (vte_terminal_match_check_internal): snip off final
1933 newlines when we're matching, they're usually not wanted.
1936 * src/pty.c, src/pty.h: replace the simpler pty_open() function with
1937 a logging version, adding the ability to specify a startup directory
1939 * src/vte.c, src/vte.h: replace the simpler fork_command() function with
1940 a logging version, adding the ability to specify a startup directory
1942 * src/vteapp.c: modify call to handle new fork_command().
1943 * python/vte.defs: update as above.
1944 * python/vte.override: modify call to handle new fork_command(), adding
1945 an optional "directory" argument.
1948 * src/vte.c: refactor the selection code, cleaning up when selection is
1949 cleared/started/extended (#95783).
1952 * src/vte.c: rework how wide characters are stored to allow storing
1956 * python/vte.override: wrap vte_terminal_get_text() and
1957 vte_terminal_get_text_range(). Based on patch from ha shao (#96230).
1960 * src/vte.c, src/vte.h: add a user pointer argument to get_text
1962 * src/Makefile.am: bump shared library version because we changed
1963 a public function's signature. Take the opportunity to replace padding
1964 fields which had previously been used up.
1966 2002-10-21 jacob berkman <jacob@ximian.com>
1967 * src/Makefile.am (EXTRA_DIST): include decset, osc, and window
1970 * src/iso2022.c: use character constants instead of hex constants.
1971 * src/iso2022.txt: add more illustrations.
1972 * src/decset: scriptlet to save some typing.
1973 * src/vte.c: zero-terminate window and icon title strings again.
1974 * src/decset, src/osc, src/window: add.
1977 * src/keymap.c: add a mapping for the escape key.
1980 * src/vte.c: implement decset 42 (enable/disable NRC processing), but
1981 enable it by default. Implement decset 44 (margin bell).
1982 * src/vte.c: do not trust the event->string. Use gdk_keyval_to_unicode
1983 and the built-in keymapping to cope with the weirdness. Extend the
1984 range of characters we controlify from 0x40-0x60 to 0x40-0x7f so that
1985 lower-case ascii chars controlify (not a word, I know).
1986 * src/keymap.c: add map entries for GDK_Return and GDK_KP_Enter for
1987 GDK_CONTROL_MASK = cr, normal = lf.
1990 * src/vte.c: make sure that strings passed to a commit signal are zero-
1991 terminated (#96131).
1992 * python/Makefile.am: install the module in site-packages instead of a
1993 subdirectory, which doesn't work on my system.
1996 * src/vte.c: remove vte_terminal_update_scroll_delta, which only did
1997 things vte_terminal_adjust_adjustments already did and was only called
1998 immediately after. Fill newly-added lines with the current attributes
1999 if the current background isn't the default color (Red Hat #73853).
2000 Implement ignored DECSET settings, so that we don't mistakenly complain
2001 about settings not being implemented yet when we actually just want to
2006 * src/vte.c: force the first cursor redraw after focus-in to always be
2007 in the foreground color (Red Hat #75908).
2010 * src/vte.c (vte_terminal_insert_char): force invalidation mode if
2011 we're in insert mode to get the entire line redrawn. Spotted by msw.
2014 * configure.in: clean up tests for wint_t. Patch from Brian Cameron.
2017 * src/pty.c: close a possible race on systems where pty initialization
2018 requires more than just opening the pty (for example, Solaris). Spotted
2020 * src/utf8echo.c: don't reset to iso-8859-1 unless -r is used.
2023 * src/vte.c: remove a bogus assertion for a case which we were already
2024 handling a little further down (incorrectly triggered by autowrap).
2027 * src/vte.c: adjust our adjustments whenever a line might scroll off
2028 the top of the buffer. Fix computation of the new insertion delta to
2029 ensure that it never goes below the scroll delta, which should fix the
2030 resizing crashes (#94509, #95187, Red Hat #75871), and add some debug
2031 assertions to verify this.
2032 * configure.in, python/Makefile.am: build the python bindings as a
2033 library, not a binary with wacky ldflags.
2036 * src/vte.c: don't try to close the pty at finalize time if we didn't
2037 open it. Patch from ha shao.
2038 * src/keymap.c, src/keymap.h: move the addition of modifiers into a
2039 separate function. Add the function key strings from terminfo for
2040 fkey_sun and fkey_hp cases. Make control+F1 = F13 only in vt220 mode.
2041 * src/vte.c: apply modifiers to function keys in normal and legacy
2045 * src/vte.c: add super-bogus bold text mode (Red Hat #74779).
2048 * src/caps.c: recognize CSI-r (with no arguments) as resetting the
2049 scrolling region in XTerm emulation (Red Hat #75902).
2052 * src/keymap.c: add mappings for GDK_Page_Up and GDK_Page_Down,
2053 missed in the conversion.
2054 * src/vte.c: steal GDK_KP_{Add,Subtract,Multiply,Divide} from the
2055 input methods (Red Hat #75207).
2058 * configure.in: more $pkglibdir -> $libexecdir fixing.
2059 * doc/Makefile.am: add rules for generating ps and text versions of the
2061 * doc/reference/tmpl/vte.sgml: add snippet for "commit".
2062 * python/python/vte.defs: update to add a binding for
2063 vte_terminal_fork_logged_command().
2064 * src/buffer.h: add a warning comment that these are private interfaces.
2065 Wrap declarations in G_BEGIN_DECLS/G_END_DECLS.
2066 * src/caps.h: add macros for the SS2/SS3 sequences.
2067 * src/marshal.list: add a marshaller for the "commit" signal.
2068 * src/keymap.c, src/keymap.h: move the getting-more-convoluted
2069 keypress-handling code to a shell that parses tables of static info.
2070 * src/vte.c: use the keymap for most non-printable keys. Add a "commit"
2071 signal to allow an app to just use the terminal for displaying data and
2072 grabbing input (missing functionality noted by ha shao). Obey the
2073 application's desired meta-sends-escape setting. Recognize HP function
2074 key mode. Recognize and handle legacy XTerm function key mode. Force
2075 a redraw if the child application tries to switch to 80/132 columns,
2076 even though we don't usually let them succeed. Don't try to send
2077 keystrokes to the child pty when there is no child pty. Don't convert
2078 final whitespace to newlines when copying text (Red Hat #74611).
2079 * python/cat.py: test program for running without a command.
2080 * termcaps/xterm: change the definitions for ku/kd/kl/kr to match
2081 XTerm in normal cursor mode instead of application cursor mode.
2084 * src/vte.c: properly distinguish cursor key mode and keypad key mode,
2085 obey application mode for cursor keys (#92941).
2086 * src/pty.c: reset signal handlers before exec() (Red Hat #75341).
2089 * src/trie.c: change the typedef of wint_t here to match vte.c (now
2090 a gunichar instead of a long). Spotted by Brian Cameron.
2092 2002-10-11 Brian Cameron <Brian.Cameron@sun.com>
2093 * configure.in: Changed to that wchar.h is included when checking for
2094 wint_t on Solaris. This was needed because on Solaris wint_t is defined
2095 to be a long, and in vte.c its definition was recently changed to be a
2096 gunichar. This caused the compile to break on Solaris.
2099 * configure.in, src/pty.c, gnome-pty-helper/Makefile.am: fix the bits
2100 I missed when fixing #95085.
2103 * src/vteapp.c, python/vte-demo.py: allow specifying the scrollback
2105 * src/vte.c: if we don't have wint_t, typedef wint_t as a gunichar,
2109 * src/buffer.c, src/buffer.h: add.
2110 * src/interpret.c, src/vte.c: use _vte_buffer structures instead of
2111 char arrays with separate lengths. Use a scratch buffer for holding
2112 the results of conversions.
2113 * src/vte.c: separate the pango and pangox drawing paths so that they're
2114 easier to tweak and compare to each other.
2115 * src/vte.c: ditch the smooth scrolling change, which won't work right
2116 anyway (expose events don't get processed until after we finish
2117 processing a chunk of data unless we explicitly request it, so using a
2118 bbox is both simpler and faster). Use a mask when creating the cursor
2119 we use for hiding the cursor.
2122 * vte.spec, gnome-pty-helper/Makefile.am: install gnome-pty-helper into
2123 the libexecdir, not pkglibdir (#95085).
2124 * src/vte.c: obey smooth/jump scrolling options, default is jump scroll.
2126 Mon Oct 7 14:53:12 2002 Owen Taylor <otaylor@redhat.com>
2127 * src/vte.c (vte_font_match): Fix over-aggressive
2128 Xft => Fc conversion - need to call XftDefaultSubstitute to pick up Xft
2129 X resources, not FcDefaultSubstitute.
2131 2002-10-01 Stanislav Brabec <sbrabec@suse.cz>
2133 * configure.in: Added cs to ALL_LINGUAS.
2136 * src/vte.c(vte_terminal_set_word_chars,vte_terminal_is_word_char):
2137 if the list of word characters is NULL or zero-length, try to guess
2138 with (g_unichar_isgraph() && !g_unichar_ispunct()), which seems to
2139 produce reasonable results (#77134).
2142 * gnome-pty-helper/acinclude.m4: Fix HAVE_UT_UT_TV for cases where
2143 the static initializer might not work right (#93774, patch from
2147 * README, gnome-pty-helper/README: Doc fixups (mention gnome-terminal
2148 instead of profterm, note the proper permissions for gnome-pty-helper,
2152 * src/ring.c: Fix a ring-buffer manipulation bug (Red Hat #74290) which
2153 might cause a new item to be inserted in the wrong location.
2156 * src/interpret.c: Munge input data the way the terminal does so that
2157 conversion failures don't wedge us.
2159 2002-09-19 Brian Cameron <Brian.Cameron@sun.com>
2160 * src/vte.c: Backed out scrolldelay patches from 09-17 and 09-18 at
2161 Nalin's request. Left in the patch which allows programs which
2162 update the screen non-linearly like lynx to work properly.
2164 2002-09-18 Brian Cameron <Brian.Cameron@sun.com>
2165 * src/vte.c: Corrected a problem with yesterday's patch. I am now
2166 properly calling g_source_remove on the scroll_delay timeout
2167 function. This prevents VTE from core dumping if you start up
2168 more than one VTE gnome-terminal and exit from one of them. Also
2169 made the vte_scroll_timeout function a little cleaner by using
2170 the VTE_IS_TERMINAL macro.
2172 2002-09-17 Brian Cameron <Brian.Cameron@sun.com>
2173 * src/vte.c: Fixed bug with my 09/11 speedup fix which caused programs
2174 that update the screen non-linearly like lynx to update incorrectly.
2175 Also included a speed improvement which delays the scroll-down for
2176 70ms. Too fast to be noticeable to the user, but it speeds up VTE
2180 * src/pty.c: Fix typo which broke builds on systems where MSG_NOSIGNAL
2183 2002-09-12 Brian Cameron <Brian.Cameron@sun.com>
2184 * configure.in : Added -lsocket to LIBS if socket is in libsocket,
2185 so VTE will compile on Solaris.
2187 2002-09-12 jacob berkman <jacob@ximian.com>
2189 * src/pty.c: only use MSG_NOSIGNAL if it's defined
2191 * gnome-pty-helper/gnome-pty-helper.c (struct pty_info): remove
2192 master_fd and slave_fd fields
2193 (shutdown_pty): don't close master/slave fd's here...
2194 (pty_add): don't take master/slave fd args
2195 (open_ptys): ...close master/slave fd's right after passing them
2197 this fixes a hang after closing a window on os x, not sure why...
2199 * gnome-pty-helper/Makefile.am (install-exec-hook): remove
2200 trailing / after $DESTDIR
2202 * configure.in: AC_CHECK_FUNC() doesn't do AC_DEFINE(HAVE_FOO), so
2203 do that for socket() and socketpair() if they are found
2206 * src/vte.c(vte_invalidate_cursor_once): Remove the invalidate_cells
2207 parameter, because the function is a big no-op if FALSE, in which case
2208 we should just not call it instead. (vte_terminal_process_incoming):
2209 refresh the right number of rows after processing a block of data.
2211 2002-09-12 Brian Cameron <Brian.Cameron@sun.com>
2212 * src/vte.c Fixed minor error with my previous patch. This just makes
2216 * src/pty.c: Reorder definitions to avoid implicit declaration warnings.
2217 * configure.in: Check for socketpair(). Check for socket() in libc
2218 before poking around in libsocket.
2219 * gnome-pty-helper/configure.in: Check for openpty() in libutil as well,
2220 and do so before we check for other functions.
2223 * configure.in, gnome-pty-helper/cofnigure.in: Test for sendmsg() with
2224 AC_CHECK_FUNCS instead of AC_TRY_COMPILE.
2225 * acconfig.h: Removed.
2226 * src/pty.c: Formatting.
2228 2002-09-11 Brian Cameron <Brian.Cameron@sun.com>
2229 * configure.in: Added check for socket library and SendMsg
2231 * acconfig.h: Added this file with a HAVE_SENDMSG definition.
2232 * gnome-pty-helper/configure.in: Added checks needed for the
2233 source code, including the SendMsg check.
2234 * src/pty.c: Corrected _vte_pty_pipe_open so it works on
2236 *src/vte.c: Made some speed improvements so vte_invalidate_cells
2237 is not called for every character in the while loop in
2238 vte_process_incoming, but only once when the while loop is done.
2241 * gnome-pty-helper: Update from libzvt CVS.
2242 * python/Makefile.am: Fix some automake breakage.
2245 * python/Makefile.am: Fix my broken merge of Jacob's patch to make
2246 inability to build python modules non-fatal.
2249 * src/vte.c: Skip lookups for padding information if we're pretty sure
2250 we're using a monospaced font.
2253 * src/vte.c: Fix from Brian Cameron for uninitialized GError in
2254 vte_wc_from_unichar().
2255 * src/interpret.c, src/iso2022.c, src/pty.c, src/ring.h, src/table.c,
2256 src/table.h, src/trie.c, src/vte.c, src/vteaccess.c: Signed/unsigned
2257 int/size_t/gsize and pointer typecast warning fixes from Brian Cameron.
2258 * src/vte.c: Avoid invalidating the cursor in the cursor blink
2259 timeout unless we have focus.
2261 2002-09-10 Jacob Berkman <jacob@ximian.com>
2262 * configure.in (ALL_LINGUAS: remove es until the file really gets
2263 added. also it wasn't added alphabetically
2265 2002-09-10 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
2267 * configure.in: Added "es" to ALL_LINGUAS
2270 * src/pty.c, src/pty.h: Add vte_pty_close() and
2271 vte_pty_open_with_logging(), breaking the ABI.
2272 * src/vte.c, src/vte.h: Add vte_terminal_fork_logged_command(), breaking
2274 * gnome-pty-helper/*: Swallow the pty helper bits of gnome-libs,
2275 but install into $pkglibdir instead of $sbindir so that existing
2276 packages don't suddenly start breaking.
2277 * src/termcap.c(_vte_termcap_find_string_length): Fix signature to
2278 match the declaration in termcap.h. From patch by Jacob Berkman.
2281 * configure.in: Add $X_PRE_LIBS to the front of $X_LIBS, -lX11 and
2282 $X_EXTRA_LIBS to the end of $X_LIBS. Remove some cruftiness and set
2283 CPPFLAGS when checking for Xft. Check for the existence of wchar.h,
2284 because it might not exist. Use an automake conditional to make
2285 compilation of the Python bindings non-critical. From patch by
2287 * src/pty.c: Silence compiler warning when exec() fails. From patch
2289 * src/interpret.c, src/vte.c: Stop including langinfo.h since we don't
2290 call nl_langinfo() any more. Adapted from patch by Jacob Berkman.
2291 * src/caps.c: Fill in a couple of missing initializers.
2292 * src/vte.c, src/vte.h: Add accessor functions for use in language
2294 * python/vte.defs: Add defs for the new accessor functions.
2295 * python/vte-demo.py: Add a scrollbar to the sample window, handle
2296 more of the options the C version handles. Stop expecting additional
2297 arguments with a signal that doesn't include any.
2298 * python/Makefile.am: We only have one target, so don't bother with
2299 target-specific primaries if we can avoid it (#92252).
2300 * vte.pc.in: Note build dependencies on ATK, Pango, and PangoX.
2303 * src/caps.c, src/caps.h, src/debug.c, src/debug.h, src/interpret.c,
2304 src/iso2022.c, src/iso2022.h, src/pty.c, src/reaper.c, src/ring.c,
2305 src/ring.h, src/table.c, src/table.h, src/termcap.c, src/termcap.h,
2306 src/trie.c, src/trie.h, src/utf8echo.c, src/vte.c, src/vteaccess.c,
2307 src/vteapp.c: prefix library-internal interfaces with underscores so
2308 that gtk-doc doesn't guess they're public.
2309 * src/vte.c: return FALSE from focus-in/focus-out/expose handlers.
2312 * src/caps.h, src/debug.h, src/iso2022.h, src/marshal.h, src/ring.h,
2313 src/table.h, src/termcap.h, src/trie.h: add giant warnings about how
2314 these headers define library-internal interfaces.
2318 * docs/reference: first pass at writing documentation
2319 * src/termcap.c: fix how'd-that-ever-work in vte_termcap_strip(), patch
2320 from Brian Cameron. Take \\e as an alias for \\E, which is already
2321 an alias for Escape.
2322 * src/vte.c(vte_terminal_get_cursor): Return an absolute cursor position
2323 instead of a relative position.
2325 2002-09-04 jacob berkman <jacob@ximian.com>
2327 * src/vte.c (vte_default_substitute): only compile the FC_HINT_STYLE
2328 part if FC_HINT_STYLE is defined
2331 * src/vte.c: Add missing <fontconfig/fontconfig.h> include for Xft2,
2332 spotted by Jacob Berkman.
2334 2002-09-04 Brian Cameron <Brian.Cameron@sun.com>
2335 * src/vte.c: Avoid double color deallocations with Xft.
2336 * configure.in: Added stropts.h check for Solaris.
2337 * src/vte.c: Do not send data to the slave if the length is zero.
2338 Some shells on Solaris do not handle this well.
2339 * src/pty.c: Added ptem/ldterm/ttcompat ioctls so VTE will work
2343 * src/vte.c: Avoid double color deallocations with Xft.
2346 * src/vte.c: Handle color allocation failures with Xft better.
2347 * src/vte.h: Clean up typedef declarations.
2350 * src/marshal.list, src/reaper.c, src/reaper.h, src/vte.c: Modify the
2351 child-exited signal to pass a signed int and an unmodified exit status,
2352 allowing the callback to check for normal/abnormal exit status.
2355 * src/vte.c: Don't send zero-length strings to the child -- it may not
2356 be able to cope properly. Spotted by Brian Cameron.
2359 * src/vte.c: Handle cursor exposes correctly for multicolumn characters,
2360 no matter which cell the cursor is in. Fix autoscrolling boundary
2361 checks for when allocation.y != 0.
2364 * src/vte.c(vte_terminal_insert_char): Wrap correctly to avoid screwing
2365 up multicolumn characters.
2368 * src/vte.c: Get smarter about when it's necessary to start messing
2369 with our adjustments (Red Hat #73091). Change the way we clear the
2370 screen so that all of the contents of the current screen become
2374 * src/vte.c: Register VteTerminalEraseBinding with GObject as an
2376 * python/vte.defs: Update.
2377 * python/vte.overrides: Ignore vte_terminal_get_text_range().
2380 * src/vte.c: Restore the focus-in/focus-out handlers -- the defaults
2381 don't quite DTRT for us because they miss our im_context (#72946). When
2382 setting the cursor location for the input method, make the Y coordinate
2383 relative to the window, not the scrollback buffer. When resizing the
2384 scrollback buffer, clamp the cursor to the set of possible locations,
2385 not the visible locations.
2388 * src/vte.c: Initialize the pty master fd to -1 to avoid spurious
2389 window resizes on fd 0.
2390 * src/debug.c, src/debug.h: Add a "pty" debug message class.
2393 * src/iso2022.c: Fix a how'd-that-ever-work bug (not returning anything
2394 from vte_iso2022_new()), spotted by Brian Cameron.
2395 * configure.in: Use -Wall when building with gcc in maintainer mode.
2396 * src/interpret.c, src/ring.h, src/table.c, src/trie.c, src/vte.c,
2397 src/vteaccess.c: Warning cleanups.
2400 * src/vte.c: Clean up bookkeeping for mouse autoscrolling and adjustment
2401 change notifications. Reset the scrolling and insertion deltas when
2402 clearing the history.
2403 * src/interpret.c: Don't dump data on incomplete conversion errors,
2404 which we're going to retry anyway.
2405 * src/iso2022.txt: Add iso-2022-kr examples (no workee -- uses GR).
2408 * src/vte.c, src/vte.h: Add vte_terminal_copy_primary and
2409 vte_terminal_paste_primary(), because I really want to let
2410 profterm decide default values for key bindings.
2412 2002-08-28 Gustavo Noronha Silva <kov@debian.org>
2413 * configure.in (ALL_LINGUAS): added pt_BR
2416 * src/vte.c: Stop autoscrolling on button release.
2419 * src/vte.c: When autoscrolling, clamp the new boundary to what the user
2423 * src/vte.c: Implement autoscroll (Red Hat #70481).
2426 * src/vte.c: Only perform cr-lf substitutions when pasting text, not
2427 when inputting from a live user (Red Hat #72639). Bind GDK_ISO_Left_Tab
2428 to kB. Formatting changes.
2429 * termcaps/xterm: Bind kB to back-tab (Red Hat #70340).
2432 * src/vte.c: Don't tamper with the scrolling offsets -- they're updated
2433 when we handle adjustment_changed notifications. Scroll instead of just
2434 moving the cursor down when soft-wrapping to the next line. Avoid
2435 emitting adjustment_changed when only the value has changed, likewise
2436 for the value and the other fields of the adjustment.
2439 * src/vte.c: Keep cursor position and scrolling offsets from going
2440 wonky when you resize, especially on the alternate screen. Suppress
2441 duplicate adjustment_changed notifications.
2442 * src/vteapp.c: Set the MIN_SIZE geometry hints so that we can resize
2443 to unreasonably-small dimensions.
2444 * src/ring.c, src/ring.h: Add vte_ring_new_with_delta().
2447 * src/vte.c: Add padding spaces after full lines as well -- spotted by
2448 both notting and pjones.
2451 * src/vte.c: Don't deadlock when substitution fails, spotted by msw.
2454 * src/vte.c: If GDK_USE_XFT is set, check the value of GDK_USE_XFT, not
2455 VTE_USE_XFT. Spotted by hp.
2458 * src/vte.c: Heed the reverse-video setting when painting character
2459 cells again. Make selection and matching coordinates global, fixing
2460 the selecting-while-scrolling case. Prevent overdraws into the padding
2464 * src/vte.c: Make nd() move right but not wrap -- according to Strang
2465 it's undefined, but xterm doesn't wrap it. Separate do/DO from sf/SF
2466 and up/UP from sr/SR, because the scrolling behavior is supposed to be
2467 different. Add support for decset/decreset 7 (wraparound mode) and
2468 1051 (Sun keyboard). Add support for DECALN. Remove some type checks
2469 from run-time which the compiler can catch with certainty.
2471 2002-08-25 Kjartan Maraas <kmaraas@gnome.org>
2472 * configure.in: Added Norwegian (no) to ALL_LINGUAS.
2474 2002-08-25 Pablo Saratxaga <pablo@mandrakesoft.com>
2475 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
2478 * src/caps.c: Bind ENQ to "return-terminal-status".
2479 * src/iso2022.c: Fix an off-by-one which incorrectly triggered an
2481 * src/vte.c: Implement send-primary/secondary-device-attributes. Bind
2482 shift+insert to "paste PRIMARY". Guard against NULL window/icon title
2483 when telling the child app what they are. Prevent DO(), up(), and UP()
2487 * src/vteapp.c: Set geometry hints using the initial font setup.
2489 * src/vte.c, src/vte.h: Make use of the visible bell a separate option
2490 from use of the audible bell, allowing both/neither to be used. Open
2491 fonts right away again -- profterm reads the metrics right after calling
2492 set_font(), so we have to open fonts ASAP. Rework the Xft/Pango/Xlib
2493 decision code to be more consistent. Watch for style changes and reset
2494 our font to the new style's font when we're already using the old
2497 * src/iso2022.c(vte_iso2022_substitute): Take a vte_table as an
2498 additional argument, and don't mess with text that's part of a control
2499 sequence, even if it's in shifted-out text.
2500 * src/table.c(vte_table_match): Speed up for the no-arguments-requested
2501 case, which just became much more common.
2503 * src/vte.c(vte_terminal_draw_rows): Cap the maximum number of
2504 characters we draw in a single call to vte_terminal_draw_cells at a
2507 * src/table.c: Don't overwrite the original pattern pointers before
2508 freeing the old value.
2509 * src/vte.c: Use the same pango context whenever possible, to save on
2510 PangoX startup time.
2512 * src/vte.c: Unref the output channel one more time when we're done
2513 sending data to the child. Free the background data GDK property when
2514 we're finished with it. Don't retrieve the pango context when drawing
2515 unless Xft has already been disabled. Don't try to use the pango layout
2516 to draw unless it's valid. Don't try to use the XftDraw item to draw
2519 * src/vte.c: Dispose of the updated substitution context properly when
2520 processing blocks of input text. Spotted by Arjan van de Ven.
2522 * src/ring.c: Debug when rows get freed.
2523 * src/vte.c: Maybe-release pango contexts after unreffing layouts which
2524 refer to them. Decide on how we want to draw fonts before deciding
2525 which fonts to draw, to avoid spurious font loading. Remove output tags
2526 when the output tag's callback is about to return FALSE.
2528 * src/vte.c: Don't leak the hintstyle and rgba settings. Patch from
2529 Arjan van de Ven. Free PangoX contexts when we're done with them,
2530 spotted by Arjan van de Ven.
2532 * src/vte.c: Load fonts just-in-time to avoid spurious reloads. Don't
2533 override the focus_in and focus_out event handlers -- the defaults DTRT.
2534 * src/debug.c, src/debug.h: Add a RING debug class.
2536 * src/iso2022.c: Handle override maps which don't affect the font
2537 palette correctly, resetting at newlines and escape marks. Process
2538 bogon data correctly.
2539 * src/iso2022.txt: Add some sample text.
2541 * src/vte.c: Fixup some fontconfig/Xft mixups. Set the hint style
2542 instead of hinting when reading the GTK hint style setting (spotted
2543 by katzj and otaylor).
2545 * src/vte.h, src/vte.c: Use gssize instead of ssize_t. Perform
2546 substitutions while processing. Use PangoX contexts when we're using
2547 the PangoX fontmap and when doing PangoX rendering.
2549 * src/mkunitables.sh,src/unitable.*: Add.
2550 * src/iso2022.c, src/iso2022.h: Use unitables.
2551 * src/caps.c: Remove sequences for designating character sets. Switch
2552 to using a second passed-in buffer for storing results in case the
2553 caller doesn't want substitutions done in-place.
2554 * src/debug.c, src/debug.h: Add a substitution debug flag.
2555 * src/interpret.c: Perform substitution.
2556 * src/table.c, src/table.h: Use gssize instead of ssize_t.
2557 * src/termcap.c, src/termcap.h: Use gssize instead of ssize_t.
2558 * src/utf8echo.c: Use strtol, allowing users to specify code points in
2561 * src/vte.c(vte_terminal_configure_toplevel): repaint the entire window
2562 to ensure that any overdraw area we're not paying attention to at least
2563 gets cleared to the background.
2564 * src/vte.c(vte_terminal_locale_encoding): don't try to second-guess
2565 the local encoding, just use the current charset as returned by
2568 * src/vte.c(vte_terminal_reset): drop pending incoming data on reset.
2569 * src/vte.c: give reprocessing of pending input data a higher priority
2570 than reading it from the child to prevent backlogs on corrupt or invalid
2571 multibyte data from building up and whacking us exponentially.
2573 * src/vte.c(vte_sequence_handler_delete_lines): initialize lines added
2574 to the current default colors. Spotted by jrb.
2575 * src/vte.c(vte_terminal_set_font): don't try to pick up GTK Xft
2576 settings unless we're using FontConfig. Patch from otaylor.
2578 * src/vte.c: reorder set/reset processing for decset so that 1049
2579 properly represents the combination of 1047 and 1048 (#90027).
2581 * src/caps.c: properly escape a sequence which had a bare '%' in it.
2583 * src/vte.c: change Xft-related defaults match whichever version of GTK
2584 we were built with (hopefully).
2586 * src/vte.c: don't bother with cursor blinking or freezing/thawing
2587 updates when the widget isn't realized. Patch from Gustavo Giráldez.
2589 * src/vte.c: take extra steps to make sure that the cursor doesn't go
2590 back into negative scrollback space.
2592 * src/vte.c(vte_terminal_invalidate_all): rewrite.
2594 * src/vte.c(vte_terminal_paint,vte_terminal_draw_cells): fill in the
2595 background color when drawing the cursor, even if it's going to end up
2596 as the default background color, spotted by Peter Jones. Draw the
2597 cursor correctly if it's over a graphic character.
2599 * src/vte.c(vte_terminal_draw_cells): once again, avoid drawing NULs.
2600 * src/vte.c: add a small pad to each edge (#89048).
2601 * src/vteapp.c: handle widget padding.
2603 * src/interpret.c: look for $pkgdatadir/termcap/$TERM first, as the
2604 widget does, before consulting /etc/termcap.
2605 * src/ring.c(vte_ring_free): check for a non-NULL removal function
2607 * src/vte.c(vte_terminal_key_press): add an option for doing
2608 VT220-style or Sun/PC-style modified function keys. Default to VT220
2609 for now, though, pending feedback.
2610 * src/vte.c(vte_terminal_reset): scroll to the bottom when resetting.
2612 * src/vte.c(vte_terminal_draw_cells): don't trust XftDrawString32() to
2613 advance linearly for monospaced fonts (#90164).
2616 * src/vte.c(vte_terminal_reset): reset the default setting as well
2620 * src/vte.c(vte_terminal_draw_cells): perform Xft remapping for Xft1,
2621 switch back to PangoX.
2623 * src/vte.c(vte_terminal_set_encoding,
2624 vte_sequence_handler_local_charset): use g_get_charset() instead of
2625 nl_langinfo() to determine the default codeset, and to check if it's
2626 UTF-8. Patch from Hidetoshi Tajima.
2627 * src/vte.c(vte_terminal_set_encoding): don't leak conversion
2628 descriptors when changing the encoding fails. Patch from Hidetoshi
2630 * src/vte.c(vte_terminal_send): don't read past the converted string
2631 when performing paste substitutions.
2632 * src/vte.c: rework the straight-Pango rendering routines to call
2633 normal Pango instead of PangoX.
2634 * src/vte.c(vte_terminal_ensure_cursor): speed up the "add many cells"
2637 * src/vte.c(vte_cell_is_between): sort the two endpoints correctly and
2638 provide a boolean to control whether or not the endpoint is "in".
2639 * src/vte.c(vte_cell_draw_rows): check if a cell is selected using
2640 the right indicator.
2641 * src/vte.c(vte_terminal_get_text): when adding a newline to the end
2642 of a returned line, don't show it as being in the rightmost column.
2643 * src/vte.c(xlfd_from_pango_font_description): turn the DPI, pixel size,
2644 and added info into wildcards.
2645 * src/vte.c(vte_terminal_draw_cells): go back to drawing individual
2646 cells when using Xlib.
2647 * src/vte.c: Compute right-side padding as well as left.
2648 * src/vte.c(vte_terminal_init): disable use of PangoX by default.
2649 * src/vteapp.c: add -D to add the same patterns profterm does to test
2652 2002-08-03 Havoc Pennington <hp@redhat.com>
2654 * src/vte.c (vte_terminal_setup_background): add a gdk_flush()
2655 before the error trap pop, just for paranoia, may help with
2659 * src/vte.c(vte_terminal_send): Substitute carriage returns for
2660 newlines when pasting text to the child, fixing weird paste behavior
2661 in pico and friends.
2663 2002-08-02 Christophe Merlet <christophe@merlet.net>
2665 * configure.in: Added fr to ALL_LINGUAS.
2668 * src/pty.c, src/pty.h: Expose vte_pty_set_size() and get_size() to
2669 localize terminal ioctl usage.
2670 * src/ring.c(vte_ring_validate): Don't repeatedly compute the same
2671 value when we know it won't change.
2672 * src/vte.c(vte_wc_from_unichar): Implement for the non-STDC_ISO_10646
2673 case, heavily based on patch from Hidetoshi Tajima.
2674 * src/vte.c(vte_terminal_ensure_cursor): Don't initialize the local
2675 data unless we have to.
2676 * src/vte.c(vte_terminal_process_incoming): Don't insert NUL characters
2677 into the display, matching behavior of xterm.
2678 * src/vte.c: Clean up use of various G_PRIORITY values throughout to
2679 allow for simpler tuning. Rewrite rendering code to use per-paint
2680 PangoLayouts when they're needed, use Xft2's DrawCharSpec function when
2681 available, and to cut down on X requests. Don't paint on expose events
2682 if the window isn't realized, drawable, and at least partially visible.
2683 Don't deselect previous selection when the user clicks unless there's
2686 * src/pty.c: Include <termios.h> if available, per patch from Hidetoshi
2688 * src/trie.c: Include missing <wchar.h>, spotted by Hidetoshi Tajima.
2689 * src/vte.c: Initialize new lines created in insert_lines() to the
2690 current default attributes like al() does.
2692 * configure.in: Check for wint_t and attempt to allow compiles even
2693 when wint_t isn't defined (this type is used only debug code, so it
2694 shouldn't break anything).
2695 * src/caps.c: Remove "te" and "ti", which are logical, in the same way
2696 "so" is, from the known capabilities lists. Add a "is a key" field to
2697 the termcap list so that we don't match against keystrokes in case
2698 they're also control sequences.
2699 * src/interpret.c: Use tables instead of tries. Don't add key sequences
2701 * src/pty.c: Fix incorrect invocation in sample.
2702 * src/reaper.c: Include stdlib.h to quiet compiler warning.
2703 * src/trie.c, src/trie.h: Remove the unused precomputing routines.
2704 * src/utf8echo.c: Switch to link with tables instead of tries.
2705 * src/vte.c: Switch to using tables instead of tries. Map
2706 cursor-backward to LE instead of le, which handles parameters right.
2707 Don't add key sequences to the parsing table. Tune updates so that
2708 they occur less often when we're processing large amounts of data from
2709 the child. Add a 'status-line-changed' signal. Implement fs() and
2710 fix ts(). Add ::get_status_line() to get the contents of the status
2711 line. Obey it() when setting default tabstops. Implement
2712 cursor_next_line(), cursor_lower_left(), cursor_preceding_line(),
2713 cursor_horizontal_and_vertical_position(), erase_characters(), and
2714 insert_blank_characters(). Implement nw().
2717 * src/vte.c: Initialize new lines added for al(). Spotted by jrb.
2719 2002-07-25 Ole Laursen <olau@hardworking.dk>
2721 * configure.in: Added Danish translation.
2724 * README: Note that bold isn't broken any more.
2725 * termcaps/xterm: Note that k; was added.
2726 * src/pty.c: Set the proper number of columns in the window size.
2727 * src/ring.h: Change macro argument names to hopefully not step on
2729 * src/vte.c: Set the terminal size to the default size as specified in
2730 termcap at init-time.
2732 * src/pty.c: Add private vte_pty_set_size() function.
2733 * src/pty.c, src/pty.h: vte_pty_open() takes size arguments now.
2734 * src/vte.c: Open the PTY with the proper initial size.
2736 * src/ring.c, ring.h: Expose the ring implementation and convert several
2737 simple functions into macros.
2738 * src/vteapp.c: Pass all long options on to gtk_init().
2740 * src/vte.c: Fix realize/unrealize to be properly reversible. Use the
2741 font from the default style unless we're explicitly given one.
2742 * src/vteapp.c: Don't set base size or minimum size geometry hints when
2743 sizing the terminal widget.
2745 * src/pty.c(vte_pty_ptsname): Fix an incorrect logic check.
2747 * src/vte.c(vte_terminal_set_color_internal): If we're changing the
2748 background color, apply it to the widget's window as well, from msw.
2750 * src/vte.c: Undo the scrolling changes -- there too many combinations
2751 of circumstances that cause them to not work right.
2753 * src/vte.c: Fudge the repaint line count by one when scrolling regions
2754 to ensure that the old cursor gets repainted. Calculate the area which
2755 needs to be repainted when reverse-scrolling correctly.
2757 * src/vte.c: Implement enough of set-mode and reset-mode to allow
2758 toggling of insert mode using this sequence. Move all scrolling into
2759 vte_terminal_scroll_region and use gdk_draw_drawable to avoid repainting
2760 from scratch whenever possible.
2762 * configure.in: Actually set ALL_LINGUAS so translations get installed.
2763 * README: Document the weirdness that is cursor movement around wide
2765 * src/vte.defs: Bind set_color_bold().
2766 * src/debug.c: Suppress warnings when $VTE_DEBUG_FLAGS isn't set.
2767 * src/pty.c, src/reaper.c, src/termcap.c, src/trie.c: Provide for
2768 debug messages in the test program.
2769 * src/interpret.c, src/trie.c: Use libc stdio instead of g_print for
2770 printing what might be part of a multibyte sequence because g_print
2771 checks for validity.
2772 * src/interpret.c, src/trie.c, src/utf8echo.c, src/vte.c: Use gunichar
2773 instead of wchar_t in places where a gunichar is expected. Provide a
2774 means for converting from wchar_t to gunichar for the sake of X11 calls
2775 which want a wchar_t.
2776 * src/trie.c: Provide vte_trie_wide_encoding() for finding a giconv
2777 target which is hopefully compatible with gunichar. Likewise provide
2778 vte_trie_narrow_encoding() to find one compatible with iso-8859-1.
2779 * src/vte.c: Fall back to ISO-8859-1 if we can't set things up for the
2780 current locale encoding at startup time. Fall back to the current
2781 encoding if we can't perform a given dynamic switch.
2783 * configure.in: Set GETTEXT_PACKAGE correctly, noted by menthos.
2786 * src/vte.c (vte_terminal_set_colors): Guess at an appropriate bold
2787 version of the foreground color instead of hard-coding in a default.
2788 * src/vte.c, src/vte.h (vte_terminal_set_color_bold): Add.
2791 * src/trie.c: Correctly check for g_iconv_open() failure.
2792 * src/vte.c (vte_terminal_set_encoding): Try to give a meaningful
2793 error when g_iconv_open() fails, even though we're screwed.
2796 * src/vte.c: wrap the new Xft/fontconfig-specific code in HAVE_XFT
2797 * src/vte.c: Revert some changes in how new cells were initialized,
2798 removing various cosmetic problems.
2799 * src/vte.c (vte_terminal_process_incoming): Discard the proper number
2800 of characters when we don't recognize a sequence, previously we left
2801 one byte that should have been removed.
2803 2002-07-14 Havoc Pennington <hp@pobox.com>
2804 * src/vte.c (vte_terminal_get_cursor_position): decrement spaces
2805 as we go through the loop, it was nice and infinite.
2808 * src/vte.c (vte_terminal_get_text): Add the proper number of attribute
2809 structs to the attribute array to fix crashes which occurred when the
2810 buffer contains non-ASCII text (Red Hat #67930).
2812 * src/vte.c: Small optimization in the al() and dl() handlers. al()
2813 doesn't move the cursor, per GNU termcap docs. Check for a pixbuf in
2814 the bgfx check instead of pixmap, which was the wrong type.
2816 * src/vte.c: Add patch to heed Xft/fontconfig settings as kept by GTK.
2817 Based on patch from otaylor.
2819 * src/slowcat.c: Added.
2820 * src/vteapp.c: Add -a/-b flags to control audible bell and blinking
2821 cursors. Only send "pwd" as an initial command if there wasn't a
2822 command specified on the command line. Add a simple help message.
2823 * src/vte.c: Bind F13-F35 per termcap. Treat GDK_KP_Delete as
2824 GDK_Delete. Map Ctrl+F1-F12 to F13-F24. Fix dc() to ensure that the
2825 rows stays full and that newly-added cells get the default attributes.
2826 Fix cl() to clear all rows on the screen with the default attributes
2827 (bce). Default to using Xft if available for consistency with GTK.
2829 * src/vte.c: Treat super, hyper, meta, and alt as modifiers when
2830 deciding to scroll-on-keypress. Noted by jrb.
2831 * src/vte.c: Always map \r and \n to cr and so, even when they're
2832 defined by the termcap.
2833 * src/vte.c, src/vte.h: Rework how default colors are set up, and add
2834 vte_terminal_set_color_foreground and vte_terminal_set_color_background.
2835 * src/vte.h: Remove includes for local headers which apps are not
2836 likely to never use, cleaning up the namespace a little.
2837 * python/vte.defs: Bind vte_terminal_set_color_{fore,back}ground.
2838 * src/debug.h, src/ring.h: Use G_BEGIN_DECLS/G_END_DECLS.
2839 * src/reaper.h: Use G_BEGIN_DECLS/G_END_DECLS in the right place.
2840 * src/vteapp.c: Add -B/-T flags to set background images and
2843 * src/vte.c: Make shift+button1 extend selection.
2845 * src/vte.c (vte_terminal_draw_char): Draw unicode line-drawing code
2846 points natively as we do for the GR1 support, in case the current font
2847 doesn't include glyphs for them.
2848 * src/vte.c: Test for g_iconv_open() failure properly (compare result
2849 to ((GIConv)-1), not NULL).
2850 * src/vte.c: Rework recovery from illegal sequence errors in the input
2851 stream to be much more aggressive about it.
2853 * src/vte.c: Bind F10 to "k;", not "k0".
2854 * termcaps/xterm: Add "k;" defined as F10.
2856 * src/vte.c (vte_terminal_reset_rowdata): Check for redundant resizes.
2857 * src/vte.c (vte_terminal_set_scrollback_lines): Keep the alternate
2858 screen buffer size the same as the window height, because xterm's
2859 alternate screen doesn't backscroll.
2860 * src/vte.c (vte_terminal_get_text): Don't append spaces to multicolumn
2861 characters when reading the screen's contents.
2862 * src/vte.c: Don't overexpose neighboring cells any more. Cleanups.
2863 * src/ring.h, src/ring.c: Add vte_ring_max() to read a ring's maximum
2866 * src/vte.c (vte_sequence_handler_decset_internal): Treat option 1049
2867 as a combination of 1047 and 1048.
2868 * src/vte.c (vte_terminal_finalize): When finalizing while holding the
2869 selection, throw the selection onto the clipboard without an owner so
2870 that it doesn't just disappear.
2872 * src/vte.c (vte_sequence_handler_set_title_int): Fix a logic bug
2873 that got rid of the title always, not just when conversion failed.
2875 * src/vte.c: Clear the alternate screen when switching to it.
2877 * src/vte.c: Fix refs/derefs with IOChannels and sources. Clean up
2878 I/O GIConv descriptors at finalize-time.
2880 * src/vte.c: Make cursor_visible a widget-wide (not per-screen) setting.
2882 * autogen.sh: Correct automake version check to require 1.5, heads
2883 up from Glynn Foster.
2885 * src/trie.c (vte_trie_match, vte_trie_match_x): Sort out greedy vs.
2886 non-greedy pattern matching.
2887 * src/vte.c (vte_sequence_handler_decset_internal): Make 1047 an alias
2888 for 47 (use alternate buffer), and handle cursor save/restore properly.
2890 * src/vte.c, src/vte.h (vte_terminal_fork_command): Add a parameter for
2891 passing in environment variables to add.
2892 * src/termcap.c: Preprocess out unused comment() and generate() funcs.
2893 * src/Makefile.am: Bump library version number.
2896 * configure.in, python/Makefile.am: Handle cases where pygtk isn't
2897 installed in the prefix we're configuring for.
2898 * src/Makefile.am: Link libvte to its library dependencies.
2900 * src/vteaccess.c: Stop watching for hierarchy-changed signals -- the
2901 accessible container which is our parent handles it already (from msw).
2903 * src/vteaccess.c: Re-read cursor position immediately on "cursor-moved"
2904 events, and emit the "text-caret-moved" signal then as well. Don't
2905 override the signal handlers for signals we emit, bad things can
2908 * src/vte.c: Re-read the termcap when we change emulation, because
2909 the location of the file may have changed.
2910 * src/reaper.c: Also tell the parent the child died when the child
2911 dies due to an uncaught signal.
2912 * python/vte.override (_wrap_vte_terminal_fork_command): Handle default
2913 value for the command.
2915 * python/vte.override (_wrap_vte_terminal_fork_command): implement
2917 * acinclude.m4: added AM_CHECK_PYTHON_HEADERS from pygtk
2918 * configure.in: rewrote python checks to be more robust
2919 * python/Makefile.am (CFLAGS): include @PYTHON_INCLUDES@
2921 * src/vte.c (vte_terminal_get_accessible): turn the logic around
2924 * src/vte.c: Cache the result of vte_terminal_get_accessible() and
2925 unref it at finalize-time. Add debug messages to log signals emitted
2926 by the widget. Implement vte_terminal_get_encoding and
2927 vte_terminal_get_emulation, emit signals when these change.
2928 * src/vteaccess.c: Emit a "text_caret_moved" signal when the cursor
2930 * configure.in, src/Makefile.am: Add rules for building python modules.
2932 * src/vteaccess.c (vte_terminal_accessible_get_text): accept
2933 end_offset of -1, which means "until the end".
2934 * src/vteaccess.c (vte_terminal_accessible_new): never set the
2935 description to a NULL pointer
2937 * Makefile.am, configure.in: Include gettext support.
2938 * src/vte.c, src/vte.h: Expose vte_terminal_set_encoding().
2939 * src/vte.c: Finish merging otaylor's Xft2 patch (oops). Compute
2941 * src/pty.c, src/reaper.c, src/trie.c, src/vte.c: Mark warnings for
2942 possible translation.
2944 * src/vte.c: Center characters in their cells, caching their extents.
2946 * src/vte.c, src/vte.h: Add get_cursor_position(). Remove get_snapshot()
2947 and free_shapshot().
2948 * src/vte.c: Fix a logic bug that caused us to scroll to the bottom
2949 even if the user just pressed and released a modifier key. Fix saving
2950 of the font in set_font() in most cases, where we weren't saving the
2951 new font before. Scroll-to-bottom on input method commits, which are
2952 also the result of keystrokes, when scroll-on-keystroke is enabled.
2953 * src/vteaccess.c: Rework to use get_text() and get_cursor_position()
2954 instead of get_snapshot(), so that selection and accessibility both
2955 agree on what's visible (or "visible").
2957 * configure.in: Check for pangoxft with Xft1 or Xft2, hopefully getting
2958 things right for either case. Originally from patch by andersca.
2959 * src/reaper.c, src/reaper.h: Add a singleton object to watch for
2960 SIGCHLD when child processes quit.
2961 * src/vte.c: Emit a "child-exited" signal when a child started with
2962 fork_command() exits.
2963 * src/vte.c: Make a better guess at font metrics when using Xft by
2964 measuring the extents for a string of representative characters.
2965 * src/vte.defs: Add. Not very useful yet.
2967 * src/vte.c: Implement font setting using PangoX to convert Pango
2968 font descriptions to core font xlfds for use when drawing with Xlib.
2970 * src/trie.c, src,vte.c: Finish switching iconv to g_iconv. I think
2971 this was a part of Hidetoshi Tajima's patch that I lost. Free regexes
2972 when we're done with them.
2974 * src/vte.c: Fix matching when scrolling delta isn't zero. Fix async
2975 background updating (report from Richard Neal Plana). Fix cb() and ce()
2976 when the cursor is on a line without data (needed to create it) and when
2977 cells being cleared don't exist (needed to create them) (report from
2979 * src/vte.c, src/vteaccess.c: Always free the segment when freeing
2983 * autogen.sh: Call libtoolize. (#82836)
2984 * src/vte.c: Fix stupid segfault in set_scrollback_lines. (Patch
2985 from notting.) Make another attempt to convert Pango font descriptions
2987 * src/vteapp.c: Add -c, -f, -t command-line flags for easier testing.
2990 * src/vte.c: Fix hiliting of matched strings.
2993 * src/vte.c: Filter key release events through input methods. (Patch
2994 from otaylor.) When building with gcc, use -std=c99.
2997 * autogen.sh, src/termcap.c, src/utf8echo.c, src/vte.c: Patch from
2998 Hidetoshi Tajima to fix building on Solaris systems, remove use of
2999 syntax that might be specific to gcc, and fix an overrun in
3000 vte_termcap_generate(). (#82433)
3003 * src/vte.c: Don't queue a background update if the background isn't
3007 * src/vte.c: Snip trailing whitespace off of copied lines, insert
3008 an end-of-line only when the copied line doesn't go to the right edge,
3009 don't overrun right edge, even in insert mode. Fix displaying of
3010 underlined text. Finish implementing matching.
3013 * src/vte.c: Send kI on insert key. Don't send drag events when the
3014 child has only asked for click events. Fix crashbugs in selection.
3015 When getting scroll events, send mouse 4/5 events to the child instead
3016 of performing a history scroll if the child wants mouse events. Start
3017 adding match support, merging how selection views the buffer with how
3018 matching views the buffer, though matching doesn't work yet.
3021 * src/vte.c: Don't try to draw nul characters, most fonts can't. Don't
3022 send motion-tracking events to the child unless we're dragging. Fix
3023 ce so that it works even right after startup. Make sure that repainting
3024 the entire window actually exposes the visible parts of the window. Fix
3025 tab clearing to also allow removal of the current tabstop. Implement
3026 save-mode and restore-mode. Start on reverse-video mode. Don't scroll
3027 on modifier keypress events. Rework part of clipboard copy.
3028 * termcaps/xterm: Add missing F11/F12/End keysyms to bundled xterm
3031 * src/debug.c: Add "ALL" as a debug flag, aliased to everything.
3032 * src/pty.c: Print debug info after redirecting stdio.
3033 * src/trie.c: When debugging, count only decision nodes.
3034 * src/vte.c: Fix se, for real this time. Add a mostly-ignored protected
3035 attribute. Handle am, bw, ul flags properly. Make cd clear the current
3036 line, too. Make ce fill the current default attributes through the end
3037 of the line. Handle cS. Fix cv to work when we have a scrollback
3038 buffer. Handle ll, mp. Line wrap on nd. Reset tab stops on hard
3039 reset only. Handle soft-reset and full-reset. Handle uc. Initialize
3040 scrollback line count properly. Tweak drawing of alternate 'a' to
3041 get rid of artifacts. Reset insert mode, cursor visibility, and
3042 scrolling regions when resetting.
3044 * src/vte.c: Fix IC, which should *always* be done in insert mode,
3045 from otaylor. Make delete mode do nothing.
3047 * src/vte.c: Fixes to usage of iconv, from otaylor. Remap certain
3048 characters which are missing in the current Xft font to similar
3049 characters if they are in the font, from otaylor. Change default
3050 emulation to "xterm", cleaning up confusion over what standout really
3051 means. Reorganize some internals. Complain when an application sends
3052 us a key-press sequence, as if we knew what to do with one of those.
3053 Implement bt, ct, st. Reimplement ta.
3054 * src/debug.c, src/debug.h: Added.
3056 * src/vte.c: Implement mouse motion-event and any-event tracking.
3058 * src/vte.c: Implement the rest of the special graphics characters.
3060 * src/vte.c: Finish implementing window-manipulation sequences. Rename
3061 signals to be more consistent. Add thin wrappers for emitting signals,
3062 and use them everywhere. Support pangox even when XFT isn't available.
3063 Try to provide bold text again. Add signals for most of the window
3064 manipulation control sequences. Start handling mouse button events.
3065 Hide the mouse cursor when we get keyboard events. Use a different
3066 mouse cursor if the child is mouse-aware. Handle eA() by treating it as
3068 * src/caps.c, src/caps.h: Export definitions of VTE_CAP_CSI and friends.
3070 * src/vte.c: Implement device-status-report and dec-device-status-
3071 report. Clamp location values in sequence_handler_cm() to the
3072 dimensions of the terminal window so that resize(1) will work right.
3073 Start handling window-manipulation sequences.
3075 * src/termcap.c: Export a vte_termcap_strip() function for preprocessing
3076 escape sequences and whatnot from capability values.
3077 * src/typescrypt: Removed.
3078 * src/vte.c: Pass the hard-coded xterm-specific capabilities through
3079 vte_termcap_strip(), which fixes a few weird bugs. Discard invalid
3080 might-be-control-sequence sequences, like other emulators do. Don't
3081 consider modifier keys, by themselves, to be enough to scroll-on-key.
3082 When snapshotting, actually snapshot all of a row instead of just the
3083 last character. Don't run past the end of snapshot contents when
3085 * src/vteaccess.c: Clamp offsets so that they always sort right.
3087 * src/termcap.c: Fix handling of triple-digit escaped characters,
3088 which weren't being processed right if the first digit was '1' instead
3090 * src/trie.c: Rework trie matching to return the address of the
3091 character which ended the match attempt, which should cut down on
3092 useless initial-substring checks. Fix a subtle bug which caused
3093 intermittent off-by-somenumber errors in the return address.
3094 * src/vte.c: Remove several gdk_window_scroll() calls which apparently
3095 aren't buffered. Convert invalid multibyte characters to '?' instead of
3096 just dropping them. Provide a means of setting the backspace/delete
3097 bindings. Add a poor xlfd_from_pango mapping function which would need
3098 serious work to be useful. Get rid of warnings when we're transparent
3099 and the root window pixmap isn't as big as the root window because it's
3100 been tiled. Setup bindings using the export functions. Set the default
3101 terminal size to 80x24 instead of 60x18, which was originally chosen for
3102 debugging purposes. Don't use $SHELL as the command to invoke when
3103 starting up a default command (as in the test app) -- libtool wrappers
3104 keep screwing this up. Don't limit the number of characters we skip
3105 over in invalid multibyte sequences -- sometimes that's not enough.
3106 Hook up ts/te, ks/ke sequence handlers.
3107 * src/vteaccess.h: Fix a crashbug due to mismatch between parent field
3108 in the object's structure and its inherited object's type. Fix more
3109 crash bugs due to initialization weirdness. More to go.
3111 * src/vte.c: Try @pkgdatadir@/termcap/$TERM when reading termcap files.
3112 This fixes the app on systems with no /etc/termcap, and also speeds up
3113 loads and reduces memory consumption for xterm-color at the expense of
3114 making on-the-fly emulation changes impossible. Don't xor reverse with
3115 itself when drawing characters (this broke when snapshotting was added).
3116 * termcaps/Makefile.am, termcaps/xterm-color: include a default termcap
3118 * src/termcap.c src/termcap.h: make _find_boolean return a gboolean
3122 * src/vte.c: Disconnect from toplevel window_configure events at
3125 2002-04-30 18:06 nalin
3126 * src/vte.c: Track and free idle task tags properly. Change F11 and
3127 F12 capabilities from 'k;' and 'F1' to 'F1' and 'F2'. Send a NUL on
3128 control space. (#80350) Allow setting and checking of word characters,
3129 and change select-by-word behavior to use the word character list.
3130 Emit "contents_changed" signals whenever the visible contents change,
3131 and "cursor_moved" when the cursor moves. Add snapshotting method.
3132 Scroll when auto-margin handling moves the cursor to the next line.
3133 Assume that the locale charset is actually ISO-8859-1 when we're in
3134 a UTF-8 locale, so we don't toggle from UTF-8 to UTF-8. Treat
3135 GDK_KP_Page_Up as a GDK_Page_Up, ditto for GDK_KP_Page_Down and
3136 GDK_KP_Tab and GDK_KP_Space. Add vte_terminal_get_font(). Don't bother
3137 messing with ring buffers if we're resizing them to their current sizes.
3138 * src/pty.c, src/vte.c: Return a pid from vte_terminal_fork_command().
3139 * src/vteaccess.c, src/vteaccess.h: Add VteTerminalAccessible object
3140 type. It might even work, mostly.
3142 2002-04-29 14:25 nalin
3143 * src/vte.c: Handle me() by resetting all attributes (including
3144 colors, which we weren't resetting before).
3146 2002-04-29 10:57 nalin
3147 * src/vte.c: Handle kb by treating it as a backspace. Make pangox
3148 rendering the default. Handle control-key sequences better, unless
3149 the input method is hiding the modifiers from us. Set the default
3150 TERM variable to "xterm-color".
3151 * src/vte.c src/vte.h: Get rid of vte_terminal_set_core_font().
3153 2002-04-26 19:14 nalin
3154 * src/vte.c: Punt all changes to background images and transparency
3155 to an idle task. Only insert newlines into the copy buffer when the
3156 last column in a given line doesn't have a character in it.
3157 2002-04-26 17:35 notting
3158 * src/pty.c: use execlp/execvp
3160 2002-04-26 12:09 nalin
3161 * src/Makefile.am, src/ring.c, ring.h: add a ring buffer for storing
3163 * src/vte.c: use a ring buffer instead of a GArray to hold scrollback
3164 rows. Fix a bug in that. Try to preserve what the user sees when the
3165 scrollback size changes.
3166 * src/vteapp.c: set a default scrollback buffer size of 100.
3167 2002-04-26 00:49 nalin
3168 * Makefile.am: run autogen before tagging so that the tag is always
3171 * configure.in: add pangox to the list of GTK+ 2.0 modules we link with.
3172 * src/vte.c, src/vte.h: add vte_terminal_set_scrollback_lines(), add
3173 some code to use pangox for rendering before trying core rendering,
3174 which should make font selection actually work.
3175 * vte.spec: tweak description text.
3177 2002-04-25 12:23 nalin
3179 * Makefile.am: Uncomment the tag target.
3181 2002-04-25 12:22 nalin
3183 * HACKING, Makefile.am, configure.in: Add some targets for building
3184 tarballs in a hopefully-reproducible way.
3186 2002-04-25 12:12 nalin
3188 * src/vte.c: Let GDK_USE_XFT turn on Xft as well as
3191 2002-04-25 01:45 nalin
3193 * src/vte.c: Handle decoding errors
3196 2002-04-25 00:49 nalin
3198 * vte.spec: Include pkgconfig files in the package.
3200 2002-04-25 00:43 nalin
3202 * src/vte.c: src/vte.c: Make multiple calls to
3203 set_background_transparent() and set_background_image() do the
3206 2002-04-25 00:05 nalin
3208 * src/vte.c: Reverse the sanity check in
3209 vte_terminal_set_background_image_file() so that it rejects
3210 zero-length strings, not the other way around.
3212 2002-04-24 23:54 nalin
3214 * src/trie.c: Demote some debug messages to being trie-specific
3216 * src/vte.h: Declare vte_terminal_set_core_font() for non-Xft use.
3217 * src/vte.c: Adjust idle priorities to make the terminal be more
3218 responsive. Fix a double-free that corrupted the heap on core font
3219 loads. Rework some pixbuf handling to only create new pixbufs when
3220 we need to modify what we are given. Revert a patch for profterm
3221 crackiness that's gone now.
3223 2002-04-24 20:49 nalin
3225 * README: update to-do list.
3226 * autogen.sh: remove --disable-shared.
3227 * src/pty.c: remove a memory leak.
3228 * src/termcap.c: fix a possible read-before-start-of-buffer.
3229 * src/trie.c: use iconv instead of mbrstowcs, even if it's just
3231 * src/vte.c: fix a few memory leaks. Only reset the IM context when
3232 we're realized, which is the only time we actually have an IM context.
3233 Don't create a copy of a pixbuf if we don't need to desaturate it,
3234 just ref it and use it directly.
3236 2002-04-23 19:40 nalin
3238 * src/vte.c: Display UTF-8 preedit strings properly, fix
3239 copy (no, really this time), and reset IM contexts when pasting
3242 2002-04-23 18:01 nalin
3244 * src/pty.c: Print debug messages before redirecting stdio.
3245 * src/vte.c: Fix displaying of highlighted multi-column text.
3246 Use the GTK global setting for cursor blinking to control das
3248 * src/vte.h: Remove function for setting blinking timeout.
3250 2002-04-23 15:54 nalin
3252 * src/pty.c: Fix a compile warning.
3254 2002-04-23 15:54 nalin
3256 * autogen.sh: Default to include optimization, even for debugging.
3257 * configure.in: Move AM_CONFIG_HEADER to the top.
3258 * src/pty.c: Create non-login shells by default (when argv is NULL,
3259 otherwise it's up to the caller anyway.
3260 * src/vte.c: Add mostly-complete input method support.
3261 * src/vte.h: Add vte_terminal_im_append_menuitems().
3265 * src/vte.c, src/vte.h: add vte_terminal_set_font
3269 * src/vte.c: when setting background color, use allocated color,
3270 and don't overwrite with bg of None
3274 * src/vte.c: use gdk_rgb_find_color to allocate X colors
3276 2002-04-22 16:35 nalin
3278 * src/vte.c, src/vte.h, src/vteapp.c: Add vte_terminal_feed_child() to
3279 send UTF-8 strings to the child process, and actually apply Havoc's
3280 fix right this time.
3282 2002-04-22 09:56 nalin
3284 * src/vte.c: Prevent double-free of incoming buffer
3287 2002-04-16 01:43 nalin
3290 * src/vte.c: Make blinking cursors stay on while the user is typing,
3291 desaturate images using integer math.
3293 2002-04-05 00:58 nalin
3295 * vte.spec: Add less useless descriptions.
3296 * src/vte.c: Fix an uninitialized variable and missing declaration
3299 2002-03-24 21:52 nalin
3301 * src/vte.c: Ensure that there's a data row
3302 whenever we scroll forward, fixing strangeness when I suspend and
3305 2002-03-24 19:08 nalin
3307 * src/vte.c: Copy to clipboard synchronously, which
3308 fixes a number of problems. Implement background transparency.
3310 2002-03-17 20:59 nalin
3312 * src/vte.c: Rework backgrounds to take advantage of gdk's automatic
3314 * src/vteapp.c: Try to enable transparency if no background
3317 2002-03-17 20:58 nalin
3319 * autogen.sh, configure.in: Adjust warnings used when in maintainer
3322 2002-03-17 01:15 nalin
3324 * src/vte.c: Draw the cursor as an unfilled box when the widget does
3327 2002-03-17 01:04 nalin
3329 * src/vte.c: Fix handling of scroll-on-output to always scroll when
3330 only we're at the bottom of the buffer.
3331 * src/vteapp.c: Disable scroll-on-output by default.
3333 2002-03-17 00:45 nalin
3335 * src/vte.c src/vte.h: Rework tiling of background images, and
3336 implement a blinking cursor.
3337 * src/vteapp.c: Set blinking cursor by default.
3339 2002-03-14 02:58 nalin
3341 * src/caps.c: Corrections to some xterm control sequences.
3343 2002-03-14 02:32 nalin
3345 * configure.in: Define PACKAGE correctly.
3346 * src/vte.c src/vteapp.c: Move most of the tear-down code into the
3347 widget finalize method; handle EOF and widget destruction correctly
3348 to prevent segfaults.
3350 2002-03-14 00:48 nalin
3352 * configure.in: * configure.in: Define PACKAGE.
3354 2002-03-14 00:18 nalin
3356 * configure.in: Disable gdk-pixbuf's deprecated functions.
3357 * vte.c: Discard non-ascii bytes to clear logjams that
3358 happen when we pass invalid terminal data to iconv().
3360 2002-03-13 23:07 nalin
3362 * src/iso8859mode.c, src/utf8mode.c, src/vte.c, src/vte.h:
3363 add missing includes
3364 * vte.c vte.h: implement background color setting, provide
3365 a function for setting the defaults, tile background images
3368 2002-03-13 21:12 nalin
3370 * configure.in, vte.pc.in, src/vte.c: Remove gdk-pixbuf-xlib
3371 dependency by using just gdk-pixbuf.
3372 * src/vte.c: Perform background image desaturation locally.
3374 2002-03-13 14:37 nalin
3376 * src/vte.c: Don't add the widget's allocation offsets
3377 when generating expose events.
3379 2002-03-13 14:22 nalin
3381 * src/vteapp.c: Don't try to use transparency for now.
3383 2002-03-13 13:29 andersca
3385 * src/vte.c, src/vte.h: Add more functions that profterm can use.
3387 2002-03-13 12:51 andersca
3389 * .cvsignore, vte.pc.in: Silent cvs and add gdk-pixbuf-xlib to
3390 depends in the .pc.in file
3392 2002-03-13 12:37 andersca
3394 * src/.cvsignore: Sliff sloff
3396 2002-03-13 12:37 andersca
3398 * src/.cvsignore: sssh
3400 2002-03-13 12:19 nalin
3402 * configure.in: Add gdk-pixbuf-xlib-2.0 as a module requirement.
3404 2002-03-13 01:21 nalin
3406 * src/vte.c, vte.h, vteapp.c: * vte.c: Add set_size,
3407 set_audible_bell, set_scroll_on_output, set_scroll_on_keystroke,
3408 copy_clipboard, paste_clipboard, set_background_image,
3409 set_background_image_file, and set_background_saturation. Also
3410 added a broken set_background_transparent.
3412 2002-03-12 22:35 nalin
3414 * src/vte.h: adjust the name of a declared function (was _set_size,
3417 2002-03-12 22:11 nalin
3419 * src/vte.c: Get rid of a global copy of the parent class.
3420 * vte.c: Implement ec, ic, and IC handlers.
3422 2002-03-12 22:10 nalin
3424 * src/vte.h: Fix a typo in a comment (we don't "omit" signals).
3426 2002-03-12 15:48 nalin
3428 * src/caps.c: Recognize xterm cursor-character-absolute sequence.
3429 * src/vte.c: Handle cursor-character-absolute. Change the default font
3430 to "mono" 14 point when using Xft.
3432 2002-03-12 15:22 nalin
3434 * src/vte.c: Handle the ve (cursor visible) control sequence.
3436 2002-03-12 15:19 nalin
3438 * src/vte.c: Handle dec private mode set (cursor visibility).
3440 2002-03-12 15:13 nalin
3442 * src/vte.c, src/vte.h, src/vteapp.h: fix signed/unsigned problems
3445 2002-03-11 20:29 nalin
3447 * src/vte.c: Make scroll-on-output scroll on control sequences, too.
3449 2002-03-11 20:19 nalin
3451 * src/Makefile.am, src/iso8859mode.c, src/utf8mode.c:
3452 Add simple programs for moving a terminal in and out of UTF-8 mode.
3453 * src/vte.c: Be more verbose about iconv() errors. Implement dc and DC
3454 handlers. Handle auto-wrapping (the "am" flag). Remove scrolling
3455 cheats from the al handler, which made the window jump.
3457 2002-03-11 02:39 andersca
3459 * src/vte.c: Add a finalize handler and free our title strings
3462 2002-03-11 02:05 nalin
3464 * Makefile.am, configure.in, src/vte.c, src/vte.h, src/vteapp.c:
3465 Emit "window_title_changed" and "icon_title_changed" when the
3466 titles change, and store the new values in a public field so that a
3467 handler can retrieve the values (patch from Anders Carlsson).
3469 2002-03-11 01:54 nalin
3471 * vte.pc.in: Add vte.pc, from Anders Carlsson.
3473 2002-03-11 01:47 nalin
3475 * src/vte.c: Fix a duplicate-idle-handler bug.
3477 2002-03-11 01:32 nalin
3479 * README, src/vte.c: Fix selection (except maybe the end-of-line
3482 2002-03-10 23:44 nalin
3484 * src/vte.c: Whoops, I broke selection. Fix that. Implement
3487 2002-03-10 23:08 nalin
3489 * src/vte.c: Move character rendering into a common function so
3490 that the cursor is always drawn the same as other characters (fixes
3491 previous glitches when using Xft and when the cursor was over an
3492 alternate charset character).
3494 2002-03-10 03:31 nalin
3496 * src/vte.c: Differentiate between single, double, and triple-click
3497 for selection (still need to do something with that info).
3499 2002-03-10 03:16 nalin
3501 * stamp-h.in: remove this file
3503 2002-03-10 03:15 nalin
3505 * configure.in: Don't check for pango because we never call pango
3508 2002-03-10 03:13 nalin
3510 * src/vte.c: Deselect properly when something else is inserted into
3513 2002-03-10 02:26 nalin
3515 * AUTHORS, HACKING, README, src/utf8echo.c, src/vte.c: Fix
3516 wide-character handling (now handles mid-stream encoding changes
3517 correctly). Updates to the meager docs.
3519 2002-03-09 02:41 nalin
3521 * Makefile.am, vte.spec, src/Makefile.am: Add a .spec file (make
3522 dist; rpm -ts vte*.tar.gz; rpm --rebuild) to make building a
3525 2002-03-09 02:24 nalin
3527 * src/vte.c: skip over space columns when selecting
3529 2002-03-09 02:20 nalin
3531 * src/pty.c, src/vteapp.c: Use a login shell by default.
3533 2002-03-09 02:10 nalin
3535 * src/vte.c, src/vte.h, src/vteapp.c: Rework input queueing to allow for
3536 feeding without a pty. Use gdk_window_scroll() in _al and _up
3537 handlers, and in the _do handler, because it's usually faster.
3539 2002-03-08 02:52 nalin
3541 * src/vte.c: Implement copy and almost-correct selection
3544 2002-03-07 21:30 nalin
3546 * src/vte.c: Use a queue for pasting data. Try to get dragging
3547 detected right (doesn't work).
3549 2002-03-05 19:21 nalin
3551 * src/vte.c: Mark the beginning of a selected area.
3553 2002-03-05 19:17 nalin
3555 * src/vte.c: Make pasting asynchronous.
3557 2002-03-05 19:07 nalin
3559 * src/vte.c: actually free clipboard data when finished with it
3561 2002-03-05 19:02 nalin
3563 * src/vte.c: Implement middle-button paste.
3565 2002-03-05 18:55 nalin
3567 * src/vte.c: Properly convert from utf-8 or wchar_t strings when
3568 sending data to the pseudo-terminal.
3570 2002-03-04 19:53 nalin
3572 * src/vte.c: Implement shift/pgup/pgdown scrolling. Make
3573 scroll-on-keypress and -on-output easier to toggle.
3575 2002-03-04 19:26 nalin
3577 * src/vte.c: Spec out the rest of the alternate characters I
3578 haven't implemented yet. Remove a function that can't be easily
3579 written (scroll_rows). Correctly update the insertion delta when
3580 scrolling, to fix man(1) again.
3582 2002-03-04 19:16 nalin
3584 * src/vte.c: Discard redundant cursor-position exposes.
3586 2002-03-04 18:57 nalin
3588 * src/termcap.c, src/termcap.h, src/vte.c: Use ssize_t to measure string
3589 offsets in termcap, and don't assume that all capabilities have
3590 values. This fixes some nasty crashes.
3592 2002-03-04 11:53 nalin
3594 * src/vte.c: add a missing bounds-check in the erase-in-row
3597 2002-03-04 01:13 nalin
3599 * README, src/vte.c: Send the slave pty's erase character when the
3600 user hits backspace.
3602 2002-03-04 00:59 nalin
3604 * src/vte.c: Draw cursors to fill the entire cell. Draw the blank
3605 alternate character (ooh, tough). Remove a redundant expose.
3607 2002-03-03 23:49 nalin
3609 * src/trie.c: stop using wcsnlen, which is a GNU extension
3611 2002-03-03 23:43 nalin
3613 * src/caps.h, src/pty.h, src/termcap.h, src/trie.h, src/vte.c,
3614 src/vte.h: Add support for the line-drawing characters in the special