(f90-font-lock-keywords-1): Fix highlighting of `type' forms.
[bpt/emacs.git] / mac / ChangeLog
CommitLineData
9794a8cd
AC
12002-07-31 Andrew Choi <akochoi@shaw.ca>
2
747642c5
AC
3 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
4 change creator code from ???? to EMAx.
5
9794a8cd
AC
6 * INSTALL: Add instructions for building X Window version.
7
910fb171
AC
82002-07-11 Andrew Choi <akochoi@shaw.ca>
9
10 * make-package: Change -a option to -R for cp command.
11
e43e5c3e
AC
122002-07-05 Andrew Choi <akochoi@shaw.ca>
13
14 * make-package: Add ability to handle options --help, --prefix,
15 --no-conf, and --with-x.
16
4c3e985b
AC
172002-07-04 Andrew Choi <akochoi@shaw.ca>
18
19 * make-package: New file.
20
bc21bf11
AC
212002-07-01 Andrew Choi <akochoi@shaw.ca>
22
23 * Emacs.app/Contents/Resources/Emacs.icns: New file.
24
25 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
26 CFBundleIconFile entries.
27
e0f712ba
AC
282002-04-13 Andrew Choi <akochoi@shaw.ca>
29
30 * Emacs.app/Contents/Info.plist: New file.
31
32 * Emacs.app/Contents/PkgInfo: New file.
33
34 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
35 New file.
36
37 * cw5-mcp.xml: Remove file.
38
39 * inc/defs-cw5.h: Remove file.
40
41 * cw6-mcp.xml: Update with new version.
42
43 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
44 of constant CODEWARRIOR_VERSION_6.
45
46 * mac/src/mac.c:
47 * mac/src/macmenu.c:
48 * mac/src/macterm.c:
49 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
50
51 * src/Carbon.r: New File.
52
53 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
54 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
55 macterm.h. Generate DOC from .el instead of .elc versions of
56 files listed in DONTCOMPILE in lisp/Makefile.in.
57
58 * INSTALL: Add installation instructions for Mac OS X.
59
60 * README: Add information for Mac OS X.
61
62 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
63 src/macterm.c, inc/macterm.h: Remove from here and move to src.
64
652002-04-12 Andrew Choi <akochoi@shaw.ca>
66
67 * src/mac.c (select): Under Carbon, always return true so
68 XTread_socket is called to poll input.
69 (run_mac_command): Not implemented under Carbon.
70 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
71 establish pathname.
72 (do_applescript): Use Carbon routines AEGetDescDatASize and
73 AEGetDescData.
74 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
75 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
76 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
77 GetCurrentScrap, and PutScrapFlavor.
78 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
79 GetScrapFlavorFlags.
80
81 * src/macfns.c: Synchronize with changes in w32fns.c.
82 [MAC_OSX]: Include Carbon headers.
83 (x_real_positions): Use Carbon routine GetWindowPortBounds.
84 (x_set_scroll_bar_width): Set width of scroll bar to 16.
85 (x_make_gc): Remove static qualifier.
86
87 * src/macmenu.c: Synchronize with changes in w32menu.c.
88 [MAC_OSX]: Include Carbon headers.
89 (set_frame_menubar): Check equality of vector representation of
90 scroll bars using Fequal instead of EQ.
91 (mac_menu_show): Use Carbon routine GetWindowPort.
92 (mac_dialog): Likewise.
93 (add_menu_item): Use Carbon routines CountMenuItems,
94 EnableMenuItem, and DisableMenuItem.
95
96 * src/macterm.c: Synchronize with changes in w32term.c.
97 [MAC_OSX]: Include Carbon headers.
98 (XDrawLine): Use Carbon routine GetWindowPort.
99 (XClearArea): Likewise.
100 (XClearWindow): Use Carbon routines GetWindowPort and
101 GetWindowPortBounds.
102 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
103 GetPortPixMap.
104 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
105 (mac_reset_clipping): Use Carbon routine GetWindowPort.
106 (XFillRectangle): Likewise.
107 (mac_draw_rectangle): Likewise.
108 (mac_draw_rectangle_to_pixmap): Likewise.
109 (mac_draw_string_common): Likewise.
110 (mac_copy_area): Use Carbon routines GetWindowPort and
111 GetPortPixMap.
112 (mac_scroll_area): Use Carbon routines GetWindowPort and
113 GetQDGlobalsScreenBits.
114 (x_flush): Call Carbon routine QDFlushPortBuffer.
115 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
116 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
117 (x_draw_image_glyph_string): Likewise.
118 (x_draw_stretch_glyph_string): Likewise.
119 (construct_mouse_click): Call Carbon routine GetWindowPort.
120 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
121 (XTmouse_position): Call Carbon routine GetWindowPort.
122 (x_scroll_bar_create): Create scroll bar with proc
123 kControlScrollBarProc.
124 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
125 (activate_scroll_bar): Call ActivateControl instead of
126 SetControlMaximum.
127 (deactivate_scroll_bar): Call DeactivateControl instead of
128 SetControlMaximum.
129 (x_scroll_bar_handle_click): Use default case for scroll
130 indicator.
131 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
132 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
133 GetWindowPortBounds.
134 (init_font_name_table): Call Carbon Font Manager routines to
135 iterate through all fonts.
136 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
137 GetPortTextSize, and GetPortTextFace.
138 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
139 (is_emacs_window): New function to filter out non-Emacs windows
140 passed back by WaitNextEvent.
141 (do_mouse_moved): Call Carbon routine GetWindowPort.
142 (do_apple_menu): No apple menu handler under Carbon.
143 (do_zoom_window): Call Carbon routines GetWindowPort,
144 GetQDGlobalsScreenBits, SetWindowStandardState, and
145 GetWindowPortBounds.
146 (init_required_apple_events): Use UPP procedure type converter.
147 (main): Don't define for Carbon version.
148 (XTread_socket): Don't check interrupt_input_blocked. Don't call
149 check_alarm. Call Carbon routines GetWindowPort,
150 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
151 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
152 routine GetWindowPort.
153 (mac_initialize): Rename from x_initialize. Use new Doc string
154 format.
155
156 * inc/macterm.h: Synchronize with changes in w32term.h.
157
158 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
159 WindowPtr.
160
fa72cff4
KS
1612002-01-28 Kim F. Storm <storm@cua.dk>
162
163 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
164 cursor row is invisible. This can happen if cursor is on top line
165 of a window, and we switch to a buffer with a header line.
166
bc21bf11 1672001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
39cf8566
PJ
168
169 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
170
4971e491
EZ
1712001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
172
173 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
174 frame parameter have a numeric value all the time.
175
bc21bf11 1762001-12-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
03f9f7ae
PJ
177
178 * COPYING: New file.
179
91175673
KS
1802001-12-06 Kim F. Storm <storm@cua.dk>
181
182 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
183
6a3b752f
KS
1842001-12-01 Kim F. Storm <storm@cua.dk>
185
186 The following changes add left-fringe and right-fringe
187 frame parameters to adjust fringe widths, or remove one or
188 both fringes. See ../src/ChangeLog for details.
189
190 * inc/macterm.h: Merged changes from xterm.h.
191 * src/macterm.c: Merged changes from xterm.c.
192 * src/macfns.c: Merged changes from xfns.c.
193
bc21bf11 1942001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
98cbb9fa 195
ea904403 196 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
98cbb9fa 197
06e8f738
KS
1982001-11-16 Kim F. Storm <storm@cua.dk>
199
200 The following changes are made to clean up the various internal
201 references to the fringes to actually use the term `fringe'.
202
203 * src/macfns.c: Use renamed symbols.
204
205 * src/macterm.c: Comment fixes. Use renamed symbols.
206 (fringe_bitmap_type): Renamed from bitmap_type.
207 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
208 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
209 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
210
211 * inc/macterm.h: Comment fixes. Use renamed symbols.
212 (fringes_extra): Renamed from flags_areas_extra.
213 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
214 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
215 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
216 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
217 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
218 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
219
71431a0e
GM
2202001-10-20 Gerd Moellmann <gerd@gnu.org>
221
6aa97356 222 * (Version 21.1 released.)
71431a0e 223
c0ec53ad
SM
2242001-10-11 Stefan Monnier <monnier@cs.yale.edu>
225
226 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
227 * src/mac.c (run_mac_command): Update calls to openp.
228
9985827f
SM
2292001-10-08 Stefan Monnier <monnier@cs.yale.edu>
230
231 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
232
233 * src/macterm.c: Include keymap.h.
234 (note_mode_line_highlight): Use KEYMAPP.
235
ab952a4f
GM
2362001-10-05 Gerd Moellmann <gerd@gnu.org>
237
238 * Branch for 21.1.
c0ec53ad 239
3b6944ed
AC
2402001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
241
3428f2c4
AC
242 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
243
1305f1a7
AC
244 * src/macterm.c (XTread_socket): Read all pending events in the
245 event queue instead of one.
2f64cf3a
AC
246 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
247 a script code of -smJapanese is specified.
248 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
249 encoding.
250 (init_font_name_table): Use a script code of -smJapanese instead
251 of smRoman for the second entry of a Japanese font.
252 (XLoadQueryFont): Recognize a font as having the smRoman script
253 code if its encoding is jisx0201.1976-0.
9985827f 254
9f1821c7
AC
255 * makefile.MPW: Generate etc/DOC file from .elc files instead of
256 .el files.
257
3b6944ed
AC
258 * src/mac.c (stat): Don't fail for aliases.
259 (sys_open) [__MRC__]: Set file creator and type for newly-created
260 files.
bc04fb2c
AC
261 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
262 elapsed instead of use WaitNextEvent call as a delay.
9985827f 263
199f9270
AC
2642001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
265
266 * src/macterm.c (init_font_name_table): Add an additional entry to
267 the font table with the script code smRoman for each Apple
268 Japanese font.
269 (XLoadQueryFont): Recognize a font as having the smRoman script
270 code even when FontToScript returns smJapanese if it is one of
271 those created above.
272
f9e25d0c
AC
2732001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
274
67e2eec4
AC
275 * INSTALL: Add to the note on using -opt speed in MPW the function
276 macterm.c (x_draw_hollow_cursor).
277
f9e25d0c
AC
278 * src/macterm.c (mac_scroll_area): Call CopyBits with local
279 coordinates and portBits instead of global coordinates and
280 screenBits. Set fore color and back color to black and white,
281 respectively, before calling CopyBits.
282
283 * src/macterm.c (local_to_global_coord): Comment out.
284
60fe1161
AC
285 * src/mac.c (mac-filename-to-unix): Change to
286 mac-file-name-to-posix.
287 (unix-filename-to-mac): Change to posix-file-name-to-mac.
288 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
289 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
290
291 * src/macterm.c (do_ae_open_documents): Change call to
292 mac_to_unix_pathname to mac_to_posix_pathname.
293
11c78113
AC
2942001-07-26 Andrew Choi <akochoi@i-cable.com>
295
296 * inc/macterm.h (x_display_list): Declare extern.
297
bc21bf11 2982001-07-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
cdfc07dd
PJ
299
300 * src/macterm.c (xim_open_dpy): Fix typo.
301
649b3fbc
AC
3022001-06-26 Andrew Choi <akochoi@i-cable.com>
303
304 * README: Change references to SourceForge site to
305 ftp://ftp.gnu.org/gnu/mac/emacs/.
306
7644c605
GM
3072001-05-15 Gerd Moellmann <gerd@gnu.org>
308
309 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
310
fa0b4c14
AC
3112001-05-15 Andrew Choi <akochoi@i-cable.com>
312
313 * src/Emacs.r: Change About box message.
314
315 * makefile.MPW: Add md5.c.x to EmacsObjects.
316
317 * src/mac.c (select): Call WaitNextEvent instead of Delay.
318 (pause): Ditto.
319 (sleep): Ditto.
320
321 * src/macterm.c (do_app_resume): Set cursor to arrow.
322 (clear_mouse_face): check for NIL Lisp object instead of null
323 pointer.
324
325 * INSTALL: Delete note on compiling Lisp files on a Unix system.
326 Add note on turning off end of line conversion.
327
2e875e36
AC
3282001-02-27 Andrew Choi <akochoi@i-cable.com>
329
330 * src/macfns.c: Rename everything containing *busy_cursor* and
331 similar to *hourglass*.
332 Change IMAGE_POSITIVE_INTEGER_VALUE to
333 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
334 (x_set_font): If font hasn't changed, avoid recomputing faces and
335 other things, as in xfns.c.
336 (Qcancel_timer): New variable.
337 (syms_of_macfns): Rename x-busy-pointer-shape to
338 x-hourglass-pointer-shape, display-busy-cursor to
339 display-hourglass, busy-cursor-delay to hourglass-delay, as in
340 xfns.c.
341 (x_set_tool_bar_lines): Modify as in xfns.c
342 (x_change_window_heights): New function.
343
344 * inc/macterm.h (struct x_output): Rename busy_cursor to
345 hourglass_cursor, busy_window to hourglass_window, busy_p to
346 hourglass_p, as in xterm.h.
347
348 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
349 safe_run_hooks, as in xmenu.c.
350
351 * src/macterm.c (do_check_ram_size): New function.
352
353 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
354 256 MB RAM.
355
b6955da2
AC
3562001-02-20 Andrew Choi <akochoi@i-cable.com>
357
358 * mac/INSTALL:
359 * mac/README:
360 * mac/cw5-mcp.xml:
361 * mac/cw6-mcp.xml:
362 * mac/inc/alloca.h:
363 * mac/inc/defs-cw5.h:
364 * mac/inc/defs-cw6.h: Added copyright notice.
365
83a96b4d
AC
3662001-01-28 Andrew Choi <akochoi@i-cable.com>
367
b179a3a2
AC
368 * src/macterm.c (mac_font_pattern_match): Allocate three more
369 bytes to regex for '^', '$', and '\0'.
370
371 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
372 garbage collection.
373
83a96b4d
AC
374 * src/macfns.c (QCconversion): Replaces QCalgorithm.
375
376 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
377 image margins.
378
379 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
380 (x_draw_image_relief, x_draw_image_foreground_1)
381 (x_draw_image_glyph_string): Adapt to change of image margins.
382
383 * src/macterm.c (mac_to_x_fontname): Change charset name of
384 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
385 from ksc5601 to ksc5601.1989.
386
ec5c5684
AC
3872000-12-12 Andrew Choi <akochoi@i-cable.com>
388
8165bf03
AC
389 * cw5-mcp.xml: add md5.c to project.
390
391 * cw6-mcp.xml: add md5.c to project.
392
ec5c5684
AC
393 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
394 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
395
c1e279c2
AC
3962000-11-26 Andrew Choi <akochoi@i-cable.com>
397
398 * src/macterm.c (x_handle_tool_bar_click):
399 (note_tool_bar_highlight): change references to members deleted
400 from struct frame as in xterm.c.
401
402 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
403 ~emacs/mac/bin.
404
2d7d0390
AC
4052000-10-25 Andrew Choi <akochoi@i-cable.com>
406
407 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
408
409 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
410
411 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
412
413 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
414
eff8b78d 4152000-10-24 Andrew Choi <akochoi@i-cable.com>
8f47302e
AC
416
417 * src/macterm.c (XTread_socket): check whether Lisp variable
418 mac-ready-for-drag-n-drop is bound rather than non-nil value.
419
1a578e9b
AC
4202000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
421
422 * INSTALL: New file.
423
424 * README: New file.
425
426 * TODO: New file.
427
428 * emacs-cw5.mcp.xml: New file.
429
430 * emacs-cw6.mcp.xml: New file.
431
432 * makefile.MPW: New file.
433
434 * inc/alloca.h: New file.
435
436 * inc/cmdline-defs-cw5.h: New file.
437
438 * inc/cmdline-defs-cw6.h: New file.
439
440 * inc/config.h: New file.
441
442 * inc/dirent.h: New file.
443
444 * inc/epaths.h: New file.
445
446 * inc/m-mac.h: New file.
447
448 * inc/macgui.h: New file.
449
450 * inc/macterm.h: New file.
451
452 * inc/pwd.h: New file.
453
454 * inc/s-mac.h: New file.
455
456 * inc/termio.h: New file.
457
458 * inc/utime.h: New file.
459
460 * inc/utsname.h: New file.
461
462 * inc/sys/file.h: New file.
463
464 * inc/sys/ioctl.h: New file.
465
466 * inc/sys/param.h: New file.
467
468 * inc/sys/stat.h: New file.
469
470 * inc/sys/time.h: New file.
471
472 * inc/sys/types.h: New file.
473
474 * src/Emacs.r: New file.
475
476 * src/EmacsMPW.r: New file.
477
478 * src/chdir.c: New file.
479
480 * src/mac.c: New file.
481
482 * src/macfns.c: New file.
483
484 * src/macmenu.c: New file.
485
486 * src/macterm.c: New file.
2a34a036 487
c95eaa61
PJ
488;; Local Variables:
489;; coding: iso-2022-7bit-unix
490;; End:
491
2a34a036
GM
492 Copyright (C) 2001 Free Software Foundation, Inc.
493 Copying and distribution of this file, with or without modification,
494 are permitted provided the copyright notice and this notice are preserved.