1. 04 Nov, 1998 1 commit
  2. 03 Nov, 1998 1 commit
  3. 27 Oct, 1998 1 commit
  4. 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.
  5. 09 Oct, 1998 1 commit
  6. 24 Sep, 1998 1 commit
  7. 01 Sep, 1998 1 commit
  8. 27 Jun, 1998 1 commit
  9. 15 May, 1998 1 commit
  10. 02 May, 1998 1 commit
  11. 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.
  12. 30 Apr, 1998 1 commit
  13. 23 Apr, 1998 1 commit
  14. 17 Apr, 1998 1 commit
  15. 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.
  16. 01 Jul, 1997 1 commit
  17. 05 May, 1997 1 commit
  18. 03 May, 1997 1 commit
  19. 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.
  20. 21 Nov, 1996 1 commit
  21. 19 Nov, 1996 2 commits
  22. 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.
  23. 04 Sep, 1996 1 commit
  24. 03 Sep, 1996 1 commit
  25. 16 Jul, 1996 1 commit
  26. 12 Jul, 1996 1 commit
  27. 19 Jun, 1996 1 commit
  28. 14 Jun, 1996 1 commit
  29. 10 Jun, 1996 2 commits
  30. 01 Jun, 1996 1 commit
  31. 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.
  32. 22 May, 1996 1 commit
  33. 13 May, 1996 1 commit
  34. 10 May, 1996 2 commits
  35. 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.
      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.
    • 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.
  36. 16 Apr, 1996 1 commit