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