Merge from emacs--rel--22
[emacs.git] / mac / ChangeLog
blobea453021145a045ab3847079b0c366fae7761a94
1 2008-02-04  Dan Nicolaescu  <dann@ics.uci.edu>
3         * README:
4         * INSTALL: Only mention MacOSX.
6         * cw6-mcp.xml:
7         * make-package:
8         * makefile.MPW:
9         * inc/alloca.h:
10         * inc/config.h:
11         * inc/defs-cw6.h:
12         * inc/dirent.h:
13         * inc/epaths.h:
14         * inc/grp.h:
15         * inc/m-mac.h:
16         * inc/pwd.h:
17         * inc/s-mac.h:
18         * inc/termio.h:
19         * inc/utime.h:
20         * inc/utsname.h:
21         * inc/sys/file.h:
22         * inc/sys/ioctl.h:
23         * inc/sys/param.h:
24         * inc/sys/stat.h:
25         * inc/sys/time.h:
26         * inc/sys/types.h:
27         * src/EmacsMPW.r: Remove files for no longer supported pre-MacOSX
28         systems.
29         * inc: Remove directory.
31 2008-01-04  Glenn Morris  <rgm@gnu.org>
33         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
34         * src/Emacs.r: Update copyright to 2008.
36 2007-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
38         * INSTALL: Also build and run on Mac OS X 10.5.
40 2007-11-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
42         * inc/config.h: Remove HAVE_X11R5.
44 2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>
46         * makefile.MPW (SOME_MACHINE_OBJECTS): Remove sunfns.o.
48 2007-09-13  Seiji Zenitani  <zenitani@mac.com>
49             Takanori Yamamoto  <takanori.yamamoto@gmail.com>
50             Kentaro Ohkouchi  <nanasess@fsm.ne.jp>
52         * Emacs.app/Contents/Info.plist: Add
53         filetype/extension entries for the document icon.
54         * Emacs.app/Contents/Resources/Emacs.icns: Update.
55         * Emacs.app/Contents/Resources/document.icns: New file.
57 2007-08-29  Glenn Morris  <rgm@gnu.org>
59         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
60         * src/Emacs.r: Increase version to 23.0.50.
62 2007-08-29  Karoly Lorentey  <lorentey@elte.hu>
64         * makefile.MPW (EmacsObjects): Add terminal.c.x.
65         (callproc.c.x): Add dependencies frame.h, termhooks.h.
66         ({Src}terminal.c.x): New.
67         (shortlisp): Add server.elc and termdev.elc.
69 2007-07-25  Glenn Morris  <rgm@gnu.org>
71         * Relicense all FSF files to GPLv3 or later.
73         * COPYING: Switch to GPLv3.
75 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
77         * Version 22.1 released.
79 2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
81         * INSTALL: Add note about moving self-contained application bundle
82         to non-ASCII directory.
84 2007-04-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
86         * INSTALL: Fix description about using colors in terminal.
87         Fix typos (/Application -> /Applications).
89 2007-04-26  Glenn Morris  <rgm@gnu.org>
91         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
92         * src/Emacs.r: Increase version to 22.1.50.
94 2007-04-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
96         * make-package (compver): Don't hardcode processor type.
98 2007-03-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
100         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x, lread.c.x)
101         (print.c.x, term.c.x): Depend on BLOCKINPUT_H_GROUP.
103 2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
105         * inc/config.h: Sync with src/config.in.
107 2007-01-30  Piet van Oostrum  <piet@cs.uu.nl>
109         * make-package (compver): Install info and manpages.
111 2006-12-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
113         * inc/config.h: Sync with src/config.in.
115 2006-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
117         * INSTALL: Add descriptions about configuration and invocation.
118         Capitalize `Carbon'.
120 2006-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
122         * inc/config.h: Sync with src/config.in.
124 2006-11-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
126         * INSTALL: Remove descriptions about --without-x.  Remove
127         --without-carbon from configure options for X11 build.
129 2006-09-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
131         * INSTALL: Remove descriptions about experimental flags.
133         * inc/config.h: Sync with src/config.in.
135         * src/Emacs.r (M_APPLE): New define.
136         (MENU): Use it.
138 2006-09-15  Jay Belanger  <belanger@truman.edu>
140         * COPYING: Replace "Library Public License" by "Lesser Public
141         License" throughout.
143 2006-07-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
145         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x):
146         Depend on blockinput.h.
148 2006-07-12  Kim F. Storm  <storm@cua.dk>
150         * INSTALL: More cleanup related to last change.
152 2006-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
154         * INSTALL: Remove descriptions about Metrowerks CodeWarrior.  Fix URL
155         for GNU-fonts.smi.bin.  USE_ATSUI is enabled by default on Mac OS X.
157         * README: Remove descriptions about Metrowerks CodeWarrior.
159 2006-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
161         * makefile.MPW (SOME_MACHINE_LISP): Add fringe.elc.
163 2006-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
165         * inc/config.h (pid_t): Define to int.
167 2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
169         * makefile.MPW (shortlisp, SOME_MACHINE_LISP): Sync with
170         src/Makefile.in.
172 2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
174         * makefile.MPW (macselect.c.x): Depend on keymap.h.
176 2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
178         * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
179         data.  Make NSServices open-selection the first entry.
181 2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
183         * makefile.MPW (shortlisp): Sync with src/Makefile.in.
185 2005-10-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
187         * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add
188         `FIXME' to descriptions about Metrowerks CodeWarrior.  Remove
189         obsolete description about 512MB limit and icon on Mac OS Classic.
190         Add description about flags for experimental features.
192         * README: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add `FIXME'
193         to descriptions about Metrowerks CodeWarrior.  Remove obsolete
194         descriptions about C-g and supported image types.
196 2005-10-20  Bryan D. O'Connor  <bryan@lunch.org>  (tiny change)
198         * make-package: Add a --compressed-dist option to compress info
199         files and .el files that have been byte-compiled.  It defaults to "no".
201 2005-09-24  Eli Zaretskii  <eliz@gnu.org>
203         * INSTALL (NOTES): Update the list of versions of MacOS on which
204         Emacs should build.
206         * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
207         does not exist).
209 2005-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
211         * inc/config.h: Sync with src/config.in.
213 2005-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
215         * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
216         NSServices.
218 2005-07-04  Lute Kamstra  <lute@gnu.org>
220         Update FSF's address in GPL notices.
222 2005-06-08  Steven Tamm  <steventamm@mac.com>
224         * INSTALL: Explain that a universal binary cannot be created and
225         builds for on emachine cannot be targeted to the other.
226         * README: Add Universal Binary to the Todo List.
228 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
230         * makefile.MPW (buildobj.lst): New target.
231         (Clean): Delete file buildobj.lst.
232         (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
233         (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
234         Remove variables.
235         (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP):
236         New variables.
237         ({DocTarget}DOC): Use them.
238         (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
240         * inc/config.h: Sync with src/config.in.
241         (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
242         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
243         (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
244         (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
245         [__MRC__] (HAVE_ALLOCA_H): Likewise.
246         (config_machfile, config_opsysfile, my_strftime): New macros.
247         (HAVE_PWD_H): Move from s-mac.h.
248         (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
249         (PTR): Move to s-mac.h.
251         * inc/m-mac.h (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
253         * inc/s-mac.h: Sync with src/s/template.h.  Don't include fcntl.h,
254         time.h, or signal.h.
255         (index, rindex): New macros.
256         [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
257         compatibility with predefined ones.
258         (PTR): Move from s-mac.h.
259         (HAVE_PWD_H): Move to config.h.
260         (volatile): Remove macro.
261         [__MRC__] (strftime): Likewise.
262         (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
263         (sys_time, sys_signal, atof): Remove declarations.
265         * inc/sys/time.h (ITIMER_REAL): New macro.
266         (struct itimerval): New struct.
267         (setitimer): New extern.
269 2005-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
271         * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
273 2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
275         * makefile.MPW (MacObjects): Add macselect.c.x.
276         (macselect.c.x): New target.
277         (mac.c): Fix dependency.
279         * Emacs.app/Contents/Info.plist: Add NSServices key and data.
281         * inc/s-mac.h (HAVE_PWD_H): Define.
283 2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
285         * makefile.MPW (NonCarbonLibs): Add LocalesLib.  Delete
286         TextEncodingConverter.
288 2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
290         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
291         (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
292         number and copyright.
294         * Emacs.r (DITL, vers): Likewise.
296 2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
298         * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
299         org.gnu.Emacs.
301 2005-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
303         * INSTALL: Mention new target `NonCarbon'.
305 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
307         * makefile.MPW (NonCarbon): New target.  The target `Emacs' is now
308         used for the Carbon build that defines HAVE_CARBON.
310         * inc/config.h (HAVE_STDLIB_H): Define to 1.
312         * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
313         [HAVE_CARBON] (crfg): New resource for extra stack space.
315 2004-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
317         * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
318         lastfile.c.x.
319         (PPCCOptions): Add -alloca.
320         (EmacsObjects): Remove alloca.c.x.  Add fringe.c.x, image.c.x, and
321         lastfile.c.x.
322         (Emacs MPW): Add QuickTimeLib.
323         (EmacsSource): Remove alloca.c.  Add fringe.c, image.c, and
324         lastfile.c.
325         (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
326         map-ynp.elc.
327         * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
328         (UNEXEC_SRC): Close comment.
329         * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
330         * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
331         (C_ALLOCA) [__MRC__]: Don't define.
332         * inc/s-mac.h (X_OK): New define.
333         (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
334         (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
336 2004-05-29  Steven Tamm  <steventamm@mac.com>
338         * INSTALL: Fixing typos
339         * README: Updating list of TODOs to remove image support and
340         environment variable problem.
342 2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
344         * src/Emacs.r: Update TOO_MUCH_RAM error message.
346 2003-11-22  Lars Hansen  <larsh@math.ku.dk>
348         * inc/grp.h: Added.
350 2003-11-02  Andrew Choi  <akochoi@shaw.ca>
352         * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
353         * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
355 2003-10-31  Andrew Choi  <akochoi@shaw.ca>
357         * INSTALL: Add Nozomu Ando's changes to instructions for
358         installing on X Window (that static libraries are no longer
359         necessary after his changes to src/unexmacosx.c).
361 2003-04-28  Andrew Choi  <akochoi@shaw.ca>
363         * make-package: Allocate 5% extra space on disk image for
364         directories and partition tables.
366 2003-04-04  Steven Tamm  <steventamm@mac.com>
368         * make-package: Place libexec executables directly under the
369         Contents/MacOS/libexec if the application is self-contained
371 2003-04-01  Kim F. Storm  <storm@cua.dk>
373         * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
374         (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
376 2003-03-21  Kim F. Storm  <storm@cua.dk>
378         * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
379         files included from it.  Add dependency on keymap.h.
381 2003-01-14  Steven Tamm  <steventamm@mac.com>
383         * make-package: Fixed problem where the building without
384         specifying build directory fails.
386 2003-01-07  Steven Tamm  <steventamm@mac.com>
388         * INSTALL: Added documentation about --enable-carbon-app and
389         changed documentation concerning Emacs.app location.
390         Removed some of the documentation about make-package that isn't
391         needed.
392         Changed comment about requiring root permission to install to
393         saying that it might be necessary depending on where you install.
394         Refered to /usr caveat in more places.
395         * make-package (make_options): Use new carbon_appdir option to
396         specify directory to install Application and lets the makefile
397         install.
399 2003-01-01  Steven Tamm  <steventamm@mac.com>
401         * make-package: Now copies License and ReadMe files into the
402         Resources directory.  Reduces overhead size when creating
403         installer disk image.
405 2002-12-29  Steven Tamm  <steventamm@mac.com>
407         * make-package: Defaults to building the source tree in a
408         separate directory.  Use the new option --build-in-place to
409         have old behavior.  Added new option --build-dir to specify the
410         build directory.
412 2002-12-27  Steven Tamm  <steventamm@mac.com>
414         * make-package: Fix typo where tmpparent was used instead of
415         tempparent for calculating installedSize and compressedSize.
417 2002-12-10  Andreas Schwab  <schwab@suse.de>
419         * make-package: Fix syntax for find.
421 2002-12-08  Steven Tamm  <steventamm@mac.com>
423         * INSTALL: Added description about make-package.
425         * make-package: Fixed --self-contained option to place the
426         directories in the correct locations for
427         init_mac_osx_environment and use hardlink by default for the
428         application.  Script fails with invalid option.
430 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
432         * make-bin-dist, osx-install: Remove.
434         * INSTALL: Remove description of make-bin-dist and osx-install.
436 2002-12-02  Steven Tamm  <steventamm@mac.com>
438         * make-package (installprefix): Switched copying of .el files
439         to be on by default.  Removed symlink for emacs -> emacs-version.
441 2002-11-30  Steven Tamm  <steventamm@mac.com>
443         * make-package: Now compresses .pax file instead of entire disk
444         image to reduce installer size on disk.  Also added code to
445         create compressed disk image in the future.
447         No longer copies .el files that have been compiled by default.
448         Use --full-dist option to include them.
450         Option --symlink added to reduce disk size by making
451         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
452         symlinks to the emacs-[version] binary.
454         Option --self-contained added to place files shared files
455         inside the Emacs.app executable (for portability between systems)
457         Added hidden debugging option --keep-dir to keep temporary install
458         directory (emacs-[version]) around after running script
460         * README: Removed comment about mouse-2 & -3 not working (it does).
462 2002-10-14  Andreas Schwab  <schwab@suse.de>
464         * make-package: Fix syntax for find.
466 2002-10-08  Steven Tamm  <steventamm@mac.com>
468         * make-package: Added ability to pass command line options
469         through to make and configure (-m, & -c,).
470         Added option to not copy Application into installer, the default
471         for X11 builds.  Does not copy CVS directories into installer.
472         Clarified some of the usage notes.
474 2002-10-07  Steven Tamm  <steventamm@mac.com>
476         * make-package: Now calls make bootstrap if .elc files are missing.
478 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
480         * INSTALL: Add information on starting Emacs as a GUI application
481         from the terminal.
483 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
485         * INSTALL: Add instructions for building Carbon version on Macs
486         with X Window installed.
488 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
490         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
491         Change creator code from ???? to EMAx.
493         * INSTALL: Add instructions for building X Window version.
495 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
497         * make-package: Change -a option to -R for cp command.
499 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
501         * make-package: Add ability to handle options --help, --prefix,
502         --no-conf, and --with-x.
504 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
506         * make-package: New file.
508 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
510         * Emacs.app/Contents/Resources/Emacs.icns: New file.
512         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
513         CFBundleIconFile entries.
515 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
517         * Emacs.app/Contents/Info.plist: New file.
519         * Emacs.app/Contents/PkgInfo: New file.
521         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
522         New file.
524         * cw5-mcp.xml: Remove file.
526         * inc/defs-cw5.h: Remove file.
528         * cw6-mcp.xml: Update with new version.
530         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
531         of constant CODEWARRIOR_VERSION_6.
533         * mac/src/mac.c:
534         * mac/src/macmenu.c:
535         * mac/src/macterm.c:
536         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
538         * src/Carbon.r: New File.
540         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
541         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
542         macterm.h.  Generate DOC from .el instead of .elc versions of
543         files listed in DONTCOMPILE in lisp/Makefile.in.
545         * INSTALL: Add installation instructions for Mac OS X.
547         * README: Add information for Mac OS X.
549         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
550         * src/macterm.c, inc/macterm.h: Remove from here and move to src.
552 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
554         * src/mac.c (select): Under Carbon, always return true so
555         XTread_socket is called to poll input.
556         (run_mac_command): Not implemented under Carbon.
557         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
558         establish pathname.
559         (do_applescript): Use Carbon routines AEGetDescDatASize and
560         AEGetDescData.
561         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
562         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
563         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
564         GetCurrentScrap, and PutScrapFlavor.
565         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
566         GetScrapFlavorFlags.
568         * src/macfns.c: Synchronize with changes in w32fns.c.
569         [MAC_OSX]: Include Carbon headers.
570         (x_real_positions): Use Carbon routine GetWindowPortBounds.
571         (x_set_scroll_bar_width): Set width of scroll bar to 16.
572         (x_make_gc): Remove static qualifier.
574         * src/macmenu.c: Synchronize with changes in w32menu.c.
575         [MAC_OSX]: Include Carbon headers.
576         (set_frame_menubar): Check equality of vector representation of
577         scroll bars using Fequal instead of EQ.
578         (mac_menu_show): Use Carbon routine GetWindowPort.
579         (mac_dialog): Likewise.
580         (add_menu_item): Use Carbon routines CountMenuItems,
581         EnableMenuItem, and DisableMenuItem.
583         * src/macterm.c: Synchronize with changes in w32term.c.
584         [MAC_OSX]: Include Carbon headers.
585         (XDrawLine): Use Carbon routine GetWindowPort.
586         (XClearArea): Likewise.
587         (XClearWindow): Use Carbon routines GetWindowPort and
588         GetWindowPortBounds.
589         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
590         GetPortPixMap.
591         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
592         (mac_reset_clipping): Use Carbon routine GetWindowPort.
593         (XFillRectangle): Likewise.
594         (mac_draw_rectangle): Likewise.
595         (mac_draw_rectangle_to_pixmap): Likewise.
596         (mac_draw_string_common): Likewise.
597         (mac_copy_area): Use Carbon routines GetWindowPort and
598         GetPortPixMap.
599         (mac_scroll_area): Use Carbon routines GetWindowPort and
600         GetQDGlobalsScreenBits.
601         (x_flush): Call Carbon routine QDFlushPortBuffer.
602         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
603         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
604         (x_draw_image_glyph_string): Likewise.
605         (x_draw_stretch_glyph_string): Likewise.
606         (construct_mouse_click): Call Carbon routine GetWindowPort.
607         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
608         (XTmouse_position): Call Carbon routine GetWindowPort.
609         (x_scroll_bar_create): Create scroll bar with proc
610         kControlScrollBarProc.
611         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
612         (activate_scroll_bar): Call ActivateControl instead of
613         SetControlMaximum.
614         (deactivate_scroll_bar): Call DeactivateControl instead of
615         SetControlMaximum.
616         (x_scroll_bar_handle_click): Use default case for scroll
617         indicator.
618         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
619         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
620         GetWindowPortBounds.
621         (init_font_name_table): Call Carbon Font Manager routines to
622         iterate through all fonts.
623         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
624         GetPortTextSize, and GetPortTextFace.
625         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
626         (is_emacs_window): New function to filter out non-Emacs windows
627         passed back by WaitNextEvent.
628         (do_mouse_moved): Call Carbon routine GetWindowPort.
629         (do_apple_menu): No apple menu handler under Carbon.
630         (do_zoom_window): Call Carbon routines GetWindowPort,
631         GetQDGlobalsScreenBits, SetWindowStandardState, and
632         GetWindowPortBounds.
633         (init_required_apple_events): Use UPP procedure type converter.
634         (main): Don't define for Carbon version.
635         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
636         check_alarm.  Call Carbon routines GetWindowPort,
637         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
638         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
639         routine GetWindowPort.
640         (mac_initialize): Rename from x_initialize.  Use new Doc string
641         format.
643         * inc/macterm.h: Synchronize with changes in w32term.h.
645         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
646         WindowPtr.
648 2002-01-28  Kim F. Storm  <storm@cua.dk>
650         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
651         cursor row is invisible.  This can happen if cursor is on top line
652         of a window, and we switch to a buffer with a header line.
654 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
656         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
658 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
660         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
661         frame parameter have a numeric value all the time.
663 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
665         * COPYING: New file.
667 2001-12-06  Kim F. Storm  <storm@cua.dk>
669         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
671 2001-12-01  Kim F. Storm  <storm@cua.dk>
673         The following changes add left-fringe and right-fringe
674         frame parameters to adjust fringe widths, or remove one or
675         both fringes.  See ../src/ChangeLog for details.
677         * inc/macterm.h: Merged changes from xterm.h.
678         * src/macterm.c: Merged changes from xterm.c.
679         * src/macfns.c: Merged changes from xfns.c.
681 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
683         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
685 2001-11-16  Kim F. Storm  <storm@cua.dk>
687         The following changes are made to clean up the various internal
688         references to the fringes to actually use the term `fringe'.
690         * src/macfns.c: Use renamed symbols.
692         * src/macterm.c: Comment fixes.  Use renamed symbols.
693         (fringe_bitmap_type): Renamed from bitmap_type.
694         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
695         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
696         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
698         * inc/macterm.h: Comment fixes.  Use renamed symbols.
699         (fringes_extra): Renamed from flags_areas_extra.
700         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
701         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
702         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
703         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
704         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
705         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
707 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
709         * (Version 21.1 released.)
711 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
713         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
714         * src/mac.c (run_mac_command): Update calls to openp.
716 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
718         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
720         * src/macterm.c: Include keymap.h.
721         (note_mode_line_highlight): Use KEYMAPP.
723 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
725         * Branch for 21.1.
727 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
729         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
731         * src/macterm.c (XTread_socket): Read all pending events in the
732         event queue instead of one.
733         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
734         a script code of -smJapanese is specified.
735         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
736         encoding.
737         (init_font_name_table): Use a script code of -smJapanese instead
738         of smRoman for the second entry of a Japanese font.
739         (XLoadQueryFont): Recognize a font as having the smRoman script
740         code if its encoding is jisx0201.1976-0.
742         * makefile.MPW: Generate etc/DOC file from .elc files instead of
743         .el files.
745         * src/mac.c (stat): Don't fail for aliases.
746         (sys_open) [__MRC__]: Set file creator and type for newly-created
747         files.
748         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
749         elapsed instead of use WaitNextEvent call as a delay.
751 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
753         * src/macterm.c (init_font_name_table): Add an additional entry to
754         the font table with the script code smRoman for each Apple
755         Japanese font.
756         (XLoadQueryFont): Recognize a font as having the smRoman script
757         code even when FontToScript returns smJapanese if it is one of
758         those created above.
760 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
762         * INSTALL: Add to the note on using -opt speed in MPW the function
763         macterm.c (x_draw_hollow_cursor).
765         * src/macterm.c (mac_scroll_area): Call CopyBits with local
766         coordinates and portBits instead of global coordinates and
767         screenBits.  Set fore color and back color to black and white,
768         respectively, before calling CopyBits.
770         * src/macterm.c (local_to_global_coord): Comment out.
772         * src/mac.c (mac-filename-to-unix): Change to
773         mac-file-name-to-posix.
774         (unix-filename-to-mac): Change to posix-file-name-to-mac.
775         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
776         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
778         * src/macterm.c (do_ae_open_documents): Change call to
779         mac_to_unix_pathname to mac_to_posix_pathname.
781 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
783         * inc/macterm.h (x_display_list): Declare extern.
785 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
787         * src/macterm.c (xim_open_dpy): Fix typo.
789 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
791         * README: Change references to SourceForge site to
792         ftp://ftp.gnu.org/gnu/mac/emacs/.
794 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
796         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
798 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
800         * src/Emacs.r: Change About box message.
802         * makefile.MPW: Add md5.c.x to EmacsObjects.
804         * src/mac.c (select): Call WaitNextEvent instead of Delay.
805         (pause): Ditto.
806         (sleep): Ditto.
808         * src/macterm.c (do_app_resume): Set cursor to arrow.
809         (clear_mouse_face): check for NIL Lisp object instead of null
810         pointer.
812         * INSTALL: Delete note on compiling Lisp files on a Unix system.
813         Add note on turning off end of line conversion.
815 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
817         * src/macfns.c: Rename everything containing *busy_cursor* and
818         similar to *hourglass*.
819         Change IMAGE_POSITIVE_INTEGER_VALUE to
820         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
821         (x_set_font): If font hasn't changed, avoid recomputing faces and
822         other things, as in xfns.c.
823         (Qcancel_timer): New variable.
824         (syms_of_macfns): Rename x-busy-pointer-shape to
825         x-hourglass-pointer-shape, display-busy-cursor to
826         display-hourglass, busy-cursor-delay to hourglass-delay, as in
827         xfns.c.
828         (x_set_tool_bar_lines): Modify as in xfns.c
829         (x_change_window_heights): New function.
831         * inc/macterm.h (struct x_output): Rename busy_cursor to
832         hourglass_cursor, busy_window to hourglass_window, busy_p to
833         hourglass_p, as in xterm.h.
835         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
836         safe_run_hooks, as in xmenu.c.
838         * src/macterm.c (do_check_ram_size): New function.
840         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
841         256 MB RAM.
843 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
845         * mac/INSTALL:
846         * mac/README:
847         * mac/cw5-mcp.xml:
848         * mac/cw6-mcp.xml:
849         * mac/inc/alloca.h:
850         * mac/inc/defs-cw5.h:
851         * mac/inc/defs-cw6.h: Added copyright notice.
853 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
855         * src/macterm.c (mac_font_pattern_match): Allocate three more
856         bytes to regex for '^', '$', and '\0'.
858         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
859         garbage collection.
861         * src/macfns.c (QCconversion): Replaces QCalgorithm.
863         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
864         image margins.
866         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
867         (x_draw_image_relief, x_draw_image_foreground_1)
868         (x_draw_image_glyph_string): Adapt to change of image margins.
870         * src/macterm.c (mac_to_x_fontname): Change charset name of
871         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
872         from ksc5601 to ksc5601.1989.
874 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
876         * cw5-mcp.xml: Add md5.c to project.
878         * cw6-mcp.xml: Add md5.c to project.
880         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): Change to handle
881         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
883 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
885         * src/macterm.c (x_handle_tool_bar_click, note_tool_bar_highlight):
886         Change references to members deleted from struct frame as in xterm.c.
888         * inc/epaths.h: Set PATH_EXEC to ~emacs/mac instead of
889         ~emacs/mac/bin.
891 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
893         * cw5-mcp.xml: Renamed from emacs-cw5.mcp.xml.
895         * cw6-mcp.xml: Renamed from emacs-cw6.mcp.xml.
897         * inc/defs-cw5.h: Renamed from inc/cmdline-defs-cw5.h.
899         * inc/defs-cw6.h: Renamed from inc/cmdline-defs-cw6.h.
901 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
903         * src/macterm.c (XTread_socket): Check whether Lisp variable
904         mac-ready-for-drag-n-drop is bound rather than non-nil value.
906 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
908         * INSTALL: New file.
910         * README: New file.
912         * TODO: New file.
914         * emacs-cw5.mcp.xml: New file.
916         * emacs-cw6.mcp.xml: New file.
918         * makefile.MPW: New file.
920         * inc/alloca.h: New file.
922         * inc/cmdline-defs-cw5.h: New file.
924         * inc/cmdline-defs-cw6.h: New file.
926         * inc/config.h: New file.
928         * inc/dirent.h: New file.
930         * inc/epaths.h: New file.
932         * inc/m-mac.h: New file.
934         * inc/macgui.h: New file.
936         * inc/macterm.h: New file.
938         * inc/pwd.h: New file.
940         * inc/s-mac.h: New file.
942         * inc/termio.h: New file.
944         * inc/utime.h: New file.
946         * inc/utsname.h: New file.
948         * inc/sys/file.h: New file.
950         * inc/sys/ioctl.h: New file.
952         * inc/sys/param.h: New file.
954         * inc/sys/stat.h: New file.
956         * inc/sys/time.h: New file.
958         * inc/sys/types.h: New file.
960         * src/Emacs.r: New file.
962         * src/EmacsMPW.r: New file.
964         * src/chdir.c: New file.
966         * src/mac.c: New file.
968         * src/macfns.c: New file.
970         * src/macmenu.c: New file.
972         * src/macterm.c: New file.
974 ;; Local Variables:
975 ;; coding: iso-2022-7bit
976 ;; add-log-time-zone-rule: t
977 ;; End:
979     Copyright (C) 2001, 2002, 2003, 2004, 2005,
980         2006, 2007, 2008 Free Software Foundation, Inc.
982   This file is part of GNU Emacs.
984   GNU Emacs is free software; you can redistribute it and/or modify
985   it under the terms of the GNU General Public License as published by
986   the Free Software Foundation; either version 3, or (at your option)
987   any later version.
989   GNU Emacs is distributed in the hope that it will be useful,
990   but WITHOUT ANY WARRANTY; without even the implied warranty of
991   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
992   GNU General Public License for more details.
994   You should have received a copy of the GNU General Public License
995   along with GNU Emacs; see the file COPYING.  If not, write to the
996   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
997   Boston, MA 02110-1301, USA.
999 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf