Commit graph

1009 commits

Author SHA1 Message Date
Jim Blandy
210b2b4f05 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.
1993-03-19 17:28:14 +00:00
Richard M. Stallman
f5d5eccf37 (Fvisited_file_modtime): New function.
(Fset_visited_file_modtime): Accept an argument specifying time value.
If arg is nil, really use the filename handler.
1993-03-19 05:30:19 +00:00
Eric S. Raymond
a6af869636 Added unlock and relock. 1993-03-19 05:27:03 +00:00
Richard M. Stallman
8a89415ece (cons_to_long, long_to_cons): No longer static. 1993-03-19 05:19:23 +00:00
Jim Blandy
35f56f9681 * frame.h (FOR_EACH_FRAME): Change the definition so that
FRAME_VAR is a lisp object.
	* dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
	Adjusted appropriately.
	* xdisp.c (redisplay): Adjusted appropriately.

	* dispnew.c (Fredraw_frame): Give this appropriate definitions for
	MULTI_FRAME and non-MULTI_FRAME configurations.
	(Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.
1993-03-18 22:50:00 +00:00
Jim Blandy
05c53e7cf5 Some VMS changes from Richard Levitte <levitte@e.kth.se>:
* [VMS] systime.h: Include vmstime.h.  VMS has the timezone
	variable and the tzname array.
	* s/vms.h: VMS does have select.
	mth$dmod is the same as Unix's drem.
	Use the time functions in vmstime.c.
	No need to rename the malloc routines if we're using GNU malloc.
	PURESIZE needs to be 330000.
	* vmstime.c, vmstime.h: New files.
	* systty.h: Don't try to initialize extern declarations under VAX C.
	* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
	in PATH_LOADSEARCH.
	(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
	* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
	[VMS] (queue_kbd_input): Build events structure correctly.
	[VMS] (gethostname): New function.
	[VMS] (getwd): Don't get the PATH environment variable; that's
	dumb.  Call getcwd.
1993-03-18 16:11:17 +00:00
Richard M. Stallman
27b6178555 Fix spacing conventions. 1993-03-18 10:18:30 +00:00
Eric S. Raymond
11838c0e24 Less klugey version of fix. 1993-03-17 23:50:29 +00:00
Eric S. Raymond
c3d80a4737 Add production to nuke binaries and doc files. 1993-03-17 22:31:58 +00:00
Richard M. Stallman
8b235fde6d Doc fix. 1993-03-17 21:40:14 +00:00
Jim Blandy
49d838ea4a * xterm.c (x_display_box_cursor, x_display_bar_cursor): Don't
display the cursor on garbaged frames.
1993-03-17 20:11:00 +00:00
Eric S. Raymond
1dd40212a5 Supply second arg for tgetstr() calls. 1993-03-17 13:11:50 +00:00
Richard M. Stallman
856c3dcba8 (_getpty): Declare this, not _get_pty. 1993-03-17 09:22:15 +00:00
Richard M. Stallman
dcf970e66f Fix typo in previous change. 1993-03-17 09:19:47 +00:00
Richard M. Stallman
577d03d57f (Fprocess_send_eof): Make sure proc is running. 1993-03-17 07:59:09 +00:00
Jim Blandy
2e94b81346 Doc fix. 1993-03-16 18:36:27 +00:00
Jim Blandy
6bbb0d4aaa * cmds.c (overwrite_binary_mode): Deleted; this implements the
wrong feature.
	(Qoverwrite_mode_binary): New variable.
	(internal_self_insert): If current_buffer->overwrite_mode is
	`overwrite-mode-binary', do as overwrite_binary_mode used to.
	(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
	Qoverwrite_mode_binary.
	* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
	* buffer.h (struct buffer): Doc fix.
1993-03-16 18:18:05 +00:00
Jim Blandy
806b4d9b90 Rename live-window-p' to window-live-p', for consistency with
`frame-live-p'.
	* window.c (Fwindow_live_p): Renamed from Flive_window_p.
	* lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
	(Qwindow_live_p): Extern declaration renamed fom Qlive_window_p.
1993-03-16 05:55:57 +00:00
Richard M. Stallman
10c48c955d (xmenu_show): Do BLOCK_INPUT; unblock just before returning. 1993-03-16 05:55:12 +00:00
Richard M. Stallman
63e1efd4b3 [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input. 1993-03-16 05:54:56 +00:00
Jim Blandy
48c9d487f8 * frame.c (Fframe_height, Fframe_width): Fix doc strings to match
those of the multi-frame versions in frame.el.  Accept an optional
	argument FRAME, also for consistency.
1993-03-15 21:41:36 +00:00
Jim Blandy
c26406fef2 * floatfns.c (logb): Add extern declaration for this.
* floatfns.c (Flogb): Under SYSV, implement this using frexp.
1993-03-15 20:17:07 +00:00
Richard M. Stallman
84aa3ace66 (wait_reading_process_input): New option to wait
till a given cons cell has a non-nil car.
Delete vipc conditionals.
1993-03-15 06:09:04 +00:00
Richard M. Stallman
ed5af96f60 (FRAMEP): Macro deleted. 1993-03-15 06:07:40 +00:00
Richard M. Stallman
3be08bead7 Include termhooks.h. 1993-03-15 06:06:56 +00:00
Richard M. Stallman
99e720680a (Xatom_wm_change_state): Just declare.
(Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection):
(Xatom_wm_change_state, Xatom_incremental, Xatom_multiple):
(Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection):
(Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted.
(x_begin_selection_own): Decls deleted.
(Fx_open_connection): Set up only the wm atoms here.
Call Xatoms_of_xselect.
1993-03-15 06:06:07 +00:00
Richard M. Stallman
c352056c41 (SELECTION_EVENT_DISPLAY): New macro.
(SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
(SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
(SELECTION_EVENT_TIME): New macros.
(struct selection_input_event): New structure.
1993-03-15 06:05:17 +00:00
Richard M. Stallman
d56a553a20 (Xatom_wm_change_state): Define here.
(XTread_socket): Handle NEW_SELECTIONS alternative:
queue events for SelectionRequest and SelectionClear;
call functions for SelectionNotify and PropertyNotify.
1993-03-15 06:04:31 +00:00
Richard M. Stallman
bdbe6f2856 (record_property_change, record_delete, record_insert):
Don't make boundary or touch last_undo_buffer if cur buf has no undo.
1993-03-15 06:03:33 +00:00
Richard M. Stallman
cdaa87fd06 (PRINTPREPARE): Handle marker that points nowhere. 1993-03-15 06:02:29 +00:00
Richard M. Stallman
24af387fb2 (list_of_items): Allow strings among the alist items;
they make nonselectable lines.

(single_keymap_panes): When storing in ENABLES, check def before enabled.
1993-03-15 06:00:04 +00:00
Richard M. Stallman
70728a80cb (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES. 1993-03-15 05:50:55 +00:00
Richard M. Stallman
2d66ad19c5 (display_menu_bar): Assume FRAME_MENU_BAR_ITEMS already set.
Fill out line with spaces.
Put explicit spaces between items.
1993-03-15 05:50:02 +00:00
Richard M. Stallman
48e416d4fd (command_loop_1): Set FRAME_MENU_BAR_ITEMS here.
(menu_bar_items): Reverse the list when done.

(command_loop_1): Typo calling Qrecompute_lucid_menubar.
(read_key_sequence): Likewise.  Also fix call to Vrun_hooks.

(kbd_buffer_get_event): Handle selection_clear_event
and selection_request_event events.

(read_key_sequence): Support Vcurrent_menubar
and Qactivate_menubar_hook.  Call Qrecompute_lucid_menubar.
(syms_of_keyboard): Set up Vcurrent_menubar, Vprevious_lucid_menubar,
Qactivate_menubar_hook, and Qrecompute_lucid_menubar.
1993-03-15 05:46:58 +00:00
Richard M. Stallman
edfa9106ca (INTEGERP, SYMBOLP, MARKERP, STRINGP, VECTORP): New macros.
(COMPILEDP, BUFFERP, SUBRP, PROCESSP, FRAMEP, WINDOWP): New macros.
(WINDOW_CONFIGURATIONP, FLOATP): New macros.
1993-03-15 05:44:21 +00:00
Richard M. Stallman
351c638e66 (selection_request_event, selection_clear_event): New event kinds. 1993-03-15 05:43:15 +00:00
Jim Blandy
3254eb1e37 Fix the fix. 1993-03-15 04:17:09 +00:00
Jim Blandy
6155fae1c8 * dired.c (Fdirectory_files): Compile the MATCH regexp after
calling everything else which might compile a regexp.

	* dired.c (Fdirectory_files): Properly GCPRO the strings while
	calling Fexpand_file_name and Fdirectory_file_name.
1993-03-15 03:04:52 +00:00
Jim Blandy
a790fee232 Add extern declaration for do_line_insertion_deletion_costs. 1993-03-15 01:09:20 +00:00
Jim Blandy
ef5f15e392 Add GNU copyright notice. 1993-03-15 00:16:34 +00:00
Jim Blandy
d415c51747 Initial revision 1993-03-14 22:49:14 +00:00
Jim Blandy
9e6314a476 * keyboard.h (internal_last_event_frame): This should be extern,
dummy.
1993-03-14 21:43:17 +00:00
Jim Blandy
6a8a9750e8 * fns.c (Fy_or_n_p): Display the answer. 1993-03-14 20:56:05 +00:00
Richard M. Stallman
a87ed99c5b entered into RCS 1993-03-14 20:19:28 +00:00
Richard M. Stallman
0b74cf8cd8 (NO_X_DESTROY_DATABASE): Defined. 1993-03-14 05:40:29 +00:00
Jim Blandy
8c64cf1653 * s/usg5-4.h: Remove extraneous text after #undef LIB_X11_LIB. 1993-03-13 23:31:35 +00:00
Richard M. Stallman
7da64e5c76 *** empty log message *** 1993-03-13 21:25:55 +00:00
Jim Blandy
7f692070e2 Doc fix. 1993-03-13 21:14:27 +00:00
Richard M. Stallman
ede4db72d3 Initial revision 1993-03-13 20:12:23 +00:00
Richard M. Stallman
aedaff8d1c (xmenu_show): New arg enable_list.
(keymap_panes): New arg enables
(single_keymap_panes): New arg enables.  Fill in its contents.
(list_of_panes, list_of_items): New arg enables.  Fill in contents.
(Fx_popup_menu): Pass enable and enable_list args.
(single_keymap_panes): Set enable flag to -1 if cmd definition is nil.
1993-03-12 22:37:07 +00:00