Update calls to openp.
[bpt/emacs.git] / mac / ChangeLog
1 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
2
3 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
4 * src/mac.c (run_mac_command): Update calls to openp.
5
6 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
7
8 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
9
10 * src/macterm.c: Include keymap.h.
11 (note_mode_line_highlight): Use KEYMAPP.
12
13 2001-10-05 Gerd Moellmann <gerd@gnu.org>
14
15 * Branch for 21.1.
16
17 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
18
19 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
20
21 * src/macterm.c (XTread_socket): Read all pending events in the
22 event queue instead of one.
23 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
24 a script code of -smJapanese is specified.
25 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
26 encoding.
27 (init_font_name_table): Use a script code of -smJapanese instead
28 of smRoman for the second entry of a Japanese font.
29 (XLoadQueryFont): Recognize a font as having the smRoman script
30 code if its encoding is jisx0201.1976-0.
31
32 * makefile.MPW: Generate etc/DOC file from .elc files instead of
33 .el files.
34
35 * src/mac.c (stat): Don't fail for aliases.
36 (sys_open) [__MRC__]: Set file creator and type for newly-created
37 files.
38 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
39 elapsed instead of use WaitNextEvent call as a delay.
40
41 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
42
43 * src/macterm.c (init_font_name_table): Add an additional entry to
44 the font table with the script code smRoman for each Apple
45 Japanese font.
46 (XLoadQueryFont): Recognize a font as having the smRoman script
47 code even when FontToScript returns smJapanese if it is one of
48 those created above.
49
50 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
51
52 * INSTALL: Add to the note on using -opt speed in MPW the function
53 macterm.c (x_draw_hollow_cursor).
54
55 * src/macterm.c (mac_scroll_area): Call CopyBits with local
56 coordinates and portBits instead of global coordinates and
57 screenBits. Set fore color and back color to black and white,
58 respectively, before calling CopyBits.
59
60 * src/macterm.c (local_to_global_coord): Comment out.
61
62 * src/mac.c (mac-filename-to-unix): Change to
63 mac-file-name-to-posix.
64 (unix-filename-to-mac): Change to posix-file-name-to-mac.
65 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
66 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
67
68 * src/macterm.c (do_ae_open_documents): Change call to
69 mac_to_unix_pathname to mac_to_posix_pathname.
70
71 2001-07-26 Andrew Choi <akochoi@i-cable.com>
72
73 * inc/macterm.h (x_display_list): Declare extern.
74
75 2001-07-20 Pavel Janík <Pavel@Janik.cz>
76
77 * src/macterm.c (xim_open_dpy): Fix typo.
78
79 2001-06-26 Andrew Choi <akochoi@i-cable.com>
80
81 * README: Change references to SourceForge site to
82 ftp://ftp.gnu.org/gnu/mac/emacs/.
83
84 2001-05-15 Gerd Moellmann <gerd@gnu.org>
85
86 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
87
88 2001-05-15 Andrew Choi <akochoi@i-cable.com>
89
90 * src/Emacs.r: Change About box message.
91
92 * makefile.MPW: Add md5.c.x to EmacsObjects.
93
94 * src/mac.c (select): Call WaitNextEvent instead of Delay.
95 (pause): Ditto.
96 (sleep): Ditto.
97
98 * src/macterm.c (do_app_resume): Set cursor to arrow.
99 (clear_mouse_face): check for NIL Lisp object instead of null
100 pointer.
101
102 * INSTALL: Delete note on compiling Lisp files on a Unix system.
103 Add note on turning off end of line conversion.
104
105 2001-02-27 Andrew Choi <akochoi@i-cable.com>
106
107 * src/macfns.c: Rename everything containing *busy_cursor* and
108 similar to *hourglass*.
109 Change IMAGE_POSITIVE_INTEGER_VALUE to
110 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
111 (x_set_font): If font hasn't changed, avoid recomputing faces and
112 other things, as in xfns.c.
113 (Qcancel_timer): New variable.
114 (syms_of_macfns): Rename x-busy-pointer-shape to
115 x-hourglass-pointer-shape, display-busy-cursor to
116 display-hourglass, busy-cursor-delay to hourglass-delay, as in
117 xfns.c.
118 (x_set_tool_bar_lines): Modify as in xfns.c
119 (x_change_window_heights): New function.
120
121 * inc/macterm.h (struct x_output): Rename busy_cursor to
122 hourglass_cursor, busy_window to hourglass_window, busy_p to
123 hourglass_p, as in xterm.h.
124
125 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
126 safe_run_hooks, as in xmenu.c.
127
128 * src/macterm.c (do_check_ram_size): New function.
129
130 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
131 256 MB RAM.
132
133 2001-02-20 Andrew Choi <akochoi@i-cable.com>
134
135 * mac/INSTALL:
136 * mac/README:
137 * mac/cw5-mcp.xml:
138 * mac/cw6-mcp.xml:
139 * mac/inc/alloca.h:
140 * mac/inc/defs-cw5.h:
141 * mac/inc/defs-cw6.h: Added copyright notice.
142
143 2001-01-28 Andrew Choi <akochoi@i-cable.com>
144
145 * src/macterm.c (mac_font_pattern_match): Allocate three more
146 bytes to regex for '^', '$', and '\0'.
147
148 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
149 garbage collection.
150
151 * src/macfns.c (QCconversion): Replaces QCalgorithm.
152
153 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
154 image margins.
155
156 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
157 (x_draw_image_relief, x_draw_image_foreground_1)
158 (x_draw_image_glyph_string): Adapt to change of image margins.
159
160 * src/macterm.c (mac_to_x_fontname): Change charset name of
161 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
162 from ksc5601 to ksc5601.1989.
163
164 2000-12-12 Andrew Choi <akochoi@i-cable.com>
165
166 * cw5-mcp.xml: add md5.c to project.
167
168 * cw6-mcp.xml: add md5.c to project.
169
170 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
171 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
172
173 2000-11-26 Andrew Choi <akochoi@i-cable.com>
174
175 * src/macterm.c (x_handle_tool_bar_click):
176 (note_tool_bar_highlight): change references to members deleted
177 from struct frame as in xterm.c.
178
179 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
180 ~emacs/mac/bin.
181
182 2000-10-25 Andrew Choi <akochoi@i-cable.com>
183
184 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
185
186 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
187
188 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
189
190 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
191
192 2000-10-24 Andrew Choi <akochoi@i-cable.com>
193
194 * src/macterm.c (XTread_socket): check whether Lisp variable
195 mac-ready-for-drag-n-drop is bound rather than non-nil value.
196
197 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
198
199 * INSTALL: New file.
200
201 * README: New file.
202
203 * TODO: New file.
204
205 * emacs-cw5.mcp.xml: New file.
206
207 * emacs-cw6.mcp.xml: New file.
208
209 * makefile.MPW: New file.
210
211 * inc/alloca.h: New file.
212
213 * inc/cmdline-defs-cw5.h: New file.
214
215 * inc/cmdline-defs-cw6.h: New file.
216
217 * inc/config.h: New file.
218
219 * inc/dirent.h: New file.
220
221 * inc/epaths.h: New file.
222
223 * inc/m-mac.h: New file.
224
225 * inc/macgui.h: New file.
226
227 * inc/macterm.h: New file.
228
229 * inc/pwd.h: New file.
230
231 * inc/s-mac.h: New file.
232
233 * inc/termio.h: New file.
234
235 * inc/utime.h: New file.
236
237 * inc/utsname.h: New file.
238
239 * inc/sys/file.h: New file.
240
241 * inc/sys/ioctl.h: New file.
242
243 * inc/sys/param.h: New file.
244
245 * inc/sys/stat.h: New file.
246
247 * inc/sys/time.h: New file.
248
249 * inc/sys/types.h: New file.
250
251 * src/Emacs.r: New file.
252
253 * src/EmacsMPW.r: New file.
254
255 * src/chdir.c: New file.
256
257 * src/mac.c: New file.
258
259 * src/macfns.c: New file.
260
261 * src/macmenu.c: New file.
262
263 * src/macterm.c: New file.
264
265 Copyright (C) 2001 Free Software Foundation, Inc.
266 Copying and distribution of this file, with or without modification,
267 are permitted provided the copyright notice and this notice are preserved.