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