Miles Bader
dbc3b08c40
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 490-504)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 161-163)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-130
2006-11-07 23:22:48 +00:00
Juanma Barranquero
88b46d8431
(get_server_config) [WINDOWSNT]: Search the server file on APPDATA
...
if it doesn't exist on HOME, even if HOME is defined.
2006-11-07 11:23:12 +00:00
Juanma Barranquero
18b8c421dc
*** empty log message ***
2006-11-07 10:47:51 +00:00
Juanma Barranquero
434a6c5d78
(get_server_config): Extract also the Emacs pid from the server file.
...
On Windows, try to force the Emacs frame to the foreground.
2006-11-07 10:43:45 +00:00
Juanma Barranquero
b03d27bdc1
(longopts) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't show option --socket-name.
...
(decode_options): Don't get EMACS_SERVER_FILE here, it could override command
line options.
(decode_options) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
(fail): Don't check for missing arguments, it is now done in set_socket.
(file_name_absolute_p): New function (loosely based on the one in fileio.c).
(initialize_sockets): Don't check for duplicate loading of Winsock.
(get_server_config): Only try relative paths in the default directory locations.
(set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to a remote
server.
(set_socket): Call INITIALIZE(). Search explicit command-line arguments, then
environment variable EMACS_SERVER_FILE, then implicit socket paths, before
trying the alternate editor.
(main): Use file_name_absolute_p.
2006-11-06 12:41:49 +00:00
Eli Zaretskii
b20d6154e7
*** empty log message ***
2006-11-04 12:23:03 +00:00
Eli Zaretskii
3b57ab8fcd
(../src/$(BLD)/temacs.exe): Create as temporary file if it doesn't already
...
exist.
2006-11-04 12:00:20 +00:00
Juanma Barranquero
9c92edca93
*** empty log message ***
2006-11-03 16:31:08 +00:00
Juanma Barranquero
5796dab79d
(initialize_sockets): Don't initialize Winsock more than once.
2006-11-03 16:24:53 +00:00
Juanma Barranquero
b6ce9c466c
*** empty log message ***
2006-11-03 15:50:42 +00:00
Ramprasad B
01c7d38339
Installed [mark@mcs.vuw.ac.nz: use INSTALL_SCRIPT in lib-src] patch
2006-11-03 14:10:50 +00:00
Juanma Barranquero
4418616bf3
*** empty log message ***
2006-11-02 13:04:47 +00:00
Juanma Barranquero
43983eb155
When called with no arguments (not even a filter), show help instead of
...
blindingly dumping every single ChangeLog available. Doc fix. Update version.
2006-11-02 11:52:15 +00:00
Juanma Barranquero
1e7823d061
[WINDOWSNT]: Define HAVE_INET_SOCKETS.
...
[!WINDOWSNT]: Include <netinet/in.h> if available.
[HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
(IOCTL, IOCTL_BOOL_ARG): Remove.
(set_tcp_socket): Don't set the socket in blocking mode. Remove c_arg.
2006-11-02 09:55:33 +00:00
Juanma Barranquero
ebc20ca09c
*** empty log message ***
2006-11-01 20:25:51 +00:00
Juanma Barranquero
b73ea44bb7
[WINDOWSNT]: Force the first argv passed to execvp to point to alternate_editor
...
(otherwise .BAT scripts can't run).
2006-11-01 19:26:14 +00:00
Juanma Barranquero
411b80a566
[WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
...
(close_winsock): Declare as __cdecl.
2006-10-31 16:40:11 +00:00
Juanma Barranquero
95d0feaa4a
[!WINDOWSNT]: Include <fcntl.h> if available.
...
(set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO to set the
socket in non-blocking mode.
2006-10-31 13:52:32 +00:00
Kim F. Storm
d4fa60c883
*** empty log message ***
2006-10-31 11:07:10 +00:00
Juanma Barranquero
e35fc9628c
Fixes to emacsclient.c for GNU/Linux.
...
[!WINDOWSNT] <top level>: Include <netinet/in.h> and <sys/ioctl.h>.
(INVALID_SOCKET): Define.
(initialize_sockets): Put #endif at the right place.
(set_local_socket): Use progname, not argv[0].
2006-10-31 09:08:24 +00:00
Juanma Barranquero
ecc5405763
*** empty log message ***
2006-10-31 01:08:02 +00:00
Juanma Barranquero
aa0b693297
Add support for TCP sockets.
...
(SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL, INITIALIZE): New
macros.
(IOCTL_BOOL_ARG): New typedef.
(server_file): New global variable.
(longopts): New option --server-file.
(decode_options): Process new option --server-file and environment variable
EMACS_SERVER_FILE.
(print_help_and_exit): Document new option.
(fail): If no connection available and no alternate editor, suggest using
options to make them explicit.
(AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
(send_buffer, sblen): New variables.
(send_to_emacs): New function to buffer output and send it with send().
(quote_file_name): Use SEND_STRING.
(close_winsock, initialize_sockets): New functions to load and unload Winsock.
(get_server_config, set_tcp_socket): New functions to create and set up TCP
sockets.
(set_local_socket): New function to create and set up Unix socket (code moved
from previous implementation).
(set_socket): New function to chose between TCP and Unix sockets.
(main): Use SEND_STRING and SEND_QUOTED. Most code moved to set_local_socket.
Use set_socket. Get answers from server.el with recv(), not file stream
functions.
2006-10-31 00:21:19 +00:00
Juanma Barranquero
d20f2a6a3d
(ALL): Add emacsclient.
...
(ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
(emacsclient, $(BLD)/emacsclient.exe): New targets.
(install): Install emacsclient.
2006-10-31 00:19:38 +00:00
Miles Bader
bb9c4b4f8b
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 460-475)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 145-152)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-118
2006-10-15 02:54:13 +00:00
Andreas Schwab
9984b9d5d9
Typo.
2006-10-11 09:49:15 +00:00
Eli Zaretskii
70846e2ad8
(../src/config.h): Fix error message.
2006-10-09 19:58:14 +00:00
Miles Bader
f3bbbd1145
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 447-459)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 141-144)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-115
2006-10-03 05:04:21 +00:00
Eli Zaretskii
e2247cd00d
*** empty log message ***
2006-09-30 10:03:11 +00:00
Eli Zaretskii
814a1e04f2
Add blessmail.
2006-09-30 09:22:41 +00:00
Miles Bader
465384748f
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 437-446)
- Update from CVS
- lisp/url/url-methods.el: Fix format error when http_proxy is empty string
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 137-140)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-111
2006-09-20 06:04:23 +00:00
Jay Belanger
45a2056c56
*** empty log message ***
2006-09-15 17:47:12 +00:00
Jay Belanger
f7e4411110
Replace "Library Public License" by "Lesser Public License" throughout.
2006-09-15 17:19:05 +00:00
Miles Bader
de20e0ccdb
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 382-398)
- Update from CVS
- Update from erc--emacs--22
- Fix ERC bug introduced in last patch
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 123-125)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-101
2006-08-16 14:08:49 +00:00
Jan Djärv
ae587d1d0c
Fix previous change.
2006-08-09 06:56:38 +00:00
Jan Djärv
ea90c5d3bd
(readline): Change position on %n and \" in sscanf.
2006-08-09 06:56:16 +00:00
Jan Djärv
1f4edc37b8
* etags.c (readline): expect sscanf returns >= 1.
2006-08-09 06:22:27 +00:00
Jan Djärv
1520a816ef
* etags.c (readline): expect sscanf returns 2,
...
not 1.
2006-08-08 09:34:56 +00:00
Jan Djärv
867cc23e44
* etags.c (TEX_mode): Check getc retruns EOF.
...
File ended without newline causes infinite loop.
2006-08-08 09:33:10 +00:00
Miles Bader
e2b9706014
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 357-381)
- Merge from gnus--rel--5.10
- Update from CVS
- Merge from erc--emacs--21
* gnus--rel--5.10 (patch 116-122)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-98
2006-08-03 11:45:23 +00:00
Francesco Potortì
35a4c758b3
Adrian Aichner: <adrian@xemacs.org>
...
It's XEmacs, not Xemacs: change all the occurences.
[ETAGS_REGEXPS]: Now is unconditionally defined.
[LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
(Objc_suffixes): Suggest using --lang=c for full help.
(C_entries): Initialise savetoken to 0 to shut up the compiler.
2006-07-30 09:43:47 +00:00
Francesco Potortì
fc185ae6a7
*** empty log message ***
2006-07-30 09:41:41 +00:00
Andreas Schwab
116e754b8c
.
2006-07-20 13:33:59 +00:00
Andreas Schwab
5a84ed337a
(fatal): Drop second parameter and treat first
...
parameter as a plain string. Callers changed.
2006-07-20 13:33:48 +00:00
Miles Bader
63db3c1b3f
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 343-356)
- Update from CVS
- Update for ERC 5.1.3.
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 113-115)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-90
2006-07-19 00:42:56 +00:00
Dan Nicolaescu
2381d38d0a
* ebrowse.c (usage, version): Mark as NO_RETURN.
...
* emacsclient.c (print_help_and_exit): Likewise.
* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
* textprop.c (text_read_only): Likewise.
* lread.c (end_of_file_error): Likewise.
* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.
* eval.c (unwind_to_catch): Likewise.
* buffer.h (buffer_slot_type_mismatch): Likewise.
2006-07-18 16:33:45 +00:00
Francesco Potortì
327891ebb9
(absolute_filename): Free unused space (cosmetic change).
...
(in_word_set): In C, also tag #undef symbols.
2006-07-11 11:01:27 +00:00
Miles Bader
10c1758c0b
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 300-313)
- Update from CVS
- Update from CVS: lispref/display.texi (Forcing Redisplay): Fix typo.
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 105-106)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-74
2006-06-17 20:57:37 +00:00
Eli Zaretskii
7cb93181b8
*** empty log message ***
2006-06-09 18:23:06 +00:00
Eli Zaretskii
302a986ba5
Remove unused file.
2006-06-09 17:56:20 +00:00
Eli Zaretskii
79b251d75c
($(BLD)/yow.$(O)): Remove target.
2006-06-09 17:55:10 +00:00