Mercurial > emacs
comparison mac/ChangeLog @ 44890:01b93e5e53a7
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
author | Andrew Choi <akochoi@shaw.ca> |
---|---|
date | Fri, 26 Apr 2002 23:39:06 +0000 |
parents | 16844ffdcd03 |
children | 2198a6632b2b |
comparison
equal
deleted
inserted
replaced
44889:e3b9f45140a5 | 44890:01b93e5e53a7 |
---|---|
1 2002-04-13 Andrew Choi <akochoi@shaw.ca> | |
2 | |
3 * Emacs.app/Contents/Info.plist: New file. | |
4 | |
5 * Emacs.app/Contents/PkgInfo: New file. | |
6 | |
7 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings: | |
8 New file. | |
9 | |
10 * cw5-mcp.xml: Remove file. | |
11 | |
12 * inc/defs-cw5.h: Remove file. | |
13 | |
14 * cw6-mcp.xml: Update with new version. | |
15 | |
16 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition | |
17 of constant CODEWARRIOR_VERSION_6. | |
18 | |
19 * mac/src/mac.c: | |
20 * mac/src/macmenu.c: | |
21 * mac/src/macterm.c: | |
22 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6. | |
23 | |
24 * src/Carbon.r: New File. | |
25 | |
26 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of | |
27 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and | |
28 macterm.h. Generate DOC from .el instead of .elc versions of | |
29 files listed in DONTCOMPILE in lisp/Makefile.in. | |
30 | |
31 * INSTALL: Add installation instructions for Mac OS X. | |
32 | |
33 * README: Add information for Mac OS X. | |
34 | |
35 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c, | |
36 src/macterm.c, inc/macterm.h: Remove from here and move to src. | |
37 | |
38 2002-04-12 Andrew Choi <akochoi@shaw.ca> | |
39 | |
40 * src/mac.c (select): Under Carbon, always return true so | |
41 XTread_socket is called to poll input. | |
42 (run_mac_command): Not implemented under Carbon. | |
43 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to | |
44 establish pathname. | |
45 (do_applescript): Use Carbon routines AEGetDescDatASize and | |
46 AEGetDescData. | |
47 (Fmac_paste_function): Use Carbon routines GetCurrentScrap, | |
48 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData. | |
49 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap, | |
50 GetCurrentScrap, and PutScrapFlavor. | |
51 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and | |
52 GetScrapFlavorFlags. | |
53 | |
54 * src/macfns.c: Synchronize with changes in w32fns.c. | |
55 [MAC_OSX]: Include Carbon headers. | |
56 (x_real_positions): Use Carbon routine GetWindowPortBounds. | |
57 (x_set_scroll_bar_width): Set width of scroll bar to 16. | |
58 (x_make_gc): Remove static qualifier. | |
59 | |
60 * src/macmenu.c: Synchronize with changes in w32menu.c. | |
61 [MAC_OSX]: Include Carbon headers. | |
62 (set_frame_menubar): Check equality of vector representation of | |
63 scroll bars using Fequal instead of EQ. | |
64 (mac_menu_show): Use Carbon routine GetWindowPort. | |
65 (mac_dialog): Likewise. | |
66 (add_menu_item): Use Carbon routines CountMenuItems, | |
67 EnableMenuItem, and DisableMenuItem. | |
68 | |
69 * src/macterm.c: Synchronize with changes in w32term.c. | |
70 [MAC_OSX]: Include Carbon headers. | |
71 (XDrawLine): Use Carbon routine GetWindowPort. | |
72 (XClearArea): Likewise. | |
73 (XClearWindow): Use Carbon routines GetWindowPort and | |
74 GetWindowPortBounds. | |
75 (mac_draw_bitmap): Use Carbon routines GetWindowPort and | |
76 GetPortPixMap. | |
77 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort. | |
78 (mac_reset_clipping): Use Carbon routine GetWindowPort. | |
79 (XFillRectangle): Likewise. | |
80 (mac_draw_rectangle): Likewise. | |
81 (mac_draw_rectangle_to_pixmap): Likewise. | |
82 (mac_draw_string_common): Likewise. | |
83 (mac_copy_area): Use Carbon routines GetWindowPort and | |
84 GetPortPixMap. | |
85 (mac_scroll_area): Use Carbon routines GetWindowPort and | |
86 GetQDGlobalsScreenBits. | |
87 (x_flush): Call Carbon routine QDFlushPortBuffer. | |
88 (x_update_end): Use Carbon routine GetWindowPort; call x_flush. | |
89 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning. | |
90 (x_draw_image_glyph_string): Likewise. | |
91 (x_draw_stretch_glyph_string): Likewise. | |
92 (construct_mouse_click): Call Carbon routine GetWindowPort. | |
93 (note_mouse_movement): Call Carbon routine GetWindowPortBounds. | |
94 (XTmouse_position): Call Carbon routine GetWindowPort. | |
95 (x_scroll_bar_create): Create scroll bar with proc | |
96 kControlScrollBarProc. | |
97 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16. | |
98 (activate_scroll_bar): Call ActivateControl instead of | |
99 SetControlMaximum. | |
100 (deactivate_scroll_bar): Call DeactivateControl instead of | |
101 SetControlMaximum. | |
102 (x_scroll_bar_handle_click): Use default case for scroll | |
103 indicator. | |
104 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort. | |
105 (x_calc_absolute_position): Call Carbon routines GetWindowPort and | |
106 GetWindowPortBounds. | |
107 (init_font_name_table): Call Carbon Font Manager routines to | |
108 iterate through all fonts. | |
109 (XLoadQueryFont): Call Carbon routines GetPortTextFont, | |
110 GetPortTextSize, and GetPortTextFace. | |
111 (do_init_managers): Do not initialize Mac Toolbox under Carbon. | |
112 (is_emacs_window): New function to filter out non-Emacs windows | |
113 passed back by WaitNextEvent. | |
114 (do_mouse_moved): Call Carbon routine GetWindowPort. | |
115 (do_apple_menu): No apple menu handler under Carbon. | |
116 (do_zoom_window): Call Carbon routines GetWindowPort, | |
117 GetQDGlobalsScreenBits, SetWindowStandardState, and | |
118 GetWindowPortBounds. | |
119 (init_required_apple_events): Use UPP procedure type converter. | |
120 (main): Don't define for Carbon version. | |
121 (XTread_socket): Don't check interrupt_input_blocked. Don't call | |
122 check_alarm. Call Carbon routines GetWindowPort, | |
123 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect. | |
124 (NewMacWindow): Set making_terminal_window to 0. Call Carbon | |
125 routine GetWindowPort. | |
126 (mac_initialize): Rename from x_initialize. Use new Doc string | |
127 format. | |
128 | |
129 * inc/macterm.h: Synchronize with changes in w32term.h. | |
130 | |
131 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of | |
132 WindowPtr. | |
133 | |
1 2002-01-28 Kim F. Storm <storm@cua.dk> | 134 2002-01-28 Kim F. Storm <storm@cua.dk> |
2 | 135 |
3 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if | 136 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if |
4 cursor row is invisible. This can happen if cursor is on top line | 137 cursor row is invisible. This can happen if cursor is on top line |
5 of a window, and we switch to a buffer with a header line. | 138 of a window, and we switch to a buffer with a header line. |