1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Eli Zaretskii
d24422702f (msdos.o): Depend on termchar.h, charset.h, coding.h, and disptab.h 1998-12-06 15:55:59 +00:00
Andreas Schwab
c3161ec382 (Fstring_as_unibyte): Doc fix. 1998-12-04 09:50:31 +00:00
Eli Zaretskii
06b1ea1321 (init_environment): Record the time we started up.
(IT_reset_terminal_modes): Don't restore the screen if we exit too
fast after startup (aka crash).
1998-12-03 09:41:48 +00:00
Eli Zaretskii
6f855d6452 (dos_cleanup): Flush and fsync the termscript stream. 1998-12-03 09:41:09 +00:00
Andreas Schwab
c2d1e590cf Declare char_valid_p. 1998-12-03 09:22:52 +00:00
Geoff Voelker
a0b9c8385f (check_windows_init_file): Use decode_env_path when
using EMACSLOADPATH.
1998-12-03 03:14:46 +00:00
Geoff Voelker
19589637fa (FONT_MAX_WIDTH): New macro. 1998-12-03 00:06:26 +00:00
Geoff Voelker
feba565d2a (dumpglyphs): Use unsigned char arrays.
Use FONT_MAX_WIDTH to detect and fudge proportional fonts
for various languages.
Compensate for fonts that have underhangs (e.g., Thai).
1998-12-03 00:06:03 +00:00
Geoff Voelker
93066bc2ab (WM_EMACS_TOGGLE_LOCK_KEY): New define. 1998-12-02 23:54:30 +00:00
Geoff Voelker
9ddef9c4de (key_event): Use Vw32_phantom_key_code. Undo the
mapping of Ctrl-Pause into cancel, and Ctrl-NumLock into pause.
(w32_console_toggle_lock_key): New function.
1998-12-02 23:54:14 +00:00
Geoff Voelker
adcc38092f (Vw32_phantom_key_code): New variable.
(Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): New
variables.
(syms_of_w32fns): Init and register them.
(reset_modifiers): Use a more precise test for whether Emacs has
keyboard focus.  Synchronize state of all keys that can be used as
modifiers, to overcome problems arising from hot-keys.
(w32_key_to_modifier): Be careful not to call intern() to avoid
requiring thread synchronization.
(w32_msg_pump): Handle new WM_EMACS_TOGGLE_LOCK_KEY message.
(w32_wnd_proc): Ensure lock key indicator lights are updated
promptly on Windows 9x, by passing key events on to the system.
(w32_wnd_proc): Use Vw32_phantom_key_code to stop system
responding to Windows key events when not wanted.
(w32_wnd_proc): Undo the mapping of Ctrl-Pause into cancel and
Ctrl-NumLock into pause by the system.
(w32_wnd_proc): Don't translate key combinations containing any
modifiers other than shift (and capslock).
(w32_wnd_proc): Reset modifier key states when receiving focus (we
can't determine the key states until we have keyboard focus).
(Fw32_toggle_lock_key): New function.
(syms_of_w32fns): Defsubr it.
1998-12-02 23:52:47 +00:00
Geoff Voelker
83c75055bc (w32_last_error): Fix cut+paste error. 1998-12-02 23:00:29 +00:00
Geoff Voelker
dba46b7c5d termhooks.h (event_kind) [WINDOWSNT]: Define
language_change_event.
1998-12-02 23:00:14 +00:00
Geoff Voelker
501d50943c (parse_modifiers): Declare prototype. 1998-12-02 23:00:02 +00:00
Geoff Voelker
1161d3675c (Qlanguage_change): New variable.
(syms_of_keyboard): Init it.
(kbd_buffer_get_event) [WINDOWSNT]: Generate language-change
events.
(lispy_function_keys) [HAVE_NTGUI]: Remove names for modifier
keys; add name for Escape key; extend to 256 elements.
(parse_modifiers): Make non-static.
1998-12-02 22:59:11 +00:00
Richard M. Stallman
2cbebefb27 (Qouter_window_id): New variable.
(syms_of_xfns): Initialize it.
(x_report_frame_params): Set up outer-window-id parameter.
1998-12-02 18:06:37 +00:00
Richard M. Stallman
9160906f27 (Freplace_match): Set OPOINT clearly for the case
where point is in the middle of the text to be replaced.
1998-12-01 05:17:11 +00:00
Richard M. Stallman
ffa286a2aa (display_text_line): When handling HPOS < 0 after loop,
if compute_motion fails to advance at all, don't back it up.
1998-11-30 06:35:33 +00:00
Richard M. Stallman
f49770515b (Fsingle_key_description): Fix previous change. 1998-11-28 22:16:09 +00:00
Richard M. Stallman
f4e09ae710 (Fstring_as_unibyte, Fstring_as_multibyte):
Clear text properties in the new string.
1998-11-27 22:15:38 +00:00
Kenichi Handa
6f39b7c89b (Frequire): Update declaration. 1998-11-26 08:37:32 +00:00
Kenichi Handa
9b0ca86943 (ccl_driver) <CCL_TranslateCharacter>: Don't suppress MSB
if the charset is ascii.
(ccl_driver) <CCL_TranslateCharacterConstTbl>: Likewise.
1998-11-26 08:12:12 +00:00
Kenichi Handa
8ac5a9ccbe (non_ascii_char_to_string): If C has modifier bits,
make an appropriate one byte string.
(char_bytes): Handle the case that C is a single byte char or has
modifier bits.
1998-11-26 08:12:12 +00:00
Kenichi Handa
43229ac34b (CHAR_BYTES): If C has modifier bits, return 1. 1998-11-26 08:12:12 +00:00
Kenichi Handa
741263c22b (internal_self_insert): If C has modifier bits, insert
appropriate one byte char.
1998-11-26 08:12:12 +00:00
Richard M. Stallman
1741e72de6 (read_process_output): Call signal_after_change. 1998-11-25 01:26:56 +00:00
Richard M. Stallman
9ebc22d43e (syms_of_buffer): Doc fix. 1998-11-24 09:01:32 +00:00
Richard M. Stallman
307958d6cb (syms_of_keyboard): Doc fix. 1998-11-24 08:56:27 +00:00
Richard M. Stallman
69eca94c24 (Fmake_keymap): Doc fix. 1998-11-24 04:55:16 +00:00
Kenichi Handa
9a64297c67 (word_boundary_p): If C1 or C2 are composite
characters, test their first components.
1998-11-24 03:52:08 +00:00
Richard M. Stallman
e84ffeec07 (Fset_mouse_position): Doc fix. 1998-11-22 17:23:36 +00:00
Richard M. Stallman
47a18cef7c (Fsingle_key_description): Handle generic characters. 1998-11-19 04:30:14 +00:00
Richard M. Stallman
53d5acf5c1 (Frequire): New arg NOERROR. 1998-11-19 04:26:44 +00:00
Richard M. Stallman
ff83dbb19a (Qmouse_face): Replace definition with extern decl.
(syms_of_xfaces): Initialization deleted.
1998-11-18 01:40:17 +00:00
Richard M. Stallman
69bb837eb5 (Qmouse_face): Variable definition moved here.
(syms_of_textprop): Initialize it.
1998-11-18 01:38:14 +00:00
Richard M. Stallman
65a04b969d (temp_output_buffer_show): Around temp-buffer-show-hook,
don't do save-excursion, just restore selected window.

(window_loop): For UNSHOW_BUFFER, always do consider minibuffer windows.
1998-11-17 16:27:02 +00:00
Kenichi Handa
6185c1c05b (CHAR_TABLE_REF): Check if IDX is negative or not. 1998-11-16 06:26:27 +00:00
Kenichi Handa
da63a5fee1 (non_ascii_char_to_string): If C is negative, signal error. 1998-11-16 06:26:27 +00:00
Kenichi Handa
72b718d765 (SINGLE_BYTE_CHAR_P): Check if C is negative or not. 1998-11-16 06:26:27 +00:00
Kenichi Handa
9ced2cfe0a Initial revision 1998-11-16 06:26:03 +00:00
Kenichi Handa
9192a0270d Include charset.h. 1998-11-16 01:17:06 +00:00
Kenichi Handa
94c02a5e1a (abbrev.o): Depend on charset.h
(bytecode.o): Depend on charset.h.
1998-11-16 01:17:06 +00:00
Kenichi Handa
0b58a513d9 (SYNTAX_ENTRY_INT): For a composite character, check
the first component.
1998-11-16 01:17:06 +00:00
Karl Heuer
3ec46dba9a (LIBS_MACHINE): Delete redundant definition. 1998-11-13 23:27:33 +00:00
Karl Heuer
a00e91cd76 (XTread_socket): Fix previous change in case F == 0. 1998-11-12 01:57:30 +00:00
Karl Heuer
9f641ce742 Initial revision 1998-11-11 19:01:02 +00:00
Karl Heuer
6d9fac3ecd (BSD_PGRPS): Add #undef. 1998-11-11 18:58:45 +00:00
Karl Heuer
b12576db33 (BROKEN_FIONREAD): #undef commented out.
(INTERRUPT_INPUT): #define commented out.
1998-11-11 18:53:50 +00:00
Eli Zaretskii
4b2e75e6ad (MAX_ALLOCA): New macro.
(Fbase64_encode_region, Fbase64_encode_string,
Fbase64_decode_region, Fbase64_decode_string):  Don't allocate
more than MAX_ALLOCA bytes with alloca; otherwise use xmalloc.
1998-11-11 11:12:09 +00:00
Kenichi Handa
ea12aa2bf9 (byte_combining_error): Error message improved. 1998-11-11 10:37:09 +00:00