aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Juanma Barranquero2006-11-201-3/+3
|
* *** empty log message ***Juanma Barranquero2006-11-161-0/+1
|
* Let config.h define HAVE_SOCKETS and HAVE_INET_SOCKETS.Jason Rumney2006-11-132-5/+4
|
* *** empty log message ***Juanma Barranquero2006-11-131-0/+10
|
* (emacsclient): Depend also on emacsclientw.exe.Juanma Barranquero2006-11-131-28/+12
| | | | | | | ($(BLD)/emacsclientw.exe): New target. (install): Install emacsclientw.exe. ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets. (ECLIENT_CFLAGS): Remove redundant flags.
* [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.Juanma Barranquero2006-11-131-1/+8
|
* ($(BLD)/emacsclient.$(O)): Use CFLAGS.Jason Rumney2006-11-131-1/+1
|
* *** empty log message ***Jason Rumney2006-11-131-0/+4
|
* Fix braino.Juanma Barranquero2006-11-111-3/+3
|
* [!WINDOWSNT]: Include <sys/types.h>.Juanma Barranquero2006-11-102-2/+8
|
* Add "add-log-time-zone-rule: t" to Local Variables section.Juanma Barranquero2006-11-101-0/+1
|
* *** empty log message ***Juanma Barranquero2006-11-081-0/+5
|
* (get_server_config): Declare set_fg as FARPROC to avoid a compiler warning.Juanma Barranquero2006-11-081-1/+1
|
* (get_server_config) [WINDOWSNT]: Search the server file on APPDATAJuanma Barranquero2006-11-072-4/+12
| | | | if it doesn't exist on HOME, even if HOME is defined.
* *** empty log message ***Juanma Barranquero2006-11-071-0/+6
|
* (get_server_config): Extract also the Emacs pid from the server file.Juanma Barranquero2006-11-071-2/+29
| | | | On Windows, try to force the Emacs frame to the foreground.
* (longopts) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't show option --socket-name.Juanma Barranquero2006-11-062-44/+127
| | | | | | | | | | | | | | | | (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.
* *** empty log message ***Eli Zaretskii2006-11-041-0/+5
|
* (../src/$(BLD)/temacs.exe): Create as temporary file if it doesn't alreadyEli Zaretskii2006-11-041-0/+9
| | | | exist.
* *** empty log message ***Juanma Barranquero2006-11-031-0/+5
|
* (initialize_sockets): Don't initialize Winsock more than once.Juanma Barranquero2006-11-031-0/+4
|
* *** empty log message ***Juanma Barranquero2006-11-031-0/+5
|
* Installed [mark@mcs.vuw.ac.nz: use INSTALL_SCRIPT in lib-src] patchRamprasad B2006-11-031-2/+3
|
* *** empty log message ***Juanma Barranquero2006-11-021-0/+6
|
* When called with no arguments (not even a filter), show help instead ofJuanma Barranquero2006-11-021-19/+30
| | | | blindingly dumping every single ChangeLog available. Doc fix. Update version.
* [WINDOWSNT]: Define HAVE_INET_SOCKETS.Juanma Barranquero2006-11-022-22/+16
| | | | | | | [!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.
* *** empty log message ***Juanma Barranquero2006-11-011-0/+5
|
* [WINDOWSNT]: Force the first argv passed to execvp to point to alternate_editorJuanma Barranquero2006-11-011-0/+3
| | | | (otherwise .BAT scripts can't run).
* [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.Juanma Barranquero2006-10-312-8/+19
| | | | (close_winsock): Declare as __cdecl.
* [!WINDOWSNT]: Include <fcntl.h> if available.Juanma Barranquero2006-10-312-0/+17
| | | | | (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO to set the socket in non-blocking mode.
* *** empty log message ***Kim F. Storm2006-10-311-4/+1
|
* Fixes to emacsclient.c for GNU/Linux.Juanma Barranquero2006-10-312-2/+15
| | | | | | | [!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].
* *** empty log message ***Juanma Barranquero2006-10-311-194/+226
|
* Add support for TCP sockets.Juanma Barranquero2006-10-311-155/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (ALL): Add emacsclient.Juanma Barranquero2006-10-311-2/+16
| | | | | | (ECLIENT_CFLAGS, ECLIENTOBJS): New macros. (emacsclient, $(BLD)/emacsclient.exe): New targets. (install): Install emacsclient.
* Typo.Andreas Schwab2006-10-111-1/+1
|
* (../src/config.h): Fix error message.Eli Zaretskii2006-10-092-1/+5
|
* *** empty log message ***Eli Zaretskii2006-09-301-0/+4
|
* Add blessmail.Eli Zaretskii2006-09-301-0/+1
|
* *** empty log message ***Jay Belanger2006-09-151-0/+5
|
* Replace "Library Public License" by "Lesser Public License" throughout.Jay Belanger2006-09-151-13/+12
|
* Fix previous change.Jan Djärv2006-08-091-1/+1
|
* (readline): Change position on %n and \" in sscanf.Jan Djärv2006-08-092-2/+4
|
* * etags.c (readline): expect sscanf returns >= 1.Jan Djärv2006-08-092-1/+5
|
* * etags.c (readline): expect sscanf returns 2,Jan Djärv2006-08-082-1/+6
| | | | not 1.
* * etags.c (TEX_mode): Check getc retruns EOF.Jan Djärv2006-08-082-1/+6
| | | | File ended without newline causes infinite loop.
* Adrian Aichner: <adrian@xemacs.org>Francesco Potortì2006-07-301-64/+25
| | | | | | | | | 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.
* *** empty log message ***Francesco Potortì2006-07-301-0/+11
|
* .Andreas Schwab2006-07-201-0/+5
|
* (fatal): Drop second parameter and treat firstAndreas Schwab2006-07-201-5/+5
| | | | parameter as a plain string. Callers changed.