summaryrefslogtreecommitdiff
path: root/src/w32inevt.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix whitespace to follow coding guidelines.Juanma Barranquero2010-07-071-2/+2
|
* src/w32*.c: Convert function definitions to standard C.Juanma Barranquero2010-07-061-1/+1
|
* w32inevt.c (key_event): Remove unnecessary comparison ofEli Zaretskii2010-01-291-1/+1
| | | | event->uChar.AsciiChar with 128.
* Fix typos, check for negative ASCII characters.Jason Rumney2010-01-281-4/+4
|
* Use Unicode for console keyboard input on Windows.Jason Rumney2010-01-271-9/+68
| | | | | w32inevt.c (w32_kbd_patch_key): Save the unicode character. (key_event): Use unicode for characters 128 and higher.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * alloc.c: Do not define struct catchtag.Dan Nicolaescu2009-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c: Move struct catchtag definition ... * lisp.h: ... here. * image.c: Move png.h #include earlier to avoid warnings. * xterm.c: * xsmfns.c: * xselect.c: * xrdb.c: * xmenu.c: * xftfont.c: * xfont.c: * xfns.c: * xfaces.c: * xdisp.c: * window.c: * widget.c: * w32xfns.c: * w32uniscribe.c: * w32term.c: * w32select.c: * w32reg.c: * w32proc.c: * w32menu.c: * w32inevt.c: * w32heap.c: * w32font.c: * w32fns.c: * w32console.c: * w32.c: * w16select.c: * vm-limit.c: * unexsol.c: * unexec.c: * unexcw.c: * unexaix.c: * undo.c: * tparam.c: * textprop.c: * terminfo.c: * terminal.c: * termcap.c: * term.c: * syntax.c: * sound.c: * sheap.c: * search.c: * scroll.c: * region-cache.c: * regex.c: * ralloc.c: * process.c: * print.c: * msdos.c: * minibuf.c: * menu.c: * marker.c: * macros.c: * keymap.c: * keyboard.c: * intervals.c: * insdel.c: * indent.c: * gtkutil.c: * ftxfont.c: * ftfont.c: * fringe.c: * frame.c: * fontset.c: * font.c: * fns.c: * floatfns.c: * filelock.c: * fileio.c: * emacs.c: * editfns.c: * dosfns.c: * doprnt.c: * doc.c: * dispnew.c: * dired.c: * dbusbind.c: * data.c: * composite.c: * coding.c: * cmds.c: * cm.c: * chartab.c: * charset.c: * character.c: * ccl.c: * category.c: * casetab.c: * casefiddle.c: * callproc.c: * callint.c: * bytecode.c: * buffer.c: * atimer.c: Include setjmp.h. (Bug#4643) * xlwmenu.c: * lwlib.c: * lwlib-utils.c: * lwlib-Xm.c: * lwlib-Xlw.c: * lwlib-Xaw.c: Include setjmp.h.
* * w32inevt.c (w32_console_read_socket) [SYNC_INPUT]:Juanma Barranquero2009-01-301-6/+0
| | | | | * w32term.c (w32_read_socket) [SYNC_INPUT]: Remove; this code is not used on Windows.
* * atimer.c (run_timers, alarm_signal_handler):Juanma Barranquero2009-01-301-0/+4
| | | | | | | * keyboard.c (pending_signals, handle_async_input, init_keyboard): * w32inevt.c (w32_console_read_socket): * w32term.c (w32_read_socket): * xterm.c (XTread_socket): Use "#ifdef SYNC_INPUT" where appropriate.
* (w32_console_read_socket): Update pending_signals.Chong Yidong2009-01-291-0/+2
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* Merge from emacs--rel--22Miles Bader2008-07-261-0/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1356
| * Backport of long term bug from trunk:Jason Rumney2008-07-181-5/+3
| | | | | | | | | | | | | | | | | | 2008-07-18 David Robinow <drobinow@gmail.com> (tiny change) * w32inevt.c: Include dispextern.h. Don't declare change_frame_size here. (maybe_generate_resize_event, resize_event): Call change_frame_size with SAFE arg.
* | (change_frame_size): Remove extern declaration.Jason Rumney2008-07-171-5/+2
| | | | | | | | | | (resize_event, maybe_generate_resize_event): Pass SAFE arg to change_frame_size.
* | American English spelling fix.Glenn Morris2008-06-271-1/+1
| |
* | Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-141-8/+7
| |
* | Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2007-07-311-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-838) - Update from CVS - Merge from emacs--rel--22 - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Fix void function definition error in cus-edit.el - Restore lisp/emacs-lisp/cl-loaddefs.el * emacs--rel--22 (patch 70-83) - Update from CVS - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Indicate that emacs--devo--0--patch-834 does not need to be applied - Merge from gnus--rel--5.10 - Restore lisp/emacs-lisp/cl-loaddefs.el * gnus--rel--5.10 (patch 239-241) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-28
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (w32_console_read_socket): Make first arg a frame.Jason Rumney2007-05-151-1/+3
|/
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+2
| | | | 2001).
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (w32_console_mouse_position, do_mouse_event, key_event): Don't mixJason Rumney2004-05-171-6/+6
| | | | Lisp_Object and int.
* (w32_console_read_socket): Remove bufp_r andKim F. Storm2004-02-271-11/+14
| | | | | | numcharsp args. Add hold_quit arg. Rework to use just one, local, inev input_event. Store inev directly in fifo using kbd_buffer_store_event_hold.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-35/+35
|
* *** empty log message ***Pavel Janík2002-06-131-3/+3
|
* Include <config.h>.Pavel Janík2002-01-011-1/+3
|
* (w32_console_toggle_lock_key): Add parentheses.Jason Rumney2001-01-121-1/+1
|
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-0/+5
| | | | (MOUSE_MOVED): Define if not known.
* (NUM_TRANSLATED_MOUSE_BUTTONS): New constant.Jason Rumney2000-05-301-9/+8
| | | | | | (emacs_button_translation): Use it. (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit in `mask' to be set.
* (get_frame, w32_console_mouse_position, mouse_moved_to):Jason Rumney2000-01-301-4/+0
| | | | | | Change selected_frame to SELECTED_FRAME (). (w32_console_mouse_position): Remove #ifndef MULE from around `insist' parameter.
* (get_frame, w32_console_mouse_position, mouse_moved_to):Jason Rumney2000-01-231-3/+3
| | | | Use SELECTED_FRAME macro.
* (w32_console_read_socket): Use new variable w32_use_full_screen_buffer.Andrew Innes1999-07-091-4/+7
|
* (maybe_generate_resize_event): Detect changes in theAndrew Innes1999-05-221-1/+24
| | | | | | | | console window size. (w32_console_read_socket): Call maybe_generate_resize_event whenever input events are received, since we don't get told when the window size changes (as opposed to the buffer size, which we don't care about).
* (key_event): Use Vw32_phantom_key_code. Undo theGeoff Voelker1998-12-021-5/+56
| | | | | mapping of Ctrl-Pause into cancel, and Ctrl-NumLock into pause. (w32_console_toggle_lock_key): New function.
* Include w32term.h and w32heap.h.Geoff Voelker1998-11-101-211/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (map_keypad_keys): (Vw32_enable_caps_lock): (Vw32_enable_num_lock): (Vw32_pass_lwindow_to_system): (Vw32_pass_rwindow_to_system): (Vw32_lwindow_modifier): (Vw32_rwindow_modifier): (Vw32_apps_modifier): (Vw32_scroll_lock_modifier): (w32_key_to_modifier): Add externs. (w32_kbd_mods_to_emacs): Recognize Windows keys, Apps key, and Scroll Lock as potential modifiers; exclude numpad keys from effect by CapsLock; act on Vw32_enable_caps_lock; remove obsolete code. (is_dead_key): Copy from w32fns.c. (w32_kbd_patch_key): Comment attempt to improve handling of dead-keys, and system bug relating to same on Windows NT. Work around the bug by calling ToUnicode and then converting to the correct codepage. (map_virt_key): Removed obsolete variable. (lispy_function_keys): Add extern. (key_event): Major rework of keyboard input handling: optionally recognize Windows keys and Apps key as modifiers; optionally treat NumLock, CapsLock and ScrollLock as function keys; let system translate keystrokes to characters to avoid system bugs relating to dead-key handling; preserve shift distinction for control characters. Remove some obsolete code.
* (w32_console_mouse_position): Rename fromGeoff Voelker1998-04-291-8/+8
| | | | w32_mouse_position.
* (Vw32_recognize_altgr): Declare.Geoff Voelker1998-04-171-9/+29
| | | | | | | (w32_kbd_mods_to_emacs): Obey Vw32_recognize_altgr. Add more keys for Vw32_capslock_is_shiftlock. (w32_kbd_patch_key): Obey Vw32_recognize_altgr. (map_virt_key): Brazilian keyboards use 0xc1 for /(?) key.
* Declare externs from other files.Geoff Voelker1997-09-031-6/+29
| | | | | | | | (w32_kbd_mods_to_emacs): New parameter KEY. Use w32-capslock-is-shiftlock for old behavior. (key_event): Pass in new parameter to w32_kbd_mods_to_emacs. (key_event): New parameter isdead. Set isdead if the key press was done using a dead key.
* Change all uses of win95, winnt, and win32Geoff Voelker1997-01-201-1/+1
| | | | | | | 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.
* Change identifiers of the form win32* to w32*.Geoff Voelker1996-11-191-11/+11
|
* (win32_read_socket): Never block reading from input queue.Richard M. Stallman1996-07-251-1/+1
|
* (Vwin32_alt_is_meta): Declared.Richard M. Stallman1996-06-191-1/+4
| | | | (win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required.
* (win32_kdb_patch_key): Initialize isdead.Geoff Voelker1996-05-031-9/+12
| | | | (key_event) [HAVE_NTGUI]: Use Windows key code.
* (win32_kbd_mods_to_emacs, win32_kbd_patch_key,Geoff Voelker1996-02-021-3/+14
| | | | | | key_event): Convert from static to global functions. (win32_kbd_patch_key): Set modifiers when AltGr is pressed. (key_event): Don't modify code on window input.
* (WIN32_KEY_SHIFTED): Macro undefined.Geoff Voelker1996-01-211-51/+72
| | | | | | | | (win32_number_shift_map): Array undefined. (win32_kbd_patch_key): Properly handle virtual keys for arbitrary keyboards. (map_virt_key, key_event, win32_mouse_position, do_mouse_event, win32_read_socket): Support for MULE.