Kenichi Handa
8bedbe9dc2
(adjust_after_replace): Don't add combining bytes to
...
the args given to adjust_point. Handle correctly the case that
there are both before and after combining bytes.
(replace_range): Likewise.
1998-09-08 02:01:59 +00:00
Kenichi Handa
9869520f33
(Fsubst_char_in_region): Call replace_range with the
...
arg MARKERS 1.
1998-09-08 02:01:59 +00:00
Kenichi Handa
2e45bf1801
(Ffind_charset_region): Optimization for unibyte buffer.
...
(Ffind_charset_string): For unibyte string, return (ascii).
1998-09-08 02:01:59 +00:00
Karl Heuer
24c129e40e
(base64_decode_1, base64_encode_1): New functions.
...
(Fbase64_decode_string, Fbase64_encode_string): New functions.
(Fbase64_decode_region, Fbase64_encode_region): New functions.
1998-09-07 19:58:05 +00:00
Karl Heuer
f7993597fa
(Fwidget_put): Return VALUE instead of garbage.
1998-09-07 17:34:59 +00:00
Karl Heuer
955f3ff914
(error): After enlarging buffer, write to it, not to buf.
1998-09-07 17:31:29 +00:00
Kenichi Handa
b57a7b0bf4
(count_combining_after): Check also preceding bytes at
...
POS if all characters in STRING are not character head.
1998-09-07 13:39:15 +00:00
Kenichi Handa
8783b77f5b
(STRING_CHAR_AND_LENGTH): Return correct value in
...
ACTUAL_LEN even if LEN is too short to have a valid multibyte
form.
(STRING_CHAR_AND_CHAR_LENGTH): Likewise.
1998-09-07 13:39:15 +00:00
Kenichi Handa
69f7652519
(ccl_coding_driver): Always calculate correct mulibyte
...
chars in produced byte sequence.
(Ffind_operation_coding_system): Doc-string fixed.
1998-09-07 13:39:15 +00:00
Paul Eggert
177ea5f115
(Fformat_time_string, Fdecode_time, Fcurrent_time_zone):
...
Don't assume that localtime and gmtime return non-NULL.
1998-09-06 15:49:17 +00:00
Karl Heuer
bf6ab66c9a
(Fformat): Detect incomplete format spec at string's end.
1998-09-06 14:40:21 +00:00
Karl Heuer
5e24a1f76c
(Fload): Handle case where openp finds a magic file
...
but it has no `load' handler or that handler calls `load'.
If FOUND != FILE, find FOUND's handler even if inhibited for FILE.
1998-09-06 13:57:32 +00:00
Dave Love
ed218f733e
(enable-multibyte-characters): Doc fix.
1998-09-04 14:08:26 +00:00
Geoff Voelker
3c1f9d6603
(allocate_heap): Define NTHEAP_PROBE_BASE by default.
1998-09-02 05:25:38 +00:00
Kenichi Handa
23017390a5
(Ftranspose_regions): Use BYTE_POS_ADDR to get an
...
address in buffer from byte-position.
1998-09-02 04:51:42 +00:00
Eli Zaretskii
9963e85930
(Vnext_selection_coding_system): New variable.
...
(syms_of_win16select): DEFVAR_LISP it. No need to staticpro
Vselection_coding_system.
(Fw16_set_clipboard_data): Always convert multibyte strings. Use
Vnext_selection_coding_system if non-nil.
(Fw16_get_clipboard_data): Always convert a string that includes
non-ASCII characters. Use Vnext_selection_coding_system if
non-nil.
1998-09-01 13:26:41 +00:00
Kenichi Handa
e1d6d5b93f
(x_load_font): If SIZE is 0, don't use a name x_list_font returns.
1998-09-01 02:25:57 +00:00
Geoff Voelker
490822ffc8
(w32_wnd_proc): Always zero button_state when releasing
...
mouse capture.
1998-09-01 00:30:46 +00:00
Paul Eggert
a897205290
(read1): Don't assume that atof ("-0.0") yields -0.0.
...
Handle leading '-' uniformly for zeros, infinities, and NaNs.
1998-08-31 21:18:28 +00:00
Eli Zaretskii
06da1de199
(IT_cmgoto): When tracking echo area messages with the
...
cursor, save and restore previous cursor position in the
minibuffer.
1998-08-31 15:56:52 +00:00
Kenichi Handa
3b0800187d
(copy_text): If Vnonascii_translation_table is non-nil, try
...
to convert a character less than 160 to multibyte.
(count_size_as_multibyte): Likewise.
1998-08-31 03:50:17 +00:00
Kenichi Handa
bbf12bb32b
(unibyte_char_to_multibyte):
...
Vnonacii_translation_table will convert a 7-bit charcater.
(multibyte_char_to_unibyte): Handle the case that
Vnonacii_translation_table converts a multibyte charcater to a
unibyte charcter of less than 128.
(init_charset_once): Initialize nonascii_insert_offset and
Vnonacii_translation_table.
1998-08-31 03:50:17 +00:00
Kenichi Handa
d4e57bcd5b
(decode_coding): Even if SRC_BYTES is zero, try
...
processing if CODING requires flushing.
(encode_coding): Likewise.
(code_convert_region): Likewise.
(code_convert_string): Likewise.
1998-08-31 03:50:17 +00:00
Kenichi Handa
e0e25273d2
(concat): If Vnonascii_translation_table is non-nil, try
...
to convert a character less than 160 to multibyte.
1998-08-31 03:50:17 +00:00
Kenichi Handa
c63e0d56d5
(dumpglyphs): If Vnonascii_translation_table is non-nil, try
...
to convert a character less than 160 to multibyteL.
1998-08-31 03:50:17 +00:00
Paul Eggert
e64981da92
(arith_driver, float_arith_driver): Compute (- x) by
...
using negation, not subtraction; this makes a difference with
IEEE floating point arithmetic (and also if integer arithmetic
is ones' complement or signed-magnitude!).
1998-08-29 17:57:22 +00:00
Karl Heuer
66cb9c0731
(x_create_bitmap_from_file): Fail immediately if magic.
1998-08-29 15:55:28 +00:00
Kenichi Handa
f78643efc0
(Fchar_bytes): Add \n\ in doc-string.
1998-08-29 01:26:19 +00:00
Paul Eggert
9d0ebf980b
(NOT_USING_MOTIF): New macro.
...
(LD_SWITCH_SYSTEM_TEMACS): Put /usr/dt/lib in the link library
path only if we're not building with Motif.
1998-08-28 23:38:20 +00:00
Kenichi Handa
4a7cf15f47
(adjust_after_replace): Fix the code to recode undo
...
information for the case that `before combining' happens. Remove
text properties which are added to the new text by
offset_intervals.
1998-08-28 12:33:52 +00:00
Kenichi Handa
df2ddb2d28
(code_convert_region1): Remove all text properties of the region.
1998-08-28 12:33:52 +00:00
Kenichi Handa
643044ebfd
(count_size_as_multibyte): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
fcf9683ed5
(Fposition_bytes): If the arg POSITION is out of
...
range, return nil.
(Fbyte_to_position): If the arg BYTEPOS is out of range, return
nil.
1998-08-28 12:22:39 +00:00
Kenichi Handa
9b6a601f87
(Fchar_bytes): Now always return 1.
...
(char_bytes): New function.
1998-08-28 12:22:39 +00:00
Kenichi Handa
3124bc0ed3
(CHAR_BYTES): New macro.
1998-08-28 12:22:39 +00:00
Kenichi Handa
6d0b4facd2
(Faset): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
cc531c4441
(concat): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
b778fdb3a5
(message_dolog): Use macro CHAR_BYTES instead of Fchar_bytes.
1998-08-28 12:22:39 +00:00
Kenichi Handa
ae9ff118cb
(detect_coding_iso2022): Handle ESC N and ESC O
...
correctly. They are for SS2 and SS3 respectively.
(ccl_coding_driver): Fix previous change.
1998-08-27 07:47:15 +00:00
Paul Eggert
71f8198a32
(fixup_locale): New function. For now, it resets
...
LC_TIME to "C" (reverting the 1998-08-07 change), and also
resets LC_MESSAGES to "C".
(x_term_init): Use it to fix up the locale after setlocale
(LC_ALL, "").
1998-08-27 02:00:35 +00:00
Richard M. Stallman
d24e26b1a9
(selection_data_to_lisp_data): Code-convert selections
...
regardless of enable-multibyte-characters.
(lisp_data_to_selection_data): Likewise for decoding.
1998-08-26 21:15:23 +00:00
Karl Heuer
7c3c78a3c8
(x_calc_absolute_position): Cast argument to XFree, in
...
case it was prototyped the old way.
1998-08-26 20:29:59 +00:00
Kenichi Handa
6f6512e8c0
(x_list_fonts): Work-around for the case XGetAtomName
...
returns a null string. This happens when dxpc 3.7 is being used.
1998-08-25 03:59:40 +00:00
Andreas Schwab
a8b1366533
(input-method-previous-message): Doc fix.
1998-08-24 10:11:57 +00:00
Andreas Schwab
a85a871a33
(file-coding-system-alist, select-safe-coding-system-function): Doc fix.
1998-08-24 10:05:10 +00:00
Kenichi Handa
f46869e46f
(detect_coding_iso2022): Don't check the byte length of
...
succeeding codes (0xa0..0xFF) if the codes follows single shit
code.
1998-08-24 06:42:56 +00:00
Kenichi Handa
25b026986f
(detect_coding_system): If detect_eol_type returns
...
CODING_EOL_INCONSISTENT, set eol_type to CODING_EOL_UNDECIDED
correctly.
1998-08-21 06:34:13 +00:00
Richard M. Stallman
76ba958178
(Fcall_process): Use malloc for decoding_buf.
1998-08-19 17:44:21 +00:00
Richard M. Stallman
c683d70bd8
(LD_SWITCH_SYSTEM): Delete -dp.
1998-08-19 07:27:13 +00:00
Geoff Voelker
d08e1f6c0d
(SYSTEM_PURESIZE_EXTRA): Increase.
1998-08-19 03:48:17 +00:00