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