Richard M. Stallman
c823611d96
(PUSH_FAILURE_INT, POP_FAILURE_INT): Use WIDE_INT.
...
(WIDE_INT): Defined (two alternate definitions).
(C_ALLOCA): Undef it, if __GNUC__.
(REGEX_ALLOCATE_STACK, REGEX_REALLOCATE_STACK)
(REGEX_FREE_STACK): New macros.
(INIT_FAIL_STACK, DOUBLE_FAIL_STACK, FREE_VARIABLES): Use them.
(re_max_failures) [REL_ALLOC]: Alternative larger initial value.
(re_compile_fastmap): Use REGEX_FREE_STACK.
(re_match_2_internal): Always call FREE_VARIABLES before returning.
Always init regstart, old_regstart, etc. whenever MATCH_MAY_ALLOCATE
is defined.
(FREE_VARIABLES) [REL_ALLOC]: Define non-trivially.
1995-04-29 20:21:41 +00:00
Richard M. Stallman
6e3bfbb258
(Fcall_process): Extend BUFFER arg so it can specify
...
a separate output file for stderr output.
(Fcall_process_region): Doc fix.
1995-04-29 16:47:57 +00:00
Richard M. Stallman
c667ca30df
(ORDINARY_LINK): Defined.
...
(LINKER): Definition deleted.
1995-04-29 05:31:05 +00:00
Karl Heuer
9572375bcc
(popup_get_selection): Use x_non_menubar_window_to_frame.
...
Either queue or dispatch the event, but not both.
(dialog_selection_callback): Clear popup_activated_flag.
(Fx_popup_menu): If POSITION is just (menu-bar), use the
current mouse position.
(menubar_selection_callback): Use (menu-bar) instead of 'menu-bar.
1995-04-29 04:21:23 +00:00
Karl Heuer
5a8d99e0e7
(read_char, read_char_x_menu_prompt): Exclude
...
menu-bar clicks when processing mouse clicks.
1995-04-29 04:20:12 +00:00
Karl Heuer
72de3c001f
Declare x_non_menubar_window_to_frame.
1995-04-29 04:19:45 +00:00
Karl Heuer
5fbc3f3a31
(x_non_menubar_window_to_frame): New function.
1995-04-29 04:19:13 +00:00
Karl Heuer
10ceaf0356
(x_term_init): Add stub to initialize Vsystem_key_alist.
1995-04-29 04:17:56 +00:00
Karl Heuer
875e6b94f1
(create_process): Don't reference pty_name if !HAVE_PTYS.
1995-04-28 01:43:02 +00:00
Richard M. Stallman
adedc71d91
(Ffile_regular_p): Use Qfile_regular_p.
...
(syms_of_fileio): Set up Qfile_regular_p.
1995-04-26 11:09:31 +00:00
Richard M. Stallman
f2bc35389b
(standard_args): Move -iconic and --icon-type (etc.)
...
to the end of the initial args.
1995-04-26 10:08:52 +00:00
Karl Heuer
b94daf1e9f
(mark_kboards): Mark the kbd macro and Vsystem_key_alist.
1995-04-25 23:47:55 +00:00
Richard M. Stallman
aba686ed10
Comment change.
1995-04-25 05:16:29 +00:00
Richard M. Stallman
e20008859b
(REGEXP_IN_LIBC): Defined.
1995-04-25 02:31:36 +00:00
Karl Heuer
0ad5446c55
(x_term_init): If the previous kboard was the dummy one,
...
switch to the new one immediately.
1995-04-24 22:34:27 +00:00
Karl Heuer
7c97ffdc85
(Vsystem_key_alist): Delete global variable.
...
(init_kboard): Initialize Vsystem_key_alist member.
(syms_of_keyboard): Change DEFVAR_LISP to DEFVAR_KBOARD.
(make_lispy_event): Use the kboard's alist instead of the global.
1995-04-24 22:13:00 +00:00
Karl Heuer
be2f0083ad
(struct kboard): New member Vsystem_key_alist.
1995-04-24 22:12:44 +00:00
Karl Heuer
abd7c20294
Make intervals.o and term.o depend on keyboard.h.
1995-04-24 22:03:49 +00:00
Richard M. Stallman
0bc3db2b9d
(safe_run_hooks_1, safe_run_hooks_error): New subroutines.
...
(safe_run_hooks): Handle errors to clear the hook,
instead of always clearing it temporarily.
1995-04-24 21:50:39 +00:00
Karl Heuer
f8307c0cac
(Fplist_put): Don't signal an error if plist isn't a cons.
1995-04-24 19:43:15 +00:00
Karl Heuer
2820e30882
(struct x_display_info): New members x_focus_frame,
...
x_focus_event_frame, x_highlight_frame, replacing global vars.
1995-04-24 18:28:50 +00:00
Karl Heuer
0d17d2828c
(x_get_focus_frame): New arg FRAME. Callers changed.
...
(Funfocus_frame): Unfocus on selected_frame's display.
1995-04-24 18:28:11 +00:00
Karl Heuer
0f9419350b
(x_focus_frame, x_focus_event_frame, x_highlight_frame):
...
Delete these vars; now part of struct x_display_info.
(x_new_focus_frame): New arg DPYINFO. Callers changed.
Use the struct members instead of the globals.
Call x_frame_rehighlight instead of XTframe_rehighlight, so we can
pass on the dpyinfo pointer.
(x_mouse_leave): New arg DPYINFO. Callers changed.
(XTframe_rehighlight): New arg FRAME. Callers changed.
Now does all the work in x_frame_rehighlight.
(x_frame_rehighlight): New function, code from XTframe_rehighlight.
(XTread_socket): Use the struct members instead of the globals.
(x_unfocus_frame, x_iconify_frame, x_destroy_window): Likewise.
(x_display_box_cursor, x_make_frame_invisible): Likewise.
(x_term_init): Initialize the struct members.
(x_initialize): Delete initialization of deleted globals.
1995-04-24 18:27:33 +00:00
Karl Heuer
dc0700f64c
(Fredirect_frame_focus): Fix earlier change; use a frame known to be non-nil.
1995-04-24 18:21:20 +00:00
Karl Heuer
c07d3a87cc
Make dispnew.o and keyboard.o depend on xterm.h.
1995-04-24 17:48:55 +00:00
Karl Heuer
16be913f83
(do_switch_frame): Don't try to refocus termcap frames.
1995-04-24 17:39:46 +00:00
Karl Heuer
16c300fbfd
(message_dolog): The message log doesn't need an undo list.
1995-04-24 17:25:45 +00:00
Karl Heuer
e405833872
(term_init): MagicWrap implies AutoWrap.
1995-04-24 17:17:15 +00:00
Karl Heuer
d7266360d1
(do_switch_frame): x_get_focus_frame needs an arg.
...
(Fredirect_frame_focus): frame_rehighlight_hook needs an arg.
1995-04-24 16:55:29 +00:00
Karl Heuer
29e460bd82
(xmenu_show): x_mouse_leave needs an arg.
1995-04-24 16:55:03 +00:00
Richard M. Stallman
4aa54ba872
(create_process): Don't abort if can't reopen
...
pty_name in the child. Exit the child instead.
1995-04-24 05:52:11 +00:00
Richard M. Stallman
d20b8af682
(child_setup): Reword "can't exec" message.
...
Add newline after message.
(Fcall_process): Call Fexpand_file_name for error_file.
1995-04-24 05:51:40 +00:00
Karl Heuer
dc7e2b301d
(Fexpand_abbrev): Add some error checking.
1995-04-20 21:15:39 +00:00
Karl Heuer
f8c2630dfb
(Fx_popup_dialog): Don't pass menubarp arg to xdialog_show.
1995-04-20 18:37:39 +00:00
Richard M. Stallman
873828203c
Comment change.
1995-04-20 08:28:38 +00:00
Karl Heuer
cca176a050
(x_window): Use (or reuse) frame's namebuf instead of a
...
temp var. This avoids a storage leak.
1995-04-19 21:04:01 +00:00
Karl Heuer
60a8823e0b
(Fdelete_frame): Free f->namebuf.
1995-04-19 20:58:28 +00:00
Karl Heuer
aec6e4867a
(make_frame): Initialize f->namebuf.
1995-04-19 20:55:31 +00:00
Karl Heuer
bd601e2a98
(struct frame): New member namebuf.
1995-04-19 20:54:09 +00:00
Richard M. Stallman
673a6211ed
(xmenu_show, xdialog_show): Delete menubarp arg.
...
(Fx_popup_menu): Don't compute menubarp.
1995-04-19 06:09:42 +00:00
Richard M. Stallman
3453f0b6ef
(map_event_to_object): Declaration deleted.
1995-04-18 18:37:51 +00:00
Richard M. Stallman
34ae77b577
(x_report_frame_params): Report value of `display' parm.
1995-04-18 18:36:03 +00:00
Richard M. Stallman
5bbdb09071
(Ffetch_bytecode): Check the type of the object being read from the file.
1995-04-18 18:13:13 +00:00
Richard M. Stallman
ad06e4fcf5
Comment change.
1995-04-18 03:45:52 +00:00
Richard M. Stallman
01ba8cce81
(Fencode_time): Don't treat years < 100 as special.
1995-04-18 03:31:38 +00:00
Karl Heuer
adde48587a
(insert_1): Adjust overlay center after inserting.
...
(insert_from_string_1, insert_from_buffer_1): Likewise.
(del_range_1): Adjust overlay center after deleting.
1995-04-17 23:16:23 +00:00
Karl Heuer
423cdb4617
(adjust_overlays_for_insert): New function.
...
(adjust_overlays_for_delete): New function.
1995-04-17 23:13:56 +00:00
Karl Heuer
2c782c9f6a
Declare some functions.
1995-04-17 23:12:34 +00:00
Richard M. Stallman
1b8fa736b3
(Fencode_time): Rewrite by Naggum.
1995-04-17 06:10:39 +00:00
Richard M. Stallman
b1e9ff6953
(really-lwlib, really-oldXMenu): Mark as .PHONY.
1995-04-15 18:32:49 +00:00