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