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