* bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
[bpt/emacs.git] / mac / ChangeLog
1 2005-09-24 Eli Zaretskii <eliz@gnu.org>
2
3 * INSTALL (NOTES): Update the list of versions of MacOS on which
4 Emacs should build.
5
6 * README: Remove a link to ftp://ftp.gnu.org/gnu/mac/emacs/ (which
7 does not exist).
8
9 2005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10
11 * inc/config.h: Sync with src/config.in.
12
13 2005-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14
15 * Emacs.app/Contents/Info.plist (mail-to, mail-selection): New
16 NSServices.
17
18 2005-07-04 Lute Kamstra <lute@gnu.org>
19
20 Update FSF's address in GPL notices.
21
22 2005-06-08 Steven Tamm <steventamm@mac.com>
23
24 * INSTALL: Explain that a universal binary cannot be created and
25 builds for on emachine cannot be targeted to the other.
26 * README: Add Universal Binary to the Todo List.
27
28 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
29
30 * makefile.MPW (buildobj.lst): New target.
31 (Clean): Delete file buildobj.lst.
32 (Emacs, {DocTarget}DOC): Depend on buildobj.lst.
33 (EmacsSource, MacSource, LispSource, LispSourceDontCompile):
34 Remove variables.
35 (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP): New
36 variables.
37 ({DocTarget}DOC): Use them.
38 (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
39
40 * inc/config.h: Sync with src/config.in.
41 (DO_BLOCK_INPUT, HAVE_DIFFTIME, HAVE_LOCALE_H, HAVE_MEMCMP)
42 (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_SETITIMER)
43 (HAVE_SIZE_T, HAVE_SYS_IOCTL_H, HAVE_SYS_PARAM_H, HAVE_SYS_STAT_H)
44 (HAVE_SYS_TYPES_H, TIME_WITH_SYS_TIME, SYNC_INPUT): Define them.
45 [__MRC__] (HAVE_ALLOCA_H): Likewise.
46 (config_machfile, config_opsysfile, my_strftime): New macros.
47 (HAVE_PWD_H): Move from s-mac.h.
48 (HAVE_ALLOCA, C_ALLOCA): Move from m-mac.h.
49 (PTR): Move to s-mac.h.
50
51 * inc/m-mac.h: (HAVE_ALLOCA, C_ALLOCA): Move to config.h.
52
53 * inc/s-mac.h: Sync with src/s/template.h. Don't include fcntl.h,
54 time.h, or signal.h.
55 (index, rindex): New macros.
56 [__MRC__] (sigmask, __signal_max, NSIG): Adjust signal numbers for
57 compatibility with predefined ones.
58 (PTR): Move from s-mac.h.
59 (HAVE_PWD_H): Move to config.h.
60 (volatile): Remove macro.
61 [__MRC__] (strftime): Likewise.
62 (read_input_waiting, sys_gmtime, sys_localtime, sys_ctime)
63 (sys_time, sys_signal, atof): Remove declarations.
64
65 * inc/sys/time.h (ITIMER_REAL): New macro.
66 (struct itimerval): New struct.
67 (setitimer): New extern.
68
69 2005-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
70
71 * inc/config.h [HAVE_CARBON] (USE_TOOLKIT_SCROLL_BARS): Define.
72
73 2005-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
74
75 * makefile.MPW (MacObjects): Add macselect.c.x.
76 (macselect.c.x): New target.
77 (mac.c): Fix dependency.
78
79 * Emacs.app/Contents/Info.plist: Add NSServices key and data.
80
81 * inc/s-mac.h (HAVE_PWD_H): Define.
82
83 2005-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
84
85 * makefile.MPW (NonCarbonLibs): Add LocalesLib. Delete
86 TextEncodingConverter.
87
88 2005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
89
90 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
91 (CFBundleShortVersionString, CFBundleGetInfoString): Fix version
92 number and copyright.
93
94 * Emacs.r (DITL, vers): Likewise.
95
96 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
97
98 * Emacs.app/Contents/Info.plist (CFBundleIdentifier): Change to
99 org.gnu.Emacs.
100
101 2005-03-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
102
103 * INSTALL: Mention new target `NonCarbon'.
104
105 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
106
107 * makefile.MPW (NonCarbon): New target. The target `Emacs' is now
108 used for the Carbon build that defines HAVE_CARBON.
109
110 * inc/config.h (HAVE_STDLIB_H): Define to 1.
111
112 * src/EmacsMPW.r (SIZE): Increase preferred memory size to 32MB.
113 [HAVE_CARBON] (crfg): New resource for extra stack space.
114
115 2004-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
116
117 * makefile.MPW: Add dependencies for fringe.c.x, image.c.x, and
118 lastfile.c.x.
119 (PPCCOptions): Add -alloca.
120 (EmacsObjects): Remove alloca.c.x. Add fringe.c.x, image.c.x, and
121 lastfile.c.x.
122 (Emacs MPW): Add QuickTimeLib.
123 (EmacsSource): Remove alloca.c. Add fringe.c, image.c, and
124 lastfile.c.
125 (LispSource): Fix pathnames for byte-run.elc, float-sup.elc, and
126 map-ynp.elc.
127 * inc/config.h (USE_LSB_TAG) [__MRC__]: Define.
128 (UNEXEC_SRC): Close comment.
129 * inc/epaths.h (PATH_BITMAPS, PATH_GAME): New defines.
130 * inc/m-mac.h (HAVE_ALLOCA) [__MRC__]: Define.
131 (C_ALLOCA) [__MRC__]: Don't define.
132 * inc/s-mac.h (X_OK): New define.
133 (DECL_ALIGN) [USE_LSB_TAG && __MRC__]: New macro.
134 (GC_MARK_STACK): Define to GC_MAKE_GCPROS_NOOPS.
135
136 2004-05-29 Steven Tamm <steventamm@mac.com>
137
138 * INSTALL: Fixing typos
139 * README: Updating list of TODOs to remove image support and
140 environment variable problem.
141
142 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * src/Emacs.r: Update TOO_MUCH_RAM error message.
145
146 2003-11-22 Lars Hansen <larsh@math.ku.dk>
147
148 * inc/grp.h: Added.
149
150 2003-11-02 Andrew Choi <akochoi@shaw.ca>
151
152 * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
153 * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
154
155 2003-10-31 Andrew Choi <akochoi@shaw.ca>
156
157 * INSTALL: Add Nozomu Ando's changes to instructions for
158 installing on X Window (that static libraries are no longer
159 necessary after his changes to src/unexmacosx.c).
160
161 2003-04-28 Andrew Choi <akochoi@shaw.ca>
162
163 * make-package: Allocate 5% extra space on disk image for
164 directories and partition tables.
165
166 2003-04-04 Steven Tamm <steventamm@mac.com>
167
168 * make-package: Place libexec executables directly under the
169 Contents/MacOS/libexec if the application is self-contained
170
171 2003-04-01 Kim F. Storm <storm@cua.dk>
172
173 * makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.
174 (xdisp.c.x): Fix to use BLOCKINPUT_H_GROUP.
175
176 2003-03-21 Kim F. Storm <storm@cua.dk>
177
178 * makefile.MPW (xdisp.c.x): Add dependency on blockinput.h and
179 files included from it. Add dependency on keymap.h.
180
181 2003-01-14 Steven Tamm <steventamm@mac.com>
182
183 * make-package: Fixed problem where the building without
184 specifying build directory fails.
185
186 2003-01-07 Steven Tamm <steventamm@mac.com>
187
188 * INSTALL: Added documentation about --enable-carbon-app and
189 changed documentation concerning Emacs.app location
190 Removed some of the documentation about make-package that isn't
191 needed
192 Changed comment about requiring root permission to install to
193 saying that it might be necessary depending on where you install
194 Refered to /usr caveat in more places
195 * make-package (make_options): Use new carbon_appdir option to
196 specify directory to install Application and lets the makefile
197 install
198
199 2003-01-01 Steven Tamm <steventamm@mac.com>
200
201 * make-package: Now copies License and ReadMe files into the
202 Resources directory. Reduces overhead size when creating
203 installer disk image.
204
205 2002-12-29 Steven Tamm <steventamm@mac.com>
206
207 * make-package: Defaults to building the source tree in a
208 separate directory. Use the new option --build-in-place to
209 have old behavior. Added new option --build-dir to specify the
210 build directory.
211
212 2002-12-27 Steven Tamm <steventamm@mac.com>
213
214 * make-package: Fix typo where tmpparent was used instead of
215 tempparent for calculating installedSize and compressedSize.
216
217 2002-12-10 Andreas Schwab <schwab@suse.de>
218
219 * make-package: Fix syntax for find.
220
221 2002-12-08 Steven Tamm <steventamm@mac.com>
222
223 * INSTALL: Added description about make-package.
224
225 * make-package: Fixed --self-contained option to place the
226 directories in the correct locations for
227 init_mac_osx_environment and use hardlink by default for the
228 application. Script fails with invalid option.
229
230 2002-12-02 Andrew Choi <akochoi@shaw.ca>
231
232 * make-bin-dist, osx-install: Remove.
233
234 * INSTALL: Remove description of make-bin-dist and osx-install.
235
236 2002-12-02 Steven Tamm <steventamm@mac.com>
237
238 * make-package (installprefix): Switched copying of .el files
239 to be on by default. Removed symlink for emacs -> emacs-version.
240
241 2002-11-30 Steven Tamm <steventamm@mac.com>
242
243 * make-package: Now compresses .pax file instead of entire disk
244 image to reduce installer size on disk. Also added code to
245 create compressed disk image in the future.
246
247 No longer copies .el files that have been compiled by default.
248 Use --full-dist option to include them.
249
250 Option --symlink added to reduce disk size by making
251 /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
252 symlinks to the emacs-[version] binary.
253
254 Option --self-contained added to place files shared files
255 inside the Emacs.app executable (for portability between systems)
256
257 Added hidden debugging option --keep-dir to keep temporary install
258 directory (emacs-[version]) around after running script
259
260 * README: Removed comment about mouse-2 & -3 not working (it does).
261
262 2002-10-14 Andreas Schwab <schwab@suse.de>
263
264 * make-package: Fix syntax for find.
265
266 2002-10-08 Steven Tamm <steventamm@mac.com>
267
268 * make-package: Added ability to pass command line options
269 through to make and configure (-m, & -c,).
270 Added option to not copy Application into installer, the default
271 for X11 builds. Does not copy CVS directories into installer.
272 Clarified some of the usage notes.
273
274 2002-10-07 Steven Tamm <steventamm@mac.com>
275
276 * make-package: Now calls make bootstrap if .elc files are missing.
277
278 2002-08-27 Andrew Choi <akochoi@shaw.ca>
279
280 * INSTALL: Add information on starting Emacs as a GUI application
281 from the terminal.
282
283 2002-08-15 Andrew Choi <akochoi@shaw.ca>
284
285 * INSTALL: Add instructions for building Carbon version on Macs
286 with X Window installed.
287
288 2002-07-31 Andrew Choi <akochoi@shaw.ca>
289
290 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
291 change creator code from ???? to EMAx.
292
293 * INSTALL: Add instructions for building X Window version.
294
295 2002-07-11 Andrew Choi <akochoi@shaw.ca>
296
297 * make-package: Change -a option to -R for cp command.
298
299 2002-07-05 Andrew Choi <akochoi@shaw.ca>
300
301 * make-package: Add ability to handle options --help, --prefix,
302 --no-conf, and --with-x.
303
304 2002-07-04 Andrew Choi <akochoi@shaw.ca>
305
306 * make-package: New file.
307
308 2002-07-01 Andrew Choi <akochoi@shaw.ca>
309
310 * Emacs.app/Contents/Resources/Emacs.icns: New file.
311
312 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
313 CFBundleIconFile entries.
314
315 2002-04-13 Andrew Choi <akochoi@shaw.ca>
316
317 * Emacs.app/Contents/Info.plist: New file.
318
319 * Emacs.app/Contents/PkgInfo: New file.
320
321 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
322 New file.
323
324 * cw5-mcp.xml: Remove file.
325
326 * inc/defs-cw5.h: Remove file.
327
328 * cw6-mcp.xml: Update with new version.
329
330 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
331 of constant CODEWARRIOR_VERSION_6.
332
333 * mac/src/mac.c:
334 * mac/src/macmenu.c:
335 * mac/src/macterm.c:
336 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
337
338 * src/Carbon.r: New File.
339
340 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
341 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
342 macterm.h. Generate DOC from .el instead of .elc versions of
343 files listed in DONTCOMPILE in lisp/Makefile.in.
344
345 * INSTALL: Add installation instructions for Mac OS X.
346
347 * README: Add information for Mac OS X.
348
349 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
350 src/macterm.c, inc/macterm.h: Remove from here and move to src.
351
352 2002-04-12 Andrew Choi <akochoi@shaw.ca>
353
354 * src/mac.c (select): Under Carbon, always return true so
355 XTread_socket is called to poll input.
356 (run_mac_command): Not implemented under Carbon.
357 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
358 establish pathname.
359 (do_applescript): Use Carbon routines AEGetDescDatASize and
360 AEGetDescData.
361 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
362 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
363 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
364 GetCurrentScrap, and PutScrapFlavor.
365 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
366 GetScrapFlavorFlags.
367
368 * src/macfns.c: Synchronize with changes in w32fns.c.
369 [MAC_OSX]: Include Carbon headers.
370 (x_real_positions): Use Carbon routine GetWindowPortBounds.
371 (x_set_scroll_bar_width): Set width of scroll bar to 16.
372 (x_make_gc): Remove static qualifier.
373
374 * src/macmenu.c: Synchronize with changes in w32menu.c.
375 [MAC_OSX]: Include Carbon headers.
376 (set_frame_menubar): Check equality of vector representation of
377 scroll bars using Fequal instead of EQ.
378 (mac_menu_show): Use Carbon routine GetWindowPort.
379 (mac_dialog): Likewise.
380 (add_menu_item): Use Carbon routines CountMenuItems,
381 EnableMenuItem, and DisableMenuItem.
382
383 * src/macterm.c: Synchronize with changes in w32term.c.
384 [MAC_OSX]: Include Carbon headers.
385 (XDrawLine): Use Carbon routine GetWindowPort.
386 (XClearArea): Likewise.
387 (XClearWindow): Use Carbon routines GetWindowPort and
388 GetWindowPortBounds.
389 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
390 GetPortPixMap.
391 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
392 (mac_reset_clipping): Use Carbon routine GetWindowPort.
393 (XFillRectangle): Likewise.
394 (mac_draw_rectangle): Likewise.
395 (mac_draw_rectangle_to_pixmap): Likewise.
396 (mac_draw_string_common): Likewise.
397 (mac_copy_area): Use Carbon routines GetWindowPort and
398 GetPortPixMap.
399 (mac_scroll_area): Use Carbon routines GetWindowPort and
400 GetQDGlobalsScreenBits.
401 (x_flush): Call Carbon routine QDFlushPortBuffer.
402 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
403 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
404 (x_draw_image_glyph_string): Likewise.
405 (x_draw_stretch_glyph_string): Likewise.
406 (construct_mouse_click): Call Carbon routine GetWindowPort.
407 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
408 (XTmouse_position): Call Carbon routine GetWindowPort.
409 (x_scroll_bar_create): Create scroll bar with proc
410 kControlScrollBarProc.
411 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
412 (activate_scroll_bar): Call ActivateControl instead of
413 SetControlMaximum.
414 (deactivate_scroll_bar): Call DeactivateControl instead of
415 SetControlMaximum.
416 (x_scroll_bar_handle_click): Use default case for scroll
417 indicator.
418 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
419 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
420 GetWindowPortBounds.
421 (init_font_name_table): Call Carbon Font Manager routines to
422 iterate through all fonts.
423 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
424 GetPortTextSize, and GetPortTextFace.
425 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
426 (is_emacs_window): New function to filter out non-Emacs windows
427 passed back by WaitNextEvent.
428 (do_mouse_moved): Call Carbon routine GetWindowPort.
429 (do_apple_menu): No apple menu handler under Carbon.
430 (do_zoom_window): Call Carbon routines GetWindowPort,
431 GetQDGlobalsScreenBits, SetWindowStandardState, and
432 GetWindowPortBounds.
433 (init_required_apple_events): Use UPP procedure type converter.
434 (main): Don't define for Carbon version.
435 (XTread_socket): Don't check interrupt_input_blocked. Don't call
436 check_alarm. Call Carbon routines GetWindowPort,
437 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
438 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
439 routine GetWindowPort.
440 (mac_initialize): Rename from x_initialize. Use new Doc string
441 format.
442
443 * inc/macterm.h: Synchronize with changes in w32term.h.
444
445 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
446 WindowPtr.
447
448 2002-01-28 Kim F. Storm <storm@cua.dk>
449
450 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
451 cursor row is invisible. This can happen if cursor is on top line
452 of a window, and we switch to a buffer with a header line.
453
454 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
455
456 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
457
458 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
459
460 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
461 frame parameter have a numeric value all the time.
462
463 2001-12-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
464
465 * COPYING: New file.
466
467 2001-12-06 Kim F. Storm <storm@cua.dk>
468
469 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
470
471 2001-12-01 Kim F. Storm <storm@cua.dk>
472
473 The following changes add left-fringe and right-fringe
474 frame parameters to adjust fringe widths, or remove one or
475 both fringes. See ../src/ChangeLog for details.
476
477 * inc/macterm.h: Merged changes from xterm.h.
478 * src/macterm.c: Merged changes from xterm.c.
479 * src/macfns.c: Merged changes from xfns.c.
480
481 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
482
483 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
484
485 2001-11-16 Kim F. Storm <storm@cua.dk>
486
487 The following changes are made to clean up the various internal
488 references to the fringes to actually use the term `fringe'.
489
490 * src/macfns.c: Use renamed symbols.
491
492 * src/macterm.c: Comment fixes. Use renamed symbols.
493 (fringe_bitmap_type): Renamed from bitmap_type.
494 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
495 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
496 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
497
498 * inc/macterm.h: Comment fixes. Use renamed symbols.
499 (fringes_extra): Renamed from flags_areas_extra.
500 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
501 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
502 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
503 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
504 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
505 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
506
507 2001-10-20 Gerd Moellmann <gerd@gnu.org>
508
509 * (Version 21.1 released.)
510
511 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
512
513 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
514 * src/mac.c (run_mac_command): Update calls to openp.
515
516 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
517
518 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
519
520 * src/macterm.c: Include keymap.h.
521 (note_mode_line_highlight): Use KEYMAPP.
522
523 2001-10-05 Gerd Moellmann <gerd@gnu.org>
524
525 * Branch for 21.1.
526
527 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
528
529 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
530
531 * src/macterm.c (XTread_socket): Read all pending events in the
532 event queue instead of one.
533 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
534 a script code of -smJapanese is specified.
535 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
536 encoding.
537 (init_font_name_table): Use a script code of -smJapanese instead
538 of smRoman for the second entry of a Japanese font.
539 (XLoadQueryFont): Recognize a font as having the smRoman script
540 code if its encoding is jisx0201.1976-0.
541
542 * makefile.MPW: Generate etc/DOC file from .elc files instead of
543 .el files.
544
545 * src/mac.c (stat): Don't fail for aliases.
546 (sys_open) [__MRC__]: Set file creator and type for newly-created
547 files.
548 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
549 elapsed instead of use WaitNextEvent call as a delay.
550
551 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
552
553 * src/macterm.c (init_font_name_table): Add an additional entry to
554 the font table with the script code smRoman for each Apple
555 Japanese font.
556 (XLoadQueryFont): Recognize a font as having the smRoman script
557 code even when FontToScript returns smJapanese if it is one of
558 those created above.
559
560 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
561
562 * INSTALL: Add to the note on using -opt speed in MPW the function
563 macterm.c (x_draw_hollow_cursor).
564
565 * src/macterm.c (mac_scroll_area): Call CopyBits with local
566 coordinates and portBits instead of global coordinates and
567 screenBits. Set fore color and back color to black and white,
568 respectively, before calling CopyBits.
569
570 * src/macterm.c (local_to_global_coord): Comment out.
571
572 * src/mac.c (mac-filename-to-unix): Change to
573 mac-file-name-to-posix.
574 (unix-filename-to-mac): Change to posix-file-name-to-mac.
575 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
576 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
577
578 * src/macterm.c (do_ae_open_documents): Change call to
579 mac_to_unix_pathname to mac_to_posix_pathname.
580
581 2001-07-26 Andrew Choi <akochoi@i-cable.com>
582
583 * inc/macterm.h (x_display_list): Declare extern.
584
585 2001-07-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
586
587 * src/macterm.c (xim_open_dpy): Fix typo.
588
589 2001-06-26 Andrew Choi <akochoi@i-cable.com>
590
591 * README: Change references to SourceForge site to
592 ftp://ftp.gnu.org/gnu/mac/emacs/.
593
594 2001-05-15 Gerd Moellmann <gerd@gnu.org>
595
596 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
597
598 2001-05-15 Andrew Choi <akochoi@i-cable.com>
599
600 * src/Emacs.r: Change About box message.
601
602 * makefile.MPW: Add md5.c.x to EmacsObjects.
603
604 * src/mac.c (select): Call WaitNextEvent instead of Delay.
605 (pause): Ditto.
606 (sleep): Ditto.
607
608 * src/macterm.c (do_app_resume): Set cursor to arrow.
609 (clear_mouse_face): check for NIL Lisp object instead of null
610 pointer.
611
612 * INSTALL: Delete note on compiling Lisp files on a Unix system.
613 Add note on turning off end of line conversion.
614
615 2001-02-27 Andrew Choi <akochoi@i-cable.com>
616
617 * src/macfns.c: Rename everything containing *busy_cursor* and
618 similar to *hourglass*.
619 Change IMAGE_POSITIVE_INTEGER_VALUE to
620 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
621 (x_set_font): If font hasn't changed, avoid recomputing faces and
622 other things, as in xfns.c.
623 (Qcancel_timer): New variable.
624 (syms_of_macfns): Rename x-busy-pointer-shape to
625 x-hourglass-pointer-shape, display-busy-cursor to
626 display-hourglass, busy-cursor-delay to hourglass-delay, as in
627 xfns.c.
628 (x_set_tool_bar_lines): Modify as in xfns.c
629 (x_change_window_heights): New function.
630
631 * inc/macterm.h (struct x_output): Rename busy_cursor to
632 hourglass_cursor, busy_window to hourglass_window, busy_p to
633 hourglass_p, as in xterm.h.
634
635 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
636 safe_run_hooks, as in xmenu.c.
637
638 * src/macterm.c (do_check_ram_size): New function.
639
640 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
641 256 MB RAM.
642
643 2001-02-20 Andrew Choi <akochoi@i-cable.com>
644
645 * mac/INSTALL:
646 * mac/README:
647 * mac/cw5-mcp.xml:
648 * mac/cw6-mcp.xml:
649 * mac/inc/alloca.h:
650 * mac/inc/defs-cw5.h:
651 * mac/inc/defs-cw6.h: Added copyright notice.
652
653 2001-01-28 Andrew Choi <akochoi@i-cable.com>
654
655 * src/macterm.c (mac_font_pattern_match): Allocate three more
656 bytes to regex for '^', '$', and '\0'.
657
658 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
659 garbage collection.
660
661 * src/macfns.c (QCconversion): Replaces QCalgorithm.
662
663 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
664 image margins.
665
666 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
667 (x_draw_image_relief, x_draw_image_foreground_1)
668 (x_draw_image_glyph_string): Adapt to change of image margins.
669
670 * src/macterm.c (mac_to_x_fontname): Change charset name of
671 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
672 from ksc5601 to ksc5601.1989.
673
674 2000-12-12 Andrew Choi <akochoi@i-cable.com>
675
676 * cw5-mcp.xml: add md5.c to project.
677
678 * cw6-mcp.xml: add md5.c to project.
679
680 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
681 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
682
683 2000-11-26 Andrew Choi <akochoi@i-cable.com>
684
685 * src/macterm.c (x_handle_tool_bar_click):
686 (note_tool_bar_highlight): change references to members deleted
687 from struct frame as in xterm.c.
688
689 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
690 ~emacs/mac/bin.
691
692 2000-10-25 Andrew Choi <akochoi@i-cable.com>
693
694 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
695
696 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
697
698 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
699
700 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
701
702 2000-10-24 Andrew Choi <akochoi@i-cable.com>
703
704 * src/macterm.c (XTread_socket): check whether Lisp variable
705 mac-ready-for-drag-n-drop is bound rather than non-nil value.
706
707 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
708
709 * INSTALL: New file.
710
711 * README: New file.
712
713 * TODO: New file.
714
715 * emacs-cw5.mcp.xml: New file.
716
717 * emacs-cw6.mcp.xml: New file.
718
719 * makefile.MPW: New file.
720
721 * inc/alloca.h: New file.
722
723 * inc/cmdline-defs-cw5.h: New file.
724
725 * inc/cmdline-defs-cw6.h: New file.
726
727 * inc/config.h: New file.
728
729 * inc/dirent.h: New file.
730
731 * inc/epaths.h: New file.
732
733 * inc/m-mac.h: New file.
734
735 * inc/macgui.h: New file.
736
737 * inc/macterm.h: New file.
738
739 * inc/pwd.h: New file.
740
741 * inc/s-mac.h: New file.
742
743 * inc/termio.h: New file.
744
745 * inc/utime.h: New file.
746
747 * inc/utsname.h: New file.
748
749 * inc/sys/file.h: New file.
750
751 * inc/sys/ioctl.h: New file.
752
753 * inc/sys/param.h: New file.
754
755 * inc/sys/stat.h: New file.
756
757 * inc/sys/time.h: New file.
758
759 * inc/sys/types.h: New file.
760
761 * src/Emacs.r: New file.
762
763 * src/EmacsMPW.r: New file.
764
765 * src/chdir.c: New file.
766
767 * src/mac.c: New file.
768
769 * src/macfns.c: New file.
770
771 * src/macmenu.c: New file.
772
773 * src/macterm.c: New file.
774
775 ;; Local Variables:
776 ;; coding: iso-2022-7bit-unix
777 ;; End:
778
779 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
780 Copying and distribution of this file, with or without modification,
781 are permitted provided the copyright notice and this notice are preserved.
782
783 ;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf