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