1 |
|
2004-06-02 Juanma Barranquero <lektu@terra.es> |
2 |
|
|
3 |
|
Work around bugs/problems with MinGW builds of graphics libraries |
4 |
|
called from MSVC builds of Emacs. |
5 |
|
|
6 |
|
* image.c (lookup_image): Make pointer to img static. |
7 |
|
(png_read_from_memory): Disable "global" optimization. |
8 |
|
|
9 |
2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
10 |
|
|
11 |
* mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. |
* mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. |
14 |
|
|
15 |
* macfns.c: Don't include ccl.h. |
* macfns.c: Don't include ccl.h. |
16 |
[MAC_OSX]: Don't include QuickTime/QuickTime.h. |
[MAC_OSX]: Don't include QuickTime/QuickTime.h. |
17 |
[!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, |
[!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or |
18 |
or TextUtils.h. |
TextUtils.h. |
19 |
(Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors. |
(Fx_create_frame): Sync with xfns.c. Initialize cursor |
20 |
|
descriptors. |
21 |
(Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
(Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
22 |
display height/width. |
display height/width. |
23 |
(compute_tip_xy, Vx_max_tooltip_size): Declare. |
(compute_tip_xy, Vx_max_tooltip_size): Declare. |
28 |
|
|
29 |
* macgui.h [!MAC_OSX]: Include Gestalt.h. |
* macgui.h [!MAC_OSX]: Include Gestalt.h. |
30 |
(Cursor, No_Cursor): New defines. |
(Cursor, No_Cursor): New defines. |
31 |
[!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro. |
[!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility |
32 |
|
macro. |
33 |
[!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
[!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
34 |
|
|
35 |
* macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. |
* macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. |
57 |
(x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a |
(x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a |
58 |
scroll-bar click event. |
scroll-bar click event. |
59 |
(mac_define_frame_cursor): Change the pointer shape. |
(mac_define_frame_cursor): Change the pointer shape. |
60 |
(x_free_frame_resources): Reset tip_window to NULL when it is disposed. |
(x_free_frame_resources): Reset tip_window to NULL when it is |
61 |
|
disposed. |
62 |
[!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
[!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
63 |
[!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. |
[!TARGET_API_MAC_CARBON] (do_init_managers): Initialize |
64 |
|
arrow_cursor. |
65 |
(do_window_update): Don't do anything if the updated window is the |
(do_window_update): Don't do anything if the updated window is the |
66 |
tooltip window. |
tooltip window. |
67 |
(do_mouse_moved): Handle mouse movement events here (previously in |
(do_mouse_moved): Handle mouse movement events here (previously in |
69 |
dpyinfo->mouse_face_hidden is set. |
dpyinfo->mouse_face_hidden is set. |
70 |
(do_os_event, do_events): Remove (now in XTread_socket). |
(do_os_event, do_events): Remove (now in XTread_socket). |
71 |
(XTread_socket): Immediately return if interrupt_input_blocked. |
(XTread_socket): Immediately return if interrupt_input_blocked. |
72 |
Loop until all the events in the queue are processed. |
Loop until all the events in the queue are processed. Rearrange |
73 |
Rearrange codes for mouse grabbing. Add tooltip support. Include the |
codes for mouse grabbing. Add tooltip support. Include the |
74 |
contents of do_os_event and do_events. Remove mouse movement |
contents of do_os_event and do_events. Remove mouse movement |
75 |
handling (now in do_mouse_moved). Add the case where |
handling (now in do_mouse_moved). Add the case where |
76 |
Vmouse_highlight has an integer value. |
Vmouse_highlight has an integer value. |
79 |
excess initializations. |
excess initializations. |
80 |
(make_mac_terminal_frame): Previous initializations in |
(make_mac_terminal_frame): Previous initializations in |
81 |
make_mac_frame are moved here. |
make_mac_frame are moved here. |
82 |
(mac_initialize_display_info): |
(mac_initialize_display_info): Initialize |
83 |
Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. |
dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. |
84 |
|
|
85 |
* xdisp.c [MAC_OS] (No_Cursor): Remove variable. |
* xdisp.c [MAC_OS] (No_Cursor): Remove variable. |
86 |
(define_frame_cursor1): Don't treat HAVE_CARBON as a special case. |
(define_frame_cursor1): Don't treat HAVE_CARBON as a special case. |