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