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

10633 commits

Author SHA1 Message Date
Andrew Innes
1c885fe1ad (x_to_w32_charset): Fix typo: want to map all Japanese
charsets to the standard Windows charset for Japanese.
1999-05-04 08:57:08 +00:00
Kenichi Handa
74848a963c (x_load_font): Fix typo (>' -> ='). 1999-05-04 05:45:36 +00:00
Kenichi Handa
e05645eeb8 (struct ccl_program): New member stack_idx. 1999-05-04 05:43:41 +00:00
Kenichi Handa
c13362d808 (ccl_prog_stack_struct): Declare it as static.
(ccl_driver): Setup stack_idx and ccl_prog correctly.  Update them
before returing.
(setup_ccl_program): Initialize ccl->stack_idx to 0.
1999-05-04 05:42:55 +00:00
Andrew Innes
e3e0e526a7 (dumpglyphs): Always fill background for italic fonts. 1999-05-03 22:27:11 +00:00
Andrew Innes
e5124be7f7 (make_time): Make argument type be time_t. 1999-05-03 22:01:09 +00:00
Andrew Innes
68026917ff (unibyte_display_via_language_environment): Add extern. 1999-05-02 11:02:11 +00:00
Andrew Innes
86e8618142 (unibyte_display_via_language_environment):
Variable moved to xdisp.c.
(syms_of_w32fns): Don't set up Lisp var here.
1999-05-02 10:58:11 +00:00
Andrew Innes
e16bf4949f (unibyte_display_via_language_environment):
Variable moved to xdisp.c.
(syms_of_msdos): Don't set up Lisp var here.
1999-05-02 10:56:26 +00:00
Andrew Innes
2c088c9835 (unibyte_display_via_language_environment):
Variable moved to xdisp.c.
(syms_of_xfns): Don't set up Lisp var here.
1999-05-02 10:54:36 +00:00
Andrew Innes
7bbe686fb2 (display_text_line): Convert unibyte char to multibyte
if unibyte_display_via_language_environment is set.
(unibyte_display_via_language_environment):
Variable moved from xfns.c and elsewhere.
(syms_of_xfns): Set up Lisp var.
1999-05-02 10:51:03 +00:00
Andrew Innes
a5a7d30fe9 (HAVE_FSYNC): New macro.
(fsync): Map to _commit.
(ftruncate): Map to _chsize.
1999-05-02 10:36:23 +00:00
Andrew Innes
e12ca9c2ec [andrewi]
(dumpglyphs): On Windows NT, do output in Unicode even
for ASCII, if enabled, to avoid memory allocation overhead for
implicit Unicode conversion.  Also, recognize that ASCII and
Latin-1 have a trivial conversion to Unicode, so x_2byte_buffer
lready contains the Unicode characters in that case.
(construct_drag_n_drop): Remove old code that was
trashing the drop location.

[jasonr]
(w32_write_glyphs, w32_clear_end_of_line,
w32_clear_frame, clear_cursor, x_display_bar_cursor,
x_display_box_cursor, x_set_window_size): Use phys_cursor_on
field in frame.
(do_line_dance): Updated WRT xterm.c. Use macros where possible.
(dumprectangle): Take into account the width of a left-side
scroll bar.
1999-05-02 10:34:21 +00:00
Andrew Innes
43df7d0b43 (Fw32_set_clipboard_data): Undo last change to add
nlines to encoding_buffer_size (real bug was in a ccl program in
lisp/international/coding.el).
1999-05-02 10:30:22 +00:00
Andrew Innes
49fb6381ca (w32_get_string_resource): Check for name in current
user area, and if not found look in the local machine area.
1999-05-02 10:28:55 +00:00
Andrew Innes
f446016fdb (sys_kill): Attach to current foreground thread
when grabbing focus; necessary on NT 5.0.
1999-05-02 10:27:27 +00:00
Andrew Innes
55dcfc1588 [andrewi]
(w32_list_bdf_fonts): Initialize n_fonts.
(Fw32_shell_execute): New function; used to support browse-url.
(syms_of_w32fns): Register it.
(w32_load_system_font): Force max width to be average
char width for fixed-pitch fonts, to avoid unnecessary redisplay
slowdown.
(x_to_w32_charset): Define VIETNAMESE_CHARSET if not
already defined.
(syms_of_w32fns): Set Vw32_phantom_key_code to 255.

[jasonr]
(w32_wnd_proc) [WM_PAINT]: Use rectangle from
GetUpdateRect rather than BeginPaint.
(w32_wnd_proc): Attach to current foreground thread
when grabbing focus; necessary on NT 5.0.
(w32_wnd_proc) [W32_DEBUG_DISPLAY]: Add output for
debugging display messages.
(w32_to_x_charset): Put wildcard last in unknown charsets to avoid
false matching.
1999-05-02 10:23:06 +00:00
Andrew Innes
e3ddd18c28 (get_section_info): Dump back the entire EMDATA
section if we can put Emacs' initialized data in a separate
section, otherwise use the my_begdata/my_edata method.
1999-05-02 10:13:08 +00:00
Andrew Innes
9551468ff4 ($(BLD)\w32term.obj): Add dependency on w32heap.h. 1999-05-02 10:11:35 +00:00
Andrew Innes
716e0b0ab9 [andrewi]
(decode_eol): Set produced/consumed values to zero if
src_bytes is <= 0 on entry.

[handa]
(setup_raw_text_coding_system): Call
setup_coding_system to initialize the fields of struct
coding_system correctly.
1999-05-02 10:05:22 +00:00
Karl Heuer
003a7eaa31 Comment fix. 1999-04-28 16:41:08 +00:00
Karl Heuer
53ca46578b (x_list_fonts): Fix previous change. 1999-04-26 06:02:19 +00:00
Karl Heuer
f1b6f8a157 (HAVE_LIBXP): Add #undef. 1999-04-26 05:22:32 +00:00
Karl Heuer
6389f670f9 (LIB_MOTIF_EXTRA): Check HAVE_LIBXP. 1999-04-26 05:22:16 +00:00
Kenichi Handa
17d85edc86 Trap X errors so that Emacs doesn't die
by them.
1999-04-13 00:51:52 +00:00
Karl Heuer
165e2d55b4 (BSD_SYSTEM): Define for FreeBSD 4 as with FreeBSD 3. 1999-04-12 18:23:41 +00:00
Kenichi Handa
b550eb05f7 (Fset_fontset_font): Fix previous change. 1999-04-12 01:26:06 +00:00
Kenichi Handa
79091e9c64 (Fquery_fontset): Check for fontset aliases here.
(Fnew_fontset, Fset_fontset_font): Don't check for them here.
1999-04-10 02:21:00 +00:00
Richard M. Stallman
f87740dccb (do_autoload): Preserve match data. 1999-04-09 19:21:52 +00:00
Richard M. Stallman
abc9d9597c (Fmake_indirect_buffer): Copy multibyte status from the base buffer.
(Fset_buffer_multibyte): Copy new multibyte status
into the buffer's indirect buffers.
1999-04-09 19:20:26 +00:00
Richard M. Stallman
0748d150ec (Faccept_process_output): Check validity of PROCESS. 1999-04-08 16:50:04 +00:00
Eli Zaretskii
fb7f676dd3 (jp_kbd_translate_table): Fix the other \ key. 1999-04-08 11:55:45 +00:00
Richard M. Stallman
26e18ed97f (x_set_font): Fix error message. 1999-04-08 01:16:01 +00:00
Richard M. Stallman
9af3dc479f (Fquery_fontset): Don't check for fontset aliases here.
(Fnew_fontset, Fset_fontset_font): Check for them here.
(Ffontset_info, Fnew_fontset, Fset_fontset_font):
Fix error message syntax.
1999-04-07 23:35:12 +00:00
Richard M. Stallman
8ea3e05445 (x_to_w32_font): Provide sufficient buffer to encode_coding to avoid carryover. 1999-04-07 05:48:00 +00:00
Kenichi Handa
e238283b30 (base64_encode_1): Don't add unnecessary newline at the tail. 1999-04-07 05:40:54 +00:00
Richard M. Stallman
6d4e6528f5 (Ffile_attributes): Doc fix. 1999-04-06 23:41:21 +00:00
Richard M. Stallman
fb2fdea71c (get_doc_string): When UNIBYTE and DEFINITION are 0,
let the data control whether string is unibyte.
1999-04-06 19:50:49 +00:00
Richard M. Stallman
b91f7a6f35 (Faccessible_keymaps): Really initialize i_byte.
Convert 0200 to meta only in a unibyte string.
(Fkey_description): Likewise.
1999-04-06 19:36:02 +00:00
Kenichi Handa
52d41803be Add comments for decode_coding and encode_coding. 1999-04-06 12:34:12 +00:00
Kenichi Handa
6076842800 (ccl_driver) <CCL_ReadMultibyteChar2>: Fix bug of handling
a composite character by skipping its leading code.
<CCL_WriteMultibyteChar2>: Handle non-ascii single byte character
correctly.
1999-04-06 12:33:42 +00:00
Eli Zaretskii
a54b7a82c8 (dos_rawgetc): Don't zero out c if private translation
table was used.
(jp_kbd_translate_table): Support C-\.
(it_kbd_translate_table): Map `>' correctly.
(it_keyboard): Add `>'.
1999-04-06 10:25:31 +00:00
Richard M. Stallman
6445414a59 (graft_intervals_into_buffer): Turn off
inhibit_modification_hooks around calling Fset_text_properties.
1999-04-06 08:49:28 +00:00
Kenichi Handa
07ff4fb3cf (dumpglyphs): Be sure to fill the whole background of
glyphs.
1999-04-05 06:47:41 +00:00
Eli Zaretskii
ec4d531332 (jp_kbd_translate_table): Fix last change. 1999-04-05 06:36:31 +00:00
Eli Zaretskii
d1d5dc1954 (struct kbd_translate): New struct, for key translation
tables private to certain national keyboard layouts.
(struct dos_keyboard_map): Add a pointer to a private translation
table.
(jp_kbd_translate_table): Private table for the Japanese
keyboard.
(jp_keyboard): Japanese keyboard layout.
(it_kbd_translate_table): Private table for the Italian keyboard.
(it_keyboard): Use it_kbd_translate_table.
(keyboard_layout_list): Add the Japanese keyboard.
(dos_rawgetc): Use the keyboard-private translation table, if
available.
(abort) [__DJGPP_MINOR__ >= 2]: Raise SIGABRT.
1999-04-04 11:43:57 +00:00
Kenichi Handa
919c7723de (redisplay_window): When we call compute_motion with
HPOS got from w->last_point_x, call it with DID_MOTION 1.
(display_text_line): Stop the loop for processing overlay strings
when we reach the right edge of the window.
1999-04-02 16:35:33 +00:00
Karl Heuer
80184dac07 (Fexecute_kbd_macro): Save real_this_command.
(pop_kbd_macro): Restore the saved real_this_command.
(Fcall_last_kbd_macro): Set real_this_command to the macro.
1999-03-30 18:02:13 +00:00
Karl Heuer
90d456d297 (Fset_buffer_modified_p): Don't lock or unlock
if buffer-file-name is nil.
1999-03-26 17:55:42 +00:00
Andrew Innes
0ece9ef6bf (Fw32_set_clipboard_data): Take into account line
ends when calculating clipboard storage needed for non-ASCII text.
1999-03-25 22:59:18 +00:00