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