1 2003-04-28 Andrew Choi <akochoi@shaw.ca>
3 * make-package: Allocate 5% extra space on disk image for
4 directories and partition tables.
6 2003-04-04 Steven Tamm <steventamm@mac.com>
8 * make-package: Place libexec executables directly under the
9 Contents/MacOS/libexec if the application is self-contained
11 2003-04-01 Kim F. Storm <storm@cua.dk>
13 * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
14 (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
16 2003-03-21 Kim F. Storm <storm@cua.dk>
18 * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
19 files included from it. Add dependency on keymap.h.
21 2003-01-14 Steven Tamm <steventamm@mac.com>
23 * make-package: Fixed problem where the building without
24 specifying build directory fails.
26 2003-01-07 Steven Tamm <steventamm@mac.com>
28 * INSTALL: Added documentation about --enable-carbon-app and
29 changed documentation concerning Emacs.app location
30 Removed some of the documentation about make-package that isn't
32 Changed comment about requiring root permission to install to
33 saying that it might be necessary depending on where you install
34 Refered to /usr caveat in more places
35 * make-package (make_options): Use new carbon_appdir option to
36 specify directory to install Application and lets the makefile
39 2003-01-01 Steven Tamm <steventamm@mac.com>
41 * make-package: Now copies License and ReadMe files into the
42 Resources directory. Reduces overhead size when creating
45 2002-12-29 Steven Tamm <steventamm@mac.com>
47 * make-package: Defaults to building the source tree in a
48 separate directory. Use the new option --build-in-place to
49 have old behavior. Added new option --build-dir to specify the
52 2002-12-27 Steven Tamm <steventamm@mac.com>
54 * make-package: Fix typo where tmpparent was used instead of
55 tempparent for calculating installedSize and compressedSize.
57 2002-12-10 Andreas Schwab <schwab@suse.de>
59 * make-package: Fix syntax for find.
61 2002-12-08 Steven Tamm <steventamm@mac.com>
63 * INSTALL: Added description about make-package.
65 * make-package: Fixed --self-contained option to place the
66 directories in the correct locations for
67 init_mac_osx_environment and use hardlink by default for the
68 application. Script fails with invalid option.
70 2002-12-02 Andrew Choi <akochoi@shaw.ca>
72 * make-bin-dist, osx-install: Remove.
74 * INSTALL: Remove description of make-bin-dist and osx-install.
76 2002-12-02 Steven Tamm <steventamm@mac.com>
78 * make-package (installprefix): Switched copying of .el files
79 to be on by default. Removed symlink for emacs -> emacs-version.
81 2002-11-30 Steven Tamm <steventamm@mac.com>
83 * make-package: Now compresses .pax file instead of entire disk
84 image to reduce installer size on disk. Also added code to
85 create compressed disk image in the future.
87 No longer copies .el files that have been compiled by default.
88 Use --full-dist option to include them.
90 Option --symlink added to reduce disk size by making
91 /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
92 symlinks to the emacs-[version] binary.
94 Option --self-contained added to place files shared files
95 inside the Emacs.app executable (for portability between systems)
97 Added hidden debugging option --keep-dir to keep temporary install
98 directory (emacs-[version]) around after running script
100 * README: Removed comment about mouse-2 & -3 not working (it does).
102 2002-10-14 Andreas Schwab <schwab@suse.de>
104 * make-package: Fix syntax for find.
106 2002-10-08 Steven Tamm <steventamm@mac.com>
108 * make-package: Added ability to pass command line options
109 through to make and configure (-m, & -c,).
110 Added option to not copy Application into installer, the default
111 for X11 builds. Does not copy CVS directories into installer.
112 Clarified some of the usage notes.
114 2002-10-07 Steven Tamm <steventamm@mac.com>
116 * make-package: Now calls make bootstrap if .elc files are missing.
118 2002-08-27 Andrew Choi <akochoi@shaw.ca>
120 * INSTALL: Add information on starting Emacs as a GUI application
123 2002-08-15 Andrew Choi <akochoi@shaw.ca>
125 * INSTALL: Add instructions for building Carbon version on Macs
126 with X Window installed.
128 2002-07-31 Andrew Choi <akochoi@shaw.ca>
130 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
131 change creator code from ???? to EMAx.
133 * INSTALL: Add instructions for building X Window version.
135 2002-07-11 Andrew Choi <akochoi@shaw.ca>
137 * make-package: Change -a option to -R for cp command.
139 2002-07-05 Andrew Choi <akochoi@shaw.ca>
141 * make-package: Add ability to handle options --help, --prefix,
142 --no-conf, and --with-x.
144 2002-07-04 Andrew Choi <akochoi@shaw.ca>
146 * make-package: New file.
148 2002-07-01 Andrew Choi <akochoi@shaw.ca>
150 * Emacs.app/Contents/Resources/Emacs.icns: New file.
152 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
153 CFBundleIconFile entries.
155 2002-04-13 Andrew Choi <akochoi@shaw.ca>
157 * Emacs.app/Contents/Info.plist: New file.
159 * Emacs.app/Contents/PkgInfo: New file.
161 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
164 * cw5-mcp.xml: Remove file.
166 * inc/defs-cw5.h: Remove file.
168 * cw6-mcp.xml: Update with new version.
170 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
171 of constant CODEWARRIOR_VERSION_6.
176 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
178 * src/Carbon.r: New File.
180 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
181 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
182 macterm.h. Generate DOC from .el instead of .elc versions of
183 files listed in DONTCOMPILE in lisp/Makefile.in.
185 * INSTALL: Add installation instructions for Mac OS X.
187 * README: Add information for Mac OS X.
189 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
190 src/macterm.c, inc/macterm.h: Remove from here and move to src.
192 2002-04-12 Andrew Choi <akochoi@shaw.ca>
194 * src/mac.c (select): Under Carbon, always return true so
195 XTread_socket is called to poll input.
196 (run_mac_command): Not implemented under Carbon.
197 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
199 (do_applescript): Use Carbon routines AEGetDescDatASize and
201 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
202 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
203 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
204 GetCurrentScrap, and PutScrapFlavor.
205 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
208 * src/macfns.c: Synchronize with changes in w32fns.c.
209 [MAC_OSX]: Include Carbon headers.
210 (x_real_positions): Use Carbon routine GetWindowPortBounds.
211 (x_set_scroll_bar_width): Set width of scroll bar to 16.
212 (x_make_gc): Remove static qualifier.
214 * src/macmenu.c: Synchronize with changes in w32menu.c.
215 [MAC_OSX]: Include Carbon headers.
216 (set_frame_menubar): Check equality of vector representation of
217 scroll bars using Fequal instead of EQ.
218 (mac_menu_show): Use Carbon routine GetWindowPort.
219 (mac_dialog): Likewise.
220 (add_menu_item): Use Carbon routines CountMenuItems,
221 EnableMenuItem, and DisableMenuItem.
223 * src/macterm.c: Synchronize with changes in w32term.c.
224 [MAC_OSX]: Include Carbon headers.
225 (XDrawLine): Use Carbon routine GetWindowPort.
226 (XClearArea): Likewise.
227 (XClearWindow): Use Carbon routines GetWindowPort and
229 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
231 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
232 (mac_reset_clipping): Use Carbon routine GetWindowPort.
233 (XFillRectangle): Likewise.
234 (mac_draw_rectangle): Likewise.
235 (mac_draw_rectangle_to_pixmap): Likewise.
236 (mac_draw_string_common): Likewise.
237 (mac_copy_area): Use Carbon routines GetWindowPort and
239 (mac_scroll_area): Use Carbon routines GetWindowPort and
240 GetQDGlobalsScreenBits.
241 (x_flush): Call Carbon routine QDFlushPortBuffer.
242 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
243 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
244 (x_draw_image_glyph_string): Likewise.
245 (x_draw_stretch_glyph_string): Likewise.
246 (construct_mouse_click): Call Carbon routine GetWindowPort.
247 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
248 (XTmouse_position): Call Carbon routine GetWindowPort.
249 (x_scroll_bar_create): Create scroll bar with proc
250 kControlScrollBarProc.
251 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
252 (activate_scroll_bar): Call ActivateControl instead of
254 (deactivate_scroll_bar): Call DeactivateControl instead of
256 (x_scroll_bar_handle_click): Use default case for scroll
258 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
259 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
261 (init_font_name_table): Call Carbon Font Manager routines to
262 iterate through all fonts.
263 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
264 GetPortTextSize, and GetPortTextFace.
265 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
266 (is_emacs_window): New function to filter out non-Emacs windows
267 passed back by WaitNextEvent.
268 (do_mouse_moved): Call Carbon routine GetWindowPort.
269 (do_apple_menu): No apple menu handler under Carbon.
270 (do_zoom_window): Call Carbon routines GetWindowPort,
271 GetQDGlobalsScreenBits, SetWindowStandardState, and
273 (init_required_apple_events): Use UPP procedure type converter.
274 (main): Don't define for Carbon version.
275 (XTread_socket): Don't check interrupt_input_blocked. Don't call
276 check_alarm. Call Carbon routines GetWindowPort,
277 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
278 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
279 routine GetWindowPort.
280 (mac_initialize): Rename from x_initialize. Use new Doc string
283 * inc/macterm.h: Synchronize with changes in w32term.h.
285 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
288 2002-01-28 Kim F. Storm <storm@cua.dk>
290 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
291 cursor row is invisible. This can happen if cursor is on top line
292 of a window, and we switch to a buffer with a header line.
294 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
296 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
298 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
300 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
301 frame parameter have a numeric value all the time.
303 2001-12-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
307 2001-12-06 Kim F. Storm <storm@cua.dk>
309 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
311 2001-12-01 Kim F. Storm <storm@cua.dk>
313 The following changes add left-fringe and right-fringe
314 frame parameters to adjust fringe widths, or remove one or
315 both fringes. See ../src/ChangeLog for details.
317 * inc/macterm.h: Merged changes from xterm.h.
318 * src/macterm.c: Merged changes from xterm.c.
319 * src/macfns.c: Merged changes from xfns.c.
321 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
323 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
325 2001-11-16 Kim F. Storm <storm@cua.dk>
327 The following changes are made to clean up the various internal
328 references to the fringes to actually use the term `fringe'.
330 * src/macfns.c: Use renamed symbols.
332 * src/macterm.c: Comment fixes. Use renamed symbols.
333 (fringe_bitmap_type): Renamed from bitmap_type.
334 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
335 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
336 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
338 * inc/macterm.h: Comment fixes. Use renamed symbols.
339 (fringes_extra): Renamed from flags_areas_extra.
340 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
341 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
342 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
343 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
344 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
345 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
347 2001-10-20 Gerd Moellmann <gerd@gnu.org>
349 * (Version 21.1 released.)
351 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
353 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
354 * src/mac.c (run_mac_command): Update calls to openp.
356 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
358 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
360 * src/macterm.c: Include keymap.h.
361 (note_mode_line_highlight): Use KEYMAPP.
363 2001-10-05 Gerd Moellmann <gerd@gnu.org>
367 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
369 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
371 * src/macterm.c (XTread_socket): Read all pending events in the
372 event queue instead of one.
373 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
374 a script code of -smJapanese is specified.
375 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
377 (init_font_name_table): Use a script code of -smJapanese instead
378 of smRoman for the second entry of a Japanese font.
379 (XLoadQueryFont): Recognize a font as having the smRoman script
380 code if its encoding is jisx0201.1976-0.
382 * makefile.MPW: Generate etc/DOC file from .elc files instead of
385 * src/mac.c (stat): Don't fail for aliases.
386 (sys_open) [__MRC__]: Set file creator and type for newly-created
388 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
389 elapsed instead of use WaitNextEvent call as a delay.
391 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
393 * src/macterm.c (init_font_name_table): Add an additional entry to
394 the font table with the script code smRoman for each Apple
396 (XLoadQueryFont): Recognize a font as having the smRoman script
397 code even when FontToScript returns smJapanese if it is one of
400 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
402 * INSTALL: Add to the note on using -opt speed in MPW the function
403 macterm.c (x_draw_hollow_cursor).
405 * src/macterm.c (mac_scroll_area): Call CopyBits with local
406 coordinates and portBits instead of global coordinates and
407 screenBits. Set fore color and back color to black and white,
408 respectively, before calling CopyBits.
410 * src/macterm.c (local_to_global_coord): Comment out.
412 * src/mac.c (mac-filename-to-unix): Change to
413 mac-file-name-to-posix.
414 (unix-filename-to-mac): Change to posix-file-name-to-mac.
415 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
416 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
418 * src/macterm.c (do_ae_open_documents): Change call to
419 mac_to_unix_pathname to mac_to_posix_pathname.
421 2001-07-26 Andrew Choi <akochoi@i-cable.com>
423 * inc/macterm.h (x_display_list): Declare extern.
425 2001-07-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
427 * src/macterm.c (xim_open_dpy): Fix typo.
429 2001-06-26 Andrew Choi <akochoi@i-cable.com>
431 * README: Change references to SourceForge site to
432 ftp://ftp.gnu.org/gnu/mac/emacs/.
434 2001-05-15 Gerd Moellmann <gerd@gnu.org>
436 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
438 2001-05-15 Andrew Choi <akochoi@i-cable.com>
440 * src/Emacs.r: Change About box message.
442 * makefile.MPW: Add md5.c.x to EmacsObjects.
444 * src/mac.c (select): Call WaitNextEvent instead of Delay.
448 * src/macterm.c (do_app_resume): Set cursor to arrow.
449 (clear_mouse_face): check for NIL Lisp object instead of null
452 * INSTALL: Delete note on compiling Lisp files on a Unix system.
453 Add note on turning off end of line conversion.
455 2001-02-27 Andrew Choi <akochoi@i-cable.com>
457 * src/macfns.c: Rename everything containing *busy_cursor* and
458 similar to *hourglass*.
459 Change IMAGE_POSITIVE_INTEGER_VALUE to
460 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
461 (x_set_font): If font hasn't changed, avoid recomputing faces and
462 other things, as in xfns.c.
463 (Qcancel_timer): New variable.
464 (syms_of_macfns): Rename x-busy-pointer-shape to
465 x-hourglass-pointer-shape, display-busy-cursor to
466 display-hourglass, busy-cursor-delay to hourglass-delay, as in
468 (x_set_tool_bar_lines): Modify as in xfns.c
469 (x_change_window_heights): New function.
471 * inc/macterm.h (struct x_output): Rename busy_cursor to
472 hourglass_cursor, busy_window to hourglass_window, busy_p to
473 hourglass_p, as in xterm.h.
475 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
476 safe_run_hooks, as in xmenu.c.
478 * src/macterm.c (do_check_ram_size): New function.
480 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
483 2001-02-20 Andrew Choi <akochoi@i-cable.com>
490 * mac/inc/defs-cw5.h:
491 * mac/inc/defs-cw6.h: Added copyright notice.
493 2001-01-28 Andrew Choi <akochoi@i-cable.com>
495 * src/macterm.c (mac_font_pattern_match): Allocate three more
496 bytes to regex for '^', '$', and '\0'.
498 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
501 * src/macfns.c (QCconversion): Replaces QCalgorithm.
503 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
506 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
507 (x_draw_image_relief, x_draw_image_foreground_1)
508 (x_draw_image_glyph_string): Adapt to change of image margins.
510 * src/macterm.c (mac_to_x_fontname): Change charset name of
511 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
512 from ksc5601 to ksc5601.1989.
514 2000-12-12 Andrew Choi <akochoi@i-cable.com>
516 * cw5-mcp.xml: add md5.c to project.
518 * cw6-mcp.xml: add md5.c to project.
520 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
521 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
523 2000-11-26 Andrew Choi <akochoi@i-cable.com>
525 * src/macterm.c (x_handle_tool_bar_click):
526 (note_tool_bar_highlight): change references to members deleted
527 from struct frame as in xterm.c.
529 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
532 2000-10-25 Andrew Choi <akochoi@i-cable.com>
534 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
536 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
538 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
540 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
542 2000-10-24 Andrew Choi <akochoi@i-cable.com>
544 * src/macterm.c (XTread_socket): check whether Lisp variable
545 mac-ready-for-drag-n-drop is bound rather than non-nil value.
547 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
555 * emacs-cw5.mcp.xml: New file.
557 * emacs-cw6.mcp.xml: New file.
559 * makefile.MPW: New file.
561 * inc/alloca.h: New file.
563 * inc/cmdline-defs-cw5.h: New file.
565 * inc/cmdline-defs-cw6.h: New file.
567 * inc/config.h: New file.
569 * inc/dirent.h: New file.
571 * inc/epaths.h: New file.
573 * inc/m-mac.h: New file.
575 * inc/macgui.h: New file.
577 * inc/macterm.h: New file.
579 * inc/pwd.h: New file.
581 * inc/s-mac.h: New file.
583 * inc/termio.h: New file.
585 * inc/utime.h: New file.
587 * inc/utsname.h: New file.
589 * inc/sys/file.h: New file.
591 * inc/sys/ioctl.h: New file.
593 * inc/sys/param.h: New file.
595 * inc/sys/stat.h: New file.
597 * inc/sys/time.h: New file.
599 * inc/sys/types.h: New file.
601 * src/Emacs.r: New file.
603 * src/EmacsMPW.r: New file.
605 * src/chdir.c: New file.
607 * src/mac.c: New file.
609 * src/macfns.c: New file.
611 * src/macmenu.c: New file.
613 * src/macterm.c: New file.
616 ;; coding: iso-2022-7bit-unix
619 Copyright (C) 2001 Free Software Foundation, Inc.
620 Copying and distribution of this file, with or without modification,
621 are permitted provided the copyright notice and this notice are preserved.