Move some stuff to new file "copyright".
[emacs.git] / mac / ChangeLog
blob228616ba4399d40e8a5c9a0b566ed5630befc737
1 2006-12-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3         * inc/config.h: Sync with src/config.in.
5 2006-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7         * INSTALL: Add descriptions about configuration and invocation.
8         Capitalize `Carbon'.
10 2006-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12         * inc/config.h: Sync with src/config.in.
14 2006-11-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16         * INSTALL: Remove descriptions about --without-x.  Remove
17         --without-carbon from configure options for X11 build.
19 2006-09-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21         * INSTALL: Remove descriptions about experimental flags.
23         * inc/config.h: Sync with src/config.in.
25         * src/Emacs.r (M_APPLE): New define.
26         (MENU): Use it.
28 2006-09-15  Jay Belanger  <belanger@truman.edu>
30         * COPYING: Replace "Library Public License" by "Lesser Public
31         License" throughout.
33 2006-07-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
35         * makefile.MPW (dired.c.x, editfns.c.x, fileio.c.x): Depend on
36         blockinput.h.
38 2006-07-12  Kim F. Storm  <storm@cua.dk>
40         * INSTALL: More cleanup related to last change.
42 2006-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
44         * INSTALL: Remove descriptions about Metrowerks CodeWarrior.  Fix URL
45         for GNU-fonts.smi.bin.  USE_ATSUI is enabled by default on Mac OS X.
47         * README: Remove descriptions about Metrowerks CodeWarrior.
49 2006-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
51         * makefile.MPW (SOME_MACHINE_LISP): Add fringe.elc.
53 2006-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
55         * inc/config.h (pid_t): Define to int.
57 2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
59         * makefile.MPW (shortlisp, SOME_MACHINE_LISP): Sync with
60         src/Makefile.in.
62 2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
64         * makefile.MPW (macselect.c.x): Depend on keymap.h.
66 2005-12-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
68         * Emacs.app/Contents/Info.plist: Add CFBundleURLTypes key and
69         data.  Make NSServices open-selection the first entry.
71 2005-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
73         * makefile.MPW (shortlisp): Sync with src/Makefile.in.
75 2005-10-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
77         * INSTALL: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add
78         `FIXME' to descriptions about Metrowerks CodeWarrior.  Remove
79         obsolete description about 512MB limit and icon on Mac OS Classic.
80         Add description about flags for experimental features.
82         * README: Replace `Mac OS 8/9' with `Mac OS Classic'.  Add `FIXME'
83         to descriptions about Metrowerks CodeWarrior.  Remove obsolete
84         descriptions about C-g and supported image types.
86 2005-10-20  Bryan D. O'Connor  <bryan@lunch.org>  (tiny change)
88         * make-package: Add a --compressed-dist option to compress info
89         files and .el files that have been byte-compiled. It defaults to "no".
91 2005-09-24  Eli Zaretskii  <eliz@gnu.org>
93         * INSTALL (NOTES): Update the list of versions of MacOS on which
94         Emacs should build.
96         * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
97         does not exist).
99 2005-09-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
101         * inc/config.h: Sync with src/config.in.
103 2005-07-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
105         * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
106         NSServices.
108 2005-07-04  Lute Kamstra  <lute@gnu.org>
110         Update FSF's address in GPL notices.
112 2005-06-08  Steven Tamm  <steventamm@mac.com>
114         * INSTALL: Explain that a universal binary cannot be created and
115         builds for on emachine cannot be targeted to the other.
116         * README: Add Universal Binary to the Todo List.
118 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
120         * makefile.MPW (buildobj.lst): New target.
121         (Clean): Delete file buildobj.lst.
122         (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
123         (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
124         Remove variables.
125         (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP): New
126         variables.
127         ({DocTarget}DOC): Use them.
128         (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
130         * inc/config.h: Sync with src/config.in.
131         (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
132         (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
133         (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
134         (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
135         [__MRC__] (HAVE_ALLOCA_H): Likewise.
136         (config_machfile, config_opsysfile, my_strftime): New macros.
137         (HAVE_PWD_H): Move from s-mac.h.
138         (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
139         (PTR): Move to s-mac.h.
141         * inc/m-mac.h: (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
143         * inc/s-mac.h: Sync with src/s/template.h.  Don't include fcntl.h,
144         time.h, or signal.h.
145         (index, rindex): New macros.
146         [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
147         compatibility with predefined ones.
148         (PTR): Move from s-mac.h.
149         (HAVE_PWD_H): Move to config.h.
150         (volatile): Remove macro.
151         [__MRC__] (strftime): Likewise.
152         (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
153         (sys_time, sys_signal, atof): Remove declarations.
155         * inc/sys/time.h (ITIMER_REAL): New macro.
156         (struct itimerval): New struct.
157         (setitimer): New extern.
159 2005-05-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
161         * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
163 2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
165         * makefile.MPW (MacObjects): Add macselect.c.x.
166         (macselect.c.x): New target.
167         (mac.c): Fix dependency.
169         * Emacs.app/Contents/Info.plist: Add NSServices key and data.
171         * inc/s-mac.h (HAVE_PWD_H): Define.
173 2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
175         * makefile.MPW (NonCarbonLibs): Add LocalesLib.  Delete
176         TextEncodingConverter.
178 2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
180         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
181         (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
182         number and copyright.
184         * Emacs.r (DITL, vers): Likewise.
186 2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
188         * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
189         org.gnu.Emacs.
191 2005-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
193         * INSTALL: Mention new target `NonCarbon'.
195 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
197         * makefile.MPW (NonCarbon): New target.  The target `Emacs' is now
198         used for the Carbon build that defines HAVE_CARBON.
200         * inc/config.h (HAVE_STDLIB_H): Define to 1.
202         * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
203         [HAVE_CARBON] (crfg): New resource for extra stack space.
205 2004-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
207         * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
208         lastfile.c.x.
209         (PPCCOptions): Add -alloca.
210         (EmacsObjects): Remove alloca.c.x.  Add fringe.c.x, image.c.x, and
211         lastfile.c.x.
212         (Emacs MPW): Add QuickTimeLib.
213         (EmacsSource): Remove alloca.c.  Add fringe.c, image.c, and
214         lastfile.c.
215         (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
216         map-ynp.elc.
217         * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
218         (UNEXEC_SRC): Close comment.
219         * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
220         * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
221         (C_ALLOCA) [__MRC__]: Don't define.
222         * inc/s-mac.h (X_OK): New define.
223         (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
224         (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
226 2004-05-29  Steven Tamm  <steventamm@mac.com>
228         * INSTALL: Fixing typos
229         * README: Updating list of TODOs to remove image support and
230         environment variable problem.
232 2004-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
234         * src/Emacs.r: Update TOO_MUCH_RAM error message.
236 2003-11-22  Lars Hansen <larsh@math.ku.dk>
238         * inc/grp.h: Added.
240 2003-11-02  Andrew Choi  <akochoi@shaw.ca>
242         * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
243         * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
245 2003-10-31  Andrew Choi  <akochoi@shaw.ca>
247         * INSTALL: Add Nozomu Ando's changes to instructions for
248         installing on X Window (that static libraries are no longer
249         necessary after his changes to src/unexmacosx.c).
251 2003-04-28  Andrew Choi  <akochoi@shaw.ca>
253         * make-package: Allocate 5% extra space on disk image for
254         directories and partition tables.
256 2003-04-04  Steven Tamm  <steventamm@mac.com>
258         * make-package: Place libexec executables directly under the
259         Contents/MacOS/libexec if the application is self-contained
261 2003-04-01  Kim F. Storm  <storm@cua.dk>
263         * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
264         (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
266 2003-03-21  Kim F. Storm  <storm@cua.dk>
268         * makefile.MPW (xdisp.c.x):  Add dependency on blockinput.h and
269         files included from it.  Add dependency on keymap.h.
271 2003-01-14  Steven Tamm  <steventamm@mac.com>
273         * make-package: Fixed problem where the building without
274         specifying build directory fails.
276 2003-01-07  Steven Tamm  <steventamm@mac.com>
278         * INSTALL: Added documentation about --enable-carbon-app and
279         changed documentation concerning Emacs.app location
280         Removed some of the documentation about make-package that isn't
281         needed
282         Changed comment about requiring root permission to install to
283         saying that it might be necessary depending on where you install
284         Refered to /usr caveat in more places
285         * make-package (make_options): Use new carbon_appdir option to
286         specify directory to install Application and lets the makefile
287         install
289 2003-01-01  Steven Tamm  <steventamm@mac.com>
291         * make-package: Now copies License and ReadMe files into the
292         Resources directory.  Reduces overhead size when creating
293         installer disk image.
295 2002-12-29  Steven Tamm  <steventamm@mac.com>
297         * make-package: Defaults to building the source tree in a
298         separate directory.  Use the new option --build-in-place to
299         have old behavior.  Added new option --build-dir to specify the
300         build directory.
302 2002-12-27  Steven Tamm  <steventamm@mac.com>
304         * make-package: Fix typo where tmpparent was used instead of
305         tempparent for calculating installedSize and compressedSize.
307 2002-12-10  Andreas Schwab  <schwab@suse.de>
309         * make-package: Fix syntax for find.
311 2002-12-08  Steven Tamm  <steventamm@mac.com>
313         * INSTALL: Added description about make-package.
315         * make-package: Fixed --self-contained option to place the
316         directories in the correct locations for
317         init_mac_osx_environment and use hardlink by default for the
318         application.  Script fails with invalid option.
320 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
322         * make-bin-dist, osx-install: Remove.
324         * INSTALL: Remove description of make-bin-dist and osx-install.
326 2002-12-02  Steven Tamm  <steventamm@mac.com>
328         * make-package (installprefix): Switched copying of .el files
329         to be on by default.  Removed symlink for emacs -> emacs-version.
331 2002-11-30  Steven Tamm  <steventamm@mac.com>
333         * make-package: Now compresses .pax file instead of entire disk
334         image to reduce installer size on disk.  Also added code to
335         create compressed disk image in the future.
337         No longer copies .el files that have been compiled by default.
338         Use --full-dist option to include them.
340         Option --symlink added to reduce disk size by making
341         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
342         symlinks to the emacs-[version] binary.
344         Option --self-contained added to place files shared files
345         inside the Emacs.app executable (for portability between systems)
347         Added hidden debugging option --keep-dir to keep temporary install
348         directory (emacs-[version]) around after running script
350         * README: Removed comment about mouse-2 & -3 not working (it does).
352 2002-10-14  Andreas Schwab  <schwab@suse.de>
354         * make-package: Fix syntax for find.
356 2002-10-08  Steven Tamm  <steventamm@mac.com>
358         * make-package: Added ability to pass command line options
359         through to make and configure (-m, & -c,).
360         Added option to not copy Application into installer, the default
361         for X11 builds.  Does not copy CVS directories into installer.
362         Clarified some of the usage notes.
364 2002-10-07  Steven Tamm  <steventamm@mac.com>
366         * make-package: Now calls make bootstrap if .elc files are missing.
368 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
370         * INSTALL: Add information on starting Emacs as a GUI application
371         from the terminal.
373 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
375         * INSTALL: Add instructions for building Carbon version on Macs
376         with X Window installed.
378 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
380         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
381         change creator code from ???? to EMAx.
383         * INSTALL: Add instructions for building X Window version.
385 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
387         * make-package: Change -a option to -R for cp command.
389 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
391         * make-package: Add ability to handle options --help, --prefix,
392         --no-conf, and --with-x.
394 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
396         * make-package: New file.
398 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
400         * Emacs.app/Contents/Resources/Emacs.icns: New file.
402         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
403         CFBundleIconFile entries.
405 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
407         * Emacs.app/Contents/Info.plist: New file.
409         * Emacs.app/Contents/PkgInfo: New file.
411         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
412         New file.
414         * cw5-mcp.xml: Remove file.
416         * inc/defs-cw5.h: Remove file.
418         * cw6-mcp.xml: Update with new version.
420         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
421         of constant CODEWARRIOR_VERSION_6.
423         * mac/src/mac.c:
424         * mac/src/macmenu.c:
425         * mac/src/macterm.c:
426         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
428         * src/Carbon.r: New File.
430         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
431         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
432         macterm.h.  Generate DOC from .el instead of .elc versions of
433         files listed in DONTCOMPILE in lisp/Makefile.in.
435         * INSTALL: Add installation instructions for Mac OS X.
437         * README: Add information for Mac OS X.
439         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
440         src/macterm.c, inc/macterm.h: Remove from here and move to src.
442 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
444         * src/mac.c (select): Under Carbon, always return true so
445         XTread_socket is called to poll input.
446         (run_mac_command): Not implemented under Carbon.
447         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
448         establish pathname.
449         (do_applescript): Use Carbon routines AEGetDescDatASize and
450         AEGetDescData.
451         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
452         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
453         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
454         GetCurrentScrap, and PutScrapFlavor.
455         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
456         GetScrapFlavorFlags.
458         * src/macfns.c: Synchronize with changes in w32fns.c.
459         [MAC_OSX]: Include Carbon headers.
460         (x_real_positions): Use Carbon routine GetWindowPortBounds.
461         (x_set_scroll_bar_width): Set width of scroll bar to 16.
462         (x_make_gc): Remove static qualifier.
464         * src/macmenu.c: Synchronize with changes in w32menu.c.
465         [MAC_OSX]: Include Carbon headers.
466         (set_frame_menubar): Check equality of vector representation of
467         scroll bars using Fequal instead of EQ.
468         (mac_menu_show): Use Carbon routine GetWindowPort.
469         (mac_dialog): Likewise.
470         (add_menu_item): Use Carbon routines CountMenuItems,
471         EnableMenuItem, and DisableMenuItem.
473         * src/macterm.c: Synchronize with changes in w32term.c.
474         [MAC_OSX]: Include Carbon headers.
475         (XDrawLine): Use Carbon routine GetWindowPort.
476         (XClearArea): Likewise.
477         (XClearWindow): Use Carbon routines GetWindowPort and
478         GetWindowPortBounds.
479         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
480         GetPortPixMap.
481         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
482         (mac_reset_clipping): Use Carbon routine GetWindowPort.
483         (XFillRectangle): Likewise.
484         (mac_draw_rectangle): Likewise.
485         (mac_draw_rectangle_to_pixmap): Likewise.
486         (mac_draw_string_common): Likewise.
487         (mac_copy_area): Use Carbon routines GetWindowPort and
488         GetPortPixMap.
489         (mac_scroll_area): Use Carbon routines GetWindowPort and
490         GetQDGlobalsScreenBits.
491         (x_flush): Call Carbon routine QDFlushPortBuffer.
492         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
493         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
494         (x_draw_image_glyph_string): Likewise.
495         (x_draw_stretch_glyph_string): Likewise.
496         (construct_mouse_click): Call Carbon routine GetWindowPort.
497         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
498         (XTmouse_position): Call Carbon routine GetWindowPort.
499         (x_scroll_bar_create): Create scroll bar with proc
500         kControlScrollBarProc.
501         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
502         (activate_scroll_bar): Call ActivateControl instead of
503         SetControlMaximum.
504         (deactivate_scroll_bar): Call DeactivateControl instead of
505         SetControlMaximum.
506         (x_scroll_bar_handle_click): Use default case for scroll
507         indicator.
508         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
509         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
510         GetWindowPortBounds.
511         (init_font_name_table): Call Carbon Font Manager routines to
512         iterate through all fonts.
513         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
514         GetPortTextSize, and GetPortTextFace.
515         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
516         (is_emacs_window): New function to filter out non-Emacs windows
517         passed back by WaitNextEvent.
518         (do_mouse_moved): Call Carbon routine GetWindowPort.
519         (do_apple_menu): No apple menu handler under Carbon.
520         (do_zoom_window): Call Carbon routines GetWindowPort,
521         GetQDGlobalsScreenBits, SetWindowStandardState, and
522         GetWindowPortBounds.
523         (init_required_apple_events): Use UPP procedure type converter.
524         (main): Don't define for Carbon version.
525         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
526         check_alarm.  Call Carbon routines GetWindowPort,
527         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
528         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
529         routine GetWindowPort.
530         (mac_initialize): Rename from x_initialize.  Use new Doc string
531         format.
533         * inc/macterm.h: Synchronize with changes in w32term.h.
535         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
536         WindowPtr.
538 2002-01-28  Kim F. Storm  <storm@cua.dk>
540         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
541         cursor row is invisible.  This can happen if cursor is on top line
542         of a window, and we switch to a buffer with a header line.
544 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
546         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
548 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
550         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
551         frame parameter have a numeric value all the time.
553 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
555         * COPYING: New file.
557 2001-12-06  Kim F. Storm  <storm@cua.dk>
559         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
561 2001-12-01  Kim F. Storm  <storm@cua.dk>
563         The following changes add left-fringe and right-fringe
564         frame parameters to adjust fringe widths, or remove one or
565         both fringes.  See ../src/ChangeLog for details.
567         * inc/macterm.h: Merged changes from xterm.h.
568         * src/macterm.c: Merged changes from xterm.c.
569         * src/macfns.c: Merged changes from xfns.c.
571 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
573         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
575 2001-11-16  Kim F. Storm  <storm@cua.dk>
577         The following changes are made to clean up the various internal
578         references to the fringes to actually use the term `fringe'.
580         * src/macfns.c: Use renamed symbols.
582         * src/macterm.c: Comment fixes. Use renamed symbols.
583         (fringe_bitmap_type): Renamed from bitmap_type.
584         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
585         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
586         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
588         * inc/macterm.h: Comment fixes. Use renamed symbols.
589         (fringes_extra): Renamed from flags_areas_extra.
590         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
591         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
592         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
593         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
594         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
595         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
597 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
599         * (Version 21.1 released.)
601 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
603         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
604         * src/mac.c (run_mac_command): Update calls to openp.
606 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
608         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
610         * src/macterm.c: Include keymap.h.
611         (note_mode_line_highlight): Use KEYMAPP.
613 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
615         * Branch for 21.1.
617 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
619         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
621         * src/macterm.c (XTread_socket): Read all pending events in the
622         event queue instead of one.
623         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
624         a script code of -smJapanese is specified.
625         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
626         encoding.
627         (init_font_name_table): Use a script code of -smJapanese instead
628         of smRoman for the second entry of a Japanese font.
629         (XLoadQueryFont): Recognize a font as having the smRoman script
630         code if its encoding is jisx0201.1976-0.
632         * makefile.MPW: Generate etc/DOC file from .elc files instead of
633         .el files.
635         * src/mac.c (stat): Don't fail for aliases.
636         (sys_open) [__MRC__]: Set file creator and type for newly-created
637         files.
638         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
639         elapsed instead of use WaitNextEvent call as a delay.
641 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
643         * src/macterm.c (init_font_name_table): Add an additional entry to
644         the font table with the script code smRoman for each Apple
645         Japanese font.
646         (XLoadQueryFont): Recognize a font as having the smRoman script
647         code even when FontToScript returns smJapanese if it is one of
648         those created above.
650 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
652         * INSTALL: Add to the note on using -opt speed in MPW the function
653         macterm.c (x_draw_hollow_cursor).
655         * src/macterm.c (mac_scroll_area): Call CopyBits with local
656         coordinates and portBits instead of global coordinates and
657         screenBits.  Set fore color and back color to black and white,
658         respectively, before calling CopyBits.
660         * src/macterm.c (local_to_global_coord): Comment out.
662         * src/mac.c (mac-filename-to-unix): Change to
663         mac-file-name-to-posix.
664         (unix-filename-to-mac): Change to posix-file-name-to-mac.
665         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
666         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
668         * src/macterm.c (do_ae_open_documents): Change call to
669         mac_to_unix_pathname to mac_to_posix_pathname.
671 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
673         * inc/macterm.h (x_display_list): Declare extern.
675 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
677         * src/macterm.c (xim_open_dpy): Fix typo.
679 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
681         * README: Change references to SourceForge site to
682         ftp://ftp.gnu.org/gnu/mac/emacs/.
684 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
686         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
688 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
690         * src/Emacs.r: Change About box message.
692         * makefile.MPW: Add md5.c.x to EmacsObjects.
694         * src/mac.c (select): Call WaitNextEvent instead of Delay.
695         (pause): Ditto.
696         (sleep): Ditto.
698         * src/macterm.c (do_app_resume): Set cursor to arrow.
699         (clear_mouse_face): check for NIL Lisp object instead of null
700         pointer.
702         * INSTALL: Delete note on compiling Lisp files on a Unix system.
703         Add note on turning off end of line conversion.
705 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
707         * src/macfns.c: Rename everything containing *busy_cursor* and
708         similar to *hourglass*.
709         Change IMAGE_POSITIVE_INTEGER_VALUE to
710         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
711         (x_set_font): If font hasn't changed, avoid recomputing faces and
712         other things, as in xfns.c.
713         (Qcancel_timer): New variable.
714         (syms_of_macfns): Rename x-busy-pointer-shape to
715         x-hourglass-pointer-shape, display-busy-cursor to
716         display-hourglass, busy-cursor-delay to hourglass-delay, as in
717         xfns.c.
718         (x_set_tool_bar_lines): Modify as in xfns.c
719         (x_change_window_heights): New function.
721         * inc/macterm.h (struct x_output): Rename busy_cursor to
722         hourglass_cursor, busy_window to hourglass_window, busy_p to
723         hourglass_p, as in xterm.h.
725         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
726         safe_run_hooks, as in xmenu.c.
728         * src/macterm.c (do_check_ram_size): New function.
730         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
731         256 MB RAM.
733 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
735         * mac/INSTALL:
736         * mac/README:
737         * mac/cw5-mcp.xml:
738         * mac/cw6-mcp.xml:
739         * mac/inc/alloca.h:
740         * mac/inc/defs-cw5.h:
741         * mac/inc/defs-cw6.h: Added copyright notice.
743 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
745         * src/macterm.c (mac_font_pattern_match): Allocate three more
746         bytes to regex for '^', '$', and '\0'.
748         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
749         garbage collection.
751         * src/macfns.c (QCconversion): Replaces QCalgorithm.
753         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
754         image margins.
756         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
757         (x_draw_image_relief, x_draw_image_foreground_1)
758         (x_draw_image_glyph_string): Adapt to change of image margins.
760         * src/macterm.c (mac_to_x_fontname): Change charset name of
761         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
762         from ksc5601 to ksc5601.1989.
764 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
766         * cw5-mcp.xml: add md5.c to project.
768         * cw6-mcp.xml: add md5.c to project.
770         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
771         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
773 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
775         * src/macterm.c (x_handle_tool_bar_click):
776         (note_tool_bar_highlight): change references to members deleted
777         from struct frame as in xterm.c.
779         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
780         ~emacs/mac/bin.
782 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
784         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
786         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
788         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
790         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
792 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
794         * src/macterm.c (XTread_socket): check whether Lisp variable
795         mac-ready-for-drag-n-drop is bound rather than non-nil value.
797 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
799         * INSTALL: New file.
801         * README: New file.
803         * TODO: New file.
805         * emacs-cw5.mcp.xml: New file.
807         * emacs-cw6.mcp.xml: New file.
809         * makefile.MPW: New file.
811         * inc/alloca.h: New file.
813         * inc/cmdline-defs-cw5.h: New file.
815         * inc/cmdline-defs-cw6.h: New file.
817         * inc/config.h: New file.
819         * inc/dirent.h: New file.
821         * inc/epaths.h: New file.
823         * inc/m-mac.h: New file.
825         * inc/macgui.h: New file.
827         * inc/macterm.h: New file.
829         * inc/pwd.h: New file.
831         * inc/s-mac.h: New file.
833         * inc/termio.h: New file.
835         * inc/utime.h: New file.
837         * inc/utsname.h: New file.
839         * inc/sys/file.h: New file.
841         * inc/sys/ioctl.h: New file.
843         * inc/sys/param.h: New file.
845         * inc/sys/stat.h: New file.
847         * inc/sys/time.h: New file.
849         * inc/sys/types.h: New file.
851         * src/Emacs.r: New file.
853         * src/EmacsMPW.r: New file.
855         * src/chdir.c: New file.
857         * src/mac.c: New file.
859         * src/macfns.c: New file.
861         * src/macmenu.c: New file.
863         * src/macterm.c: New file.
865 ;; Local Variables:
866 ;; coding: iso-2022-7bit
867 ;; add-log-time-zone-rule: t
868 ;; End:
870     Copyright (C) 2001, 2002, 2003, 2004, 2005,
871         2006, 2007 Free Software Foundation, Inc.
872   Copying and distribution of this file, with or without modification,
873   are permitted provided the copyright notice and this notice are preserved.
875 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf