]> code.delx.au - gnu-emacs/blob - mac/ChangeLog
112a6ce4ae0164ef4d7f6f838e598da2ba0f2ef6
[gnu-emacs] / mac / ChangeLog
1 2002-12-29 Steven Tamm <steventamm@mac.com>
2
3 * make-package: Defaults to building the source tree in a
4 separate directory. Use the new option --build-in-place to
5 have old behavior. Added new option --build-dir to specify the
6 build directory
7
8 2002-12-27 Steven Tamm <steventamm@mac.com>
9
10 * make-package: Fix typo where tmpparent was used instead of
11 tempparent for calculating installedSize and compressedSize
12
13 2002-12-10 Andreas Schwab <schwab@suse.de>
14
15 * make-package: Fix syntax for find.
16
17 2002-12-08 Steven Tamm <steventamm@mac.com>
18
19 * INSTALL: Added description about make-package
20
21 * make-package: Fixed --self-contained option to place the
22 directories in the correct locations for
23 init_mac_osx_environment and use hardlink by default for the
24 application. Script fails with invalid option.
25
26 2002-12-02 Andrew Choi <akochoi@shaw.ca>
27
28 * make-bin-dist, osx-install: Remove.
29
30 * INSTALL: Remove description of make-bin-dist and osx-install.
31
32 2002-12-02 Steven Tamm <steventamm@mac.com>
33
34 * make-package (installprefix): Switched copying of .el files
35 to be on by default. Removed symlink for emacs -> emacs-version.
36
37 2002-11-30 Steven Tamm <steventamm@mac.com>
38
39 * make-package: Now compresses .pax file instead of entire disk
40 image to reduce installer size on disk. Also added code to
41 create compressed disk image in the future.
42
43 No longer copies .el files that have been compiled by default.
44 Use --full-dist option to include them.
45
46 Option --symlink added to reduce disk size by making
47 /usr/bin/emacs and the Emacs binary inside the Emacs.app to become
48 symlinks to the emacs-[version] binary.
49
50 Option --self-contained added to place files shared files
51 inside the Emacs.app executable (for portability between systems)
52
53 Added hidden debugging option --keep-dir to keep temporary install
54 directory (emacs-[version]) around after running script
55
56 * README: Removed comment about mouse-2 & -3 not working (it does)
57
58 2002-10-14 Andreas Schwab <schwab@suse.de>
59
60 * make-package: Fix syntax for find.
61
62 2002-10-08 Steven Tamm <steventamm@mac.com>
63
64 * make-package: Added ability to pass command line options
65 through to make and configure (-m, & -c,).
66 Added option to not copy Application into installer, the default
67 for X11 builds. Does not copy CVS directories into installer.
68 Clarified some of the usage notes.
69
70 2002-10-07 Steven Tamm <steventamm@mac.com>
71
72 * make-package: Now calls make bootstrap if .elc files are missing
73
74 2002-08-27 Andrew Choi <akochoi@shaw.ca>
75
76 * INSTALL: Add information on starting Emacs as a GUI application
77 from the terminal.
78
79 2002-08-15 Andrew Choi <akochoi@shaw.ca>
80
81 * INSTALL: Add instructions for building Carbon version on Macs
82 with X Window installed.
83
84 2002-07-31 Andrew Choi <akochoi@shaw.ca>
85
86 * Emacs.app/Contents/PkgInfo, Emacs.app/Contents/Info.plist:
87 change creator code from ???? to EMAx.
88
89 * INSTALL: Add instructions for building X Window version.
90
91 2002-07-11 Andrew Choi <akochoi@shaw.ca>
92
93 * make-package: Change -a option to -R for cp command.
94
95 2002-07-05 Andrew Choi <akochoi@shaw.ca>
96
97 * make-package: Add ability to handle options --help, --prefix,
98 --no-conf, and --with-x.
99
100 2002-07-04 Andrew Choi <akochoi@shaw.ca>
101
102 * make-package: New file.
103
104 2002-07-01 Andrew Choi <akochoi@shaw.ca>
105
106 * Emacs.app/Contents/Resources/Emacs.icns: New file.
107
108 * Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
109 CFBundleIconFile entries.
110
111 2002-04-13 Andrew Choi <akochoi@shaw.ca>
112
113 * Emacs.app/Contents/Info.plist: New file.
114
115 * Emacs.app/Contents/PkgInfo: New file.
116
117 * Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings:
118 New file.
119
120 * cw5-mcp.xml: Remove file.
121
122 * inc/defs-cw5.h: Remove file.
123
124 * cw6-mcp.xml: Update with new version.
125
126 * mac/inc/defs-cw6.h: New constant MAC_OS8. Remove definition
127 of constant CODEWARRIOR_VERSION_6.
128
129 * mac/src/mac.c:
130 * mac/src/macmenu.c:
131 * mac/src/macterm.c:
132 Test constant __MSL__ instead of CODEWARRIOR_VERSION_6.
133
134 * src/Carbon.r: New File.
135
136 * makefile.MPW: Define MAC_OS and MAC_OS8. Update with change of
137 locations for mac.c, macfns.c, macgui.h, macmenu.c, macterm.c, and
138 macterm.h. Generate DOC from .el instead of .elc versions of
139 files listed in DONTCOMPILE in lisp/Makefile.in.
140
141 * INSTALL: Add installation instructions for Mac OS X.
142
143 * README: Add information for Mac OS X.
144
145 * src/mac.c, inc/macgui.h, src/macfns.c, src/macmenu.c,
146 src/macterm.c, inc/macterm.h: Remove from here and move to src.
147
148 2002-04-12 Andrew Choi <akochoi@shaw.ca>
149
150 * src/mac.c (select): Under Carbon, always return true so
151 XTread_socket is called to poll input.
152 (run_mac_command): Not implemented under Carbon.
153 (get_wd): Call PBHGetVolSync and path_from_vol_dir_name to
154 establish pathname.
155 (do_applescript): Use Carbon routines AEGetDescDatASize and
156 AEGetDescData.
157 (Fmac_paste_function): Use Carbon routines GetCurrentScrap,
158 GetScrapFlavorFlags, GetScrapFlavorSize, and GetScrapFlavorData.
159 (Fmac_cut_function): Use Carbon routines ClearCurrentScrap,
160 GetCurrentScrap, and PutScrapFlavor.
161 (Fx_selection_exists_p): Use Carbon routines GetCurrentScrap and
162 GetScrapFlavorFlags.
163
164 * src/macfns.c: Synchronize with changes in w32fns.c.
165 [MAC_OSX]: Include Carbon headers.
166 (x_real_positions): Use Carbon routine GetWindowPortBounds.
167 (x_set_scroll_bar_width): Set width of scroll bar to 16.
168 (x_make_gc): Remove static qualifier.
169
170 * src/macmenu.c: Synchronize with changes in w32menu.c.
171 [MAC_OSX]: Include Carbon headers.
172 (set_frame_menubar): Check equality of vector representation of
173 scroll bars using Fequal instead of EQ.
174 (mac_menu_show): Use Carbon routine GetWindowPort.
175 (mac_dialog): Likewise.
176 (add_menu_item): Use Carbon routines CountMenuItems,
177 EnableMenuItem, and DisableMenuItem.
178
179 * src/macterm.c: Synchronize with changes in w32term.c.
180 [MAC_OSX]: Include Carbon headers.
181 (XDrawLine): Use Carbon routine GetWindowPort.
182 (XClearArea): Likewise.
183 (XClearWindow): Use Carbon routines GetWindowPort and
184 GetWindowPortBounds.
185 (mac_draw_bitmap): Use Carbon routines GetWindowPort and
186 GetPortPixMap.
187 (mac_set_clip_rectangle): Use Carbon routine GetWindowPort.
188 (mac_reset_clipping): Use Carbon routine GetWindowPort.
189 (XFillRectangle): Likewise.
190 (mac_draw_rectangle): Likewise.
191 (mac_draw_rectangle_to_pixmap): Likewise.
192 (mac_draw_string_common): Likewise.
193 (mac_copy_area): Use Carbon routines GetWindowPort and
194 GetPortPixMap.
195 (mac_scroll_area): Use Carbon routines GetWindowPort and
196 GetQDGlobalsScreenBits.
197 (x_flush): Call Carbon routine QDFlushPortBuffer.
198 (x_update_end): Use Carbon routine GetWindowPort; call x_flush.
199 (x_draw_fringe_bitmap): Call mac_reset_clipping before returning.
200 (x_draw_image_glyph_string): Likewise.
201 (x_draw_stretch_glyph_string): Likewise.
202 (construct_mouse_click): Call Carbon routine GetWindowPort.
203 (note_mouse_movement): Call Carbon routine GetWindowPortBounds.
204 (XTmouse_position): Call Carbon routine GetWindowPort.
205 (x_scroll_bar_create): Create scroll bar with proc
206 kControlScrollBarProc.
207 (XTset_vertical_scroll_bar) [MAC_OSX]: Set width to 16.
208 (activate_scroll_bar): Call ActivateControl instead of
209 SetControlMaximum.
210 (deactivate_scroll_bar): Call DeactivateControl instead of
211 SetControlMaximum.
212 (x_scroll_bar_handle_click): Use default case for scroll
213 indicator.
214 (x_scroll_bar_report_motion): Call Carbon routine GetWindowPort.
215 (x_calc_absolute_position): Call Carbon routines GetWindowPort and
216 GetWindowPortBounds.
217 (init_font_name_table): Call Carbon Font Manager routines to
218 iterate through all fonts.
219 (XLoadQueryFont): Call Carbon routines GetPortTextFont,
220 GetPortTextSize, and GetPortTextFace.
221 (do_init_managers): Do not initialize Mac Toolbox under Carbon.
222 (is_emacs_window): New function to filter out non-Emacs windows
223 passed back by WaitNextEvent.
224 (do_mouse_moved): Call Carbon routine GetWindowPort.
225 (do_apple_menu): No apple menu handler under Carbon.
226 (do_zoom_window): Call Carbon routines GetWindowPort,
227 GetQDGlobalsScreenBits, SetWindowStandardState, and
228 GetWindowPortBounds.
229 (init_required_apple_events): Use UPP procedure type converter.
230 (main): Don't define for Carbon version.
231 (XTread_socket): Don't check interrupt_input_blocked. Don't call
232 check_alarm. Call Carbon routines GetWindowPort,
233 GetQDGlobalScreenBits, GetWindowPortBounds, and InvalWindowRect.
234 (NewMacWindow): Set making_terminal_window to 0. Call Carbon
235 routine GetWindowPort.
236 (mac_initialize): Rename from x_initialize. Use new Doc string
237 format.
238
239 * inc/macterm.h: Synchronize with changes in w32term.h.
240
241 * inc/macgui.h [MAC_OSX]: Use OpaqueWindowPtr* instead of
242 WindowPtr.
243
244 2002-01-28 Kim F. Storm <storm@cua.dk>
245
246 * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if
247 cursor row is invisible. This can happen if cursor is on top line
248 of a window, and we switch to a buffer with a header line.
249
250 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
251
252 * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files.
253
254 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
255
256 * src/macfns.c (x_report_frame_params): Make the scroll-bar-width
257 frame parameter have a numeric value all the time.
258
259 2001-12-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
260
261 * COPYING: New file.
262
263 2001-12-06 Kim F. Storm <storm@cua.dk>
264
265 * src/macfns.c (x_report_frame_params): Return actual fringe widths.
266
267 2001-12-01 Kim F. Storm <storm@cua.dk>
268
269 The following changes add left-fringe and right-fringe
270 frame parameters to adjust fringe widths, or remove one or
271 both fringes. See ../src/ChangeLog for details.
272
273 * inc/macterm.h: Merged changes from xterm.h.
274 * src/macterm.c: Merged changes from xterm.c.
275 * src/macfns.c: Merged changes from xfns.c.
276
277 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
278
279 * src/macterm.c (waiting_for_input): Remove unnecessary declaration.
280
281 2001-11-16 Kim F. Storm <storm@cua.dk>
282
283 The following changes are made to clean up the various internal
284 references to the fringes to actually use the term `fringe'.
285
286 * src/macfns.c: Use renamed symbols.
287
288 * src/macterm.c: Comment fixes. Use renamed symbols.
289 (fringe_bitmap_type): Renamed from bitmap_type.
290 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
291 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
292 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
293
294 * inc/macterm.h: Comment fixes. Use renamed symbols.
295 (fringes_extra): Renamed from flags_areas_extra.
296 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
297 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
298 (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS.
299 (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH.
300 (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH.
301 (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH.
302
303 2001-10-20 Gerd Moellmann <gerd@gnu.org>
304
305 * (Version 21.1 released.)
306
307 2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
308
309 * src/macfns.c (x_create_bitmap_from_file, x_find_image_file):
310 * src/mac.c (run_mac_command): Update calls to openp.
311
312 2001-10-08 Stefan Monnier <monnier@cs.yale.edu>
313
314 * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt.
315
316 * src/macterm.c: Include keymap.h.
317 (note_mode_line_highlight): Use KEYMAPP.
318
319 2001-10-05 Gerd Moellmann <gerd@gnu.org>
320
321 * Branch for 21.1.
322
323 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
324
325 * src/macmenu.c (mac_menu_show): Use refcon of selected menu item.
326
327 * src/macterm.c (XTread_socket): Read all pending events in the
328 event queue instead of one.
329 (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if
330 a script code of -smJapanese is specified.
331 (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0
332 encoding.
333 (init_font_name_table): Use a script code of -smJapanese instead
334 of smRoman for the second entry of a Japanese font.
335 (XLoadQueryFont): Recognize a font as having the smRoman script
336 code if its encoding is jisx0201.1976-0.
337
338 * makefile.MPW: Generate etc/DOC file from .elc files instead of
339 .el files.
340
341 * src/mac.c (stat): Don't fail for aliases.
342 (sys_open) [__MRC__]: Set file creator and type for newly-created
343 files.
344 (sleep) [__MRC__]: Place loop around WaitNextEvent to check time
345 elapsed instead of use WaitNextEvent call as a delay.
346
347 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
348
349 * src/macterm.c (init_font_name_table): Add an additional entry to
350 the font table with the script code smRoman for each Apple
351 Japanese font.
352 (XLoadQueryFont): Recognize a font as having the smRoman script
353 code even when FontToScript returns smJapanese if it is one of
354 those created above.
355
356 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk>
357
358 * INSTALL: Add to the note on using -opt speed in MPW the function
359 macterm.c (x_draw_hollow_cursor).
360
361 * src/macterm.c (mac_scroll_area): Call CopyBits with local
362 coordinates and portBits instead of global coordinates and
363 screenBits. Set fore color and back color to black and white,
364 respectively, before calling CopyBits.
365
366 * src/macterm.c (local_to_global_coord): Comment out.
367
368 * src/mac.c (mac-filename-to-unix): Change to
369 mac-file-name-to-posix.
370 (unix-filename-to-mac): Change to posix-file-name-to-mac.
371 (mac_to_unix_pathname): Change to mac_to_posix_pathname.
372 (unix_to_mac_pathname): Change to posix_to_mac_pathname.
373
374 * src/macterm.c (do_ae_open_documents): Change call to
375 mac_to_unix_pathname to mac_to_posix_pathname.
376
377 2001-07-26 Andrew Choi <akochoi@i-cable.com>
378
379 * inc/macterm.h (x_display_list): Declare extern.
380
381 2001-07-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
382
383 * src/macterm.c (xim_open_dpy): Fix typo.
384
385 2001-06-26 Andrew Choi <akochoi@i-cable.com>
386
387 * README: Change references to SourceForge site to
388 ftp://ftp.gnu.org/gnu/mac/emacs/.
389
390 2001-05-15 Gerd Moellmann <gerd@gnu.org>
391
392 * src/macterm.c (clear_mouse_face): Check for nil tip_frame.
393
394 2001-05-15 Andrew Choi <akochoi@i-cable.com>
395
396 * src/Emacs.r: Change About box message.
397
398 * makefile.MPW: Add md5.c.x to EmacsObjects.
399
400 * src/mac.c (select): Call WaitNextEvent instead of Delay.
401 (pause): Ditto.
402 (sleep): Ditto.
403
404 * src/macterm.c (do_app_resume): Set cursor to arrow.
405 (clear_mouse_face): check for NIL Lisp object instead of null
406 pointer.
407
408 * INSTALL: Delete note on compiling Lisp files on a Unix system.
409 Add note on turning off end of line conversion.
410
411 2001-02-27 Andrew Choi <akochoi@i-cable.com>
412
413 * src/macfns.c: Rename everything containing *busy_cursor* and
414 similar to *hourglass*.
415 Change IMAGE_POSITIVE_INTEGER_VALUE to
416 IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout.
417 (x_set_font): If font hasn't changed, avoid recomputing faces and
418 other things, as in xfns.c.
419 (Qcancel_timer): New variable.
420 (syms_of_macfns): Rename x-busy-pointer-shape to
421 x-hourglass-pointer-shape, display-busy-cursor to
422 display-hourglass, busy-cursor-delay to hourglass-delay, as in
423 xfns.c.
424 (x_set_tool_bar_lines): Modify as in xfns.c
425 (x_change_window_heights): New function.
426
427 * inc/macterm.h (struct x_output): Rename busy_cursor to
428 hourglass_cursor, busy_window to hourglass_window, busy_p to
429 hourglass_p, as in xterm.h.
430
431 * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
432 safe_run_hooks, as in xmenu.c.
433
434 * src/macterm.c (do_check_ram_size): New function.
435
436 * src/Emacs.r: Add ALRT resource #129 for alert when there is over
437 256 MB RAM.
438
439 2001-02-20 Andrew Choi <akochoi@i-cable.com>
440
441 * mac/INSTALL:
442 * mac/README:
443 * mac/cw5-mcp.xml:
444 * mac/cw6-mcp.xml:
445 * mac/inc/alloca.h:
446 * mac/inc/defs-cw5.h:
447 * mac/inc/defs-cw6.h: Added copyright notice.
448
449 2001-01-28 Andrew Choi <akochoi@i-cable.com>
450
451 * src/macterm.c (mac_font_pattern_match): Allocate three more
452 bytes to regex for '^', '$', and '\0'.
453
454 * src/macterm.c (x_list_fonts): Protect pattern and newlist from
455 garbage collection.
456
457 * src/macfns.c (QCconversion): Replaces QCalgorithm.
458
459 * src/macfns.c (image_ascent, lookup_image): Adapt to change of
460 image margins.
461
462 * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
463 (x_draw_image_relief, x_draw_image_foreground_1)
464 (x_draw_image_glyph_string): Adapt to change of image margins.
465
466 * src/macterm.c (mac_to_x_fontname): Change charset name of
467 Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
468 from ksc5601 to ksc5601.1989.
469
470 2000-12-12 Andrew Choi <akochoi@i-cable.com>
471
472 * cw5-mcp.xml: add md5.c to project.
473
474 * cw6-mcp.xml: add md5.c to project.
475
476 * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle
477 Lisp_Object type tip_frame (was struct frame *) as in xfns.c.
478
479 2000-11-26 Andrew Choi <akochoi@i-cable.com>
480
481 * src/macterm.c (x_handle_tool_bar_click):
482 (note_tool_bar_highlight): change references to members deleted
483 from struct frame as in xterm.c.
484
485 * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of
486 ~emacs/mac/bin.
487
488 2000-10-25 Andrew Choi <akochoi@i-cable.com>
489
490 * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml.
491
492 * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml.
493
494 * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h.
495
496 * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h.
497
498 2000-10-24 Andrew Choi <akochoi@i-cable.com>
499
500 * src/macterm.c (XTread_socket): check whether Lisp variable
501 mac-ready-for-drag-n-drop is bound rather than non-nil value.
502
503 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net>
504
505 * INSTALL: New file.
506
507 * README: New file.
508
509 * TODO: New file.
510
511 * emacs-cw5.mcp.xml: New file.
512
513 * emacs-cw6.mcp.xml: New file.
514
515 * makefile.MPW: New file.
516
517 * inc/alloca.h: New file.
518
519 * inc/cmdline-defs-cw5.h: New file.
520
521 * inc/cmdline-defs-cw6.h: New file.
522
523 * inc/config.h: New file.
524
525 * inc/dirent.h: New file.
526
527 * inc/epaths.h: New file.
528
529 * inc/m-mac.h: New file.
530
531 * inc/macgui.h: New file.
532
533 * inc/macterm.h: New file.
534
535 * inc/pwd.h: New file.
536
537 * inc/s-mac.h: New file.
538
539 * inc/termio.h: New file.
540
541 * inc/utime.h: New file.
542
543 * inc/utsname.h: New file.
544
545 * inc/sys/file.h: New file.
546
547 * inc/sys/ioctl.h: New file.
548
549 * inc/sys/param.h: New file.
550
551 * inc/sys/stat.h: New file.
552
553 * inc/sys/time.h: New file.
554
555 * inc/sys/types.h: New file.
556
557 * src/Emacs.r: New file.
558
559 * src/EmacsMPW.r: New file.
560
561 * src/chdir.c: New file.
562
563 * src/mac.c: New file.
564
565 * src/macfns.c: New file.
566
567 * src/macmenu.c: New file.
568
569 * src/macterm.c: New file.
570
571 ;; Local Variables:
572 ;; coding: iso-2022-7bit-unix
573 ;; End:
574
575 Copyright (C) 2001 Free Software Foundation, Inc.
576 Copying and distribution of this file, with or without modification,
577 are permitted provided the copyright notice and this notice are preserved.