1 2002-10-14 Andreas Schwab <schwab@suse.de>
3 * make-package: Fix syntax for find.
5 2002-10-08 Steven Tamm <steventamm@mac.com>
7 * make-package: Added ability to pass command line options
8 through to make and configure (-m, & -c,).
9 Added option to not copy Application into installer, the default
10 for X11 builds. Does not copy CVS directories into installer.
11 Clarified some of the usage notes.
13 2002-10-07 Steven Tamm <steventamm@mac.com>
15 * make-package: Now calls make bootstrap if .elc files are missing
17 2002-08-27 Andrew Choi <akochoi@shaw.ca>
19 * INSTALL: Add information on starting Emacs as a GUI application
22 2002-08-15 Andrew Choi <akochoi@shaw.ca>
24 * INSTALL: Add instructions for building Carbon version on Macs
25 with X Window installed.
27 2002-07-31 Andrew Choi <akochoi@shaw.ca>
29 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
30 change creator code from ???? to EMAx.
32 * INSTALL: Add instructions for building X Window version.
34 2002-07-11 Andrew Choi <akochoi@shaw.ca>
36 * make-package: Change -a option to -R for cp command.
38 2002-07-05 Andrew Choi <akochoi@shaw.ca>
40 * make-package: Add ability to handle options --help, --prefix,
41 --no-conf, and --with-x.
43 2002-07-04 Andrew Choi <akochoi@shaw.ca>
45 * make-package: New file.
47 2002-07-01 Andrew Choi <akochoi@shaw.ca>
49 * Emacs.app/Contents/Resources/Emacs.icns: New file.
51 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
52 CFBundleIconFile entries.
54 2002-04-13 Andrew Choi <akochoi@shaw.ca>
56 * Emacs.app/Contents/Info.plist: New file.
58 * Emacs.app/Contents/PkgInfo: New file.
60 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
63 * cw5-mcp.xml: Remove file.
65 * inc/defs-cw5.h: Remove file.
67 * cw6-mcp.xml: Update with new version.
69 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
70 of constant CODEWARRIOR_VERSION_6.
75 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
77 * src/Carbon.r: New File.
79 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
80 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
81 macterm.h. Generate DOC from .el instead of .elc versions of
82 files listed in DONTCOMPILE in lisp/Makefile.in.
84 * INSTALL: Add installation instructions for Mac OS X.
86 * README: Add information for Mac OS X.
88 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
89 src/macterm.c, inc/macterm.h: Remove from here and move to src.
91 2002-04-12 Andrew Choi <akochoi@shaw.ca>
93 * src/mac.c (select): Under Carbon, always return true so
94 XTread_socket is called to poll input.
95 (run_mac_command): Not implemented under Carbon.
96 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
98 (do_applescript): Use Carbon routines AEGetDescDatASize and
100 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
101 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
102 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
103 GetCurrentScrap, and PutScrapFlavor.
104 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
107 * src/macfns.c: Synchronize with changes in w32fns.c.
108 [MAC_OSX]: Include Carbon headers.
109 (x_real_positions): Use Carbon routine GetWindowPortBounds.
110 (x_set_scroll_bar_width): Set width of scroll bar to 16.
111 (x_make_gc): Remove static qualifier.
113 * src/macmenu.c: Synchronize with changes in w32menu.c.
114 [MAC_OSX]: Include Carbon headers.
115 (set_frame_menubar): Check equality of vector representation of
116 scroll bars using Fequal instead of EQ.
117 (mac_menu_show): Use Carbon routine GetWindowPort.
118 (mac_dialog): Likewise.
119 (add_menu_item): Use Carbon routines CountMenuItems,
120 EnableMenuItem, and DisableMenuItem.
122 * src/macterm.c: Synchronize with changes in w32term.c.
123 [MAC_OSX]: Include Carbon headers.
124 (XDrawLine): Use Carbon routine GetWindowPort.
125 (XClearArea): Likewise.
126 (XClearWindow): Use Carbon routines GetWindowPort and
128 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
130 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
131 (mac_reset_clipping): Use Carbon routine GetWindowPort.
132 (XFillRectangle): Likewise.
133 (mac_draw_rectangle): Likewise.
134 (mac_draw_rectangle_to_pixmap): Likewise.
135 (mac_draw_string_common): Likewise.
136 (mac_copy_area): Use Carbon routines GetWindowPort and
138 (mac_scroll_area): Use Carbon routines GetWindowPort and
139 GetQDGlobalsScreenBits.
140 (x_flush): Call Carbon routine QDFlushPortBuffer.
141 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
142 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
143 (x_draw_image_glyph_string): Likewise.
144 (x_draw_stretch_glyph_string): Likewise.
145 (construct_mouse_click): Call Carbon routine GetWindowPort.
146 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
147 (XTmouse_position): Call Carbon routine GetWindowPort.
148 (x_scroll_bar_create): Create scroll bar with proc
149 kControlScrollBarProc.
150 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
151 (activate_scroll_bar): Call ActivateControl instead of
153 (deactivate_scroll_bar): Call DeactivateControl instead of
155 (x_scroll_bar_handle_click): Use default case for scroll
157 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
158 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
160 (init_font_name_table): Call Carbon Font Manager routines to
161 iterate through all fonts.
162 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
163 GetPortTextSize, and GetPortTextFace.
164 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
165 (is_emacs_window): New function to filter out non-Emacs windows
166 passed back by WaitNextEvent.
167 (do_mouse_moved): Call Carbon routine GetWindowPort.
168 (do_apple_menu): No apple menu handler under Carbon.
169 (do_zoom_window): Call Carbon routines GetWindowPort,
170 GetQDGlobalsScreenBits, SetWindowStandardState, and
172 (init_required_apple_events): Use UPP procedure type converter.
173 (main): Don't define for Carbon version.
174 (XTread_socket): Don't check interrupt_input_blocked. Don't call
175 check_alarm. Call Carbon routines GetWindowPort,
176 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
177 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
178 routine GetWindowPort.
179 (mac_initialize): Rename from x_initialize. Use new Doc string
182 * inc/macterm.h: Synchronize with changes in w32term.h.
184 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
187 2002-01-28 Kim F. Storm <storm@cua.dk>
189 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
190 cursor row is invisible. This can happen if cursor is on top line
191 of a window, and we switch to a buffer with a header line.
193 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
195 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
197 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
199 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
200 frame parameter have a numeric value all the time.
202 2001-12-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
206 2001-12-06 Kim F. Storm <storm@cua.dk>
208 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
210 2001-12-01 Kim F. Storm <storm@cua.dk>
212 The following changes add left-fringe and right-fringe
213 frame parameters to adjust fringe widths, or remove one or
214 both fringes. See ../src/ChangeLog for details.
216 * inc/macterm.h: Merged changes from xterm.h.
217 * src/macterm.c: Merged changes from xterm.c.
218 * src/macfns.c: Merged changes from xfns.c.
220 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
222 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
224 2001-11-16 Kim F. Storm <storm@cua.dk>
226 The following changes are made to clean up the various internal
227 references to the fringes to actually use the term `fringe'.
229 * src/macfns.c: Use renamed symbols.
231 * src/macterm.c: Comment fixes. Use renamed symbols.
232 (fringe_bitmap_type): Renamed from bitmap_type.
233 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
234 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
235 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
237 * inc/macterm.h: Comment fixes. Use renamed symbols.
238 (fringes_extra): Renamed from flags_areas_extra.
239 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
240 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
241 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
242 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
243 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
244 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
246 2001-10-20 Gerd Moellmann <gerd@gnu.org>
248 * (Version 21.1 released.)
250 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
252 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
253 * src/mac.c (run_mac_command): Update calls to openp.
255 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
257 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
259 * src/macterm.c: Include keymap.h.
260 (note_mode_line_highlight): Use KEYMAPP.
262 2001-10-05 Gerd Moellmann <gerd@gnu.org>
266 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
268 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
270 * src/macterm.c (XTread_socket): Read all pending events in the
271 event queue instead of one.
272 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
273 a script code of -smJapanese is specified.
274 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
276 (init_font_name_table): Use a script code of -smJapanese instead
277 of smRoman for the second entry of a Japanese font.
278 (XLoadQueryFont): Recognize a font as having the smRoman script
279 code if its encoding is jisx0201.1976-0.
281 * makefile.MPW: Generate etc/DOC file from .elc files instead of
284 * src/mac.c (stat): Don't fail for aliases.
285 (sys_open) [__MRC__]: Set file creator and type for newly-created
287 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
288 elapsed instead of use WaitNextEvent call as a delay.
290 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
292 * src/macterm.c (init_font_name_table): Add an additional entry to
293 the font table with the script code smRoman for each Apple
295 (XLoadQueryFont): Recognize a font as having the smRoman script
296 code even when FontToScript returns smJapanese if it is one of
299 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
301 * INSTALL: Add to the note on using -opt speed in MPW the function
302 macterm.c (x_draw_hollow_cursor).
304 * src/macterm.c (mac_scroll_area): Call CopyBits with local
305 coordinates and portBits instead of global coordinates and
306 screenBits. Set fore color and back color to black and white,
307 respectively, before calling CopyBits.
309 * src/macterm.c (local_to_global_coord): Comment out.
311 * src/mac.c (mac-filename-to-unix): Change to
312 mac-file-name-to-posix.
313 (unix-filename-to-mac): Change to posix-file-name-to-mac.
314 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
315 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
317 * src/macterm.c (do_ae_open_documents): Change call to
318 mac_to_unix_pathname to mac_to_posix_pathname.
320 2001-07-26 Andrew Choi <akochoi@i-cable.com>
322 * inc/macterm.h (x_display_list): Declare extern.
324 2001-07-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
326 * src/macterm.c (xim_open_dpy): Fix typo.
328 2001-06-26 Andrew Choi <akochoi@i-cable.com>
330 * README: Change references to SourceForge site to
331 ftp://ftp.gnu.org/gnu/mac/emacs/.
333 2001-05-15 Gerd Moellmann <gerd@gnu.org>
335 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
337 2001-05-15 Andrew Choi <akochoi@i-cable.com>
339 * src/Emacs.r: Change About box message.
341 * makefile.MPW: Add md5.c.x to EmacsObjects.
343 * src/mac.c (select): Call WaitNextEvent instead of Delay.
347 * src/macterm.c (do_app_resume): Set cursor to arrow.
348 (clear_mouse_face): check for NIL Lisp object instead of null
351 * INSTALL: Delete note on compiling Lisp files on a Unix system.
352 Add note on turning off end of line conversion.
354 2001-02-27 Andrew Choi <akochoi@i-cable.com>
356 * src/macfns.c: Rename everything containing *busy_cursor* and
357 similar to *hourglass*.
358 Change IMAGE_POSITIVE_INTEGER_VALUE to
359 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
360 (x_set_font): If font hasn't changed, avoid recomputing faces and
361 other things, as in xfns.c.
362 (Qcancel_timer): New variable.
363 (syms_of_macfns): Rename x-busy-pointer-shape to
364 x-hourglass-pointer-shape, display-busy-cursor to
365 display-hourglass, busy-cursor-delay to hourglass-delay, as in
367 (x_set_tool_bar_lines): Modify as in xfns.c
368 (x_change_window_heights): New function.
370 * inc/macterm.h (struct x_output): Rename busy_cursor to
371 hourglass_cursor, busy_window to hourglass_window, busy_p to
372 hourglass_p, as in xterm.h.
374 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
375 safe_run_hooks, as in xmenu.c.
377 * src/macterm.c (do_check_ram_size): New function.
379 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
382 2001-02-20 Andrew Choi <akochoi@i-cable.com>
389 * mac/inc/defs-cw5.h:
390 * mac/inc/defs-cw6.h: Added copyright notice.
392 2001-01-28 Andrew Choi <akochoi@i-cable.com>
394 * src/macterm.c (mac_font_pattern_match): Allocate three more
395 bytes to regex for '^', '$', and '\0'.
397 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
400 * src/macfns.c (QCconversion): Replaces QCalgorithm.
402 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
405 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
406 (x_draw_image_relief, x_draw_image_foreground_1)
407 (x_draw_image_glyph_string): Adapt to change of image margins.
409 * src/macterm.c (mac_to_x_fontname): Change charset name of
410 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
411 from ksc5601 to ksc5601.1989.
413 2000-12-12 Andrew Choi <akochoi@i-cable.com>
415 * cw5-mcp.xml: add md5.c to project.
417 * cw6-mcp.xml: add md5.c to project.
419 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
420 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
422 2000-11-26 Andrew Choi <akochoi@i-cable.com>
424 * src/macterm.c (x_handle_tool_bar_click):
425 (note_tool_bar_highlight): change references to members deleted
426 from struct frame as in xterm.c.
428 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
431 2000-10-25 Andrew Choi <akochoi@i-cable.com>
433 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
435 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
437 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
439 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
441 2000-10-24 Andrew Choi <akochoi@i-cable.com>
443 * src/macterm.c (XTread_socket): check whether Lisp variable
444 mac-ready-for-drag-n-drop is bound rather than non-nil value.
446 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
454 * emacs-cw5.mcp.xml: New file.
456 * emacs-cw6.mcp.xml: New file.
458 * makefile.MPW: New file.
460 * inc/alloca.h: New file.
462 * inc/cmdline-defs-cw5.h: New file.
464 * inc/cmdline-defs-cw6.h: New file.
466 * inc/config.h: New file.
468 * inc/dirent.h: New file.
470 * inc/epaths.h: New file.
472 * inc/m-mac.h: New file.
474 * inc/macgui.h: New file.
476 * inc/macterm.h: New file.
478 * inc/pwd.h: New file.
480 * inc/s-mac.h: New file.
482 * inc/termio.h: New file.
484 * inc/utime.h: New file.
486 * inc/utsname.h: New file.
488 * inc/sys/file.h: New file.
490 * inc/sys/ioctl.h: New file.
492 * inc/sys/param.h: New file.
494 * inc/sys/stat.h: New file.
496 * inc/sys/time.h: New file.
498 * inc/sys/types.h: New file.
500 * src/Emacs.r: New file.
502 * src/EmacsMPW.r: New file.
504 * src/chdir.c: New file.
506 * src/mac.c: New file.
508 * src/macfns.c: New file.
510 * src/macmenu.c: New file.
512 * src/macterm.c: New file.
515 ;; coding: iso-2022-7bit-unix
518 Copyright (C) 2001 Free Software Foundation, Inc.
519 Copying and distribution of this file, with or without modification,
520 are permitted provided the copyright notice and this notice are preserved.