comparison lib-src/ChangeLog.multi-tty @ 83667:0e8db0b13648

Simplify log ready for merge into trunk. On merge, date to be replaced with merge date.
author Glenn Morris <rgm@gnu.org>
date Sun, 26 Aug 2007 01:56:56 +0000
parents e9a88d9f47fb
children b4ae7a9d52c2
comparison
equal deleted inserted replaced
83666:084e7aa4713f 83667:0e8db0b13648
1 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> 1 0000-00-00 A. N. Other <none@example.com>
2 2
3 * emacsclient.c (main): Avoid having a declaration after a 3 (main_argc, main_argv, current_frame, window_system, tty): New
4 statement. 4 variables.
5 (longopts): Add tty, current-frame.
6 (xmalloc, xstrdup): New functions.
7 (decode_options): Set display from environment. Add tty and
8 current_frame options.
9 (print_help_and_exit): Document tty and current-frame options.
10 (fail): Change arguments to void.
11 (main): When sockets are not defined, set main_argc, main_argv,
12 and call fail() with no arguments.
13 (quote_file_name): Rename to quote_argument.
14 (quote_argument): New name for old quote_file_name.
15 (unquote_argument, strprefix, pass_signal_to_emacs)
16 (handle_sigcont, handle_sigtstp, init_signals): New functions.
17 (set_local_socket): Initialize saved_errno to 0. If socket-name
18 is too long, call `fail' rather than `exit'.
19 (main): Set main_argc, main_argv. New var `str'. Don't need a
20 filename or argument if tty or window_system set. Call fail with
21 no arguments. Send version number to Emacs for verification.
22 If tty is set, check TERM, and pass name and type to Emacs.
23 Pass window_system to Emacs. Move sending of eval to optind
24 loop. Send -position, -file to Emacs. Call fsync after fflush.
25 Check for a client/server version match. Handle -emacs-pid,
26 -print, -error, -suspend.
5 27
6 2007-05-21 Juanma Barranquero <lekktu@gmail.com> 28 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu>
7 29
8 * emacsclient.c (print_help_and_exit): Restore and adapt trunk 30 * emacsclient.c (w32_execvp): Move definition before use.
9 change from 2006-11-23 which was lost in the merge. 31 (decode_options): Don't use a tty on mac carbon or windows.
10 32
11 2007-05-19 Dan Nicolaescu <dann@ics.uci.edu> 33 0000-00-00 Jason Rumney <jasonr@gnu.org>
12 34
13 * emacsclient.c (decode_options): Don't use a tty on mac carbon. 35 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation
14 36 macros.
15 2007-05-17 Dan Nicolaescu <dann@ics.uci.edu>
16
17 * emacsclient.c (handle_sigtstp): Use the new name for the
18 socket variable.
19
20 2007-05-16 Dan Nicolaescu <dann@ics.uci.edu>
21
22 * emacsclient.c (decode_options): Don't use a tty on windows.
23 * makefile.w32-in (VERSION): Update.
24
25 2007-05-16 Jason Rumney <jasonr@gnu.org>
26
27 * emacsclient.c (emacs_socket): Rename from s.
28 Move definition below includes it depends on.
29 (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
30 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp): 37 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
31 (main): Expand removed macros inline. 38 (main): Expand removed macros inline.
39 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
40 option.
41 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
32 42
33 2007-05-16 Dan Nicolaescu <dann@ics.uci.edu> 43 0000-00-00 Karoly Lorentey <lorentey@elte.hu>
34 44
35 * emacsclient.c (s): Restore. 45 * emacsclient.c (signal.h): New include.
36 (main): Don't define s here. 46 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
37 (w32_execvp): Move definition before use. 47 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): Copy
38 48 definitions here from src/lisp.h.
39 2007-05-16 Jason Rumney <jasonr@gnu.org> 49 (get_current_dir_name): New function, copied from src/sysdep.c.
40 50 (decode_options): Make --no-wait imply --current-frame, except
41 * emacsclient.c (s): Remove. 51 when it is the only option given. Make sure no frame is opened
42 (main): Define here instead. 52 when --current-frame is set.
43 (main) [WINDOWSNT]: Don't call ttyname. 53 (emacs_socket): New variable (moved out from main `s').
44 Don't recognize -suspend option. 54 (main): Use get_current_dir_name to send over the current
45 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals. 55 directory. Handle -window-system-unsupported command. Doc
46 (strprefix): Define unconditionally. 56 update. Don't exit prematurely on --no-wait, let Emacs close the
47 57 connection for us. When creating a new frame, send environment
48 2007-01-01 Karoly Lorentey <lorentey@elte.hu> 58 and pwd to Emacs. Send current-frame to Emacs.
49
50 * emacsclient.c (in, out): Remove.
51 (s): New variable (moved out from main).
52 (handle_sigcont, handle_sigtstp): Use SEND_STRING.
53 (main): Fix typos.
54
55 2006-04-01 Karoly Lorentey <lorentey@elte.hu>
56
57 * emacsclient.c: Copy IS_*_SEP definitions from lisp.h.
58
59 2006-03-28 Karoly Lorentey <lorentey@elte.hu>
60
61 * emacsclient.c: Include sys/stat.h.
62
63 2006-03-26 Karoly Lorentey <lorentey@elte.hu>
64
65 * emacsclient.c (get_current_dir_name): New function, copied here
66 from sysdep.c.
67 (main): Use it to send over the current directory.
68
69 2005-11-19 Karoly Lorentey <lorentey@elte.hu>
70
71 * emacsclient.c (main): Send environment only when a new display
72 is created.
73
74 2005-09-10 Karoly Lorentey <lorentey@elte.hu>
75
76 * emacsclient.c (decode_options): Make --no-wait imply
77 --current-frame, except when it is the only option given. Make
78 sure no frame is opened when --current-frame is set.
79 (main): Pass --current-frame to server.el.
80
81 2005-07-13 Karoly Lorentey <lorentey@elte.hu>
82
83 * emacsclient.c (handle_sigcont): Reestablish signal handler. (Dan
84 Nicolaescu)
85
86 2005-02-04 Karoly Lorentey <lorentey@elte.hu>
87
88 * emacsclient.c (main): Handle -window-system-unsupported
89 command. Doc update.
90
91 2004-07-03 Karoly Lorentey <lorentey@elte.hu>
92
93 * emacsclient.c (main): Don't exit prematurely on --no-wait,
94 let Emacs close the connection for us.
95
96 59
97 ;; Local Variables: 60 ;; Local Variables:
98 ;; coding: iso-2022-7bit 61 ;; coding: iso-2022-7bit
99 ;; add-log-time-zone-rule: t 62 ;; add-log-time-zone-rule: t
100 ;; End: 63 ;; End: