(convert-define-charset-argument): Remove period from end of error message.
[emacs.git] / mac / ChangeLog
blobbc703c903dee0141b96000452b8bfbd5281a97dd
1 2008-03-13  Glenn Morris  <rgm@gnu.org>
3         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
4         * src/Emacs.r: Set version to 23.0.60.
6 2008-03-02  Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
8         * Emacs.app/Contents/Resources/Emacs.icns:
9         * Emacs.app/Contents/Resources/document.icns: Update icon.
11 2008-02-04  Dan Nicolaescu  <dann@ics.uci.edu>
13         * INSTALL, README: Only mention MacOSX.
15         * cw6-mcp.xml, make-package, makefile.MPW, inc/alloca.h:
16         * inc/config.h, inc/defs-cw6.h, inc/dirent.h, inc/epaths.h:
17         * inc/grp.h, inc/m-mac.h, inc/pwd.h, inc/s-mac.h, inc/termio.h:
18         * inc/utime.h, inc/utsname.h, inc/sys/file.h, inc/sys/ioctl.h:
19         * inc/sys/param.h, inc/sys/stat.h, inc/sys/time.h, inc/sys/types.h:
20         * src/EmacsMPW.r: Remove files for no longer supported pre-MacOSX
21         systems.
22         * inc: Remove directory.
24 2008-01-04  Glenn Morris  <rgm@gnu.org>
26         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
27         * src/Emacs.r: Update copyright to 2008.
29 2007-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
31         * INSTALL: Also build and run on Mac OS X 10.5.
33 2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
35         * inc/config.h: Remove HAVE_X11R5.
37 2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>
39         * makefile.MPW (SOME_MACHINE_OBJECTS): Remove sunfns.o.
41 2007-09-13  Seiji Zenitani  <zenitani@mac.com>
42             Takanori Yamamoto  <takanori.yamamoto@gmail.com>
43             Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
45         * Emacs.app/Contents/Info.plist: Add
46         filetype/extension entries for the document icon.
47         * Emacs.app/Contents/Resources/Emacs.icns: Update.
48         * Emacs.app/Contents/Resources/document.icns: New file.
50 2007-08-29  Glenn Morris  <rgm@gnu.org>
52         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
53         * src/Emacs.r: Increase version to 23.0.50.
55 2007-08-29  Karoly Lorentey  <lorentey@elte.hu>
57         * makefile.MPW (EmacsObjects): Add terminal.c.x.
58         (callproc.c.x): Add dependencies frame.h, termhooks.h.
59         ({Src}terminal.c.x): New.
60         (shortlisp): Add server.elc and termdev.elc.
62 2007-07-25  Glenn Morris  <rgm@gnu.org>
64         * Relicense all FSF files to GPLv3 or later.
66         * COPYING: Switch to GPLv3.
68 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
70         * Version 22.1 released.
72 2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
74         * INSTALL: Add note about moving self-contained application bundle
75         to non-ASCII directory.
77 2007-04-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
79         * INSTALL: Fix description about using colors in terminal.
80         Fix typos (/Application -> /Applications).
82 2007-04-26  Glenn Morris  <rgm@gnu.org>
84         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
85         * src/Emacs.r: Increase version to 22.1.50.
87 2007-04-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
89         * make-package (compver): Don't hardcode processor type.
91 2007-03-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
93         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x, lread.c.x)
94         (print.c.x, term.c.x): Depend on BLOCKINPUT_H_GROUP.
96 2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
98         * inc/config.h: Sync with src/config.in.
100 2007-01-30  Piet van Oostrum  <piet@cs.uu.nl>
102         * make-package (compver): Install info and manpages.
104 2006-12-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
106         * inc/config.h: Sync with src/config.in.
108 2006-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
110         * INSTALL: Add descriptions about configuration and invocation.
111         Capitalize `Carbon'.
113 2006-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
115         * inc/config.h: Sync with src/config.in.
117 2006-11-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
119         * INSTALL: Remove descriptions about --without-x.  Remove
120         --without-carbon from configure options for X11 build.
122 2006-09-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
124         * INSTALL: Remove descriptions about experimental flags.
126         * inc/config.h: Sync with src/config.in.
128         * src/Emacs.r (M_APPLE): New define.
129         (MENU): Use it.
131 2006-09-15  Jay Belanger  <belanger@truman.edu>
133         * COPYING: Replace "Library Public License" by "Lesser Public
134         License" throughout.
136 2006-07-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
138         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x):
139         Depend on blockinput.h.
141 2006-07-12  Kim F. Storm  <storm@cua.dk>
143         * INSTALL: More cleanup related to last change.
145 2006-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
147         * INSTALL: Remove descriptions about Metrowerks CodeWarrior.  Fix URL
148         for GNU-fonts.smi.bin.  USE_ATSUI is enabled by default on Mac OS X.
150         * README: Remove descriptions about Metrowerks CodeWarrior.
152 2006-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
154         * makefile.MPW (SOME_MACHINE_LISP): Add fringe.elc.
156 2006-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
158         * inc/config.h (pid_t): Define to int.
160 2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
162         * makefile.MPW (shortlisp, SOME_MACHINE_LISP): Sync with
163         src/Makefile.in.
165 2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
167         * makefile.MPW (macselect.c.x): Depend on keymap.h.
169 2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
171         * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
172         data.  Make NSServices open-selection the first entry.
174 2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
176         * makefile.MPW (shortlisp): Sync with src/Makefile.in.
178 2005-10-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
180         * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add
181         `FIXME' to descriptions about Metrowerks CodeWarrior.  Remove
182         obsolete description about 512MB limit and icon on Mac OS Classic.
183         Add description about flags for experimental features.
185         * README: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add `FIXME'
186         to descriptions about Metrowerks CodeWarrior.  Remove obsolete
187         descriptions about C-g and supported image types.
189 2005-10-20  Bryan D. O'Connor  <bryan@lunch.org>  (tiny change)
191         * make-package: Add a --compressed-dist option to compress info
192         files and .el files that have been byte-compiled.  It defaults to "no".
194 2005-09-24  Eli Zaretskii  <eliz@gnu.org>
196         * INSTALL (NOTES): Update the list of versions of MacOS on which
197         Emacs should build.
199         * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
200         does not exist).
202 2005-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
204         * inc/config.h: Sync with src/config.in.
206 2005-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
208         * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
209         NSServices.
211 2005-07-04  Lute Kamstra  <lute@gnu.org>
213         Update FSF's address in GPL notices.
215 2005-06-08  Steven Tamm  <steventamm@mac.com>
217         * INSTALL: Explain that a universal binary cannot be created and
218         builds for on emachine cannot be targeted to the other.
219         * README: Add Universal Binary to the Todo List.
221 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
223         * makefile.MPW (buildobj.lst): New target.
224         (Clean): Delete file buildobj.lst.
225         (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
226         (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
227         Remove variables.
228         (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP):
229         New variables.
230         ({DocTarget}DOC): Use them.
231         (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
233         * inc/config.h: Sync with src/config.in.
234         (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
235         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
236         (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
237         (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
238         [__MRC__] (HAVE_ALLOCA_H): Likewise.
239         (config_machfile, config_opsysfile, my_strftime): New macros.
240         (HAVE_PWD_H): Move from s-mac.h.
241         (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
242         (PTR): Move to s-mac.h.
244         * inc/m-mac.h (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
246         * inc/s-mac.h: Sync with src/s/template.h.  Don't include fcntl.h,
247         time.h, or signal.h.
248         (index, rindex): New macros.
249         [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
250         compatibility with predefined ones.
251         (PTR): Move from s-mac.h.
252         (HAVE_PWD_H): Move to config.h.
253         (volatile): Remove macro.
254         [__MRC__] (strftime): Likewise.
255         (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
256         (sys_time, sys_signal, atof): Remove declarations.
258         * inc/sys/time.h (ITIMER_REAL): New macro.
259         (struct itimerval): New struct.
260         (setitimer): New extern.
262 2005-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
264         * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
266 2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
268         * makefile.MPW (MacObjects): Add macselect.c.x.
269         (macselect.c.x): New target.
270         (mac.c): Fix dependency.
272         * Emacs.app/Contents/Info.plist: Add NSServices key and data.
274         * inc/s-mac.h (HAVE_PWD_H): Define.
276 2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
278         * makefile.MPW (NonCarbonLibs): Add LocalesLib.  Delete
279         TextEncodingConverter.
281 2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
283         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
284         (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
285         number and copyright.
287         * Emacs.r (DITL, vers): Likewise.
289 2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
291         * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
292         org.gnu.Emacs.
294 2005-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
296         * INSTALL: Mention new target `NonCarbon'.
298 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
300         * makefile.MPW (NonCarbon): New target.  The target `Emacs' is now
301         used for the Carbon build that defines HAVE_CARBON.
303         * inc/config.h (HAVE_STDLIB_H): Define to 1.
305         * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
306         [HAVE_CARBON] (crfg): New resource for extra stack space.
308 2004-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
310         * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
311         lastfile.c.x.
312         (PPCCOptions): Add -alloca.
313         (EmacsObjects): Remove alloca.c.x.  Add fringe.c.x, image.c.x, and
314         lastfile.c.x.
315         (Emacs MPW): Add QuickTimeLib.
316         (EmacsSource): Remove alloca.c.  Add fringe.c, image.c, and
317         lastfile.c.
318         (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
319         map-ynp.elc.
320         * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
321         (UNEXEC_SRC): Close comment.
322         * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
323         * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
324         (C_ALLOCA) [__MRC__]: Don't define.
325         * inc/s-mac.h (X_OK): New define.
326         (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
327         (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
329 2004-05-29  Steven Tamm  <steventamm@mac.com>
331         * INSTALL: Fixing typos
332         * README: Updating list of TODOs to remove image support and
333         environment variable problem.
335 2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
337         * src/Emacs.r: Update TOO_MUCH_RAM error message.
339 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
341         * inc/grp.h: Added.
343 2003-11-02  Andrew Choi  <akochoi@shaw.ca>
345         * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
346         * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
348 2003-10-31  Andrew Choi  <akochoi@shaw.ca>
350         * INSTALL: Add Nozomu Ando's changes to instructions for
351         installing on X Window (that static libraries are no longer
352         necessary after his changes to src/unexmacosx.c).
354 2003-04-28  Andrew Choi  <akochoi@shaw.ca>
356         * make-package: Allocate 5% extra space on disk image for
357         directories and partition tables.
359 2003-04-04  Steven Tamm  <steventamm@mac.com>
361         * make-package: Place libexec executables directly under the
362         Contents/MacOS/libexec if the application is self-contained
364 2003-04-01  Kim F. Storm  <storm@cua.dk>
366         * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
367         (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
369 2003-03-21  Kim F. Storm  <storm@cua.dk>
371         * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
372         files included from it.  Add dependency on keymap.h.
374 2003-01-14  Steven Tamm  <steventamm@mac.com>
376         * make-package: Fixed problem where the building without
377         specifying build directory fails.
379 2003-01-07  Steven Tamm  <steventamm@mac.com>
381         * INSTALL: Added documentation about --enable-carbon-app and
382         changed documentation concerning Emacs.app location.
383         Removed some of the documentation about make-package that isn't
384         needed.
385         Changed comment about requiring root permission to install to
386         saying that it might be necessary depending on where you install.
387         Refered to /usr caveat in more places.
388         * make-package (make_options): Use new carbon_appdir option to
389         specify directory to install Application and lets the makefile
390         install.
392 2003-01-01  Steven Tamm  <steventamm@mac.com>
394         * make-package: Now copies License and ReadMe files into the
395         Resources directory.  Reduces overhead size when creating
396         installer disk image.
398 2002-12-29  Steven Tamm  <steventamm@mac.com>
400         * make-package: Defaults to building the source tree in a
401         separate directory.  Use the new option --build-in-place to
402         have old behavior.  Added new option --build-dir to specify the
403         build directory.
405 2002-12-27  Steven Tamm  <steventamm@mac.com>
407         * make-package: Fix typo where tmpparent was used instead of
408         tempparent for calculating installedSize and compressedSize.
410 2002-12-10  Andreas Schwab  <schwab@suse.de>
412         * make-package: Fix syntax for find.
414 2002-12-08  Steven Tamm  <steventamm@mac.com>
416         * INSTALL: Added description about make-package.
418         * make-package: Fixed --self-contained option to place the
419         directories in the correct locations for
420         init_mac_osx_environment and use hardlink by default for the
421         application.  Script fails with invalid option.
423 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
425         * make-bin-dist, osx-install: Remove.
427         * INSTALL: Remove description of make-bin-dist and osx-install.
429 2002-12-02  Steven Tamm  <steventamm@mac.com>
431         * make-package (installprefix): Switched copying of .el files
432         to be on by default.  Removed symlink for emacs -> emacs-version.
434 2002-11-30  Steven Tamm  <steventamm@mac.com>
436         * make-package: Now compresses .pax file instead of entire disk
437         image to reduce installer size on disk.  Also added code to
438         create compressed disk image in the future.
440         No longer copies .el files that have been compiled by default.
441         Use --full-dist option to include them.
443         Option --symlink added to reduce disk size by making
444         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
445         symlinks to the emacs-[version] binary.
447         Option --self-contained added to place files shared files
448         inside the Emacs.app executable (for portability between systems)
450         Added hidden debugging option --keep-dir to keep temporary install
451         directory (emacs-[version]) around after running script
453         * README: Removed comment about mouse-2 & -3 not working (it does).
455 2002-10-14  Andreas Schwab  <schwab@suse.de>
457         * make-package: Fix syntax for find.
459 2002-10-08  Steven Tamm  <steventamm@mac.com>
461         * make-package: Added ability to pass command line options
462         through to make and configure (-m, & -c,).
463         Added option to not copy Application into installer, the default
464         for X11 builds.  Does not copy CVS directories into installer.
465         Clarified some of the usage notes.
467 2002-10-07  Steven Tamm  <steventamm@mac.com>
469         * make-package: Now calls make bootstrap if .elc files are missing.
471 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
473         * INSTALL: Add information on starting Emacs as a GUI application
474         from the terminal.
476 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
478         * INSTALL: Add instructions for building Carbon version on Macs
479         with X Window installed.
481 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
483         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
484         Change creator code from ???? to EMAx.
486         * INSTALL: Add instructions for building X Window version.
488 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
490         * make-package: Change -a option to -R for cp command.
492 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
494         * make-package: Add ability to handle options --help, --prefix,
495         --no-conf, and --with-x.
497 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
499         * make-package: New file.
501 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
503         * Emacs.app/Contents/Resources/Emacs.icns: New file.
505         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
506         CFBundleIconFile entries.
508 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
510         * Emacs.app/Contents/Info.plist: New file.
512         * Emacs.app/Contents/PkgInfo: New file.
514         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
515         New file.
517         * cw5-mcp.xml: Remove file.
519         * inc/defs-cw5.h: Remove file.
521         * cw6-mcp.xml: Update with new version.
523         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
524         of constant CODEWARRIOR_VERSION_6.
526         * mac/src/mac.c:
527         * mac/src/macmenu.c:
528         * mac/src/macterm.c:
529         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
531         * src/Carbon.r: New File.
533         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
534         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
535         macterm.h.  Generate DOC from .el instead of .elc versions of
536         files listed in DONTCOMPILE in lisp/Makefile.in.
538         * INSTALL: Add installation instructions for Mac OS X.
540         * README: Add information for Mac OS X.
542         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
543         * src/macterm.c, inc/macterm.h: Remove from here and move to src.
545 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
547         * src/mac.c (select): Under Carbon, always return true so
548         XTread_socket is called to poll input.
549         (run_mac_command): Not implemented under Carbon.
550         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
551         establish pathname.
552         (do_applescript): Use Carbon routines AEGetDescDatASize and
553         AEGetDescData.
554         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
555         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
556         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
557         GetCurrentScrap, and PutScrapFlavor.
558         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
559         GetScrapFlavorFlags.
561         * src/macfns.c: Synchronize with changes in w32fns.c.
562         [MAC_OSX]: Include Carbon headers.
563         (x_real_positions): Use Carbon routine GetWindowPortBounds.
564         (x_set_scroll_bar_width): Set width of scroll bar to 16.
565         (x_make_gc): Remove static qualifier.
567         * src/macmenu.c: Synchronize with changes in w32menu.c.
568         [MAC_OSX]: Include Carbon headers.
569         (set_frame_menubar): Check equality of vector representation of
570         scroll bars using Fequal instead of EQ.
571         (mac_menu_show): Use Carbon routine GetWindowPort.
572         (mac_dialog): Likewise.
573         (add_menu_item): Use Carbon routines CountMenuItems,
574         EnableMenuItem, and DisableMenuItem.
576         * src/macterm.c: Synchronize with changes in w32term.c.
577         [MAC_OSX]: Include Carbon headers.
578         (XDrawLine): Use Carbon routine GetWindowPort.
579         (XClearArea): Likewise.
580         (XClearWindow): Use Carbon routines GetWindowPort and
581         GetWindowPortBounds.
582         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
583         GetPortPixMap.
584         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
585         (mac_reset_clipping): Use Carbon routine GetWindowPort.
586         (XFillRectangle): Likewise.
587         (mac_draw_rectangle): Likewise.
588         (mac_draw_rectangle_to_pixmap): Likewise.
589         (mac_draw_string_common): Likewise.
590         (mac_copy_area): Use Carbon routines GetWindowPort and
591         GetPortPixMap.
592         (mac_scroll_area): Use Carbon routines GetWindowPort and
593         GetQDGlobalsScreenBits.
594         (x_flush): Call Carbon routine QDFlushPortBuffer.
595         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
596         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
597         (x_draw_image_glyph_string): Likewise.
598         (x_draw_stretch_glyph_string): Likewise.
599         (construct_mouse_click): Call Carbon routine GetWindowPort.
600         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
601         (XTmouse_position): Call Carbon routine GetWindowPort.
602         (x_scroll_bar_create): Create scroll bar with proc
603         kControlScrollBarProc.
604         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
605         (activate_scroll_bar): Call ActivateControl instead of
606         SetControlMaximum.
607         (deactivate_scroll_bar): Call DeactivateControl instead of
608         SetControlMaximum.
609         (x_scroll_bar_handle_click): Use default case for scroll
610         indicator.
611         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
612         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
613         GetWindowPortBounds.
614         (init_font_name_table): Call Carbon Font Manager routines to
615         iterate through all fonts.
616         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
617         GetPortTextSize, and GetPortTextFace.
618         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
619         (is_emacs_window): New function to filter out non-Emacs windows
620         passed back by WaitNextEvent.
621         (do_mouse_moved): Call Carbon routine GetWindowPort.
622         (do_apple_menu): No apple menu handler under Carbon.
623         (do_zoom_window): Call Carbon routines GetWindowPort,
624         GetQDGlobalsScreenBits, SetWindowStandardState, and
625         GetWindowPortBounds.
626         (init_required_apple_events): Use UPP procedure type converter.
627         (main): Don't define for Carbon version.
628         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
629         check_alarm.  Call Carbon routines GetWindowPort,
630         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
631         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
632         routine GetWindowPort.
633         (mac_initialize): Rename from x_initialize.  Use new Doc string
634         format.
636         * inc/macterm.h: Synchronize with changes in w32term.h.
638         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
639         WindowPtr.
641 2002-01-28  Kim F. Storm  <storm@cua.dk>
643         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
644         cursor row is invisible.  This can happen if cursor is on top line
645         of a window, and we switch to a buffer with a header line.
647 2001-12-22  Pavel Janík  <Pavel@Janik.cz>
649         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
651 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
653         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
654         frame parameter have a numeric value all the time.
656 2001-12-08  Pavel Janík  <Pavel@Janik.cz>
658         * COPYING: New file.
660 2001-12-06  Kim F. Storm  <storm@cua.dk>
662         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
664 2001-12-01  Kim F. Storm  <storm@cua.dk>
666         The following changes add left-fringe and right-fringe
667         frame parameters to adjust fringe widths, or remove one or
668         both fringes.  See ../src/ChangeLog for details.
670         * inc/macterm.h: Merged changes from xterm.h.
671         * src/macterm.c: Merged changes from xterm.c.
672         * src/macfns.c: Merged changes from xfns.c.
674 2001-11-16  Pavel Janík  <Pavel@Janik.cz>
676         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
678 2001-11-16  Kim F. Storm  <storm@cua.dk>
680         The following changes are made to clean up the various internal
681         references to the fringes to actually use the term `fringe'.
683         * src/macfns.c: Use renamed symbols.
685         * src/macterm.c: Comment fixes.  Use renamed symbols.
686         (fringe_bitmap_type): Renamed from bitmap_type.
687         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
688         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
689         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
691         * inc/macterm.h: Comment fixes.  Use renamed symbols.
692         (fringes_extra): Renamed from flags_areas_extra.
693         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
694         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
695         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
696         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
697         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
698         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
700 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
702         * (Version 21.1 released.)
704 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
706         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
707         * src/mac.c (run_mac_command): Update calls to openp.
709 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
711         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
713         * src/macterm.c: Include keymap.h.
714         (note_mode_line_highlight): Use KEYMAPP.
716 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
718         * Branch for 21.1.
720 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
722         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
724         * src/macterm.c (XTread_socket): Read all pending events in the
725         event queue instead of one.
726         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
727         a script code of -smJapanese is specified.
728         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
729         encoding.
730         (init_font_name_table): Use a script code of -smJapanese instead
731         of smRoman for the second entry of a Japanese font.
732         (XLoadQueryFont): Recognize a font as having the smRoman script
733         code if its encoding is jisx0201.1976-0.
735         * makefile.MPW: Generate etc/DOC file from .elc files instead of
736         .el files.
738         * src/mac.c (stat): Don't fail for aliases.
739         (sys_open) [__MRC__]: Set file creator and type for newly-created
740         files.
741         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
742         elapsed instead of use WaitNextEvent call as a delay.
744 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
746         * src/macterm.c (init_font_name_table): Add an additional entry to
747         the font table with the script code smRoman for each Apple
748         Japanese font.
749         (XLoadQueryFont): Recognize a font as having the smRoman script
750         code even when FontToScript returns smJapanese if it is one of
751         those created above.
753 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
755         * INSTALL: Add to the note on using -opt speed in MPW the function
756         macterm.c (x_draw_hollow_cursor).
758         * src/macterm.c (mac_scroll_area): Call CopyBits with local
759         coordinates and portBits instead of global coordinates and
760         screenBits.  Set fore color and back color to black and white,
761         respectively, before calling CopyBits.
763         * src/macterm.c (local_to_global_coord): Comment out.
765         * src/mac.c (mac-filename-to-unix): Change to
766         mac-file-name-to-posix.
767         (unix-filename-to-mac): Change to posix-file-name-to-mac.
768         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
769         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
771         * src/macterm.c (do_ae_open_documents): Change call to
772         mac_to_unix_pathname to mac_to_posix_pathname.
774 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
776         * inc/macterm.h (x_display_list): Declare extern.
778 2001-07-20  Pavel Janík  <Pavel@Janik.cz>
780         * src/macterm.c (xim_open_dpy): Fix typo.
782 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
784         * README: Change references to SourceForge site to
785         ftp://ftp.gnu.org/gnu/mac/emacs/.
787 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
789         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
791 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
793         * src/Emacs.r: Change About box message.
795         * makefile.MPW: Add md5.c.x to EmacsObjects.
797         * src/mac.c (select): Call WaitNextEvent instead of Delay.
798         (pause): Ditto.
799         (sleep): Ditto.
801         * src/macterm.c (do_app_resume): Set cursor to arrow.
802         (clear_mouse_face): check for NIL Lisp object instead of null
803         pointer.
805         * INSTALL: Delete note on compiling Lisp files on a Unix system.
806         Add note on turning off end of line conversion.
808 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
810         * src/macfns.c: Rename everything containing *busy_cursor* and
811         similar to *hourglass*.
812         Change IMAGE_POSITIVE_INTEGER_VALUE to
813         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
814         (x_set_font): If font hasn't changed, avoid recomputing faces and
815         other things, as in xfns.c.
816         (Qcancel_timer): New variable.
817         (syms_of_macfns): Rename x-busy-pointer-shape to
818         x-hourglass-pointer-shape, display-busy-cursor to
819         display-hourglass, busy-cursor-delay to hourglass-delay, as in
820         xfns.c.
821         (x_set_tool_bar_lines): Modify as in xfns.c
822         (x_change_window_heights): New function.
824         * inc/macterm.h (struct x_output): Rename busy_cursor to
825         hourglass_cursor, busy_window to hourglass_window, busy_p to
826         hourglass_p, as in xterm.h.
828         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
829         safe_run_hooks, as in xmenu.c.
831         * src/macterm.c (do_check_ram_size): New function.
833         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
834         256 MB RAM.
836 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
838         * mac/INSTALL:
839         * mac/README:
840         * mac/cw5-mcp.xml:
841         * mac/cw6-mcp.xml:
842         * mac/inc/alloca.h:
843         * mac/inc/defs-cw5.h:
844         * mac/inc/defs-cw6.h: Added copyright notice.
846 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
848         * src/macterm.c (mac_font_pattern_match): Allocate three more
849         bytes to regex for '^', '$', and '\0'.
851         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
852         garbage collection.
854         * src/macfns.c (QCconversion): Replaces QCalgorithm.
856         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
857         image margins.
859         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
860         (x_draw_image_relief, x_draw_image_foreground_1)
861         (x_draw_image_glyph_string): Adapt to change of image margins.
863         * src/macterm.c (mac_to_x_fontname): Change charset name of
864         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
865         from ksc5601 to ksc5601.1989.
867 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
869         * cw5-mcp.xml: Add md5.c to project.
871         * cw6-mcp.xml: Add md5.c to project.
873         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): Change to handle
874         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
876 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
878         * src/macterm.c (x_handle_tool_bar_click, note_tool_bar_highlight):
879         Change references to members deleted from struct frame as in xterm.c.
881         * inc/epaths.h: Set PATH_EXEC to ~emacs/mac instead of
882         ~emacs/mac/bin.
884 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
886         * cw5-mcp.xml: Renamed from emacs-cw5.mcp.xml.
888         * cw6-mcp.xml: Renamed from emacs-cw6.mcp.xml.
890         * inc/defs-cw5.h: Renamed from inc/cmdline-defs-cw5.h.
892         * inc/defs-cw6.h: Renamed from inc/cmdline-defs-cw6.h.
894 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
896         * src/macterm.c (XTread_socket): Check whether Lisp variable
897         mac-ready-for-drag-n-drop is bound rather than non-nil value.
899 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
901         * INSTALL: New file.
903         * README: New file.
905         * TODO: New file.
907         * emacs-cw5.mcp.xml: New file.
909         * emacs-cw6.mcp.xml: New file.
911         * makefile.MPW: New file.
913         * inc/alloca.h: New file.
915         * inc/cmdline-defs-cw5.h: New file.
917         * inc/cmdline-defs-cw6.h: New file.
919         * inc/config.h: New file.
921         * inc/dirent.h: New file.
923         * inc/epaths.h: New file.
925         * inc/m-mac.h: New file.
927         * inc/macgui.h: New file.
929         * inc/macterm.h: New file.
931         * inc/pwd.h: New file.
933         * inc/s-mac.h: New file.
935         * inc/termio.h: New file.
937         * inc/utime.h: New file.
939         * inc/utsname.h: New file.
941         * inc/sys/file.h: New file.
943         * inc/sys/ioctl.h: New file.
945         * inc/sys/param.h: New file.
947         * inc/sys/stat.h: New file.
949         * inc/sys/time.h: New file.
951         * inc/sys/types.h: New file.
953         * src/Emacs.r: New file.
955         * src/EmacsMPW.r: New file.
957         * src/chdir.c: New file.
959         * src/mac.c: New file.
961         * src/macfns.c: New file.
963         * src/macmenu.c: New file.
965         * src/macterm.c: New file.
967 ;; Local Variables:
968 ;; coding: utf-8
969 ;; add-log-time-zone-rule: t
970 ;; End:
972     Copyright (C) 2001, 2002, 2003, 2004, 2005,
973         2006, 2007, 2008 Free Software Foundation, Inc.
975   This file is part of GNU Emacs.
977   GNU Emacs is free software: you can redistribute it and/or modify
978   it under the terms of the GNU General Public License as published by
979   the Free Software Foundation, either version 3 of the License, or
980   (at your option) any later version.
982   GNU Emacs is distributed in the hope that it will be useful,
983   but WITHOUT ANY WARRANTY; without even the implied warranty of
984   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
985   GNU General Public License for more details.
987   You should have received a copy of the GNU General Public License
988   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
990 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf