1. 23 Apr, 1998 1 commit
  2. 17 Apr, 1998 1 commit
  3. 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.
      Handle CREATESCROLLBAR.
      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.
      1edf84e7
  4. 01 Jul, 1997 1 commit
  5. 05 May, 1997 1 commit
  6. 03 May, 1997 1 commit
  7. 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.
      e9e23e23
  8. 21 Nov, 1996 1 commit
  9. 19 Nov, 1996 2 commits
  10. 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.
      1026b400
  11. 04 Sep, 1996 1 commit
  12. 03 Sep, 1996 1 commit
  13. 16 Jul, 1996 1 commit
  14. 12 Jul, 1996 1 commit
  15. 19 Jun, 1996 1 commit
  16. 14 Jun, 1996 1 commit
  17. 10 Jun, 1996 2 commits
  18. 01 Jun, 1996 1 commit
  19. 25 May, 1996 1 commit
    • Karl Heuer's avatar
      (Vwin32_mouse_move_interval): New lisp variable. · 84fb1139
      Karl Heuer authored
      (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.
      84fb1139
  20. 22 May, 1996 1 commit
  21. 13 May, 1996 1 commit
  22. 10 May, 1996 2 commits
  23. 03 May, 1996 2 commits
    • Geoff Voelker's avatar
      (continuation of previous checkin) · d573caac
      Geoff Voelker authored
      (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.
      d573caac
    • Geoff Voelker's avatar
      (quit_char, Vwin32_enable_italics, Vwin32_enable_palette): · 5ac45f98
      Geoff Voelker authored
      New variables.
      (syms_of_win32fns): Set up new lisp variables.
      5ac45f98
  24. 16 Apr, 1996 1 commit
  25. 11 Apr, 1996 1 commit
  26. 16 Mar, 1996 1 commit
    • Geoff Voelker's avatar
      (Vwin32_pass_alt_to_system, · da36a4d6
      Geoff Voelker authored
      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.
      da36a4d6
  27. 02 Feb, 1996 1 commit
    • Geoff Voelker's avatar
      (modifiers, modifier_key_support_tested, · a1a80b40
      Geoff Voelker authored
      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.
      a1a80b40
  28. 25 Jan, 1996 1 commit
  29. 21 Jan, 1996 1 commit
    • Geoff Voelker's avatar
      (Vwin32_enable_italics, Vwin32_enable_palette): · 7fb46567
      Geoff Voelker authored
      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.
      7fb46567
  30. 15 Jan, 1996 1 commit
  31. 07 Nov, 1995 1 commit
  32. 15 Oct, 1995 1 commit
  33. 25 Sep, 1995 1 commit
  34. 11 Aug, 1995 1 commit
  35. 05 Aug, 1995 1 commit
  36. 26 Jul, 1995 1 commit
    • Karl Heuer's avatar
      Do renamings: · 54e9e953
      Karl Heuer authored
      frame->display => frame->output, struct x_display -> struct x_output.
      54e9e953