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