*** empty log message ***
[emacs.git] / mac / ChangeLog
blobcc0979060467e531106e9470348f8b49b2dbb8d5
1 2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3         * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
4         data.  Make NSServices open-selection the first entry.
6 2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8         * makefile.MPW (shortlisp): Sync with src/Makefile.in.
10 2005-10-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12         * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add
13         `FIXME' to descriptions about Metrowerks CodeWarrior.  Remove
14         obsolete description about 512MB limit and icon on Mac OS Classic.
15         Add description about flags for experimental features.
17         * README: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add `FIXME'
18         to descriptions about Metrowerks CodeWarrior.  Remove obsolete
19         descriptions about C-g and supported image types.
21 2005-10-20  Bryan D. O'Connor  <bryan@lunch.org>  (tiny change)
23         * make-package: Add a --compressed-dist option to compress info
24         files and .el files that have been byte-compiled. It defaults to "no".
26 2005-09-24  Eli Zaretskii  <eliz@gnu.org>
28         * INSTALL (NOTES): Update the list of versions of MacOS on which
29         Emacs should build.
31         * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
32         does not exist).
34 2005-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
36         * inc/config.h: Sync with src/config.in.
38 2005-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
40         * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
41         NSServices.
43 2005-07-04  Lute Kamstra  <lute@gnu.org>
45         Update FSF's address in GPL notices.
47 2005-06-08  Steven Tamm  <steventamm@mac.com>
49         * INSTALL: Explain that a universal binary cannot be created and
50         builds for on emachine cannot be targeted to the other.
51         * README: Add Universal Binary to the Todo List.
53 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
55         * makefile.MPW (buildobj.lst): New target.
56         (Clean): Delete file buildobj.lst.
57         (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
58         (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
59         Remove variables.
60         (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP): New
61         variables.
62         ({DocTarget}DOC): Use them.
63         (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
65         * inc/config.h: Sync with src/config.in.
66         (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
67         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
68         (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
69         (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
70         [__MRC__] (HAVE_ALLOCA_H): Likewise.
71         (config_machfile, config_opsysfile, my_strftime): New macros.
72         (HAVE_PWD_H): Move from s-mac.h.
73         (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
74         (PTR): Move to s-mac.h.
76         * inc/m-mac.h: (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
78         * inc/s-mac.h: Sync with src/s/template.h.  Don't include fcntl.h,
79         time.h, or signal.h.
80         (index, rindex): New macros.
81         [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
82         compatibility with predefined ones.
83         (PTR): Move from s-mac.h.
84         (HAVE_PWD_H): Move to config.h.
85         (volatile): Remove macro.
86         [__MRC__] (strftime): Likewise.
87         (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
88         (sys_time, sys_signal, atof): Remove declarations.
90         * inc/sys/time.h (ITIMER_REAL): New macro.
91         (struct itimerval): New struct.
92         (setitimer): New extern.
94 2005-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
96         * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
98 2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
100         * makefile.MPW (MacObjects): Add macselect.c.x.
101         (macselect.c.x): New target.
102         (mac.c): Fix dependency.
104         * Emacs.app/Contents/Info.plist: Add NSServices key and data.
106         * inc/s-mac.h (HAVE_PWD_H): Define.
108 2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
110         * makefile.MPW (NonCarbonLibs): Add LocalesLib.  Delete
111         TextEncodingConverter.
113 2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
115         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
116         (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
117         number and copyright.
119         * Emacs.r (DITL, vers): Likewise.
121 2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
123         * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
124         org.gnu.Emacs.
126 2005-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
128         * INSTALL: Mention new target `NonCarbon'.
130 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
132         * makefile.MPW (NonCarbon): New target.  The target `Emacs' is now
133         used for the Carbon build that defines HAVE_CARBON.
135         * inc/config.h (HAVE_STDLIB_H): Define to 1.
137         * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
138         [HAVE_CARBON] (crfg): New resource for extra stack space.
140 2004-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
142         * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
143         lastfile.c.x.
144         (PPCCOptions): Add -alloca.
145         (EmacsObjects): Remove alloca.c.x.  Add fringe.c.x, image.c.x, and
146         lastfile.c.x.
147         (Emacs MPW): Add QuickTimeLib.
148         (EmacsSource): Remove alloca.c.  Add fringe.c, image.c, and
149         lastfile.c.
150         (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
151         map-ynp.elc.
152         * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
153         (UNEXEC_SRC): Close comment.
154         * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
155         * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
156         (C_ALLOCA) [__MRC__]: Don't define.
157         * inc/s-mac.h (X_OK): New define.
158         (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
159         (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
161 2004-05-29  Steven Tamm  <steventamm@mac.com>
163         * INSTALL: Fixing typos
164         * README: Updating list of TODOs to remove image support and
165         environment variable problem.
167 2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
169         * src/Emacs.r: Update TOO_MUCH_RAM error message.
171 2003-11-22  Lars Hansen <larsh@math.ku.dk>
173         * inc/grp.h: Added.
175 2003-11-02  Andrew Choi  <akochoi@shaw.ca>
177         * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
178         * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
180 2003-10-31  Andrew Choi  <akochoi@shaw.ca>
182         * INSTALL: Add Nozomu Ando's changes to instructions for
183         installing on X Window (that static libraries are no longer
184         necessary after his changes to src/unexmacosx.c).
186 2003-04-28  Andrew Choi  <akochoi@shaw.ca>
188         * make-package: Allocate 5% extra space on disk image for
189         directories and partition tables.
191 2003-04-04  Steven Tamm  <steventamm@mac.com>
193         * make-package: Place libexec executables directly under the
194         Contents/MacOS/libexec if the application is self-contained
196 2003-04-01  Kim F. Storm  <storm@cua.dk>
198         * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
199         (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
201 2003-03-21  Kim F. Storm  <storm@cua.dk>
203         * makefile.MPW (xdisp.c.x):  Add dependency on blockinput.h and
204         files included from it.  Add dependency on keymap.h.
206 2003-01-14  Steven Tamm  <steventamm@mac.com>
208         * make-package: Fixed problem where the building without
209         specifying build directory fails.
211 2003-01-07  Steven Tamm  <steventamm@mac.com>
213         * INSTALL: Added documentation about --enable-carbon-app and
214         changed documentation concerning Emacs.app location
215         Removed some of the documentation about make-package that isn't
216         needed
217         Changed comment about requiring root permission to install to
218         saying that it might be necessary depending on where you install
219         Refered to /usr caveat in more places
220         * make-package (make_options): Use new carbon_appdir option to
221         specify directory to install Application and lets the makefile
222         install
224 2003-01-01  Steven Tamm  <steventamm@mac.com>
226         * make-package: Now copies License and ReadMe files into the
227         Resources directory.  Reduces overhead size when creating
228         installer disk image.
230 2002-12-29  Steven Tamm  <steventamm@mac.com>
232         * make-package: Defaults to building the source tree in a
233         separate directory.  Use the new option --build-in-place to
234         have old behavior.  Added new option --build-dir to specify the
235         build directory.
237 2002-12-27  Steven Tamm  <steventamm@mac.com>
239         * make-package: Fix typo where tmpparent was used instead of
240         tempparent for calculating installedSize and compressedSize.
242 2002-12-10  Andreas Schwab  <schwab@suse.de>
244         * make-package: Fix syntax for find.
246 2002-12-08  Steven Tamm  <steventamm@mac.com>
248         * INSTALL: Added description about make-package.
250         * make-package: Fixed --self-contained option to place the
251         directories in the correct locations for
252         init_mac_osx_environment and use hardlink by default for the
253         application.  Script fails with invalid option.
255 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
257         * make-bin-dist, osx-install: Remove.
259         * INSTALL: Remove description of make-bin-dist and osx-install.
261 2002-12-02  Steven Tamm  <steventamm@mac.com>
263         * make-package (installprefix): Switched copying of .el files
264         to be on by default.  Removed symlink for emacs -> emacs-version.
266 2002-11-30  Steven Tamm  <steventamm@mac.com>
268         * make-package: Now compresses .pax file instead of entire disk
269         image to reduce installer size on disk.  Also added code to
270         create compressed disk image in the future.
272         No longer copies .el files that have been compiled by default.
273         Use --full-dist option to include them.
275         Option --symlink added to reduce disk size by making
276         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
277         symlinks to the emacs-[version] binary.
279         Option --self-contained added to place files shared files
280         inside the Emacs.app executable (for portability between systems)
282         Added hidden debugging option --keep-dir to keep temporary install
283         directory (emacs-[version]) around after running script
285         * README: Removed comment about mouse-2 & -3 not working (it does).
287 2002-10-14  Andreas Schwab  <schwab@suse.de>
289         * make-package: Fix syntax for find.
291 2002-10-08  Steven Tamm  <steventamm@mac.com>
293         * make-package: Added ability to pass command line options
294         through to make and configure (-m, & -c,).
295         Added option to not copy Application into installer, the default
296         for X11 builds.  Does not copy CVS directories into installer.
297         Clarified some of the usage notes.
299 2002-10-07  Steven Tamm  <steventamm@mac.com>
301         * make-package: Now calls make bootstrap if .elc files are missing.
303 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
305         * INSTALL: Add information on starting Emacs as a GUI application
306         from the terminal.
308 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
310         * INSTALL: Add instructions for building Carbon version on Macs
311         with X Window installed.
313 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
315         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
316         change creator code from ???? to EMAx.
318         * INSTALL: Add instructions for building X Window version.
320 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
322         * make-package: Change -a option to -R for cp command.
324 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
326         * make-package: Add ability to handle options --help, --prefix,
327         --no-conf, and --with-x.
329 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
331         * make-package: New file.
333 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
335         * Emacs.app/Contents/Resources/Emacs.icns: New file.
337         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
338         CFBundleIconFile entries.
340 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
342         * Emacs.app/Contents/Info.plist: New file.
344         * Emacs.app/Contents/PkgInfo: New file.
346         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
347         New file.
349         * cw5-mcp.xml: Remove file.
351         * inc/defs-cw5.h: Remove file.
353         * cw6-mcp.xml: Update with new version.
355         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
356         of constant CODEWARRIOR_VERSION_6.
358         * mac/src/mac.c:
359         * mac/src/macmenu.c:
360         * mac/src/macterm.c:
361         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
363         * src/Carbon.r: New File.
365         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
366         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
367         macterm.h.  Generate DOC from .el instead of .elc versions of
368         files listed in DONTCOMPILE in lisp/Makefile.in.
370         * INSTALL: Add installation instructions for Mac OS X.
372         * README: Add information for Mac OS X.
374         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
375         src/macterm.c, inc/macterm.h: Remove from here and move to src.
377 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
379         * src/mac.c (select): Under Carbon, always return true so
380         XTread_socket is called to poll input.
381         (run_mac_command): Not implemented under Carbon.
382         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
383         establish pathname.
384         (do_applescript): Use Carbon routines AEGetDescDatASize and
385         AEGetDescData.
386         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
387         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
388         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
389         GetCurrentScrap, and PutScrapFlavor.
390         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
391         GetScrapFlavorFlags.
393         * src/macfns.c: Synchronize with changes in w32fns.c.
394         [MAC_OSX]: Include Carbon headers.
395         (x_real_positions): Use Carbon routine GetWindowPortBounds.
396         (x_set_scroll_bar_width): Set width of scroll bar to 16.
397         (x_make_gc): Remove static qualifier.
399         * src/macmenu.c: Synchronize with changes in w32menu.c.
400         [MAC_OSX]: Include Carbon headers.
401         (set_frame_menubar): Check equality of vector representation of
402         scroll bars using Fequal instead of EQ.
403         (mac_menu_show): Use Carbon routine GetWindowPort.
404         (mac_dialog): Likewise.
405         (add_menu_item): Use Carbon routines CountMenuItems,
406         EnableMenuItem, and DisableMenuItem.
408         * src/macterm.c: Synchronize with changes in w32term.c.
409         [MAC_OSX]: Include Carbon headers.
410         (XDrawLine): Use Carbon routine GetWindowPort.
411         (XClearArea): Likewise.
412         (XClearWindow): Use Carbon routines GetWindowPort and
413         GetWindowPortBounds.
414         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
415         GetPortPixMap.
416         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
417         (mac_reset_clipping): Use Carbon routine GetWindowPort.
418         (XFillRectangle): Likewise.
419         (mac_draw_rectangle): Likewise.
420         (mac_draw_rectangle_to_pixmap): Likewise.
421         (mac_draw_string_common): Likewise.
422         (mac_copy_area): Use Carbon routines GetWindowPort and
423         GetPortPixMap.
424         (mac_scroll_area): Use Carbon routines GetWindowPort and
425         GetQDGlobalsScreenBits.
426         (x_flush): Call Carbon routine QDFlushPortBuffer.
427         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
428         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
429         (x_draw_image_glyph_string): Likewise.
430         (x_draw_stretch_glyph_string): Likewise.
431         (construct_mouse_click): Call Carbon routine GetWindowPort.
432         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
433         (XTmouse_position): Call Carbon routine GetWindowPort.
434         (x_scroll_bar_create): Create scroll bar with proc
435         kControlScrollBarProc.
436         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
437         (activate_scroll_bar): Call ActivateControl instead of
438         SetControlMaximum.
439         (deactivate_scroll_bar): Call DeactivateControl instead of
440         SetControlMaximum.
441         (x_scroll_bar_handle_click): Use default case for scroll
442         indicator.
443         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
444         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
445         GetWindowPortBounds.
446         (init_font_name_table): Call Carbon Font Manager routines to
447         iterate through all fonts.
448         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
449         GetPortTextSize, and GetPortTextFace.
450         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
451         (is_emacs_window): New function to filter out non-Emacs windows
452         passed back by WaitNextEvent.
453         (do_mouse_moved): Call Carbon routine GetWindowPort.
454         (do_apple_menu): No apple menu handler under Carbon.
455         (do_zoom_window): Call Carbon routines GetWindowPort,
456         GetQDGlobalsScreenBits, SetWindowStandardState, and
457         GetWindowPortBounds.
458         (init_required_apple_events): Use UPP procedure type converter.
459         (main): Don't define for Carbon version.
460         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
461         check_alarm.  Call Carbon routines GetWindowPort,
462         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
463         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
464         routine GetWindowPort.
465         (mac_initialize): Rename from x_initialize.  Use new Doc string
466         format.
468         * inc/macterm.h: Synchronize with changes in w32term.h.
470         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
471         WindowPtr.
473 2002-01-28  Kim F. Storm  <storm@cua.dk>
475         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
476         cursor row is invisible.  This can happen if cursor is on top line
477         of a window, and we switch to a buffer with a header line.
479 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
481         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
483 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
485         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
486         frame parameter have a numeric value all the time.
488 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
490         * COPYING: New file.
492 2001-12-06  Kim F. Storm  <storm@cua.dk>
494         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
496 2001-12-01  Kim F. Storm  <storm@cua.dk>
498         The following changes add left-fringe and right-fringe
499         frame parameters to adjust fringe widths, or remove one or
500         both fringes.  See ../src/ChangeLog for details.
502         * inc/macterm.h: Merged changes from xterm.h.
503         * src/macterm.c: Merged changes from xterm.c.
504         * src/macfns.c: Merged changes from xfns.c.
506 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
508         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
510 2001-11-16  Kim F. Storm  <storm@cua.dk>
512         The following changes are made to clean up the various internal
513         references to the fringes to actually use the term `fringe'.
515         * src/macfns.c: Use renamed symbols.
517         * src/macterm.c: Comment fixes. Use renamed symbols.
518         (fringe_bitmap_type): Renamed from bitmap_type.
519         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
520         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
521         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
523         * inc/macterm.h: Comment fixes. Use renamed symbols.
524         (fringes_extra): Renamed from flags_areas_extra.
525         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
526         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
527         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
528         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
529         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
530         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
532 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
534         * (Version 21.1 released.)
536 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
538         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
539         * src/mac.c (run_mac_command): Update calls to openp.
541 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
543         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
545         * src/macterm.c: Include keymap.h.
546         (note_mode_line_highlight): Use KEYMAPP.
548 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
550         * Branch for 21.1.
552 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
554         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
556         * src/macterm.c (XTread_socket): Read all pending events in the
557         event queue instead of one.
558         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
559         a script code of -smJapanese is specified.
560         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
561         encoding.
562         (init_font_name_table): Use a script code of -smJapanese instead
563         of smRoman for the second entry of a Japanese font.
564         (XLoadQueryFont): Recognize a font as having the smRoman script
565         code if its encoding is jisx0201.1976-0.
567         * makefile.MPW: Generate etc/DOC file from .elc files instead of
568         .el files.
570         * src/mac.c (stat): Don't fail for aliases.
571         (sys_open) [__MRC__]: Set file creator and type for newly-created
572         files.
573         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
574         elapsed instead of use WaitNextEvent call as a delay.
576 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
578         * src/macterm.c (init_font_name_table): Add an additional entry to
579         the font table with the script code smRoman for each Apple
580         Japanese font.
581         (XLoadQueryFont): Recognize a font as having the smRoman script
582         code even when FontToScript returns smJapanese if it is one of
583         those created above.
585 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
587         * INSTALL: Add to the note on using -opt speed in MPW the function
588         macterm.c (x_draw_hollow_cursor).
590         * src/macterm.c (mac_scroll_area): Call CopyBits with local
591         coordinates and portBits instead of global coordinates and
592         screenBits.  Set fore color and back color to black and white,
593         respectively, before calling CopyBits.
595         * src/macterm.c (local_to_global_coord): Comment out.
597         * src/mac.c (mac-filename-to-unix): Change to
598         mac-file-name-to-posix.
599         (unix-filename-to-mac): Change to posix-file-name-to-mac.
600         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
601         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
603         * src/macterm.c (do_ae_open_documents): Change call to
604         mac_to_unix_pathname to mac_to_posix_pathname.
606 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
608         * inc/macterm.h (x_display_list): Declare extern.
610 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
612         * src/macterm.c (xim_open_dpy): Fix typo.
614 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
616         * README: Change references to SourceForge site to
617         ftp://ftp.gnu.org/gnu/mac/emacs/.
619 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
621         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
623 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
625         * src/Emacs.r: Change About box message.
627         * makefile.MPW: Add md5.c.x to EmacsObjects.
629         * src/mac.c (select): Call WaitNextEvent instead of Delay.
630         (pause): Ditto.
631         (sleep): Ditto.
633         * src/macterm.c (do_app_resume): Set cursor to arrow.
634         (clear_mouse_face): check for NIL Lisp object instead of null
635         pointer.
637         * INSTALL: Delete note on compiling Lisp files on a Unix system.
638         Add note on turning off end of line conversion.
640 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
642         * src/macfns.c: Rename everything containing *busy_cursor* and
643         similar to *hourglass*.
644         Change IMAGE_POSITIVE_INTEGER_VALUE to
645         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
646         (x_set_font): If font hasn't changed, avoid recomputing faces and
647         other things, as in xfns.c.
648         (Qcancel_timer): New variable.
649         (syms_of_macfns): Rename x-busy-pointer-shape to
650         x-hourglass-pointer-shape, display-busy-cursor to
651         display-hourglass, busy-cursor-delay to hourglass-delay, as in
652         xfns.c.
653         (x_set_tool_bar_lines): Modify as in xfns.c
654         (x_change_window_heights): New function.
656         * inc/macterm.h (struct x_output): Rename busy_cursor to
657         hourglass_cursor, busy_window to hourglass_window, busy_p to
658         hourglass_p, as in xterm.h.
660         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
661         safe_run_hooks, as in xmenu.c.
663         * src/macterm.c (do_check_ram_size): New function.
665         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
666         256 MB RAM.
668 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
670         * mac/INSTALL:
671         * mac/README:
672         * mac/cw5-mcp.xml:
673         * mac/cw6-mcp.xml:
674         * mac/inc/alloca.h:
675         * mac/inc/defs-cw5.h:
676         * mac/inc/defs-cw6.h: Added copyright notice.
678 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
680         * src/macterm.c (mac_font_pattern_match): Allocate three more
681         bytes to regex for '^', '$', and '\0'.
683         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
684         garbage collection.
686         * src/macfns.c (QCconversion): Replaces QCalgorithm.
688         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
689         image margins.
691         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
692         (x_draw_image_relief, x_draw_image_foreground_1)
693         (x_draw_image_glyph_string): Adapt to change of image margins.
695         * src/macterm.c (mac_to_x_fontname): Change charset name of
696         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
697         from ksc5601 to ksc5601.1989.
699 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
701         * cw5-mcp.xml: add md5.c to project.
703         * cw6-mcp.xml: add md5.c to project.
705         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
706         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
708 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
710         * src/macterm.c (x_handle_tool_bar_click):
711         (note_tool_bar_highlight): change references to members deleted
712         from struct frame as in xterm.c.
714         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
715         ~emacs/mac/bin.
717 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
719         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
721         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
723         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
725         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
727 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
729         * src/macterm.c (XTread_socket): check whether Lisp variable
730         mac-ready-for-drag-n-drop is bound rather than non-nil value.
732 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
734         * INSTALL: New file.
736         * README: New file.
738         * TODO: New file.
740         * emacs-cw5.mcp.xml: New file.
742         * emacs-cw6.mcp.xml: New file.
744         * makefile.MPW: New file.
746         * inc/alloca.h: New file.
748         * inc/cmdline-defs-cw5.h: New file.
750         * inc/cmdline-defs-cw6.h: New file.
752         * inc/config.h: New file.
754         * inc/dirent.h: New file.
756         * inc/epaths.h: New file.
758         * inc/m-mac.h: New file.
760         * inc/macgui.h: New file.
762         * inc/macterm.h: New file.
764         * inc/pwd.h: New file.
766         * inc/s-mac.h: New file.
768         * inc/termio.h: New file.
770         * inc/utime.h: New file.
772         * inc/utsname.h: New file.
774         * inc/sys/file.h: New file.
776         * inc/sys/ioctl.h: New file.
778         * inc/sys/param.h: New file.
780         * inc/sys/stat.h: New file.
782         * inc/sys/time.h: New file.
784         * inc/sys/types.h: New file.
786         * src/Emacs.r: New file.
788         * src/EmacsMPW.r: New file.
790         * src/chdir.c: New file.
792         * src/mac.c: New file.
794         * src/macfns.c: New file.
796         * src/macmenu.c: New file.
798         * src/macterm.c: New file.
800 ;; Local Variables:
801 ;; coding: iso-2022-7bit-unix
802 ;; End:
804     Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
805   Copying and distribution of this file, with or without modification,
806   are permitted provided the copyright notice and this notice are preserved.
808 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf