1. 14 Mar, 1999 2 commits
  2. 26 Feb, 1999 1 commit
  3. 17 Feb, 1999 1 commit
  4. 02 Feb, 1999 1 commit
  5. 28 Jan, 1999 2 commits
  6. 27 Jan, 1999 1 commit
  7. 22 Jan, 1999 1 commit
    • Geoff Voelker's avatar
      (Vw32_bdf_filename_alist): New variable. · 33d52f9c
      Geoff Voelker authored
      (x_destroy_bitmap): Returns void not int.
      (x_set_border_pixel): Returns void.
      (w32_load_bdf_font): New function.
      (w32_load_system_font): New function, was w32_load_font.  List
      fonts before loading.  Explicitly set encoding for SJIS fonts.
      Set default_ascent to 0 as comment indicates.
      (w32_load_font): Call w32_load_system_font and w32_load_bdf_font.
      (w32_unload_font): Support BDF fonts.
      (w32_to_x_charset): Fix mappings to avoid wildcard mismatches.
      Autodetect whether to use koi8-r instead of iso8859-5.
      Associate "ksc5601.1987" with HANGUEL_CHARSET.
      Associate "ksc5601.1992" with JOHAB_CHARSET.
      (x_to_w32_charset): Make consistent with w32_to_x_charset.
      (w32_to_x_font): Add resolution.
      (x_to_w32_font): Use font resolution to calculate height if supplied.
      (w32_font_match): Handle wildcards anywhere within field.
      (enumfont_t): Remove unused head pointer.
      (enum_font_cb2): Dereference elfLogFont.
      (w32_list_bdf_fonts): New function.
      (w32_list_fonts): Use one_w32_dispay_info instead of insisting on
      valid frame.  Remove MessageBox.  Support BDF fonts.
      (Fw32_find_bdf_fonts): New function.
      (syms_of_w32fns): Add Vw32_bdf_filename_alist and
  8. 19 Jan, 1999 1 commit
  9. 28 Dec, 1998 1 commit
    • Andrew Innes's avatar
      (w32_msg_pump): Ignore WM_NULL message posted to thread · 3ef68e6b
      Andrew Innes authored
      by complete_deferred_msg.
      (post_character_message): Cancel all deferred messages when
      quit_char is typed, in order to break out of potential deadlocks.
      (cancel_all_deferred_msgs): New function.
      (complete_deferred_msg): Don't abort if msg not found; may have
      been cancelled.
      (Fw32_reconstruct_hot_key): Use pre-interned symbols.
      (Fw32_send_sys_command): Wait for system command to
      complete before returning.
  10. 02 Dec, 1998 2 commits
    • Geoff Voelker's avatar
      (Vw32_phantom_key_code): New variable. · adcc3809
      Geoff Voelker authored
      (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): New
      (syms_of_w32fns): Init and register them.
      (reset_modifiers): Use a more precise test for whether Emacs has
      keyboard focus.  Synchronize state of all keys that can be used as
      modifiers, to overcome problems arising from hot-keys.
      (w32_key_to_modifier): Be careful not to call intern() to avoid
      requiring thread synchronization.
      (w32_msg_pump): Handle new WM_EMACS_TOGGLE_LOCK_KEY message.
      (w32_wnd_proc): Ensure lock key indicator lights are updated
      promptly on Windows 9x, by passing key events on to the system.
      (w32_wnd_proc): Use Vw32_phantom_key_code to stop system
      responding to Windows key events when not wanted.
      (w32_wnd_proc): Undo the mapping of Ctrl-Pause into cancel and
      Ctrl-NumLock into pause by the system.
      (w32_wnd_proc): Don't translate key combinations containing any
      modifiers other than shift (and capslock).
      (w32_wnd_proc): Reset modifier key states when receiving focus (we
      can't determine the key states until we have keyboard focus).
      (Fw32_toggle_lock_key): New function.
      (syms_of_w32fns): Defsubr it.
    • Geoff Voelker's avatar
      (w32_last_error): Fix cut+paste error. · 83c75055
      Geoff Voelker authored
  11. 10 Nov, 1998 1 commit
    • Geoff Voelker's avatar
      (Vw32_pass_optional_keys_to_system): Variable removed. · ccc2d29c
      Geoff Voelker authored
      (Vw32_scroll_lock_modifier): New variables.
      (modifier_set): Return toggle state for Scroll Lock.
      (w32_key_to_modifier): New function.  Returns chosen modifier bit
      for given key.
      (w32_get_modifiers): Returns modifier flags for
      non-keyboard input events.
      (construct_console_modifiers): Renamed from construct_modifiers;
      recognize Windows and Apps keys as modifiers.
      (w32_get_key_modifiers): New function.  Returns modifier flags for
      keyboard input events.
      (map_keypad_keys): Make non-static.  Use second arg as extended
      (w32_grabbed_keys): New variable.
      (Fw32_reconstruct_hot_key): New functions to support hotkeys.
      (post_character_message): New function.
      (w32_msg_pump): Handle new messages for using hotkeys and changing
      keyboard layout/language.
      (w32_wnd_proc): 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; forward keyboard
      layout/language changes to lisp; detect and convert hot-key events
      to normal keystrokes.
      (syms_of_w32fns): Register new functions and variables.
      (w32_last_error): New function for use in debugging.
  12. 04 Nov, 1998 1 commit
  13. 03 Nov, 1998 1 commit
  14. 27 Oct, 1998 1 commit
  15. 20 Oct, 1998 1 commit
    • Geoff Voelker's avatar
      (Vx_pixel_size_width): New global variable. · 4587b026
      Geoff Voelker authored
      (unibyte_display_via_language_environment): New global variable.
      (x_set_font): Add support for setting fontsets.
      (Fx_create_frame): Add check_w32(). Initialize fontsets.  Fix
      font names to match xlfd-tight-regexp.
      (w32_load_font): Rewrite based on x_load_font.
      (x_to_w32_charset, w32_to_x_charset): Add character sets.  Use
      `iso8859-1' rather than `ansi'.
      (w32_to_x_font): Remove `-' from font name.  Remove the `-' off the
      end. Move charset into `charset registry' field.
      (enum_font_cb2): Check charsets match.  Include width in font list.
      (w32_list_fonts): Rewrite based on x_list_fonts.
      Moved from w32term.c to have access to enumfont_t struct.
      (Fx_list_fonts): w32 specific version eliminated.  Include
      (w32_get_font_info, w32_query_font, w32_find_ccl_program): New
      functions for fontset support - adapted from x_ equivalents.
      (syms_of_w32fns): New lisp variables initialised.  Function
      pointers for fontset.c set up.
  16. 09 Oct, 1998 1 commit
  17. 24 Sep, 1998 1 commit
  18. 01 Sep, 1998 1 commit
  19. 27 Jun, 1998 1 commit
  20. 15 May, 1998 1 commit
  21. 02 May, 1998 1 commit
  22. 01 May, 1998 1 commit
    • Richard M. Stallman's avatar
      Include shellapi.h. · cb9e33d4
      Richard M. Stallman authored
      (w32_createwindow): Enable drag-n-drop on new windows.
      (w32_wnd_proc): Handle WM_DROPFILES messages.
      Disable drag-n-drop on closing windows.
  23. 30 Apr, 1998 1 commit
  24. 23 Apr, 1998 1 commit
  25. 17 Apr, 1998 1 commit
  26. 03 Sep, 1997 1 commit
    • Geoff Voelker's avatar
      Include limits.h and errno.h. · 1edf84e7
      Geoff Voelker authored
      Declare externs from other files.
      (w32_in_use): New variable.
      (check_w32, have_menus_p, x_set_title, w32_msg_worker,
      find_deferred_msg, send_deferred_msg, complete_deferred_msg,
      Fw32_focus_frame, W32-send-sys-command): New functions.
      (last_mouse_movement_time): Delete variable.
      (x_frame_parms): Alphabetize.  Add title parm.
      (x_set_icon_name): Use title if set.
      (x_set_menu_bar_lines): Ensure client area remains the same.
      (x_set_name): Don't update if the name is the same.
      Use title for name if available.
      (x_icon): Initial support for creating window iconified.
      (x_display_info_for_name): Set w32_in_use.
      (Fx_open_connection): Validate Vwindow_system.  Set w32_in_use.
      (w32_create_window): Set window size to frame dimensions.
      Set font width, line height, border, scrollbar indexes.
      Don't set X and Y units indexes.
      (w32_msg_pump): Renamed from windows_msg_worker.
      Make static.  Don't post done message. No longer handle
      create scrollbar message.  Don't abort on anomalous messages.
      Return when completion detected.
      (w32_wnd_proc): Keep track of button state.
      For WINDOWPOSCHANGING, force window dimensions to be multiples
      of character dimensions.
      Use correct arguments for SHOWWINDOW.
      For SETWINDOWPOS, use WINDOWPOS structure.
      (my_create_window): Abort if message post fails.
      (Fx_create_frame): Use title instead of name.
      GC protect frame before make_frame_without_minibuffer.
      Set icon name.
      Use courier new as default font (has bold and italic).
      Set BufferPredicate and Title default parameters.
      (x_to_w32_weight): Support semibold weight.
      (x_to_w32_charset): Map # to numeric charset identifier.
      (w32_to_x_charset): Encode unknown charsets as a number.
      (enum_font_cb2): Don't restrict to ANSI and OEM charsets.
      (Fx_color_values): Set high and low words of color values.
      (syms_of_w32fns): Zero w32_in_use.  defsubr new functions.
      (w32_wnd_proc): Pass on WM_DISPLAYCHANGE messages.
      (win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events.
      Capture and handle WM_EMACS_TRACKPOPUPMENU events.
      Allow a dragged selection from a popup menu started up
      by a mouse down event.
      (x_to_win32_color): Support for X Windows RGB string specifications.
  27. 01 Jul, 1997 1 commit
  28. 05 May, 1997 1 commit
  29. 03 May, 1997 1 commit
  30. 20 Jan, 1997 1 commit
    • Geoff Voelker's avatar
      Change all uses of win95, winnt, and win32 · e9e23e23
      Geoff Voelker authored
      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.
  31. 21 Nov, 1996 1 commit
  32. 19 Nov, 1996 2 commits
  33. 21 Sep, 1996 1 commit
    • Richard M. Stallman's avatar
      (Qright): New variable. · 1026b400
      Richard M. Stallman authored
      (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.
  34. 04 Sep, 1996 1 commit
  35. 03 Sep, 1996 1 commit
  36. 16 Jul, 1996 1 commit