aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2007-08-22 11:46:14 +0000
committerMiles Bader2007-08-22 11:46:14 +0000
commitaa251046dda67e80ae2d08b04cfeff7c993d89cd (patch)
tree2a1668f936ab372f0190f8b144cd76d2b3bcd759
parent1fb072d1dff954c21d4805196df62c8eeead301c (diff)
downloademacs-aa251046dda67e80ae2d08b04cfeff7c993d89cd.tar.gz
emacs-aa251046dda67e80ae2d08b04cfeff7c993d89cd.zip
Import changelog info from arch logs into ChangeLog.multi-tty files
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-34
-rw-r--r--ChangeLog.multi-tty14
-rw-r--r--etc/ChangeLog.multi-tty6
-rw-r--r--lib-src/ChangeLog.multi-tty51
-rw-r--r--lisp/ChangeLog.multi-tty891
-rw-r--r--lwlib/ChangeLog.multi-tty12
-rw-r--r--mac/ChangeLog.multi-tty11
-rw-r--r--man/ChangeLog.multi-tty6
-rw-r--r--src/ChangeLog.multi-tty1451
8 files changed, 2435 insertions, 7 deletions
diff --git a/ChangeLog.multi-tty b/ChangeLog.multi-tty
new file mode 100644
index 00000000000..38479291c06
--- /dev/null
+++ b/ChangeLog.multi-tty
@@ -0,0 +1,14 @@
12007-02-24 Karoly Lorentey <karoly@lorentey.hu>
2
3 * configure.in (HAVE_GTK_MULTIDISPLAY): Remove override.
4
5 * configure: Regenerate.
6
72005-12-12 Karoly Lorentey <lorentey@elte.hu>
8
9 * configure.in (HAVE_GTK_MULTIDISPLAY): Disable test,
10 unconditionally undefine.
11 * configure: Regenerate.
12
13
14;; arch-tag: 472a1b2a-6a1d-494e-b1c1-ad536efc3b8e
diff --git a/etc/ChangeLog.multi-tty b/etc/ChangeLog.multi-tty
new file mode 100644
index 00000000000..d1c051ee45b
--- /dev/null
+++ b/etc/ChangeLog.multi-tty
@@ -0,0 +1,6 @@
12005-03-23 Karoly Lorentey <lorentey@elte.hu>
2
3 * TODO: Fix deviation from CVS.
4
5
6;; arch-tag: 4f8ad61b-c6bd-43e8-8e27-372643aa2d84
diff --git a/lib-src/ChangeLog.multi-tty b/lib-src/ChangeLog.multi-tty
index dcd1713294c..1caebb4ddc3 100644
--- a/lib-src/ChangeLog.multi-tty
+++ b/lib-src/ChangeLog.multi-tty
@@ -1,7 +1,7 @@
12007-05-26 Dan Nicolaescu <dann@ics.uci.edu> 12007-05-26 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * emacsclient.c (main): Avoid having a declaration after a 3 * emacsclient.c (main): Avoid having a declaration after a
4 statement. 4 statement.
5 5
62007-05-21 Juanma Barranquero <lekktu@gmail.com> 62007-05-21 Juanma Barranquero <lekktu@gmail.com>
7 7
@@ -45,6 +45,55 @@
45 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals. 45 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
46 (strprefix): Define unconditionally. 46 (strprefix): Define unconditionally.
47 47
482007-01-01 Karoly Lorentey <lorentey@elte.hu>
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
552006-04-01 Karoly Lorentey <lorentey@elte.hu>
56
57 * emacsclient.c: Copy IS_*_SEP definitions from lisp.h.
58
592006-03-28 Karoly Lorentey <lorentey@elte.hu>
60
61 * emacsclient.c: Include sys/stat.h.
62
632006-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
692005-11-19 Karoly Lorentey <lorentey@elte.hu>
70
71 * emacsclient.c (main): Send environment only when a new display
72 is created.
73
742005-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
812005-07-13 Karoly Lorentey <lorentey@elte.hu>
82
83 * emacsclient.c (handle_sigcont): Reestablish signal handler. (Dan
84 Nicolaescu)
85
862005-02-04 Karoly Lorentey <lorentey@elte.hu>
87
88 * emacsclient.c (main): Handle -window-system-unsupported
89 command. Doc update.
90
912004-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
48;; Local Variables: 97;; Local Variables:
49;; coding: iso-2022-7bit 98;; coding: iso-2022-7bit
50;; add-log-time-zone-rule: t 99;; add-log-time-zone-rule: t
diff --git a/lisp/ChangeLog.multi-tty b/lisp/ChangeLog.multi-tty
index 51ab6683323..d8028b3dfa1 100644
--- a/lisp/ChangeLog.multi-tty
+++ b/lisp/ChangeLog.multi-tty
@@ -108,10 +108,895 @@
108 108
109 * env.el (getenv): Pass frame to getenv-internal. 109 * env.el (getenv): Pass frame to getenv-internal.
110 110
1112007-05-12 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu> 1112007-02-24 Karoly Lorentey <karoly@lorentey.hu>
112
113 * ldefs-boot.el: Regenerate.
114
1152006-10-14 Karoly Lorentey <lorentey@elte.hu>
116
117 * term/x-win.el (x-initialize-window-system): Make a copy of pure list.
118
1192006-07-29 Karoly Lorentey <lorentey@elte.hu>
120
121 * bindings.el (mode-line-client): Don't set the local-map and
122 mouse-face properties.
123
1242006-07-29 Karoly Lorentey <lorentey@elte.hu>
125
126 * menu-bar.el (menu-bar-open): New function.
127 Bind it to f10.
128
129 * term/x-win.el: Don't bind f10.
130
131 * tmm.el: Remove autoload binding for f10.
132
133 * ldefs-boot.el: Regenerate.
134
1352006-07-29 Karoly Lorentey <lorentey@elte.hu>
136
137 * frame.el (make-frame): Always inherit 'environment and 'client
138 parameters.
139
1402006-07-29 Karoly Lorentey <lorentey@elte.hu>
141
142 * term/xterm.el (xterm-function-map): Fix typo.
143
1442006-05-26 Karoly Lorentey <lorentey@elte.hu>
145
146 * env.el (read-envvar-name): Remove reference to global-environment.
147 (setenv-internal): New function.
148 (setenv): Use it. Always set process-environment. Update docs.
149 (getenv): Update docs.
150 (environment): Rewrite for the new environment design. Update docs.
151
152 * frame.el (frame-initialize): Copy the environment from the
153 initial frame.
154
1552006-05-20 Karoly Lorentey <lorentey@elte.hu>
156
157 * term/iris-ansi.el (iris-function-map): Fix read syntax.
158 * term/lk201.el (lk201-function-map): Fix read syntax.
159
1602006-05-20 Karoly Lorentey <lorentey@elte.hu>
161
162 * faces.el (tty-create-frame-with-faces): Set up faces and
163 background mode only after the terminal has been initialized.
164 (frame-set-background-mode): Handle the 'background-mode terminal
165 parameter.
166 (tty-run-terminal-initialization): Add type option.
167
168 * term/README: Update.
169 * term/rxvt.el: Simplify.
170 * term/xterm.el: Simplify and fix.
171 * term/*.el: Simplify and fix.
172
1732006-05-20 Karoly Lorentey <lorentey@elte.hu>
174
175 * faces.el (tty-find-type): New function.
176 (tty-run-terminal-initialization): Load files just once per Emacs
177 session, and call terminit functions just once per terminal.
178
1792006-04-20 Karoly Lorentey <lorentey@elte.hu>
180
181 * vc.el (vc-annotate-color-map): Undo previous change.
182
1832006-04-20 Karoly Lorentey <lorentey@elte.hu>
184
185 * vc.el (vc-annotate-color-map): Call `tty-display-color-p' only on
186 ttys.
187
1882006-04-10 Karoly Lorentey <lorentey@elte.hu>
189
190 * startup.el (normal-splash-screen): Fix typo.
191
1922006-04-01 Karoly Lorentey <lorentey@elte.hu>
193
194 * mh-e/mh-e.el (mh-strip-package-version): Add autoload cookie.
195
196 * ldefs-boot.el: Update.
197
1982006-04-01 Karoly Lorentey <lorentey@elte.hu>
199
200 * term/x-win.el (x-setup-function-keys): Protect against multiple
201 calls on the same terminal.
202
2032006-03-26 Karoly Lorentey <lorentey@elte.hu>
204
205 * server.el (server-process-filter): Accept `-dir' command. Set
206 `default-directory' of the *scratch* buffer on connect, if applicable.
207
2082006-03-26 Karoly Lorentey <lorentey@elte.hu>
209
210 * tool-bar.el (toggle-tool-bar-mode-from-frame): New function.
211
212 * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
213 (menu-bar-showhide-menu): Use them to change "Menu-bar" and
214 "Tool-bar" toggles to reflect the state of the current frame.
215
2162006-03-26 Karoly Lorentey <lorentey@elte.hu>
217
218 * faces.el (x-create-frame-with-faces): Remove bogus check for first
219 frame. Call `tool-bar-setup'.
220
221 * frame.el (window-system-default-frame-alist): Enhance doc string.
222
223 * frame.el (frame-notice-user-settings): Don't put 'tool-bar-lines
224 in `default-frame-alist' when initial frame is on a tty.
225
226 * frame.el (modify-all-frames-parameters): Simplify using
227 `assq-delete-all'. Remove specified parameters from
228 `window-system-default-frame-alist'.
229
230 * fringe.el (set-fringe-mode): Simplify and fix using
231 `modify-all-frames-parameters'.
232 * menu-bar.el (menu-bar-mode): Ditto.
233 * scroll-bar.el (set-scroll-bar-mode): Ditto.
234 * tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length
235 check before calling `tool-bar-setup'.
236
237 * tool-bar.el (tool-bar-setup): New variable.
238
239 * tool-bar.el (tool-bar-setup): Use it to guard against multiple
240 calls. Add optional frame parameter, and select that frame before
241 adding items.
242
2432006-03-26 Karoly Lorentey <lorentey@elte.hu>
244
245 * mail/emacsbug.el (report-emacs-bug-pretest-address):
246 Set pretest address to multi-tty@lists.fnord.hu.
247
2482006-03-21 Karoly Lorentey <lorentey@elte.hu>
249
250 * startup.el (display-startup-echo-area-message):
251 Handle `inhibit-startup-echo-area-message' here.
252 (command-line-1): Moved from here.
253
2542006-03-12 Karoly Lorentey <lorentey@elte.hu>
255
256 * ediff-wind.el (ediff-window-setup-function): Fix typo.
257
2582006-03-12 Karoly Lorentey <lorentey@elte.hu>
259
260 * subr.el (with-selected-frame): Make sure the current buffer is
261 restored as well.
262
263 * faces.el (x-create-frame-with-faces): Don't make frame visible
264 until we are done setting up all its parameters.
265
266 * ediff-wind.el (ediff-setup-windows-automatic): New function.
267 (ediff-window-setup-function): Use it as default.
268
2692006-02-23 Karoly Lorentey <lorentey@elte.hu>
270
271 * server.el (server-buffer-clients): Doc update.
272 (server-delete-client): Handle quits in kill-buffer. Don't kill
273 modified buffers. Add extra logging.
274 (server-visit-files): Don't set `server-existing-buffer' if the
275 buffer already has other clients.
276
2772006-02-12 Karoly Lorentey <lorentey@elte.hu>
278
279 * server.el (server-process-filter): Switch to *scratch* immediately
280 after creating the frame, before evaluating any -evals.
281
2822006-02-03 Karoly Lorentey <lorentey@elte.hu>
283
284 * loadup.el: Delay loading env; mule-conf gets confused by cl during
285 bootstrap.
286
2872006-01-03 Karoly Lorentey <lorentey@elte.hu>
288
289 * server.el (server-process-filter): Protect `display-splash-screen'
290 call in a condition-case. Explain why.
291
2922006-01-03 Karoly Lorentey <lorentey@elte.hu>
293
294 * simple.el (normal-erase-is-backspace-mode): Fix enabled/disabled
295 logic.
296
2972006-01-02 Karoly Lorentey <lorentey@elte.hu>
298
299 * server.el (server-handle-delete-frame): Fix last frame check.
300
3012006-01-02 Karoly Lorentey <lorentey@elte.hu>
302
303 * server.el (server-handle-delete-frame): Fix typo.
304
305 * server.el (server-process-filter): Call
306 `display-startup-echo-area-message' before `display-splash-screen'.
307
3082006-01-02 Karoly Lorentey <lorentey@elte.hu>
309
310 * frame.el (make-frame): Also inherit 'client parameter. Don't
311 override explicitly specified values with inherited ones.
312
313 * server.el (server-delete-client): Delete frames after deleting
314 the tty. Clear 'client parameter before deleting a frame.
315
316 * server.el (server-handle-delete-frame): Delete the client
317 if this was its last frame.
318
319 * startup.el (fancy-splash-default-action): Fix typo in comment.
320
3212005-12-30 Karoly Lorentey <lorentey@elte.hu>
322
323 * server.el (server-process-filter): Don't display the splash screen
324 when no frame was created.
325
3262005-12-30 Karoly Lorentey <lorentey@elte.hu>
327
328 * startup.el (fancy-splash-screens): Use `overriding-local-map'
329 instead of `overriding-terminal-local-map' for now; the latter doesn't
330 work right, it looses keypresses to another terminal.
331
3322005-12-30 Karoly Lorentey <lorentey@elte.hu>
333
334 * startup.el (fancy-splash-screens): Use
335 `overriding-terminal-local-map' to set up keymap. Install a
336 `delete-frame-functions' hook to catch `delete-frame' events. Ignore
337 `select-window' events to cope better with `focus-follows-mouse'.
338 Don't switch back to the original buffer if the splash frame has been
339 killed.
340 (normal-splash-screen): Don't let-bind `mode-line-format'; it changes
341 the global binding---setq it instead.
342 (display-splash-screen): Don't do anything if the splash screen is
343 already displayed elsewhere.
344 (fancy-splash-exit, fancy-splash-delete-frame): New functions.
345
3462005-12-29 Karoly Lorentey <lorentey@elte.hu>
347
348 * bindings.el (mode-line-client): New variable.
349 (help-echo): Add it to the default mode-line format.
350
351 * files.el (mode-line-client): Set it as risky.
352
3532005-12-29 Karoly Lorentey <lorentey@elte.hu>
354
355 * server.el (server-process-filter): Show the Emacs splash screen
356 and startup echo area message. Display the *scratch* buffer by
357 default.
358
359 * startup.el (fancy-splash-screens): Restore previous buffer, even
360 if it's *scratch*.
361
3622005-12-29 Karoly Lorentey <lorentey@elte.hu>
363
364 * files.el (save-buffers-kill-display): Rename to `save-buffers-kill-terminal'.
365 (save-buffers-kill-terminal, ctl-x-map): Update for renames.
366
367 * frame.el (make-frame): Rename 'device frame parameter to
368 'terminal. Update.
369 (frames-on-display-list, framep-on-display, suspend-frame): Update
370 for renames.
371 (selected-display): Rename to `selected-terminal'.
372
373 * server.el (server-save-buffers-kill-display): Rename to
374 `server-save-buffers-kill-terminal'.
375 (server-delete-client, server-handle-delete-frame)
376 (server-handle-suspend-tty, server-process-filter)
377 (server-switch-buffer): Update for renames.
378
379 * startup.el (normal-splash-screen, normal-splash-screen): Update
380 for renames.
381
382 * talk.el (talk): Update for renames.
383
384 * termdev.el (terminal-id): Update for renames.
385
386 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
387 (turn-off-xterm-mouse-tracking-on-terminal)
388 (xterm-mouse-handle-delete-frame): Update for renames.
389
3902005-12-29 Karoly Lorentey <lorentey@elte.hu>
391
392 * env.el (setenv, getenv): Update doc strings.
393
3942005-12-29 Karoly Lorentey <lorentey@elte.hu>
395
396 * env.el (read-envvar-name, setenv, getenv, environment): Use frame
397 parameters to store the local environment, not terminal parameters.
398
399 * server.el (server-process-filter): Store the local environment in a
400 frame (not terminal) parameter. Do not try to decode environment
401 strings.
402
403 * frame.el (make-frame): Set up the 'environment frame parameter,
404 when needed.
405
4062005-12-29 Karoly Lorentey <lorentey@elte.hu>
407
408 * env.el: Require cl for byte compilation. (For `block' and `return'.)
409 (read-envvar-name): Update for rename. Include
410 `process-environment' as well.
411 (setenv): Update for rename also handle `process-environment'.
412 Update doc.
413 (getenv): Update doc.
414 (environment): New function.
415 (let-environment): New macro.
416
417 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'.
418
4192005-12-29 Karoly Lorentey <lorentey@elte.hu>
420
421 * cus-start.el: Fix compilation error.
422
4232005-12-26 Karoly Lorentey <lorentey@elte.hu>
424
425 * env.el (setenv, getenv): Add optional terminal parameter. Update docs.
426 (setenv): Handle `local-environment-variables'.
427 (read-envvar-name): Also allow (and complete) local
428 environment variables on the current terminal.
429
430 * termdev.el (terminal-id): Make parameter optional.
431 (terminal-getenv, terminal-setenv, with-terminal-environment):
432 Disable functions.
433
434 * mule-cmds.el (set-locale-environment): Convert `terminal-getenv'
435 calls to `getenv'.
436 * rxvt.el (rxvt-set-background-mode): Ditto.
437 * x-win.el (x-initialize-window-system): Ditto.
438 * xterm.el (terminal-init-xterm): Ditto.
439
440 * server.el (server-process-filter): Fix reference to the 'display
441 frame parameter.
442
4432005-12-25 Karoly Lorentey <lorentey@elte.hu>
444
445 * termdev.el (terminal-parameter-alist, terminal-parameters)
446 (terminal-parameter-p, terminal-parameter, set-terminal-parameter)
447 (terminal-handle-delete-frame): Remove.
448
449 * simple.el (normal-erase-is-backspace-setup-frame)
450 (normal-erase-is-backspace-mode): Rephrase things
451 without terminal-parameter-p.
452
453 * termdev.el (terminal-getenv, terminal-setenv)
454 (with-terminal-environment): Ditto.
455
4562005-12-23 Karoly Lorentey <lorentey@elte.hu>
457
458 * international/encoded-kb.el (encoded-kbd-setup-display): Use
459 `set-input-meta-mode'.
460 * linux.el (terminal-init-linux): Ditto.
461
4622005-12-22 Karoly Lorentey <lorentey@elte.hu>
463
464 * termdev.el: New file. Move terminal parameter-related functions
465 here from frame.el.
466 (terminal-getenv, with-terminal-environment): Reimplement and extend.
467 (terminal-setenv, terminal-setenv-internal): New functions.
468
469 * frame.el (make-frame-on-tty, framep-on-display, suspend-frame):
470 Extend doc string, update parameter names.
471 (terminal-id, terminal-parameter-alist, terminal-parameters)
472 (terminal-parameter-p, terminal-parameter, set-terminal-parameter)
473 (terminal-handle-delete-frame, terminal-getenv, terminal-getenv)
474 (with-terminal-environment): Move to termdev.el.
475
476 * loadup.el: Load termdev as well.
477 * Makefile.in (lisp, shortlisp): Add termdev.elc.
478 * makefile.MPW (shortlisp): Ditto.
479
480 * ebuff-menu.el (electric-buffer-menu-mode-map): Bind C-z to
481 `suspend-frame', not `suspend-emacs'.
482 * echistory.el (electric-history-map): Ditto.
483 * ebrowse.el (ebrowse-electric-list-mode-map): Ditto.
484 * ebrowse.el (ebrowse-electric-position-mode-map): Ditto.
485
486 * startup.el (normal-splash-screen): Use `save-buffers-kill-display'
487 instead of `save-buffers-kill-emacs'.
488
489 * x-win.el (x-initialize-window-system): Add 'global-ok option to
490 `terminal-getenv'.
491
4922005-11-19 Karoly Lorentey <lorentey@elte.hu>
493
494 * loadup.el: Don't load server.
495 * ldefs-boot.el: Update.
496
497 * server.el (server-save-buffers-kill-display): Add autoload
498 cookie. Move stuff not specific to server into
499 `save-buffers-kill-display'.
500
501 * files.el (save-buffers-kill-display): New function.
502 (ctl-x-map): Bind it to C-x C-c.
503
504 * frame.el (terminal-getenv): New function.
505 * international/mule-cmds.el (set-locale-environment): Use it.
506
507 * frame.el (with-terminal-environment): New macro.
508
509 * server.el (server-getenv, server-with-client-environment):
510 Remove.
511 (server-getenv-from, server-with-environment): New functions.
512 (server-process-filter): Change syntax of environment variables.
513 Put environment into terminal parameters, not client parameters.
514
515 * term/rxvt.el: Don't require server.
516 (rxvt-set-background-mode): Use terminal-getenv, not server-getenv.
517 * term/x-win.el (x-initialize-window-system): Ditto.
518 * term/xterm.el (terminal-init-xterm): Ditto.
519
5202005-11-07 Karoly Lorentey <lorentey@elte.hu>
521
522 * loadup.el: Reorganize order of loading x-dnd vs. term/x-win.
523
5242005-11-07 Karoly Lorentey <lorentey@elte.hu>
525
526 * frame.el (frames-on-display-list): Use terminal-id to get the
527 display id.
528 (terminal-id): Also accept X display strings and tty device names.
529
530 Revision:
531
532 * edmacro.el (edmacro-format-keys): Remove terminal-local-value calls.
533 * emulation/cua-base.el (cua--pre-command-handler-1): Ditto.
534 * international/encoded-kb.el (encoded-kbd-setup-display): Ditto.
535 * isearch.el (isearch-other-meta-char): Ditto.
536 * obsolete/keyswap.el (the-table): Ditto.
537 * simple.el (normal-erase-is-backspace-mode): Ditto.
538 * subr.el (keyboard-translate, read-quoted-char): Ditto.
539 * term/AT386.el (terminal-init-AT386): Ditto.
540 * term/internal.el: Ditto.
541 * term/iris-ansi.el (terminal-init-iris-ansi): Ditto.
542 * term/lk201.el (terminal-init-lk201): Ditto.
543 * term/mac-win.el: Ditto.
544 * term/news.el (terminal-init-news): Ditto.
545 * term/rxvt.el (terminal-init-rxvt): Ditto.
546 * term/sun.el (terminal-init-sun): Ditto.
547 * term/tvi970.el (terminal-init-tvi970): Ditto.
548 * term/vt200.el (terminal-init-vt200): Ditto.
549 * term/vt201.el (terminal-init-vt201): Ditto.
550 * term/vt220.el (terminal-init-vt220): Ditto.
551 * term/vt240.el (terminal-init-vt240): Ditto.
552 * term/vt300.el (terminal-init-vt300): Ditto.
553 * term/vt320.el (terminal-init-vt320): Ditto.
554 * term/vt400.el (terminal-init-vt400): Ditto.
555 * term/vt420.el (terminal-init-vt420): Ditto.
556 * term/wyse50.el (terminal-init-wyse50): Ditto.
557 * term/x-win.el (x-setup-function-keys): Ditto.
558 * term/xterm.el (terminal-init-xterm): Ditto.
559
5602005-10-28 Karoly Lorentey <lorentey@elte.hu>
561
562 * subr.el (keyboard-translate): Fix stupid thinko.
563
5642005-10-28 Karoly Lorentey <lorentey@elte.hu>
565
566 * subr.el (keyboard-translate): Use `terminal-local-value' to
567 access `keyboard-translate-table'.
568 * obsolete/keyswap.el: Ditto.
569
5702005-10-23 Karoly Lorentey <lorentey@elte.hu>
571
572 * mh-e/.arch-inventory: Ignore mh-loaddefs.el.
573
5742005-10-23 Karoly Lorentey <lorentey@elte.hu>
575
576 * frame.el (terminal-parameter-p): New function.
577 (terminal-parameter): Use it.
578
579 * simple.el (normal-erase-is-backspace): Add 'maybe option, set it
580 as default.
581 (normal-erase-is-backspace-mode): Rewrite for multiple display
582 support.
583 (normal-erase-is-backspace-setup-frame): New function.
584
585 * frame.el (make-frame): Call it.
586 * startup.el (command-line): Call it.
587
5882005-09-11 Karoly Lorentey <lorentey@elte.hu>
589
590 * server.el (server-process-filter): Use a dummy client with
591 --no-wait's X frames.
592 (server-save-buffers-kill-display): Explicitly delete frame after
593 deleting its client, in case it was a dummy.
594
5952005-09-11 Karoly Lorentey <lorentey@elte.hu>
596
597 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
598 parameters.
599 (xterm-mouse-position-function, xterm-mouse-event): Update.
600 (xterm-mouse-mode): Don't depend on current value of
601 window-system.
602 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
603 Update for multi-tty.
604 (turn-on-xterm-mouse-tracking-on-terminal)
605 (turn-off-xterm-mouse-tracking-on-terminal)
606 (xterm-mouse-handle-delete-frame): New functions.
607 (delete-frame-functions, after-make-frame-functions)
608 (suspend-tty-functions, resume-tty-functions): Install extra hooks
609 for multi-tty.
610
6112005-09-11 Karoly Lorentey <lorentey@elte.hu>
612
613 * server.el (server-process-filter): In `-position LINE' handler,
614 don't ruin the request string until the line number is extracted. Log
615 opened files.
616
6172005-09-10 Karoly Lorentey <lorentey@elte.hu>
618
619 * server.el (server-process-filter): Handle -current-frame command.
620 Don't create frames when it is given. Don't bind X frames to the
621 client when we are in -no-wait mode.
622
6232005-09-10 Karoly Lorentey <lorentey@elte.hu>
624
625 * cus-start.el: Remove bogus window-system reference from GTK test.
626
6272005-09-07 Karoly Lorentey <lorentey@elte.hu>
628
629 * term/xterm.el (terminal-init-xterm): Protect function-key-map
630 against multiple invocations on the same terminal.
631
6322005-09-07 Karoly Lorentey <lorentey@elte.hu>
633
634 * frame.el (frame-notice-user-settings): Extend to apply
635 settings in `window-system-default-frame-alist' as well.
636
6372005-09-07 Karoly Lorentey <lorentey@elte.hu>
638
639 * faces.el (tty-run-terminal-initialization): New function.
640 (tty-create-frame-with-faces): Use it.
641
642 * startup.el (command-line): Replace duplicated code with a call to
643 tty-run-terminal-initialization.
644
6452005-09-07 Karoly Lorentey <lorentey@elte.hu>
646
647 * faces.el (tty-create-frame-with-faces): Call terminal-init-*.
648 Don't load the initialization file more than once.
649
650 * startup.el (command-line): Don't load the terminal initialization
651 file more than once.
652
6532005-09-04 Karoly Lorentey <lorentey@elte.hu>
654
655 * term/xterm.el (xterm-function-map): Fix key definitions.
656
6572005-07-22 Karoly Lorentey <lorentey@elte.hu>
658
659 * frame.el (make-frame): Append window-system-default-frame-alist to
660 parameters before calling frame-creation-function.
661
6622005-07-12 Karoly Lorentey <lorentey@elte.hu>
663
664 * international/encoded-kb.el (encoded-kbd-setup-display): Fix
665 broken condition before set-input-mode.
666
6672005-07-12 Karoly Lorentey <lorentey@elte.hu>
668
669 * double.el (double-setup): Replace global-key-translation-map with key-translation-map.
670 * international/encoded-kb.el (encoded-kbd-setup-display): Ditto.
671 * international/iso-transl.el: Ditto.
672 * obsolete/iso-acc.el (iso-accents-customize): Ditto.
673
674 * edmacro.el (edmacro-format-keys): Use terminal-local binding of
675 local-function-key-map instead of function-key-map.
676 * emulation/cua-base.el (cua--pre-command-handler): Ditto.
677 * isearch.el (isearch-other-meta-char): Ditto.
678 * subr.el (read-quoted-char): Ditto.
679 * term/vt200.el: Ditto.
680 * term/vt201.el: Ditto.
681 * term/vt220.el: Ditto.
682 * term/vt240.el: Ditto.
683 * term/vt300.el: Ditto.
684 * term/vt320.el: Ditto.
685 * term/vt400.el: Ditto.
686 * term/vt420.el: Ditto.
687
688 * simple.el (normal-erase-is-backspace-mode): Add todo note.
689 * xt-mouse.el: Ditto.
690
691 * term/AT386.el: Adapt for renaming of function-key-map to
692 local-function-key-map.
693 * term/internal.el: Ditto.
694 * term/iris-ansi.el: Ditto.
695 * term/lk201.el: Ditto.
696 * term/mac-win.el: Ditto.
697 * term/news.el: Ditto.
698 * term/rxvt.el: Ditto.
699 * term/sun.el: Ditto.
700 * term/tvi970.el: Ditto.
701 * term/wyse50.el: Ditto.
702 * term/x-win.el (x-setup-function-keys): Ditto.
703 * term/xterm.el: Ditto.
704
7052005-07-11 Karoly Lorentey <lorentey@elte.hu>
706
707 * server.el: Use `device' instead of `display' or `display-id' in
708 variable and client parameter names.
709
7102005-07-11 Karoly Lorentey <lorentey@elte.hu>
711
712 * frame.el (make-frame): Rename frame parameter `display-id' to
713 `device'.
714
7152005-07-06 Karoly Lorentey <lorentey@elte.hu>
716
717 * frame.el (terminal-handle-delete-frame): Check that the frame is
718 alive.
719 * server.el (server-handle-delete-frame): Ditto. Remove bogus comment.
720
7212005-07-06 Karoly Lorentey <lorentey@elte.hu>
722
723 * international/mule-cmds.el (set-locale-environment): Use
724 server-getenv, not getenv.
725
726 * server.el (server-handle-delete-frame): Add note on possible race
727 condition.
728
7292005-07-06 Karoly Lorentey <lorentey@elte.hu>
730
731 * frame.el (terminal-id, terminal-parameters, terminal-parameter)
732 (set-terminal-parameter, terminal-handle-delete-frame): New functions.
733 (delete-frame-functions): Add to `delete-frame-functions' hook.
734 (terminal-parameter-alist): New variable.
735
736 * international/encoded-kb.el (saved-input-mode): Delete variable.
737 (encoded-kbd-setup-display): Store the saved input method as a terminal
738 parameter.
739
7402005-06-30 Karoly Lorentey <lorentey@elte.hu>
741
742 * term/xterm.el: Remove pointless conditional around key
743 substitution block.
744
7452005-06-28 Karoly Lorentey <lorentey@elte.hu>
746
747 * term/xterm.el: Move key substitutions back before the
748 define-keys.
749
7502005-06-27 Karoly Lorentey <lorentey@elte.hu>
751
752 * term/xterm.el: Don't do the key substitutions unless f13-f60 are
753 really defined.
754
7552005-06-27 Karoly Lorentey <lorentey@elte.hu>
756
757 * term/AT386.el: Wrap function-key-map accesses
758 in (set-)terminal-local-value.
759 * term/internal.el: Ditto.
760 * term/iris-ansi.el: Ditto.
761 * term/lk201.el: Ditto.
762 * term/mac-win.el: Ditto.
763 * term/news.el: Ditto.
764 * term/rxvt.el: Ditto.
765 * term/sun.el: Ditto.
766 * term/tvi970.el: Ditto.
767 * term/wyse50.el: Ditto.
768 * term/x-win.el: Ditto.
769 * term/xterm.el: Ditto.
770
7712005-06-27 Karoly Lorentey <lorentey@elte.hu>
772
773 * international/encoded-kb.el (encoded-kbd-setup-keymap): Add keymap
774 parameter. Use it instead of changing key-translation-map directly.
775 (encoded-kbd-setup-display): Use terminal-local-value and
776 set-terminal-local-value to access key-translation-map. Remove
777 debugging messages.
778
779 * international/mule.el (keyboard-coding-system): Test for
780 encoded-kbd-setup-display, not encoded-kbd-mode.
781
7822005-06-27 Karoly Lorentey <lorentey@elte.hu>
783
784 * ldefs-boot.el: Regenerate.
785
7862005-06-27 Karoly Lorentey <lorentey@elte.hu>
787
788 * international/encoded-kb.el (saved-key-translation-map): Remove.
789 (encoded-kbd-mode): Remove.
790 (encoded-kbd-setup-display): New function.
791
792 * international/mule.el (set-keyboard-coding-system): Use it.
793
7942005-06-26 Karoly Lorentey <lorentey@elte.hu>
795
796 * term/mac-win.el (mac-handle-language-change): Use
797 global-key-translation-map instead of key-translation-map.
798 * obsolete/iso-acc.el (iso-accents-customize): Ditto.
799 * international/iso-transl.el (iso-transl-ctl-x-8-map): Ditto.
800 * double.el (double-setup): Ditto.
801
8022005-06-26 Karoly Lorentey <lorentey@elte.hu>
803
804 * term/x-win.el (x-setup-function-keys): New function. Move
805 function-key-map tweaks here.
806
807 * faces.el (x-create-frame-with-faces): Call x-setup-function-keys.
808
809 * term/iris-ansi.el: Update for terminal-local function-key-map.
810 * term/lk201.el: Ditto.
811 * term/news.el: Ditto.
812 * term/rxvt.el: Ditto.
813 * term/sun.el: Ditto.
814 * term/xterm.el: Ditto.
815
816 * startup.el: Cosmetic change.
817
8182005-05-14 Karoly Lorentey <lorentey@elte.hu>
819
820 * term/xterm.el: Speed up load time by protecting
821 `substitute-key-definition' and `define-key' calls against multiple
822 execution.
823
824 * term/rxvt.el: Ditto.
825 * term/lk201.el: Ditto.
826
8272005-05-03 Karoly Lorentey <lorentey@elte.hu>
828
829 * server.el (server-process-filter): Set locale environment
830 variables from client while creating tty frames.
831
832 * faces.el (tty-create-frame-with-faces): Call set-locale-environment.
833
834 * international/mule-cmds.el
835 (set-display-table-and-terminal-coding-system): Add DISPLAY
836 parameter. Pass it to set-terminal-coding-system.
837 (set-locale-environment): Add DISPLAY parameter.
838
8392005-05-03 Karoly Lorentey <lorentey@elte.hu>
840
841 * international/mule-cmds.el (set-locale-environment): Ignore
842 window-system; always set the keyboard coding system.
843
844 * international/mule.el (set-terminal-coding-system)
845 (set-keyboard-coding-system): Add DISPLAY parameter.
846
8472005-05-03 Karoly Lorentey <lorentey@elte.hu>
848
849 * term/xterm.el: Protect extended function-key-map from being added
850 to the real function-key-map each time the file is loaded.
851 (xterm-function-map): New variable.
852
853 * term/rxvt.el: Ditto.
854 (rxvt-function-map): New variable.
855
856 * term/lk201.el: Add note on buggy globalness of define-key.
857 * term/iris-ansi.el: Ditto.
858 * term/news.el: Ditto.
859 * term/sun.el: Ditto.
860
8612005-04-25 Karoly Lorentey <lorentey@elte.hu>
862
863 * help-fns.el (describe-variable): Describe frame-local variables
864 correctly.
865
8662005-04-18 Karoly Lorentey <lorentey@elte.hu>
867
868 * loadup.el: Load dnd.el before x-dnd.el.
869
8702005-03-28 Karoly Lorentey <lorentey@elte.hu>
871
872 * server.el (server-process-filter): Disable call to
873 configure-display-for-locale.
874
8752005-03-23 Karoly Lorentey <lorentey@elte.hu>
876
877 * startup.el (command-line): Remove call to nonexistent function
878 `set-locale-translation-file-name'.
879
8802005-03-23 Karoly Lorentey <lorentey@elte.hu>
881
882 * term/rxvt.el: Don't embed `(require 'server)' in eval-when-compile.
883 * term/xterm.el: Ditto.
884
8852005-02-20 Karoly Lorentey <lorentey@elte.hu>
886
887 * server.el (server-process-filter): When processing -position
888 command, don't change the request string until the parameters are
889 extracted.
890
8912005-02-18 Karoly Lorentey <lorentey@elte.hu>
892
893 * frame.el (blink-cursor-mode): Adapt blink-cursor-mode default
894 value from startup.el.
895
8962005-02-10 Karoly Lorentey <lorentey@elte.hu>
897
898 * server.el (server-kill-emacs-query-function): Fix typo in docs.
899 (server-save-buffers-kill-display): If emacsclient was started with a
900 list of filenames to edit, then offer to save only these buffers.
901
9022005-02-04 Karoly Lorentey <lorentey@elte.hu>
903
904 * frame.el (make-frame-on-display): Protect condition on
905 x-initialized when x-win.el is not loaded.
906
907 * server.el (server-process-filter): Don't try to create an X frame
908 when Emacs does not support it. Improve logging.
909
910 * server.el (server-send-string): New function.
911 (server-handle-suspend-tty, server-process-filter): Use it.
912
913 * server.el (server-process-filter, server-unquote-arg)
914 (server-quote-arg): Doc updates.
915
9162004-11-06 Karoly Lorentey <lorentey@elte.hu>
917
918 * progmodes/gdb-ui.el: Protect define-fringe-bitmap with fboundp.
919
9202004-10-14 Karoly Lorentey <lorentey@elte.hu>
921
922 * server.el (server-with-client-environment): New macro.
923 (server-process-filter): Temporarily set ncurses-related environment
924 variables to those of the client while creating a new tty frame.
925
9262004-10-10 Karoly Lorentey <lorentey@elte.hu>
927
928 * server.el: Doc updates.
929 (server-select-display): Remove (unused).
930 (server-handle-suspend-tty): Kill the client in case of errors from
931 process-send-string.
932
9332004-08-23 Karoly Lorentey <lorentey@elte.hu>
934
935 * server.el ("\C-x#"): Fix typo. (Thanks Han Boetes, Ted Morse and
936 Ami Fischman.)
937
9382004-08-16 Karoly Lorentey <lorentey@elte.hu>
939
940 * server.el (server-save-buffers-kill-display): New function.
941
942 * files.el (ctl-x-map): Change binding of C-x C-c to
943 server-save-buffers-kill-display.
944
9452004-07-10 Karoly Lorentey <lorentey@elte.hu>
946
947 * emulation/viper-util.el: Unconditionally fset viper-get-face and
948 viper-color-defined-p under Emacs.
949
9502004-07-10 Karoly Lorentey <lorentey@elte.hu>
951
952 * emulation/viper-init.el (viper-has-face-support-p): Acknowledge
953 that Emacs has face support on ttys.
954
9552004-07-10 Karoly Lorentey <lorentey@elte.hu>
956
957 * frame.el (suspend-frame): Use display-controlling-tty-p to decide
958 between suspend-emacs and suspend-tty.
959
9602004-07-10 Karoly Lorentey <lorentey@elte.hu>
961
962 * server.el (server-process-filter): Select buffers opened by
963 nowait clients, don't leave them buried under others. (Reported by
964 Dan Nicolaescu.)
965 (server-visit-files): Return list of buffers created. Update doc.
966
9672004-07-04 Karoly Lorentey <lorentey@elte.hu>
968
969 * frame.el (make-frame-on-display): Update doc.
970 (make-frame): Handle display-id parameter. Update doc.
971 (frames-on-display-list): Update for display ids.
972 (framep-on-display): Ditto.
973 (suspend-frame): Use display-name, not frame-tty-name.
974 (selected-display): New function.
975
976 * server.el (server-delete-client): Use delete-display, not
977 delete-tty.
978 (server-tty-live-p, server-handle-delete-tty): Removed.
979 (server-handle-delete-frame): Delete tty clients, if needed.
980 (server-process-filter): Set the display parameter, and use it
981 when appropriate.
982 (server-handle-suspend-tty): Use the display parameter.
983 (server-start, server-unload-hook): Removed obsolete delete-tty
984 hook.
985
986 * talk.el (talk): Always use talk-add-display.
987 (talk-add-tty-frame, talk-handle-delete-tty): Removed.
988 (talk-handle-delete-frame): New function.
989 (talk-add-display): Open a new frame only if parameter was not a frame.
990
9912004-07-03 Karoly Lorentey <lorentey@elte.hu>
992
993 * server.el (server-visit-files): Don't set client-record when nowait.
994
9952004-06-08 Karoly Lorentey <lorentey@elte.hu>
996
997 * server.el (server-start): Ask before restarting if the old server
998 still has clients. Added feedback messages.
112 999
113 This placeholder will be replaced by the Arch logs of the
114 multi-tty branch.
115 1000
116;; Local Variables: 1001;; Local Variables:
117;; coding: iso-2022-7bit 1002;; coding: iso-2022-7bit
diff --git a/lwlib/ChangeLog.multi-tty b/lwlib/ChangeLog.multi-tty
new file mode 100644
index 00000000000..52169f39963
--- /dev/null
+++ b/lwlib/ChangeLog.multi-tty
@@ -0,0 +1,12 @@
12006-05-24 Karoly Lorentey <lorentey@elte.hu>
2
3 * xlwmenu.c (XlwMenuRealize): Fix x_catch_errors and
4 x_uncatch_errors invocation.
5
62006-01-02 Karoly Lorentey <lorentey@elte.hu>
7
8 * xlwmenu.c (XlwMenuRealize): Ignore X errors while setting up
9 cursor shape.
10
11
12;; arch-tag: bee9b967-809c-4221-906c-50446a308c77
diff --git a/mac/ChangeLog.multi-tty b/mac/ChangeLog.multi-tty
new file mode 100644
index 00000000000..ce414f6297c
--- /dev/null
+++ b/mac/ChangeLog.multi-tty
@@ -0,0 +1,11 @@
12005-12-26 Karoly Lorentey <lorentey@elte.hu>
2
3 * makefile.MPW (callproc.c.x): Update dependencies.
4
52005-12-25 Karoly Lorentey <lorentey@elte.hu>
6
7 * makefile.MPW (EmacsObjects): Add terminal.c.x.
8 ({Src}terminal.c.x): Add dependencies.
9
10
11;; arch-tag: f3b2ce5d-5476-47dd-a18b-4b481c737a25
diff --git a/man/ChangeLog.multi-tty b/man/ChangeLog.multi-tty
new file mode 100644
index 00000000000..41eae4226ca
--- /dev/null
+++ b/man/ChangeLog.multi-tty
@@ -0,0 +1,6 @@
12005-02-03 Karoly Lorentey <lorentey@elte.hu>
2
3 * frames.texi: Fix two typos in Drag and Drop node.
4
5
6;; arch-tag: 3c379c08-9497-420c-a975-29017aee7cf5
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty
index ad5e8bb92d2..099531b928b 100644
--- a/src/ChangeLog.multi-tty
+++ b/src/ChangeLog.multi-tty
@@ -166,10 +166,1455 @@
166 166
167 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. 167 * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k.
168 168
1692007-05-12 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu> 1692007-04-22 Karoly Lorentey <karoly@lorentey.hu>
170
171 * xterm.c (x_scroll_bar_expose): Fix reference to foreground pixel.
172
1732007-02-24 Karoly Lorentey <karoly@lorentey.hu>
174
175 * frame.c (x_set_screen_gamma, store_frame_param): Fix compilation
176 errors.
177
1782006-12-03 Karoly Lorentey <lorentey@elte.hu>
179
180 * window.c (set_window_buffer): Don't call clear_mouse_face on tty
181 frames.
182
1832006-10-14 Karoly Lorentey <lorentey@elte.hu>
184
185 * puresize.h (BASE_PURESIZE): Increase puresize.
186
187 * alloc.c (emacs_blocked_malloc): Disable mallopt call.
188
1892006-07-30 Karoly Lorentey <lorentey@elte.hu>
190
191 * puresize.h (BASE_PURESIZE): Increase to 1126000.
192
1932006-07-29 Karoly Lorentey <lorentey@elte.hu>
194
195 * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char):
196 Fix get_named_tty calls for the controlling tty.
197 (Patch by Kalle Olavi Niemitalo <kon@iki.fi>)
198
1992006-07-29 Karoly Lorentey <lorentey@elte.hu>
200
201 * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]:
202 Rename from Fmenu_bar_open.
203 (syms_of_xmenu): Update defsubr.
204
2052006-07-29 Karoly Lorentey <lorentey@elte.hu>
206
207 * xterm.h: Remove declaration for x_fully_uncatch_errors.
208
209 * xterm.c (x_fully_uncatch_errors): Disable definition.
210
211 * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors.
212 (internal_condition_case, internal_condition_case_1)
213 (internal_condition_case_2): Don't abort when x_catching_errors.
214
2152006-05-26 Karoly Lorentey <lorentey@elte.hu>
216
217 * callproc.c (Vglobal_environment, Vlocal_environment_variables):
218 Remove.
219 (getenv_internal, child_setup): Don't look at global-environment
220 or local-environment-variables.
221 (Fgetenv_internal): Update docs.
222 (set_initial_environment): Rename from set_global_environment.
223 Store Emacs environment in initial frame parameter.
224 (syms_of_callproc): Remove obsolete defvars. Update docs.
225
226 * emacs.c (main): Call set_initial_environment, not
227 set_global_environment.
228
2292006-05-20 Karoly Lorentey <lorentey@elte.hu>
230
231 * frame.c (make_terminal_frame): Don't create frames on a terminal
232 that is being deleted.
233 * xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
234
235 * keyboard.c (tty_read_avail_input): Don't read from a terminal that
236 is being deleted.
237
238 * term.c (get_named_tty): Abort if tty name is NULL. Simplify
239 accordingly.
240
241 * term.c (Ftty_type): Return nil if terminal is not on a tty instead
242 of throwing an error. Doc update.
243
244 * term.c (init_tty): Set name before calling `get_named_tty'.
245
246 * term.c (delete_tty): Let delete_terminal delete the frames. Plug
247 memory leak caused by tty->name. Remove reference to `deleting_tty'.
248
249 * term.c (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>:
250 Doc update.
251
252 * termhooks.h (terminal) <name>: Explain why identifying terminals
253 by name is a bad idea.
254
255 * terminal.c (delete_terminal): Doc update.
256
257 * xterm.c (XTread_socket): Disable loop on all X displays.
258
259 * xterm.c (x_delete_display): Doc update to reflect changes in
260 delete_terminal.
261
262 * xterm.c (x_delete_terminal): Don't set terminal->deleted and let
263 delete_terminal delete the frames on the terminal.
264
265 * xterm.h (x_display_info) <terminal>: Move member earlier in the
266 struct.
267
2682006-05-20 Karoly Lorentey <lorentey@elte.hu>
269
270 * termhooks.h (terminal) <deleted>: New member.
271
272 * term.c (delete_tty): Use it.
273 (deleting_tty): Remove old variable.
274
275 * terminal.c (delete_terminal): Use terminal->deleted.
276
277 * xterm.c (x_delete_terminal): Use terminal->deleted. Delete all
278 frames on the display explicitly.
279
2802006-05-20 Karoly Lorentey <lorentey@elte.hu>
281
282 * term.c (Fsuspend_tty): Call clear_tty_hooks.
283 (Fresume_tty, init_tty): Call set_tty_hooks.
284 (clear_tty_hooks, set_tty_hooks): New functions.
285
2862006-05-20 Karoly Lorentey <lorentey@elte.hu>
287
288 * puresize.h (BASE_PURESIZE): Increase to 1240000.
289
2902006-05-20 Karoly Lorentey <lorentey@elte.hu>
291
292 * xfaces.c (realize_default_face): Don't use FRAME_FONT unless frame
293 is an X frame.
294
2952006-04-20 Karoly Lorentey <lorentey@elte.hu>
296
297 * dispnew.c (Fsend_string_to_terminal): Update call to
298 `get_tty_terminal'.
299
300 * term.c (Fsuspend_tty, Fresume_tty): Update call to
301 `get_tty_terminal'.
302 (get_tty_terminal): Add throw parameter.
303 (Ftty_display_color_p, Ftty_display_color_cells): Don't throw
304 errors on X frames.
305
306 * dispextern.h (get_tty_terminal): Update prototype.
307
3082006-04-01 Karoly Lorentey <lorentey@elte.hu>
309
310 * frame.c (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and
311 FRAME_FOREGROUND_PIXEL.
312 * gtkutil.c (xg_create_frame_widgets): Ditto.
313 * macfns.c (x_set_mouse_color): Ditto.
314 * macfns.c (x_make_gc): Ditto.
315 * msdos.c (ScreenVisualBell): Ditto.
316 * msdos.c (internal_terminal_init): Ditto.
317 * w32term.c (x_free_frame_resources): Ditto.
318 * xfns.c (x_window): Ditto.
319 * xterm.c (x_scroll_bar_create): Ditto.
320 * xterm.c (x_scroll_bar_set_handle): Ditto.
321
3222006-04-01 Karoly Lorentey <lorentey@elte.hu>
323
324 * xterm.h (x_output): Remove background_pixel and foreground_pixel
325 fields.
326
327 * widget.c (update_from_various_frame_slots): Use
328 FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
329
330 * xfns.c (x_set_foreground_color): Ditto.
331 * xfns.c (x_set_background_color): Ditto.
332 * xfns.c (x_set_mouse_color): Ditto.
333 * xfns.c (x_set_cursor_color): Ditto.
334 * xfns.c (x_make_gc): Ditto.
335 * xfns.c (Fx_create_frame): Ditto.
336 * xfns.c (x_create_tip_frame): Ditto.
337 * xfns.c (build_string): Ditto.
338 * xterm.c (XTflash): Ditto.
339 * xterm.c (x_free_frame_resources): Ditto.
340
3412006-03-26 Karoly Lorentey <lorentey@elte.hu>
342
343 * term.c: Include errno.h.
344 (Fcontrolling_tty_p): Compare name with "/dev/tty", not NULL.
345 (Fresume_tty): Handle errors on reopening ttys. Don't dissociate
346 if terminal was explicitly opened on the controlling terminal.
347 (init_tty): Initialize local pointers. Always set name (use
348 "/dev/tty" for controlling tty.) Remove special case for name ==
349 NULL.
350
3512006-03-26 Karoly Lorentey <lorentey@elte.hu>
352
353 * frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'.
354
3552006-03-12 Karoly Lorentey <lorentey@elte.hu>
356
357 * xfns.c (x_create_tip_frame): Fix syntax error.
358
3592006-03-12 Karoly Lorentey <lorentey@elte.hu>
360
361 * xfns.c (Fx_create_frame): Use `store_frame_param' to set
362 `window-system' frame parameter, and make sure it overrides any
363 user-supplied setting.
364
365 * xfns.c (x_icon): Disable redundant call to
366 `x_wm_set_window_state'. (Also applied in CVS.)
367
3682006-03-08 Karoly Lorentey <lorentey@elte.hu>
369
370 * frame.c (Fmake_terminal_frame): Handle NULL tty names correctly.
371
3722006-03-08 Karoly Lorentey <lorentey@elte.hu>
373
374 * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of
375 Vwindow_system.
376
3772006-02-25 Karoly Lorentey <lorentey@elte.hu>
378
379 * keyboard.c (read_key_sequence): Remove unused variable
380 wrong_kboard_jmpbuf.
381
3822006-02-25 Karoly Lorentey <lorentey@elte.hu>
383
384 * frame.c (store_frame_param): Check for found_for_frame before
385 calling XFRAME.
386
3872006-02-23 Karoly Lorentey <lorentey@elte.hu>
388
389 * puresize.h (BASE_PURESIZE): Increase to 1230000.
390
3912006-02-20 Karoly Lorentey <lorentey@elte.hu>
392
393 * regex.c (extend_range_table_work_area, regex_compile, fastmap):
394 Revert previous unnecessary changes.
395
3962006-02-14 Karoly Lorentey <lorentey@elte.hu>
397
398 * keyboard.c (Fset_quit_char): Don't leave tty state uninitialized
399 after an error.
400
4012006-02-12 Karoly Lorentey <lorentey@elte.hu>
402
403 * xterm.c (x_catch_errors_unwind): Abort if x_error_message is NULL.
404
4052006-01-30 Karoly Lorentey <lorentey@elte.hu>
406
407 * callproc.c (getenv_internal): Fix C99ism.
408
4092006-01-28 Karoly Lorentey <lorentey@elte.hu>
410
411 * keyboard.c (read_char): Declare. Update call to
412 `read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf correctly in
413 recursive calls.
414 (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf
415 parameter. Use it in call to `read_char'.
416
4172006-01-17 Karoly Lorentey <lorentey@elte.hu>
418
419 * Makefile.in (SOME_MACHINE_LISP): Fix typo.
420
4212006-01-11 Karoly Lorentey <lorentey@elte.hu>
422
423 * process.c (Fmake_network_process): Don't unrequest_sigio on modern
424 systems.
425
426 * keyboard.c (Fset_input_interrupt_mode): Cosmetic change.
427
428 * sysdep.c (request_sigio): Make it a no-op if noninteractive.
429 (unrequest_sigio): Make it a no-op if noninteractive.
430
4312006-01-05 Karoly Lorentey <lorentey@elte.hu>
432
433 * keyboard.c (read_char): Enhance comment before extra longjmp to
434 wrong_kboard_jmpbuf.
435 (read_key_sequence): Handle deleted interrupted_kboards correctly; that
436 is a legal case.
437
4382006-01-03 Karoly Lorentey <lorentey@elte.hu>
439
440 * callint.c (Fcall_interactively): Update call to
441 `temporarily_switch_to_single_kboard'.
442
443 * fns.c (Fy_or_n_p): Ditto.
444
445 * frame.c (Fdelete_frame): Remove unused variable `count'.
446
447 * keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
448
449 * keyboard.c (read_char): Add wrong_kboard_jmpbuf parameter to allow
450 for recursive calls. Update longjmp invocations. Remember the
451 original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when a
452 filter, timer or sentinel changes it. Comment out unnecessary calls to
453 `record_single_kboard_state' and `any_kboard_state'. Update recursive
454 calls.
455
456 * keyboard.c (read_key_sequence): Add `wrong_kboard_jmpbuf' local
457 variable. Update setjmp and read_char calls. Abort if
458 interrupted_kboard died in read_char.
459
460 * keyboard.c (any_kboard_state, single_kboard_state)
461 (record_single_kboard_state): Comment out obsolete functions.
462 (push_frame_kboard): Remove function.
463 (pop_kboard): Switch out of single_kboard mode if the
464 kboard has been deleted.
465 (temporarily_switch_to_single_kboard): Change first
466 parameter to a frame pointer. Throw an error when caller wants to
467 change kboards while in single_kboard mode.
468 (restore_kboard_configuration): Abort if pop_kboard changed
469 the kboard in single_kboard mode.
470 (Frecursive_edit): Switch to single_kboard mode only in
471 nested command loops.
472 (cmd_error, command_loop, command_loop_1, timer_check):
473 Comment out unnecessary call to `any_kboard_state' and
474 `record_single_kboard_state'.
475
476 * keyboard.c (delete_kboard): Exit single_kboard mode if we have just
477 deleted that kboard.
478
479 * keyboard.c (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
480 `fatal_error_signal'.
481
482 * keyboard.h (read_char, single_kboard_state)
483 (record_single_kboard_state): Remove.
484 (temporarily_switch_to_single_kboard): Update.
485
486 * lread.c: Include setjmp.h. Update declaration of `read_char'.
487 (read_filtered_event): Call `read_char' with a local
488 `wrong_kboard_jmpbuf'.
489
490 * minibuf.c (read_minibuf): Update call to
491 `temporarily_switch_to_single_kboard'.
492
493 * termchar.h (tty_display_info): Rename `previous_terminal_frame'
494 member to `previous_frame'.
495
496 * xdisp.c (redisplay_internal): Update references to
497 `previous_terminal_frame'.
498 (display_mode_line, Fformat_mode_line): Replace calls to
499 `push_frame_kboard' with `push_kboard'.
500
5012006-01-02 Karoly Lorentey <lorentey@elte.hu>
502
503 * keyboard.c (pop_kboard): Help debugging by not changing
504 current_kboard unnecessarily.
505 (temporarily_switch_to_single_kboard, record_single_kboard_state):
506 Don't push_kboard if we weren't in single kboard state.
507 Don't pop_kboard if we popped into any kboard state.
508
5092006-01-01 Karoly Lorentey <lorentey@elte.hu>
510
511 * xfns.c (Fx_close_connection, Fx_synchronize): Unify argument names
512 with the rest of the DEFUNs.
513
5142005-12-31 Karoly Lorentey <lorentey@elte.hu>
515
516 * frame.c (Fframe_with_environment): Fix typo.
517
5182005-12-31 Karoly Lorentey <lorentey@elte.hu>
519
520 * terminal.c: Include <stdio.h>.
521
5222005-12-30 Karoly Lorentey <lorentey@elte.hu>
523
524 * xdisp.c (get_glyph_string_clip_rects): Add extra parentheses and
525 braces to prevent compiler warnings.
526 (calc_pixel_width_or_height): Add xassert to check that the
527 frame is alive. Don't call `lookup_image' on a termcap frame.
528
529 * image.c (lookup_image): Don't initialize `c' until the xasserts
530 have been run.
531
5322005-12-29 Karoly Lorentey <lorentey@elte.hu>
533
534 * callproc.c (syms_of_callproc): Initialize
535 `Vlocal-environment-variables' to `Qt'.
536
5372005-12-29 Karoly Lorentey <lorentey@elte.hu>
538
539 * termhooks.h (struct device): Rename to `terminal'. Rename member
540 `next_device' to `next_terminal'.
541 (device_list): Rename to `terminal_list'.
542 (FRAME_DEVICE): Rename to `FRAME_TERMINAL'.
543 (DEVICE_TERMINAL_CODING): Rename to `TERMINAL_TERMINAL_CODING'.
544 (TERMINAL_KEYBOARD_CODING): Rename to `TERMINAL_KEYBOARD_CODING'.
545 (DEVICE_ACTIVE_P): Rename to `TERMINAL_ACTIVE_P'.
546 Update declarations and macro definitions.
547
548 * termchar.h (tty_display_info): Rename member `device' to `terminal'.
549 (FRAME_TTY): Update for renames.
550
551 * xterm.h (x_display_info): Rename member `device' to `terminal'.
552
553 * frame.h (frame): Rename `device' member to `terminal'.
554 (FRAME_KBOARD, FRAME_LIVE_P, Qdevice, Qdisplay_live_p):
555 Update for renames.
556
557 * lisp.h (set_process_environment): Rename to `set_global_environment'.
558 (device): Rename to `terminal'.
559
560 * dispextern.h: Update declarations and macro definitions.
561
562 * terminal.c (device_list): Rename to `terminal_list'.
563 (next_device_id): Rename to `next_terminal_id'.
564 (initial_device): Rename to `initial_terminal'.
565 (get_device): Rename to `get_terminal'.
566 (create_device): Rename to `create_terminal'.
567 (mark_devices): Rename to `mark_terminals'.
568 (delete_device): Rename to `delete_terminal'.
569 (Fdelete_display): Rename to `Fdelete_terminal'.
570 (Fframe_terminal): Move here from frame.c.
571 (Fdisplay_live_p): Rename to `Fterminal_live_p'.
572 (Fdisplay_list): Rename to `Fterminal_list'.
573 (Fdisplay_name): Rename to `Fterminal_name'.
574 (init_initial_device): Rename to `init_initial_terminal'.
575 (delete_initial_device): Rename to `delete_initial_terminal'.
576 (ring_bell, update_begin, update_end, set_terminal_window)
577 (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
578 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
579 (ins_del_lines, get_terminal_param, store_terminal_param)
580 (Fterminal_parameters, Fterminal_parameter)
581 (Fmodify_terminal_parameters, Fset_terminal_parameter)
582 (syms_of_terminal): Update for renames.
583
584 * term.c (get_tty_device): Rename to `get_tty_terminal'. Update.
585 (Fdisplay_tty_type): Rename to `Ftty_type'.
586 (Fdisplay_controlling_tty_p): Rename to `Fcontrolling_tty_p'.
587 (delete_tty, tty_set_terminal_modes, tty_reset_terminal_modes)
588 (Ftty_display_color_p, Ftty_display_color_cells, get_named_tty)
589 (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output)
590 (init_tty, maybe_fatal, delete_tty, syms_of_term): Update for rename.
591
592 * frame.c (Qdevice): Rename to `Qterminal'.
593 (Qdisplay_live_p): Rename to `Qterminal_live_p'.
594 (terminal_frame_count): Rename to `tty_frame_count'.
595 (Fframe_display): Move to terminal.c, rename to `Fframe_terminal'.
596 (make_frame_without_minibuffer, make_initial_frame)
597 (make_terminal_frame, Fmodify_frame_parameters)
598 (do_switch_frame, Fdelete_frame, Fmouse_position)
599 (Fmouse_pixel_position, Fraise_frame, Flower_frame)
600 (Fredirect_frame_focus, set_term_frame_name, syms_of_frame):
601 Update for renames.
602
603 * xdisp.c (message2_nolog, message3_nolog, redisplay_internal)
604 (set_vertical_scroll_bar, redisplay_window, check_x_display_info)
605 (x_set_scroll_bar_foreground, x_set_scroll_bar_background)
606 (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p)
607 (Fx_display_pixel_width, Fx_display_pixel_height)
608 (Fx_display_planes, Fx_display_color_cells)
609 (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
610 (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width)
611 (Fx_display_backing_store, Fx_display_visual_class)
612 (Fx_display_save_under, Fx_close_connection, x_create_tip_frame):
613 Update for renames.
614
615 * xterm.c (handle_one_xevent): Initialize `f' to NULL.
616 (x_delete_device): Rename to `x_delete_terminal'.
617 (x_create_device): Rename to `x_create_terminal'.
618 (XTset_terminal_modes, XTreset_terminal_modes)
619 (XTread_socket, x_connection_closed, x_term_init)
620 (x_term_init, x_delete_display): Update for renames.
621
622 * dispnew.c (Fredraw_frame, Fsend_string_to_terminal)
623 (Fsend_string_to_terminal, init_display): Update for renames.
624
625 * keyboard.c (push_frame_kboard, pop_kboard, pop_kboard)
626 (kbd_buffer_get_event, read_avail_input, tty_read_avail_input)
627 (interrupt_signal, Fset_output_flow_control)
628 (Fset_input_meta_mode, Fset_quit_char, delete_kboard)
629 (syms_of_keyboard): Update for renames.
630
631 * alloc.c (mark_devices): Update declaration.
632 (Fgarbage_collect): Update for renames.
633
634 * coding.c (Fset_terminal_coding_system_internal)
635 (Fterminal_coding_system4)
636 (Fset_keyboard_coding_system_internal)
637 (Fkeyboard_coding_system): Update for renames.
638
639 * data.c (Fterminal_local_value, Fset_terminal_local_value):
640 Update for renames.
641
642 * minibuf.c (read_minibuf): Update for renames.
643
644 * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames.
645
646 * xselect.c (x_handle_selection_clear): Update for renames.
647
6482005-12-29 Karoly Lorentey <lorentey@elte.hu>
649
650 * callproc.c (Fgetenv_internal, syms_of_callproc): Update doc strings.
651
6522005-12-29 Karoly Lorentey <lorentey@elte.hu>
653
654 * callproc.c (child_setup, getenv_internal, Fgetenv_internal):
655 Store the local environment in a frame (not terminal) parameter.
656 Update doc strings.
657 (syms_of_callproc): Update doc strings.
658 (Qenvironment): Moved to frame.c.
659
660 * frame.c (Qenvironment): Move here from callproc.c.
661 (Fdelete_frame): Don't allow other frames to refer to a deleted frame
662 in their 'environment parameter.
663 (Fframe_with_environment): New function.
664 (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment.
665
666 * frame.h (Qenvironment): Declare.
667 * lisp.h (Fframe_with_environment): EXFUN it.
668
6692005-12-29 Karoly Lorentey <lorentey@elte.hu>
670
671 * callproc.c (syms_of_callproc): Initialize Vprocess_environment
672 to nil.
673
6742005-12-29 Karoly Lorentey <lorentey@elte.hu>
675
676 * callproc.c (Vglobal_environment): New variable, taking over the
677 previous role of `Vprocess_environment', which is now something else.
678 (add_env): New function.
679 (child_setup): Use it.
680 (child_setup, getenv_internal): Rename Vprocess_environment to
681 Vglobal_environment. Handle the new Vprocess_environment.
682 (Fgetenv_internal, egetenv): Update doc.
683 (set_process_environment): Rename to `set_global_environment'. Rename
684 Vprocess_environment to Vglobal_environment.
685 (syms_of_callproc): Rename process-environment to global-environment,
686 add new process-environment, update docs.
687
688 * emacs.c (main): Call set_global_environment instead of
689 set_process_environment.
690
691 * fileio.c (Fread_file_name): Update comment.
692
6932005-12-26 Karoly Lorentey <lorentey@elte.hu>
694
695 * callproc.c (getenv_internal): Fix get_terminal_param call.
696
697 * dispextern.h (get_device): Move declaration to termhooks.h.
698 * termhooks.h (get_device): Move here.
699
7002005-12-26 Karoly Lorentey <lorentey@elte.hu>
701
702 * callproc.c: Include frame.h and termhooks.h, for terminal parameters.
703 (Qenvironment): New constant.
704 (Vlocal_environment_variables): New variable.
705 (syms_of_callproc): Register and initialize them.
706 (child_setup): Handle Vlocal_environment_variables.
707 (getenv_internal): Add terminal parameter. Handle
708 Vlocal_environment_variables.
709 (Fgetenv_internal): Add terminal parameter.
710
711 * termhooks.h (get_terminal_param): Declare.
712
713 * Makefile.in (callproc.o): Update dependencies.
714
7152005-12-25 Karoly Lorentey <lorentey@elte.hu>
716
717 * term.c (Vring_bell_function, device_list, initial_device)
718 (next_device_id, ring_bell, update_begin, update_end)
719 (set_terminal_window, cursor_to, raw_cursor_to)
720 (clear_to_end, clear_frame, clear_end_of_line)
721 (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines)
722 (get_device, Fdisplay_name, create_device, delete_device)
723 (Fdelete_display, Fdisplay_live_p, Fdisplay_list)
724 Move to terminal.c.
725 (syms_of_term): Move their initialization to terminal.c.
726
727 * terminal.c: New file.
728 (device_list, next_device_id, initial_device, Vring_bell_function)
729 (ring_bell, update_begin, update_end, set_terminal_window)
730 (cursor_to, raw_cursor_to, clear_to_end, clear_frame)
731 (clear_end_of_line, write_glyphs, insert_glyphs, delete_glyphs)
732 (ins_del_lines, get_device, create_device, delete_device)
733 (Fdelete_display, Fdisplay_live_p, Fdisplay_list, Fdisplay_name):
734 Move here.
735 (mark_devices, get_terminal_param, store_terminal_param)
736 (Fterminal_parameters, Fterminal_parameter)
737 (Fmodify_terminal_parameters, Fset_terminal_parameter)
738 (init_initial_device, delete_initial_device)
739 (syms_of_terminal): New functions.
740
741 * Makefile.in (obj): Add terminal.o.
742 (terminal.o): Add dependencies.
743 [HAVE_CARBON]: Make terminal.o depend on macgui.h.
744
745 * alloc.c (mark_devices): Declare.
746 (Fgarbage_collect): Call `mark_devices'.
747
748 * dispextern.h (set_scroll_region, turn_off_insert)
749 (turn_off_highlight, background_highlight, clear_end_of_line_raw)
750 (tty_clear_end_of_line, tty_setup_colors, delete_tty): Remove.
751 (raw_cursor_to, clear_to_end, tty_turn_off_insert)
752 (tty_turn_off_highlight): Add declaration.
753
754 * emacs.c (main): Call `syms_of_terminal'.
755
756 * frame.c (get_future_frame_param): New function.
757 (Fmake_terminal_frame): Use it.
758
759 * keyboard.c (pop_kboard): Remove unused variable.
760 (Fset_output_flow_control): Return nil.
761
762 * keymap.h (Fset_keymap_parent): Add EXFUN.
763
764 * lisp.h (syms_of_terminal): Declare it.
765
766 * sysdep.c (reset_sys_modes): Update for renames.
767
768 * term.c (set_scroll_region): Rename to `tty_set_scroll_region'.
769 (turn_on_insert): Rename to `tty_turn_on_insert'.
770 (turn_off_insert): Rename to `tty_turn_off_insert'.
771 (turn_off_highlight): Rename to `tty_turn_off_highlight'.
772 (turn_on_highlight): Rename to `tty_turn_on_highlight'.
773 (toggle_highligh): Rename to `tty_toggle_highlight'.
774 (background_highlight): Rename to `tty_background_highlight'.
775 (highlight_if_desired): Rename to `tty_highlight_if_desired'.
776
777 (tty_ring_bell, tty_update_end, tty_set_terminal_window)
778 (tty_set_scroll_region, tty_background_highlight)
779 (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end)
780 (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs)
781 (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines)
782 (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty)
783 (delete_tty): Add static modifier.
784
785 (tty_reset_terminal_modes, tty_set_terminal_window)
786 (tty_set_scroll_region, tty_background_highlight)
787 (tty_highlight_if_desired, tty_cursor_to)
788 (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame)
789 (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs)
790 (tty_delete_glyphs, tty_ins_del_lines, turn_on_face):
791 Update for renames.
792
793 * termhooks.h (param_alist): New member to struct device.
794
795 * xterm.h (x_delete_device): Declare.
796
7972005-12-23 Karoly Lorentey <lorentey@elte.hu>
798
799 * keyboard.c (Fset_input_interrupt_mode): Fix compilation error
800 during non-X builds.
801
8022005-12-23 Karoly Lorentey <lorentey@elte.hu>
803
804 * print.c (print_preprocess): Don't loose print_depth levels while
805 iterating.
806
8072005-12-23 Karoly Lorentey <lorentey@elte.hu>
808
809 * keyboard.c (Fset_input_interrupt_mode, Fset_output_flow_control)
810 (syms_of_keyboard): Defsubr them.
811 (Fset_input_meta_mode, Fset_quit_char): New functions.
812 (Fset_input_mode): Split to above functions.
813
814 * lisp.h: EXFUN the new functions.
815
816 * xterm.c (x_initialize): Use Fset_input_interrupt_mode.
817 * macterm.c (mac_initialize): Ditto.
818
8192005-12-22 Karoly Lorentey <lorentey@elte.hu>
820
821 * term.c (suspend-tty): Update doc string.
822
8232005-12-19 Karoly Lorentey <lorentey@elte.hu>
824
825 * dispnew.c (window_change_signal): Fix typo.
826
8272005-12-13 Karoly Lorentey <lorentey@elte.hu>
828
829 * dispnew.c (window_change_signal): Don't believe width/height values
830 that are impossibly small.
831
8322005-12-12 Karoly Lorentey <lorentey@elte.hu>
833
834 * xterm.c (x_term_init) [!HAVE_GTK_MULTIDISPLAY]:
835 Refuse to create secondary X connections.
836
8372005-12-12 Karoly Lorentey <lorentey@elte.hu>
838
839 * keyboard.c (kbd_buffer_store_event_hold): Simplify condition.
840 (read_key_sequence): Reinitialize fkey and keytran at each replay.
841
842 * coding.c (Fkeyboard_coding_system): Update doc.
843
8442005-11-19 Karoly Lorentey <lorentey@elte.hu>
845
846 * puresize.h (BASE_PURESIZE): Increase to 1220000.
847
8482005-11-07 Karoly Lorentey <lorentey@elte.hu>
849
850 * puresize.h (BASE_PURESIZE): Increase to 1210000.
851
8522005-11-07 Karoly Lorentey <lorentey@elte.hu>
853
854 * data.c (do_symval_forwarding, store_symval_forwarding)
855 (find_symbol_value): Use the selected frame's keyboard, not
856 current_kboard.
857
858 * data.c (Fterminal_local_value, Fset_terminal_local_value): Disable
859 these functions.
860
861 * data.c (syms_of_data): Don't defsubr them.
862
8632005-10-29 Karoly Lorentey <lorentey@elte.hu>
864
865 * keyboard.c (mark_kboards): Also mark Vkeyboard_translate_table.
866
8672005-10-28 Karoly Lorentey <lorentey@elte.hu>
868
869 * keyboard.c (Vkeyboard_translate_table): Moved to struct kboard.
870 * keyboard.h (Vkeyboard_translate_table): Moved to struct kboard.
871
872 * keyboard.c (read_char): Use current_kboard to access
873 Vkeyboard_translate_table.
874 * keymap.c (Fdescribe_buffer_bindings): Ditto.
875
876 * keyboard.c (init_kboard): Initialize Vkeyboard_translate_table.
877
878 * keyboard.c (syms_of_keyboard): Use DEFVAR_KBOARD to define
879 Vkeyboard_translate_table. Update doc strings.
880
8812005-10-28 Karoly Lorentey <lorentey@elte.hu>
882
883 * keyboard.c (syms_of_keyboard): Update docs of
884 local-function-key-map and function-key-map.
885
8862005-10-23 Karoly Lorentey <lorentey@elte.hu>
887
888 * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Change address to the
889 multi-tty mailing list.
890
8912005-09-19 Karoly Lorentey <lorentey@elte.hu>
892
893 * term.c (tty_set_terminal_modes): Output newlines on the correct
894 terminal device.
895
8962005-09-11 Karoly Lorentey <lorentey@elte.hu>
897
898 * keyboard.c (pop_kboard): Set current_kboard to the kboard of the
899 selected frame when the stored kboard object has been deleted before
900 pop_kboard.
901 (restore_kboard_configuration): Call pop_kboard only after setting up
902 single_kboard mode.
903
9042005-09-11 Karoly Lorentey <lorentey@elte.hu>
905
906 * keyboard.c: Add forward declaration of restore_kboard_configuration.
907
908 emacs--multi-tty--0--patch-414
909
910 * fns.c: Include termhooks.h.
911 (Fy_or_n_p): Use temporarily_switch_to_single_kboard to prevent crashes
912 caused by bogus longjmps in read_char.
913
914 * callint.c (Fcall_interactively): Use
915 temporarily_switch_to_single_kboard instead of single_kboard_state.
916 Make sure it is correctly unwinded.
917
918 * keyboard.c (recursive_edit_unwind): Remove single_kboard stuff.
919 (Frecursive_edit): Use temporarily_switch_to_single_kboard for
920 single_kboard state management.
921
922 * minibuf.c (read_minibuf): Use temporarily_switch_to_single_kboard
923 instead of simply calling single_kboard_state.
924
925 * keyboard.c (push_device_kboard): Remove function.
926 (push_kboard): New function.
927 (push_frame_kboard): Use it.
928 (pop_frame_kboard): Rename to pop_kboard.
929
930 * xdisp.c (display_mode_line, Fformat_mode_line): Update uses.
931
932 * data.c: Include termhooks.h.
933 (Fterminal_local_value, Fset_terminal_local_value): Update.
934
935 * Makefile.in (data.o, fns.o): Add termhooks.h dependency.
936
937 * keyboard.h (push_device_kboard, pop_frame_kboard): Remove
938 declarations.
939 (push_kboard, pop_kboard, temporarily_switch_to_single_kboard)
940 (record_single_kboard_state): New declarations.
941
9422005-09-11 Karoly Lorentey <lorentey@elte.hu>
943
944 * dispextern.h (get_tty_device): Declare.
945
946 * dispnew.c (Fsend_string_to_terminal): Add optional TERMINAL
947 parameter.
948
949 * fns.c (Fy_or_n_p, Fyes_or_no_p): Don't try to open an X dialog on
950 tty terminals.
951
952 * term.c (get_tty_device): Remove static qualifier.
953
954 * xmenu.c (create_and_show_dialog, create_and_show_popup_menu)
955 (free_frame_menubar, mouse_position_for_popup, set_frame_menubar)
956 (update_frame_menubar, x_activate_menubar, xdialog_show, xmenu_show):
957 Abort when given a non-X frame.
958
959 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Throw an error when run
960 on a non-X frame.
961
9622005-09-07 Karoly Lorentey <lorentey@elte.hu>
963
964 * dispnew.c (init_display): Set up `window-system' and `tty-type'
965 frame parameters in the initial tty frame.
966
967 * frame.c (Fmake_terminal_frame): Look up the `tty-type' frame
968 parameter, not `tty' when discovering the tty type of the new frame.
969 Initialize `tty' and `tty-type' frame parameters in the new frame.
970
9712005-08-04 Karoly Lorentey <lorentey@elte.hu>
972
973 * window.c (window_internal_height): Remove bogus make_number call.
974
9752005-08-04 Karoly Lorentey <lorentey@elte.hu>
976
977 * xsmfns.c (x_session_close): New function.
978 * xterm.h: Declare it.
979
980 * xterm.c (XTread_socket): Don't call x_session_check_input for
981 secondary displays.
982 (x_term_init): Do not initialize X session management when the
983 initial display was a tty frame.
984 (x_delete_display): Close X session management when we close its
985 display.
986
9872005-07-12 Karoly Lorentey <lorentey@elte.hu>
988
989 * keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to
990 'Vlocal_function_key_map', and 'Vkey_translation_map' to
991 'Vlocal_key_translation_map'.
992 (Vfunction_key_map, Vkey_translation_map): New declarations.
993
994 * keyboard.c (Vfunction_key_map): New variable.
995 (Vglobal_key_translation_map): Rename to
996 Vglobal_key_translation_map.
997 (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards):
998 Update.
999
1000 * keymap.c (Fdescribe_buffer_bindings): Update.
1001 * term.c (term_get_fkeys_1): Update.
1002
1003
10042005-07-11 Karoly Lorentey <lorentey@elte.hu>
1005
1006 * xdisp.c (select_frame_for_redisplay): Fix xassert.
1007
10082005-07-11 Karoly Lorentey <lorentey@elte.hu>
1009
1010 * termhooks.h (struct device): Rename to `struct device'.
1011 Rename member `next_display' to `next_device'.
1012 Rename member `delete_display_hook' to `delete_device_hook'.
1013 (FRAME_DISPLAY): Rename to FRAME_DEVICE.
1014 (DISPLAY_ACTIVE_P): Rename to DEVICE_ACTIVE_P.
1015 (DISPLAY_TERMINAL_CODING): Rename to DEVICE_TERMINAL_CODING.
1016 (DISPLAY_KEYBOARD_CODING): Rename to DEVICE_KEYBOARD_CODING.
1017
1018 * frame.h (stuct frame): Rename `display' member to `device'.
1019
1020 * xterm.h (x_display_info): Rename member `frame_display' to `device'.
1021
1022 * termchar.h (struct tty_display_info): Rename `display' member to
1023 `device'.
1024
1025 * keyboard.c (push_display_kboard): Rename to push_device_kboard.
1026
1027 * frame.c (Fmake_terminal_frame): Ditto.
1028 * xfns.c (Fx_create_frame): Ditto.
1029
1030 * term.c (display_list): Rename to device_list.
1031 * term.c (initial_display): Rename to initial_device.
1032 * term.c (next_display_id): Rename to next_device_id.
1033 * term.c (get_display): Rename to get_device.
1034 * term.c (get_tty_display): Rename to get_tty_device.
1035 * term.c (get_named_tty_display): Rename to get_named_tty.
1036 * term.c (init_initial_display): Rename to init_initial_device.
1037 * term.c (delete_initial_display): Rename to delete_initial_device.
1038 * term.c (create_display): Rename to create_device.
1039 * term.c (delete_display): Rename to delete_device.
1040
1041 * xfns.c (check_x_display_info): Document that the function allows
1042 display ids as well.
1043
1044 * xterm.c (x_delete_frame_display): Rename to x_delete_device.
1045 * xterm.c (x_create_frame_display): Rename to x_create_device.
1046
1047 * coding.c: Update.
1048 * dispextern.h: Update.
1049 * data.c: Update.
1050 * dispnew.c: Update.
1051 * frame.c: Update.
1052 * frame.h: Update.
1053 * keyboard.c: Update.
1054 * keyboard.h: Update.
1055 * lisp.h: Update.
1056 * sysdep.c: Update.
1057 * term.c: Update.
1058 * xdisp.c: Update.
1059 * xselect.c: Update.
1060 * xterm.c: Update.
1061
1062 * prefix-args.c: Include stdlib.h for exit.
1063
10642005-07-10 Karoly Lorentey <lorentey@elte.hu>
1065
1066 * term.c (term_init): Rename to init_tty.
1067
1068 * dispextern.h (term_init): Rename to init_tty.
1069
1070 * dispnew.c (init_display): Update.
1071 * frame.c (Fmake_terminal_frame): Update.
1072 * term.c (tty_setup_colors): Update comment.
1073
10742005-07-10 Karoly Lorentey <lorentey@elte.hu>
1075
1076 * xdisp.c (select_frame_for_redisplay): Add xassert for
1077 FRAME_LIVE_P.
1078 (unwind_redisplay): Don't restore previous frame if it has been
1079 deleted.
1080
10812005-07-10 Karoly Lorentey <lorentey@elte.hu>
1082
1083 * term.c (term_init): Move maybe_fatal declaration to top-level to
1084 prevent complaints from GCC 4.0.
1085
10862005-07-06 Karoly Lorentey <lorentey@elte.hu>
1087
1088 * frame.c (syms_of_frame): Add warning to `delete-frame-functions' description.
1089
10902005-07-03 Karoly Lorentey <lorentey@elte.hu>
1091
1092 * term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Flush
1093 tty output before returning.
1094
1095 * sysdep.c (reset_sys_modes): Remove superflous fflush call.
1096
10972005-06-27 Karoly Lorentey <lorentey@elte.hu>
1098
1099 * data.c (Fterminal_local_value, Fset_terminal_local_value): New functions.
1100 (syms_of_data): Defsubr them.
1101
1102 * keyboard.c (syms_of_keyboard): Expand docs of terminal-local
1103 variables to warn about their random bindings.
1104
11052005-06-27 Karoly Lorentey <lorentey@elte.hu>
1106
1107 * keyboard.c (push_display_kboard): New function.
1108 * keyboard.h (push_display_kboard): Declare it.
1109
11102005-06-27 Karoly Lorentey <lorentey@elte.hu>
1111
1112 * termhooks.h (display): New field: kboard.
1113
1114 * xterm.h (x_display_info): Remove kboard field.
1115 * termchar.h (tty_display_info): Ditto.
1116 * frame.h (frame): Ditto.
1117 (FRAME_KBOARD): Update.
1118
1119 * dispnew.c (init_display): Don't initialize kboard.
1120 * frame.c (make_frame, make_initial_frame, make_terminal_frame): Ditto.
1121
1122 * frame.c (make_frame_without_minibuffer, Fdelete_frame): Update
1123 kboard access.
1124 * keyboard.c (delete_kboard): Ditto.
1125 * term.c (term_init): Ditto.
1126 * xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
1127 * xselect.c (x_handle_selection_clear): Ditto.
1128 * xterm.c (x_term_init): Ditto.
1129
1130 * term.c (init_initial_display): Initialize kboard.
1131 * xterm.c (x_term_init): Ditto.
1132
1133 * term.c (delete_tty): Remove kboard deletion.
1134 (delete_display): Delete kboard as well.
1135
11362005-06-26 Karoly Lorentey <lorentey@elte.hu>
1137
1138 * keymap.c (Vkey_translation_map): Remove.
1139 (syms_of_keymap): Remove DEFVAR for key-translation-map.
1140 (Fdescribe_buffer_bindings): Update for terminal-local
1141 key-translation-map.
1142
1143 * keyboard.h (kboard): Add Vkey_translation_map field.
1144 (Vglobal_key_translation_map): Declare.
1145
1146 * keyboard.c (Vglobal_key_translation_map): New variable.
1147 (syms_of_keyboard): DEFVAR it and Vkey_translation_map.
1148 (mark_kboards): Mark key-translation-map.
1149 (read_key_sequence): Update for terminal-local key-translation-map.
1150
1151 * emacs.c (main): Call syms_of_keymap before syms_of_keyboard.
1152
11532005-06-26 Karoly Lorentey <lorentey@elte.hu>
1154
1155 * keyboard.c (Fset_input_mode): Call reset_sys_modes and
1156 init_sys_modes on the selected device only; do not use the bulk
1157 functions reset_all_sys_modes and init_all_sys_modes.
1158
11592005-06-26 Karoly Lorentey <lorentey@elte.hu>
1160
1161 * term.c (term_init): Make sure the function keys are set up in the
1162 correct function-key-map.
1163 (term_get_fkeys_arg): Rename to term_get_fkeys_address.
1164 (term_get_fkeys_kboard): New variable.
1165 (term_get_fkeys): Use it.
1166
11672005-06-25 Karoly Lorentey <lorentey@elte.hu>
1168
1169 * keyboard.h (kboard): Move Vfunction_key_map inside the kboard struct.
1170
1171 * keyboard.c (Vfunction_key_map): Remove declaration.
1172 (read_key_sequence, init_kboard): Update references to
1173 Vfunction_key_map.
1174 (syms_of_keyboard): Declare function-key-map as a terminal-local
1175 variable.
1176 (mark_kboards): Mark Vfunction_key_map.
1177
1178 * keymap.c (Vfunction_key_map): Remove.
1179 (Fdescribe_buffer_bindings): Update references to Vfunction_key_map.
1180 (syms_of_keymap): Remove DEFVAR for Vfunction_key_map.
1181
1182 * term.c (term_get_fkeys_1): Update references to Vfunction_key_map.
1183
11842005-05-09 Karoly Lorentey <lorentey@elte.hu>
1185
1186 * xfns.c (start_hourglass): Disable display type check, it would
1187 break multi-tty.
1188
11892005-05-03 Karoly Lorentey <lorentey@elte.hu>
1190
1191 * term.c (get_display): Fix typo.
1192
11932005-05-03 Karoly Lorentey <lorentey@elte.hu>
1194
1195 * termhooks.h (DISPLAY_TERMINAL_CODING, DISPLAY_KEYBOARD_CODING):
1196 New macros.
1197
1198 * coding.c (Fset_terminal_coding_system_internal)
1199 (Fterminal_coding_system, Fset_keyboard_coding_system_internal)
1200 (Fkeyboard_coding_system): Add DISPLAY parameter.
1201
1202 * term.c (get_display): Add THROW parameter.
1203 (get_tty_display, Fdisplay_name, Fdisplay_tty_type)
1204 (Fdisplay_controlling_tty_p, Fdelete_display, Fdisplay_live_p):
1205 Update callers.
1206
1207 * xfns.c (check_x_display_info): Ditto.
1208 * frame.c (Fmake_terminal_frame, Fframe_display): Ditto.
1209
1210 * dispextern.h (get_display): Update prototype.
1211
12122005-04-26 Karoly Lorentey <lorentey@elte.hu>
1213
1214 * xdisp.c (with_echo_area_buffer, set_message, set_message_1)
1215 (echo_area_display): Revert change applied in patch-328.
1216
12172005-04-18 Karoly Lorentey <lorentey@elte.hu>
1218
1219 * Makefile.in (SOME_MACHINE_LISP): Add dnd.elc.
1220
12212005-04-18 Karoly Lorentey <lorentey@elte.hu>
1222
1223 * xfaces.c (internal_resolve_face_name, resolve_face_name_error):
1224 New functions.
1225 (resolve_face_name): Protect against loops and errors thrown by
1226 Fget.
1227
12282005-03-27 Karoly Lorentey <lorentey@elte.hu>
1229
1230 * xfns.c (unwind_create_frame): Don't do anything if the frame is
1231 already dead.
1232
12332005-03-27 Karoly Lorentey <lorentey@elte.hu>
1234
1235 * xterm.c (x_delete_frame_display): Call xg_display_close under GTK.
1236 (x_connection_closed): Don't close the display before its frames
1237 are deleted. Protect against the last frame calling the display
1238 delete hook.
1239
12402005-03-23 Karoly Lorentey <lorentey@elte.hu>
1241
1242 * termchar.h: Fix deviation from CVS.
1243 * xfns.c (Fx_create_frame): Ditto.
1244
1245 * xterm.c (x_delete_display): Cosmetic change.
1246 * xterm.c (x_create_frame_display): Cosmetic change.
1247
12482005-03-19 Karoly Lorentey <lorentey@elte.hu>
1249
1250 * xfns.c (Fx_close_connection): Remove declaration cruft.
1251
1252 * xterm.c (x_delete_frame_display): Declare i. Fix initialization of
1253 dpyinfo.
1254
12552005-03-19 Karoly Lorentey <lorentey@elte.hu>
1256
1257 * xfns.c (Fx_close_connection): Move code to x_delete_frame_display.
1258 (x_delete_frame_display): Actually close the X connection.
1259
12602005-03-08 Karoly Lorentey <lorentey@elte.hu>
1261
1262 * sysdep.c (narrow_foreground_group): Don't abort if inherited_pgroup
1263 is zero.
1264
12652005-03-07 Karoly Lorentey <lorentey@elte.hu>
1266
1267 * xterm.c (Vinhibit_redisplay): Declare for x_flush.
1268
12692005-03-07 Karoly Lorentey <lorentey@elte.hu>
1270
1271 * xterm.c (x_flush): Return immediately when redisplay is inhibited.
1272
12732005-02-18 Karoly Lorentey <lorentey@elte.hu>
1274
1275 * keyboard.c (interrupt_signal, handle_interrupt): Move thread check
1276 to interrupt_signal. Check for frame on controlling tty instead of
1277 current selected frame in handle_interrupt.
1278
12792005-02-04 Karoly Lorentey <lorentey@elte.hu>
1280
1281 * dispnew.c (build_frame_matrix_from_leaf_window): Fix typo.
1282
12832005-02-03 Karoly Lorentey <lorentey@elte.hu>
1284
1285 * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG.
1286 * xfns.c (unwind_create_frame): Ditto.
1287 * dispnew.c (build_frame_matrix_from_leaf_window): Ditto.
1288
12892004-12-08 Karoly Lorentey <lorentey@elte.hu>
1290
1291 * xfns.c (x_create_tip_frame): Copy color slot initialization
1292 safeguards from x-create-frame. Trivial doc update.
1293
12942004-12-08 Karoly Lorentey <lorentey@elte.hu>
1295
1296 * puresize.h (BASE_PURESIZE): Enlarge base value by 100000.
1297
12982004-11-28 Karoly Lorentey <lorentey@elte.hu>
1299
1300 * dispextern.h (updated_window): Remove comment reference to
1301 updating_frame.
1302
1303 * dispnew.c (update_window): Remove bogus xassert.
1304
1305 * xterm.c: (x_clear_frame): Update comment.
1306 (x_draw_window_cursor): Remove reference to updating_frame.
1307
13082004-11-28 Karoly Lorentey <lorentey@elte.hu>
1309
1310 * keyboard.c (cmd_error_internal): Remove slightly bogus comment.
1311
13122004-10-14 Karoly Lorentey <lorentey@elte.hu>
1313
1314 * xdisp.c (handle_single_display_prop): Use FRAME_WINDOW_P instead of
1315 checking against specific frame types. Ignore images on non-window
1316 frames.
1317 (echo_area_display): Use FRAME_INITIAL_P to check for initial frame.
1318 (redisplay_preserve_echo_area): Update for multi-tty support.
1319 (redisplay_window): Don't bother with toolbars, fringe bitmaps or
1320 vertical borders on tty frames.
1321 (display_line): Remove superflous #ifdefs.
1322
13232004-10-08 Karoly Lorentey <lorentey@elte.hu>
1324
1325 * fringe.c (init_fringe_bitmap): Removed C99ism.
1326
13272004-09-13 Karoly Lorentey <lorentey@elte.hu>
1328
1329 * Makefile.in (minibuf.o): Fix typo.
1330
13312004-09-10 Karoly Lorentey <lorentey@elte.hu>
1332
1333 * xterm.c (x_connection_closed): Inhibit redisplay while frames are
1334 being deleted.
1335
13362004-07-11 Karoly Lorentey <lorentey@elte.hu>
1337
1338 * xfns.c (Fx_create_frame): Fix verifying return value of x_get_arg
1339 for Qdisplay_id.
1340
13412004-07-10 Karoly Lorentey <lorentey@elte.hu>
1342
1343 * term.c (Fdisplay_controlling_tty_p): New function.
1344
1345 * term.c (syms_of_term): Initialize Sdisplay_controlling_tty_p.
1346
1347 * keyboard.c (Fsuspend_emacs): Give a better error message when
1348 there are multiple open tty devices.
1349
13502004-07-05 Karoly Lorentey <lorentey@elte.hu>
1351
1352 * keyboard.c (interrupt_signal): Don't call fatal_error_signal with
1353 an extra parameter.
1354
13552004-07-04 Karoly Lorentey <lorentey@elte.hu>
1356
1357 * term.c (get_tty_display): Don't signal an error on the initial frame.
1358
13592004-07-04 Karoly Lorentey <lorentey@elte.hu>
1360
1361 * dispextern.h (get_display, Fdisplay_tty_type): New prototypes.
1362 (Fframe_tty_type): Removed.
1363
1364 * dispnew.c (init_display): Use Fdisplay_tty_type, not Fframe_tty_type.
1365
1366 * frame.c (Qdisplay_id, Qdisplay_live_p): New symbols.
1367 (make_terminal_frame): Get display as a parameter.
1368 (Fmake_terminal_frame): Get/create display here; pass it to
1369 make_terminal_frame.
1370 (Fframe_display): New function.
1371 (Fdelete_frame): Stop if the hook deleted the frame.
1372 (syms_of_frame): Register new stuff.
1373
1374 * frame.h (Qdisplay_id, Qdisplay_live_p, make_terminal_frame):
1375 Updated prototypes.
1376
1377 * keyboard.c (interrupt_signal): Updated comment.
1378
1379 * term.c (Vdelete_tty_after_functions): Removed variable.
1380 (Qframe_tty_name, Qframe_tty_type): Removed.
1381 (next_display_id): New var.
1382 (tty_ring_bell): Don't do anything on suspended frames.
1383 (Ftty_display_color_p, Ftty_display_color_cells): Doc update.
1384 (get_display): New function.
1385 (get_tty_display): Use it.
1386 (get_named_tty_display): Ignore suspended displays.
1387 (Fframe_tty_name): Renamed to Fdisplay_name. Handle all kinds of
1388 displays.
1389 (Fframe_tty_type): Renamed to Fdisplay_tty_type.
1390 (init_initial_display): Set display name.
1391 (term_init): Allow more displays on the same device. Set display name.
1392 (Fdelete_tty): Removed.
1393 (delete_tty): Don't run hooks.
1394 (create_display): Set display id.
1395 (delete_display): Free display name.
1396 (Fdelete_display, Fdisplay_live_p, Fdisplay_list): New functions.
1397 (Fsuspend_tty): Call hook with display id. Doc update.
1398 (Fresume_tty): Refuse to resume when there is already an active display
1399 on the same device. Call hook with display id. Doc update.
1400 (syms_of_term): Reflect above changes.
1401
1402 * termhooks.h (struct display): Added `id' and `name' members.
1403 (DISPLAY_ACTIVE_P): New macro.
1404
1405 * xfns.c (check_x_display_info): Handle display ids.
1406 (Fx_create_frame): Try to get display from `display-id' parameter.
1407
1408 * xterm.c (x_term_init): Set display name.
1409 (x_delete_display): Handle the case when `font_table' is NULL.
1410
14112004-06-15 Karoly Lorentey <lorentey@elte.hu>
1412
1413 * term.c (Ftty_display_color_cells): Return 0 in case of an error,
1414 not nil.
1415
14162004-06-11 Karoly Lorentey <lorentey@elte.hu>
1417
1418 * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error.
1419 (Contributed by ARISAWA Akihiro <ari@mbf.ocn.ne.jp>).
1420
14212004-06-08 Karoly Lorentey <lorentey@elte.hu>
1422
1423 * term.c (dissociate_if_controlling_tty): On some systems TIOCNOTTY
1424 works only on /dev/tty. Adapt the function accordingly.
1425
14262004-06-08 Karoly Lorentey <lorentey@elte.hu>
1427
1428 * keyboard.c (interrupt_signal): Don't call Fkill_emacs from a
1429 signal handler; use fatal_error_signal instead.
1430
14312004-06-07 Karoly Lorentey <lorentey@elte.hu>
1432
1433 * keyboard.c (command_loop): Clear single_kboard each time Emacs
1434 returns to top-level.
1435
14362004-06-06 Karoly Lorentey <lorentey@elte.hu>
1437
1438 * term.c (tty_insert_glyphs): Added missing first
1439 parameter (contributed by Yoshiaki Kasahara
1440 <kasahara@nc.kyushu-u.ac.jp>).
1441 (encode_terminal_code): Converted to use ANSI prototype syntax.
1442
14432004-06-05 Karoly Lorentey <lorentey@elte.hu>
1444
1445 * dispnew.c (init_display): Always install handler for SIGWINCH.
1446 (Reported by Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>.)
1447
1448 * term.c: Massive updates throuout the file.
1449 (TS_*, TN_*): Moved to struct tty_output.
1450 (RPov, delete_in_insert_mode se_is_so, costs_set, insert_mode):
1451 Ditto.
1452 (standout_mode, specified_window, tty_cursor_hidden): Ditto.
1453 (tty_set_terminal_modes, tty_reset_terminal_modes): New functions.
1454 (turn_on_insert, turn_off_insert): Added tty parameter.
1455 (turn_on_highlight, turn_off_highlight, toggle_highlight): Added
1456 tty parameter.
1457 (tty_hide_cursor, tty_show_cursor): Ditto.
1458 (background_highlight, highlight_if_desired): Ditto.
1459 (tty_capable_p): Changed first parameter to tty_output.
1460 (term_init): Make sure top_frame is initialized. Don't exit on
1461 errors if this would have been a secondary terminal. Call
1462 set_terminal_modes on the end.
1463 (delete_tty): New function.
1464 (delete_tty_1): New function.
1465 (print_all_frames): New function, marginally useful for debugging.
1466
1467 * termchar.h (struct tty_output): Changed old_tty to be a pointer.
1468 Removed old_tty_valid member. Added tty-specific variables from
1469 term.c.
1470
1471 * xfaces.c (Ftty_supports_face_attributes_p): Update for new
1472 tty_capable_p.
1473
14742003-12-25 Karoly Lorentey <lorentey@elte.hu>
1475
1476 * term.c (clear_end_of_line): Use updating_frame instead of
1477 selected_frame.
1478 (set_scroll_region, clear_to_end, clear_frame, tty_show_cursor):
1479 Ditto.
1480 (tty_hide_cursor, turn_on_highlight, turn_off_highlight): Ditto.
1481 (turn_on_insert, turn_off_insert): Ditto.
1482
1483 * termchar.h (struct terminal): Renamed to struct tty_output.
1484 Added name, type, input, output, termscript, old_tty,
1485 term_initted, old_tty_valid, background_pixel, foreground_pixel,
1486 next fields.
1487 (TERMINAL_*): Renamed to TTY_* for brevity.
1488 (CURRENT_TERMINAL): Renamed to CURTTY for brevity.
1489 (tty_list): New variable.
1490 (TERMINAL_PTR): Removed.
1491 (FRAME_TTY): New function.
1492 (TTY_NAME, TTY_TYPE): New macros.
1493
1494 * term.c (current_terminal): Removed.
1495 (_current_terminal): Removed.
1496 (tty_list): New variable.
1497 (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF): Added tty
1498 parameter.
1499 (set_terminal_modes): Added tty parameter.
1500 (reset_terminal_modes): Added tty parameter.
1501 (cursor_to, raw_cursor_to): Updated cmgoto() calls.
1502 (clear_end_of_line, write_glyphs): Add indirection to terminal
1503 output, updated cmcheckmagic() calls.
1504 (get_named_tty): New function.
1505 (term_dummy_init): New function.
1506 (term_init): Added name parameter, added tty_output return value.
1507 Changed algorithm to update tty_list. Call init_sys_modes() to
1508 set up tty mode on the newly opened terminal device.
1509 (get_current_tty): New function, intended for debugging.
1510
1511 * termhooks.h (termscript): Removed.
1512
1513 * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL):
1514 Removed redundant definition.
1515 * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto.
1516
1517 * window.c (init_window_once): Call make_terminal_frame with two
1518 zero parameters.
1519
1520 * cm.h (emacs_tputs): New macro to set current_tty, and then call
1521 tputs().
1522 (current_tty): New variable, for cmputc().
1523 (cmcheckmagic, cmputc, cmgoto): Added prototypes.
1524
1525 * cm.c (current_tty): New variable, for cmputc().
1526 (cmputc): Use it.
1527 (cmcheckmagic): Added tty parameter, look up terminal streams
1528 there.
1529 (calccost): Added tty parameter. Use emacs_tputs() instead of
1530 tputs().
1531 (cmgoto): Added tty parameter. Pass it on to calccost(). Use
1532 emacs_tputs() instead of tputs().
1533
1534 * dispextern.h (set_terminal_modes, reset_terminal_modes): Added
1535 tty parameter.
1536 (term_init): Added name parameter (the filename of the terminal
1537 device). Added return value (struct tty_output).
1538
1539 * dispnew.c: Replace CURTTY() with local variables throughout the
1540 file (where applicable).
1541 (termscript): Moved to struct tty_output.
1542 (terminal_type): Removed.
1543
1544 * emacs.c (main): Don't call init_sys_modes(), the new term_init()
1545 already does that during init_display().
1546 (shut_down_emacs): Call reset_all_sys_modes() instead of
1547 reset_sys_modes().
1548
1549 * frame.c (Qtty, Qtty_type): New variables.
1550 (syms_of_frame): Initialize them.
1551 (tty_display): Removed.
1552 (make_terminal_frame): New parameters (tty filename and type).
1553 Initialize output_data.tty field instead of output_data.x. Use
1554 term_init() to find the right tty_output. (Use term_dummy_init()
1555 during bootstrap.)
1556 (Fmake_terminal_frame): Get device filename and type from frame
1557 parameters.
1558
1559 * frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the
1560 right thing if the frame is a tty.
1561 (struct frame): New member in output_data: tty.
1562 (make_terminal_frame): Updated of prototype.
1563
1564 * keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
1565 reset_sys_modes(). Ditto with init_sys_modes().
1566
1567 * lisp.h (tty_output): Added forward declaration.
1568 (init_sys_modes, reset_sys_modes): Updated prototype.
1569 (init_all_sys_modes, reset_all_sys_modes): New prototypes.
1570
1571 * scroll.c: Replace CURTTY() with local variables throughout the
1572 file (where applicable).
1573
1574 * sysdep.c (old_tty, term_initted, old_tty_valid): Moved to struct
1575 tty_output.
1576 (init_all_sys_modes): New function.
1577 (init_sys_modes): Added tty_output parameter. Use it.
1578 (reset_all_sys_modes): New function.
1579 (reset_sys_modes): Added tty_output parameter. Use it.
1580
1581 * Makefile.in: Update dependencies.
1582
15832003-12-24 Karoly Lorentey <lorentey@elte.hu>
1584
1585 * termchar.h (struct terminal): New struct.
1586 (must_write_spaces, min_padding_speed, line_ins_del_ok)
1587 (char_ins_del_ok, scroll_region_ok, scroll_region_cost)
1588 (memory_below_frame, fast_clear_end_of_line): Moved to struct
1589 terminal.
1590 (current_terminal): New variable.
1591 (CURRENT_TERMINAL, TERMINAL_*): New accessor macros.
1592 (min_padding_speed, dont_calculate_costs): Commented out (unused).
1593
1594 * term.c (_current_terminal): New variable. Will be removed when
1595 true multi-tty support is implemented.
1596
1597 * termopts.h (no_redraw_on_reenter): Moved here.
1598
1599 * term.c (set_terminal_window, ins_del_lines, calculate_costs)
1600 (term_init): Use the accessor macros for terminal characteristics.
1601 * dispnew.c (line_hash_code, line_draw_cost)
1602 (direct_output_for_insert, update_frame_1, scrolling)
1603 (update_frame_line): Ditto.
1604 * macterm.c (mac_initialize): Ditto.
1605 * msdos.c (internal_terminal_init): Ditto.
1606 * scroll.c (calculate_scrolling, calculate_direct_scrolling)
1607 (scrolling_1, scroll_cost): Ditto.
1608 * sysdep.c (hft_init): Ditto.
1609 * w32term.c (w32_initialize): Ditto.
1610 * xdisp.c (try_window_id): Ditto.
1611 * xterm.c (x_initialize): Ditto.
1612
16132004-07-12 Karoly Lorentey <lorentey@elte.hu>
1614
1615 * keyboard.c (echo_dash): Do nothing if there already is a dash at
1616 the end of the echo string.
170 1617
171 This placeholder will be replaced by the Arch logs of the
172 multi-tty branch.
173 1618
174;; Local Variables: 1619;; Local Variables:
175;; coding: iso-2022-7bit 1620;; coding: iso-2022-7bit