1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 15:00:42 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Geoff Voelker
719072f5c4 (utimbuf): New macro. 1998-04-23 23:41:42 +00:00
Geoff Voelker
16bb7578f2 (fstat, utime): New functions; these are provided in
conjunction with stat to make handling of file timestamps
consistent.
(convert_from_time_t): Fix calculation of low-order bits.
(sys_unlink): Allow read-only files to be unlinked as on Unix.
1998-04-23 23:41:12 +00:00
Geoff Voelker
9b69357efc (dir_warning): Don't log a warning if Emacs hasn't
finished initializing.
1998-04-23 23:40:46 +00:00
Geoff Voelker
879967835b (x_set_vertical_scroll_bars): Put scroll bars on the
right, as is conventional on MS-Windows.
(w32_wnd_proc): Add code to draw popup menu titles.
Ensure mouse capture is released before running popup menu.
1998-04-23 23:40:16 +00:00
Richard M. Stallman
f438538138 (Fcommand_execute): Truncate command-history here. 1998-04-23 21:25:55 +00:00
Richard M. Stallman
bed23cb24b (read_from_string_index_byte): New variable.
(read_from_string_index): Now counts characters.
(readchar, unreadchar, Fread_from_string): Changed accordingly.

(readchar): Read a multibyte char all at once
from a buffer, marker or string.
(unreadchar): Unread a multibyte char all at once.
(read1): Properly handle non-escaped multibyte chars.
They force a string to be multibyte.
When reading direct from a file, any multibyte sequence means
a multibyte string.
Insist on MAX_LENGTH_OF_MULTI_BYTE_FORM bytes when checking
for read_buffer full; this way need not check specially for multibyte.
1998-04-23 21:22:51 +00:00
Richard M. Stallman
d67e2df9c3 (emacs.o): Depend on buffer.h. 1998-04-23 21:20:31 +00:00
Richard M. Stallman
a08a816a25 Include buffer.h
(main): Move the --unibyte code below
the most basic initializations.
Clear out *Messages* at that point.

(main): When handling --unibyte, mark all existing
buffers as unibyte; but don't handle it when dumping.
1998-04-23 21:19:34 +00:00
Richard M. Stallman
225c215740 (Fcall_interactively): Truncate command-history here. 1998-04-23 21:18:18 +00:00
Richard M. Stallman
3e8ceaacd1 (syms_of_charset): Doc fix for nonascii-insert-offset. 1998-04-23 04:12:09 +00:00
Richard M. Stallman
24d6bf2685 (Fbuffer_substring): Doc fix.
(Finsert_and_inherit_before_markers): Doc fix.
(Finsert_and_inherit, Finsert_before_markers, Finsert): Doc fixes.
1998-04-23 04:09:05 +00:00
Richard M. Stallman
a6ee6aa41b (Fstring_make_multibyte): Doc fix.
(Fstring_make_unibyte): Doc fix.
1998-04-23 04:03:31 +00:00
Richard M. Stallman
340b8d58ac (Funibyte_char_to_multibyte): Doc fix. 1998-04-23 04:00:47 +00:00
Erik Naggum
dd6f88fb36 (get_boot_time): Remove extraneous semicolon. 1998-04-22 17:48:16 +00:00
Erik Naggum
9ae8d912e9 Remove extraneous semicolon. 1998-04-22 17:44:41 +00:00
Eli Zaretskii
767079a8c6 (alloc_xfer_buf): If want_size is more than 1MB,
return immediately with failure.
(Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16
with w16.
1998-04-22 13:39:59 +00:00
Eli Zaretskii
31354c30f6 (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT before calling sit_for.
(Fwin16_get_clipboard_data, Fwin16_set_clipboard_data):	Balance
the calls to BLOCK_INPUT and UNBLOCK_INPUT.
1998-04-22 10:26:10 +00:00
Richard M. Stallman
1831d349aa (Fsignal): Unconditionally do TOTALLY_UNBLOCK_INPUT. 1998-04-22 02:14:55 +00:00
Eli Zaretskii
c17c425043 (Fcall_process) [MSDOS]: Call child_setup instead of run_msdos_command.
(child_setup) [MSDOS]: Call run_msdos_command here.
(child_setup) [DOS_NT]: Get past drive letter in pwd.  Don't call
close_load_descs, since we are not in a vfork.
1998-04-21 11:14:24 +00:00
Eli Zaretskii
e52f2f255e (run_msdos_command): Don't construct process
environment, it's already done in child_setup.
(run_msdos_command): Add ENVV to argument list.
1998-04-21 11:10:56 +00:00
Richard M. Stallman
3ce839e460 (Fmake_temp_name): Complete rewrite. 1998-04-20 18:13:03 +00:00
Richard M. Stallman
4929a8780a (Fgarbage_collect): Don't truncate command-history here. 1998-04-20 17:04:16 +00:00
Richard M. Stallman
94e554db23 (readevalloop): New arg UNIBYTE. Callers changed.
Use it to bind load_convert_to_unibyte.
(Feval_buffer): New arg UNIBYTE.  Pass it to readevalloop.
(readevalloop_1): New unwind-protect subroutine.
(load_convert_to_unibyte): New variable.
(syms_of_lread): Set up Lisp var.
(read1): If load_convert_to_unibyte, convert strings to unibyte.
1998-04-20 07:09:58 +00:00
Richard M. Stallman
7e79b8e08d (copy_text): Count down bytes_left properly
in multibyte to unibyte case.
1998-04-20 07:08:40 +00:00
Richard M. Stallman
f95837d0a4 (Fcompare_strings): Require first 6 args. 1998-04-20 04:08:31 +00:00
Richard M. Stallman
69f4ef2009 (Ftry_completion): Use Fcompare_strings.
(Fall_completions, Fminibuffer_complete_word): Likewise.
1998-04-20 03:53:06 +00:00
Richard M. Stallman
0e1e9f8da5 (Fcompare_strings): New function.
(syms_of_fns): defsubr it.
1998-04-20 03:52:46 +00:00
Kenichi Handa
f918549193 (lisp): Add czech.elc, slovak.elc, and romanina.elc.
(shortlisp): Likewise.
1998-04-20 02:14:57 +00:00
Kenichi Handa
b23c244082 (Fregister_ccl_program): Put ccl-program-idx property to NAME. 1998-04-20 02:14:57 +00:00
Kenichi Handa
d21ca14d48 (setup_coding_system): For a type 4 coding system,
FLAGS member of coding spec is a cons of CCL program symbols.
1998-04-20 02:14:57 +00:00
Eli Zaretskii
8d051ef1d1 (struct Lisp_Process): Add inherit_coding_system_flag member. 1998-04-19 14:18:01 +00:00
Eli Zaretskii
52a1b89480 (Fset_process_inherit_coding_system_flag,
Fprocess_inherit_coding_system_flag): New functions.
(syms_of_process): Defsubr them.
(Fstart_process, Fopen_network_stream): Initialize inherit_coding_system_flag.
(read_process_output): If the process buffer isn't dead, call
after-insert-file-set-buffer-file-coding-system.
1998-04-19 14:13:47 +00:00
Richard M. Stallman
22e0073908 (Fx_get_cut_buffer_internal): If FORMAT is 0, cut buffer is empty. 1998-04-18 22:14:32 +00:00
Richard M. Stallman
89cddd35e9 Initial revision 1998-04-18 01:29:57 +00:00
Richard M. Stallman
e7a9e1c3d4 (syms_of_emacs): Fix patching error in previous change. 1998-04-17 23:58:44 +00:00
Richard M. Stallman
3c32996351 (read1): Compute NaN and infinities using 0.0 in a
variable, to cope with compilers that think they are smarter than us.
1998-04-17 23:36:34 +00:00
Richard M. Stallman
5ae0761326 (readchar): Find the previous byte's address properly
for the buffer case, as for the marker case.
1998-04-17 23:35:14 +00:00
Richard M. Stallman
168afdaa0e (Fcall_process_region): Unbind coding-system-for-write
after calling Fwrite_region.
1998-04-17 07:08:02 +00:00
Geoff Voelker
b3e1cb05b4 (reset_terminal_modes): Only invoke hook if defined. 1998-04-17 05:25:48 +00:00
Geoff Voelker
4a3bf56545 * lastfile.c (_my_endbss, my_endbss_static): New variables. 1998-04-17 05:25:35 +00:00
Geoff Voelker
074a066b07 (Vpath_separator): New variable. 1998-04-17 05:25:19 +00:00
Geoff Voelker
614c350cac (WM_EMACS_SETFOREGROUND, WM_EMACS_SETLOCALE):
New message macros.
1998-04-17 05:12:27 +00:00
Geoff Voelker
ef0e360fdc (Vw32_recognize_altgr): New variable.
(dumpglyphs): Update from xterm.c.
(w32_ring_bell): Flash window, don't just reset its state.
(dumprectangle, show_mouse_face, x_draw_single_glyph): Use new
args to dumpglyphs.
(my_set_foreground_window): New function.
(w32_condemn_scroll_bars): Mark all as condemned scroll bars.
(w32_redeem_scroll_bar): Look through all scroll bars.
(w32_judge_scroll_bars): Don't clear out condemned list.
(w32_read_socket): Clip window after frame has been restored.
(x_focus_on_frame, x_raise_frame): Use my_set_foreground_window.
(syms_of_w32term): Define Vw32_recognize_altgr.
1998-04-17 05:11:31 +00:00
Geoff Voelker
ef79fbba2f (w32_executable_type): Properly cast dos_header when
making size comparison.
(sys_spawnve): Update comments.
(sys_select): Ignore children dead children with pending input.
Delay sending SIGCHLD until all output has been read.
(sys_kill): Sleep to allow focus change events to propagate.
Use TerminateProcess on Win95.
(int_from_hex, enum_locale_fn, Fw32_get_valid_locale_ids):
New functions.
(Vw32_valid_locale_ids): New variable.
(Fw32_set_current_locale): Send message to input thread.
(syms_of_ntproc): defsubr Sw32_get_valid_locale_ids.
1998-04-17 05:10:29 +00:00
Geoff Voelker
c886965532 (Vmenu_updating_frame): New variable.
(Fx_popup_menu, set_frame_menubar): Record frame whose menu is
being updated.
(syms_of_w32menu): Define Vmenu_updating_frame.
1998-04-17 05:09:51 +00:00
Geoff Voelker
c0f1b02e2b (Vw32_recognize_altgr): Declare.
(w32_kbd_mods_to_emacs): Obey Vw32_recognize_altgr.
Add more keys for Vw32_capslock_is_shiftlock.
(w32_kbd_patch_key): Obey Vw32_recognize_altgr.
(map_virt_key): Brazilian keyboards use 0xc1 for /(?) key.
1998-04-17 05:09:29 +00:00
Geoff Voelker
3f3e462972 * w32heap.h (w32_fatal_reload_error): Declare. 1998-04-17 05:09:06 +00:00
Geoff Voelker
a1b8f90f30 (recreate_heap): Invoke w32_fatal_reload_error upon error. 1998-04-17 05:08:51 +00:00
Geoff Voelker
dfdb404753 (w32_msg_pump): Handle WM_EMACS_SETLOCALE.
(w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND.
1998-04-17 05:08:23 +00:00
Geoff Voelker
8be05193e8 (Qforeground_color, Qbackground_color): Declare.
(compute_char_face, merge_face_list): Update from xterm.c.
1998-04-17 05:08:02 +00:00