1 2003-04-04 Steven Tamm <steventamm@mac.com>
3 * make-package: Place libexec executables directly under the
4 Contents/MacOS/libexec if the application is self-contained
6 2003-04-01 Kim F. Storm <storm@cua.dk>
8 * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
9 (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
11 2003-03-21 Kim F. Storm <storm@cua.dk>
13 * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
14 files included from it. Add dependency on keymap.h.
16 2003-01-14 Steven Tamm <steventamm@mac.com>
18 * make-package: Fixed problem where the building without
19 specifying build directory fails.
21 2003-01-07 Steven Tamm <steventamm@mac.com>
23 * INSTALL: Added documentation about --enable-carbon-app and
24 changed documentation concerning Emacs.app location
25 Removed some of the documentation about make-package that isn't
27 Changed comment about requiring root permission to install to
28 saying that it might be necessary depending on where you install
29 Refered to /usr caveat in more places
30 * make-package (make_options): Use new carbon_appdir option to
31 specify directory to install Application and lets the makefile
34 2003-01-01 Steven Tamm <steventamm@mac.com>
36 * make-package: Now copies License and ReadMe files into the
37 Resources directory. Reduces overhead size when creating
40 2002-12-29 Steven Tamm <steventamm@mac.com>
42 * make-package: Defaults to building the source tree in a
43 separate directory. Use the new option --build-in-place to
44 have old behavior. Added new option --build-dir to specify the
47 2002-12-27 Steven Tamm <steventamm@mac.com>
49 * make-package: Fix typo where tmpparent was used instead of
50 tempparent for calculating installedSize and compressedSize.
52 2002-12-10 Andreas Schwab <schwab@suse.de>
54 * make-package: Fix syntax for find.
56 2002-12-08 Steven Tamm <steventamm@mac.com>
58 * INSTALL: Added description about make-package.
60 * make-package: Fixed --self-contained option to place the
61 directories in the correct locations for
62 init_mac_osx_environment and use hardlink by default for the
63 application. Script fails with invalid option.
65 2002-12-02 Andrew Choi <akochoi@shaw.ca>
67 * make-bin-dist, osx-install: Remove.
69 * INSTALL: Remove description of make-bin-dist and osx-install.
71 2002-12-02 Steven Tamm <steventamm@mac.com>
73 * make-package (installprefix): Switched copying of .el files
74 to be on by default. Removed symlink for emacs -> emacs-version.
76 2002-11-30 Steven Tamm <steventamm@mac.com>
78 * make-package: Now compresses .pax file instead of entire disk
79 image to reduce installer size on disk. Also added code to
80 create compressed disk image in the future.
82 No longer copies .el files that have been compiled by default.
83 Use --full-dist option to include them.
85 Option --symlink added to reduce disk size by making
86 /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
87 symlinks to the emacs-[version] binary.
89 Option --self-contained added to place files shared files
90 inside the Emacs.app executable (for portability between systems)
92 Added hidden debugging option --keep-dir to keep temporary install
93 directory (emacs-[version]) around after running script
95 * README: Removed comment about mouse-2 & -3 not working (it does).
97 2002-10-14 Andreas Schwab <schwab@suse.de>
99 * make-package: Fix syntax for find.
101 2002-10-08 Steven Tamm <steventamm@mac.com>
103 * make-package: Added ability to pass command line options
104 through to make and configure (-m, & -c,).
105 Added option to not copy Application into installer, the default
106 for X11 builds. Does not copy CVS directories into installer.
107 Clarified some of the usage notes.
109 2002-10-07 Steven Tamm <steventamm@mac.com>
111 * make-package: Now calls make bootstrap if .elc files are missing.
113 2002-08-27 Andrew Choi <akochoi@shaw.ca>
115 * INSTALL: Add information on starting Emacs as a GUI application
118 2002-08-15 Andrew Choi <akochoi@shaw.ca>
120 * INSTALL: Add instructions for building Carbon version on Macs
121 with X Window installed.
123 2002-07-31 Andrew Choi <akochoi@shaw.ca>
125 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
126 change creator code from ???? to EMAx.
128 * INSTALL: Add instructions for building X Window version.
130 2002-07-11 Andrew Choi <akochoi@shaw.ca>
132 * make-package: Change -a option to -R for cp command.
134 2002-07-05 Andrew Choi <akochoi@shaw.ca>
136 * make-package: Add ability to handle options --help, --prefix,
137 --no-conf, and --with-x.
139 2002-07-04 Andrew Choi <akochoi@shaw.ca>
141 * make-package: New file.
143 2002-07-01 Andrew Choi <akochoi@shaw.ca>
145 * Emacs.app/Contents/Resources/Emacs.icns: New file.
147 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
148 CFBundleIconFile entries.
150 2002-04-13 Andrew Choi <akochoi@shaw.ca>
152 * Emacs.app/Contents/Info.plist: New file.
154 * Emacs.app/Contents/PkgInfo: New file.
156 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
159 * cw5-mcp.xml: Remove file.
161 * inc/defs-cw5.h: Remove file.
163 * cw6-mcp.xml: Update with new version.
165 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
166 of constant CODEWARRIOR_VERSION_6.
171 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
173 * src/Carbon.r: New File.
175 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
176 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
177 macterm.h. Generate DOC from .el instead of .elc versions of
178 files listed in DONTCOMPILE in lisp/Makefile.in.
180 * INSTALL: Add installation instructions for Mac OS X.
182 * README: Add information for Mac OS X.
184 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
185 src/macterm.c, inc/macterm.h: Remove from here and move to src.
187 2002-04-12 Andrew Choi <akochoi@shaw.ca>
189 * src/mac.c (select): Under Carbon, always return true so
190 XTread_socket is called to poll input.
191 (run_mac_command): Not implemented under Carbon.
192 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
194 (do_applescript): Use Carbon routines AEGetDescDatASize and
196 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
197 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
198 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
199 GetCurrentScrap, and PutScrapFlavor.
200 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
203 * src/macfns.c: Synchronize with changes in w32fns.c.
204 [MAC_OSX]: Include Carbon headers.
205 (x_real_positions): Use Carbon routine GetWindowPortBounds.
206 (x_set_scroll_bar_width): Set width of scroll bar to 16.
207 (x_make_gc): Remove static qualifier.
209 * src/macmenu.c: Synchronize with changes in w32menu.c.
210 [MAC_OSX]: Include Carbon headers.
211 (set_frame_menubar): Check equality of vector representation of
212 scroll bars using Fequal instead of EQ.
213 (mac_menu_show): Use Carbon routine GetWindowPort.
214 (mac_dialog): Likewise.
215 (add_menu_item): Use Carbon routines CountMenuItems,
216 EnableMenuItem, and DisableMenuItem.
218 * src/macterm.c: Synchronize with changes in w32term.c.
219 [MAC_OSX]: Include Carbon headers.
220 (XDrawLine): Use Carbon routine GetWindowPort.
221 (XClearArea): Likewise.
222 (XClearWindow): Use Carbon routines GetWindowPort and
224 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
226 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
227 (mac_reset_clipping): Use Carbon routine GetWindowPort.
228 (XFillRectangle): Likewise.
229 (mac_draw_rectangle): Likewise.
230 (mac_draw_rectangle_to_pixmap): Likewise.
231 (mac_draw_string_common): Likewise.
232 (mac_copy_area): Use Carbon routines GetWindowPort and
234 (mac_scroll_area): Use Carbon routines GetWindowPort and
235 GetQDGlobalsScreenBits.
236 (x_flush): Call Carbon routine QDFlushPortBuffer.
237 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
238 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
239 (x_draw_image_glyph_string): Likewise.
240 (x_draw_stretch_glyph_string): Likewise.
241 (construct_mouse_click): Call Carbon routine GetWindowPort.
242 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
243 (XTmouse_position): Call Carbon routine GetWindowPort.
244 (x_scroll_bar_create): Create scroll bar with proc
245 kControlScrollBarProc.
246 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
247 (activate_scroll_bar): Call ActivateControl instead of
249 (deactivate_scroll_bar): Call DeactivateControl instead of
251 (x_scroll_bar_handle_click): Use default case for scroll
253 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
254 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
256 (init_font_name_table): Call Carbon Font Manager routines to
257 iterate through all fonts.
258 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
259 GetPortTextSize, and GetPortTextFace.
260 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
261 (is_emacs_window): New function to filter out non-Emacs windows
262 passed back by WaitNextEvent.
263 (do_mouse_moved): Call Carbon routine GetWindowPort.
264 (do_apple_menu): No apple menu handler under Carbon.
265 (do_zoom_window): Call Carbon routines GetWindowPort,
266 GetQDGlobalsScreenBits, SetWindowStandardState, and
268 (init_required_apple_events): Use UPP procedure type converter.
269 (main): Don't define for Carbon version.
270 (XTread_socket): Don't check interrupt_input_blocked. Don't call
271 check_alarm. Call Carbon routines GetWindowPort,
272 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
273 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
274 routine GetWindowPort.
275 (mac_initialize): Rename from x_initialize. Use new Doc string
278 * inc/macterm.h: Synchronize with changes in w32term.h.
280 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
283 2002-01-28 Kim F. Storm <storm@cua.dk>
285 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
286 cursor row is invisible. This can happen if cursor is on top line
287 of a window, and we switch to a buffer with a header line.
289 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
291 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
293 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
295 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
296 frame parameter have a numeric value all the time.
298 2001-12-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
302 2001-12-06 Kim F. Storm <storm@cua.dk>
304 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
306 2001-12-01 Kim F. Storm <storm@cua.dk>
308 The following changes add left-fringe and right-fringe
309 frame parameters to adjust fringe widths, or remove one or
310 both fringes. See ../src/ChangeLog for details.
312 * inc/macterm.h: Merged changes from xterm.h.
313 * src/macterm.c: Merged changes from xterm.c.
314 * src/macfns.c: Merged changes from xfns.c.
316 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
318 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
320 2001-11-16 Kim F. Storm <storm@cua.dk>
322 The following changes are made to clean up the various internal
323 references to the fringes to actually use the term `fringe'.
325 * src/macfns.c: Use renamed symbols.
327 * src/macterm.c: Comment fixes. Use renamed symbols.
328 (fringe_bitmap_type): Renamed from bitmap_type.
329 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
330 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
331 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
333 * inc/macterm.h: Comment fixes. Use renamed symbols.
334 (fringes_extra): Renamed from flags_areas_extra.
335 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
336 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
337 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
338 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
339 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
340 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
342 2001-10-20 Gerd Moellmann <gerd@gnu.org>
344 * (Version 21.1 released.)
346 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
348 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
349 * src/mac.c (run_mac_command): Update calls to openp.
351 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
353 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
355 * src/macterm.c: Include keymap.h.
356 (note_mode_line_highlight): Use KEYMAPP.
358 2001-10-05 Gerd Moellmann <gerd@gnu.org>
362 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
364 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
366 * src/macterm.c (XTread_socket): Read all pending events in the
367 event queue instead of one.
368 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
369 a script code of -smJapanese is specified.
370 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
372 (init_font_name_table): Use a script code of -smJapanese instead
373 of smRoman for the second entry of a Japanese font.
374 (XLoadQueryFont): Recognize a font as having the smRoman script
375 code if its encoding is jisx0201.1976-0.
377 * makefile.MPW: Generate etc/DOC file from .elc files instead of
380 * src/mac.c (stat): Don't fail for aliases.
381 (sys_open) [__MRC__]: Set file creator and type for newly-created
383 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
384 elapsed instead of use WaitNextEvent call as a delay.
386 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
388 * src/macterm.c (init_font_name_table): Add an additional entry to
389 the font table with the script code smRoman for each Apple
391 (XLoadQueryFont): Recognize a font as having the smRoman script
392 code even when FontToScript returns smJapanese if it is one of
395 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
397 * INSTALL: Add to the note on using -opt speed in MPW the function
398 macterm.c (x_draw_hollow_cursor).
400 * src/macterm.c (mac_scroll_area): Call CopyBits with local
401 coordinates and portBits instead of global coordinates and
402 screenBits. Set fore color and back color to black and white,
403 respectively, before calling CopyBits.
405 * src/macterm.c (local_to_global_coord): Comment out.
407 * src/mac.c (mac-filename-to-unix): Change to
408 mac-file-name-to-posix.
409 (unix-filename-to-mac): Change to posix-file-name-to-mac.
410 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
411 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
413 * src/macterm.c (do_ae_open_documents): Change call to
414 mac_to_unix_pathname to mac_to_posix_pathname.
416 2001-07-26 Andrew Choi <akochoi@i-cable.com>
418 * inc/macterm.h (x_display_list): Declare extern.
420 2001-07-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
422 * src/macterm.c (xim_open_dpy): Fix typo.
424 2001-06-26 Andrew Choi <akochoi@i-cable.com>
426 * README: Change references to SourceForge site to
427 ftp://ftp.gnu.org/gnu/mac/emacs/.
429 2001-05-15 Gerd Moellmann <gerd@gnu.org>
431 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
433 2001-05-15 Andrew Choi <akochoi@i-cable.com>
435 * src/Emacs.r: Change About box message.
437 * makefile.MPW: Add md5.c.x to EmacsObjects.
439 * src/mac.c (select): Call WaitNextEvent instead of Delay.
443 * src/macterm.c (do_app_resume): Set cursor to arrow.
444 (clear_mouse_face): check for NIL Lisp object instead of null
447 * INSTALL: Delete note on compiling Lisp files on a Unix system.
448 Add note on turning off end of line conversion.
450 2001-02-27 Andrew Choi <akochoi@i-cable.com>
452 * src/macfns.c: Rename everything containing *busy_cursor* and
453 similar to *hourglass*.
454 Change IMAGE_POSITIVE_INTEGER_VALUE to
455 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
456 (x_set_font): If font hasn't changed, avoid recomputing faces and
457 other things, as in xfns.c.
458 (Qcancel_timer): New variable.
459 (syms_of_macfns): Rename x-busy-pointer-shape to
460 x-hourglass-pointer-shape, display-busy-cursor to
461 display-hourglass, busy-cursor-delay to hourglass-delay, as in
463 (x_set_tool_bar_lines): Modify as in xfns.c
464 (x_change_window_heights): New function.
466 * inc/macterm.h (struct x_output): Rename busy_cursor to
467 hourglass_cursor, busy_window to hourglass_window, busy_p to
468 hourglass_p, as in xterm.h.
470 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
471 safe_run_hooks, as in xmenu.c.
473 * src/macterm.c (do_check_ram_size): New function.
475 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
478 2001-02-20 Andrew Choi <akochoi@i-cable.com>
485 * mac/inc/defs-cw5.h:
486 * mac/inc/defs-cw6.h: Added copyright notice.
488 2001-01-28 Andrew Choi <akochoi@i-cable.com>
490 * src/macterm.c (mac_font_pattern_match): Allocate three more
491 bytes to regex for '^', '$', and '\0'.
493 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
496 * src/macfns.c (QCconversion): Replaces QCalgorithm.
498 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
501 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
502 (x_draw_image_relief, x_draw_image_foreground_1)
503 (x_draw_image_glyph_string): Adapt to change of image margins.
505 * src/macterm.c (mac_to_x_fontname): Change charset name of
506 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
507 from ksc5601 to ksc5601.1989.
509 2000-12-12 Andrew Choi <akochoi@i-cable.com>
511 * cw5-mcp.xml: add md5.c to project.
513 * cw6-mcp.xml: add md5.c to project.
515 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
516 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
518 2000-11-26 Andrew Choi <akochoi@i-cable.com>
520 * src/macterm.c (x_handle_tool_bar_click):
521 (note_tool_bar_highlight): change references to members deleted
522 from struct frame as in xterm.c.
524 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
527 2000-10-25 Andrew Choi <akochoi@i-cable.com>
529 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
531 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
533 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
535 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
537 2000-10-24 Andrew Choi <akochoi@i-cable.com>
539 * src/macterm.c (XTread_socket): check whether Lisp variable
540 mac-ready-for-drag-n-drop is bound rather than non-nil value.
542 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
550 * emacs-cw5.mcp.xml: New file.
552 * emacs-cw6.mcp.xml: New file.
554 * makefile.MPW: New file.
556 * inc/alloca.h: New file.
558 * inc/cmdline-defs-cw5.h: New file.
560 * inc/cmdline-defs-cw6.h: New file.
562 * inc/config.h: New file.
564 * inc/dirent.h: New file.
566 * inc/epaths.h: New file.
568 * inc/m-mac.h: New file.
570 * inc/macgui.h: New file.
572 * inc/macterm.h: New file.
574 * inc/pwd.h: New file.
576 * inc/s-mac.h: New file.
578 * inc/termio.h: New file.
580 * inc/utime.h: New file.
582 * inc/utsname.h: New file.
584 * inc/sys/file.h: New file.
586 * inc/sys/ioctl.h: New file.
588 * inc/sys/param.h: New file.
590 * inc/sys/stat.h: New file.
592 * inc/sys/time.h: New file.
594 * inc/sys/types.h: New file.
596 * src/Emacs.r: New file.
598 * src/EmacsMPW.r: New file.
600 * src/chdir.c: New file.
602 * src/mac.c: New file.
604 * src/macfns.c: New file.
606 * src/macmenu.c: New file.
608 * src/macterm.c: New file.
611 ;; coding: iso-2022-7bit-unix
614 Copyright (C) 2001 Free Software Foundation, Inc.
615 Copying and distribution of this file, with or without modification,
616 are permitted provided the copyright notice and this notice are preserved.