1 2003-01-01 Steven Tamm <steventamm@mac.com>
3 * make-package: Now copies License and ReadMe files into the
4 Resources directory. Reduces overhead size when creating
7 2002-12-29 Steven Tamm <steventamm@mac.com>
9 * make-package: Defaults to building the source tree in a
10 separate directory. Use the new option --build-in-place to
11 have old behavior. Added new option --build-dir to specify the
14 2002-12-27 Steven Tamm <steventamm@mac.com>
16 * make-package: Fix typo where tmpparent was used instead of
17 tempparent for calculating installedSize and compressedSize.
19 2002-12-10 Andreas Schwab <schwab@suse.de>
21 * make-package: Fix syntax for find.
23 2002-12-08 Steven Tamm <steventamm@mac.com>
25 * INSTALL: Added description about make-package.
27 * make-package: Fixed --self-contained option to place the
28 directories in the correct locations for
29 init_mac_osx_environment and use hardlink by default for the
30 application. Script fails with invalid option.
32 2002-12-02 Andrew Choi <akochoi@shaw.ca>
34 * make-bin-dist, osx-install: Remove.
36 * INSTALL: Remove description of make-bin-dist and osx-install.
38 2002-12-02 Steven Tamm <steventamm@mac.com>
40 * make-package (installprefix): Switched copying of .el files
41 to be on by default. Removed symlink for emacs -> emacs-version.
43 2002-11-30 Steven Tamm <steventamm@mac.com>
45 * make-package: Now compresses .pax file instead of entire disk
46 image to reduce installer size on disk. Also added code to
47 create compressed disk image in the future.
49 No longer copies .el files that have been compiled by default.
50 Use --full-dist option to include them.
52 Option --symlink added to reduce disk size by making
53 /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
54 symlinks to the emacs-[version] binary.
56 Option --self-contained added to place files shared files
57 inside the Emacs.app executable (for portability between systems)
59 Added hidden debugging option --keep-dir to keep temporary install
60 directory (emacs-[version]) around after running script
62 * README: Removed comment about mouse-2 & -3 not working (it does).
64 2002-10-14 Andreas Schwab <schwab@suse.de>
66 * make-package: Fix syntax for find.
68 2002-10-08 Steven Tamm <steventamm@mac.com>
70 * make-package: Added ability to pass command line options
71 through to make and configure (-m, & -c,).
72 Added option to not copy Application into installer, the default
73 for X11 builds. Does not copy CVS directories into installer.
74 Clarified some of the usage notes.
76 2002-10-07 Steven Tamm <steventamm@mac.com>
78 * make-package: Now calls make bootstrap if .elc files are missing.
80 2002-08-27 Andrew Choi <akochoi@shaw.ca>
82 * INSTALL: Add information on starting Emacs as a GUI application
85 2002-08-15 Andrew Choi <akochoi@shaw.ca>
87 * INSTALL: Add instructions for building Carbon version on Macs
88 with X Window installed.
90 2002-07-31 Andrew Choi <akochoi@shaw.ca>
92 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
93 change creator code from ???? to EMAx.
95 * INSTALL: Add instructions for building X Window version.
97 2002-07-11 Andrew Choi <akochoi@shaw.ca>
99 * make-package: Change -a option to -R for cp command.
101 2002-07-05 Andrew Choi <akochoi@shaw.ca>
103 * make-package: Add ability to handle options --help, --prefix,
104 --no-conf, and --with-x.
106 2002-07-04 Andrew Choi <akochoi@shaw.ca>
108 * make-package: New file.
110 2002-07-01 Andrew Choi <akochoi@shaw.ca>
112 * Emacs.app/Contents/Resources/Emacs.icns: New file.
114 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
115 CFBundleIconFile entries.
117 2002-04-13 Andrew Choi <akochoi@shaw.ca>
119 * Emacs.app/Contents/Info.plist: New file.
121 * Emacs.app/Contents/PkgInfo: New file.
123 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
126 * cw5-mcp.xml: Remove file.
128 * inc/defs-cw5.h: Remove file.
130 * cw6-mcp.xml: Update with new version.
132 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
133 of constant CODEWARRIOR_VERSION_6.
138 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
140 * src/Carbon.r: New File.
142 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
143 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
144 macterm.h. Generate DOC from .el instead of .elc versions of
145 files listed in DONTCOMPILE in lisp/Makefile.in.
147 * INSTALL: Add installation instructions for Mac OS X.
149 * README: Add information for Mac OS X.
151 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
152 src/macterm.c, inc/macterm.h: Remove from here and move to src.
154 2002-04-12 Andrew Choi <akochoi@shaw.ca>
156 * src/mac.c (select): Under Carbon, always return true so
157 XTread_socket is called to poll input.
158 (run_mac_command): Not implemented under Carbon.
159 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
161 (do_applescript): Use Carbon routines AEGetDescDatASize and
163 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
164 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
165 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
166 GetCurrentScrap, and PutScrapFlavor.
167 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
170 * src/macfns.c: Synchronize with changes in w32fns.c.
171 [MAC_OSX]: Include Carbon headers.
172 (x_real_positions): Use Carbon routine GetWindowPortBounds.
173 (x_set_scroll_bar_width): Set width of scroll bar to 16.
174 (x_make_gc): Remove static qualifier.
176 * src/macmenu.c: Synchronize with changes in w32menu.c.
177 [MAC_OSX]: Include Carbon headers.
178 (set_frame_menubar): Check equality of vector representation of
179 scroll bars using Fequal instead of EQ.
180 (mac_menu_show): Use Carbon routine GetWindowPort.
181 (mac_dialog): Likewise.
182 (add_menu_item): Use Carbon routines CountMenuItems,
183 EnableMenuItem, and DisableMenuItem.
185 * src/macterm.c: Synchronize with changes in w32term.c.
186 [MAC_OSX]: Include Carbon headers.
187 (XDrawLine): Use Carbon routine GetWindowPort.
188 (XClearArea): Likewise.
189 (XClearWindow): Use Carbon routines GetWindowPort and
191 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
193 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
194 (mac_reset_clipping): Use Carbon routine GetWindowPort.
195 (XFillRectangle): Likewise.
196 (mac_draw_rectangle): Likewise.
197 (mac_draw_rectangle_to_pixmap): Likewise.
198 (mac_draw_string_common): Likewise.
199 (mac_copy_area): Use Carbon routines GetWindowPort and
201 (mac_scroll_area): Use Carbon routines GetWindowPort and
202 GetQDGlobalsScreenBits.
203 (x_flush): Call Carbon routine QDFlushPortBuffer.
204 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
205 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
206 (x_draw_image_glyph_string): Likewise.
207 (x_draw_stretch_glyph_string): Likewise.
208 (construct_mouse_click): Call Carbon routine GetWindowPort.
209 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
210 (XTmouse_position): Call Carbon routine GetWindowPort.
211 (x_scroll_bar_create): Create scroll bar with proc
212 kControlScrollBarProc.
213 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
214 (activate_scroll_bar): Call ActivateControl instead of
216 (deactivate_scroll_bar): Call DeactivateControl instead of
218 (x_scroll_bar_handle_click): Use default case for scroll
220 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
221 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
223 (init_font_name_table): Call Carbon Font Manager routines to
224 iterate through all fonts.
225 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
226 GetPortTextSize, and GetPortTextFace.
227 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
228 (is_emacs_window): New function to filter out non-Emacs windows
229 passed back by WaitNextEvent.
230 (do_mouse_moved): Call Carbon routine GetWindowPort.
231 (do_apple_menu): No apple menu handler under Carbon.
232 (do_zoom_window): Call Carbon routines GetWindowPort,
233 GetQDGlobalsScreenBits, SetWindowStandardState, and
235 (init_required_apple_events): Use UPP procedure type converter.
236 (main): Don't define for Carbon version.
237 (XTread_socket): Don't check interrupt_input_blocked. Don't call
238 check_alarm. Call Carbon routines GetWindowPort,
239 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
240 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
241 routine GetWindowPort.
242 (mac_initialize): Rename from x_initialize. Use new Doc string
245 * inc/macterm.h: Synchronize with changes in w32term.h.
247 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
250 2002-01-28 Kim F. Storm <storm@cua.dk>
252 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
253 cursor row is invisible. This can happen if cursor is on top line
254 of a window, and we switch to a buffer with a header line.
256 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
258 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
260 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
262 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
263 frame parameter have a numeric value all the time.
265 2001-12-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
269 2001-12-06 Kim F. Storm <storm@cua.dk>
271 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
273 2001-12-01 Kim F. Storm <storm@cua.dk>
275 The following changes add left-fringe and right-fringe
276 frame parameters to adjust fringe widths, or remove one or
277 both fringes. See ../src/ChangeLog for details.
279 * inc/macterm.h: Merged changes from xterm.h.
280 * src/macterm.c: Merged changes from xterm.c.
281 * src/macfns.c: Merged changes from xfns.c.
283 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
285 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
287 2001-11-16 Kim F. Storm <storm@cua.dk>
289 The following changes are made to clean up the various internal
290 references to the fringes to actually use the term `fringe'.
292 * src/macfns.c: Use renamed symbols.
294 * src/macterm.c: Comment fixes. Use renamed symbols.
295 (fringe_bitmap_type): Renamed from bitmap_type.
296 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
297 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
298 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
300 * inc/macterm.h: Comment fixes. Use renamed symbols.
301 (fringes_extra): Renamed from flags_areas_extra.
302 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
303 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
304 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
305 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
306 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
307 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
309 2001-10-20 Gerd Moellmann <gerd@gnu.org>
311 * (Version 21.1 released.)
313 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
315 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
316 * src/mac.c (run_mac_command): Update calls to openp.
318 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
320 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
322 * src/macterm.c: Include keymap.h.
323 (note_mode_line_highlight): Use KEYMAPP.
325 2001-10-05 Gerd Moellmann <gerd@gnu.org>
329 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
331 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
333 * src/macterm.c (XTread_socket): Read all pending events in the
334 event queue instead of one.
335 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
336 a script code of -smJapanese is specified.
337 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
339 (init_font_name_table): Use a script code of -smJapanese instead
340 of smRoman for the second entry of a Japanese font.
341 (XLoadQueryFont): Recognize a font as having the smRoman script
342 code if its encoding is jisx0201.1976-0.
344 * makefile.MPW: Generate etc/DOC file from .elc files instead of
347 * src/mac.c (stat): Don't fail for aliases.
348 (sys_open) [__MRC__]: Set file creator and type for newly-created
350 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
351 elapsed instead of use WaitNextEvent call as a delay.
353 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
355 * src/macterm.c (init_font_name_table): Add an additional entry to
356 the font table with the script code smRoman for each Apple
358 (XLoadQueryFont): Recognize a font as having the smRoman script
359 code even when FontToScript returns smJapanese if it is one of
362 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
364 * INSTALL: Add to the note on using -opt speed in MPW the function
365 macterm.c (x_draw_hollow_cursor).
367 * src/macterm.c (mac_scroll_area): Call CopyBits with local
368 coordinates and portBits instead of global coordinates and
369 screenBits. Set fore color and back color to black and white,
370 respectively, before calling CopyBits.
372 * src/macterm.c (local_to_global_coord): Comment out.
374 * src/mac.c (mac-filename-to-unix): Change to
375 mac-file-name-to-posix.
376 (unix-filename-to-mac): Change to posix-file-name-to-mac.
377 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
378 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
380 * src/macterm.c (do_ae_open_documents): Change call to
381 mac_to_unix_pathname to mac_to_posix_pathname.
383 2001-07-26 Andrew Choi <akochoi@i-cable.com>
385 * inc/macterm.h (x_display_list): Declare extern.
387 2001-07-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
389 * src/macterm.c (xim_open_dpy): Fix typo.
391 2001-06-26 Andrew Choi <akochoi@i-cable.com>
393 * README: Change references to SourceForge site to
394 ftp://ftp.gnu.org/gnu/mac/emacs/.
396 2001-05-15 Gerd Moellmann <gerd@gnu.org>
398 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
400 2001-05-15 Andrew Choi <akochoi@i-cable.com>
402 * src/Emacs.r: Change About box message.
404 * makefile.MPW: Add md5.c.x to EmacsObjects.
406 * src/mac.c (select): Call WaitNextEvent instead of Delay.
410 * src/macterm.c (do_app_resume): Set cursor to arrow.
411 (clear_mouse_face): check for NIL Lisp object instead of null
414 * INSTALL: Delete note on compiling Lisp files on a Unix system.
415 Add note on turning off end of line conversion.
417 2001-02-27 Andrew Choi <akochoi@i-cable.com>
419 * src/macfns.c: Rename everything containing *busy_cursor* and
420 similar to *hourglass*.
421 Change IMAGE_POSITIVE_INTEGER_VALUE to
422 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
423 (x_set_font): If font hasn't changed, avoid recomputing faces and
424 other things, as in xfns.c.
425 (Qcancel_timer): New variable.
426 (syms_of_macfns): Rename x-busy-pointer-shape to
427 x-hourglass-pointer-shape, display-busy-cursor to
428 display-hourglass, busy-cursor-delay to hourglass-delay, as in
430 (x_set_tool_bar_lines): Modify as in xfns.c
431 (x_change_window_heights): New function.
433 * inc/macterm.h (struct x_output): Rename busy_cursor to
434 hourglass_cursor, busy_window to hourglass_window, busy_p to
435 hourglass_p, as in xterm.h.
437 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
438 safe_run_hooks, as in xmenu.c.
440 * src/macterm.c (do_check_ram_size): New function.
442 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
445 2001-02-20 Andrew Choi <akochoi@i-cable.com>
452 * mac/inc/defs-cw5.h:
453 * mac/inc/defs-cw6.h: Added copyright notice.
455 2001-01-28 Andrew Choi <akochoi@i-cable.com>
457 * src/macterm.c (mac_font_pattern_match): Allocate three more
458 bytes to regex for '^', '$', and '\0'.
460 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
463 * src/macfns.c (QCconversion): Replaces QCalgorithm.
465 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
468 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
469 (x_draw_image_relief, x_draw_image_foreground_1)
470 (x_draw_image_glyph_string): Adapt to change of image margins.
472 * src/macterm.c (mac_to_x_fontname): Change charset name of
473 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
474 from ksc5601 to ksc5601.1989.
476 2000-12-12 Andrew Choi <akochoi@i-cable.com>
478 * cw5-mcp.xml: add md5.c to project.
480 * cw6-mcp.xml: add md5.c to project.
482 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
483 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
485 2000-11-26 Andrew Choi <akochoi@i-cable.com>
487 * src/macterm.c (x_handle_tool_bar_click):
488 (note_tool_bar_highlight): change references to members deleted
489 from struct frame as in xterm.c.
491 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
494 2000-10-25 Andrew Choi <akochoi@i-cable.com>
496 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
498 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
500 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
502 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
504 2000-10-24 Andrew Choi <akochoi@i-cable.com>
506 * src/macterm.c (XTread_socket): check whether Lisp variable
507 mac-ready-for-drag-n-drop is bound rather than non-nil value.
509 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
517 * emacs-cw5.mcp.xml: New file.
519 * emacs-cw6.mcp.xml: New file.
521 * makefile.MPW: New file.
523 * inc/alloca.h: New file.
525 * inc/cmdline-defs-cw5.h: New file.
527 * inc/cmdline-defs-cw6.h: New file.
529 * inc/config.h: New file.
531 * inc/dirent.h: New file.
533 * inc/epaths.h: New file.
535 * inc/m-mac.h: New file.
537 * inc/macgui.h: New file.
539 * inc/macterm.h: New file.
541 * inc/pwd.h: New file.
543 * inc/s-mac.h: New file.
545 * inc/termio.h: New file.
547 * inc/utime.h: New file.
549 * inc/utsname.h: New file.
551 * inc/sys/file.h: New file.
553 * inc/sys/ioctl.h: New file.
555 * inc/sys/param.h: New file.
557 * inc/sys/stat.h: New file.
559 * inc/sys/time.h: New file.
561 * inc/sys/types.h: New file.
563 * src/Emacs.r: New file.
565 * src/EmacsMPW.r: New file.
567 * src/chdir.c: New file.
569 * src/mac.c: New file.
571 * src/macfns.c: New file.
573 * src/macmenu.c: New file.
575 * src/macterm.c: New file.
578 ;; coding: iso-2022-7bit-unix
581 Copyright (C) 2001 Free Software Foundation, Inc.
582 Copying and distribution of this file, with or without modification,
583 are permitted provided the copyright notice and this notice are preserved.