1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
Commit graph

6406 commits

Author SHA1 Message Date
Richard M. Stallman
35b3402f5e (make_lispy_event): FRAME_MENU_BAR_ITEMS now has
four elements per item.  Add a separate slot for the hpos.
(menu_bar_items): Likewise.
(menu_bar_item): Initialize the hpos slot to 0.
1996-04-29 15:58:16 +00:00
Richard M. Stallman
469937ac96 (display_menu_bar): FRAME_MENU_BAR_ITEMS now has four elements per item.
(update_menu_bar): If we update FRAME_MENU_BAR_ITEMS,
also set w->update_mode_line.
1996-04-29 15:57:12 +00:00
Richard M. Stallman
d2ff1bf379 (get_frame_menubar_event, set_frame_menubar):
FRAME_MENU_BAR_ITEMS now has four elements per item.
1996-04-29 15:56:24 +00:00
Richard M. Stallman
9a1dc3be43 (Fexpand_file_name) [DOS_NT]: Keep dir sep following ~
or ~user, but don't collapse the newdir prefix in that case.
1996-04-29 15:49:43 +00:00
Richard M. Stallman
f04366cb45 (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item. 1996-04-29 15:29:52 +00:00
Richard M. Stallman
ad6cd733f4 Comment change. 1996-04-27 02:09:56 +00:00
Richard M. Stallman
199607e4f7 (Fexpand_file_name, Ffile_name_absolute_p): Doc fixes.
(Ffile_exists_p, Ffile_executable_p, Ffile_readable_p)
(Ffile_writable_p, Ffile_directory_p, Ffile_regular_p)
(Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p)
(expand_and_dir_to_file): Rename abspath to absname.

(CORRECT_DIR_SEPS) [DOS_NT]: New macro.
(IS_DRIVE) [DOS_NT]: Added separate definitions for DOS and NT.
(Ffile_name_directory) [DOS_NT]: Simplify code to match change in
getdefdir in msdos.c.  Ignore embedded colons.  Correct dir seps.
(Ffile_name_nondirectory) [DOS_NT]: Ignore embedded colons.
Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
(file_name_as_directory) [DOS_NT]: Correct dir seps.
Correct IS_ANY_SEP to IS_DIRECTORY_SEP.
(directory_file_name) [DOS_NT]: Correct dir seps.
(Fmake_temp_name) [DOS_NT: Correct dir seps.
(Fexpand_file_name) [mostly DOS_NT]: Remove relpath, tmp and
defdir variables; init drive to 0.
Correctly detect when default_directory is absolute.
Be strict when looking for MSDOS drive specifier; defer calling
getdefdir.  Ignore drive specifier if name now has UNC prefix.
Correctly recognise if name is not absolute when trying simple
method to expand; return original string if possible.
Skip dir sep after ~ or ~user.
Use getpwnam instead of HOME for ~user on NT.
Handle error return from getdefdir.
Correctly detect if newdir is absolute before using default_directory.
Handle case where newdir is not absolute - expand relative to
current working dir if necessary (instead of calling getdisk
later).  Only keep UNC prefix if nm starts with dir sep.
Replace kludgy handling of drive spec in newdir.  Correct dir seps.
(Fexpand_file_name) [!DOS_NT]: Fix incorrect expansion of
"/foo/../bar" -> "//bar".
(Fsubstitute_in_file_name) [DOS_NT]: Correct dir seps for NT as
well.  Merge equivalent #ifdef APOLLO and WINDOWSNT cases.  Ignore
embedded colons and be strict about drive specs.
(Fcopy_file) [DOS_NT]: Do dev/inode check on NT.
(Ffile_name_absolute_p) [DOS_NT]: Be strict about drive specs.
(check_executable) [DOS_NT]: Test st_mode on NT.
(Ffile_readable_p) [DOS_NT]: Use access instead of open on NT.
(Ffile_modes) [DOS_NT]: Don't embelish st_mode value on NT.
(Fread_file_name) [DOS_NT]: Correct dir seps in HOME.
(syms_of_fileio): Add Vdirectory_sep_char.
1996-04-27 01:14:17 +00:00
Richard M. Stallman
37513bdf93 (getdefdir): Include drive letter and colon when
constructing default directory for drive.
1996-04-27 00:52:30 +00:00
Richard M. Stallman
2f8d25d5f1 (FRAME_TERMCAP_P) [WINDOWSNT && !HAVE_NTGUI]:
Remove conditional for HAVE_NTGUI.
1996-04-26 19:56:17 +00:00
Richard M. Stallman
f405affb31 (EMACS_KILLPG) [WINDOWSNT]: Invoke kill instead of win32_kill_process. 1996-04-26 19:55:52 +00:00
Richard M. Stallman
7795ff9bc0 (Fopen_network_stream): Set process infd to inch.
(create_process, read_process_output, Fsignal_process) [WINDOWSNT]:
Remove conditional NT code.
1996-04-26 19:55:27 +00:00
Richard M. Stallman
f3849f257d (close_load_descs) [WINDOWS_NT]: Don't actually do anything.
(read_escape): Detect READCHAR reporting eof.
1996-04-26 19:54:49 +00:00
Richard M. Stallman
e0c0701265 [WINDOWS_NT]: Declare Vdirectory_sep_char. 1996-04-26 19:53:20 +00:00
Richard M. Stallman
41f339d465 (main) [WINDOWSNT]: Invoke init_ntproc.
(shut_down_emacs) [WINDOWSNT]: Invoke term_ntproc.
1996-04-26 19:53:04 +00:00
Richard M. Stallman
93593876d9 (Ffile_attributes) [WINDOWSNT]: Remove conditional NT code. 1996-04-26 19:52:51 +00:00
Richard M. Stallman
4252a4bd63 (Fcall_process) [WINDOWSNT]: Remove conditional NT code.
(Fcall_process_region) [DOSNT]: Canonicalize slashes in filename.
(child_setup) [WINDOWSNT]: Decrease handles array by one.
1996-04-26 19:52:37 +00:00
Richard M. Stallman
6d07821119 (x_window) [! USE_X_TOOLKIT]: Initialize wm_hints.icon_pixmap. 1996-04-26 16:39:13 +00:00
Richard M. Stallman
b80c363eee (x_scroll_bar_clear): Do nothing if frame now has no scroll bars. 1996-04-26 16:38:03 +00:00
Richard M. Stallman
637ad741e0 Update copyright year. 1996-04-26 16:06:54 +00:00
Richard M. Stallman
cbb95688d2 Include blockinput.h.
(change_frame_size_1): Block input around the real work.
1996-04-26 15:45:46 +00:00
Richard M. Stallman
6c05ef1e11 (getdefdir) [DJGPP > 1]: Use 32-bit ESI to pass buffer
address to `intdos' instead of SI which can be 16-bit.
1996-04-26 11:56:25 +00:00
Richard M. Stallman
4ad8681a67 (save_excursion_restore): Add gcpros. 1996-04-26 03:01:56 +00:00
Richard M. Stallman
ea083293b6 (unexec): Add conditional for SOLARIS_POWERPC. 1996-04-25 18:02:45 +00:00
Richard M. Stallman
568aa5850b (syms_of_fileio): Doc fix. 1996-04-25 17:31:37 +00:00
Richard M. Stallman
e74c43500e (Fx_list_fonts) [BROKEN_XLISTFONTSWITHINFO]:
Free the font, and the fontinfo too if we don't want it.
1996-04-25 03:36:01 +00:00
Richard M. Stallman
ea146def5f (x_connection_signal): Call sigunblock properly. 1996-04-24 22:29:57 +00:00
Richard M. Stallman
8565113c08 (dispnew.o): Depend on blockinput.h. 1996-04-23 20:33:16 +00:00
Richard M. Stallman
97cf50e753 Include blockinput.h.
(change_frame_size_1): Block input around the real work.
1996-04-23 20:32:58 +00:00
Richard M. Stallman
f854a00b99 (wait_reading_process_input, both definitions):
If wait_for_cell, don't call timer_check, and use
detect_input_pending instead of detect_input_pending_run_timers.
1996-04-23 20:32:33 +00:00
Richard M. Stallman
dd10ec4fd1 (Fframe_parameters, both definitions):
Get sizes from FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH if they are nonzero.
1996-04-23 15:20:52 +00:00
Richard M. Stallman
0e4358041c (compute_motion): Pass window to Fget_char_property. 1996-04-21 05:56:01 +00:00
Richard M. Stallman
831f35a200 (read_key_sequence): Fix confusion between key and new_key. 1996-04-19 09:21:55 +00:00
Richard M. Stallman
d4d62e8d02 (syms_of_keyboard): Doc fix. 1996-04-18 06:04:32 +00:00
Richard M. Stallman
1976080b3b (EmacsFrameRealize): Use STANDARD_EVENT_SET. 1996-04-18 04:13:19 +00:00
Richard M. Stallman
d2f764d0cc (STANDARD_EVENT_SET): Remove PointerNotifyHintMask.
(CHECK_X_FRAME): Macro deleted.
1996-04-18 04:12:43 +00:00
Richard M. Stallman
f5bb65ecab (note_mouse_movement): Don't call XQueryPointer.
(x_scroll_bar_note_movement): Don't call XQueryPointer.

(x_new_font): Intern FONT just once for finding full name.
1996-04-18 04:03:16 +00:00
Richard M. Stallman
95184b48ec (decode_mode_spec): Use frame F, not selected frame.
On termcap frames, implicit names are ok.
1996-04-16 23:07:52 +00:00
Richard M. Stallman
9c6da96f00 (decode_mode_spec): For %F, use explicit name or `Emacs'. 1996-04-16 22:52:34 +00:00
Richard M. Stallman
a92989c399 (w32_read_socket): Initialize frame_or_window field.
(x_make_frame_visible): Don't call SetForegroundWindow after x_set_offset.
(win32_initialize): Call AttachThreadInput at the end.
1996-04-16 21:54:34 +00:00
Richard M. Stallman
8847d8908b (defined_color): Map color to nearest in default palette.
(win32_wnd_proc): Special handling for WM_CLOSE.
1996-04-16 21:49:18 +00:00
Richard M. Stallman
2636719334 (check_timer): Removed; use gettime instead.
(sys_select): Call __dpmi_yield while waiting for input to
improve multitasking behaviour.
Do not check timer when no timeout.
1996-04-16 20:41:24 +00:00
Richard M. Stallman
079242944a (syms_of_buffer): Doc fix. 1996-04-16 16:10:19 +00:00
Richard M. Stallman
1861b21427 (wait_reading_process_input) [!subprocesses]:
Get rid of the loop around the detect_input_pending call.
1996-04-15 19:12:01 +00:00
Richard M. Stallman
093dd95bf5 (x_set_frame_parameters): Get height and width from
FRAME_NEW_WIDTH and FRAME_NEW_HEIGHT if nonzero.
1996-04-15 15:48:51 +00:00
Richard M. Stallman
0a65b03282 (wait_reading_process_input) [!subprocesses]: Handle
the case of READ_KBD being a cons cell.  Retry the timer check
after a timer fired.  (All of these make this definition
consistent with the one that supports async subprocesses.)

(wait_reading_process_input, both definitions):
Use plain detect_input_pending just before the select call.
1996-04-14 17:45:31 +00:00
Richard M. Stallman
3b1fdd8517 (Fcompare_buffer_substrings): Fix dumb bug handling buffer name as second arg. 1996-04-13 10:56:40 +00:00
Richard M. Stallman
d1fc67525e (main) [MSDOS]: Always call tzset, not init__gettimeofday. 1996-04-12 22:59:58 +00:00
Richard M. Stallman
ffd76827b0 (MAX_FAILURE_ITEMS): Use 5 instead of actual number of regs. 1996-04-12 22:57:28 +00:00
Richard M. Stallman
79c0ac7e17 (Fformat_time_string): Doc fix. 1996-04-12 15:27:40 +00:00
Richard M. Stallman
edabc3235f Comment change. 1996-04-12 06:40:16 +00:00