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