Fix two variable-reference bugs.
[emacs.git] / mac / ChangeLog
blob5413a1f04bb41cd986b6c9c3604ef63395df1686
1 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
3         * Version 22.1 released.
5 2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7         * INSTALL: Add note about moving self-contained application bundle
8         to non-ASCII directory.
10 2007-04-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12         * INSTALL: Fix description about using colors in terminal.
13         Fix typos (/Application -> /Applications).
15 2007-04-26  Glenn Morris  <rgm@gnu.org>
17         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
18         * src/Emacs.r: Increase version to 22.1.50.
20 2007-04-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22         * make-package (compver): Don't hardcode processor type.
24 2007-03-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
26         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x, lread.c.x)
27         (print.c.x, term.c.x): Depend on BLOCKINPUT_H_GROUP.
29 2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
31         * inc/config.h: Sync with src/config.in.
33 2007-01-30  Piet van Oostrum  <piet@cs.uu.nl>
35         * make-package (compver): Install info and manpages.
37 2006-12-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
39         * inc/config.h: Sync with src/config.in.
41 2006-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
43         * INSTALL: Add descriptions about configuration and invocation.
44         Capitalize `Carbon'.
46 2006-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
48         * inc/config.h: Sync with src/config.in.
50 2006-11-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
52         * INSTALL: Remove descriptions about --without-x.  Remove
53         --without-carbon from configure options for X11 build.
55 2006-09-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
57         * INSTALL: Remove descriptions about experimental flags.
59         * inc/config.h: Sync with src/config.in.
61         * src/Emacs.r (M_APPLE): New define.
62         (MENU): Use it.
64 2006-09-15  Jay Belanger  <belanger@truman.edu>
66         * COPYING: Replace "Library Public License" by "Lesser Public
67         License" throughout.
69 2006-07-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
71         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x):
72         Depend on blockinput.h.
74 2006-07-12  Kim F. Storm  <storm@cua.dk>
76         * INSTALL: More cleanup related to last change.
78 2006-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
80         * INSTALL: Remove descriptions about Metrowerks CodeWarrior.  Fix URL
81         for GNU-fonts.smi.bin.  USE_ATSUI is enabled by default on Mac OS X.
83         * README: Remove descriptions about Metrowerks CodeWarrior.
85 2006-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
87         * makefile.MPW (SOME_MACHINE_LISP): Add fringe.elc.
89 2006-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
91         * inc/config.h (pid_t): Define to int.
93 2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
95         * makefile.MPW (shortlisp, SOME_MACHINE_LISP): Sync with
96         src/Makefile.in.
98 2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
100         * makefile.MPW (macselect.c.x): Depend on keymap.h.
102 2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
104         * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
105         data.  Make NSServices open-selection the first entry.
107 2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
109         * makefile.MPW (shortlisp): Sync with src/Makefile.in.
111 2005-10-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
113         * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add
114         `FIXME' to descriptions about Metrowerks CodeWarrior.  Remove
115         obsolete description about 512MB limit and icon on Mac OS Classic.
116         Add description about flags for experimental features.
118         * README: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add `FIXME'
119         to descriptions about Metrowerks CodeWarrior.  Remove obsolete
120         descriptions about C-g and supported image types.
122 2005-10-20  Bryan D. O'Connor  <bryan@lunch.org>  (tiny change)
124         * make-package: Add a --compressed-dist option to compress info
125         files and .el files that have been byte-compiled. It defaults to "no".
127 2005-09-24  Eli Zaretskii  <eliz@gnu.org>
129         * INSTALL (NOTES): Update the list of versions of MacOS on which
130         Emacs should build.
132         * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
133         does not exist).
135 2005-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
137         * inc/config.h: Sync with src/config.in.
139 2005-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
141         * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
142         NSServices.
144 2005-07-04  Lute Kamstra  <lute@gnu.org>
146         Update FSF's address in GPL notices.
148 2005-06-08  Steven Tamm  <steventamm@mac.com>
150         * INSTALL: Explain that a universal binary cannot be created and
151         builds for on emachine cannot be targeted to the other.
152         * README: Add Universal Binary to the Todo List.
154 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
156         * makefile.MPW (buildobj.lst): New target.
157         (Clean): Delete file buildobj.lst.
158         (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
159         (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
160         Remove variables.
161         (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP):
162         New variables.
163         ({DocTarget}DOC): Use them.
164         (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
166         * inc/config.h: Sync with src/config.in.
167         (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
168         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
169         (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
170         (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
171         [__MRC__] (HAVE_ALLOCA_H): Likewise.
172         (config_machfile, config_opsysfile, my_strftime): New macros.
173         (HAVE_PWD_H): Move from s-mac.h.
174         (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
175         (PTR): Move to s-mac.h.
177         * inc/m-mac.h (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
179         * inc/s-mac.h: Sync with src/s/template.h.  Don't include fcntl.h,
180         time.h, or signal.h.
181         (index, rindex): New macros.
182         [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
183         compatibility with predefined ones.
184         (PTR): Move from s-mac.h.
185         (HAVE_PWD_H): Move to config.h.
186         (volatile): Remove macro.
187         [__MRC__] (strftime): Likewise.
188         (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
189         (sys_time, sys_signal, atof): Remove declarations.
191         * inc/sys/time.h (ITIMER_REAL): New macro.
192         (struct itimerval): New struct.
193         (setitimer): New extern.
195 2005-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
197         * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
199 2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
201         * makefile.MPW (MacObjects): Add macselect.c.x.
202         (macselect.c.x): New target.
203         (mac.c): Fix dependency.
205         * Emacs.app/Contents/Info.plist: Add NSServices key and data.
207         * inc/s-mac.h (HAVE_PWD_H): Define.
209 2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
211         * makefile.MPW (NonCarbonLibs): Add LocalesLib.  Delete
212         TextEncodingConverter.
214 2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
216         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
217         (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
218         number and copyright.
220         * Emacs.r (DITL, vers): Likewise.
222 2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
224         * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
225         org.gnu.Emacs.
227 2005-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
229         * INSTALL: Mention new target `NonCarbon'.
231 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
233         * makefile.MPW (NonCarbon): New target.  The target `Emacs' is now
234         used for the Carbon build that defines HAVE_CARBON.
236         * inc/config.h (HAVE_STDLIB_H): Define to 1.
238         * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
239         [HAVE_CARBON] (crfg): New resource for extra stack space.
241 2004-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
243         * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
244         lastfile.c.x.
245         (PPCCOptions): Add -alloca.
246         (EmacsObjects): Remove alloca.c.x.  Add fringe.c.x, image.c.x, and
247         lastfile.c.x.
248         (Emacs MPW): Add QuickTimeLib.
249         (EmacsSource): Remove alloca.c.  Add fringe.c, image.c, and
250         lastfile.c.
251         (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
252         map-ynp.elc.
253         * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
254         (UNEXEC_SRC): Close comment.
255         * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
256         * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
257         (C_ALLOCA) [__MRC__]: Don't define.
258         * inc/s-mac.h (X_OK): New define.
259         (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
260         (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
262 2004-05-29  Steven Tamm  <steventamm@mac.com>
264         * INSTALL: Fixing typos
265         * README: Updating list of TODOs to remove image support and
266         environment variable problem.
268 2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
270         * src/Emacs.r: Update TOO_MUCH_RAM error message.
272 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
274         * inc/grp.h: Added.
276 2003-11-02  Andrew Choi  <akochoi@shaw.ca>
278         * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
279         * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
281 2003-10-31  Andrew Choi  <akochoi@shaw.ca>
283         * INSTALL: Add Nozomu Ando's changes to instructions for
284         installing on X Window (that static libraries are no longer
285         necessary after his changes to src/unexmacosx.c).
287 2003-04-28  Andrew Choi  <akochoi@shaw.ca>
289         * make-package: Allocate 5% extra space on disk image for
290         directories and partition tables.
292 2003-04-04  Steven Tamm  <steventamm@mac.com>
294         * make-package: Place libexec executables directly under the
295         Contents/MacOS/libexec if the application is self-contained
297 2003-04-01  Kim F. Storm  <storm@cua.dk>
299         * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
300         (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
302 2003-03-21  Kim F. Storm  <storm@cua.dk>
304         * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
305         files included from it.  Add dependency on keymap.h.
307 2003-01-14  Steven Tamm  <steventamm@mac.com>
309         * make-package: Fixed problem where the building without
310         specifying build directory fails.
312 2003-01-07  Steven Tamm  <steventamm@mac.com>
314         * INSTALL: Added documentation about --enable-carbon-app and
315         changed documentation concerning Emacs.app location
316         Removed some of the documentation about make-package that isn't
317         needed
318         Changed comment about requiring root permission to install to
319         saying that it might be necessary depending on where you install
320         Refered to /usr caveat in more places
321         * make-package (make_options): Use new carbon_appdir option to
322         specify directory to install Application and lets the makefile
323         install
325 2003-01-01  Steven Tamm  <steventamm@mac.com>
327         * make-package: Now copies License and ReadMe files into the
328         Resources directory.  Reduces overhead size when creating
329         installer disk image.
331 2002-12-29  Steven Tamm  <steventamm@mac.com>
333         * make-package: Defaults to building the source tree in a
334         separate directory.  Use the new option --build-in-place to
335         have old behavior.  Added new option --build-dir to specify the
336         build directory.
338 2002-12-27  Steven Tamm  <steventamm@mac.com>
340         * make-package: Fix typo where tmpparent was used instead of
341         tempparent for calculating installedSize and compressedSize.
343 2002-12-10  Andreas Schwab  <schwab@suse.de>
345         * make-package: Fix syntax for find.
347 2002-12-08  Steven Tamm  <steventamm@mac.com>
349         * INSTALL: Added description about make-package.
351         * make-package: Fixed --self-contained option to place the
352         directories in the correct locations for
353         init_mac_osx_environment and use hardlink by default for the
354         application.  Script fails with invalid option.
356 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
358         * make-bin-dist, osx-install: Remove.
360         * INSTALL: Remove description of make-bin-dist and osx-install.
362 2002-12-02  Steven Tamm  <steventamm@mac.com>
364         * make-package (installprefix): Switched copying of .el files
365         to be on by default.  Removed symlink for emacs -> emacs-version.
367 2002-11-30  Steven Tamm  <steventamm@mac.com>
369         * make-package: Now compresses .pax file instead of entire disk
370         image to reduce installer size on disk.  Also added code to
371         create compressed disk image in the future.
373         No longer copies .el files that have been compiled by default.
374         Use --full-dist option to include them.
376         Option --symlink added to reduce disk size by making
377         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
378         symlinks to the emacs-[version] binary.
380         Option --self-contained added to place files shared files
381         inside the Emacs.app executable (for portability between systems)
383         Added hidden debugging option --keep-dir to keep temporary install
384         directory (emacs-[version]) around after running script
386         * README: Removed comment about mouse-2 & -3 not working (it does).
388 2002-10-14  Andreas Schwab  <schwab@suse.de>
390         * make-package: Fix syntax for find.
392 2002-10-08  Steven Tamm  <steventamm@mac.com>
394         * make-package: Added ability to pass command line options
395         through to make and configure (-m, & -c,).
396         Added option to not copy Application into installer, the default
397         for X11 builds.  Does not copy CVS directories into installer.
398         Clarified some of the usage notes.
400 2002-10-07  Steven Tamm  <steventamm@mac.com>
402         * make-package: Now calls make bootstrap if .elc files are missing.
404 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
406         * INSTALL: Add information on starting Emacs as a GUI application
407         from the terminal.
409 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
411         * INSTALL: Add instructions for building Carbon version on Macs
412         with X Window installed.
414 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
416         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
417         change creator code from ???? to EMAx.
419         * INSTALL: Add instructions for building X Window version.
421 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
423         * make-package: Change -a option to -R for cp command.
425 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
427         * make-package: Add ability to handle options --help, --prefix,
428         --no-conf, and --with-x.
430 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
432         * make-package: New file.
434 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
436         * Emacs.app/Contents/Resources/Emacs.icns: New file.
438         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
439         CFBundleIconFile entries.
441 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
443         * Emacs.app/Contents/Info.plist: New file.
445         * Emacs.app/Contents/PkgInfo: New file.
447         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
448         New file.
450         * cw5-mcp.xml: Remove file.
452         * inc/defs-cw5.h: Remove file.
454         * cw6-mcp.xml: Update with new version.
456         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
457         of constant CODEWARRIOR_VERSION_6.
459         * mac/src/mac.c:
460         * mac/src/macmenu.c:
461         * mac/src/macterm.c:
462         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
464         * src/Carbon.r: New File.
466         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
467         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
468         macterm.h.  Generate DOC from .el instead of .elc versions of
469         files listed in DONTCOMPILE in lisp/Makefile.in.
471         * INSTALL: Add installation instructions for Mac OS X.
473         * README: Add information for Mac OS X.
475         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
476         src/macterm.c, inc/macterm.h: Remove from here and move to src.
478 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
480         * src/mac.c (select): Under Carbon, always return true so
481         XTread_socket is called to poll input.
482         (run_mac_command): Not implemented under Carbon.
483         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
484         establish pathname.
485         (do_applescript): Use Carbon routines AEGetDescDatASize and
486         AEGetDescData.
487         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
488         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
489         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
490         GetCurrentScrap, and PutScrapFlavor.
491         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
492         GetScrapFlavorFlags.
494         * src/macfns.c: Synchronize with changes in w32fns.c.
495         [MAC_OSX]: Include Carbon headers.
496         (x_real_positions): Use Carbon routine GetWindowPortBounds.
497         (x_set_scroll_bar_width): Set width of scroll bar to 16.
498         (x_make_gc): Remove static qualifier.
500         * src/macmenu.c: Synchronize with changes in w32menu.c.
501         [MAC_OSX]: Include Carbon headers.
502         (set_frame_menubar): Check equality of vector representation of
503         scroll bars using Fequal instead of EQ.
504         (mac_menu_show): Use Carbon routine GetWindowPort.
505         (mac_dialog): Likewise.
506         (add_menu_item): Use Carbon routines CountMenuItems,
507         EnableMenuItem, and DisableMenuItem.
509         * src/macterm.c: Synchronize with changes in w32term.c.
510         [MAC_OSX]: Include Carbon headers.
511         (XDrawLine): Use Carbon routine GetWindowPort.
512         (XClearArea): Likewise.
513         (XClearWindow): Use Carbon routines GetWindowPort and
514         GetWindowPortBounds.
515         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
516         GetPortPixMap.
517         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
518         (mac_reset_clipping): Use Carbon routine GetWindowPort.
519         (XFillRectangle): Likewise.
520         (mac_draw_rectangle): Likewise.
521         (mac_draw_rectangle_to_pixmap): Likewise.
522         (mac_draw_string_common): Likewise.
523         (mac_copy_area): Use Carbon routines GetWindowPort and
524         GetPortPixMap.
525         (mac_scroll_area): Use Carbon routines GetWindowPort and
526         GetQDGlobalsScreenBits.
527         (x_flush): Call Carbon routine QDFlushPortBuffer.
528         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
529         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
530         (x_draw_image_glyph_string): Likewise.
531         (x_draw_stretch_glyph_string): Likewise.
532         (construct_mouse_click): Call Carbon routine GetWindowPort.
533         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
534         (XTmouse_position): Call Carbon routine GetWindowPort.
535         (x_scroll_bar_create): Create scroll bar with proc
536         kControlScrollBarProc.
537         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
538         (activate_scroll_bar): Call ActivateControl instead of
539         SetControlMaximum.
540         (deactivate_scroll_bar): Call DeactivateControl instead of
541         SetControlMaximum.
542         (x_scroll_bar_handle_click): Use default case for scroll
543         indicator.
544         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
545         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
546         GetWindowPortBounds.
547         (init_font_name_table): Call Carbon Font Manager routines to
548         iterate through all fonts.
549         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
550         GetPortTextSize, and GetPortTextFace.
551         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
552         (is_emacs_window): New function to filter out non-Emacs windows
553         passed back by WaitNextEvent.
554         (do_mouse_moved): Call Carbon routine GetWindowPort.
555         (do_apple_menu): No apple menu handler under Carbon.
556         (do_zoom_window): Call Carbon routines GetWindowPort,
557         GetQDGlobalsScreenBits, SetWindowStandardState, and
558         GetWindowPortBounds.
559         (init_required_apple_events): Use UPP procedure type converter.
560         (main): Don't define for Carbon version.
561         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
562         check_alarm.  Call Carbon routines GetWindowPort,
563         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
564         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
565         routine GetWindowPort.
566         (mac_initialize): Rename from x_initialize.  Use new Doc string
567         format.
569         * inc/macterm.h: Synchronize with changes in w32term.h.
571         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
572         WindowPtr.
574 2002-01-28  Kim F. Storm  <storm@cua.dk>
576         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
577         cursor row is invisible.  This can happen if cursor is on top line
578         of a window, and we switch to a buffer with a header line.
580 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
582         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
584 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
586         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
587         frame parameter have a numeric value all the time.
589 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
591         * COPYING: New file.
593 2001-12-06  Kim F. Storm  <storm@cua.dk>
595         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
597 2001-12-01  Kim F. Storm  <storm@cua.dk>
599         The following changes add left-fringe and right-fringe
600         frame parameters to adjust fringe widths, or remove one or
601         both fringes.  See ../src/ChangeLog for details.
603         * inc/macterm.h: Merged changes from xterm.h.
604         * src/macterm.c: Merged changes from xterm.c.
605         * src/macfns.c: Merged changes from xfns.c.
607 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
609         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
611 2001-11-16  Kim F. Storm  <storm@cua.dk>
613         The following changes are made to clean up the various internal
614         references to the fringes to actually use the term `fringe'.
616         * src/macfns.c: Use renamed symbols.
618         * src/macterm.c: Comment fixes. Use renamed symbols.
619         (fringe_bitmap_type): Renamed from bitmap_type.
620         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
621         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
622         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
624         * inc/macterm.h: Comment fixes. Use renamed symbols.
625         (fringes_extra): Renamed from flags_areas_extra.
626         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
627         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
628         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
629         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
630         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
631         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
633 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
635         * (Version 21.1 released.)
637 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
639         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
640         * src/mac.c (run_mac_command): Update calls to openp.
642 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
644         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
646         * src/macterm.c: Include keymap.h.
647         (note_mode_line_highlight): Use KEYMAPP.
649 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
651         * Branch for 21.1.
653 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
655         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
657         * src/macterm.c (XTread_socket): Read all pending events in the
658         event queue instead of one.
659         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
660         a script code of -smJapanese is specified.
661         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
662         encoding.
663         (init_font_name_table): Use a script code of -smJapanese instead
664         of smRoman for the second entry of a Japanese font.
665         (XLoadQueryFont): Recognize a font as having the smRoman script
666         code if its encoding is jisx0201.1976-0.
668         * makefile.MPW: Generate etc/DOC file from .elc files instead of
669         .el files.
671         * src/mac.c (stat): Don't fail for aliases.
672         (sys_open) [__MRC__]: Set file creator and type for newly-created
673         files.
674         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
675         elapsed instead of use WaitNextEvent call as a delay.
677 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
679         * src/macterm.c (init_font_name_table): Add an additional entry to
680         the font table with the script code smRoman for each Apple
681         Japanese font.
682         (XLoadQueryFont): Recognize a font as having the smRoman script
683         code even when FontToScript returns smJapanese if it is one of
684         those created above.
686 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
688         * INSTALL: Add to the note on using -opt speed in MPW the function
689         macterm.c (x_draw_hollow_cursor).
691         * src/macterm.c (mac_scroll_area): Call CopyBits with local
692         coordinates and portBits instead of global coordinates and
693         screenBits.  Set fore color and back color to black and white,
694         respectively, before calling CopyBits.
696         * src/macterm.c (local_to_global_coord): Comment out.
698         * src/mac.c (mac-filename-to-unix): Change to
699         mac-file-name-to-posix.
700         (unix-filename-to-mac): Change to posix-file-name-to-mac.
701         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
702         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
704         * src/macterm.c (do_ae_open_documents): Change call to
705         mac_to_unix_pathname to mac_to_posix_pathname.
707 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
709         * inc/macterm.h (x_display_list): Declare extern.
711 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
713         * src/macterm.c (xim_open_dpy): Fix typo.
715 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
717         * README: Change references to SourceForge site to
718         ftp://ftp.gnu.org/gnu/mac/emacs/.
720 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
722         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
724 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
726         * src/Emacs.r: Change About box message.
728         * makefile.MPW: Add md5.c.x to EmacsObjects.
730         * src/mac.c (select): Call WaitNextEvent instead of Delay.
731         (pause): Ditto.
732         (sleep): Ditto.
734         * src/macterm.c (do_app_resume): Set cursor to arrow.
735         (clear_mouse_face): check for NIL Lisp object instead of null
736         pointer.
738         * INSTALL: Delete note on compiling Lisp files on a Unix system.
739         Add note on turning off end of line conversion.
741 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
743         * src/macfns.c: Rename everything containing *busy_cursor* and
744         similar to *hourglass*.
745         Change IMAGE_POSITIVE_INTEGER_VALUE to
746         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
747         (x_set_font): If font hasn't changed, avoid recomputing faces and
748         other things, as in xfns.c.
749         (Qcancel_timer): New variable.
750         (syms_of_macfns): Rename x-busy-pointer-shape to
751         x-hourglass-pointer-shape, display-busy-cursor to
752         display-hourglass, busy-cursor-delay to hourglass-delay, as in
753         xfns.c.
754         (x_set_tool_bar_lines): Modify as in xfns.c
755         (x_change_window_heights): New function.
757         * inc/macterm.h (struct x_output): Rename busy_cursor to
758         hourglass_cursor, busy_window to hourglass_window, busy_p to
759         hourglass_p, as in xterm.h.
761         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
762         safe_run_hooks, as in xmenu.c.
764         * src/macterm.c (do_check_ram_size): New function.
766         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
767         256 MB RAM.
769 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
771         * mac/INSTALL:
772         * mac/README:
773         * mac/cw5-mcp.xml:
774         * mac/cw6-mcp.xml:
775         * mac/inc/alloca.h:
776         * mac/inc/defs-cw5.h:
777         * mac/inc/defs-cw6.h: Added copyright notice.
779 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
781         * src/macterm.c (mac_font_pattern_match): Allocate three more
782         bytes to regex for '^', '$', and '\0'.
784         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
785         garbage collection.
787         * src/macfns.c (QCconversion): Replaces QCalgorithm.
789         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
790         image margins.
792         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
793         (x_draw_image_relief, x_draw_image_foreground_1)
794         (x_draw_image_glyph_string): Adapt to change of image margins.
796         * src/macterm.c (mac_to_x_fontname): Change charset name of
797         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
798         from ksc5601 to ksc5601.1989.
800 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
802         * cw5-mcp.xml: add md5.c to project.
804         * cw6-mcp.xml: add md5.c to project.
806         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
807         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
809 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
811         * src/macterm.c (x_handle_tool_bar_click):
812         (note_tool_bar_highlight): change references to members deleted
813         from struct frame as in xterm.c.
815         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
816         ~emacs/mac/bin.
818 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
820         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
822         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
824         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
826         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
828 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
830         * src/macterm.c (XTread_socket): check whether Lisp variable
831         mac-ready-for-drag-n-drop is bound rather than non-nil value.
833 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
835         * INSTALL: New file.
837         * README: New file.
839         * TODO: New file.
841         * emacs-cw5.mcp.xml: New file.
843         * emacs-cw6.mcp.xml: New file.
845         * makefile.MPW: New file.
847         * inc/alloca.h: New file.
849         * inc/cmdline-defs-cw5.h: New file.
851         * inc/cmdline-defs-cw6.h: New file.
853         * inc/config.h: New file.
855         * inc/dirent.h: New file.
857         * inc/epaths.h: New file.
859         * inc/m-mac.h: New file.
861         * inc/macgui.h: New file.
863         * inc/macterm.h: New file.
865         * inc/pwd.h: New file.
867         * inc/s-mac.h: New file.
869         * inc/termio.h: New file.
871         * inc/utime.h: New file.
873         * inc/utsname.h: New file.
875         * inc/sys/file.h: New file.
877         * inc/sys/ioctl.h: New file.
879         * inc/sys/param.h: New file.
881         * inc/sys/stat.h: New file.
883         * inc/sys/time.h: New file.
885         * inc/sys/types.h: New file.
887         * src/Emacs.r: New file.
889         * src/EmacsMPW.r: New file.
891         * src/chdir.c: New file.
893         * src/mac.c: New file.
895         * src/macfns.c: New file.
897         * src/macmenu.c: New file.
899         * src/macterm.c: New file.
901 ;; Local Variables:
902 ;; coding: iso-2022-7bit
903 ;; add-log-time-zone-rule: t
904 ;; End:
906     Copyright (C) 2001, 2002, 2003, 2004, 2005,
907         2006, 2007 Free Software Foundation, Inc.
909   This file is part of GNU Emacs.
911   GNU Emacs is free software; you can redistribute it and/or modify
912   it under the terms of the GNU General Public License as published by
913   the Free Software Foundation; either version 2, or (at your option)
914   any later version.
916   GNU Emacs is distributed in the hope that it will be useful,
917   but WITHOUT ANY WARRANTY; without even the implied warranty of
918   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
919   GNU General Public License for more details.
921   You should have received a copy of the GNU General Public License
922   along with GNU Emacs; see the file COPYING.  If not, write to the
923   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
924   Boston, MA 02110-1301, USA.
926 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf