1 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3 * src/Emacs.r: Update TOO_MUCH_RAM error message.
5 2003-11-22 Lars Hansen <larsh@math.ku.dk>
9 2003-11-02 Andrew Choi <akochoi@shaw.ca>
11 * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
12 * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
14 2003-10-31 Andrew Choi <akochoi@shaw.ca>
16 * INSTALL: Add Nozomu Ando's changes to instructions for
17 installing on X Window (that static libraries are no longer
18 necessary after his changes to src/unexmacosx.c).
20 2003-04-28 Andrew Choi <akochoi@shaw.ca>
22 * make-package: Allocate 5% extra space on disk image for
23 directories and partition tables.
25 2003-04-04 Steven Tamm <steventamm@mac.com>
27 * make-package: Place libexec executables directly under the
28 Contents/MacOS/libexec if the application is self-contained
30 2003-04-01 Kim F. Storm <storm@cua.dk>
32 * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
33 (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
35 2003-03-21 Kim F. Storm <storm@cua.dk>
37 * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
38 files included from it. Add dependency on keymap.h.
40 2003-01-14 Steven Tamm <steventamm@mac.com>
42 * make-package: Fixed problem where the building without
43 specifying build directory fails.
45 2003-01-07 Steven Tamm <steventamm@mac.com>
47 * INSTALL: Added documentation about --enable-carbon-app and
48 changed documentation concerning Emacs.app location
49 Removed some of the documentation about make-package that isn't
51 Changed comment about requiring root permission to install to
52 saying that it might be necessary depending on where you install
53 Refered to /usr caveat in more places
54 * make-package (make_options): Use new carbon_appdir option to
55 specify directory to install Application and lets the makefile
58 2003-01-01 Steven Tamm <steventamm@mac.com>
60 * make-package: Now copies License and ReadMe files into the
61 Resources directory. Reduces overhead size when creating
64 2002-12-29 Steven Tamm <steventamm@mac.com>
66 * make-package: Defaults to building the source tree in a
67 separate directory. Use the new option --build-in-place to
68 have old behavior. Added new option --build-dir to specify the
71 2002-12-27 Steven Tamm <steventamm@mac.com>
73 * make-package: Fix typo where tmpparent was used instead of
74 tempparent for calculating installedSize and compressedSize.
76 2002-12-10 Andreas Schwab <schwab@suse.de>
78 * make-package: Fix syntax for find.
80 2002-12-08 Steven Tamm <steventamm@mac.com>
82 * INSTALL: Added description about make-package.
84 * make-package: Fixed --self-contained option to place the
85 directories in the correct locations for
86 init_mac_osx_environment and use hardlink by default for the
87 application. Script fails with invalid option.
89 2002-12-02 Andrew Choi <akochoi@shaw.ca>
91 * make-bin-dist, osx-install: Remove.
93 * INSTALL: Remove description of make-bin-dist and osx-install.
95 2002-12-02 Steven Tamm <steventamm@mac.com>
97 * make-package (installprefix): Switched copying of .el files
98 to be on by default. Removed symlink for emacs -> emacs-version.
100 2002-11-30 Steven Tamm <steventamm@mac.com>
102 * make-package: Now compresses .pax file instead of entire disk
103 image to reduce installer size on disk. Also added code to
104 create compressed disk image in the future.
106 No longer copies .el files that have been compiled by default.
107 Use --full-dist option to include them.
109 Option --symlink added to reduce disk size by making
110 /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
111 symlinks to the emacs-[version] binary.
113 Option --self-contained added to place files shared files
114 inside the Emacs.app executable (for portability between systems)
116 Added hidden debugging option --keep-dir to keep temporary install
117 directory (emacs-[version]) around after running script
119 * README: Removed comment about mouse-2 & -3 not working (it does).
121 2002-10-14 Andreas Schwab <schwab@suse.de>
123 * make-package: Fix syntax for find.
125 2002-10-08 Steven Tamm <steventamm@mac.com>
127 * make-package: Added ability to pass command line options
128 through to make and configure (-m, & -c,).
129 Added option to not copy Application into installer, the default
130 for X11 builds. Does not copy CVS directories into installer.
131 Clarified some of the usage notes.
133 2002-10-07 Steven Tamm <steventamm@mac.com>
135 * make-package: Now calls make bootstrap if .elc files are missing.
137 2002-08-27 Andrew Choi <akochoi@shaw.ca>
139 * INSTALL: Add information on starting Emacs as a GUI application
142 2002-08-15 Andrew Choi <akochoi@shaw.ca>
144 * INSTALL: Add instructions for building Carbon version on Macs
145 with X Window installed.
147 2002-07-31 Andrew Choi <akochoi@shaw.ca>
149 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
150 change creator code from ???? to EMAx.
152 * INSTALL: Add instructions for building X Window version.
154 2002-07-11 Andrew Choi <akochoi@shaw.ca>
156 * make-package: Change -a option to -R for cp command.
158 2002-07-05 Andrew Choi <akochoi@shaw.ca>
160 * make-package: Add ability to handle options --help, --prefix,
161 --no-conf, and --with-x.
163 2002-07-04 Andrew Choi <akochoi@shaw.ca>
165 * make-package: New file.
167 2002-07-01 Andrew Choi <akochoi@shaw.ca>
169 * Emacs.app/Contents/Resources/Emacs.icns: New file.
171 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
172 CFBundleIconFile entries.
174 2002-04-13 Andrew Choi <akochoi@shaw.ca>
176 * Emacs.app/Contents/Info.plist: New file.
178 * Emacs.app/Contents/PkgInfo: New file.
180 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
183 * cw5-mcp.xml: Remove file.
185 * inc/defs-cw5.h: Remove file.
187 * cw6-mcp.xml: Update with new version.
189 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
190 of constant CODEWARRIOR_VERSION_6.
195 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
197 * src/Carbon.r: New File.
199 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
200 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
201 macterm.h. Generate DOC from .el instead of .elc versions of
202 files listed in DONTCOMPILE in lisp/Makefile.in.
204 * INSTALL: Add installation instructions for Mac OS X.
206 * README: Add information for Mac OS X.
208 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
209 src/macterm.c, inc/macterm.h: Remove from here and move to src.
211 2002-04-12 Andrew Choi <akochoi@shaw.ca>
213 * src/mac.c (select): Under Carbon, always return true so
214 XTread_socket is called to poll input.
215 (run_mac_command): Not implemented under Carbon.
216 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
218 (do_applescript): Use Carbon routines AEGetDescDatASize and
220 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
221 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
222 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
223 GetCurrentScrap, and PutScrapFlavor.
224 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
227 * src/macfns.c: Synchronize with changes in w32fns.c.
228 [MAC_OSX]: Include Carbon headers.
229 (x_real_positions): Use Carbon routine GetWindowPortBounds.
230 (x_set_scroll_bar_width): Set width of scroll bar to 16.
231 (x_make_gc): Remove static qualifier.
233 * src/macmenu.c: Synchronize with changes in w32menu.c.
234 [MAC_OSX]: Include Carbon headers.
235 (set_frame_menubar): Check equality of vector representation of
236 scroll bars using Fequal instead of EQ.
237 (mac_menu_show): Use Carbon routine GetWindowPort.
238 (mac_dialog): Likewise.
239 (add_menu_item): Use Carbon routines CountMenuItems,
240 EnableMenuItem, and DisableMenuItem.
242 * src/macterm.c: Synchronize with changes in w32term.c.
243 [MAC_OSX]: Include Carbon headers.
244 (XDrawLine): Use Carbon routine GetWindowPort.
245 (XClearArea): Likewise.
246 (XClearWindow): Use Carbon routines GetWindowPort and
248 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
250 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
251 (mac_reset_clipping): Use Carbon routine GetWindowPort.
252 (XFillRectangle): Likewise.
253 (mac_draw_rectangle): Likewise.
254 (mac_draw_rectangle_to_pixmap): Likewise.
255 (mac_draw_string_common): Likewise.
256 (mac_copy_area): Use Carbon routines GetWindowPort and
258 (mac_scroll_area): Use Carbon routines GetWindowPort and
259 GetQDGlobalsScreenBits.
260 (x_flush): Call Carbon routine QDFlushPortBuffer.
261 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
262 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
263 (x_draw_image_glyph_string): Likewise.
264 (x_draw_stretch_glyph_string): Likewise.
265 (construct_mouse_click): Call Carbon routine GetWindowPort.
266 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
267 (XTmouse_position): Call Carbon routine GetWindowPort.
268 (x_scroll_bar_create): Create scroll bar with proc
269 kControlScrollBarProc.
270 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
271 (activate_scroll_bar): Call ActivateControl instead of
273 (deactivate_scroll_bar): Call DeactivateControl instead of
275 (x_scroll_bar_handle_click): Use default case for scroll
277 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
278 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
280 (init_font_name_table): Call Carbon Font Manager routines to
281 iterate through all fonts.
282 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
283 GetPortTextSize, and GetPortTextFace.
284 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
285 (is_emacs_window): New function to filter out non-Emacs windows
286 passed back by WaitNextEvent.
287 (do_mouse_moved): Call Carbon routine GetWindowPort.
288 (do_apple_menu): No apple menu handler under Carbon.
289 (do_zoom_window): Call Carbon routines GetWindowPort,
290 GetQDGlobalsScreenBits, SetWindowStandardState, and
292 (init_required_apple_events): Use UPP procedure type converter.
293 (main): Don't define for Carbon version.
294 (XTread_socket): Don't check interrupt_input_blocked. Don't call
295 check_alarm. Call Carbon routines GetWindowPort,
296 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
297 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
298 routine GetWindowPort.
299 (mac_initialize): Rename from x_initialize. Use new Doc string
302 * inc/macterm.h: Synchronize with changes in w32term.h.
304 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
307 2002-01-28 Kim F. Storm <storm@cua.dk>
309 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
310 cursor row is invisible. This can happen if cursor is on top line
311 of a window, and we switch to a buffer with a header line.
313 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
315 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
317 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
319 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
320 frame parameter have a numeric value all the time.
322 2001-12-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
326 2001-12-06 Kim F. Storm <storm@cua.dk>
328 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
330 2001-12-01 Kim F. Storm <storm@cua.dk>
332 The following changes add left-fringe and right-fringe
333 frame parameters to adjust fringe widths, or remove one or
334 both fringes. See ../src/ChangeLog for details.
336 * inc/macterm.h: Merged changes from xterm.h.
337 * src/macterm.c: Merged changes from xterm.c.
338 * src/macfns.c: Merged changes from xfns.c.
340 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
342 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
344 2001-11-16 Kim F. Storm <storm@cua.dk>
346 The following changes are made to clean up the various internal
347 references to the fringes to actually use the term `fringe'.
349 * src/macfns.c: Use renamed symbols.
351 * src/macterm.c: Comment fixes. Use renamed symbols.
352 (fringe_bitmap_type): Renamed from bitmap_type.
353 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
354 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
355 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
357 * inc/macterm.h: Comment fixes. Use renamed symbols.
358 (fringes_extra): Renamed from flags_areas_extra.
359 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
360 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
361 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
362 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
363 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
364 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
366 2001-10-20 Gerd Moellmann <gerd@gnu.org>
368 * (Version 21.1 released.)
370 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
372 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
373 * src/mac.c (run_mac_command): Update calls to openp.
375 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
377 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
379 * src/macterm.c: Include keymap.h.
380 (note_mode_line_highlight): Use KEYMAPP.
382 2001-10-05 Gerd Moellmann <gerd@gnu.org>
386 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
388 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
390 * src/macterm.c (XTread_socket): Read all pending events in the
391 event queue instead of one.
392 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
393 a script code of -smJapanese is specified.
394 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
396 (init_font_name_table): Use a script code of -smJapanese instead
397 of smRoman for the second entry of a Japanese font.
398 (XLoadQueryFont): Recognize a font as having the smRoman script
399 code if its encoding is jisx0201.1976-0.
401 * makefile.MPW: Generate etc/DOC file from .elc files instead of
404 * src/mac.c (stat): Don't fail for aliases.
405 (sys_open) [__MRC__]: Set file creator and type for newly-created
407 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
408 elapsed instead of use WaitNextEvent call as a delay.
410 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
412 * src/macterm.c (init_font_name_table): Add an additional entry to
413 the font table with the script code smRoman for each Apple
415 (XLoadQueryFont): Recognize a font as having the smRoman script
416 code even when FontToScript returns smJapanese if it is one of
419 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
421 * INSTALL: Add to the note on using -opt speed in MPW the function
422 macterm.c (x_draw_hollow_cursor).
424 * src/macterm.c (mac_scroll_area): Call CopyBits with local
425 coordinates and portBits instead of global coordinates and
426 screenBits. Set fore color and back color to black and white,
427 respectively, before calling CopyBits.
429 * src/macterm.c (local_to_global_coord): Comment out.
431 * src/mac.c (mac-filename-to-unix): Change to
432 mac-file-name-to-posix.
433 (unix-filename-to-mac): Change to posix-file-name-to-mac.
434 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
435 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
437 * src/macterm.c (do_ae_open_documents): Change call to
438 mac_to_unix_pathname to mac_to_posix_pathname.
440 2001-07-26 Andrew Choi <akochoi@i-cable.com>
442 * inc/macterm.h (x_display_list): Declare extern.
444 2001-07-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
446 * src/macterm.c (xim_open_dpy): Fix typo.
448 2001-06-26 Andrew Choi <akochoi@i-cable.com>
450 * README: Change references to SourceForge site to
451 ftp://ftp.gnu.org/gnu/mac/emacs/.
453 2001-05-15 Gerd Moellmann <gerd@gnu.org>
455 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
457 2001-05-15 Andrew Choi <akochoi@i-cable.com>
459 * src/Emacs.r: Change About box message.
461 * makefile.MPW: Add md5.c.x to EmacsObjects.
463 * src/mac.c (select): Call WaitNextEvent instead of Delay.
467 * src/macterm.c (do_app_resume): Set cursor to arrow.
468 (clear_mouse_face): check for NIL Lisp object instead of null
471 * INSTALL: Delete note on compiling Lisp files on a Unix system.
472 Add note on turning off end of line conversion.
474 2001-02-27 Andrew Choi <akochoi@i-cable.com>
476 * src/macfns.c: Rename everything containing *busy_cursor* and
477 similar to *hourglass*.
478 Change IMAGE_POSITIVE_INTEGER_VALUE to
479 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
480 (x_set_font): If font hasn't changed, avoid recomputing faces and
481 other things, as in xfns.c.
482 (Qcancel_timer): New variable.
483 (syms_of_macfns): Rename x-busy-pointer-shape to
484 x-hourglass-pointer-shape, display-busy-cursor to
485 display-hourglass, busy-cursor-delay to hourglass-delay, as in
487 (x_set_tool_bar_lines): Modify as in xfns.c
488 (x_change_window_heights): New function.
490 * inc/macterm.h (struct x_output): Rename busy_cursor to
491 hourglass_cursor, busy_window to hourglass_window, busy_p to
492 hourglass_p, as in xterm.h.
494 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
495 safe_run_hooks, as in xmenu.c.
497 * src/macterm.c (do_check_ram_size): New function.
499 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
502 2001-02-20 Andrew Choi <akochoi@i-cable.com>
509 * mac/inc/defs-cw5.h:
510 * mac/inc/defs-cw6.h: Added copyright notice.
512 2001-01-28 Andrew Choi <akochoi@i-cable.com>
514 * src/macterm.c (mac_font_pattern_match): Allocate three more
515 bytes to regex for '^', '$', and '\0'.
517 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
520 * src/macfns.c (QCconversion): Replaces QCalgorithm.
522 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
525 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
526 (x_draw_image_relief, x_draw_image_foreground_1)
527 (x_draw_image_glyph_string): Adapt to change of image margins.
529 * src/macterm.c (mac_to_x_fontname): Change charset name of
530 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
531 from ksc5601 to ksc5601.1989.
533 2000-12-12 Andrew Choi <akochoi@i-cable.com>
535 * cw5-mcp.xml: add md5.c to project.
537 * cw6-mcp.xml: add md5.c to project.
539 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
540 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
542 2000-11-26 Andrew Choi <akochoi@i-cable.com>
544 * src/macterm.c (x_handle_tool_bar_click):
545 (note_tool_bar_highlight): change references to members deleted
546 from struct frame as in xterm.c.
548 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
551 2000-10-25 Andrew Choi <akochoi@i-cable.com>
553 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
555 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
557 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
559 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
561 2000-10-24 Andrew Choi <akochoi@i-cable.com>
563 * src/macterm.c (XTread_socket): check whether Lisp variable
564 mac-ready-for-drag-n-drop is bound rather than non-nil value.
566 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
574 * emacs-cw5.mcp.xml: New file.
576 * emacs-cw6.mcp.xml: New file.
578 * makefile.MPW: New file.
580 * inc/alloca.h: New file.
582 * inc/cmdline-defs-cw5.h: New file.
584 * inc/cmdline-defs-cw6.h: New file.
586 * inc/config.h: New file.
588 * inc/dirent.h: New file.
590 * inc/epaths.h: New file.
592 * inc/m-mac.h: New file.
594 * inc/macgui.h: New file.
596 * inc/macterm.h: New file.
598 * inc/pwd.h: New file.
600 * inc/s-mac.h: New file.
602 * inc/termio.h: New file.
604 * inc/utime.h: New file.
606 * inc/utsname.h: New file.
608 * inc/sys/file.h: New file.
610 * inc/sys/ioctl.h: New file.
612 * inc/sys/param.h: New file.
614 * inc/sys/stat.h: New file.
616 * inc/sys/time.h: New file.
618 * inc/sys/types.h: New file.
620 * src/Emacs.r: New file.
622 * src/EmacsMPW.r: New file.
624 * src/chdir.c: New file.
626 * src/mac.c: New file.
628 * src/macfns.c: New file.
630 * src/macmenu.c: New file.
632 * src/macterm.c: New file.
635 ;; coding: iso-2022-7bit-unix
638 Copyright (C) 2001 Free Software Foundation, Inc.
639 Copying and distribution of this file, with or without modification,
640 are permitted provided the copyright notice and this notice are preserved.
642 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf