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