diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 48 | ||||
| -rw-r--r-- | src/macterm.h | 5 |
2 files changed, 53 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 68baebcebd7..d82cb3b30ec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,51 @@ | |||
| 1 | 2007-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * editfns.c (Fformat_time_string, Fdecode_time, Fencode_time) | ||
| 4 | (Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around | ||
| 5 | gmtime/localtime/emacs_memftimeu/mktime. | ||
| 6 | |||
| 7 | * mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE | ||
| 8 | instead of 'EMAx'. | ||
| 9 | [!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise. | ||
| 10 | |||
| 11 | * macgui.h (struct _XGC) [USE_CG_DRAWING | ||
| 12 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color | ||
| 13 | and cg_back_color. | ||
| 14 | |||
| 15 | * macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern. | ||
| 16 | (restore_show_help_function, menu_target_item_handler) | ||
| 17 | [TARGET_API_MAC_CARBON]: New functions. | ||
| 18 | (install_menu_target_item_handler): New function. | ||
| 19 | (add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu | ||
| 20 | item property. | ||
| 21 | |||
| 22 | * macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR) | ||
| 23 | (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND) | ||
| 24 | (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND) | ||
| 25 | (CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR) | ||
| 26 | (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros. | ||
| 27 | (mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable. | ||
| 28 | (mac_cg_color_black) [USE_CG_DRAWING | ||
| 29 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable. | ||
| 30 | (init_cg_color) [USE_CG_DRAWING]: New function. | ||
| 31 | (mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use | ||
| 32 | CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR. | ||
| 33 | (mac_erase_rectangle, mac_clear_window, mac_draw_cg_image) | ||
| 34 | (mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]: | ||
| 35 | Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or | ||
| 36 | CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR. | ||
| 37 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise. | ||
| 38 | (XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING | ||
| 39 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or | ||
| 40 | gc->cg_back_color. | ||
| 41 | (install_drag_handler, remove_drag_handler): Make extern. | ||
| 42 | (install_menu_target_item_handler): Add extern. | ||
| 43 | (install_window_handler): Call install_menu_target_item_handler. | ||
| 44 | [MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'. | ||
| 45 | (mac_initialize) [USE_CG_DRAWING]: Call init_cg_color. | ||
| 46 | |||
| 47 | * macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator. | ||
| 48 | |||
| 1 | 2007-01-04 Juanma Barranquero <lekktu@gmail.com> | 49 | 2007-01-04 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 50 | ||
| 3 | * window.c (Fwindow_end): Fix use of >= operator. | 51 | * window.c (Fwindow_end): Fix use of >= operator. |
diff --git a/src/macterm.h b/src/macterm.h index 856d349f6f7..73239c28a52 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -531,6 +531,11 @@ struct scroll_bar { | |||
| 531 | #define HOURGLASS_HEIGHT 16 | 531 | #define HOURGLASS_HEIGHT 16 |
| 532 | 532 | ||
| 533 | /* Some constants that are used locally. */ | 533 | /* Some constants that are used locally. */ |
| 534 | /* Creator code for Emacs on Mac OS. */ | ||
| 535 | enum { | ||
| 536 | MAC_EMACS_CREATOR_CODE = 'EMAx' | ||
| 537 | }; | ||
| 538 | |||
| 534 | /* Apple event descriptor types */ | 539 | /* Apple event descriptor types */ |
| 535 | enum { | 540 | enum { |
| 536 | TYPE_FILE_NAME = 'fNam' | 541 | TYPE_FILE_NAME = 'fNam' |