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