Mercurial > emacs
comparison src/ChangeLog @ 104235:b729d024f6dc
* cmds.c (nonundocount): New global variable.
(keys_of_cmds): Initialize it.
(Fself_insert_command): Use it to combine upto 20 sequential chars
into a single undo entry, just like the Qself_insert_command code in
keyboard.c does.
Call frame_make_pointer_invisible, also like the Qself_insert_command
code in keyboard.c does.
* keyboard.c (command_loop_1): Use the new global nonundocount rather
than its own local replacement for it.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 12 Aug 2009 05:07:48 +0000 |
parents | 2b13858c8a2f |
children | 985e25a22139 |
comparison
equal
deleted
inserted
replaced
104234:e2940cb3d84e | 104235:b729d024f6dc |
---|---|
1 2009-08-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
2 | |
3 * cmds.c (nonundocount): New global variable. | |
4 (keys_of_cmds): Initialize it. | |
5 (Fself_insert_command): Use it to combine upto 20 sequential chars | |
6 into a single undo entry, just like the Qself_insert_command code in | |
7 keyboard.c does. | |
8 Call frame_make_pointer_invisible, also like the Qself_insert_command | |
9 code in keyboard.c does. | |
10 * keyboard.c (command_loop_1): Use the new global nonundocount rather | |
11 than its own local replacement for it. | |
12 | |
1 2009-08-10 Ken Raeburn <raeburn@raeburn.org> | 13 2009-08-10 Ken Raeburn <raeburn@raeburn.org> |
2 | 14 |
3 * fns.c (concat): Don't re-set string length to its current | 15 * fns.c (concat): Don't re-set string length to its current value. |
4 value. | 16 |
5 | 17 * coding.h (decode_coding_string, encode_coding_string): |
6 * coding.h (decode_coding_string, encode_coding_string): Use | 18 Use SBYTES macro. |
7 SBYTES macro. | 19 |
8 | 20 * doprnt.c (doprnt_lisp): Delete unused function. |
9 * doprnt.c (doprnt_lisp): Unused function deleted. | |
10 (doprnt): Merge with doprnt1, discarding lispstrings code. | 21 (doprnt): Merge with doprnt1, discarding lispstrings code. |
11 * lisp.h (doprnt_lisp): Don't declare. | 22 * lisp.h (doprnt_lisp): Don't declare. |
12 | 23 |
13 2009-08-07 Juri Linkov <juri@jurta.org> | 24 2009-08-07 Juri Linkov <juri@jurta.org> |
14 | 25 |
60 | 71 |
61 * xterm.c (x_term_init): Use Qx. | 72 * xterm.c (x_term_init): Use Qx. |
62 | 73 |
63 * nsfont.m (nsfont_draw): Revert 2009-07-15 change. | 74 * nsfont.m (nsfont_draw): Revert 2009-07-15 change. |
64 | 75 |
65 * nsterm.m (ns_maybe_dumpglyphs_background): Revert 2009-07-15 | 76 * nsterm.m (ns_maybe_dumpglyphs_background): Revert 2009-07-15 change. |
66 change. | |
67 (ns_get_color): Revert 2009-07-16 change. | 77 (ns_get_color): Revert 2009-07-16 change. |
68 | 78 |
69 2009-07-25 Eli Zaretskii <eliz@gnu.org> | 79 2009-07-25 Eli Zaretskii <eliz@gnu.org> |
70 | 80 |
71 * lread.c (syms_of_lread) <force_load_messages>: New variable. | 81 * lread.c (syms_of_lread) <force_load_messages>: New variable. |
72 (Fload): Use it to force load messages, even if NOMESSAGES is | 82 (Fload): Use it to force load messages, even if NOMESSAGES is non-nil. |
73 non-nil. | |
74 | 83 |
75 2009-07-25 Ken Raeburn <raeburn@raeburn.org> | 84 2009-07-25 Ken Raeburn <raeburn@raeburn.org> |
76 | 85 |
77 * coding.h (decode_coding_string, encode_coding_string): Use | 86 * coding.h (decode_coding_string, encode_coding_string): |
78 SCHARS macro. | 87 Use SCHARS macro. |
79 | 88 |
80 * lread.c: Rewrite 2009-07-21 changes. | 89 * lread.c: Rewrite 2009-07-21 changes. |
81 (load_depth): Deleted. | 90 (load_depth): Delete. |
82 (Qload_in_progress): New variable. | 91 (Qload_in_progress): New variable. |
83 (load_unwind): Don't reference load_depth or load_in_progress. | 92 (load_unwind): Don't reference load_depth or load_in_progress. |
84 (Fload): Likewise; specbind Qload_in_progress instead. | 93 (Fload): Likewise; specbind Qload_in_progress instead. |
85 (init_lread): Don't initialize load_depth. | 94 (init_lread): Don't initialize load_depth. |
86 (syms_of_lread): Initialize and protect Qload_in_progress. | 95 (syms_of_lread): Initialize and protect Qload_in_progress. |
102 (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if(). | 111 (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if(). |
103 Bug 3714, possibly 3082. | 112 Bug 3714, possibly 3082. |
104 | 113 |
105 2009-07-22 Jason Rumney <jasonr@gnu.org> | 114 2009-07-22 Jason Rumney <jasonr@gnu.org> |
106 | 115 |
107 * w32fns.c (w32_wnd_proc) [WM_IME_STARTCOMPOSITION]: Position | 116 * w32fns.c (w32_wnd_proc) [WM_IME_STARTCOMPOSITION]: |
108 IME window at cursor (Bug#2570). | 117 Position IME window at cursor (Bug#2570). |
109 (w32_wnd_proc) [WM_IME_CHAR]: Release context when finished. | 118 (w32_wnd_proc) [WM_IME_CHAR]: Release context when finished. |
110 (globals_of_w32fns): Dynamically load functions required above. | 119 (globals_of_w32fns): Dynamically load functions required above. |
111 | 120 |
112 * w32term.c (w32_draw_window_cursor): Send message to reposition | 121 * w32term.c (w32_draw_window_cursor): Send message to reposition |
113 any IME window. | 122 any IME window. |
179 (font_compare): Check font_driver_preference. | 188 (font_compare): Check font_driver_preference. |
180 (font_sort_entities): The format of the first argument changed. | 189 (font_sort_entities): The format of the first argument changed. |
181 (font_delete_unmatched): Likewise. | 190 (font_delete_unmatched): Likewise. |
182 (font_list_entities): The return type changed. | 191 (font_list_entities): The return type changed. |
183 (font_select_entity): The format of the second argument changed. | 192 (font_select_entity): The format of the second argument changed. |
184 (font_find_for_lface): Adjusted for the above changes. Don't | 193 (font_find_for_lface): Adjuste for the above changes. |
185 suppress the checking of C even if the repertory supports it. | 194 Don't suppress the checking of C even if the repertory supports it. |
186 (Flist_fonts): Adjusted for the above changes. | 195 (Flist_fonts): Adjust for the above changes. |
187 | 196 |
188 * ftfont.c (ftfont_spec_pattern): New arg langname. Caller | 197 * ftfont.c (ftfont_spec_pattern): New arg langname. Change caller. |
189 changed. | 198 (ftfont_list): Adjust for the change of ftfont_spec_pattern. |
190 (ftfont_list): Adjusted for the change of ftfont_spec_pattern. | |
191 Reject a font who has adstyle property that is different from a | 199 Reject a font who has adstyle property that is different from a |
192 langname derived from registry property. | 200 langname derived from registry property. |
193 (ftfont_match): Adjusted for the change of ftfont_spec_pattern. | 201 (ftfont_match): Adjust for the change of ftfont_spec_pattern. |
194 | 202 |
195 2009-07-13 Eli Zaretskii <eliz@gnu.org> | 203 2009-07-13 Eli Zaretskii <eliz@gnu.org> |
196 | 204 |
197 * dired.c (directory_files_internal) [WINDOWSNT]: Don't make a | 205 * dired.c (directory_files_internal) [WINDOWSNT]: Don't make a |
198 local copy of dirfilename. | 206 local copy of dirfilename. |
205 * cmds.c (internal_self_insert): Check sym by SYMBOLP before | 213 * cmds.c (internal_self_insert): Check sym by SYMBOLP before |
206 calling XSYMBOL (sym). | 214 calling XSYMBOL (sym). |
207 | 215 |
208 2009-07-11 Eli Zaretskii <eliz@gnu.org> | 216 2009-07-11 Eli Zaretskii <eliz@gnu.org> |
209 | 217 |
210 * dired.c (directory_files_internal_w32_unwind) [WINDOWSNT]: New | 218 * dired.c (directory_files_internal_w32_unwind) [WINDOWSNT]: |
211 function. | 219 New function. |
212 (directory_files_internal) [WINDOWSNT]: Bind | 220 (directory_files_internal) [WINDOWSNT]: |
213 w32-get-true-file-attributes to either t or nil, depending whether | 221 Bind w32-get-true-file-attributes to either t or nil, depending whether |
214 the filesystem of the directory is fast or slow. | 222 the filesystem of the directory is fast or slow. |
215 | 223 |
216 * w32.c (logon_network_drive): Don't assume PATH is an absolute | 224 * w32.c (logon_network_drive): Don't assume PATH is an absolute |
217 file name. | 225 file name. |
218 (is_slow_fs): New function. | 226 (is_slow_fs): New function. |
230 | 238 |
231 * xftfont.c (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE. | 239 * xftfont.c (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE. |
232 | 240 |
233 2009-07-09 Eli Zaretskii <eliz@gnu.org> | 241 2009-07-09 Eli Zaretskii <eliz@gnu.org> |
234 | 242 |
235 * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc | 243 * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. |
236 fix. | |
237 | 244 |
238 * w32.c (stat): Treat UNC file names as residing on remote | 245 * w32.c (stat): Treat UNC file names as residing on remote |
239 drives. (Bug#3542) | 246 drives. (Bug#3542) |
240 | 247 |
241 2009-07-09 Kenichi Handa <handa@m17n.org> | 248 2009-07-09 Kenichi Handa <handa@m17n.org> |
282 (multibyte_char_to_unibyte): Use CHAR_TO_BYTE8 instead of checking | 289 (multibyte_char_to_unibyte): Use CHAR_TO_BYTE8 instead of checking |
283 charset_unibyte. | 290 charset_unibyte. |
284 (multibyte_char_to_unibyte_safe): Likewise. | 291 (multibyte_char_to_unibyte_safe): Likewise. |
285 (Funibyte_char_to_multibyte): Don't check charset_unibyte. | 292 (Funibyte_char_to_multibyte): Don't check charset_unibyte. |
286 | 293 |
287 * xdisp.c (get_next_display_element): Decode it->c by | 294 * xdisp.c (get_next_display_element): Decode it->c by charset_unibyte. |
288 charset_unibyte. | |
289 (x_produce_glyphs): Likewise. | 295 (x_produce_glyphs): Likewise. |
290 | 296 |
291 * .gdbinit (xcharset): Fix the treating $arg0. | 297 * .gdbinit (xcharset): Fix the treating $arg0. |
292 | 298 |
293 2009-07-04 Eli Zaretskii <eliz@gnu.org> | 299 2009-07-04 Eli Zaretskii <eliz@gnu.org> |
343 * keyboard.c (command_loop_1): Call frame_make_pointer_invisible after | 349 * keyboard.c (command_loop_1): Call frame_make_pointer_invisible after |
344 inserting a character. | 350 inserting a character. |
345 (read_avail_input): Call frame_make_pointer_visible. | 351 (read_avail_input): Call frame_make_pointer_visible. |
346 | 352 |
347 * frame.c (Vmake_pointer_invisible): New variable. | 353 * frame.c (Vmake_pointer_invisible): New variable. |
348 (frame_make_pointer_invisible, frame_make_pointer_visible): New | 354 (frame_make_pointer_invisible, frame_make_pointer_visible): |
349 functions. | 355 New functions. |
350 (syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt. | 356 (syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt. |
351 | 357 |
352 * frame.h: Declare frame_make_pointer_invisible and | 358 * frame.h: Declare frame_make_pointer_invisible and |
353 frame_make_pointer_visible. | 359 frame_make_pointer_visible. |
354 (struct frame): Add pointer_invisible. | 360 (struct frame): Add pointer_invisible. |
363 * xterm.c (handle_one_xevent): Call xg_frame_resized for USE_GTK | 369 * xterm.c (handle_one_xevent): Call xg_frame_resized for USE_GTK |
364 for MapNotify. | 370 for MapNotify. |
365 | 371 |
366 * gtkutil.c (xg_frame_set_char_size): Do not set pixel width/height | 372 * gtkutil.c (xg_frame_set_char_size): Do not set pixel width/height |
367 here or call change_frame_size. Just call flush_and_sync. | 373 here or call change_frame_size. Just call flush_and_sync. |
368 (flush_and_sync): Reintroduced. | 374 (flush_and_sync): Reintroduce. |
369 | 375 |
370 2009-07-01 Jan Djärv <jan.h.d@swipnet.se> | 376 2009-07-01 Jan Djärv <jan.h.d@swipnet.se> |
371 | 377 |
372 * xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky | 378 * xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky |
373 | 379 |
400 Only set width and height if explicitly set. | 406 Only set width and height if explicitly set. |
401 (x_set_fullscreen): Handle Qmaximized. | 407 (x_set_fullscreen): Handle Qmaximized. |
402 (x_set_font, x_figure_window_size): Do not handle fullscreen specially. | 408 (x_set_font, x_figure_window_size): Do not handle fullscreen specially. |
403 (syms_of_frame): Initialize Qmaximized. | 409 (syms_of_frame): Initialize Qmaximized. |
404 | 410 |
405 * frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED. Declare | 411 * frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED. |
406 Qfullwidth, Qfullheight, Qfullboth, Qmaximized. | 412 Declare Qfullwidth, Qfullheight, Qfullboth, Qmaximized. |
407 | 413 |
408 * xterm.c (handle_one_xevent): Remove call to x_check_fullscreen | 414 * xterm.c (handle_one_xevent): Remove call to x_check_fullscreen |
409 for Expose event. Add call to x_check_fullscreen for MapNotify event. | 415 for Expose event. Add call to x_check_fullscreen for MapNotify event. |
410 Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not | 416 Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not |
411 set gravity to NorthWestGravity when USE_GTK. | 417 set gravity to NorthWestGravity when USE_GTK. |
419 * gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove. | 425 * gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove. |
420 (xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and | 426 (xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and |
421 flush_and_sync. | 427 flush_and_sync. |
422 (xg_height_changed): New function. | 428 (xg_height_changed): New function. |
423 (xg_create_frame_widgets): Remove call to gtk_widget_set_size_request | 429 (xg_create_frame_widgets): Remove call to gtk_widget_set_size_request |
424 and gtk_window_set_policy. Set frame gravity after parsing the geometry | 430 and gtk_window_set_policy. Set frame gravity after parsing the |
425 string. | 431 geometry string. |
426 (xg_update_frame_menubar, free_frame_menubar) | 432 (xg_update_frame_menubar, free_frame_menubar) |
427 (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) | 433 (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) |
428 (update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed. | 434 (update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed. |
429 Remove calls to xg_frame_set_char_size. | 435 Remove calls to xg_frame_set_char_size. |
430 | 436 |
431 2009-07-01 Kenichi Handa <handa@m17n.org> | 437 2009-07-01 Kenichi Handa <handa@m17n.org> |
432 | 438 |
433 * keyboard.c (decode_keyboard_code): New function. | 439 * keyboard.c (decode_keyboard_code): New function. |
434 (tty_read_avail_input): Decode the input bytes if necessary. | 440 (tty_read_avail_input): Decode the input bytes if necessary. |
435 | 441 |
436 * coding.c (setup_coding_system): Initialize | 442 * coding.c (setup_coding_system): |
437 coding->carryover_bytes to 0. | 443 Initialize coding->carryover_bytes to 0. |
438 (Fset_keyboard_coding_system_internal): If CODING-SYSTEM is nil, | 444 (Fset_keyboard_coding_system_internal): If CODING-SYSTEM is nil, |
439 use Qno_conversion. | 445 use Qno_conversion. |
440 | 446 |
441 2009-07-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 447 2009-07-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
442 | 448 |
443 * Makefile.in (SOME_MACHINE_LISP): Add ../lisp/term/common-win.elc. | 449 * Makefile.in (SOME_MACHINE_LISP): Add ../lisp/term/common-win.elc. |
444 | 450 |
445 2009-06-30 Chong Yidong <cyd@stupidchicken.com> | 451 2009-06-30 Chong Yidong <cyd@stupidchicken.com> |
446 | 452 |
447 * xftfont.c (xftfont_open): Avoid passing NULL argument to | 453 * xftfont.c (xftfont_open): Avoid passing NULL argument to XftLockFace. |
448 XftLockFace. | |
449 | 454 |
450 2009-06-30 Jason Rumney <jasonr@gnu.org> | 455 2009-06-30 Jason Rumney <jasonr@gnu.org> |
451 | 456 |
452 * w32term.c (w32_initialize): Use GetModuleHandle for library that | 457 * w32term.c (w32_initialize): Use GetModuleHandle for library that |
453 is already loaded. | 458 is already loaded. |
475 | 480 |
476 2009-06-28 Chong Yidong <cyd@stupidchicken.com> | 481 2009-06-28 Chong Yidong <cyd@stupidchicken.com> |
477 | 482 |
478 * xdisp.c (start_display, handle_face_prop) | 483 * xdisp.c (start_display, handle_face_prop) |
479 (move_it_vertically_backward, cursor_row_fully_visible_p) | 484 (move_it_vertically_backward, cursor_row_fully_visible_p) |
480 (redisplay_window, try_window_id, produce_image_glyph): Delete | 485 (redisplay_window, try_window_id, produce_image_glyph): |
481 some #ifdef-ed out code chunks that are now obsolete. | 486 Delete some #ifdef-ed out code chunks that are now obsolete. |
482 | 487 |
483 * xterm.c (x_update_window_begin, x_new_focus_frame) | 488 * xterm.c (x_update_window_begin, x_new_focus_frame) |
484 (x_scroll_bar_handle_click, handle_one_xevent) | 489 (x_scroll_bar_handle_click, handle_one_xevent) |
485 (handle_one_xevent, XTread_socket, x_focus_on_frame) | 490 (handle_one_xevent, XTread_socket, x_focus_on_frame) |
486 (x_make_frame_visible, x_make_frame_invisible) | 491 (x_make_frame_visible, x_make_frame_invisible) |
548 (Qtty): New extern declaration. | 553 (Qtty): New extern declaration. |
549 (Frecenter): Only do redisplay if Vrecenter_redisplay requests it. | 554 (Frecenter): Only do redisplay if Vrecenter_redisplay requests it. |
550 | 555 |
551 2009-06-23 Jim Meyering <meyering@redhat.com> | 556 2009-06-23 Jim Meyering <meyering@redhat.com> |
552 | 557 |
553 * src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt): Use | 558 * src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt): |
554 xmalloc and xrealloc (not malloc and realloc), so subsequent heap | 559 Use xmalloc and xrealloc (not malloc and realloc), so subsequent heap |
555 pointer dereferences are guaranteed to be valid. | 560 pointer dereferences are guaranteed to be valid. |
556 | 561 |
557 2009-06-23 Kenichi Handa <handa@m17n.org> | 562 2009-06-23 Kenichi Handa <handa@m17n.org> |
558 | 563 |
559 * emacs.c (main): Call init_font (). | 564 * emacs.c (main): Call init_font (). |
603 display-strings, and after-strings (Bug#1220). | 608 display-strings, and after-strings (Bug#1220). |
604 (note_mouse_highlight): Use mouse_face_from_buffer_pos. | 609 (note_mouse_highlight): Use mouse_face_from_buffer_pos. |
605 | 610 |
606 2009-06-21 Chong Yidong <cyd@stupidchicken.com> | 611 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
607 | 612 |
608 * xdisp.c (IT_DISPLAYING_WHITESPACE): Define for | 613 * xdisp.c (IT_DISPLAYING_WHITESPACE): Define for !HAVE_WINDOW_SYSTEM. |
609 !HAVE_WINDOW_SYSTEM. | |
610 (move_it_in_display_line_to, move_it_in_display_line_to) | 614 (move_it_in_display_line_to, move_it_in_display_line_to) |
611 (display_line): Remove #ifdef HAVE_WINDOW_SYSTEM. | 615 (display_line): Remove #ifdef HAVE_WINDOW_SYSTEM. |
612 | 616 |
613 2009-06-21 Chong Yidong <cyd@stupidchicken.com> | 617 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
614 | 618 |
633 * coding.c (Ffind_coding_systems_region_internal): | 637 * coding.c (Ffind_coding_systems_region_internal): |
634 Cache checked characters. | 638 Cache checked characters. |
635 | 639 |
636 2009-06-18 Kenichi Handa <handa@m17n.org> | 640 2009-06-18 Kenichi Handa <handa@m17n.org> |
637 | 641 |
638 * coding.c (decode_coding_iso_2022): Check MSB of bytes more | 642 * coding.c (decode_coding_iso_2022): Check MSB of bytes more rigidly. |
639 rigidly. | |
640 | 643 |
641 2009-06-18 Andreas Schwab <aschwab@redhat.com> | 644 2009-06-18 Andreas Schwab <aschwab@redhat.com> |
642 | 645 |
643 * xdisp.c (redisplay_internal): Check that the frame is still | 646 * xdisp.c (redisplay_internal): Check that the frame is still |
644 live after redisplay of its windows. | 647 live after redisplay of its windows. |
758 * nsterm.m (ns_draw_window_cursor): Respect cursor_type for | 761 * nsterm.m (ns_draw_window_cursor): Respect cursor_type for |
759 nonactive windows. | 762 nonactive windows. |
760 | 763 |
761 2009-06-08 Felix Mueller <felix@enqueue.eu> (tiny change) | 764 2009-06-08 Felix Mueller <felix@enqueue.eu> (tiny change) |
762 | 765 |
763 * nsterm.m (ns_init_paths): Append path separator to INFOPATH | 766 * nsterm.m (ns_init_paths): Append path separator to INFOPATH variable. |
764 variable. | |
765 | 767 |
766 2009-06-08 Wolfgang Lux <wolfgang.lux@gmail.com> (tiny change) | 768 2009-06-08 Wolfgang Lux <wolfgang.lux@gmail.com> (tiny change) |
767 | 769 |
768 * keyboard.c (kbd_buffer_get_event): Null-check used_mouse_menu. | 770 * keyboard.c (kbd_buffer_get_event): Null-check used_mouse_menu. |
769 | 771 |
784 * w32fns.c (x_create_tip_frame): Use the uniscribe font backend if | 786 * w32fns.c (x_create_tip_frame): Use the uniscribe font backend if |
785 available. (Bug#3379) | 787 available. (Bug#3379) |
786 | 788 |
787 2009-05-29 Kenichi Handa <handa@m17n.org> | 789 2009-05-29 Kenichi Handa <handa@m17n.org> |
788 | 790 |
789 * coding.c (get_translation_table): Check | 791 * coding.c (get_translation_table): |
790 Venable_character_translation. | 792 Check Venable_character_translation. |
791 | 793 |
792 2009-05-26 David Reitter <david.reitter@gmail.com> | 794 2009-05-26 David Reitter <david.reitter@gmail.com> |
793 | 795 |
794 * nsterm.m (ns_raise_frame): Only raise frame if visible. | 796 * nsterm.m (ns_raise_frame): Only raise frame if visible. |
795 (x_make_frame_visible): Move frame to front rather than calling | 797 (x_make_frame_visible): Move frame to front rather than calling |
1042 | 1044 |
1043 * keyboard.c (Fset_input_meta_mode): Doc fix. | 1045 * keyboard.c (Fset_input_meta_mode): Doc fix. |
1044 | 1046 |
1045 * dispnew.c (Fsend_string_to_terminal): Doc fix. | 1047 * dispnew.c (Fsend_string_to_terminal): Doc fix. |
1046 | 1048 |
1047 * data.c (Fterminal_local_value, Fset_terminal_local_value): Doc | 1049 * data.c (Fterminal_local_value, Fset_terminal_local_value): Doc fixes. |
1048 fixes. | |
1049 | 1050 |
1050 * coding.c (Fterminal_coding_system): Doc fix. | 1051 * coding.c (Fterminal_coding_system): Doc fix. |
1051 | 1052 |
1052 * xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width) | 1053 * xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width) |
1053 (Fx_display_pixel_height, Fx_display_planes) | 1054 (Fx_display_pixel_height, Fx_display_planes) |
1054 (Fx_display_color_cells, Fx_server_max_request_size) | 1055 (Fx_display_color_cells, Fx_server_max_request_size) |
1055 (Fx_server_vendor, Fx_server_version, Fx_display_screens) | 1056 (Fx_server_vendor, Fx_server_version, Fx_display_screens) |
1056 (Fx_display_mm_height, Fx_display_mm_width) | 1057 (Fx_display_mm_height, Fx_display_mm_width) |
1057 (Fx_display_backing_store, Fx_display_visual_class) | 1058 (Fx_display_backing_store, Fx_display_visual_class) |
1058 (Fx_display_save_under, Fx_close_connection, Fx_synchronize): Doc | 1059 (Fx_display_save_under, Fx_close_connection, Fx_synchronize): |
1059 fixes, replacing "terminal id" with "terminal object". | 1060 Doc fixes, replacing "terminal id" with "terminal object". |
1060 (check_x_display_info): Handle terminal objects instead of | 1061 (check_x_display_info): Handle terminal objects instead of |
1061 terminal ids. | 1062 terminal ids. |
1062 | 1063 |
1063 * term.c (Ftty_display_color_p, Ftty_display_color_cells) | 1064 * term.c (Ftty_display_color_p, Ftty_display_color_cells) |
1064 (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty) | 1065 (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty) |
1065 (Fresume_tty, Vsuspend_tty_functions, Vresume_tty_functions): Doc | 1066 (Fresume_tty, Vsuspend_tty_functions, Vresume_tty_functions): |
1066 fixes, replacing "terminal id" with "terminal object". | 1067 Doc fixes, replacing "terminal id" with "terminal object". |
1067 | 1068 |
1068 2009-04-21 Kenichi Handa <handa@m17n.org> | 1069 2009-04-21 Kenichi Handa <handa@m17n.org> |
1069 | 1070 |
1070 * font.c (font_load_for_lface): Cancel previous change (bug#2994). | 1071 * font.c (font_load_for_lface): Cancel previous change (bug#2994). |
1071 (font_score): Check AVGWIDTH too. | 1072 (font_score): Check AVGWIDTH too. |
1072 | 1073 |
1073 * coding.c (decode_coding_utf_16): Reduce charbuf_end for the | 1074 * coding.c (decode_coding_utf_16): Reduce charbuf_end for the |
1074 worst case. | 1075 worst case. |
1075 (decode_coding_emacs_mule, decode_coding_iso_2022) | 1076 (decode_coding_sjis, decode_coding_big5, decode_coding_charset) |
1076 (decode_coding_sjis, decode_coding_big5, decode_coding_charset): | 1077 (decode_coding_emacs_mule, decode_coding_iso_2022): Likewise. |
1077 Likewise. | |
1078 | 1078 |
1079 2009-04-19 Jason Rumney <jasonr@gnu.org> | 1079 2009-04-19 Jason Rumney <jasonr@gnu.org> |
1080 | 1080 |
1081 The following changes fix Bug#3005 for wide glyphs on each platform, | 1081 The following changes fix Bug#3005 for wide glyphs on each platform, |
1082 without reintroducing Bug#1258 for stretch glyphs. | 1082 without reintroducing Bug#1258 for stretch glyphs. |
1092 * nsterm.m (ns_draw_window_cursor): HBAR_CURSOR width already | 1092 * nsterm.m (ns_draw_window_cursor): HBAR_CURSOR width already |
1093 correctly calculated. | 1093 correctly calculated. |
1094 | 1094 |
1095 2009-04-19 Jan Djärv <jan.h.d@swipnet.se> | 1095 2009-04-19 Jan Djärv <jan.h.d@swipnet.se> |
1096 | 1096 |
1097 * gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): Use | 1097 * gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): |
1098 G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated. | 1098 Use G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated. |
1099 (xg_initialize): Use g_type_class_ref instead of gtk_type_class which | 1099 (xg_initialize): Use g_type_class_ref instead of gtk_type_class which |
1100 is deprecated. | 1100 is deprecated. |
1101 | 1101 |
1102 2009-04-18 Andreas Schwab <schwab@linux-m68k.org> | 1102 2009-04-18 Andreas Schwab <schwab@linux-m68k.org> |
1103 | 1103 |
1139 * keyboard.c (adjust_point_for_property): Disable 2009-02-12 | 1139 * keyboard.c (adjust_point_for_property): Disable 2009-02-12 |
1140 change (Bug#3003). | 1140 change (Bug#3003). |
1141 | 1141 |
1142 2009-04-16 Kenichi Handa <handa@m17n.org> | 1142 2009-04-16 Kenichi Handa <handa@m17n.org> |
1143 | 1143 |
1144 * xfont.c (xfont_has_char): Special handling of `ja' and `ko' | 1144 * xfont.c (xfont_has_char): Special handling of `ja' and `ko' adstyle. |
1145 adstyle. | |
1146 | 1145 |
1147 * xftfont.c (xftfont_has_char): Special handling of `ja' and `ko' | 1146 * xftfont.c (xftfont_has_char): Special handling of `ja' and `ko' |
1148 adstyle. | 1147 adstyle. |
1149 | 1148 |
1150 * ftfont.c (Qja, Qko): Don't make them static. | 1149 * ftfont.c (Qja, Qko): Don't make them static. |
1151 (enum ftfont_cache_for): New enum. | 1150 (enum ftfont_cache_for): New enum. |
1152 (fc_charset_table): Undo the previous change. | 1151 (fc_charset_table): Undo the previous change. |
1153 (ftfont_get_latin1_charset): Delete it. | 1152 (ftfont_get_latin1_charset): Delete it. |
1154 (ftfont_pattern_entity): Check cache by ftfont_lookup_cache. Set | 1153 (ftfont_pattern_entity): Check cache by ftfont_lookup_cache. |
1155 FONT_SIZE_INDEX of the entity to 0 for a scalable font. For a | 1154 Set FONT_SIZE_INDEX of the entity to 0 for a scalable font. For a |
1156 non-scarable font, try to get AVERAGE_WIDTH. | 1155 non-scarable font, try to get AVERAGE_WIDTH. |
1157 (ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR. | 1156 (ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR. |
1158 Change ft_face_cache from a list of a hash-table. Don't check | 1157 Change ft_face_cache from a list of a hash-table. Don't check |
1159 `ja' and `ko' adstyle here. | 1158 `ja' and `ko' adstyle here. |
1160 (ftfont_get_fc_charset): Call ftfont_lookup_cache with | 1159 (ftfont_get_fc_charset): Call ftfont_lookup_cache with |
1161 FTFONT_CACHE_FOR_CHARET. | 1160 FTFONT_CACHE_FOR_CHARET. |
1162 (ftfont_get_charset): Undo the previous change. | 1161 (ftfont_get_charset): Undo the previous change. |
1163 (ftfont_open): Call ftfont_lookup_cache with | 1162 (ftfont_open): Call ftfont_lookup_cache with FTFONT_CACHE_FOR_FACE. |
1164 FTFONT_CACHE_FOR_FACE. | |
1165 (ftfont_close): Likewise. | 1163 (ftfont_close): Likewise. |
1166 (ftfont_has_char): Special handling of `ja' and `ko' adstyle. | 1164 (ftfont_has_char): Special handling of `ja' and `ko' adstyle. |
1167 | 1165 |
1168 * font.c (font_sort_entites): Change the meaning of the arg | 1166 * font.c (font_sort_entites): Change the meaning of the arg |
1169 BEST-ONLY. Don't optimize for VEC of lenght 1. | 1167 BEST-ONLY. Don't optimize for VEC of lenght 1. |
1218 * nsfont.m (nsfont_open): Use XHASH to make it compile with LISP_UNION. | 1216 * nsfont.m (nsfont_open): Use XHASH to make it compile with LISP_UNION. |
1219 * lisp.h (Fx_load_color_file): Declare. | 1217 * lisp.h (Fx_load_color_file): Declare. |
1220 | 1218 |
1221 2009-04-13 Kenichi Handa <handa@m17n.org> | 1219 2009-04-13 Kenichi Handa <handa@m17n.org> |
1222 | 1220 |
1223 * font.c (font_delete_unmatched): Preserve the order of list | 1221 * font.c (font_delete_unmatched): Preserve the order of list elements. |
1224 elements. | |
1225 (font_select_entity): Suppress the code to optimize for the same | 1222 (font_select_entity): Suppress the code to optimize for the same |
1226 kind of fonts. | 1223 kind of fonts. |
1227 (font_load_for_lface): Get a font that supports at least ASCII | 1224 (font_load_for_lface): Get a font that supports at least ASCII |
1228 characters. | 1225 characters. |
1229 | 1226 |
1235 bitmap fonts. | 1232 bitmap fonts. |
1236 (ftfont_lookup_cache): Handle the case that KEY is a font-entity. | 1233 (ftfont_lookup_cache): Handle the case that KEY is a font-entity. |
1237 Delete iso-8859-1 range from the charset of fonts whose adstyle is | 1234 Delete iso-8859-1 range from the charset of fonts whose adstyle is |
1238 `ko' or `ja'. | 1235 `ko' or `ja'. |
1239 (ftfont_get_fc_charset): Call ftfont_lookup_cache with ENTITY. | 1236 (ftfont_get_fc_charset): Call ftfont_lookup_cache with ENTITY. |
1240 (ftfont_get_charset): For iso8859-1, call | 1237 (ftfont_get_charset): For iso8859-1, call ftfont_get_latin1_charset. |
1241 ftfont_get_latin1_charset. | |
1242 (ftfont_list): Don't refuse a font spec with non-nil `adstyle' | 1238 (ftfont_list): Don't refuse a font spec with non-nil `adstyle' |
1243 property. | 1239 property. |
1244 (ftfont_open): Call ftfont_lookup_cache with ENTITY. | 1240 (ftfont_open): Call ftfont_lookup_cache with ENTITY. |
1245 (syms_of_ftfont): DEFSYM Qja and Qko. | 1241 (syms_of_ftfont): DEFSYM Qja and Qko. |
1246 | 1242 |
1256 2009-04-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 1252 2009-04-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1257 | 1253 |
1258 * dispnew.c (redraw_overlapping_rows): Fix detection of | 1254 * dispnew.c (redraw_overlapping_rows): Fix detection of |
1259 overlapping for topmost and bottommost rows. | 1255 overlapping for topmost and bottommost rows. |
1260 | 1256 |
1261 * ftfont.c (ftfont_text_extents): Fix calculation of | 1257 * ftfont.c (ftfont_text_extents): Fix calculation of metrics->descent. |
1262 metrics->descent. | |
1263 | 1258 |
1264 2009-04-06 Jason Rumney <jasonr@gnu.org> | 1259 2009-04-06 Jason Rumney <jasonr@gnu.org> |
1265 | 1260 |
1266 * frame.c (x_set_font): Avoid C99 mid-block variable declaration. | 1261 * frame.c (x_set_font): Avoid C99 mid-block variable declaration. |
1267 | 1262 |