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