comparison src/ChangeLog @ 90085:f8a7a9ba3d08

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-7 Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-52 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-53 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-54 Update from CVS: lisp/cus-start.el (all): Add `undo-outer-limit'. * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-55 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-57 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-58 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-7 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-8 - miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-11 Update from CVS
author Miles Bader <miles@gnu.org>
date Sat, 29 Jan 2005 00:06:24 +0000
parents befae6bafecb 41a033ce3155
children fa9654493afb
comparison
equal deleted inserted replaced
90084:befae6bafecb 90085:f8a7a9ba3d08
1 2005-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keymap.c (access_keymap): YAILOM.
4
5 2005-01-27 Kim F. Storm <storm@cua.dk>
6
7 * xdisp.c (get_phys_cursor_geometry): New function to calculate
8 phys cursor position and size for hollow cursor. Position is
9 aligned with get_glyph_string_clip_rect and ensures that a hollow
10 cursor is shown, even when the actual glyph is not visible.
11
12 * dispextern.h (get_phys_cursor_geometry): Add prototype.
13
14 * xterm.c (x_clip_to_row): Ensure y >= 0.
15 (x_draw_hollow_cursor): Use get_phys_cursor_geometry.
16
17 * w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry.
18
19 * macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry.
20
21 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * xterm.c (x_error_quitter): Add a prototype. Make it static again.
24
25 2005-01-27 Kim F. Storm <storm@cua.dk>
26
27 * xdisp.c (get_glyph_string_clip_rect): Always show a cursor
28 glyph, even when row is only partially visible and actual cursor
29 position is not visible.
30
31 2005-01-24 Richard M. Stallman <rms@gnu.org>
32
33 * xterm.c (x_error_quitter): No longer static, and moved after
34 x_error_handler.
35
1 2005-01-24 Kim F. Storm <storm@cua.dk> 36 2005-01-24 Kim F. Storm <storm@cua.dk>
2 37
3 * xdisp.c (move_it_by_lines): If we move forward after going too 38 * xdisp.c (move_it_by_lines): If we move forward after going too
4 far back, cancel move if end position is same as start position. 39 far back, cancel move if end position is same as start position.
5 40
49 Fix calculation of y. 84 Fix calculation of y.
50 85
51 2005-01-22 Steven Tamm <steventamm@mac.com> 86 2005-01-22 Steven Tamm <steventamm@mac.com>
52 87
53 * s/darwin.h: Removed PTY_ITERATION from here. 88 * s/darwin.h: Removed PTY_ITERATION from here.
54 (DARWIN): Defined. 89 (DARWIN): Define.
55 * process.c (init_process): Default process-connection-type to 90 * process.c (init_process): Default process-connection-type to
56 nil on darwin 6 or less, t if it is 7 or higher. This way the 91 nil on darwin 6 or less, t if it is 7 or higher. This way the
57 broken pty behavior is still allowed on darwin 6 for interactive 92 broken pty behavior is still allowed on darwin 6 for interactive
58 processes for people that know what they are doing. 93 processes for people that know what they are doing.
59 94
92 * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp 127 * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp
93 variable. 128 variable.
94 129
95 2005-01-20 Steven Tamm <steventamm@mac.com> 130 2005-01-20 Steven Tamm <steventamm@mac.com>
96 131
97 * editfns.c (Voperating_system_release): Added. 132 * editfns.c (Voperating_system_release): Add.
98 (init_editfns): Assign new variable operating-system-release 133 (init_editfns): Assign new variable operating-system-release
99 based on call to uname if available. 134 based on call to uname if available.
100 (get_operating_system_release): Added function to 135 (get_operating_system_release): Add function to
101 allow c-level access to operating system release. 136 allow c-level access to operating system release.
102 137
103 * config.h: Regenerated. 138 * config.h: Regenerated.
104 139
105 * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or 140 * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less.
106 less. 141 (MIN_PTY_KERNEL_VERSION): Define minimum kernel version for
107 (MIN_PTY_KERNEL_VERSION): Defined minimum kernel version for
108 using ptys as '7'. 142 using ptys as '7'.
109 143
110 2005-01-20 Kim F. Storm <storm@cua.dk> 144 2005-01-20 Kim F. Storm <storm@cua.dk>
111 145
112 * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. 146 * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean.
144 image or text, move back to start of relevant overlay or interval 178 image or text, move back to start of relevant overlay or interval
145 and continue scan from there. Simplify. 179 and continue scan from there. Simplify.
146 180
147 2005-01-17 Kim F. Storm <storm@cua.dk> 181 2005-01-17 Kim F. Storm <storm@cua.dk>
148 182
149 * dispnew.c (mode_line_string, marginal_area_string): Fix 183 * dispnew.c (mode_line_string, marginal_area_string):
150 off-by-one error in search for glyph. 184 Fix off-by-one error in search for glyph.
151 185
152 2005-01-16 Kim F. Storm <storm@cua.dk> 186 2005-01-16 Kim F. Storm <storm@cua.dk>
153 187
154 * macterm.c (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix. 188 * macterm.c (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix.
155 189
156 2005-01-16 Steven Tamm <steventamm@mac.com> 190 2005-01-16 Steven Tamm <steventamm@mac.com>
157 191
158 * macterm.c (mac_to_x_fontname): Removed spurious argument. 192 * macterm.c (mac_to_x_fontname): Remove spurious argument.
159 193
160 2005-01-16 Andreas Schwab <schwab@suse.de> 194 2005-01-16 Andreas Schwab <schwab@suse.de>
161 195
162 * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1. 196 * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1.
163 197
169 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 203 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
170 204
171 * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) 205 * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW)
172 (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES): 206 (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES):
173 New flags for readable_events. 207 New flags for readable_events.
174 (get_filtered_input_pending, readable_filtered_events): Removed. 208 (get_filtered_input_pending, readable_filtered_events): Remove.
175 (tracking_off): Call readable_events and get_input_pending with 209 (tracking_off): Call readable_events and get_input_pending with
176 flag READABLE_EVENTS_DO_TIMERS_NOW. 210 flag READABLE_EVENTS_DO_TIMERS_NOW.
177 (readable_events): Move code from old readable_filtered_events here, 211 (readable_events): Move code from old readable_filtered_events here,
178 but check new READABLE_EVENTS_* in argument flags instead of previous 212 but check new READABLE_EVENTS_* in argument flags instead of previous
179 two boolean arguments do_timers_now and filter_events. 213 two boolean arguments do_timers_now and filter_events.
209 * macfns.c (Fx_file_dialog): Save As dialog includes only the 243 * macfns.c (Fx_file_dialog): Save As dialog includes only the
210 file name in the text box. 244 file name in the text box.
211 245
212 2005-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 246 2005-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
213 247
214 * macfns.c (x_set_foreground_color, x_set_background_color): Sync 248 * macfns.c (x_set_foreground_color, x_set_background_color):
215 with xfns.c. 249 Sync with xfns.c.
216 (mac_window, x_create_tip_frame): Use XSetWindowBackground. 250 (mac_window, x_create_tip_frame): Use XSetWindowBackground.
217 * macterm.c (XSetBackground, XSetWindowBackground): New functions. 251 * macterm.c (XSetBackground, XSetWindowBackground): New functions.
218 * macterm.h (XSetBackground, XSetWindowBackground): Add externs. 252 * macterm.h (XSetBackground, XSetWindowBackground): Add externs.
219 253
220 2005-01-14 Kim F. Storm <storm@cua.dk> 254 2005-01-14 Kim F. Storm <storm@cua.dk>
267 (setup_for_ellipsis, get_next_display_element): 301 (setup_for_ellipsis, get_next_display_element):
268 Set it->dpvec_face_id to -1. 302 Set it->dpvec_face_id to -1.
269 (get_next_display_element): Test Vshow_nonbreak_escape. 303 (get_next_display_element): Test Vshow_nonbreak_escape.
270 Do not setup escape_glyph_face. 304 Do not setup escape_glyph_face.
271 Properly merge escape-glyph face or face from display table with 305 Properly merge escape-glyph face or face from display table with
272 current face for escape and control characters. Set 306 current face for escape and control characters.
273 it->dpvec_face_id to relevant face id instead of adding it to each 307 Set it->dpvec_face_id to relevant face id instead of adding it to each
274 element of display vector. 308 element of display vector.
275 (next_element_from_display_vector): If it->dpvec_face_id is set, 309 (next_element_from_display_vector): If it->dpvec_face_id is set,
276 use that instead of lface_id from glyph itself. 310 use that instead of lface_id from glyph itself.
277 311
278 2005-01-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 312 2005-01-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
292 * xmenu.c (create_and_show_popup_menu): Pass zero as button to 326 * xmenu.c (create_and_show_popup_menu): Pass zero as button to
293 gtk_menu_popup if not for_click, so callbacks for the menu are called. 327 gtk_menu_popup if not for_click, so callbacks for the menu are called.
294 328
295 * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) 329 * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar)
296 (xg_tool_bar_callback, xg_tool_bar_help_callback) 330 (xg_tool_bar_callback, xg_tool_bar_help_callback)
297 (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler 331 (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler warning.
298 warning.
299 332
300 * xselect.c (x_get_foreign_selection, x_fill_property_data) 333 * xselect.c (x_get_foreign_selection, x_fill_property_data)
301 (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with 334 (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with
302 XFLOAT_DATA to get extract number from Lisp object. 335 XFLOAT_DATA to get extract number from Lisp object.
303 336
351 (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for 384 (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for
352 size of filename string. 385 size of filename string.
353 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. 386 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise.
354 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a 387 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a
355 file dialog is in action. 388 file dialog is in action.
356 [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. Reject 389 [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise.
357 only when there are no filename items. Set background color 390 Reject only when there are no filename items. Set background color
358 before (un)highlighting the window below the dragged items. 391 before (un)highlighting the window below the dragged items.
359 (XTread_socket) [!USE_CARBON_EVENTS]: Don't call do_window_update. 392 (XTread_socket) [!USE_CARBON_EVENTS]: Don't call do_window_update.
360 393
361 2005-01-05 Romain Francoise <romain@orebokech.com> 394 2005-01-05 Romain Francoise <romain@orebokech.com>
362 395
436 469
437 2004-12-30 Kenichi Handa <handa@m17n.org> 470 2004-12-30 Kenichi Handa <handa@m17n.org>
438 471
439 * fileio.c (Finsert_file_contents): Don't use 472 * fileio.c (Finsert_file_contents): Don't use
440 current_buffer->buffer_file_coding_system even if REPLACE is 473 current_buffer->buffer_file_coding_system even if REPLACE is
441 non-nil. Call Qafter_insert_file_set_coding with the second arg 474 non-nil. Call Qafter_insert_file_set_coding with the second arg VISIT.
442 VISIT.
443 475
444 * fontset.h (struct font_info): New members space_width and 476 * fontset.h (struct font_info): New members space_width and
445 average_width. 477 average_width.
446 478
447 * frame.h (struct frame): New member space_width. 479 * frame.h (struct frame): New member space_width.
450 * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. 482 * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH.
451 483
452 * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to 484 * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to
453 fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to 485 fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to
454 fontp->space_width. 486 fontp->space_width.
455 (x_load_font): Calculate fontp->space_width and 487 (x_load_font): Calculate fontp->space_width and fontp->average_width.
456 fontp->average_width.
457 (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. 488 (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH.
458 489
459 * xdisp.c (x_produce_glyphs): Calculate tab width by 490 * xdisp.c (x_produce_glyphs): Calculate tab width by
460 FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. 491 FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH.
461 492
462 2004-12-29 Sanghyuk Suh <han9kin@mac.com> 493 2004-12-29 Sanghyuk Suh <han9kin@mac.com>
463 494
464 * macterm.c (SelectionRange): Add Xcode position apple event struct. 495 * macterm.c (SelectionRange): Add Xcode position apple event struct.
465 (do_ae_open_documents): Handle Xcode-style file position open 496 (do_ae_open_documents): Handle Xcode-style file position open events.
466 events.
467 497
468 2004-12-29 Luc Teirlinck <teirllm@auburn.edu> 498 2004-12-29 Luc Teirlinck <teirllm@auburn.edu>
469 499
470 * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Correct typo. 500 * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Correct typo.
471 501
487 (init_mac_drag_n_drop): Remove function and declaration. 517 (init_mac_drag_n_drop): Remove function and declaration.
488 (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call 518 (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call
489 init_mac_drag_n_drop. 519 init_mac_drag_n_drop.
490 (mac_do_track_drag): New function and declaration. 520 (mac_do_track_drag): New function and declaration.
491 (install_window_handler): Return OSErr value. 521 (install_window_handler): Return OSErr value.
492 (install_window_handler) [TARGET_API_MAC_CARBON]: Register 522 (install_window_handler) [TARGET_API_MAC_CARBON]:
493 handlers for tracking/receiving drag-and-drop items. 523 Register handlers for tracking/receiving drag-and-drop items.
494 (do_ae_open_documents): Generate unibyte strings for filenames. 524 (do_ae_open_documents): Generate unibyte strings for filenames.
495 (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise. Reject 525 <<<<<<< ChangeLog
496 only non-filename items. Set event modifiers. Set return value. 526 (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise.
527 Reject only non-filename items. Set event modifiers and return value.
528 =======
529 (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise.
530 Reject only non-filename items. Set event modifiers, and return value.
531 >>>>>>> 1.4187
497 532
498 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> 533 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu>
499 534
500 * coding.c (decode_coding): Fix previous change. 535 * coding.c (decode_coding): Fix previous change.
501 536
515 2004-12-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 550 2004-12-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
516 551
517 * xmenu.c (popup_get_selection): Only pop down dialogs 552 * xmenu.c (popup_get_selection): Only pop down dialogs
518 on C-g and Escape. 553 on C-g and Escape.
519 (popup_get_selection): Remove parameter down_on_keypress. 554 (popup_get_selection): Remove parameter down_on_keypress.
520 (create_and_show_popup_menu, create_and_show_dialog): Remove 555 (create_and_show_popup_menu, create_and_show_dialog):
521 parameter down_on_keypress to popup_get_selection. 556 Remove parameter down_on_keypress to popup_get_selection.
522 557
523 2004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 558 2004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
524 559
525 * dispextern.h: Change HAVE_CARBON to MAC_OS. 560 * dispextern.h: Change HAVE_CARBON to MAC_OS.
526 (struct glyph_string): Likewise. 561 (struct glyph_string): Likewise.
533 568
534 * fns.c (vector): Change MAC_OSX to MAC_OS. 569 * fns.c (vector): Change MAC_OSX to MAC_OS.
535 570
536 * frame.c (x_set_frame_parameters, x_report_frame_params) 571 * frame.c (x_set_frame_parameters, x_report_frame_params)
537 (x_set_fullscreen): Remove #ifndef HAVE_CARBON. 572 (x_set_fullscreen): Remove #ifndef HAVE_CARBON.
538 (x_set_border_width, Vdefault_frame_scroll_bars): Change 573 (x_set_border_width, Vdefault_frame_scroll_bars):
539 HAVE_CARBON to MAC_OS. 574 Change HAVE_CARBON to MAC_OS.
540 575
541 * image.c [MAC_OS]: Include sys/stat.h. 576 * image.c [MAC_OS]: Include sys/stat.h.
542 [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and 577 [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and
543 QuickTimeComponents.h. 578 QuickTimeComponents.h.
544 579
545 * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. 580 * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern.
546 [!MAC_OSX] (select): Use mac_wait_next_event. 581 [!MAC_OSX] (select): Use mac_wait_next_event.
547 [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to 582 [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes.
548 Vexec_suffixes.
549 [!MAC_OSX] (select, run_mac_command): Change `#ifdef 583 [!MAC_OSX] (select, run_mac_command): Change `#ifdef
550 TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. 584 TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'.
551 (mac_clear_font_name_table): Add extern. 585 (mac_clear_font_name_table): Add extern.
552 (Fmac_clear_font_name_table): New defun. 586 (Fmac_clear_font_name_table): New defun.
553 (syms_of_mac): Defsubr it. 587 (syms_of_mac): Defsubr it.
562 events and process outputs, without periodically polling. 596 events and process outputs, without periodically polling.
563 597
564 * macfns.c (mac_initialized): Remove extern. 598 * macfns.c (mac_initialized): Remove extern.
565 (stricmp): Put in #if 0. All callers changed to use xstricmp in 599 (stricmp): Put in #if 0. All callers changed to use xstricmp in
566 xfaces.c. 600 xfaces.c.
567 (strnicmp): Decrement `n' at the end of each loop, not the 601 (strnicmp): Decrement `n' at the end of each loop, not the beginning.
568 beginning. 602 (check_mac): Use the term "Mac native windows" instead of "Mac OS".
569 (check_mac): Use the term "Mac native windows" instead of "Mac
570 OS".
571 (check_x_display_info, x_display_info_for_name): Sync with xfns.c. 603 (check_x_display_info, x_display_info_for_name): Sync with xfns.c.
572 (mac_get_rdb_resource): New function (from w32reg.c). 604 (mac_get_rdb_resource): New function (from w32reg.c).
573 (x_get_string_resource): Use it. 605 (x_get_string_resource): Use it.
574 (install_window_handler): Add extern. 606 (install_window_handler): Add extern.
575 (mac_window): New function. 607 (mac_window): New function.
576 (Fx_create_frame): Use it instead of make_mac_frame. Set 608 (Fx_create_frame): Use it instead of make_mac_frame.
577 parameter for Qfullscreen. Call x_wm_set_size_hint. 609 Set parameter for Qfullscreen. Call x_wm_set_size_hint.
578 (Fx_open_connection, Fx_close_connection): New defuns. 610 (Fx_open_connection, Fx_close_connection): New defuns.
579 (syms_of_macfns): Defsubr them. 611 (syms_of_macfns): Defsubr them.
580 (x_create_tip_frame) [TARGET_API_MAC_CARBON]: Add 612 (x_create_tip_frame) [TARGET_API_MAC_CARBON]:
581 kWindowNoUpdatesAttribute to the window attribute. 613 Add kWindowNoUpdatesAttribute to the window attribute.
582 (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. 614 (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow.
583 (x_create_tip_frame): Don't call ShowWindow. 615 (x_create_tip_frame): Don't call ShowWindow.
584 (Fx_show_tip): Call ShowWindow. 616 (Fx_show_tip): Call ShowWindow.
585 (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if 617 (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if
586 TARGET_API_MAC_CARBON'. 618 TARGET_API_MAC_CARBON'.
587 (mac_frame_parm_handlers): Set handlers for Qfullscreen. 619 (mac_frame_parm_handlers): Set handlers for Qfullscreen.
588 (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. 620 (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0.
589 621
590 * macgui.h [!MAC_OSX]: Don't include Controls.h. Include 622 * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h.
591 Windows.h.
592 (Window): Typedef to WindowPtr and move outside `#if 623 (Window): Typedef to WindowPtr and move outside `#if
593 TARGET_API_MAC_CARBON'. 624 TARGET_API_MAC_CARBON'.
594 (XSizeHints): New struct. 625 (XSizeHints): New struct.
595 626
596 * macterm.c (x_update_begin, x_update_end) 627 * macterm.c (x_update_begin, x_update_end)
605 (activate_scroll_bars, deactivate_scroll_bars) 636 (activate_scroll_bars, deactivate_scroll_bars)
606 [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. 637 [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl.
607 (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window 638 (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window
608 if the position is neither user-specified nor program-specified. 639 if the position is neither user-specified nor program-specified.
609 (x_free_frame_resources): Free size_hints. 640 (x_free_frame_resources): Free size_hints.
610 (x_wm_set_size_hint): Allocate size_hints if needed. Set 641 <<<<<<< ChangeLog
611 size_hints. 642 (x_wm_set_size_hint): Allocate size_hints if needed.
643 Set size_hints.
644 =======
645 (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints.
646 >>>>>>> 1.4187
612 (mac_clear_font_name_table): New function. 647 (mac_clear_font_name_table): New function.
613 (mac_do_list_fonts): Initialize font_name_table if needed. 648 (mac_do_list_fonts): Initialize font_name_table if needed.
614 (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT 649 (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT
615 around mac_do_list_fonts. 650 around mac_do_list_fonts.
616 (mac_unload_font): New function. 651 (mac_unload_font): New function.
620 [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. 655 [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl.
621 (install_window_handler): Add decl. 656 (install_window_handler): Add decl.
622 (do_window_update): Add BeginUpdate/EndUpdate for the tooltip 657 (do_window_update): Add BeginUpdate/EndUpdate for the tooltip
623 window. Use UpdateControls. Get the rectangle that should be 658 window. Use UpdateControls. Get the rectangle that should be
624 updated and restrict the target of expose_frame to it. 659 updated and restrict the target of expose_frame to it.
625 (do_grow_window): Set minimum height/width according to 660 (do_grow_window): Set minimum height/width according to size_hints.
626 size_hints.
627 (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. 661 (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow.
628 (do_zoom_window): Don't use x_set_window_size. 662 (do_zoom_window): Don't use x_set_window_size.
629 [USE_CARBON_EVENTS] (mac_handle_window_event): New function. 663 [USE_CARBON_EVENTS] (mac_handle_window_event): New function.
630 (install_window_handler): New function. 664 (install_window_handler): New function.
631 [!USE_CARBON_EVENTS] (mouse_region): New variable. 665 [!USE_CARBON_EVENTS] (mouse_region): New variable.
633 (XTread_socket) [USE_CARBON_EVENTS]: Move call to 667 (XTread_socket) [USE_CARBON_EVENTS]: Move call to
634 GetEventDispatcherTarget inside BLOCK_INPUT. 668 GetEventDispatcherTarget inside BLOCK_INPUT.
635 (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. 669 (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event.
636 Update mouse_region when mouse is moved. 670 Update mouse_region when mouse is moved.
637 (make_mac_frame): Remove. 671 (make_mac_frame): Remove.
638 (make_mac_terminal_frame): Put in #ifdef MAC_OS8. Initialize 672 (make_mac_terminal_frame): Put in #ifdef MAC_OS8.
639 mouse pointer shapes. Change values of f->left_pos and 673 Initialize mouse pointer shapes. Change values of f->left_pos and
640 f->top_pos. Don't use make_mac_frame. Use NewCWindow. Don't 674 f->top_pos. Don't use make_mac_frame. Use NewCWindow.
641 call ShowWindow. 675 Don't call ShowWindow.
642 (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from 676 (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from
643 Vinvocation_name and Vsystem_name. 677 Vinvocation_name and Vsystem_name.
644 (mac_make_rdb): New function (from w32term.c). 678 (mac_make_rdb): New function (from w32term.c).
645 (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has 679 (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has
646 already been opened. Don't pass argument to 680 already been opened. Don't pass argument to
659 693
660 * xfaces.c (clear_font_table) [MAC_OS]: call mac_unload_font. 694 * xfaces.c (clear_font_table) [MAC_OS]: call mac_unload_font.
661 695
662 2004-12-27 Richard M. Stallman <rms@gnu.org> 696 2004-12-27 Richard M. Stallman <rms@gnu.org>
663 697
664 * buffer.c (Fbuffer_disable_undo): Deleted (moved to simple.el). 698 <<<<<<< ChangeLog
699 * buffer.c (Fbuffer_disable_undo): Delete (moved to simple.el).
700 =======
701 * buffer.c (Fbuffer_disable_undo): Delete (move to simple.el).
702 >>>>>>> 1.4187
665 (syms_of_buffer): Don't defsubr it. 703 (syms_of_buffer): Don't defsubr it.
666 704
667 * process.c (list_processes_1): Set undo_list instead 705 * process.c (list_processes_1): Set undo_list instead
668 of calling Fbuffer_disable_undo. 706 of calling Fbuffer_disable_undo.
669 707
670 * xdisp.c (single_display_spec_string_p): Renamed from 708 * xdisp.c (single_display_spec_string_p): Rename from
671 single_display_prop_string_p. 709 single_display_prop_string_p.
672 (single_display_spec_intangible_p): Renamed from 710 (single_display_spec_intangible_p): Rename from
673 single_display_prop_intangible_p. 711 single_display_prop_intangible_p.
674 (handle_single_display_spec): Renamed from handle_single_display_prop. 712 (handle_single_display_spec): Rename from handle_single_display_prop.
675 Rewritten to be easier to understand. 713 Rewritten to be easier to understand.
676 714
677 Change in load-history format. Functions now get (defun . NAME), 715 Change in load-history format. Functions now get (defun . NAME),
678 and variables get just NAME. 716 and variables get just NAME.
679 717
753 * keyboard.c (kbd_buffer_store_event_hold): 791 * keyboard.c (kbd_buffer_store_event_hold):
754 In the code for while-no-input, handle immediate_quit. 792 In the code for while-no-input, handle immediate_quit.
755 793
756 * alloc.c (Fgarbage_collect): Update call to truncate_undo_list. 794 * alloc.c (Fgarbage_collect): Update call to truncate_undo_list.
757 Call that at the very start. 795 Call that at the very start.
758 (undo_limit, undo_strong_limit, undo_outer_limit): Moved to undo.c. 796 (undo_limit, undo_strong_limit, undo_outer_limit): Move to undo.c.
759 (syms_of_alloc): Don't define undo-limit, 797 (syms_of_alloc): Don't define undo-limit,
760 undo-strong-limit and undo-outer-limit here. 798 undo-strong-limit and undo-outer-limit here.
761 799
762 * undo.c (truncate_undo_list): Return void. 800 * undo.c (truncate_undo_list): Return void.
763 Take just one argument, the buffer. 801 Take just one argument, the buffer.
788 * regex.c (re_match_2_internal) <symend, wordend>: 826 * regex.c (re_match_2_internal) <symend, wordend>:
789 Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. 827 Fix calls to UPDATE_SYNTAX_TABLE_FORWARD.
790 828
791 2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 829 2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
792 830
793 * macterm.c (endif, x_font_name_to_mac_font_name): Use 831 * macterm.c (endif, x_font_name_to_mac_font_name):
794 maccentraleurroman instead of maccentraleuropean 832 Use maccentraleurroman instead of maccentraleuropean
795 (mac_c_string_match, mac_do_list_fonts): Speed up font search by 833 (mac_c_string_match, mac_do_list_fonts): Speed up font search by
796 quickly finding a specific font without needing regexps. 834 quickly finding a specific font without needing regexps.
797 835
798 2004-12-15 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 836 2004-12-15 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
799 837
815 853
816 * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK. 854 * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK.
817 855
818 * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK. 856 * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK.
819 857
820 * process.c (send_process_trap, sigchld_handler): Call 858 * process.c (send_process_trap, sigchld_handler):
821 SIGNAL_THREAD_CHECK. 859 Call SIGNAL_THREAD_CHECK.
822 860
823 * data.c (arith_error): Call SIGNAL_THREAD_CHECK. 861 * data.c (arith_error): Call SIGNAL_THREAD_CHECK.
824 862
825 * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK. 863 * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK.
826 864
906 * keyboard.c (handle_async_input, input_available_signal): 944 * keyboard.c (handle_async_input, input_available_signal):
907 Add ! defined (SYSTEM_MALLOC) around thread code. 945 Add ! defined (SYSTEM_MALLOC) around thread code.
908 946
909 * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC. 947 * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC.
910 948
911 2004-12-07 Stefan <monnier@iro.umontreal.ca> 949 2004-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
912 950
913 * eval.c (init_eval_once): Increase max_specpdl_size to 1000. 951 * eval.c (init_eval_once): Increase max_specpdl_size to 1000.
914 952
915 * config.in: Regenerate. 953 * config.in: Regenerate.
916 954
2054 2092
2055 2004-10-16 Richard M. Stallman <rms@gnu.org> 2093 2004-10-16 Richard M. Stallman <rms@gnu.org>
2056 2094
2057 * window.c (Fspecial_display_p): Doc fix. 2095 * window.c (Fspecial_display_p): Doc fix.
2058 2096
2059 2004-10-15 Stefan <monnier@iro.umontreal.ca> 2097 2004-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
2060 2098
2061 * doc.c (Fsubstitute_command_keys): Fix remap-handling. 2099 * doc.c (Fsubstitute_command_keys): Fix remap-handling.
2062 Don't ignore menus, because where-is-internal already does it for us. 2100 Don't ignore menus, because where-is-internal already does it for us.
2063 2101
2064 2004-10-15 Kim F. Storm <storm@cua.dk> 2102 2004-10-15 Kim F. Storm <storm@cua.dk>