Version 22.3 released.
[emacs/old-mirror.git] / mac / ChangeLog
blobf946abc8af42dd882a96575db964bba16e2ed827
1 2008-09-05  Chong Yidong  <cyd@stupidchicken.com>
3         * Version 22.3 released.
5 2008-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7         * makefile.MPW (MacObjects): Add mactoolbox.c.x.
8         (mactoolbox.c.x): New target.
10 2008-03-26  Chong Yidong  <cyd@stupidchicken.com>
12         * Version 22.2 released.
14 2008-01-04  Glenn Morris  <rgm@gnu.org>
16         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
17         * src/Emacs.r: Update copyright to 2008.
19 2007-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21         * INSTALL: Also build and run on Mac OS X 10.5.
23 2007-07-25  Glenn Morris  <rgm@gnu.org>
25         * Relicense all FSF files to GPLv3 or later.
27         * COPYING: Switch to GPLv3.
29 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
31         * Version 22.1 released.
33 2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
35         * INSTALL: Add note about moving self-contained application bundle
36         to non-ASCII directory.
38 2007-04-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
40         * INSTALL: Fix description about using colors in terminal.
41         Fix typos (/Application -> /Applications).
43 2007-04-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
45         * make-package (compver): Don't hardcode processor type.
47 2007-03-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
49         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x, lread.c.x)
50         (print.c.x, term.c.x): Depend on BLOCKINPUT_H_GROUP.
52 2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
54         * inc/config.h: Sync with src/config.in.
56 2007-01-30  Piet van Oostrum  <piet@cs.uu.nl>
58         * make-package (compver): Install info and manpages.
60 2006-12-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
62         * inc/config.h: Sync with src/config.in.
64 2006-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
66         * INSTALL: Add descriptions about configuration and invocation.
67         Capitalize `Carbon'.
69 2006-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
71         * inc/config.h: Sync with src/config.in.
73 2006-11-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
75         * INSTALL: Remove descriptions about --without-x.  Remove
76         --without-carbon from configure options for X11 build.
78 2006-09-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
80         * INSTALL: Remove descriptions about experimental flags.
82         * inc/config.h: Sync with src/config.in.
84         * src/Emacs.r (M_APPLE): New define.
85         (MENU): Use it.
87 2006-09-15  Jay Belanger  <belanger@truman.edu>
89         * COPYING: Replace "Library Public License" by "Lesser Public
90         License" throughout.
92 2006-07-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
94         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x):
95         Depend on blockinput.h.
97 2006-07-12  Kim F. Storm  <storm@cua.dk>
99         * INSTALL: More cleanup related to last change.
101 2006-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
103         * INSTALL: Remove descriptions about Metrowerks CodeWarrior.  Fix URL
104         for GNU-fonts.smi.bin.  USE_ATSUI is enabled by default on Mac OS X.
106         * README: Remove descriptions about Metrowerks CodeWarrior.
108 2006-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
110         * makefile.MPW (SOME_MACHINE_LISP): Add fringe.elc.
112 2006-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
114         * inc/config.h (pid_t): Define to int.
116 2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
118         * makefile.MPW (shortlisp, SOME_MACHINE_LISP): Sync with
119         src/Makefile.in.
121 2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
123         * makefile.MPW (macselect.c.x): Depend on keymap.h.
125 2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
127         * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
128         data.  Make NSServices open-selection the first entry.
130 2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
132         * makefile.MPW (shortlisp): Sync with src/Makefile.in.
134 2005-10-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
136         * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add
137         `FIXME' to descriptions about Metrowerks CodeWarrior.  Remove
138         obsolete description about 512MB limit and icon on Mac OS Classic.
139         Add description about flags for experimental features.
141         * README: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add `FIXME'
142         to descriptions about Metrowerks CodeWarrior.  Remove obsolete
143         descriptions about C-g and supported image types.
145 2005-10-20  Bryan D. O'Connor  <bryan@lunch.org>  (tiny change)
147         * make-package: Add a --compressed-dist option to compress info
148         files and .el files that have been byte-compiled. It defaults to "no".
150 2005-09-24  Eli Zaretskii  <eliz@gnu.org>
152         * INSTALL (NOTES): Update the list of versions of MacOS on which
153         Emacs should build.
155         * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
156         does not exist).
158 2005-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
160         * inc/config.h: Sync with src/config.in.
162 2005-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
164         * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
165         NSServices.
167 2005-07-04  Lute Kamstra  <lute@gnu.org>
169         Update FSF's address in GPL notices.
171 2005-06-08  Steven Tamm  <steventamm@mac.com>
173         * INSTALL: Explain that a universal binary cannot be created and
174         builds for on emachine cannot be targeted to the other.
175         * README: Add Universal Binary to the Todo List.
177 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
179         * makefile.MPW (buildobj.lst): New target.
180         (Clean): Delete file buildobj.lst.
181         (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
182         (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
183         Remove variables.
184         (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP):
185         New variables.
186         ({DocTarget}DOC): Use them.
187         (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
189         * inc/config.h: Sync with src/config.in.
190         (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
191         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
192         (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
193         (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
194         [__MRC__] (HAVE_ALLOCA_H): Likewise.
195         (config_machfile, config_opsysfile, my_strftime): New macros.
196         (HAVE_PWD_H): Move from s-mac.h.
197         (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
198         (PTR): Move to s-mac.h.
200         * inc/m-mac.h (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
202         * inc/s-mac.h: Sync with src/s/template.h.  Don't include fcntl.h,
203         time.h, or signal.h.
204         (index, rindex): New macros.
205         [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
206         compatibility with predefined ones.
207         (PTR): Move from s-mac.h.
208         (HAVE_PWD_H): Move to config.h.
209         (volatile): Remove macro.
210         [__MRC__] (strftime): Likewise.
211         (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
212         (sys_time, sys_signal, atof): Remove declarations.
214         * inc/sys/time.h (ITIMER_REAL): New macro.
215         (struct itimerval): New struct.
216         (setitimer): New extern.
218 2005-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
220         * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
222 2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
224         * makefile.MPW (MacObjects): Add macselect.c.x.
225         (macselect.c.x): New target.
226         (mac.c): Fix dependency.
228         * Emacs.app/Contents/Info.plist: Add NSServices key and data.
230         * inc/s-mac.h (HAVE_PWD_H): Define.
232 2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
234         * makefile.MPW (NonCarbonLibs): Add LocalesLib.  Delete
235         TextEncodingConverter.
237 2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
239         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
240         (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
241         number and copyright.
243         * Emacs.r (DITL, vers): Likewise.
245 2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
247         * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
248         org.gnu.Emacs.
250 2005-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
252         * INSTALL: Mention new target `NonCarbon'.
254 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
256         * makefile.MPW (NonCarbon): New target.  The target `Emacs' is now
257         used for the Carbon build that defines HAVE_CARBON.
259         * inc/config.h (HAVE_STDLIB_H): Define to 1.
261         * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
262         [HAVE_CARBON] (crfg): New resource for extra stack space.
264 2004-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
266         * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
267         lastfile.c.x.
268         (PPCCOptions): Add -alloca.
269         (EmacsObjects): Remove alloca.c.x.  Add fringe.c.x, image.c.x, and
270         lastfile.c.x.
271         (Emacs MPW): Add QuickTimeLib.
272         (EmacsSource): Remove alloca.c.  Add fringe.c, image.c, and
273         lastfile.c.
274         (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
275         map-ynp.elc.
276         * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
277         (UNEXEC_SRC): Close comment.
278         * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
279         * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
280         (C_ALLOCA) [__MRC__]: Don't define.
281         * inc/s-mac.h (X_OK): New define.
282         (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
283         (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
285 2004-05-29  Steven Tamm  <steventamm@mac.com>
287         * INSTALL: Fixing typos
288         * README: Updating list of TODOs to remove image support and
289         environment variable problem.
291 2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
293         * src/Emacs.r: Update TOO_MUCH_RAM error message.
295 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
297         * inc/grp.h: Added.
299 2003-11-02  Andrew Choi  <akochoi@shaw.ca>
301         * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
302         * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
304 2003-10-31  Andrew Choi  <akochoi@shaw.ca>
306         * INSTALL: Add Nozomu Ando's changes to instructions for
307         installing on X Window (that static libraries are no longer
308         necessary after his changes to src/unexmacosx.c).
310 2003-04-28  Andrew Choi  <akochoi@shaw.ca>
312         * make-package: Allocate 5% extra space on disk image for
313         directories and partition tables.
315 2003-04-04  Steven Tamm  <steventamm@mac.com>
317         * make-package: Place libexec executables directly under the
318         Contents/MacOS/libexec if the application is self-contained
320 2003-04-01  Kim F. Storm  <storm@cua.dk>
322         * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
323         (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
325 2003-03-21  Kim F. Storm  <storm@cua.dk>
327         * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
328         files included from it.  Add dependency on keymap.h.
330 2003-01-14  Steven Tamm  <steventamm@mac.com>
332         * make-package: Fixed problem where the building without
333         specifying build directory fails.
335 2003-01-07  Steven Tamm  <steventamm@mac.com>
337         * INSTALL: Added documentation about --enable-carbon-app and
338         changed documentation concerning Emacs.app location
339         Removed some of the documentation about make-package that isn't
340         needed
341         Changed comment about requiring root permission to install to
342         saying that it might be necessary depending on where you install
343         Refered to /usr caveat in more places
344         * make-package (make_options): Use new carbon_appdir option to
345         specify directory to install Application and lets the makefile
346         install
348 2003-01-01  Steven Tamm  <steventamm@mac.com>
350         * make-package: Now copies License and ReadMe files into the
351         Resources directory.  Reduces overhead size when creating
352         installer disk image.
354 2002-12-29  Steven Tamm  <steventamm@mac.com>
356         * make-package: Defaults to building the source tree in a
357         separate directory.  Use the new option --build-in-place to
358         have old behavior.  Added new option --build-dir to specify the
359         build directory.
361 2002-12-27  Steven Tamm  <steventamm@mac.com>
363         * make-package: Fix typo where tmpparent was used instead of
364         tempparent for calculating installedSize and compressedSize.
366 2002-12-10  Andreas Schwab  <schwab@suse.de>
368         * make-package: Fix syntax for find.
370 2002-12-08  Steven Tamm  <steventamm@mac.com>
372         * INSTALL: Added description about make-package.
374         * make-package: Fixed --self-contained option to place the
375         directories in the correct locations for
376         init_mac_osx_environment and use hardlink by default for the
377         application.  Script fails with invalid option.
379 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
381         * make-bin-dist, osx-install: Remove.
383         * INSTALL: Remove description of make-bin-dist and osx-install.
385 2002-12-02  Steven Tamm  <steventamm@mac.com>
387         * make-package (installprefix): Switched copying of .el files
388         to be on by default.  Removed symlink for emacs -> emacs-version.
390 2002-11-30  Steven Tamm  <steventamm@mac.com>
392         * make-package: Now compresses .pax file instead of entire disk
393         image to reduce installer size on disk.  Also added code to
394         create compressed disk image in the future.
396         No longer copies .el files that have been compiled by default.
397         Use --full-dist option to include them.
399         Option --symlink added to reduce disk size by making
400         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
401         symlinks to the emacs-[version] binary.
403         Option --self-contained added to place files shared files
404         inside the Emacs.app executable (for portability between systems)
406         Added hidden debugging option --keep-dir to keep temporary install
407         directory (emacs-[version]) around after running script
409         * README: Removed comment about mouse-2 & -3 not working (it does).
411 2002-10-14  Andreas Schwab  <schwab@suse.de>
413         * make-package: Fix syntax for find.
415 2002-10-08  Steven Tamm  <steventamm@mac.com>
417         * make-package: Added ability to pass command line options
418         through to make and configure (-m, & -c,).
419         Added option to not copy Application into installer, the default
420         for X11 builds.  Does not copy CVS directories into installer.
421         Clarified some of the usage notes.
423 2002-10-07  Steven Tamm  <steventamm@mac.com>
425         * make-package: Now calls make bootstrap if .elc files are missing.
427 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
429         * INSTALL: Add information on starting Emacs as a GUI application
430         from the terminal.
432 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
434         * INSTALL: Add instructions for building Carbon version on Macs
435         with X Window installed.
437 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
439         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
440         change creator code from ???? to EMAx.
442         * INSTALL: Add instructions for building X Window version.
444 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
446         * make-package: Change -a option to -R for cp command.
448 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
450         * make-package: Add ability to handle options --help, --prefix,
451         --no-conf, and --with-x.
453 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
455         * make-package: New file.
457 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
459         * Emacs.app/Contents/Resources/Emacs.icns: New file.
461         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
462         CFBundleIconFile entries.
464 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
466         * Emacs.app/Contents/Info.plist: New file.
468         * Emacs.app/Contents/PkgInfo: New file.
470         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
471         New file.
473         * cw5-mcp.xml: Remove file.
475         * inc/defs-cw5.h: Remove file.
477         * cw6-mcp.xml: Update with new version.
479         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
480         of constant CODEWARRIOR_VERSION_6.
482         * mac/src/mac.c:
483         * mac/src/macmenu.c:
484         * mac/src/macterm.c:
485         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
487         * src/Carbon.r: New File.
489         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
490         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
491         macterm.h.  Generate DOC from .el instead of .elc versions of
492         files listed in DONTCOMPILE in lisp/Makefile.in.
494         * INSTALL: Add installation instructions for Mac OS X.
496         * README: Add information for Mac OS X.
498         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
499         src/macterm.c, inc/macterm.h: Remove from here and move to src.
501 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
503         * src/mac.c (select): Under Carbon, always return true so
504         XTread_socket is called to poll input.
505         (run_mac_command): Not implemented under Carbon.
506         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
507         establish pathname.
508         (do_applescript): Use Carbon routines AEGetDescDatASize and
509         AEGetDescData.
510         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
511         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
512         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
513         GetCurrentScrap, and PutScrapFlavor.
514         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
515         GetScrapFlavorFlags.
517         * src/macfns.c: Synchronize with changes in w32fns.c.
518         [MAC_OSX]: Include Carbon headers.
519         (x_real_positions): Use Carbon routine GetWindowPortBounds.
520         (x_set_scroll_bar_width): Set width of scroll bar to 16.
521         (x_make_gc): Remove static qualifier.
523         * src/macmenu.c: Synchronize with changes in w32menu.c.
524         [MAC_OSX]: Include Carbon headers.
525         (set_frame_menubar): Check equality of vector representation of
526         scroll bars using Fequal instead of EQ.
527         (mac_menu_show): Use Carbon routine GetWindowPort.
528         (mac_dialog): Likewise.
529         (add_menu_item): Use Carbon routines CountMenuItems,
530         EnableMenuItem, and DisableMenuItem.
532         * src/macterm.c: Synchronize with changes in w32term.c.
533         [MAC_OSX]: Include Carbon headers.
534         (XDrawLine): Use Carbon routine GetWindowPort.
535         (XClearArea): Likewise.
536         (XClearWindow): Use Carbon routines GetWindowPort and
537         GetWindowPortBounds.
538         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
539         GetPortPixMap.
540         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
541         (mac_reset_clipping): Use Carbon routine GetWindowPort.
542         (XFillRectangle): Likewise.
543         (mac_draw_rectangle): Likewise.
544         (mac_draw_rectangle_to_pixmap): Likewise.
545         (mac_draw_string_common): Likewise.
546         (mac_copy_area): Use Carbon routines GetWindowPort and
547         GetPortPixMap.
548         (mac_scroll_area): Use Carbon routines GetWindowPort and
549         GetQDGlobalsScreenBits.
550         (x_flush): Call Carbon routine QDFlushPortBuffer.
551         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
552         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
553         (x_draw_image_glyph_string): Likewise.
554         (x_draw_stretch_glyph_string): Likewise.
555         (construct_mouse_click): Call Carbon routine GetWindowPort.
556         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
557         (XTmouse_position): Call Carbon routine GetWindowPort.
558         (x_scroll_bar_create): Create scroll bar with proc
559         kControlScrollBarProc.
560         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
561         (activate_scroll_bar): Call ActivateControl instead of
562         SetControlMaximum.
563         (deactivate_scroll_bar): Call DeactivateControl instead of
564         SetControlMaximum.
565         (x_scroll_bar_handle_click): Use default case for scroll
566         indicator.
567         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
568         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
569         GetWindowPortBounds.
570         (init_font_name_table): Call Carbon Font Manager routines to
571         iterate through all fonts.
572         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
573         GetPortTextSize, and GetPortTextFace.
574         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
575         (is_emacs_window): New function to filter out non-Emacs windows
576         passed back by WaitNextEvent.
577         (do_mouse_moved): Call Carbon routine GetWindowPort.
578         (do_apple_menu): No apple menu handler under Carbon.
579         (do_zoom_window): Call Carbon routines GetWindowPort,
580         GetQDGlobalsScreenBits, SetWindowStandardState, and
581         GetWindowPortBounds.
582         (init_required_apple_events): Use UPP procedure type converter.
583         (main): Don't define for Carbon version.
584         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
585         check_alarm.  Call Carbon routines GetWindowPort,
586         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
587         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
588         routine GetWindowPort.
589         (mac_initialize): Rename from x_initialize.  Use new Doc string
590         format.
592         * inc/macterm.h: Synchronize with changes in w32term.h.
594         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
595         WindowPtr.
597 2002-01-28  Kim F. Storm  <storm@cua.dk>
599         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
600         cursor row is invisible.  This can happen if cursor is on top line
601         of a window, and we switch to a buffer with a header line.
603 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
605         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
607 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
609         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
610         frame parameter have a numeric value all the time.
612 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
614         * COPYING: New file.
616 2001-12-06  Kim F. Storm  <storm@cua.dk>
618         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
620 2001-12-01  Kim F. Storm  <storm@cua.dk>
622         The following changes add left-fringe and right-fringe
623         frame parameters to adjust fringe widths, or remove one or
624         both fringes.  See ../src/ChangeLog for details.
626         * inc/macterm.h: Merged changes from xterm.h.
627         * src/macterm.c: Merged changes from xterm.c.
628         * src/macfns.c: Merged changes from xfns.c.
630 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
632         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
634 2001-11-16  Kim F. Storm  <storm@cua.dk>
636         The following changes are made to clean up the various internal
637         references to the fringes to actually use the term `fringe'.
639         * src/macfns.c: Use renamed symbols.
641         * src/macterm.c: Comment fixes. Use renamed symbols.
642         (fringe_bitmap_type): Renamed from bitmap_type.
643         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
644         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
645         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
647         * inc/macterm.h: Comment fixes. Use renamed symbols.
648         (fringes_extra): Renamed from flags_areas_extra.
649         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
650         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
651         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
652         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
653         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
654         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
656 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
658         * (Version 21.1 released.)
660 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
662         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
663         * src/mac.c (run_mac_command): Update calls to openp.
665 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
667         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
669         * src/macterm.c: Include keymap.h.
670         (note_mode_line_highlight): Use KEYMAPP.
672 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
674         * Branch for 21.1.
676 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
678         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
680         * src/macterm.c (XTread_socket): Read all pending events in the
681         event queue instead of one.
682         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
683         a script code of -smJapanese is specified.
684         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
685         encoding.
686         (init_font_name_table): Use a script code of -smJapanese instead
687         of smRoman for the second entry of a Japanese font.
688         (XLoadQueryFont): Recognize a font as having the smRoman script
689         code if its encoding is jisx0201.1976-0.
691         * makefile.MPW: Generate etc/DOC file from .elc files instead of
692         .el files.
694         * src/mac.c (stat): Don't fail for aliases.
695         (sys_open) [__MRC__]: Set file creator and type for newly-created
696         files.
697         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
698         elapsed instead of use WaitNextEvent call as a delay.
700 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
702         * src/macterm.c (init_font_name_table): Add an additional entry to
703         the font table with the script code smRoman for each Apple
704         Japanese font.
705         (XLoadQueryFont): Recognize a font as having the smRoman script
706         code even when FontToScript returns smJapanese if it is one of
707         those created above.
709 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
711         * INSTALL: Add to the note on using -opt speed in MPW the function
712         macterm.c (x_draw_hollow_cursor).
714         * src/macterm.c (mac_scroll_area): Call CopyBits with local
715         coordinates and portBits instead of global coordinates and
716         screenBits.  Set fore color and back color to black and white,
717         respectively, before calling CopyBits.
719         * src/macterm.c (local_to_global_coord): Comment out.
721         * src/mac.c (mac-filename-to-unix): Change to
722         mac-file-name-to-posix.
723         (unix-filename-to-mac): Change to posix-file-name-to-mac.
724         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
725         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
727         * src/macterm.c (do_ae_open_documents): Change call to
728         mac_to_unix_pathname to mac_to_posix_pathname.
730 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
732         * inc/macterm.h (x_display_list): Declare extern.
734 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
736         * src/macterm.c (xim_open_dpy): Fix typo.
738 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
740         * README: Change references to SourceForge site to
741         ftp://ftp.gnu.org/gnu/mac/emacs/.
743 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
745         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
747 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
749         * src/Emacs.r: Change About box message.
751         * makefile.MPW: Add md5.c.x to EmacsObjects.
753         * src/mac.c (select): Call WaitNextEvent instead of Delay.
754         (pause): Ditto.
755         (sleep): Ditto.
757         * src/macterm.c (do_app_resume): Set cursor to arrow.
758         (clear_mouse_face): check for NIL Lisp object instead of null
759         pointer.
761         * INSTALL: Delete note on compiling Lisp files on a Unix system.
762         Add note on turning off end of line conversion.
764 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
766         * src/macfns.c: Rename everything containing *busy_cursor* and
767         similar to *hourglass*.
768         Change IMAGE_POSITIVE_INTEGER_VALUE to
769         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
770         (x_set_font): If font hasn't changed, avoid recomputing faces and
771         other things, as in xfns.c.
772         (Qcancel_timer): New variable.
773         (syms_of_macfns): Rename x-busy-pointer-shape to
774         x-hourglass-pointer-shape, display-busy-cursor to
775         display-hourglass, busy-cursor-delay to hourglass-delay, as in
776         xfns.c.
777         (x_set_tool_bar_lines): Modify as in xfns.c
778         (x_change_window_heights): New function.
780         * inc/macterm.h (struct x_output): Rename busy_cursor to
781         hourglass_cursor, busy_window to hourglass_window, busy_p to
782         hourglass_p, as in xterm.h.
784         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
785         safe_run_hooks, as in xmenu.c.
787         * src/macterm.c (do_check_ram_size): New function.
789         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
790         256 MB RAM.
792 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
794         * mac/INSTALL:
795         * mac/README:
796         * mac/cw5-mcp.xml:
797         * mac/cw6-mcp.xml:
798         * mac/inc/alloca.h:
799         * mac/inc/defs-cw5.h:
800         * mac/inc/defs-cw6.h: Added copyright notice.
802 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
804         * src/macterm.c (mac_font_pattern_match): Allocate three more
805         bytes to regex for '^', '$', and '\0'.
807         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
808         garbage collection.
810         * src/macfns.c (QCconversion): Replaces QCalgorithm.
812         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
813         image margins.
815         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
816         (x_draw_image_relief, x_draw_image_foreground_1)
817         (x_draw_image_glyph_string): Adapt to change of image margins.
819         * src/macterm.c (mac_to_x_fontname): Change charset name of
820         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
821         from ksc5601 to ksc5601.1989.
823 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
825         * cw5-mcp.xml: add md5.c to project.
827         * cw6-mcp.xml: add md5.c to project.
829         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
830         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
832 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
834         * src/macterm.c (x_handle_tool_bar_click):
835         (note_tool_bar_highlight): change references to members deleted
836         from struct frame as in xterm.c.
838         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
839         ~emacs/mac/bin.
841 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
843         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
845         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
847         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
849         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
851 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
853         * src/macterm.c (XTread_socket): check whether Lisp variable
854         mac-ready-for-drag-n-drop is bound rather than non-nil value.
856 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
858         * INSTALL: New file.
860         * README: New file.
862         * TODO: New file.
864         * emacs-cw5.mcp.xml: New file.
866         * emacs-cw6.mcp.xml: New file.
868         * makefile.MPW: New file.
870         * inc/alloca.h: New file.
872         * inc/cmdline-defs-cw5.h: New file.
874         * inc/cmdline-defs-cw6.h: New file.
876         * inc/config.h: New file.
878         * inc/dirent.h: New file.
880         * inc/epaths.h: New file.
882         * inc/m-mac.h: New file.
884         * inc/macgui.h: New file.
886         * inc/macterm.h: New file.
888         * inc/pwd.h: New file.
890         * inc/s-mac.h: New file.
892         * inc/termio.h: New file.
894         * inc/utime.h: New file.
896         * inc/utsname.h: New file.
898         * inc/sys/file.h: New file.
900         * inc/sys/ioctl.h: New file.
902         * inc/sys/param.h: New file.
904         * inc/sys/stat.h: New file.
906         * inc/sys/time.h: New file.
908         * inc/sys/types.h: New file.
910         * src/Emacs.r: New file.
912         * src/EmacsMPW.r: New file.
914         * src/chdir.c: New file.
916         * src/mac.c: New file.
918         * src/macfns.c: New file.
920         * src/macmenu.c: New file.
922         * src/macterm.c: New file.
924 ;; Local Variables:
925 ;; coding: iso-2022-7bit
926 ;; add-log-time-zone-rule: t
927 ;; End:
929     Copyright (C) 2001, 2002, 2003, 2004, 2005,
930         2006, 2007, 2008 Free Software Foundation, Inc.
932   This file is part of GNU Emacs.
934   GNU Emacs is free software; you can redistribute it and/or modify
935   it under the terms of the GNU General Public License as published by
936   the Free Software Foundation; either version 3, or (at your option)
937   any later version.
939   GNU Emacs is distributed in the hope that it will be useful,
940   but WITHOUT ANY WARRANTY; without even the implied warranty of
941   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
942   GNU General Public License for more details.
944   You should have received a copy of the GNU General Public License
945   along with GNU Emacs; see the file COPYING.  If not, write to the
946   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
947   Boston, MA 02110-1301, USA.
949 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf