(character): Use characterp.
[emacs.git] / mac / ChangeLog
blobbcae17602c00f8b9199f1807dcf2ca012a12a72f
1 2002-01-28  Kim F. Storm  <storm@cua.dk>
3         * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
4         cursor row is invisible.  This can happen if cursor is on top line
5         of a window, and we switch to a buffer with a header line.
7 2001-12-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
9         * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
11 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
13         * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
14         frame parameter have a numeric value all the time.
16 2001-12-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
18         * COPYING: New file.
20 2001-12-06  Kim F. Storm  <storm@cua.dk>
22         * src/macfns.c (x_report_frame_params): Return actual fringe widths.
24 2001-12-01  Kim F. Storm  <storm@cua.dk>
26         The following changes add left-fringe and right-fringe
27         frame parameters to adjust fringe widths, or remove one or
28         both fringes.  See ../src/ChangeLog for details.
30         * inc/macterm.h: Merged changes from xterm.h.
31         * src/macterm.c: Merged changes from xterm.c.
32         * src/macfns.c: Merged changes from xfns.c.
34 2001-11-16  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
36         * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
38 2001-11-16  Kim F. Storm  <storm@cua.dk>
40         The following changes are made to clean up the various internal
41         references to the fringes to actually use the term `fringe'.
43         * src/macfns.c: Use renamed symbols.
44         
45         * src/macterm.c: Comment fixes. Use renamed symbols.
46         (fringe_bitmap_type): Renamed from bitmap_type.
47         (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
48         (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
49         (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
51         * inc/macterm.h: Comment fixes. Use renamed symbols.
52         (fringes_extra): Renamed from flags_areas_extra.
53         (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
54         (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
55         (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
56         (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
57         (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
58         (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
59         
60 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
62         * (Version 21.1 released.)
64 2001-10-11  Stefan Monnier  <monnier@cs.yale.edu>
66         * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
67         * src/mac.c (run_mac_command): Update calls to openp.
69 2001-10-08  Stefan Monnier  <monnier@cs.yale.edu>
71         * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
73         * src/macterm.c: Include keymap.h.
74         (note_mode_line_highlight): Use KEYMAPP.
76 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
78         * Branch for 21.1.
80 2001-09-04  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
82         * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
84         * src/macterm.c (XTread_socket): Read all pending events in the
85         event queue instead of one.
86         (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
87         a script code of -smJapanese is specified.
88         (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
89         encoding.
90         (init_font_name_table): Use a script code of -smJapanese instead
91         of smRoman for the second entry of a Japanese font.
92         (XLoadQueryFont): Recognize a font as having the smRoman script
93         code if its encoding is jisx0201.1976-0.
95         * makefile.MPW: Generate etc/DOC file from .elc files instead of
96         .el files.
98         * src/mac.c (stat): Don't fail for aliases.
99         (sys_open) [__MRC__]: Set file creator and type for newly-created
100         files.
101         (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
102         elapsed instead of use WaitNextEvent call as a delay.
104 2001-08-24  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
106         * src/macterm.c (init_font_name_table): Add an additional entry to
107         the font table with the script code smRoman for each Apple
108         Japanese font.
109         (XLoadQueryFont): Recognize a font as having the smRoman script
110         code even when FontToScript returns smJapanese if it is one of
111         those created above.
113 2001-08-21  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
115         * INSTALL: Add to the note on using -opt speed in MPW the function
116         macterm.c (x_draw_hollow_cursor).
118         * src/macterm.c (mac_scroll_area): Call CopyBits with local
119         coordinates and portBits instead of global coordinates and
120         screenBits.  Set fore color and back color to black and white,
121         respectively, before calling CopyBits.
123         * src/macterm.c (local_to_global_coord): Comment out.
125         * src/mac.c (mac-filename-to-unix): Change to
126         mac-file-name-to-posix.
127         (unix-filename-to-mac): Change to posix-file-name-to-mac.
128         (mac_to_unix_pathname): Change to mac_to_posix_pathname.
129         (unix_to_mac_pathname): Change to posix_to_mac_pathname.
131         * src/macterm.c (do_ae_open_documents): Change call to
132         mac_to_unix_pathname to mac_to_posix_pathname.
134 2001-07-26  Andrew Choi  <akochoi@i-cable.com>
136         * inc/macterm.h (x_display_list): Declare extern.
138 2001-07-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
140         * src/macterm.c (xim_open_dpy): Fix typo.
142 2001-06-26  Andrew Choi  <akochoi@i-cable.com>
144         * README: Change references to SourceForge site to
145         ftp://ftp.gnu.org/gnu/mac/emacs/.
147 2001-05-15  Gerd Moellmann  <gerd@gnu.org>
149         * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
151 2001-05-15  Andrew Choi  <akochoi@i-cable.com>
153         * src/Emacs.r: Change About box message.
155         * makefile.MPW: Add md5.c.x to EmacsObjects.
157         * src/mac.c (select): Call WaitNextEvent instead of Delay.
158         (pause): Ditto.
159         (sleep): Ditto.
161         * src/macterm.c (do_app_resume): Set cursor to arrow.
162         (clear_mouse_face): check for NIL Lisp object instead of null
163         pointer.
164         
165         * INSTALL: Delete note on compiling Lisp files on a Unix system.
166         Add note on turning off end of line conversion.
168 2001-02-27  Andrew Choi  <akochoi@i-cable.com>
170         * src/macfns.c: Rename everything containing *busy_cursor* and
171         similar to *hourglass*.
172         Change IMAGE_POSITIVE_INTEGER_VALUE to
173         IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
174         (x_set_font): If font hasn't changed, avoid recomputing faces and
175         other things, as in xfns.c.
176         (Qcancel_timer): New variable.
177         (syms_of_macfns): Rename x-busy-pointer-shape to
178         x-hourglass-pointer-shape, display-busy-cursor to
179         display-hourglass, busy-cursor-delay to hourglass-delay, as in
180         xfns.c.
181         (x_set_tool_bar_lines): Modify as in xfns.c
182         (x_change_window_heights): New function.
184         * inc/macterm.h (struct x_output): Rename busy_cursor to
185         hourglass_cursor, busy_window to hourglass_window, busy_p to
186         hourglass_p, as in xterm.h.
188         * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
189         safe_run_hooks, as in xmenu.c.
191         * src/macterm.c (do_check_ram_size): New function.
193         * src/Emacs.r: Add ALRT resource #129 for alert when there is over
194         256 MB RAM.
195         
196 2001-02-20  Andrew Choi  <akochoi@i-cable.com>
198         * mac/INSTALL:
199         * mac/README:
200         * mac/cw5-mcp.xml:
201         * mac/cw6-mcp.xml:
202         * mac/inc/alloca.h:
203         * mac/inc/defs-cw5.h:
204         * mac/inc/defs-cw6.h: Added copyright notice.
206 2001-01-28  Andrew Choi  <akochoi@i-cable.com>
208         * src/macterm.c (mac_font_pattern_match): Allocate three more
209         bytes to regex for '^', '$', and '\0'.
211         * src/macterm.c (x_list_fonts): Protect pattern and newlist from
212         garbage collection.
213         
214         * src/macfns.c (QCconversion): Replaces QCalgorithm.
216         * src/macfns.c (image_ascent, lookup_image): Adapt to change of
217         image margins.
219         * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
220         (x_draw_image_relief, x_draw_image_foreground_1)
221         (x_draw_image_glyph_string): Adapt to change of image margins.
223         * src/macterm.c (mac_to_x_fontname): Change charset name of
224         Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
225         from ksc5601 to ksc5601.1989.
226         
227 2000-12-12  Andrew Choi  <akochoi@i-cable.com>
229         * cw5-mcp.xml: add md5.c to project.
231         * cw6-mcp.xml: add md5.c to project.
233         * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
234         Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
236 2000-11-26  Andrew Choi  <akochoi@i-cable.com>
238         * src/macterm.c (x_handle_tool_bar_click):
239         (note_tool_bar_highlight): change references to members deleted
240         from struct frame as in xterm.c.
242         * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
243         ~emacs/mac/bin.
245 2000-10-25  Andrew Choi  <akochoi@i-cable.com>
247         * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
249         * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
251         * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
253         * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
255 2000-10-24  Andrew Choi  <akochoi@i-cable.com>
257         * src/macterm.c (XTread_socket): check whether Lisp variable
258         mac-ready-for-drag-n-drop is bound rather than non-nil value.
260 2000-10-20  Andrew Choi  <akochoi@users.sourceforge.net>
262         * INSTALL: New file.
264         * README: New file.
266         * TODO: New file.
268         * emacs-cw5.mcp.xml: New file.
270         * emacs-cw6.mcp.xml: New file.
272         * makefile.MPW: New file.
274         * inc/alloca.h: New file.
276         * inc/cmdline-defs-cw5.h: New file.
278         * inc/cmdline-defs-cw6.h: New file.
280         * inc/config.h: New file.
282         * inc/dirent.h: New file.
284         * inc/epaths.h: New file.
286         * inc/m-mac.h: New file.
288         * inc/macgui.h: New file.
290         * inc/macterm.h: New file.
292         * inc/pwd.h: New file.
294         * inc/s-mac.h: New file.
296         * inc/termio.h: New file.
298         * inc/utime.h: New file.
300         * inc/utsname.h: New file.
302         * inc/sys/file.h: New file.
304         * inc/sys/ioctl.h: New file.
306         * inc/sys/param.h: New file.
308         * inc/sys/stat.h: New file.
310         * inc/sys/time.h: New file.
312         * inc/sys/types.h: New file.
314         * src/Emacs.r: New file.
316         * src/EmacsMPW.r: New file.
318         * src/chdir.c: New file.
319         
320         * src/mac.c: New file.
322         * src/macfns.c: New file.
324         * src/macmenu.c: New file.
326         * src/macterm.c: New file.
328 ;; Local Variables:
329 ;; coding: iso-2022-7bit-unix
330 ;; End:
332     Copyright (C) 2001 Free Software Foundation, Inc.
333   Copying and distribution of this file, with or without modification,
334   are permitted provided the copyright notice and this notice are preserved.