Mercurial > emacs
view mac/ChangeLog @ 43968:7ec801358b7e
(Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
(QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
(QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
New variables.
(NETCONN1_P): New macro.
(DATAGRAM_SOCKETS): New conditional symbol.
(datagram_address): New array.
(DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
(status_message): Use concat3.
(Fprocess_status): Add `listen' status to doc string. Return `stop'
for a stopped network process.
(Fset_process_buffer): Update contact plist for network process.
(Fset_process_filter): Ditto. Don't enable input for stopped
network processes. Server must listen, even if filter is t.
(Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag):
New functions.
(Fprocess_kill_without_query): Removed. Now defined in simple.el.
(Fprocess_contact): Added KEY argument. Handle datagrams.
(list_processes_1): Optionally show only processes with the query
on exit flag set. Dynamically adjust column widths. Omit tty
column if not needed. Report stopped network processes.
Identify server and datagram network processes.
(Flist_processes): New optional arg `query-only'.
(conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
(conv_lisp_to_sockaddr, set_socket_options)
(network_process_featurep, unwind_request_sigio): New helper functions.
(Fprocess_datagram_address, Fset_process_datagram_address):
(Fset_network_process_options): New lisp functions.
(Fopen_network_stream): Removed. Now defined in simple.el.
(Fmake_network_process): New lisp function. Code is based on previous
Fopen_network_stream, but heavily reworked with new property list based
argument list, support for datagrams, server processes, and local
sockets in addition to old client-only functionality.
(server_accept_connection): New function.
(wait_reading_process_input): Use it to handle incoming connects.
Do not enable input on a new connection if process is stopped.
(read_process_output): Handle datagram sockets. Use 2k buffer for them.
(send_process): Handle datagram sockets.
(Fstop_process, Fcontinue_process): Apply to network processes. A stopped
network process is indicated by setting command field to t .
(Fprocess_send_eof): No-op if datagram connection.
(Fstatus_notify): Don't read input for a stream server socket or a
stopped network process.
(init_process): Initialize datagram_address array.
(syms_of_process): Intern and staticpro new variables, defsubr new
functions.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 17 Mar 2002 20:20:33 +0000 |
parents | 16844ffdcd03 |
children | 01b93e5e53a7 |
line wrap: on
line source
2002-01-28 Kim F. Storm <storm@cua.dk> * src/macterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row is invisible. This can happen if cursor is on top line of a window, and we switch to a buffer with a header line. 2001-12-22 Pavel Jan,Bm(Bk <Pavel@Janik.cz> * cw5-mcp.xml, cw6-mcp.xml, makefile.MPW: Remove mocklisp files. 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> * src/macfns.c (x_report_frame_params): Make the scroll-bar-width frame parameter have a numeric value all the time. 2001-12-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> * COPYING: New file. 2001-12-06 Kim F. Storm <storm@cua.dk> * src/macfns.c (x_report_frame_params): Return actual fringe widths. 2001-12-01 Kim F. Storm <storm@cua.dk> The following changes add left-fringe and right-fringe frame parameters to adjust fringe widths, or remove one or both fringes. See ../src/ChangeLog for details. * inc/macterm.h: Merged changes from xterm.h. * src/macterm.c: Merged changes from xterm.c. * src/macfns.c: Merged changes from xfns.c. 2001-11-16 Pavel Jan,Bm(Bk <Pavel@Janik.cz> * src/macterm.c (waiting_for_input): Remove unnecessary declaration. 2001-11-16 Kim F. Storm <storm@cua.dk> The following changes are made to clean up the various internal references to the fringes to actually use the term `fringe'. * src/macfns.c: Use renamed symbols. * src/macterm.c: Comment fixes. Use renamed symbols. (fringe_bitmap_type): Renamed from bitmap_type. (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. * inc/macterm.h: Comment fixes. Use renamed symbols. (fringes_extra): Renamed from flags_areas_extra. (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. (FRAME_X_LEFT_FRINGE_WIDTH): Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. (FRAME_X_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. 2001-10-20 Gerd Moellmann <gerd@gnu.org> * (Version 21.1 released.) 2001-10-11 Stefan Monnier <monnier@cs.yale.edu> * src/macfns.c (x_create_bitmap_from_file, x_find_image_file): * src/mac.c (run_mac_command): Update calls to openp. 2001-10-08 Stefan Monnier <monnier@cs.yale.edu> * src/macmenu.c (Fx_popup_menu): Use Fkeymap_prompt. * src/macterm.c: Include keymap.h. (note_mode_line_highlight): Use KEYMAPP. 2001-10-05 Gerd Moellmann <gerd@gnu.org> * Branch for 21.1. 2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk> * src/macmenu.c (mac_menu_show): Use refcon of selected menu item. * src/macterm.c (XTread_socket): Read all pending events in the event queue instead of one. (mac_to_x_fontname): Return name with jisx0201.1976-0 encoding if a script code of -smJapanese is specified. (x_font_name_to_mac_font_name): Also recognize the jisx0201.1976-0 encoding. (init_font_name_table): Use a script code of -smJapanese instead of smRoman for the second entry of a Japanese font. (XLoadQueryFont): Recognize a font as having the smRoman script code if its encoding is jisx0201.1976-0. * makefile.MPW: Generate etc/DOC file from .elc files instead of .el files. * src/mac.c (stat): Don't fail for aliases. (sys_open) [__MRC__]: Set file creator and type for newly-created files. (sleep) [__MRC__]: Place loop around WaitNextEvent to check time elapsed instead of use WaitNextEvent call as a delay. 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk> * src/macterm.c (init_font_name_table): Add an additional entry to the font table with the script code smRoman for each Apple Japanese font. (XLoadQueryFont): Recognize a font as having the smRoman script code even when FontToScript returns smJapanese if it is one of those created above. 2001-08-21 Andrew Choi <akochoi@cse.cuhk.edu.hk> * INSTALL: Add to the note on using -opt speed in MPW the function macterm.c (x_draw_hollow_cursor). * src/macterm.c (mac_scroll_area): Call CopyBits with local coordinates and portBits instead of global coordinates and screenBits. Set fore color and back color to black and white, respectively, before calling CopyBits. * src/macterm.c (local_to_global_coord): Comment out. * src/mac.c (mac-filename-to-unix): Change to mac-file-name-to-posix. (unix-filename-to-mac): Change to posix-file-name-to-mac. (mac_to_unix_pathname): Change to mac_to_posix_pathname. (unix_to_mac_pathname): Change to posix_to_mac_pathname. * src/macterm.c (do_ae_open_documents): Change call to mac_to_unix_pathname to mac_to_posix_pathname. 2001-07-26 Andrew Choi <akochoi@i-cable.com> * inc/macterm.h (x_display_list): Declare extern. 2001-07-20 Pavel Jan,Bm(Bk <Pavel@Janik.cz> * src/macterm.c (xim_open_dpy): Fix typo. 2001-06-26 Andrew Choi <akochoi@i-cable.com> * README: Change references to SourceForge site to ftp://ftp.gnu.org/gnu/mac/emacs/. 2001-05-15 Gerd Moellmann <gerd@gnu.org> * src/macterm.c (clear_mouse_face): Check for nil tip_frame. 2001-05-15 Andrew Choi <akochoi@i-cable.com> * src/Emacs.r: Change About box message. * makefile.MPW: Add md5.c.x to EmacsObjects. * src/mac.c (select): Call WaitNextEvent instead of Delay. (pause): Ditto. (sleep): Ditto. * src/macterm.c (do_app_resume): Set cursor to arrow. (clear_mouse_face): check for NIL Lisp object instead of null pointer. * INSTALL: Delete note on compiling Lisp files on a Unix system. Add note on turning off end of line conversion. 2001-02-27 Andrew Choi <akochoi@i-cable.com> * src/macfns.c: Rename everything containing *busy_cursor* and similar to *hourglass*. Change IMAGE_POSITIVE_INTEGER_VALUE to IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR throughout. (x_set_font): If font hasn't changed, avoid recomputing faces and other things, as in xfns.c. (Qcancel_timer): New variable. (syms_of_macfns): Rename x-busy-pointer-shape to x-hourglass-pointer-shape, display-busy-cursor to display-hourglass, busy-cursor-delay to hourglass-delay, as in xfns.c. (x_set_tool_bar_lines): Modify as in xfns.c (x_change_window_heights): New function. * inc/macterm.h (struct x_output): Rename busy_cursor to hourglass_cursor, busy_window to hourglass_window, busy_p to hourglass_p, as in xterm.h. * src/macmenu.c (set_frame_menubar): Run activate-menu-bar-hook with safe_run_hooks, as in xmenu.c. * src/macterm.c (do_check_ram_size): New function. * src/Emacs.r: Add ALRT resource #129 for alert when there is over 256 MB RAM. 2001-02-20 Andrew Choi <akochoi@i-cable.com> * mac/INSTALL: * mac/README: * mac/cw5-mcp.xml: * mac/cw6-mcp.xml: * mac/inc/alloca.h: * mac/inc/defs-cw5.h: * mac/inc/defs-cw6.h: Added copyright notice. 2001-01-28 Andrew Choi <akochoi@i-cable.com> * src/macterm.c (mac_font_pattern_match): Allocate three more bytes to regex for '^', '$', and '\0'. * src/macterm.c (x_list_fonts): Protect pattern and newlist from garbage collection. * src/macfns.c (QCconversion): Replaces QCalgorithm. * src/macfns.c (image_ascent, lookup_image): Adapt to change of image margins. * src/macterm.c (x_produce_image_glyph, x_draw_image_foreground) (x_draw_image_relief, x_draw_image_foreground_1) (x_draw_image_glyph_string): Adapt to change of image margins. * src/macterm.c (mac_to_x_fontname): Change charset name of Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts from ksc5601 to ksc5601.1989. 2000-12-12 Andrew Choi <akochoi@i-cable.com> * cw5-mcp.xml: add md5.c to project. * cw6-mcp.xml: add md5.c to project. * src/macfns.c (x_create_tip_frame, Fx_hide_tip): change to handle Lisp_Object type tip_frame (was struct frame *) as in xfns.c. 2000-11-26 Andrew Choi <akochoi@i-cable.com> * src/macterm.c (x_handle_tool_bar_click): (note_tool_bar_highlight): change references to members deleted from struct frame as in xterm.c. * inc/epaths.h: set PATH_EXEC to ~emacs/mac instead of ~emacs/mac/bin. 2000-10-25 Andrew Choi <akochoi@i-cable.com> * cw5-mcp.xml: renamed from emacs-cw5.mcp.xml. * cw6-mcp.xml: renamed from emacs-cw6.mcp.xml. * inc/defs-cw5.h: renamed from inc/cmdline-defs-cw5.h. * inc/defs-cw6.h: renamed from inc/cmdline-defs-cw6.h. 2000-10-24 Andrew Choi <akochoi@i-cable.com> * src/macterm.c (XTread_socket): check whether Lisp variable mac-ready-for-drag-n-drop is bound rather than non-nil value. 2000-10-20 Andrew Choi <akochoi@users.sourceforge.net> * INSTALL: New file. * README: New file. * TODO: New file. * emacs-cw5.mcp.xml: New file. * emacs-cw6.mcp.xml: New file. * makefile.MPW: New file. * inc/alloca.h: New file. * inc/cmdline-defs-cw5.h: New file. * inc/cmdline-defs-cw6.h: New file. * inc/config.h: New file. * inc/dirent.h: New file. * inc/epaths.h: New file. * inc/m-mac.h: New file. * inc/macgui.h: New file. * inc/macterm.h: New file. * inc/pwd.h: New file. * inc/s-mac.h: New file. * inc/termio.h: New file. * inc/utime.h: New file. * inc/utsname.h: New file. * inc/sys/file.h: New file. * inc/sys/ioctl.h: New file. * inc/sys/param.h: New file. * inc/sys/stat.h: New file. * inc/sys/time.h: New file. * inc/sys/types.h: New file. * src/Emacs.r: New file. * src/EmacsMPW.r: New file. * src/chdir.c: New file. * src/mac.c: New file. * src/macfns.c: New file. * src/macmenu.c: New file. * src/macterm.c: New file. ;; Local Variables: ;; coding: iso-2022-7bit-unix ;; End: Copyright (C) 2001 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved.