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