Richard M. Stallman
0d777288c3
(x_delete_display) [AIX]: Don't call XRmDestroyDatabase.
1995-08-05 00:57:17 +00:00
Richard M. Stallman
20de20dce1
(redisplay): When displaying a terminal frame,
...
if it isn't the same one as last time, clear it and redraw.
Don't redisplay mini_frame as well, if it is a termcap frame.
1995-08-03 23:19:05 +00:00
Richard M. Stallman
a249de7973
Move various Q... vars to top of file, unconditional.
...
(Vterminal_frame): Just one definition, at top of file, unconditional.
(syms_of_frame_1): New function.
(syms_of_frame. both definitions): Call syms_of_frame_1.
(set_menu_bar_lines, set_menu_bar_lines_1): New functions.
(store_frame_parameter): Call set_menu_bar_lines.
[!MULTI_FRAME] (Fmodify_frame_parameters): Call set_menu_bar_lines.
1995-08-03 09:05:09 +00:00
Richard M. Stallman
569871d219
(read_key_sequence): Don't downshift an event
...
if that fails to make it bound.
(follow_key): Don't alter contents of NEXT until the end.
1995-08-03 00:02:07 +00:00
Richard M. Stallman
89669e3e5f
(HAVE_SOCKETS, NEED_NET_ERRNO_H): Defined.
...
(HAVE_TERMIOS): Defined.
(HAVE_TERMIO): Add undef.
1995-08-02 18:41:00 +00:00
Richard M. Stallman
3be64b69f2
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
1995-08-02 18:39:47 +00:00
Richard M. Stallman
c15ce82938
(HAVE_SELECT): Defined.
1995-08-02 18:37:33 +00:00
Richard M. Stallman
91ea2a7a54
(XTread_socket): For UnmapNotify, use x_top_window_to_frame.
1995-08-02 18:32:39 +00:00
Richard M. Stallman
f2cfa9a63e
Maybe include net/errno.h.
1995-08-02 18:31:46 +00:00
Richard M. Stallman
310ea200ba
(cons_cells_consed, floats_consed, vector_cells_consed)
...
(symbols_consed, string_chars_consed, misc_objects_consed)
(intervals_consed): New vars.
(make_float, Fcons, make_interval, allocate_vectorlike, Fmake_symbol)
(allocate_misc, make_uninit_string): Increment them.
(Fmemory_use_counts): New function.
(syms_of_alloc): defsubr it.
1995-08-02 18:30:53 +00:00
Richard M. Stallman
ffcb5a5127
[USE_X_TOOLKIT] (xmenu_show): Compute root-based
...
coordinates. Make a dummy event to pass them to lw_popup_menu.
(single_submenu): Only ignore 1st char of pane name if that is an @.
1995-08-02 08:17:20 +00:00
Richard M. Stallman
721565973f
(do_switch_frame): Do nothing special when switching between terminal frames.
1995-08-01 23:53:30 +00:00
Roland McGrath
00f7bd7264
(getloadavg): Set FD_CLOEXEC flag on /dev/kmem file descriptor.
1995-08-01 18:29:36 +00:00
Karl Heuer
eee5aed1f2
(GETTIMEOFDAY_ONE_ARGUMENT): Deleted; configure handles this now.
1995-07-31 18:19:30 +00:00
Simon Marshall
ff936e5324
Add Frun_hooks, Frun_hook_with_args, Frun_hook_with_args_until_success, Frun_hook_with_args_until_failure in terms of run_hook_with_args.
1995-07-31 12:07:10 +00:00
Simon Marshall
f1b6e5fc82
Declare hook running functions.
1995-07-31 12:02:51 +00:00
Richard M. Stallman
90c2bb0c68
(kbd_buffer_get_event, swallow_events): Fix prev change.
1995-07-31 05:34:55 +00:00
Richard M. Stallman
133c7a8ac2
(Fmake_terminal_frame): Copy face_alist from selected frame.
1995-07-30 07:06:08 +00:00
Richard M. Stallman
639f52d858
(HAVE_XRMSETDATABASE): Define if not defined.
1995-07-30 07:04:03 +00:00
Richard M. Stallman
848e24545c
Initial revision
1995-07-29 00:57:29 +00:00
Richard M. Stallman
e0301c07f0
(kbd_buffer_get_event): Update input_pending after
...
discarding one event from the queue, if we process the event here.
(swallow_events): Likewise.
(Vkey_translation_map): Just declare, don't define.
(syms_of_keyboard): Don't set up Lisp var.
1995-07-28 16:36:01 +00:00
Karl Heuer
53e2440448
(syms_of_eval): Add missing defsubr.
1995-07-28 08:16:47 +00:00
Richard M. Stallman
d7bf9bf5e4
(describe_buffer_bindings): Print bindings from
...
Vfunction_key_map and from Vkey_translation_map.
(describe_translation): New function.
(describe_command): Handle vector like string.
(describe_map_tree): New arg TRANSL. Callers changed.
1995-07-28 02:57:41 +00:00
Richard M. Stallman
4f875022f2
(GETTIMEOFDAY_ONE_ARGUMENT): Add #undef.
1995-07-28 02:54:28 +00:00
Karl Heuer
cb26008f39
(record_overlay_string, overlay_strings): Handle zero-sized overlays better.
1995-07-27 22:44:41 +00:00
Karl Heuer
e8185fa816
(struct sortstrlist): New type.
...
(overlay_heads, overlay_tails): Change to struct sortstrlist.
(overlay_heads_len, overlay_tails_len): Deleted; now part of struct.
(record_overlay_string): New function.
(overlay_strings): Simplify. Use record_overlay_string.
Check for window match in overlays_after loop, not just in
overlays_before.
1995-07-27 21:47:59 +00:00
Richard M. Stallman
4c2eb2429b
(update_menu_bar): Pass new arg to set_frame_menubar.
...
(syms_of_xdisp): Doc fix.
1995-07-26 22:50:32 +00:00
Richard M. Stallman
3a7b95fb58
(prefix-args): Pass ALL_LDFLAGS.
1995-07-26 21:48:05 +00:00
David J. MacKenzie
aa63d44050
TERMCAP_NAME -> TERMCAP_FILE.
1995-07-26 19:46:59 +00:00
David J. MacKenzie
9e3295f914
(tparam): Remove arg array and the #ifdef.
1995-07-26 18:20:46 +00:00
David J. MacKenzie
aa42ddbe49
Move #define of bcopy to after #include <string.h>.
1995-07-26 17:54:50 +00:00
Karl Heuer
54e9e9537a
Do renamings:
...
frame->display => frame->output, struct x_display -> struct x_output.
1995-07-26 00:04:12 +00:00
Richard M. Stallman
9c25094f32
(LIBS_SYSTEM): Defined.
1995-07-25 23:20:36 +00:00
Richard M. Stallman
d492fe7016
(LIBS_MACHINE): Delete -lsun.
1995-07-25 23:18:12 +00:00
Richard M. Stallman
7556890b58
Renamings: frame->display => frame->output, struct x_display -> sruct x_output.
1995-07-25 21:55:50 +00:00
Richard M. Stallman
f39d16924d
(struct x_output): Renamed from struct x_display.
1995-07-25 21:20:18 +00:00
Richard M. Stallman
785ee691c3
(struct frame): Rename display' member to output_data'.
...
Use new data type name for output_data.x.
1995-07-25 21:14:46 +00:00
Karl Heuer
aa681b5110
(run-hook-with-args): Fix previous code.
1995-07-25 20:27:48 +00:00
Richard M. Stallman
88766961a3
Include buffer.h.
...
(x_activate_menubar): New function.
(set_frame_menubar): New arg deep_p. Callers changed.
Run various hooks here when deep_p is true.
(frame_vector): Variable deleted.
(syms_of_xmenu): Don't staticpro it.
(frame_vector_add_frame): Function deleted.
(menubar_id_to_frame): New function.
(menubar_selection_callback): Use menubar_id_to_frame.
(next_menubar_widget_id): New variable.
(set_frame_menubar): Use next_menubar_widget_id.
(free_frame_menubar): Get id from f->display.x->id.
1995-07-25 20:26:10 +00:00
Richard M. Stallman
c8b5ebed34
(enum event_kind): Added menu_bar_activate_event.
1995-07-25 20:24:46 +00:00
Richard M. Stallman
099787c1f1
(kbd_buffer_get_event) [USE_X_TOOLKIT]:
...
Handle menu_bar_activate_event by calling x_activate_menubar.
1995-07-25 20:23:50 +00:00
Richard M. Stallman
51057b1fa4
(struct x_display): New fields saved_button_event, id.
1995-07-25 20:21:15 +00:00
Richard M. Stallman
2224b90547
(next_noop_dpyinfo): New variable.
...
(XTread_socket): Use that to cycle through all displays for XNoOp.
(XTread_socket) [USE_X_TOOLKIT]: For ButtonPress in menu bar,
save the event--don't pass to Xt yet. Make a menu_bar_activate_event.
(temp_index, temp_buffer): Now static.
1995-07-25 20:13:23 +00:00
Richard M. Stallman
fd3a302261
(x_menubar_window_to_frame): New function.
1995-07-25 20:10:03 +00:00
Karl Heuer
8449a569e1
(signal_before_change): Use Frun_hook_with_args.
...
(signal_after_change): Likewise.
1995-07-25 19:57:02 +00:00
Karl Heuer
b0b667cb90
(Frun_hook_with_args): New C function, formerly in subr.el.
1995-07-25 19:36:42 +00:00
Karl Heuer
7baf1f090b
(Frun_hook_with_args): Declare this function.
1995-07-25 19:36:20 +00:00
Richard M. Stallman
103dcb3822
(Fprimitive_undo): Don't end inner loop
...
just because a previous-modtime doesn't match any more.
1995-07-25 02:18:58 +00:00
Richard M. Stallman
f8a8749802
(Fstart_process): Don't expand the file name before trying openp.
1995-07-25 01:42:05 +00:00
Richard M. Stallman
fbdc1545c3
(Fprevious_window, Fnext_window): When minibuf = nil,
...
accept only the minibuffer window that is currently active.
1995-07-23 07:11:26 +00:00