+2002-07-31 Andrew Choi <akochoi@shaw.ca>
+
+ * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
+ change creator code from ???? to EMAx.
+
+ * INSTALL: Add instructions for building X Window version.
+
+2002-07-11 Andrew Choi <akochoi@shaw.ca>
+
+ * make-package: Change -a option to -R for cp command.
+
+2002-07-05 Andrew Choi <akochoi@shaw.ca>
+
+ * make-package: Add ability to handle options --help, --prefix,
+ --no-conf, and --with-x.
+
+2002-07-04 Andrew Choi <akochoi@shaw.ca>
+
+ * make-package: New file.
+
+2002-07-01 Andrew Choi <akochoi@shaw.ca>
+
+ * Emacs.app/Contents/Resources/Emacs.icns: New file.
+
+ * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
+ CFBundleIconFile entries.
+
+2002-04-13 Andrew Choi <akochoi@shaw.ca>
+
+ * Emacs.app/Contents/Info.plist: New file.
+
+ * Emacs.app/Contents/PkgInfo: New file.
+
+ * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
+ New file.
+
+ * cw5-mcp.xml: Remove file.
+
+ * inc/defs-cw5.h: Remove file.
+
+ * cw6-mcp.xml: Update with new version.
+
+ * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
+ of constant CODEWARRIOR_VERSION_6.
+
+ * mac/src/mac.c:
+ * mac/src/macmenu.c:
+ * mac/src/macterm.c:
+ Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
+
+ * src/Carbon.r: New File.
+
+ * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
+ locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
+ macterm.h. Generate DOC from .el instead of .elc versions of
+ files listed in DONTCOMPILE in lisp/Makefile.in.
+
+ * INSTALL: Add installation instructions for Mac OS X.
+
+ * README: Add information for Mac OS X.
+
+ * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
+ src/macterm.c, inc/macterm.h: Remove from here and move to src.
+
+2002-04-12 Andrew Choi <akochoi@shaw.ca>
+
+ * src/mac.c (select): Under Carbon, always return true so
+ XTread_socket is called to poll input.
+ (run_mac_command): Not implemented under Carbon.
+ (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
+ establish pathname.
+ (do_applescript): Use Carbon routines AEGetDescDatASize and
+ AEGetDescData.
+ (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
+ GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
+ (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
+ GetCurrentScrap, and PutScrapFlavor.
+ (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
+ GetScrapFlavorFlags.
+
+ * src/macfns.c: Synchronize with changes in w32fns.c.
+ [MAC_OSX]: Include Carbon headers.
+ (x_real_positions): Use Carbon routine GetWindowPortBounds.
+ (x_set_scroll_bar_width): Set width of scroll bar to 16.
+ (x_make_gc): Remove static qualifier.
+
+ * src/macmenu.c: Synchronize with changes in w32menu.c.
+ [MAC_OSX]: Include Carbon headers.
+ (set_frame_menubar): Check equality of vector representation of
+ scroll bars using Fequal instead of EQ.
+ (mac_menu_show): Use Carbon routine GetWindowPort.
+ (mac_dialog): Likewise.
+ (add_menu_item): Use Carbon routines CountMenuItems,
+ EnableMenuItem, and DisableMenuItem.
+
+ * src/macterm.c: Synchronize with changes in w32term.c.
+ [MAC_OSX]: Include Carbon headers.
+ (XDrawLine): Use Carbon routine GetWindowPort.
+ (XClearArea): Likewise.
+ (XClearWindow): Use Carbon routines GetWindowPort and
+ GetWindowPortBounds.
+ (mac_draw_bitmap): Use Carbon routines GetWindowPort and
+ GetPortPixMap.
+ (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
+ (mac_reset_clipping): Use Carbon routine GetWindowPort.
+ (XFillRectangle): Likewise.
+ (mac_draw_rectangle): Likewise.
+ (mac_draw_rectangle_to_pixmap): Likewise.
+ (mac_draw_string_common): Likewise.
+ (mac_copy_area): Use Carbon routines GetWindowPort and
+ GetPortPixMap.
+ (mac_scroll_area): Use Carbon routines GetWindowPort and
+ GetQDGlobalsScreenBits.
+ (x_flush): Call Carbon routine QDFlushPortBuffer.
+ (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
+ (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
+ (x_draw_image_glyph_string): Likewise.
+ (x_draw_stretch_glyph_string): Likewise.
+ (construct_mouse_click): Call Carbon routine GetWindowPort.
+ (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
+ (XTmouse_position): Call Carbon routine GetWindowPort.
+ (x_scroll_bar_create): Create scroll bar with proc
+ kControlScrollBarProc.
+ (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
+ (activate_scroll_bar): Call ActivateControl instead of
+ SetControlMaximum.
+ (deactivate_scroll_bar): Call DeactivateControl instead of
+ SetControlMaximum.
+ (x_scroll_bar_handle_click): Use default case for scroll
+ indicator.
+ (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
+ (x_calc_absolute_position): Call Carbon routines GetWindowPort and
+ GetWindowPortBounds.
+ (init_font_name_table): Call Carbon Font Manager routines to
+ iterate through all fonts.
+ (XLoadQueryFont): Call Carbon routines GetPortTextFont,
+ GetPortTextSize, and GetPortTextFace.
+ (do_init_managers): Do not initialize Mac Toolbox under Carbon.
+ (is_emacs_window): New function to filter out non-Emacs windows
+ passed back by WaitNextEvent.
+ (do_mouse_moved): Call Carbon routine GetWindowPort.
+ (do_apple_menu): No apple menu handler under Carbon.
+ (do_zoom_window): Call Carbon routines GetWindowPort,
+ GetQDGlobalsScreenBits, SetWindowStandardState, and
+ GetWindowPortBounds.
+ (init_required_apple_events): Use UPP procedure type converter.
+ (main): Don't define for Carbon version.
+ (XTread_socket): Don't check interrupt_input_blocked. Don't call
+ check_alarm. Call Carbon routines GetWindowPort,
+ GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
+ (NewMacWindow): Set making_terminal_window to 0. Call Carbon
+ routine GetWindowPort.
+ (mac_initialize): Rename from x_initialize. Use new Doc string
+ format.
+
+ * inc/macterm.h: Synchronize with changes in w32term.h.
+
+ * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
+ WindowPtr.
+
+2002-01-28 Kim F. Storm <storm@cua.dk>
+
+ * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
+ cursor row is invisible. This can happen if cursor is on top line
+ of a window, and we switch to a buffer with a header line.
+
+2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
+
+ * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
+
+2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
+ frame parameter have a numeric value all the time.
+
+2001-12-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
+
+ * COPYING: New file.
+
+2001-12-06 Kim F. Storm <storm@cua.dk>
+
+ * src/macfns.c (x_report_frame_params): Return actual fringe widths.
+
+2001-12-01 Kim F. Storm <storm@cua.dk>
+
+ The following changes add left-fringe and right-fringe
+ frame parameters to adjust fringe widths, or remove one or
+ both fringes. See ../src/ChangeLog for details.
+
+ * inc/macterm.h: Merged changes from xterm.h.
+ * src/macterm.c: Merged changes from xterm.c.
+ * src/macfns.c: Merged changes from xfns.c.
+
+2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
+
+ * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
+
+2001-11-16 Kim F. Storm <storm@cua.dk>
+
+ The following changes are made to clean up the various internal
+ references to the fringes to actually use the term `fringe'.
+
+ * src/macfns.c: Use renamed symbols.
+
+ * src/macterm.c: Comment fixes. Use renamed symbols.
+ (fringe_bitmap_type): Renamed from bitmap_type.
+ (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
+ (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
+ (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
+
+ * inc/macterm.h: Comment fixes. Use renamed symbols.
+ (fringes_extra): Renamed from flags_areas_extra.
+ (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
+ (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
+ (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
+ (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
+ (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
+ (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
+
+2001-10-20 Gerd Moellmann <gerd@gnu.org>
+
+ * (Version 21.1 released.)
+
+2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
+
+ * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
+ * src/mac.c (run_mac_command): Update calls to openp.
+
+2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
+
+ * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
+
+ * src/macterm.c: Include keymap.h.
+ (note_mode_line_highlight): Use KEYMAPP.
+
+2001-10-05 Gerd Moellmann <gerd@gnu.org>
+
+ * Branch for 21.1.
+
2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
+ * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
+
+ * src/macterm.c (XTread_socket): Read all pending events in the
+ event queue instead of one.
+ (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
+ a script code of -smJapanese is specified.
+ (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
+ encoding.
+ (init_font_name_table): Use a script code of -smJapanese instead
+ of smRoman for the second entry of a Japanese font.
+ (XLoadQueryFont): Recognize a font as having the smRoman script
+ code if its encoding is jisx0201.1976-0.
+
+ * makefile.MPW: Generate etc/DOC file from .elc files instead of
+ .el files.
+
* src/mac.c (stat): Don't fail for aliases.
(sys_open) [__MRC__]: Set file creator and type for newly-created
files.
+ (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
+ elapsed instead of use WaitNextEvent call as a delay.
2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* inc/macterm.h (x_display_list): Declare extern.
-2001-07-20 Pavel Janík <Pavel@Janik.cz>
+2001-07-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
* src/macterm.c (xim_open_dpy): Fix typo.
* src/macmenu.c: New file.
* src/macterm.c: New file.
+
+;; Local Variables:
+;; coding: iso-2022-7bit-unix
+;; End:
+
+ Copyright (C) 2001 Free Software Foundation, Inc.
+ Copying and distribution of this file, with or without modification,
+ are permitted provided the copyright notice and this notice are preserved.