diff options
| author | YAMAMOTO Mitsuharu | 2007-06-07 08:45:26 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-06-07 08:45:26 +0000 |
| commit | aa8280d3f3b60b05a6637b59e33c62c32a6a78c3 (patch) | |
| tree | abf85ff935e3cf8619ad7cf29c93934b5615536b /src/ChangeLog | |
| parent | 7adf314352a9fcd258183153d9068f73ef1d048c (diff) | |
| download | emacs-aa8280d3f3b60b05a6637b59e33c62c32a6a78c3.tar.gz emacs-aa8280d3f3b60b05a6637b59e33c62c32a6a78c3.zip | |
(mac_get_window_bounds): Move extern from macfns.c.
(FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index eb0040b371a..ae796a64db7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,78 @@ | |||
| 1 | 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | ||
| 4 | |||
| 5 | * macfns.c (mac_get_window_bounds): Move extern to macterm.h. | ||
| 6 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. | ||
| 7 | |||
| 8 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | ||
| 9 | Don't call next handler. | ||
| 10 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): | ||
| 11 | Remove argument. Install handler to application. | ||
| 12 | (set_frame_menubar): Don't change deep_p. | ||
| 13 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and | ||
| 14 | FRAME_OUTER_TO_INNER_DIFF_Y. | ||
| 15 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | ||
| 16 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | ||
| 17 | [HAVE_DIALOGS]: New macros. | ||
| 18 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): | ||
| 19 | Use them. | ||
| 20 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | ||
| 21 | |||
| 22 | * macselect.c [MAC_OSX] (install_service_handler): Rename from | ||
| 23 | init_service_handler. All callers changed. Return OSStatus value. | ||
| 24 | |||
| 25 | * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. | ||
| 26 | All callers changed so as not to call SetPortWindowPort. | ||
| 27 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | ||
| 28 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from | ||
| 29 | mac_draw_string_common. | ||
| 30 | (mac_draw_image_string_qd): Likewise. | ||
| 31 | (mac_draw_string_common): Use them. Add INLINE. | ||
| 32 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: | ||
| 33 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and | ||
| 34 | GetGlobalMouse. | ||
| 35 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X | ||
| 36 | and FRAME_OUTER_TO_INNER_DIFF_Y. | ||
| 37 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. | ||
| 38 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. | ||
| 39 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for | ||
| 40 | repositioning window to mac_handle_window_event. | ||
| 41 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for | ||
| 42 | saving window location to mac_handle_window_event | ||
| 43 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. | ||
| 44 | (install_menu_target_item_handler): Remove argument in extern. | ||
| 45 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): | ||
| 46 | Also accept command events. | ||
| 47 | (do_keystroke): New function created from XTread_socket. | ||
| 48 | (init_command_handler): Remove functions. | ||
| 49 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window | ||
| 50 | and save window location by kEventWindowShowing and kEventWindowHiding | ||
| 51 | handlers here. Don't call next handler for window state change and | ||
| 52 | focus events. | ||
| 53 | (mac_handle_application_event, mac_handle_keyboard_event) | ||
| 54 | [TARGET_API_MAC_CARBON]: New functions. | ||
| 55 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for | ||
| 56 | kEventWindowShowing and kEventWindowHiding events. Move installation | ||
| 57 | of mouse, font, text input and menu target item handlers to | ||
| 58 | install_application_handler. | ||
| 59 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. | ||
| 60 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | ||
| 61 | New function. | ||
| 62 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | ||
| 63 | Register it. | ||
| 64 | (XTread_socket) [TARGET_API_MAC_CARBON]: Consolidate | ||
| 65 | SendEventToEventTarget calls. Use FRAME_OUTER_TO_INNER_DIFF_X and | ||
| 66 | FRAME_OUTER_TO_INNER_DIFF_Y. Move application activation handler | ||
| 67 | to mac_handle_application_event. Move keyboard handler to | ||
| 68 | mac_handle_keyboard_event. | ||
| 69 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. | ||
| 70 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | ||
| 71 | init_command_handler. Call install_application_handler. | ||
| 72 | |||
| 73 | * macterm.h (mac_get_window_bounds): Move extern from macfns.c. | ||
| 74 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. | ||
| 75 | |||
| 1 | 2007-06-07 Glenn Morris <rgm@gnu.org> | 76 | 2007-06-07 Glenn Morris <rgm@gnu.org> |
| 2 | 77 | ||
| 3 | * emacs.c (main): Use `emacs-copyright' in --version output. | 78 | * emacs.c (main): Use `emacs-copyright' in --version output. |