aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Include "ccl.h".Kenichi Handa1998-12-151-3/+20
| | | | | | | | | (Fcall_process): Doc-string modified. Set CODING_MODE_LAST_BLOCK bit in argument_coding.mode to tell encoding procedure to flush data. While encoding arguments, if argument_coding uses CCL program, initialize it again after encoding. (Fcall_process_region): Doc-string modified. Handle the case that NARGS is 3.
* (CCL_SUCCESS): Don't set ccl->ic.Kenichi Handa1998-12-151-9/+19
| | | | | | | | | (ccl_driver) <CCL_End>: Pretend that all source text is consumed. Set `ic' to the head of this command. (ccl_driver) <CCL_ReadMultibyteChar2>: Return a single byte 8-bit code for an invalid code. (setup_ccl_program): If the arg VEC is nil, skip setting ups based on VEC.
* (Qunknown): New variable.Kenichi Handa1998-12-151-27/+86
| | | | | | | | | | | | | | | (init_charset_once): Intern and staticpro Qunknown. Initialize all elements of Vcharset_symbol_table to Qunknown. (find_charset_in_str): New arg MULTIBYTE. If it is zero, check unibyte characters only. For an invalid composition sequence, set CHARSETS[1] to 1. (Ffind_charset_region): Call find_charset_in_str with an appropriate MULTIBYTE arg. If undefined charsets are found, include `unknown' is the return value. (Ffind_charset_string): Likewise. (Fsplit_char): If CHAR is invalid, return `(unknown CHAR)'. (str_cmpchar_id): Max composite character code should be less than GENERIC_COMPOSITION_CHAR.
* (find_charset_in_str): Update declaration.Kenichi Handa1998-12-151-1/+1
|
* (DECODE_DESIGNATION): Jump to label_invalid_code ifKenichi Handa1998-12-151-5/+17
| | | | | | | | | | final_char is invalid. (decode_coding): If coding->type is coding_type_ccl, call ccl_coding_driver even if SRC_BYTES is zero. (code_convert_region): Update `inserted' correctly after calling coding->post_read_conversion. Even after the code converter consumed all source text, call it once more if it is coding_type_ccl to flush out data.
* (printchar): When outputting a multibyte character toKenichi Handa1998-12-151-14/+20
| | | | echo area, always set message_enable_multibyte to 1.
* (read_process_output): If NBYTES is zero andKenichi Handa1998-12-151-1/+14
| | | | | | | CODING_MODE_LAST_BLOCK bit is not yet set in coding->mode, set it and try decoding again. (Fprocess_send_eof): If the coding system of PROCESS requires flushing, call send_process with null-string at first.
* (Finsert_file_contents): Even if INSERTED is zero, ifKenichi Handa1998-12-151-1/+1
| | | | CODING is handled by CCL program, call code_convert_region.
* (string_char_to_byte): Handle invalid multibyte sequenceKenichi Handa1998-12-151-2/+2
| | | | | correctly. (string_byte_to_char): Likesize.
* (search_buffer): Don't use Boyer-MooreKenichi Handa1998-12-151-21/+13
| | | | | | to search for an invalid multibyte code. In unibyte case, no need to check whether there are translations in more than one charset; just set charset_base to 0.
* (Fw16_set_clipboard_data): Call find_charset_in_strKenichi Handa1998-12-151-1/+1
| | | | with MULTIBYTE arg 0.
* (Fw32_set_clipboard_data): Call find_charset_in_strKenichi Handa1998-12-151-1/+1
| | | | with MULTIBYTE arg 0.
* (lisp_data_to_selection_data): Call find_charset_in_strKenichi Handa1998-12-151-1/+1
| | | | with MULTIBYTE arg 0.
* (LOCALTIME_CACHE): Define.Geoff Voelker1998-12-101-1/+1
|
* (w32_get_long_filename): Handle root dirs correctly.Geoff Voelker1998-12-101-2/+2
|
* Doc fixes.Karl Heuer1998-12-101-7/+8
|
* (insert_from_buffer_1): Properly count the sizeKarl Heuer1998-12-101-10/+35
| | | | | of output from conversion to multibyte even when input is split across the gap.
* (re_compile_fastmap): For anychar, set all fastmapKarl Heuer1998-12-101-13/+5
| | | | elements for all possible unibyte chars (except newline).
* (C_SWITCH_SYSTEM) [!__GNUC__]: Increase space.Karl Heuer1998-12-101-1/+1
|
* (Fw32_get_clipboard_data): Do not delete isolated CRGeoff Voelker1998-12-091-14/+18
| | | | characters, only convert CRLF to LF.
* Do string comparision of _NMAKE_VER.Geoff Voelker1998-12-081-1/+1
|
* (Vdos_unsupported_char_glyph): New variable.Eli Zaretskii1998-12-061-22/+236
| | | | | | | | | | | | | | (syms_of_msdos): DEFVAR_LISP it. (IT_insert_glyphs, IT_delete_glyphs): New functions which abort Emacs. (internal_terminal_init): Set up insert_glyphs_hook and delete_glyphs_hook to call them. Explicitly set char_ins_del_ok to 0. (unibyte_display_via_language_environment): New variable. (syms_of_msdos): Devfar it. (IT_write_glyphs): Honor glyph aliasing via Vglyph_table. Encode the character codes of the glyphs according to the terminal_coding in effect.
* (msdos.o): Depend on termchar.h, charset.h, coding.h, and disptab.hEli Zaretskii1998-12-061-2/+2
|
* (Fstring_as_unibyte): Doc fix.Andreas Schwab1998-12-041-1/+0
|
* (init_environment): Record the time we started up.Eli Zaretskii1998-12-031-19/+35
| | | | | (IT_reset_terminal_modes): Don't restore the screen if we exit too fast after startup (aka crash).
* (dos_cleanup): Flush and fsync the termscript stream.Eli Zaretskii1998-12-031-0/+7
|
* Declare char_valid_p.Andreas Schwab1998-12-031-0/+1
|
* (check_windows_init_file): Use decode_env_path whenGeoff Voelker1998-12-031-2/+4
| | | | using EMACSLOADPATH.
* (FONT_MAX_WIDTH): New macro.Geoff Voelker1998-12-031-0/+1
|
* (dumpglyphs): Use unsigned char arrays.Geoff Voelker1998-12-031-6/+61
| | | | | | Use FONT_MAX_WIDTH to detect and fudge proportional fonts for various languages. Compensate for fonts that have underhangs (e.g., Thai).
* (WM_EMACS_TOGGLE_LOCK_KEY): New define.Geoff Voelker1998-12-021-1/+2
|
* (key_event): Use Vw32_phantom_key_code. Undo theGeoff Voelker1998-12-021-5/+56
| | | | | mapping of Ctrl-Pause into cancel, and Ctrl-NumLock into pause. (w32_console_toggle_lock_key): New function.
* (Vw32_phantom_key_code): New variable.Geoff Voelker1998-12-021-48/+217
| | | | | | | | | | | | | | | | | | | | | | | | (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.
* (w32_last_error): Fix cut+paste error.Geoff Voelker1998-12-021-6/+6
|
* termhooks.h (event_kind) [WINDOWSNT]: DefineGeoff Voelker1998-12-021-0/+4
| | | | language_change_event.
* (parse_modifiers): Declare prototype.Geoff Voelker1998-12-021-0/+1
|
* (Qlanguage_change): New variable.Geoff Voelker1998-12-021-6/+21
| | | | | | | | | (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.
* (Qouter_window_id): New variable.Richard M. Stallman1998-12-021-0/+6
| | | | | (syms_of_xfns): Initialize it. (x_report_frame_params): Set up outer-window-id parameter.
* (Freplace_match): Set OPOINT clearly for the caseRichard M. Stallman1998-12-011-1/+3
| | | | where point is in the middle of the text to be replaced.
* (display_text_line): When handling HPOS < 0 after loop,Richard M. Stallman1998-11-301-2/+3
| | | | if compute_motion fails to advance at all, don't back it up.
* (Fsingle_key_description): Fix previous change.Richard M. Stallman1998-11-281-2/+3
|
* (Fstring_as_unibyte, Fstring_as_multibyte):Richard M. Stallman1998-11-271-2/+7
| | | | Clear text properties in the new string.
* (Frequire): Update declaration.Kenichi Handa1998-11-261-1/+1
|
* (ccl_driver) <CCL_TranslateCharacter>: Don't suppress MSBKenichi Handa1998-11-261-2/+2
| | | | | if the charset is ascii. (ccl_driver) <CCL_TranslateCharacterConstTbl>: Likewise.
* (non_ascii_char_to_string): If C has modifier bits,Kenichi Handa1998-11-261-0/+17
| | | | | | make an appropriate one byte string. (char_bytes): Handle the case that C is a single byte char or has modifier bits.
* (CHAR_BYTES): If C has modifier bits, return 1.Kenichi Handa1998-11-261-1/+2
|
* (internal_self_insert): If C has modifier bits, insertKenichi Handa1998-11-261-0/+4
| | | | appropriate one byte char.
* (read_process_output): Call signal_after_change.Richard M. Stallman1998-11-251-1/+4
|
* (syms_of_buffer): Doc fix.Richard M. Stallman1998-11-241-3/+10
|
* (syms_of_keyboard): Doc fix.Richard M. Stallman1998-11-241-2/+6
|