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