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