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