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