1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00
Commit graph

15469 commits

Author SHA1 Message Date
Kim F. Storm
10ce34dcaf *** empty log message *** 2002-03-18 14:13:15 +00:00
Kim F. Storm
28c6e94f3a Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
Remove explicit GNU_LINUX settings for datagram support.
2002-03-18 14:09:57 +00:00
Kim F. Storm
955c874d18 Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT,
HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and
HAVE_SYS_UN_H.
2002-03-18 14:08:37 +00:00
Pavel Janík
fa9d4315b7 (Fmake_network_process): Remove unused variable `sa'.
Doc fix.  Add usage:.
(set_socket_options): Remove unused variables `optnum' and `opttype'.
2002-03-18 11:27:26 +00:00
Pavel Janík
623fa9e7f4 Fix typos. 2002-03-18 06:05:01 +00:00
Richard M. Stallman
6147334f2b *** empty log message *** 2002-03-18 04:44:05 +00:00
Richard M. Stallman
5fb96e963b (cursor_type_changed): New variable.
(redisplay_internal): Redisplay all windows if cursor_type_changed.
Clear it when clearing windows_or_buffers_changed.
(try_cursor_movement, redisplay_window, try_window_id)
(try_window_reusing_current_matrix): Test cursor_type_changed
along with windows_or_buffers_changed.

(clear_garbaged_frames): Don't set windows_or_buffers_changed
if no frames needed redrawing.
2002-03-18 04:43:36 +00:00
Richard M. Stallman
d1a0ea0ae2 (cursor_type_changed): Hew variable. 2002-03-18 04:38:43 +00:00
Richard M. Stallman
7569100503 (x_set_cursor_type): Set cursor_type_changed,
not update_mode_lines, and always set it to 1.
2002-03-18 04:38:15 +00:00
Kim F. Storm
5439f987dd Enhanced network process support. 2002-03-17 20:33:31 +00:00
Kim F. Storm
e690ca94fe (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.
2002-03-17 20:20:33 +00:00
Kim F. Storm
cfa955c26c (struct Lisp_Process): New member log.
Doc fix: Member command used to indicate stopped network process.
Doc fix: Member childp contains plist for network process.
Doc fix: Member kill_without_query is inverse of query-on-exit flag.
2002-03-17 20:16:55 +00:00
Jason Rumney
f779bd4c3a *** empty log message *** 2002-03-17 00:02:59 +00:00
Jason Rumney
d86c35ee82 (w32_to_all_x_charsets): Return correct type in startup case. 2002-03-16 23:37:06 +00:00
Richard M. Stallman
a9c1a157ff *** empty log message *** 2002-03-16 07:08:29 +00:00
Richard M. Stallman
7033d6df36 (redisplay_internal, redisplay_windows):
Use list_of_error to call internal_condition_case_1.
(safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2}
so as to catch all errors with no possibility of debugger redisplay.
(list_of_error): New variable.
(syms_of_xdisp): Init and staticpro it.
2002-03-16 07:05:59 +00:00
Richard M. Stallman
aab3aa1461 (print_object): Delete `\ ' from printed rep of frame. 2002-03-16 06:53:35 +00:00
Eli Zaretskii
7264f28d8c (dos_rawgetc): Disable the x-autoselect-window feature,
until its implementation is fixed.
2002-03-15 15:30:07 +00:00
Jan Djärv
ad4ace7a65 Added return value to Fhandle_save_session to avoid compiler warning. 2002-03-14 21:36:28 +00:00
Pavel Janík
6ee8e16746 (png_load): Remove unused variable `gamma_str'. 2002-03-14 20:39:09 +00:00
Richard M. Stallman
e7161ad9ff (x_real_positions): Handle failure in XQueryTree. 2002-03-14 09:13:28 +00:00
Richard M. Stallman
7c3f9166ee *** empty log message *** 2002-03-14 09:05:00 +00:00
Miles Bader
5b905677a5 *** empty log message *** 2002-03-14 09:03:46 +00:00
Miles Bader
f0dcf80149 (adjust_for_invis_intang): New function.
(set_point_both): Use `adjust_for_invis_intang' to do most of the work
for dealing with invisible+intangible regions.  Do so before and after
both forward and backward movements, to handle both front-sticky and
rear-sticky cases.
2002-03-14 08:11:46 +00:00
Miles Bader
21caa1f058 (text_property_stickiness): Function moved to `textprop.c'.
(char_property_eq): Function removed.
2002-03-14 08:11:03 +00:00
Miles Bader
e138dfdc9d (text_property_stickiness): Function moved here from `editfns.c'. 2002-03-14 08:10:35 +00:00
Miles Bader
b210a64a6a (text_property_stickiness): New declaration. 2002-03-14 08:09:59 +00:00
Jason Rumney
73792b515e *** empty log message *** 2002-03-13 23:05:48 +00:00
Jason Rumney
cad19b50d5 Add STRFTIME_NO_POSIX2. 2002-03-13 23:04:39 +00:00
Jason Rumney
6e396aa646 (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX
and %OX when underlying strftime does not.
2002-03-13 23:01:45 +00:00
Stefan Monnier
6f2a7a68b9 (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: Use a fixed-size
thumb (based on an ad-hoc estimate of 30 chars per line) to avoid
annoying flicker.
(xm_scroll_callback): Get rid of the now unnecessary kludge.
(XTread_socket): Mark it static.
2002-03-13 17:07:45 +00:00
Stefan Monnier
dc3b2c8b61 (display_mode_element): Fix int/Lisp_Object mixup. 2002-03-13 14:17:16 +00:00
Kim F. Storm
98243275fc *** empty log message *** 2002-03-13 13:41:39 +00:00
Kim F. Storm
b8a02ca97e (BASE_PURESIZE): Increase to 775000. 2002-03-13 13:33:30 +00:00
Jan Djärv
363a4df604 *** empty log message *** 2002-03-12 21:15:39 +00:00
Juanma Barranquero
7dcece1445 (syms_of_editfns): Fix typo. 2002-03-12 17:24:31 +00:00
Gerd Moellmann
656132ebd3 Include stdio.h because termhooks.h needs it.
Include termopt.h for interrupt_input.
2002-03-12 10:12:20 +00:00
Pavel Janík
4006b74e36 Fix typo. 2002-03-12 09:07:43 +00:00
Andreas Schwab
ff955d9000 (syms_of_coding) <file-coding-system-alist>: Doc fix 2002-03-11 19:22:07 +00:00
Gerd Moellmann
073448c560 (note_mouse_movement): Put code for
x_autoselect_window_p in #if 0.
2002-03-11 18:49:44 +00:00
Gerd Moellmann
714d8c393b (Fload): Don't assume that message_with_ntring uses the
string it is given like a C string.
2002-03-11 18:42:35 +00:00
Jan Djärv
089fba419c X Session management additions 2002-03-10 16:19:56 +00:00
Jan Djärv
618c30cbfc Added test for HAVE_X_SM and added new file xsmfns.c 2002-03-10 16:18:42 +00:00
Jan Djärv
9b3bf38787 Added HAVE_X_SM 2002-03-10 16:17:59 +00:00
Jan Djärv
e02207d421 Extern declare syms_of_xsmfns (). 2002-03-10 16:17:38 +00:00
Jan Djärv
28b1b67214 (main): Added call to syms_of_xsmfns (). 2002-03-10 16:17:07 +00:00
Jan Djärv
4ebc27a5e3 Added Emacs event save_session_event. 2002-03-10 16:16:38 +00:00
Jan Djärv
408b2bfb7b (enum event_kind): Added save_session_event. 2002-03-10 16:15:48 +00:00
Jan Djärv
5f30b9577a Added calls to x_session_check_input () and x_session_initialize (). 2002-03-10 16:15:20 +00:00
Jan Djärv
3cf9b89ee6 Extern declare x_session_check_input () and x_session_initialize (). 2002-03-10 16:14:00 +00:00