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