summaryrefslogtreecommitdiff
path: root/src/w32fns.c
Commit message (Collapse)AuthorAgeFilesLines
* (w32_wnd_proc): Use dummy message to wake up thread on quit_char.Geoff Voelker1996-11-211-8/+15
|
* Use new names for w32 filesGeoff Voelker1996-11-191-1/+1
|
* Change identifiers of the form win32* to w32*.Geoff Voelker1996-11-191-419/+419
|
* (Qright): New variable.Richard M. Stallman1996-09-211-5/+16
| | | | | | | | (syms_of_win32fns): Initialize and staticpro Qright. (x_set_vertical_scroll_bars): Check for left<->right<->none scroll bar changes, and modify the vertical scroll bar type as appropriate. (x_figure_window_size): Use new SET_FRAME_WIDTH macro. (Fx_create_frame): Likewise.
* (x_set_frame_parameters): Make height and width ints.Richard M. Stallman1996-09-041-15/+13
|
* (Ffocus_frame, Funfocus_frame): Functions deleted.Richard M. Stallman1996-09-031-15/+0
|
* (Qfont): Delete redundant definition.Karl Heuer1996-07-161-3/+0
| | | | (syms_of_win32fns): Delete the duplicate assignment and staticpro.
* (win32_wnd_proc): Handle WM_ERASEBKGND andKarl Heuer1996-07-121-11/+27
| | | | WM_PALETTECHANGED messages inline (as they should be).
* (Vwin32_alt_is_meta): New variable.Richard M. Stallman1996-06-191-1/+11
| | | | | (win32_get_modifiers): Map Alt to alt_modifier if required. (syms_of_win32fns): DEFVAR new variable.
* (win32_wnd_proc): No need to forward WM_ERASEBKGND to main thread.Richard M. Stallman1996-06-141-0/+5
|
* (x_to_win32_font): Allow any quality fonts.Richard M. Stallman1996-06-101-1/+1
|
* (sync_modifiers): New function.Richard M. Stallman1996-06-101-0/+20
| | | | (w32_wnd_proc): Synchronize modifiers on each key down.
* (reset_modifiers): Only clear a modifier if the modifier key has beenRichard M. Stallman1996-06-011-3/+24
| | | | | | detected to have been released since Emacs lost focus. (win32_wnd_proc): Have Windows translate VK_NUMLOCK and VK_SCROLL key downs; don't reset the modifier state when Emacs loses focus.
* (Vwin32_mouse_move_interval): New lisp variable.Karl Heuer1996-05-251-53/+113
| | | | | | | | | | | | | | | | | (syms_of_win32fns): Add Vwin32_mouse_move_interval to syms. (saved_mouse_msg): Renamed to saved_mouse_button_msg. (timer_id): Renamed to mouse_button_timer. (saved_mouse_move_msg, mouse_move_timer): New variables. (win_msg_worker): Delete WM_TIMER code. (win32_wnd_proc): Handle WM_TIMER events here. Use separate timers for mouse down and mouse move (including scroll bar drag) events. Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events. Only filter WM_MOUSEMOVE events when a button is held down. Always pass on message to DefWindowProc after calling TranslateMessage. Reset keyboard modifiers when losing focus. (win32_wnd_proc): When passing modifier keystrokes back to Windows, invoke TranslateMessage on them.
* (modifier_set): Check toggle state of CapsLock evenKarl Heuer1996-05-221-2/+2
| | | | if modifiers are not being recorded.
* (win32_wnd_proc): Reenable quit_char detection.Richard M. Stallman1996-05-131-1/+1
|
* (win32_wnd_proc): Disable setting of Vquit_flagGeoff Voelker1996-05-101-0/+3
| | | | at this opoint
* (win_msg_worker): Use post_msg.Richard M. Stallman1996-05-101-26/+46
| | | | | | | | | (win32_wnd_proc): Don't abort if button_state & this, just return. Use post_msg instead of my_post_msg in some places. (win32_to_x_font): Major rewrite. (struct enumfont_t): New element logfont. (enum_font_cb2): Add special code for TRUETYPE_FONTTYPE. (Fx_list_fonts): Call x_to_win32_font.
* (continuation of previous checkin)Geoff Voelker1996-05-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Fwin32_rgb): Dead procedure removed. (Fwin32_define_rgb_color, Fwin32_load_color_file, win32_map_color, win32_regenerate_palette, win32_unmap_color): New functions. (syms_of_w32fns): Set up new lisp functions. (define_color): Use palettes. Simulate use of PALETTE_RGB to use closest color instead of dithering. (map_mode): Function removed. (WIN32_COLOR, SET_WIN32_COLOR): New macros. (win32_init_class): Don't set CS_OWNDC in the WNDCLASS style. (win32_createwindow): Invoke ShowWindow to discard defaults from parent. (win32_wnd_proc): Use separate critical sections appropriately. Handle palette change, show window, and set window position messages. Record WINDOWPLACEMENT structure length. D Detect quit_char. (Fx_create_frame): Set scrollbar width to be the system standard. (Ffocus_frame, Funfocus_frame): Functions now do nothing. (x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold", "light", "extralight", and "thin" fonts. (x_to_win32_charset, win32_to_x_charset): New functions. (win32_to_x_font): Use new height units. Use win32_to_x_charset. (x_to_win32_font): Use x_to_win32_charset. Support Win32 font names in addition to X font names. (win32_load_font, Fx_list_fonts, Fx_display_color_cells, Fx_display_mm_height, Fx_display_mm_width: Use GetDC directly. (Fx_open_connection): Support external color mapping files. (win32_abort): Map abort button to abort, retry to debug, and ignore to continue.
* (quit_char, Vwin32_enable_italics, Vwin32_enable_palette):Geoff Voelker1996-05-031-266/+785
| | | | | New variables. (syms_of_win32fns): Set up new lisp variables.
* (defined_color): Map color to nearest in default palette.Richard M. Stallman1996-04-161-2/+8
| | | | (win32_wnd_proc): Special handling for WM_CLOSE.
* (win32_color_map): Use PALETTERGB instead of RGB.Geoff Voelker1996-04-111-240/+240
|
* (Vwin32_pass_alt_to_system,Geoff Voelker1996-03-161-6/+79
| | | | | | | | Vwin32_pass_optional_keys_to_system): New variables. (reset_modifiers, map_keypad_keys): New functions. (win32_wnd_proc): Fixup keypad function keys. Handle the three new keys on Windows keyboards. Reset internal keyboard modifier state upon window focus.
* (modifiers, modifier_key_support_tested,Geoff Voelker1996-02-021-42/+146
| | | | | | | | | | | | | modifiers_recorded): New variables. (EMACS_LCONTROL, EMACS_RCONTROL, EMACS_LMENU, EMACS_RMENU): New macros. (test_modifier_support, record_keydown, record_keyup, modifier_set, construct_modifiers): New functions. (win32_wnd_proc): Monitor modifier keyup and keydown messages. Map window modifiers into console modifiers to unify input. (x_create_frame): Use the FixedSys font as the default font. (x_to_win32_font): For now, always use ANSI_CHARSET.
* backout 1.3Geoff Voelker1996-01-251-526/+211
|
* (Vwin32_enable_italics, Vwin32_enable_palette):Geoff Voelker1996-01-211-211/+526
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New variables. (syms_of_win32fns): Set up new lisp variables. (x_set_frame_parameters, x_real_positions, win32_load_font, win32_abort): Conform to coding style. (Fwin32_define_rgb_color, Fwin32_load_color_file, Fwin32_map_color, Fwin32_unmap_color, Fwin32_regenerate_palette): New functions. (syms_of_win32fns): Set up new lisp subroutines. (defined_color): Use palettes. (map_mode): Function removed. (win32_init_class): Don't CS_OWNDC. (win32_wnd_proc): Use segregated critical sections appropriately. Handle WM_PALETTECHANGED. Record WINDOWPLACEMENT structure length. (x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold", "light", "extralight", and "thin" fonts. (x_to_win32_charset, win32_to_x_charset): New functions. (win32_to_x_font): Use win32_to_x_charset. (x_to_win32_font): Use x_to_win32_charset. Support Windows font names. (Fx_list_fonts, Fx_display_color_cells, Fx_display_mm_height. Fx_display_mm_width): Use GetDC directly. (Fx_open_connection): Support external color mapping files.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Initial revisionGeoff Voelker1995-11-071-0/+4308