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