(Face Functions): Fix explanations of FRAME=t or nil.
[emacs.git] / mac / ChangeLog
blobe99b092e8be128761547610b47c160b29eec07d5
1 2006-07-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x): Depend on
4         blockinput.h.
6 2006-07-12  Kim F. Storm  <storm@cua.dk>
8         * INSTALL: More cleanup related to last change.
10 2006-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12         * INSTALL: Remove descriptions about Metrowerks CodeWarrior.  Fix URL
13         for GNU-fonts.smi.bin.  USE_ATSUI is enabled by default on Mac OS X.
15         * README: Remove descriptions about Metrowerks CodeWarrior.
17 2006-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
19         * makefile.MPW (SOME_MACHINE_LISP): Add fringe.elc.
21 2006-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
23         * inc/config.h (pid_t): Define to int.
25 2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
27         * makefile.MPW (shortlisp, SOME_MACHINE_LISP): Sync with
28         src/Makefile.in.
30 2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
32         * makefile.MPW (macselect.c.x): Depend on keymap.h.
34 2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
36         * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
37         data.  Make NSServices open-selection the first entry.
39 2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
41         * makefile.MPW (shortlisp): Sync with src/Makefile.in.
43 2005-10-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
45         * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add
46         `FIXME' to descriptions about Metrowerks CodeWarrior.  Remove
47         obsolete description about 512MB limit and icon on Mac OS Classic.
48         Add description about flags for experimental features.
50         * README: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add `FIXME'
51         to descriptions about Metrowerks CodeWarrior.  Remove obsolete
52         descriptions about C-g and supported image types.
54 2005-10-20  Bryan D. O'Connor  <bryan@lunch.org>  (tiny change)
56         * make-package: Add a --compressed-dist option to compress info
57         files and .el files that have been byte-compiled. It defaults to "no".
59 2005-09-24  Eli Zaretskii  <eliz@gnu.org>
61         * INSTALL (NOTES): Update the list of versions of MacOS on which
62         Emacs should build.
64         * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
65         does not exist).
67 2005-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
69         * inc/config.h: Sync with src/config.in.
71 2005-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
73         * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
74         NSServices.
76 2005-07-04  Lute Kamstra  <lute@gnu.org>
78         Update FSF's address in GPL notices.
80 2005-06-08  Steven Tamm  <steventamm@mac.com>
82         * INSTALL: Explain that a universal binary cannot be created and
83         builds for on emachine cannot be targeted to the other.
84         * README: Add Universal Binary to the Todo List.
86 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
88         * makefile.MPW (buildobj.lst): New target.
89         (Clean): Delete file buildobj.lst.
90         (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
91         (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
92         Remove variables.
93         (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP): New
94         variables.
95         ({DocTarget}DOC): Use them.
96         (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
98         * inc/config.h: Sync with src/config.in.
99         (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
100         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
101         (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
102         (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
103         [__MRC__] (HAVE_ALLOCA_H): Likewise.
104         (config_machfile, config_opsysfile, my_strftime): New macros.
105         (HAVE_PWD_H): Move from s-mac.h.
106         (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
107         (PTR): Move to s-mac.h.
109         * inc/m-mac.h: (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
111         * inc/s-mac.h: Sync with src/s/template.h.  Don't include fcntl.h,
112         time.h, or signal.h.
113         (index, rindex): New macros.
114         [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
115         compatibility with predefined ones.
116         (PTR): Move from s-mac.h.
117         (HAVE_PWD_H): Move to config.h.
118         (volatile): Remove macro.
119         [__MRC__] (strftime): Likewise.
120         (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
121         (sys_time, sys_signal, atof): Remove declarations.
123         * inc/sys/time.h (ITIMER_REAL): New macro.
124         (struct itimerval): New struct.
125         (setitimer): New extern.
127 2005-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
129         * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
131 2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
133         * makefile.MPW (MacObjects): Add macselect.c.x.
134         (macselect.c.x): New target.
135         (mac.c): Fix dependency.
137         * Emacs.app/Contents/Info.plist: Add NSServices key and data.
139         * inc/s-mac.h (HAVE_PWD_H): Define.
141 2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
143         * makefile.MPW (NonCarbonLibs): Add LocalesLib.  Delete
144         TextEncodingConverter.
146 2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
148         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
149         (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
150         number and copyright.
152         * Emacs.r (DITL, vers): Likewise.
154 2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
156         * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
157         org.gnu.Emacs.
159 2005-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
161         * INSTALL: Mention new target `NonCarbon'.
163 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
165         * makefile.MPW (NonCarbon): New target.  The target `Emacs' is now
166         used for the Carbon build that defines HAVE_CARBON.
168         * inc/config.h (HAVE_STDLIB_H): Define to 1.
170         * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
171         [HAVE_CARBON] (crfg): New resource for extra stack space.
173 2004-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
175         * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
176         lastfile.c.x.
177         (PPCCOptions): Add -alloca.
178         (EmacsObjects): Remove alloca.c.x.  Add fringe.c.x, image.c.x, and
179         lastfile.c.x.
180         (Emacs MPW): Add QuickTimeLib.
181         (EmacsSource): Remove alloca.c.  Add fringe.c, image.c, and
182         lastfile.c.
183         (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
184         map-ynp.elc.
185         * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
186         (UNEXEC_SRC): Close comment.
187         * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
188         * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
189         (C_ALLOCA) [__MRC__]: Don't define.
190         * inc/s-mac.h (X_OK): New define.
191         (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
192         (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
194 2004-05-29  Steven Tamm  <steventamm@mac.com>
196         * INSTALL: Fixing typos
197         * README: Updating list of TODOs to remove image support and
198         environment variable problem.
200 2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
202         * src/Emacs.r: Update TOO_MUCH_RAM error message.
204 2003-11-22  Lars Hansen <larsh@math.ku.dk>
206         * inc/grp.h: Added.
208 2003-11-02  Andrew Choi  <akochoi@shaw.ca>
210         * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
211         * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
213 2003-10-31  Andrew Choi  <akochoi@shaw.ca>
215         * INSTALL: Add Nozomu Ando's changes to instructions for
216         installing on X Window (that static libraries are no longer
217         necessary after his changes to src/unexmacosx.c).
219 2003-04-28  Andrew Choi  <akochoi@shaw.ca>
221         * make-package: Allocate 5% extra space on disk image for
222         directories and partition tables.
224 2003-04-04  Steven Tamm  <steventamm@mac.com>
226         * make-package: Place libexec executables directly under the
227         Contents/MacOS/libexec if the application is self-contained
229 2003-04-01  Kim F. Storm  <storm@cua.dk>
231         * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
232         (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
234 2003-03-21  Kim F. Storm  <storm@cua.dk>
236         * makefile.MPW (xdisp.c.x):  Add dependency on blockinput.h and
237         files included from it.  Add dependency on keymap.h.
239 2003-01-14  Steven Tamm  <steventamm@mac.com>
241         * make-package: Fixed problem where the building without
242         specifying build directory fails.
244 2003-01-07  Steven Tamm  <steventamm@mac.com>
246         * INSTALL: Added documentation about --enable-carbon-app and
247         changed documentation concerning Emacs.app location
248         Removed some of the documentation about make-package that isn't
249         needed
250         Changed comment about requiring root permission to install to
251         saying that it might be necessary depending on where you install
252         Refered to /usr caveat in more places
253         * make-package (make_options): Use new carbon_appdir option to
254         specify directory to install Application and lets the makefile
255         install
257 2003-01-01  Steven Tamm  <steventamm@mac.com>
259         * make-package: Now copies License and ReadMe files into the
260         Resources directory.  Reduces overhead size when creating
261         installer disk image.
263 2002-12-29  Steven Tamm  <steventamm@mac.com>
265         * make-package: Defaults to building the source tree in a
266         separate directory.  Use the new option --build-in-place to
267         have old behavior.  Added new option --build-dir to specify the
268         build directory.
270 2002-12-27  Steven Tamm  <steventamm@mac.com>
272         * make-package: Fix typo where tmpparent was used instead of
273         tempparent for calculating installedSize and compressedSize.
275 2002-12-10  Andreas Schwab  <schwab@suse.de>
277         * make-package: Fix syntax for find.
279 2002-12-08  Steven Tamm  <steventamm@mac.com>
281         * INSTALL: Added description about make-package.
283         * make-package: Fixed --self-contained option to place the
284         directories in the correct locations for
285         init_mac_osx_environment and use hardlink by default for the
286         application.  Script fails with invalid option.
288 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
290         * make-bin-dist, osx-install: Remove.
292         * INSTALL: Remove description of make-bin-dist and osx-install.
294 2002-12-02  Steven Tamm  <steventamm@mac.com>
296         * make-package (installprefix): Switched copying of .el files
297         to be on by default.  Removed symlink for emacs -> emacs-version.
299 2002-11-30  Steven Tamm  <steventamm@mac.com>
301         * make-package: Now compresses .pax file instead of entire disk
302         image to reduce installer size on disk.  Also added code to
303         create compressed disk image in the future.
305         No longer copies .el files that have been compiled by default.
306         Use --full-dist option to include them.
308         Option --symlink added to reduce disk size by making
309         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
310         symlinks to the emacs-[version] binary.
312         Option --self-contained added to place files shared files
313         inside the Emacs.app executable (for portability between systems)
315         Added hidden debugging option --keep-dir to keep temporary install
316         directory (emacs-[version]) around after running script
318         * README: Removed comment about mouse-2 & -3 not working (it does).
320 2002-10-14  Andreas Schwab  <schwab@suse.de>
322         * make-package: Fix syntax for find.
324 2002-10-08  Steven Tamm  <steventamm@mac.com>
326         * make-package: Added ability to pass command line options
327         through to make and configure (-m, & -c,).
328         Added option to not copy Application into installer, the default
329         for X11 builds.  Does not copy CVS directories into installer.
330         Clarified some of the usage notes.
332 2002-10-07  Steven Tamm  <steventamm@mac.com>
334         * make-package: Now calls make bootstrap if .elc files are missing.
336 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
338         * INSTALL: Add information on starting Emacs as a GUI application
339         from the terminal.
341 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
343         * INSTALL: Add instructions for building Carbon version on Macs
344         with X Window installed.
346 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
348         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
349         change creator code from ???? to EMAx.
351         * INSTALL: Add instructions for building X Window version.
353 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
355         * make-package: Change -a option to -R for cp command.
357 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
359         * make-package: Add ability to handle options --help, --prefix,
360         --no-conf, and --with-x.
362 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
364         * make-package: New file.
366 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
368         * Emacs.app/Contents/Resources/Emacs.icns: New file.
370         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
371         CFBundleIconFile entries.
373 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
375         * Emacs.app/Contents/Info.plist: New file.
377         * Emacs.app/Contents/PkgInfo: New file.
379         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
380         New file.
382         * cw5-mcp.xml: Remove file.
384         * inc/defs-cw5.h: Remove file.
386         * cw6-mcp.xml: Update with new version.
388         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
389         of constant CODEWARRIOR_VERSION_6.
391         * mac/src/mac.c:
392         * mac/src/macmenu.c:
393         * mac/src/macterm.c:
394         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
396         * src/Carbon.r: New File.
398         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
399         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
400         macterm.h.  Generate DOC from .el instead of .elc versions of
401         files listed in DONTCOMPILE in lisp/Makefile.in.
403         * INSTALL: Add installation instructions for Mac OS X.
405         * README: Add information for Mac OS X.
407         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
408         src/macterm.c, inc/macterm.h: Remove from here and move to src.
410 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
412         * src/mac.c (select): Under Carbon, always return true so
413         XTread_socket is called to poll input.
414         (run_mac_command): Not implemented under Carbon.
415         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
416         establish pathname.
417         (do_applescript): Use Carbon routines AEGetDescDatASize and
418         AEGetDescData.
419         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
420         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
421         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
422         GetCurrentScrap, and PutScrapFlavor.
423         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
424         GetScrapFlavorFlags.
426         * src/macfns.c: Synchronize with changes in w32fns.c.
427         [MAC_OSX]: Include Carbon headers.
428         (x_real_positions): Use Carbon routine GetWindowPortBounds.
429         (x_set_scroll_bar_width): Set width of scroll bar to 16.
430         (x_make_gc): Remove static qualifier.
432         * src/macmenu.c: Synchronize with changes in w32menu.c.
433         [MAC_OSX]: Include Carbon headers.
434         (set_frame_menubar): Check equality of vector representation of
435         scroll bars using Fequal instead of EQ.
436         (mac_menu_show): Use Carbon routine GetWindowPort.
437         (mac_dialog): Likewise.
438         (add_menu_item): Use Carbon routines CountMenuItems,
439         EnableMenuItem, and DisableMenuItem.
441         * src/macterm.c: Synchronize with changes in w32term.c.
442         [MAC_OSX]: Include Carbon headers.
443         (XDrawLine): Use Carbon routine GetWindowPort.
444         (XClearArea): Likewise.
445         (XClearWindow): Use Carbon routines GetWindowPort and
446         GetWindowPortBounds.
447         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
448         GetPortPixMap.
449         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
450         (mac_reset_clipping): Use Carbon routine GetWindowPort.
451         (XFillRectangle): Likewise.
452         (mac_draw_rectangle): Likewise.
453         (mac_draw_rectangle_to_pixmap): Likewise.
454         (mac_draw_string_common): Likewise.
455         (mac_copy_area): Use Carbon routines GetWindowPort and
456         GetPortPixMap.
457         (mac_scroll_area): Use Carbon routines GetWindowPort and
458         GetQDGlobalsScreenBits.
459         (x_flush): Call Carbon routine QDFlushPortBuffer.
460         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
461         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
462         (x_draw_image_glyph_string): Likewise.
463         (x_draw_stretch_glyph_string): Likewise.
464         (construct_mouse_click): Call Carbon routine GetWindowPort.
465         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
466         (XTmouse_position): Call Carbon routine GetWindowPort.
467         (x_scroll_bar_create): Create scroll bar with proc
468         kControlScrollBarProc.
469         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
470         (activate_scroll_bar): Call ActivateControl instead of
471         SetControlMaximum.
472         (deactivate_scroll_bar): Call DeactivateControl instead of
473         SetControlMaximum.
474         (x_scroll_bar_handle_click): Use default case for scroll
475         indicator.
476         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
477         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
478         GetWindowPortBounds.
479         (init_font_name_table): Call Carbon Font Manager routines to
480         iterate through all fonts.
481         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
482         GetPortTextSize, and GetPortTextFace.
483         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
484         (is_emacs_window): New function to filter out non-Emacs windows
485         passed back by WaitNextEvent.
486         (do_mouse_moved): Call Carbon routine GetWindowPort.
487         (do_apple_menu): No apple menu handler under Carbon.
488         (do_zoom_window): Call Carbon routines GetWindowPort,
489         GetQDGlobalsScreenBits, SetWindowStandardState, and
490         GetWindowPortBounds.
491         (init_required_apple_events): Use UPP procedure type converter.
492         (main): Don't define for Carbon version.
493         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
494         check_alarm.  Call Carbon routines GetWindowPort,
495         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
496         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
497         routine GetWindowPort.
498         (mac_initialize): Rename from x_initialize.  Use new Doc string
499         format.
501         * inc/macterm.h: Synchronize with changes in w32term.h.
503         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
504         WindowPtr.
506 2002-01-28  Kim F. Storm  <storm@cua.dk>
508         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
509         cursor row is invisible.  This can happen if cursor is on top line
510         of a window, and we switch to a buffer with a header line.
512 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
514         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
516 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
518         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
519         frame parameter have a numeric value all the time.
521 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
523         * COPYING: New file.
525 2001-12-06  Kim F. Storm  <storm@cua.dk>
527         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
529 2001-12-01  Kim F. Storm  <storm@cua.dk>
531         The following changes add left-fringe and right-fringe
532         frame parameters to adjust fringe widths, or remove one or
533         both fringes.  See ../src/ChangeLog for details.
535         * inc/macterm.h: Merged changes from xterm.h.
536         * src/macterm.c: Merged changes from xterm.c.
537         * src/macfns.c: Merged changes from xfns.c.
539 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
541         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
543 2001-11-16  Kim F. Storm  <storm@cua.dk>
545         The following changes are made to clean up the various internal
546         references to the fringes to actually use the term `fringe'.
548         * src/macfns.c: Use renamed symbols.
550         * src/macterm.c: Comment fixes. Use renamed symbols.
551         (fringe_bitmap_type): Renamed from bitmap_type.
552         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
553         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
554         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
556         * inc/macterm.h: Comment fixes. Use renamed symbols.
557         (fringes_extra): Renamed from flags_areas_extra.
558         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
559         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
560         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
561         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
562         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
563         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
565 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
567         * (Version 21.1 released.)
569 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
571         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
572         * src/mac.c (run_mac_command): Update calls to openp.
574 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
576         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
578         * src/macterm.c: Include keymap.h.
579         (note_mode_line_highlight): Use KEYMAPP.
581 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
583         * Branch for 21.1.
585 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
587         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
589         * src/macterm.c (XTread_socket): Read all pending events in the
590         event queue instead of one.
591         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
592         a script code of -smJapanese is specified.
593         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
594         encoding.
595         (init_font_name_table): Use a script code of -smJapanese instead
596         of smRoman for the second entry of a Japanese font.
597         (XLoadQueryFont): Recognize a font as having the smRoman script
598         code if its encoding is jisx0201.1976-0.
600         * makefile.MPW: Generate etc/DOC file from .elc files instead of
601         .el files.
603         * src/mac.c (stat): Don't fail for aliases.
604         (sys_open) [__MRC__]: Set file creator and type for newly-created
605         files.
606         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
607         elapsed instead of use WaitNextEvent call as a delay.
609 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
611         * src/macterm.c (init_font_name_table): Add an additional entry to
612         the font table with the script code smRoman for each Apple
613         Japanese font.
614         (XLoadQueryFont): Recognize a font as having the smRoman script
615         code even when FontToScript returns smJapanese if it is one of
616         those created above.
618 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
620         * INSTALL: Add to the note on using -opt speed in MPW the function
621         macterm.c (x_draw_hollow_cursor).
623         * src/macterm.c (mac_scroll_area): Call CopyBits with local
624         coordinates and portBits instead of global coordinates and
625         screenBits.  Set fore color and back color to black and white,
626         respectively, before calling CopyBits.
628         * src/macterm.c (local_to_global_coord): Comment out.
630         * src/mac.c (mac-filename-to-unix): Change to
631         mac-file-name-to-posix.
632         (unix-filename-to-mac): Change to posix-file-name-to-mac.
633         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
634         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
636         * src/macterm.c (do_ae_open_documents): Change call to
637         mac_to_unix_pathname to mac_to_posix_pathname.
639 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
641         * inc/macterm.h (x_display_list): Declare extern.
643 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
645         * src/macterm.c (xim_open_dpy): Fix typo.
647 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
649         * README: Change references to SourceForge site to
650         ftp://ftp.gnu.org/gnu/mac/emacs/.
652 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
654         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
656 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
658         * src/Emacs.r: Change About box message.
660         * makefile.MPW: Add md5.c.x to EmacsObjects.
662         * src/mac.c (select): Call WaitNextEvent instead of Delay.
663         (pause): Ditto.
664         (sleep): Ditto.
666         * src/macterm.c (do_app_resume): Set cursor to arrow.
667         (clear_mouse_face): check for NIL Lisp object instead of null
668         pointer.
670         * INSTALL: Delete note on compiling Lisp files on a Unix system.
671         Add note on turning off end of line conversion.
673 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
675         * src/macfns.c: Rename everything containing *busy_cursor* and
676         similar to *hourglass*.
677         Change IMAGE_POSITIVE_INTEGER_VALUE to
678         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
679         (x_set_font): If font hasn't changed, avoid recomputing faces and
680         other things, as in xfns.c.
681         (Qcancel_timer): New variable.
682         (syms_of_macfns): Rename x-busy-pointer-shape to
683         x-hourglass-pointer-shape, display-busy-cursor to
684         display-hourglass, busy-cursor-delay to hourglass-delay, as in
685         xfns.c.
686         (x_set_tool_bar_lines): Modify as in xfns.c
687         (x_change_window_heights): New function.
689         * inc/macterm.h (struct x_output): Rename busy_cursor to
690         hourglass_cursor, busy_window to hourglass_window, busy_p to
691         hourglass_p, as in xterm.h.
693         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
694         safe_run_hooks, as in xmenu.c.
696         * src/macterm.c (do_check_ram_size): New function.
698         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
699         256 MB RAM.
701 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
703         * mac/INSTALL:
704         * mac/README:
705         * mac/cw5-mcp.xml:
706         * mac/cw6-mcp.xml:
707         * mac/inc/alloca.h:
708         * mac/inc/defs-cw5.h:
709         * mac/inc/defs-cw6.h: Added copyright notice.
711 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
713         * src/macterm.c (mac_font_pattern_match): Allocate three more
714         bytes to regex for '^', '$', and '\0'.
716         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
717         garbage collection.
719         * src/macfns.c (QCconversion): Replaces QCalgorithm.
721         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
722         image margins.
724         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
725         (x_draw_image_relief, x_draw_image_foreground_1)
726         (x_draw_image_glyph_string): Adapt to change of image margins.
728         * src/macterm.c (mac_to_x_fontname): Change charset name of
729         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
730         from ksc5601 to ksc5601.1989.
732 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
734         * cw5-mcp.xml: add md5.c to project.
736         * cw6-mcp.xml: add md5.c to project.
738         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
739         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
741 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
743         * src/macterm.c (x_handle_tool_bar_click):
744         (note_tool_bar_highlight): change references to members deleted
745         from struct frame as in xterm.c.
747         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
748         ~emacs/mac/bin.
750 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
752         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
754         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
756         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
758         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
760 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
762         * src/macterm.c (XTread_socket): check whether Lisp variable
763         mac-ready-for-drag-n-drop is bound rather than non-nil value.
765 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
767         * INSTALL: New file.
769         * README: New file.
771         * TODO: New file.
773         * emacs-cw5.mcp.xml: New file.
775         * emacs-cw6.mcp.xml: New file.
777         * makefile.MPW: New file.
779         * inc/alloca.h: New file.
781         * inc/cmdline-defs-cw5.h: New file.
783         * inc/cmdline-defs-cw6.h: New file.
785         * inc/config.h: New file.
787         * inc/dirent.h: New file.
789         * inc/epaths.h: New file.
791         * inc/m-mac.h: New file.
793         * inc/macgui.h: New file.
795         * inc/macterm.h: New file.
797         * inc/pwd.h: New file.
799         * inc/s-mac.h: New file.
801         * inc/termio.h: New file.
803         * inc/utime.h: New file.
805         * inc/utsname.h: New file.
807         * inc/sys/file.h: New file.
809         * inc/sys/ioctl.h: New file.
811         * inc/sys/param.h: New file.
813         * inc/sys/stat.h: New file.
815         * inc/sys/time.h: New file.
817         * inc/sys/types.h: New file.
819         * src/Emacs.r: New file.
821         * src/EmacsMPW.r: New file.
823         * src/chdir.c: New file.
825         * src/mac.c: New file.
827         * src/macfns.c: New file.
829         * src/macmenu.c: New file.
831         * src/macterm.c: New file.
833 ;; Local Variables:
834 ;; coding: iso-2022-7bit-unix
835 ;; End:
837     Copyright (C) 2001, 2002, 2003, 2004, 2005,
838         2006 Free Software Foundation, Inc.
839   Copying and distribution of this file, with or without modification,
840   are permitted provided the copyright notice and this notice are preserved.
842 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf