1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
Commit graph

44 commits

Author SHA1 Message Date
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Jason Rumney
3fb1d72bcb (initialize_w32_display): Detect when the console
dimensions are insane, and default to 80x25 instead.
(w32_use_full_screen_buffer): default to NIL.
2005-07-06 21:36:31 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Kenichi Handa
29e1d29d55 (encode_terminal_code): Fix previous change. 2004-12-01 11:06:22 +00:00
Kenichi Handa
853895f640 (w32con_write_glyphs): Decide coding here.
Adjusted for the change of encode_terminal_code.
2004-12-01 10:48:38 +00:00
Jason Rumney
7cb010ed71 Prefix RIF functions with w32con_ to avoid namespace clash with term.c. 2004-05-18 19:48:51 +00:00
Jason Rumney
4fdbdbbd38 Use static consistently. 2004-05-17 21:14:43 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Kim F. Storm
90022f5a3e Make (few) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
2003-05-24 22:07:03 +00:00
Kim F. Storm
e080d3ebbf * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords):
Add generic versions here.  Remove system specific versions
defined elsewhere.
2003-03-21 22:56:52 +00:00
Kim F. Storm
d9191744d0 Remove consolidated defines and code. 2003-03-21 13:51:17 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Jason Rumney
33f096701c Change doc-string comments to new style'. [w/doc:' keyword]. Doc fixes. 2001-11-12 23:57:09 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Miles Bader
e850a61568 (reassert_line_highlight, change_line_highlight): Functions removed.
(initialize_w32_display): Don't set reassert_line_highlight_hook
or change_line_highlight_hook.
(hl_mode): Function removed.
(reset_terminal_modes, set_terminal_modes, update_begin)
(update_end, w32_face_attributes, initialize_w32_display):
(clear_frame, ins_del_lines): Don't call it.
2001-10-20 05:50:33 +00:00
Gerd Moellmann
32c82ac0a1 Don't define min/max. 2001-10-08 08:08:08 +00:00
Jason Rumney
b93b26cbb0 Do not undef HAVE_WINDOW_SYSTEM before
including dispextern.h, as it stops faces from working.
2000-10-19 19:06:38 +00:00
Andrew Innes
84f5bd8132 (min): Define macro.
(clear_frame, write_glyphs): Fix compile warning.
2000-08-22 22:53:00 +00:00
Kenichi Handa
4d5d6aabc3 (write_glyphs): Use a locally declared conversion_buffer. 2000-08-16 01:38:49 +00:00
Jason Rumney
5101dbdff2 (glyph_to_pixel_coords): Change first parameter to
window pointer to be consistent with w32term.c and xterm.c.
2000-05-30 21:41:35 +00:00
Jason Rumney
65fb143ce7 Only disable window system features for dispextern.h
(initialize_w32_display): Build a display info for the console.
2000-02-27 21:31:07 +00:00
Jason Rumney
338b1bb23d (turn_on_face, turn_off_face): Removed.
(w32_face_attributes): New function.
(Global_variables): Reduce scope where possible.
(clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as
fill attribute.
(hl_mode): Don't modify text attributes.
(write_glyphs): Don't do anything if len <= 0. Use
w32_face_attributes to get attributes for drawing. Write
terminating codes using char_attr_normal.
(reset_terminal_modes, set_terminal_modes): Turn off highlight.
(update_begin, update_end): Likewise.
(vga_stdcolor_name): New function.
(initialize_w32_display): Remove char_attr_reverse and char_attr.
(Fset_screen_color): Remove char_attr_reverse.
2000-01-30 18:53:22 +00:00
Jason Rumney
8c2ac482fb (turn_on_face, turn_off_face): New functions.
(change_line_highlight): New prototype for new redisplay.
(write_glyphs): Support multibyte text. Support faces.
2000-01-23 03:16:02 +00:00
Andrew Innes
191100f2aa (w32_use_full_screen_buffer): New variable.
(syms_of_ntterm): Register it.
(initialize_w32_display): Set initial frame size accordingly,
respecting the LINES and COLUMNS environment variables if set.
1999-07-09 13:38:11 +00:00
Andrew Innes
a5404e3acf (clear_frame): Remember that the window width might
be smaller than the screen buffer width.
(write_glyphs): Remove redundant variable attrs.  Use
FillConsoleOutputAttribute instead of WriteConsoleOutputAttribute.
1999-05-22 17:37:18 +00:00
Geoff Voelker
938469f27d (initialize_w32_display): Use buffer coords
instead of buffer size (which may be larger than the window).
1998-10-30 04:22:31 +00:00
Geoff Voelker
78859b8033 (Fset_message_beep): Recognize 'silent.
(w32_sys_ring_bell): Do nothing for the 'silent sound.
1998-10-28 05:48:12 +00:00
Andrew Innes
c1e0668149 (initialize_w32_display): Call init_crit to initialize
interrupt_handle (referenced by sys_select).
1998-06-22 17:33:05 +00:00
Geoff Voelker
f3d268f900 (initialize_w32_displayed): Use new function prototypes. 1998-04-29 04:35:17 +00:00
Geoff Voelker
3e671d90ba (DebPrint, reset_kbd, unset_kbd, take_console): Delete functions.
(keyboard_init_hook): Delete variable.
(prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable.
(reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info.
(initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate
screen buffer.
(ctrl_c_handler): Only ignore interrupts when interactive.
(set_terminal_modes): Set input mode.
(initialize_w32_display): Record original settings.
Don't reset cursor or clear frame.
1997-09-03 00:46:41 +00:00
Geoff Voelker
2091aeb2a1 Include charset.h. 1997-07-01 05:06:16 +00:00
Geoff Voelker
e6b20d6541 Change all uses of win95, winnt, and win32
into Windows 95, Windows NT, and W32, respectively.
Expand "win" substring in variables referring to Microsoft Windows

constructs into "windows".
Canonicalize header comments to use same terminology.
1997-01-20 00:34:34 +00:00
Geoff Voelker
489f937121 Use new names for w32 files 1996-11-19 07:04:49 +00:00
Geoff Voelker
fbd6baedb5 Change identifiers of the form win32* to w32*. 1996-11-19 04:59:23 +00:00
Richard M. Stallman
f6bb2a1675 (initialize_win_nt_display): Use SET_FRAME_WIDTH. 1996-09-21 02:26:13 +00:00
Richard M. Stallman
b6823b2740 (prev_console_mode): New variable.
(unset_kbd): Use prev_console_mode.
(reset_kbd): Set prev_console_mode.  Call Fset_input_mode.
1996-05-10 20:33:26 +00:00
Geoff Voelker
b47278e10c (clear_frame): Use FillConsoleOutput* calls instead of
ScrollConsoleScreenBuffer (which has a bug on Win95).
1996-01-21 00:28:26 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Geoff Voelker
6e72ba8663 (nt_ring_bell): Renamed from ring_bell, now global.
(initialize_win_nt_display): Use nt_ring_bell.
[HAVE_NTGUI] (pixel_to_glyph_coords, glyph_to_pixel_coords): Don't define.
1995-11-07 07:35:06 +00:00
Richard M. Stallman
40d578c990 (ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals. 1995-06-20 14:58:38 +00:00
Geoff Voelker
6816efced2 Include config.h before stdio.h. 1995-06-10 21:45:43 +00:00
Geoff Voelker
e312961bb6 (set_terminal_modes): Set cursor size appropriate for Win95.
(write_glyphs): Don't memset attrs, which is a word array.
1995-05-26 05:26:51 +00:00
Karl Heuer
0534d577c7 (Fset_message_beep): Defined.
(ring_bell): Support audio cards.
1995-04-12 02:29:47 +00:00
Richard M. Stallman
6cdfb6e60d Initial revision 1994-11-14 01:32:24 +00:00