Mercurial > emacs
comparison src/ChangeLog @ 55851:f1d6a507dcfd
Support Tooltips with the Carbon emacs port.
Some code cleanup using helper macros.
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Sun, 30 May 2004 00:18:41 +0000 |
parents | e2775bcb9a2e |
children | e87259cc21fe |
comparison
equal
deleted
inserted
replaced
55850:63ca25eb73a1 | 55851:f1d6a507dcfd |
---|---|
1 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
2 | |
3 * macfns.c: Don't include ccl.h. | |
4 [MAC_OSX]: Don't include QuickTime/QuickTime.h. | |
5 [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or | |
6 TextUtils.h. | |
7 (Fx_create_frame): Sync with xfns.c. Initialize cursor | |
8 descriptors. | |
9 (Fx_display_mm_height, Fx_display_mm_width): Calculate length from | |
10 display height/width. | |
11 (compute_tip_xy, Vx_max_tooltip_size): Declare. | |
12 (unwind_create_tip_frame, compute_tip_xy): New functions. | |
13 (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. | |
14 (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, | |
15 and last_show_tip_args. | |
16 | |
17 * macgui.h [!MAC_OSX]: Include Gestalt.h. | |
18 (Cursor, No_Cursor): New defines. | |
19 [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility | |
20 macro. | |
21 [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. | |
22 | |
23 * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. | |
24 | |
25 * macterm.c: Don't include Gestalt.h. | |
26 (enum mouse_tracking_type, mouse_tracking_in_progress): Remove. | |
27 (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) | |
28 (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) | |
29 (XFillRectangle, mac_draw_rectangle, mac_draw_string_common) | |
30 (mac_copy_area, mac_copy_area_with_mask, x_update_end) | |
31 (construct_mouse_click, XTmouse_position) | |
32 (x_scroll_bar_report_motion, x_calc_absolute_position) | |
33 (do_mouse_moved, do_zoom_window, mac_do_receive_drag) | |
34 (XTread_socket, make_mac_frame): Use SetPortWindowPort. | |
35 (note_mouse_movement): Clear the mouse face and reset the pointer | |
36 shape when the pointer goes outside the frame without grabbing. | |
37 (mac_front_window): New function. | |
38 (mac_window_to_frame): New macro. | |
39 (XTmouse_position, x_scroll_bar_report_motion, do_window_update) | |
40 (do_window_activate, do_window_deactivate, do_app_resume) | |
41 (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) | |
42 (do_zoom_window, mac_do_receive_drag, XTread_socket) | |
43 (mac_check_for_quit_char): Use mac_front_window and/or | |
44 mac_window_to_frame. | |
45 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a | |
46 scroll-bar click event. | |
47 (mac_define_frame_cursor): Change the pointer shape. | |
48 (x_free_frame_resources): Reset tip_window to NULL when it is | |
49 disposed. | |
50 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. | |
51 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize | |
52 arrow_cursor. | |
53 (do_window_update): Don't do anything if the updated window is the | |
54 tooltip window. | |
55 (do_mouse_moved): Handle mouse movement events here (previously in | |
56 XTread_socket). Clear the mouse face if | |
57 dpyinfo->mouse_face_hidden is set. | |
58 (do_os_event, do_events): Remove (now in XTread_socket). | |
59 (XTread_socket): Immediately return if interrupt_input_blocked. | |
60 Loop until all the events in the queue are processed. Rearrange | |
61 codes for mouse grabbing. Add tooltip support. Include the | |
62 contents of do_os_event and do_events. Remove mouse movement | |
63 handling (now in do_mouse_moved). Add the case where | |
64 Vmouse_highlight has an integer value. | |
65 (NewMacWindow): Remove. | |
66 (make_mac_frame): Do what NewMacWindow previously did. Don't do | |
67 excess initializations. | |
68 (make_mac_terminal_frame): Previous initializations in | |
69 make_mac_frame are moved here. | |
70 (mac_initialize_display_info): Initialize | |
71 dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. | |
72 | |
73 * xdisp.c [MAC_OS] (No_Cursor): Remove variable. | |
74 (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. | |
75 | |
1 2004-05-29 Richard M. Stallman <rms@gnu.org> | 76 2004-05-29 Richard M. Stallman <rms@gnu.org> |
2 | 77 |
3 * lisp.h (truncate_undo_list): Update decl. | 78 * lisp.h (truncate_undo_list): Update decl. |
4 | 79 |
5 * alloc.c (undo_outer_limit): New variable. | 80 * alloc.c (undo_outer_limit): New variable. |