aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename enum event_kind items.Pavel Janík2002-06-131-3/+3
|
* Fix whitespace.Eli Zaretskii2002-05-171-129/+89
| | | | (sig_suspender, sigprocmask): Don't define for DJGPP 2.02 and later.
* (Qhbar): New variable.Eli Zaretskii2002-04-191-4/+10
| | | | | | (syms_of_msdos): intern and staticpro it. (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' cursor type.
* (dos_rawgetc): int/Lisp_Object confusion.Stefan Monnier2002-04-121-1/+1
|
* (dos_rawgetc): Use a single event for HELP_EVENT.Stefan Monnier2002-04-121-8/+4
|
* (syms_of_msdos): Fix last change with mouse_autoselect_window.Eli Zaretskii2002-04-031-1/+1
|
* Rename autoselect_window_p to mouse_autoselect_window.Pavel Janík2002-04-031-5/+5
|
* (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required.Eli Zaretskii2002-04-021-14/+14
|
* Rename x_autoselect_window_p to autoselect_window_p.Pavel Janík2002-04-011-4/+4
|
* Fix typo.Pavel Janík2002-03-311-1/+1
|
* (dos_rawgetc): Disable the x-autoselect-window feature,Eli Zaretskii2002-03-151-0/+4
| | | | until its implementation is fixed.
* (disable_mouse_highlight): Removed variable.Kim F. Storm2002-02-161-5/+20
| | | | | | | | (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.
* (last_mouse_window): New variable.Eli Zaretskii2002-02-161-4/+10
| | | | | (dos_rawgetc): Fix last change--if the mouse is in the same window as recorded in last_mouse_window, don't select this window.
* (x_autoselect_window_p): New variable.Eli Zaretskii2002-02-161-0/+29
| | | | | | | (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.
* (Vx_bitmap_file_path, x_stretch_cursor_p): Remove theseEli Zaretskii2002-02-111-15/+0
| | | | variables; cus-start.el doesn't need them anymore.
* (emacs_root_dir): New function.Eli Zaretskii2001-12-191-0/+11
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-12-111-27/+27
|
* (IT_clear_screen): If the frame's faces are not yetEli Zaretskii2001-11-231-4/+14
| | | | realized, use the initial screen colors to clear the screen.
* Fringe cleanup.Kim F. Storm2001-11-161-1/+1
| | | | Comment fix.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-3/+3
|
* (IT_reassert_line_highlight, IT_change_line_highlight): Functions removed.Miles Bader2001-10-201-33/+7
| | | | | | | | (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.
* (do_visible_bell): Add \n\ at the end of each line ofEli Zaretskii2001-07-061-24/+24
| | | | | | inline assembly, to avoid compiler warnings. (syms_of_msdos): Add \n\ at the end of a doc string line for dos-unsupported-char-glyph.
* Update copyright notice.Eli Zaretskii2001-03-041-1/+2
|
* (Fmsdos_remember_default_colors): If default-frame-alistEli Zaretskii2001-03-021-10/+22
| | | | | | | | | 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.
* (IT_set_face): Obey inverse_video.Eli Zaretskii2000-12-181-0/+8
|
* (IT_write_glyphs): Compute the glyph face from str->face_id.Eli Zaretskii2000-12-181-1/+4
|
* (Fmsdos_set_mouse_buttons): Signal an error if theEli Zaretskii2000-12-141-1/+8
| | | | argument is outside the range [2..3].
* (fast_find_position): Don't overstep the last window row.Eli Zaretskii2000-12-121-4/+15
| | | | | | (IT_note_mouse_highlight): Initialize portion to -1. Remove unused variable `area'. When looking for a row under (X,Y), give up if some of the previous rows is not enabled.
* (dos_set_window_size): Update screen dimension variables.Eli Zaretskii2000-10-211-0/+5
|
* (IT_set_face): Compare highlighted face with the defaultEli Zaretskii2000-10-161-24/+34
| | | | | | | | | | | | face, and invert colors if these faces' colors are identical. (Fmsdos_remember_default_colors): Don't swap foreground and background colors in initial_colors[]. (IT_set_frame_parameters): Don't swap frame's foreground and background pixels. If ALIST includes "(reverse . t)", swap foreground-color and background-color properties in frame's param_alist. If the original frame's param_alist doesn't specify the colors, store unspecified-fg and unspecified-bg, reversed if required.
* Fix last change.Eli Zaretskii2000-10-091-3/+5
|
* (IT_set_frame_parameters): Don't initialize Lisp_ObjectEli Zaretskii2000-10-091-10/+44
| | | | | | variables. If ALIST includes foreground-color or background-color, change also the colors of the default face for this frame.
* (top-level) <Qbackground_color, Qforeground_color>: MakeEli Zaretskii2000-10-081-8/+4
| | | | | | them extern (they are defined on xfaces.c). (syms_of_msdos): Don't intern and don't staticpro Qbackground_color and Qforeground_color.
* (IT_write_glyphs): Convert cbp to unsigned char *.Eli Zaretskii2000-08-161-1/+1
|
* (IT_write_glyphs): Use a locally declared conversion_buffer.Kenichi Handa2000-08-161-0/+3
|
* (IT_update_begin): Don't crash if mouse_face_mouse_frameEli Zaretskii2000-08-151-3/+4
| | | | member of display_info is NULL.
* (IT_note_mouse_highlight): Update the calls to overlays_at.Eli Zaretskii2000-08-101-5/+3
| | | | | (toplevel) <kbd_buffer_store_event>: Remove prototype, it's redundant now that keyboard.h is included.
* Include keyboard.h.Eli Zaretskii2000-08-091-8/+21
| | | | | | | | (XMenuActivate): Empty no_event events from the event buffer. If no events are left after that, call clear_input_pending. (mouse_clear_clicks): New function, code moved from mouse_init. (mouse_init, XMenuActivate): Call mouse_clear_clicks to force the mouse driver to ``forget'' any past clicks.
* (Fmsdos_set_mouse_buttons): Add missing backslashes inEli Zaretskii2000-08-071-3/+3
| | | | the doc string.
* (Fmsdos_set_mouse_buttons, syms_of_msdos): New functions.Eli Zaretskii2000-07-311-14/+34
| | | | (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons.
* (run_msdos_command): Save and restore the masterEli Zaretskii2000-07-311-6/+13
| | | | | | environment, for the case that child_setup signals an error. When mirroring slashes in DOS shell commands, don't fail if argv[2] has embedded blanks.
* (IT_note_mouse_highlight): Process overlays in theEli Zaretskii2000-07-231-4/+8
| | | | | correct order of priority. If help echo was found in an overlay, use that overlay as the object in which the help echo was found.
* (IT_note_mode_line_highlight, IT_note_mouse_highlight):Eli Zaretskii2000-07-201-29/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | Record the object that generated the help echo and the position of that object in help_echo_object and help_echo_pos. Record that some glyphs in a row are displayed in mouse-face. (IT_update_begin): Don't clear mouse highlight unless one of the enabled glyph rows is marked as being displayed in mouse-face. (dos_rawgetc): Generate 2 events for HELP_EVENT. Pass the object and position recorded in help_echo_object and help_echo_pos to the event queue. (IT_menu_display): Accept a new argument PN: the pane number of the current menu pane. Record the pane number and the item number of the item which has associated help string. (XMenuActivate): Update the prototype for help_callback in function declaration. Call IT_menu_display with the current menu pane number as an additional argument. Call help_callback with two additional arguments: the pane number and the item number of the menu item associated with the help text. (help_echo_object, help_echo_pos): New variables. (syms_of_msdos): Initialize them and staticpro help_echo_object. (help_echo_window): New variable. (syms_of_msdos): Initialize and staticpro it. (IT_note_mode_line_highlight): Set help_echo_window. (IT_note_mouse_highlight): Ditto. (dos_rawgetc): Store help_echo_window in the second event produced for HELP_EVENTs.
* (dos_rawgetc): Always set `arg' member of input_events.Gerd Moellmann2000-07-131-0/+2
|
* (dos_rawgetc): Adapt to change of HELP_EVENTs.Gerd Moellmann2000-07-131-1/+2
|
* (XMenuActivate): After exiting the menu, restore theEli Zaretskii2000-07-101-0/+26
| | | | echo area message and erase it.
* * xterm.c (note_mode_line_highlight, note_mouse_highlight)Stefan Monnier2000-07-051-5/+5
| | | | | | | | | (note_tool_bar_highlight, XTread_socket): * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) (dos_rawgetc): * w32term.c (note_mode_line_highlight, note_mouse_highlight) (note_tool_bar_highlight, w32_read_socket): Do not gratuitously ignore non-string `help-echo' properties.
* (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODINGEli Zaretskii2000-06-131-3/+7
| | | | macro, instead AND with CODING_REQUIRE_ENCODING_MASK.
* (IT_write_glyphs): Set coding->src_multibyte to 1.Kenichi Handa2000-05-231-0/+1
|
* Use the term `invalid' instead of `illegal'.Gerd Moellmann2000-05-161-1/+1
|