1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00
Commit graph

197 commits

Author SHA1 Message Date
Jan Djärv
238a44a865 * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in
comparisons with integers instead of Lisp_Object address.
(Fmsdos_set_keyboard): Declare argument allkeys.

* msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.

* dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid
int/Lisp_Object mixup.

* fileio.c: Ditto.
2004-11-07 09:13:26 +00:00
Eli Zaretskii
b106731c46 (msdos_set_cursor_shape): Add debugging print-out to termscript. 2004-09-10 17:07:47 +00:00
Kim F. Storm
d64b707cb1 Rename wait_reading_process_input to wait_reading_process_output. 2004-08-20 10:34:12 +00:00
Eli Zaretskii
b568242644 (dos_rawgetc): Use make_number to produce Lisp objects
for event.x and event.y.
2004-07-03 11:00:36 +00:00
Eli Zaretskii
6be49c3aa8 (syms_of_msdos): Initialize dos-unsupported-char-glyph with make_number.
(IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph with XINT.
2004-05-18 13:36:32 +00:00
Kim F. Storm
1a8da67061 (IT_note_mouse_highlight): Use GET_OVERLAYS_AT. 2004-05-17 22:47:23 +00:00
Eli Zaretskii
affa509c00 (top-level): Add "#pragma pack(0)" after <dir.h>, to
undo bad effect of pack(4) in some versions of system headers.
2004-05-01 17:39:43 +00:00
Eli Zaretskii
319cb37860 (init_environment): If one of the TMP... environment
variables is set to a drive letter without a trailing slash,
append a slash.
2004-04-27 14:22:05 +00:00
Kim F. Storm
fbb6cd8c99 (clear_mouse_face): Only clear mouse highlight if not hidden.
(dos_rawgetc): Set mouse_face_hidden after clearing highlight.
2004-04-05 21:54:02 +00:00
Kim F. Storm
442d3fd048 (Qcursor_type, Qbar, Qhbar): Declare extern.
(syms_of_msdos): Don't intern and staticpro them.
2003-11-28 23:07:13 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Eli Zaretskii
5ff5061511 Comment-only change. 2003-08-24 15:06:41 +00:00
Eli Zaretskii
7e4e242867 Include intervals.h, since STRING_INTERVALS requires that. 2003-08-24 12:58:34 +00:00
Stefan Monnier
c658018ff8 (dos_rawgetc): Don't pass uninitialized data to kbd_buffer_store_event. 2003-06-15 21:00:45 +00:00
Kim F. Storm
c655f6fdf2 Make (several) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(IT_note_mouse_highlight): Use updated window coordinates returned
by window_from_coordinates, rather than adjusting them locally.
(internal_terminal_init): No need to initialize line_height here;
it now defaults to 1.
2003-05-24 22:02:52 +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
02d4b97dff Remove consolidated defines and code.
(IT_note_mouse_highlight, dos_rawgetc): Use enum window_part.
2003-03-21 13:50:39 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Juanma Barranquero
9ccf54e9a3 Fix typo. 2003-01-22 16:14:48 +00:00
Kim F. Storm
0d6239f133 (IT_note_mouse_highlight): Don't use mouse-face if hidden. 2002-10-26 23:53:30 +00:00
Eli Zaretskii
aac06fd4e5 (croak): Add `void' to definition. 2002-08-19 18:20:51 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Juanma Barranquero
6f8269719e Fix typo. 2002-07-09 09:57:34 +00:00
Pavel Janík
3b8f965153 Rename enum event_kind items. 2002-06-13 14:59:38 +00:00
Eli Zaretskii
56e19ec475 Fix whitespace.
(sig_suspender, sigprocmask): Don't define for DJGPP 2.02 and later.
2002-05-17 13:12:37 +00:00
Eli Zaretskii
a0738471ba (Qhbar): New variable.
(syms_of_msdos): intern and staticpro it.
(IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar'
cursor type.
2002-04-19 12:13:47 +00:00
Stefan Monnier
ecd52a9385 (dos_rawgetc): int/Lisp_Object confusion. 2002-04-12 05:57:21 +00:00
Stefan Monnier
e39feffee6 (dos_rawgetc): Use a single event for HELP_EVENT. 2002-04-12 05:50:53 +00:00
Eli Zaretskii
db4a142aa8 (syms_of_msdos): Fix last change with mouse_autoselect_window. 2002-04-03 13:43:47 +00:00
Pavel Janík
ee8ceff815 Rename autoselect_window_p to mouse_autoselect_window. 2002-04-03 08:39:50 +00:00
Eli Zaretskii
1a0721fef5 (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. 2002-04-02 15:52:35 +00:00
Pavel Janík
513f293e7f Rename x_autoselect_window_p to autoselect_window_p. 2002-04-01 13:46:09 +00:00
Pavel Janík
42d9d13aa3 Fix typo. 2002-03-31 16:43:51 +00:00
Eli Zaretskii
7264f28d8c (dos_rawgetc): Disable the x-autoselect-window feature,
until its implementation is fixed.
2002-03-15 15:30:07 +00:00
Kim F. Storm
abf10ed700 (disable_mouse_highlight): Removed variable.
(show_mouse_face): Don't show highlight if mouse_face_hidden is	set.
(IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
(internal_terminal_init): Initialize mouse_face_hidden.
(dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
2002-02-16 23:57:34 +00:00
Eli Zaretskii
9005a471f2 (last_mouse_window): New variable.
(dos_rawgetc): Fix last change--if the mouse is in the same window
as recorded in last_mouse_window, don't select this window.
2002-02-16 19:25:24 +00:00
Eli Zaretskii
4a137db112 (x_autoselect_window_p): New variable.
(syms_of_msdos): Defvar it.
(dos_rawgetc): If x_autoselect_window_p is set, select the window
in which the last mouse movement occured, unless it is already
selected.
2002-02-16 15:44:03 +00:00
Eli Zaretskii
d7439436b6 (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these
variables; cus-start.el doesn't need them anymore.
2002-02-11 07:14:56 +00:00
Eli Zaretskii
bf7943066e (emacs_root_dir): New function. 2001-12-19 19:00:44 +00:00
Pavel Janík
70da46c31c Change doc-string comments to new style' [w/doc:' keyword]. 2001-12-11 06:23:50 +00:00
Eli Zaretskii
deece6f51a (IT_clear_screen): If the frame's faces are not yet
realized, use the initial screen colors to clear the screen.
2001-11-23 17:16:17 +00:00
Kim F. Storm
377df9e21d Fringe cleanup.
Comment fix.
2001-11-16 13:04:02 +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
abcce93ae3 (IT_reassert_line_highlight, IT_change_line_highlight): Functions removed.
(internal_terminal_init): Don't set reassert_line_highlight_hook
or change_line_highlight_hook.
(highlight): Variable removed.
(IT_set_face, IT_update_begin, IT_update_end, IT_set_terminal_modes):
Don't set or use it.
2001-10-20 05:55:56 +00:00
Eli Zaretskii
7677c808b4 (do_visible_bell): Add \n\ at the end of each line of
inline assembly, to avoid compiler warnings.
(syms_of_msdos): Add \n\ at the end of a doc string line for
dos-unsupported-char-glyph.
2001-07-06 15:31:47 +00:00
Eli Zaretskii
1bd6203653 Update copyright notice. 2001-03-04 07:12:41 +00:00
Eli Zaretskii
ff12cd1d43 (Fmsdos_remember_default_colors): If default-frame-alist
specifies (reverse . t), reverse the initial screen colors.
(IT_set_frame_parameters): If the property is foreground-color,
but we are reversing the colors, set bg_set, not fg_set.  Likewise
for setting background-color and reversing: set fg_set.  Set
unspecified-fg and unspecified-bg correctly when (reverse . t) is
in effect.
2001-03-02 13:31:52 +00:00
Eli Zaretskii
76648534c5 (IT_set_face): Obey inverse_video. 2000-12-18 13:27:18 +00:00
Eli Zaretskii
78555fbea6 (IT_write_glyphs): Compute the glyph face from str->face_id. 2000-12-18 10:23:43 +00:00
Eli Zaretskii
e7522695a5 (Fmsdos_set_mouse_buttons): Signal an error if the
argument is outside the range [2..3].
2000-12-14 15:12:58 +00:00