(archive-mode-map): Use command remapping instead of substitute-key-definition.
[emacs.git] / mac / ChangeLog
blob98639bf26c8584cd8342e854962e369526e676d1
1 2003-01-07  Steven Tamm  <steventamm@mac.com>
3         * INSTALL: Added documentation about --enable-carbon-app and
4         changed documentation concerning Emacs.app location
5         Removed some of the documentation about make-package that isn't
6         needed 
7         Changed comment about requiring root permission to install to
8         saying that it might be necessary depending on where you install
9         Refered to /usr caveat in more places
10         * make-package (make_options): Use new carbon_appdir option to
11         specify directory to install Application and lets the makefile
12         install 
14 2003-01-01  Steven Tamm  <steventamm@mac.com>
16         * make-package: Now copies License and ReadMe files into the
17         Resources directory.  Reduces overhead size when creating
18         installer disk image.
20 2002-12-29  Steven Tamm  <steventamm@mac.com>
22         * make-package: Defaults to building the source tree in a
23         separate directory.  Use the new option --build-in-place to
24         have old behavior.  Added new option --build-dir to specify the
25         build directory.
27 2002-12-27  Steven Tamm  <steventamm@mac.com>
29         * make-package: Fix typo where tmpparent was used instead of
30         tempparent for calculating installedSize and compressedSize.
32 2002-12-10  Andreas Schwab  <schwab@suse.de>
34         * make-package: Fix syntax for find.
36 2002-12-08  Steven Tamm  <steventamm@mac.com>
38         * INSTALL: Added description about make-package.
40         * make-package: Fixed --self-contained option to place the
41         directories in the correct locations for
42         init_mac_osx_environment and use hardlink by default for the
43         application.  Script fails with invalid option.
45 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
47         * make-bin-dist, osx-install: Remove.
49         * INSTALL: Remove description of make-bin-dist and osx-install.
51 2002-12-02  Steven Tamm  <steventamm@mac.com>
53         * make-package (installprefix): Switched copying of .el files
54         to be on by default.  Removed symlink for emacs -> emacs-version.
56 2002-11-30  Steven Tamm  <steventamm@mac.com>
58         * make-package: Now compresses .pax file instead of entire disk
59         image to reduce installer size on disk.  Also added code to
60         create compressed disk image in the future.
62         No longer copies .el files that have been compiled by default.
63         Use --full-dist option to include them.
65         Option --symlink added to reduce disk size by making
66         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
67         symlinks to the emacs-[version] binary.
69         Option --self-contained added to place files shared files
70         inside the Emacs.app executable (for portability between systems)
72         Added hidden debugging option --keep-dir to keep temporary install
73         directory (emacs-[version]) around after running script
75         * README: Removed comment about mouse-2 & -3 not working (it does).
77 2002-10-14  Andreas Schwab  <schwab@suse.de>
79         * make-package: Fix syntax for find.
81 2002-10-08  Steven Tamm  <steventamm@mac.com>
83         * make-package: Added ability to pass command line options
84         through to make and configure (-m, & -c,).
85         Added option to not copy Application into installer, the default
86         for X11 builds.  Does not copy CVS directories into installer.
87         Clarified some of the usage notes.
89 2002-10-07  Steven Tamm  <steventamm@mac.com>
91         * make-package: Now calls make bootstrap if .elc files are missing.
93 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
95         * INSTALL: Add information on starting Emacs as a GUI application
96         from the terminal.
98 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
100         * INSTALL: Add instructions for building Carbon version on Macs
101         with X Window installed.
103 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
105         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
106         change creator code from ???? to EMAx.
108         * INSTALL: Add instructions for building X Window version.
110 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
112         * make-package: Change -a option to -R for cp command.
114 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
116         * make-package: Add ability to handle options --help, --prefix,
117         --no-conf, and --with-x.
119 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
121         * make-package: New file.
123 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
125         * Emacs.app/Contents/Resources/Emacs.icns: New file.
127         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
128         CFBundleIconFile entries.
130 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
132         * Emacs.app/Contents/Info.plist: New file.
134         * Emacs.app/Contents/PkgInfo: New file.
136         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
137         New file.
139         * cw5-mcp.xml: Remove file.
141         * inc/defs-cw5.h: Remove file.
143         * cw6-mcp.xml: Update with new version.
145         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
146         of constant CODEWARRIOR_VERSION_6.
148         * mac/src/mac.c:
149         * mac/src/macmenu.c:
150         * mac/src/macterm.c:
151         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
153         * src/Carbon.r: New File.
155         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
156         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
157         macterm.h.  Generate DOC from .el instead of .elc versions of
158         files listed in DONTCOMPILE in lisp/Makefile.in.
160         * INSTALL: Add installation instructions for Mac OS X.
162         * README: Add information for Mac OS X.
164         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
165         src/macterm.c, inc/macterm.h: Remove from here and move to src.
167 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
169         * src/mac.c (select): Under Carbon, always return true so
170         XTread_socket is called to poll input.
171         (run_mac_command): Not implemented under Carbon.
172         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
173         establish pathname.
174         (do_applescript): Use Carbon routines AEGetDescDatASize and
175         AEGetDescData.
176         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
177         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
178         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
179         GetCurrentScrap, and PutScrapFlavor.
180         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
181         GetScrapFlavorFlags.
183         * src/macfns.c: Synchronize with changes in w32fns.c.
184         [MAC_OSX]: Include Carbon headers.
185         (x_real_positions): Use Carbon routine GetWindowPortBounds.
186         (x_set_scroll_bar_width): Set width of scroll bar to 16.
187         (x_make_gc): Remove static qualifier.
189         * src/macmenu.c: Synchronize with changes in w32menu.c.
190         [MAC_OSX]: Include Carbon headers.
191         (set_frame_menubar): Check equality of vector representation of
192         scroll bars using Fequal instead of EQ.
193         (mac_menu_show): Use Carbon routine GetWindowPort.
194         (mac_dialog): Likewise.
195         (add_menu_item): Use Carbon routines CountMenuItems,
196         EnableMenuItem, and DisableMenuItem.
198         * src/macterm.c: Synchronize with changes in w32term.c.
199         [MAC_OSX]: Include Carbon headers.
200         (XDrawLine): Use Carbon routine GetWindowPort.
201         (XClearArea): Likewise.
202         (XClearWindow): Use Carbon routines GetWindowPort and
203         GetWindowPortBounds.
204         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
205         GetPortPixMap.
206         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
207         (mac_reset_clipping): Use Carbon routine GetWindowPort.
208         (XFillRectangle): Likewise.
209         (mac_draw_rectangle): Likewise.
210         (mac_draw_rectangle_to_pixmap): Likewise.
211         (mac_draw_string_common): Likewise.
212         (mac_copy_area): Use Carbon routines GetWindowPort and
213         GetPortPixMap.
214         (mac_scroll_area): Use Carbon routines GetWindowPort and
215         GetQDGlobalsScreenBits.
216         (x_flush): Call Carbon routine QDFlushPortBuffer.
217         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
218         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
219         (x_draw_image_glyph_string): Likewise.
220         (x_draw_stretch_glyph_string): Likewise.
221         (construct_mouse_click): Call Carbon routine GetWindowPort.
222         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
223         (XTmouse_position): Call Carbon routine GetWindowPort.
224         (x_scroll_bar_create): Create scroll bar with proc
225         kControlScrollBarProc.
226         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
227         (activate_scroll_bar): Call ActivateControl instead of
228         SetControlMaximum.
229         (deactivate_scroll_bar): Call DeactivateControl instead of
230         SetControlMaximum.
231         (x_scroll_bar_handle_click): Use default case for scroll
232         indicator.
233         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
234         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
235         GetWindowPortBounds.
236         (init_font_name_table): Call Carbon Font Manager routines to
237         iterate through all fonts.
238         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
239         GetPortTextSize, and GetPortTextFace.
240         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
241         (is_emacs_window): New function to filter out non-Emacs windows
242         passed back by WaitNextEvent.
243         (do_mouse_moved): Call Carbon routine GetWindowPort.
244         (do_apple_menu): No apple menu handler under Carbon.
245         (do_zoom_window): Call Carbon routines GetWindowPort,
246         GetQDGlobalsScreenBits, SetWindowStandardState, and
247         GetWindowPortBounds.
248         (init_required_apple_events): Use UPP procedure type converter.
249         (main): Don't define for Carbon version.
250         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
251         check_alarm.  Call Carbon routines GetWindowPort,
252         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
253         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
254         routine GetWindowPort.
255         (mac_initialize): Rename from x_initialize.  Use new Doc string
256         format.
258         * inc/macterm.h: Synchronize with changes in w32term.h.
260         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
261         WindowPtr.
263 2002-01-28  Kim F. Storm  <storm@cua.dk>
265         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
266         cursor row is invisible.  This can happen if cursor is on top line
267         of a window, and we switch to a buffer with a header line.
269 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
271         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
273 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
275         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
276         frame parameter have a numeric value all the time.
278 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
280         * COPYING: New file.
282 2001-12-06  Kim F. Storm  <storm@cua.dk>
284         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
286 2001-12-01  Kim F. Storm  <storm@cua.dk>
288         The following changes add left-fringe and right-fringe
289         frame parameters to adjust fringe widths, or remove one or
290         both fringes.  See ../src/ChangeLog for details.
292         * inc/macterm.h: Merged changes from xterm.h.
293         * src/macterm.c: Merged changes from xterm.c.
294         * src/macfns.c: Merged changes from xfns.c.
296 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
298         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
300 2001-11-16  Kim F. Storm  <storm@cua.dk>
302         The following changes are made to clean up the various internal
303         references to the fringes to actually use the term `fringe'.
305         * src/macfns.c: Use renamed symbols.
307         * src/macterm.c: Comment fixes. Use renamed symbols.
308         (fringe_bitmap_type): Renamed from bitmap_type.
309         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
310         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
311         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
313         * inc/macterm.h: Comment fixes. Use renamed symbols.
314         (fringes_extra): Renamed from flags_areas_extra.
315         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
316         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
317         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
318         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
319         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
320         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
322 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
324         * (Version 21.1 released.)
326 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
328         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
329         * src/mac.c (run_mac_command): Update calls to openp.
331 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
333         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
335         * src/macterm.c: Include keymap.h.
336         (note_mode_line_highlight): Use KEYMAPP.
338 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
340         * Branch for 21.1.
342 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
344         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
346         * src/macterm.c (XTread_socket): Read all pending events in the
347         event queue instead of one.
348         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
349         a script code of -smJapanese is specified.
350         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
351         encoding.
352         (init_font_name_table): Use a script code of -smJapanese instead
353         of smRoman for the second entry of a Japanese font.
354         (XLoadQueryFont): Recognize a font as having the smRoman script
355         code if its encoding is jisx0201.1976-0.
357         * makefile.MPW: Generate etc/DOC file from .elc files instead of
358         .el files.
360         * src/mac.c (stat): Don't fail for aliases.
361         (sys_open) [__MRC__]: Set file creator and type for newly-created
362         files.
363         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
364         elapsed instead of use WaitNextEvent call as a delay.
366 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
368         * src/macterm.c (init_font_name_table): Add an additional entry to
369         the font table with the script code smRoman for each Apple
370         Japanese font.
371         (XLoadQueryFont): Recognize a font as having the smRoman script
372         code even when FontToScript returns smJapanese if it is one of
373         those created above.
375 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
377         * INSTALL: Add to the note on using -opt speed in MPW the function
378         macterm.c (x_draw_hollow_cursor).
380         * src/macterm.c (mac_scroll_area): Call CopyBits with local
381         coordinates and portBits instead of global coordinates and
382         screenBits.  Set fore color and back color to black and white,
383         respectively, before calling CopyBits.
385         * src/macterm.c (local_to_global_coord): Comment out.
387         * src/mac.c (mac-filename-to-unix): Change to
388         mac-file-name-to-posix.
389         (unix-filename-to-mac): Change to posix-file-name-to-mac.
390         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
391         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
393         * src/macterm.c (do_ae_open_documents): Change call to
394         mac_to_unix_pathname to mac_to_posix_pathname.
396 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
398         * inc/macterm.h (x_display_list): Declare extern.
400 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
402         * src/macterm.c (xim_open_dpy): Fix typo.
404 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
406         * README: Change references to SourceForge site to
407         ftp://ftp.gnu.org/gnu/mac/emacs/.
409 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
411         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
413 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
415         * src/Emacs.r: Change About box message.
417         * makefile.MPW: Add md5.c.x to EmacsObjects.
419         * src/mac.c (select): Call WaitNextEvent instead of Delay.
420         (pause): Ditto.
421         (sleep): Ditto.
423         * src/macterm.c (do_app_resume): Set cursor to arrow.
424         (clear_mouse_face): check for NIL Lisp object instead of null
425         pointer.
427         * INSTALL: Delete note on compiling Lisp files on a Unix system.
428         Add note on turning off end of line conversion.
430 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
432         * src/macfns.c: Rename everything containing *busy_cursor* and
433         similar to *hourglass*.
434         Change IMAGE_POSITIVE_INTEGER_VALUE to
435         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
436         (x_set_font): If font hasn't changed, avoid recomputing faces and
437         other things, as in xfns.c.
438         (Qcancel_timer): New variable.
439         (syms_of_macfns): Rename x-busy-pointer-shape to
440         x-hourglass-pointer-shape, display-busy-cursor to
441         display-hourglass, busy-cursor-delay to hourglass-delay, as in
442         xfns.c.
443         (x_set_tool_bar_lines): Modify as in xfns.c
444         (x_change_window_heights): New function.
446         * inc/macterm.h (struct x_output): Rename busy_cursor to
447         hourglass_cursor, busy_window to hourglass_window, busy_p to
448         hourglass_p, as in xterm.h.
450         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
451         safe_run_hooks, as in xmenu.c.
453         * src/macterm.c (do_check_ram_size): New function.
455         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
456         256 MB RAM.
458 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
460         * mac/INSTALL:
461         * mac/README:
462         * mac/cw5-mcp.xml:
463         * mac/cw6-mcp.xml:
464         * mac/inc/alloca.h:
465         * mac/inc/defs-cw5.h:
466         * mac/inc/defs-cw6.h: Added copyright notice.
468 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
470         * src/macterm.c (mac_font_pattern_match): Allocate three more
471         bytes to regex for '^', '$', and '\0'.
473         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
474         garbage collection.
476         * src/macfns.c (QCconversion): Replaces QCalgorithm.
478         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
479         image margins.
481         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
482         (x_draw_image_relief, x_draw_image_foreground_1)
483         (x_draw_image_glyph_string): Adapt to change of image margins.
485         * src/macterm.c (mac_to_x_fontname): Change charset name of
486         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
487         from ksc5601 to ksc5601.1989.
489 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
491         * cw5-mcp.xml: add md5.c to project.
493         * cw6-mcp.xml: add md5.c to project.
495         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
496         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
498 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
500         * src/macterm.c (x_handle_tool_bar_click):
501         (note_tool_bar_highlight): change references to members deleted
502         from struct frame as in xterm.c.
504         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
505         ~emacs/mac/bin.
507 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
509         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
511         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
513         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
515         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
517 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
519         * src/macterm.c (XTread_socket): check whether Lisp variable
520         mac-ready-for-drag-n-drop is bound rather than non-nil value.
522 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
524         * INSTALL: New file.
526         * README: New file.
528         * TODO: New file.
530         * emacs-cw5.mcp.xml: New file.
532         * emacs-cw6.mcp.xml: New file.
534         * makefile.MPW: New file.
536         * inc/alloca.h: New file.
538         * inc/cmdline-defs-cw5.h: New file.
540         * inc/cmdline-defs-cw6.h: New file.
542         * inc/config.h: New file.
544         * inc/dirent.h: New file.
546         * inc/epaths.h: New file.
548         * inc/m-mac.h: New file.
550         * inc/macgui.h: New file.
552         * inc/macterm.h: New file.
554         * inc/pwd.h: New file.
556         * inc/s-mac.h: New file.
558         * inc/termio.h: New file.
560         * inc/utime.h: New file.
562         * inc/utsname.h: New file.
564         * inc/sys/file.h: New file.
566         * inc/sys/ioctl.h: New file.
568         * inc/sys/param.h: New file.
570         * inc/sys/stat.h: New file.
572         * inc/sys/time.h: New file.
574         * inc/sys/types.h: New file.
576         * src/Emacs.r: New file.
578         * src/EmacsMPW.r: New file.
580         * src/chdir.c: New file.
582         * src/mac.c: New file.
584         * src/macfns.c: New file.
586         * src/macmenu.c: New file.
588         * src/macterm.c: New file.
590 ;; Local Variables:
591 ;; coding: iso-2022-7bit-unix
592 ;; End:
594     Copyright (C) 2001 Free Software Foundation, Inc.
595   Copying and distribution of this file, with or without modification,
596   are permitted provided the copyright notice and this notice are preserved.