(autoload-print-form-outbuf): New variable.
[emacs.git] / mac / ChangeLog
blob34e5e3e15202f06007a5f0abb3358acd4ecab713
1 2002-12-02  Andrew Choi  <akochoi@shaw.ca>
3         * make-bin-dist, osx-install: Remove.
5         * INSTALL: Remove description of make-bin-dist and osx-install.
7 2002-12-02  Steven Tamm  <steventamm@mac.com>
9         * make-package (installprefix): Switched copying of .el files
10         to be on by default.  Removed symlink for emacs -> emacs-version.
12 2002-11-30  Steven Tamm  <steventamm@mac.com>
14         * make-package: Now compresses .pax file instead of entire disk
15         image to reduce installer size on disk.  Also added code to
16         create compressed disk image in the future.
18         No longer copies .el files that have been compiled by default.
19         Use --full-dist option to include them.
21         Option --symlink added to reduce disk size by making
22         /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
23         symlinks to the emacs-[version] binary.  
25         Option --self-contained added to place files shared files
26         inside the Emacs.app executable (for portability between systems)
28         Added hidden debugging option --keep-dir to keep temporary install 
29         directory (emacs-[version]) around after running script
30         
31         * README: Removed comment about mouse-2 & -3 not working (it does)
33 2002-10-14  Andreas Schwab  <schwab@suse.de>
35         * make-package: Fix syntax for find.
37 2002-10-08  Steven Tamm  <steventamm@mac.com>
39         * make-package: Added ability to pass command line options
40         through to make and configure (-m, & -c,).
41         Added option to not copy Application into installer, the default
42         for X11 builds.  Does not copy CVS directories into installer.
43         Clarified some of the usage notes.
45 2002-10-07  Steven Tamm  <steventamm@mac.com>
47         * make-package: Now calls make bootstrap if .elc files are missing
49 2002-08-27  Andrew Choi  <akochoi@shaw.ca>
51         * INSTALL: Add information on starting Emacs as a GUI application
52         from the terminal.
54 2002-08-15  Andrew Choi  <akochoi@shaw.ca>
56         * INSTALL: Add instructions for building Carbon version on Macs
57         with X Window installed.
59 2002-07-31  Andrew Choi  <akochoi@shaw.ca>
61         * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
62         change creator code from ???? to EMAx.
64         * INSTALL: Add instructions for building X Window version.
66 2002-07-11  Andrew Choi  <akochoi@shaw.ca>
68         * make-package: Change -a option to -R for cp command.
70 2002-07-05  Andrew Choi  <akochoi@shaw.ca>
72         * make-package: Add ability to handle options --help, --prefix,
73         --no-conf, and --with-x.
75 2002-07-04  Andrew Choi  <akochoi@shaw.ca>
77         * make-package: New file.
79 2002-07-01  Andrew Choi  <akochoi@shaw.ca>
81         * Emacs.app/Contents/Resources/Emacs.icns: New file.
83         * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
84         CFBundleIconFile entries.
86 2002-04-13  Andrew Choi  <akochoi@shaw.ca>
88         * Emacs.app/Contents/Info.plist: New file.
90         * Emacs.app/Contents/PkgInfo: New file.
92         * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
93         New file.
95         * cw5-mcp.xml: Remove file.
97         * inc/defs-cw5.h: Remove file.
99         * cw6-mcp.xml: Update with new version.
101         * mac/inc/defs-cw6.h: New constant MAC_OS8.  Remove definition
102         of constant CODEWARRIOR_VERSION_6.
104         * mac/src/mac.c:
105         * mac/src/macmenu.c:
106         * mac/src/macterm.c:
107         Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
109         * src/Carbon.r: New File.
111         * makefile.MPW: Define MAC_OS and MAC_OS8.  Update with change of
112         locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
113         macterm.h.  Generate DOC from .el instead of .elc versions of
114         files listed in DONTCOMPILE in lisp/Makefile.in.
115         
116         * INSTALL: Add installation instructions for Mac OS X.
118         * README: Add information for Mac OS X.
120         * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
121         src/macterm.c, inc/macterm.h: Remove from here and move to src.
123 2002-04-12  Andrew Choi  <akochoi@shaw.ca>
125         * src/mac.c (select): Under Carbon, always return true so
126         XTread_socket is called to poll input.
127         (run_mac_command): Not implemented under Carbon.
128         (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
129         establish pathname.
130         (do_applescript): Use Carbon routines AEGetDescDatASize and
131         AEGetDescData.
132         (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
133         GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
134         (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
135         GetCurrentScrap, and PutScrapFlavor.
136         (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
137         GetScrapFlavorFlags.
139         * src/macfns.c: Synchronize with changes in w32fns.c.
140         [MAC_OSX]: Include Carbon headers.
141         (x_real_positions): Use Carbon routine GetWindowPortBounds.
142         (x_set_scroll_bar_width): Set width of scroll bar to 16.
143         (x_make_gc): Remove static qualifier.
145         * src/macmenu.c: Synchronize with changes in w32menu.c.
146         [MAC_OSX]: Include Carbon headers.
147         (set_frame_menubar): Check equality of vector representation of
148         scroll bars using Fequal instead of EQ.
149         (mac_menu_show): Use Carbon routine GetWindowPort.
150         (mac_dialog): Likewise.
151         (add_menu_item): Use Carbon routines CountMenuItems,
152         EnableMenuItem, and DisableMenuItem.
154         * src/macterm.c: Synchronize with changes in w32term.c.
155         [MAC_OSX]: Include Carbon headers.
156         (XDrawLine): Use Carbon routine GetWindowPort.
157         (XClearArea): Likewise.
158         (XClearWindow): Use Carbon routines GetWindowPort and
159         GetWindowPortBounds.
160         (mac_draw_bitmap): Use Carbon routines GetWindowPort and
161         GetPortPixMap.
162         (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
163         (mac_reset_clipping): Use Carbon routine GetWindowPort.
164         (XFillRectangle): Likewise.
165         (mac_draw_rectangle): Likewise.
166         (mac_draw_rectangle_to_pixmap): Likewise.
167         (mac_draw_string_common): Likewise.
168         (mac_copy_area): Use Carbon routines GetWindowPort and
169         GetPortPixMap.
170         (mac_scroll_area): Use Carbon routines GetWindowPort and
171         GetQDGlobalsScreenBits.
172         (x_flush): Call Carbon routine QDFlushPortBuffer.
173         (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
174         (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
175         (x_draw_image_glyph_string): Likewise.
176         (x_draw_stretch_glyph_string): Likewise.
177         (construct_mouse_click): Call Carbon routine GetWindowPort.
178         (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
179         (XTmouse_position): Call Carbon routine GetWindowPort.
180         (x_scroll_bar_create): Create scroll bar with proc
181         kControlScrollBarProc.
182         (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
183         (activate_scroll_bar): Call ActivateControl instead of
184         SetControlMaximum.
185         (deactivate_scroll_bar): Call DeactivateControl instead of
186         SetControlMaximum.
187         (x_scroll_bar_handle_click): Use default case for scroll
188         indicator.
189         (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
190         (x_calc_absolute_position): Call Carbon routines GetWindowPort and
191         GetWindowPortBounds.
192         (init_font_name_table): Call Carbon Font Manager routines to
193         iterate through all fonts.
194         (XLoadQueryFont): Call Carbon routines GetPortTextFont,
195         GetPortTextSize, and GetPortTextFace.
196         (do_init_managers): Do not initialize Mac Toolbox under Carbon.
197         (is_emacs_window): New function to filter out non-Emacs windows
198         passed back by WaitNextEvent.
199         (do_mouse_moved): Call Carbon routine GetWindowPort.
200         (do_apple_menu): No apple menu handler under Carbon.
201         (do_zoom_window): Call Carbon routines GetWindowPort,
202         GetQDGlobalsScreenBits, SetWindowStandardState, and
203         GetWindowPortBounds.
204         (init_required_apple_events): Use UPP procedure type converter.
205         (main): Don't define for Carbon version.
206         (XTread_socket): Don't check interrupt_input_blocked.  Don't call
207         check_alarm.  Call Carbon routines GetWindowPort,
208         GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
209         (NewMacWindow): Set making_terminal_window to 0.  Call Carbon
210         routine GetWindowPort.
211         (mac_initialize): Rename from x_initialize.  Use new Doc string
212         format.
214         * inc/macterm.h: Synchronize with changes in w32term.h.
216         * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
217         WindowPtr.
219 2002-01-28  Kim F. Storm  <storm@cua.dk>
221         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
222         cursor row is invisible.  This can happen if cursor is on top line
223         of a window, and we switch to a buffer with a header line.
225 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
227         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
229 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
231         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
232         frame parameter have a numeric value all the time.
234 2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
236         * COPYING: New file.
238 2001-12-06  Kim F. Storm  <storm@cua.dk>
240         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
242 2001-12-01  Kim F. Storm  <storm@cua.dk>
244         The following changes add left-fringe and right-fringe
245         frame parameters to adjust fringe widths, or remove one or
246         both fringes.  See ../src/ChangeLog for details.
248         * inc/macterm.h: Merged changes from xterm.h.
249         * src/macterm.c: Merged changes from xterm.c.
250         * src/macfns.c: Merged changes from xfns.c.
252 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
254         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
256 2001-11-16  Kim F. Storm  <storm@cua.dk>
258         The following changes are made to clean up the various internal
259         references to the fringes to actually use the term `fringe'.
261         * src/macfns.c: Use renamed symbols.
262         
263         * src/macterm.c: Comment fixes. Use renamed symbols.
264         (fringe_bitmap_type): Renamed from bitmap_type.
265         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
266         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
267         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
269         * inc/macterm.h: Comment fixes. Use renamed symbols.
270         (fringes_extra): Renamed from flags_areas_extra.
271         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
272         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
273         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
274         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
275         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
276         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
277         
278 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
280         * (Version 21.1 released.)
282 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
284         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
285         * src/mac.c (run_mac_command): Update calls to openp.
287 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
289         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
291         * src/macterm.c: Include keymap.h.
292         (note_mode_line_highlight): Use KEYMAPP.
294 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
296         * Branch for 21.1.
298 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
300         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
302         * src/macterm.c (XTread_socket): Read all pending events in the
303         event queue instead of one.
304         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
305         a script code of -smJapanese is specified.
306         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
307         encoding.
308         (init_font_name_table): Use a script code of -smJapanese instead
309         of smRoman for the second entry of a Japanese font.
310         (XLoadQueryFont): Recognize a font as having the smRoman script
311         code if its encoding is jisx0201.1976-0.
313         * makefile.MPW: Generate etc/DOC file from .elc files instead of
314         .el files.
316         * src/mac.c (stat): Don't fail for aliases.
317         (sys_open) [__MRC__]: Set file creator and type for newly-created
318         files.
319         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
320         elapsed instead of use WaitNextEvent call as a delay.
322 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
324         * src/macterm.c (init_font_name_table): Add an additional entry to
325         the font table with the script code smRoman for each Apple
326         Japanese font.
327         (XLoadQueryFont): Recognize a font as having the smRoman script
328         code even when FontToScript returns smJapanese if it is one of
329         those created above.
331 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
333         * INSTALL: Add to the note on using -opt speed in MPW the function
334         macterm.c (x_draw_hollow_cursor).
336         * src/macterm.c (mac_scroll_area): Call CopyBits with local
337         coordinates and portBits instead of global coordinates and
338         screenBits.  Set fore color and back color to black and white,
339         respectively, before calling CopyBits.
341         * src/macterm.c (local_to_global_coord): Comment out.
343         * src/mac.c (mac-filename-to-unix): Change to
344         mac-file-name-to-posix.
345         (unix-filename-to-mac): Change to posix-file-name-to-mac.
346         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
347         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
349         * src/macterm.c (do_ae_open_documents): Change call to
350         mac_to_unix_pathname to mac_to_posix_pathname.
352 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
354         * inc/macterm.h (x_display_list): Declare extern.
356 2001-07-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
358         * src/macterm.c (xim_open_dpy): Fix typo.
360 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
362         * README: Change references to SourceForge site to
363         ftp://ftp.gnu.org/gnu/mac/emacs/.
365 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
367         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
369 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
371         * src/Emacs.r: Change About box message.
373         * makefile.MPW: Add md5.c.x to EmacsObjects.
375         * src/mac.c (select): Call WaitNextEvent instead of Delay.
376         (pause): Ditto.
377         (sleep): Ditto.
379         * src/macterm.c (do_app_resume): Set cursor to arrow.
380         (clear_mouse_face): check for NIL Lisp object instead of null
381         pointer.
382         
383         * INSTALL: Delete note on compiling Lisp files on a Unix system.
384         Add note on turning off end of line conversion.
386 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
388         * src/macfns.c: Rename everything containing *busy_cursor* and
389         similar to *hourglass*.
390         Change IMAGE_POSITIVE_INTEGER_VALUE to
391         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
392         (x_set_font): If font hasn't changed, avoid recomputing faces and
393         other things, as in xfns.c.
394         (Qcancel_timer): New variable.
395         (syms_of_macfns): Rename x-busy-pointer-shape to
396         x-hourglass-pointer-shape, display-busy-cursor to
397         display-hourglass, busy-cursor-delay to hourglass-delay, as in
398         xfns.c.
399         (x_set_tool_bar_lines): Modify as in xfns.c
400         (x_change_window_heights): New function.
402         * inc/macterm.h (struct x_output): Rename busy_cursor to
403         hourglass_cursor, busy_window to hourglass_window, busy_p to
404         hourglass_p, as in xterm.h.
406         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
407         safe_run_hooks, as in xmenu.c.
409         * src/macterm.c (do_check_ram_size): New function.
411         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
412         256 MB RAM.
413         
414 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
416         * mac/INSTALL:
417         * mac/README:
418         * mac/cw5-mcp.xml:
419         * mac/cw6-mcp.xml:
420         * mac/inc/alloca.h:
421         * mac/inc/defs-cw5.h:
422         * mac/inc/defs-cw6.h: Added copyright notice.
424 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
426         * src/macterm.c (mac_font_pattern_match): Allocate three more
427         bytes to regex for '^', '$', and '\0'.
429         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
430         garbage collection.
431         
432         * src/macfns.c (QCconversion): Replaces QCalgorithm.
434         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
435         image margins.
437         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
438         (x_draw_image_relief, x_draw_image_foreground_1)
439         (x_draw_image_glyph_string): Adapt to change of image margins.
441         * src/macterm.c (mac_to_x_fontname): Change charset name of
442         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
443         from ksc5601 to ksc5601.1989.
444         
445 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
447         * cw5-mcp.xml: add md5.c to project.
449         * cw6-mcp.xml: add md5.c to project.
451         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
452         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
454 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
456         * src/macterm.c (x_handle_tool_bar_click):
457         (note_tool_bar_highlight): change references to members deleted
458         from struct frame as in xterm.c.
460         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
461         ~emacs/mac/bin.
463 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
465         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
467         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
469         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
471         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
473 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
475         * src/macterm.c (XTread_socket): check whether Lisp variable
476         mac-ready-for-drag-n-drop is bound rather than non-nil value.
478 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
480         * INSTALL: New file.
482         * README: New file.
484         * TODO: New file.
486         * emacs-cw5.mcp.xml: New file.
488         * emacs-cw6.mcp.xml: New file.
490         * makefile.MPW: New file.
492         * inc/alloca.h: New file.
494         * inc/cmdline-defs-cw5.h: New file.
496         * inc/cmdline-defs-cw6.h: New file.
498         * inc/config.h: New file.
500         * inc/dirent.h: New file.
502         * inc/epaths.h: New file.
504         * inc/m-mac.h: New file.
506         * inc/macgui.h: New file.
508         * inc/macterm.h: New file.
510         * inc/pwd.h: New file.
512         * inc/s-mac.h: New file.
514         * inc/termio.h: New file.
516         * inc/utime.h: New file.
518         * inc/utsname.h: New file.
520         * inc/sys/file.h: New file.
522         * inc/sys/ioctl.h: New file.
524         * inc/sys/param.h: New file.
526         * inc/sys/stat.h: New file.
528         * inc/sys/time.h: New file.
530         * inc/sys/types.h: New file.
532         * src/Emacs.r: New file.
534         * src/EmacsMPW.r: New file.
536         * src/chdir.c: New file.
537         
538         * src/mac.c: New file.
540         * src/macfns.c: New file.
542         * src/macmenu.c: New file.
544         * src/macterm.c: New file.
546 ;; Local Variables:
547 ;; coding: iso-2022-7bit-unix
548 ;; End:
550     Copyright (C) 2001 Free Software Foundation, Inc.
551   Copying and distribution of this file, with or without modification,
552   are permitted provided the copyright notice and this notice are preserved.