1. 20 Jan, 2002 2 commits
    • Jason Rumney's avatar
      (w32_visible_system_caret_hwnd): New static variable. · 93f2ca61
      Jason Rumney authored
      (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it.
      <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if
      the user requests it.  Use system default width when creating.
      <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.
      93f2ca61
    • Jason Rumney's avatar
      (w32_load_system_font, w32_to_x_charset): Use strnicmp · d84b082d
      Jason Rumney authored
      in place of stricmp.
      (w32_list_synthesized_fonts): Removed.
      (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
      (struct enumfont_t): New element; list.
      (enum_font_cb2): List all style and charset variations of a font.
      (Fw32_select_font): New optional argument; include_proportional.
      Exclude vertical fonts.  Exclude proportional fonts unless
      include_proportional is non-nil.
      (w32_enable_synthesized_fonts): Change to a boolean.
      (Fw32_send_sys_command): Doc fix.
      d84b082d
  2. 19 Jan, 2002 1 commit
  3. 13 Jan, 2002 1 commit
  4. 05 Jan, 2002 1 commit
  5. 13 Dec, 2001 1 commit
  6. 05 Dec, 2001 1 commit
  7. 01 Dec, 2001 2 commits
  8. 28 Nov, 2001 1 commit
  9. 25 Nov, 2001 1 commit
  10. 24 Nov, 2001 1 commit
    • Jason Rumney's avatar
      (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. · bfd6edcc
      Jason Rumney authored
      <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction.
      (my_create_tip_window, Fx_show_tip): Adjust size for external border.
      (my_create_tip_window): Assign tip_window.
      (x_create_tip_frame): Use same defaults as X.
      (compute_tip_xy): Remove unused variable.  Use full screen width.
      (Fx_show_tip): Do not double height. Call ShowWindow directly.
      bfd6edcc
  11. 22 Nov, 2001 1 commit
    • Jason Rumney's avatar
      (x_window_to_frame): Remove irrelevant TODO comment. · ca56d953
      Jason Rumney authored
      (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly.
      (my_create_tip_window): New function.
      (x_create_tip_frame, compute_tip_xy): Adapt for Windows.
      (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows.
      ca56d953
  12. 20 Nov, 2001 1 commit
  13. 18 Nov, 2001 1 commit
    • Jason Rumney's avatar
      (x_set_frame_parameters): Avoid infinite recursion for · a05e2bae
      Jason Rumney authored
      some items.
      (x_set_internal_border_width): Set frame garbaged when window
      doesn't exist yet.
      (Fx_create_frame): Accept zero tool_bar_button_relief.
      (x_clear_image_1, four_corners_best, image_background)
      (image_background_transparent): New functions.
      (xpm_format, png_format, jpeg_format, tiff_format, gif_format)
      (gs_format): Add `:background' entry.
      (lookup_image): Set IMG's background color if specified.
      (pbm_load, xbm_load_image, png_load): Set IMG's background field
      when appropriate.
      (x_clear_image_1): Reset `background_valid' and
      `background_transparent_valid' fields.
      (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
      calculating it here.  Set IMG's background_transparent field.
      (enum xpm_keyword_index): Add XPM_BACKGROUND.
      (enum png_keyword_index): Add PNG_BACKGROUND.
      (enum jpeg_keyword_index): Add JPEG_BACKGROUND.
      (enum tiff_keyword_index): Add TIFF_BACKGROUND.
      (enum gif_keyword_index): Add GIF_BACKGROUND.
      (enum gs_keyword_index): Add GS_BACKGROUND.
      (pbm_load, png_load, jpeg_load, tiff_load, gif_load):
      Pre-calculate image background color where necessary.
      (x_create_x_image_and_pixmap, xbm_load, gs_load): Use
      display info's n_cbits entry for screen depth.
      (Fx_show_tip): Remove unused variables `buffer', `top',
      `left', `max_width' and `max_height'.
      a05e2bae
  14. 16 Nov, 2001 1 commit
  15. 13 Nov, 2001 3 commits
  16. 10 Nov, 2001 1 commit
  17. 02 Nov, 2001 1 commit
  18. 30 Oct, 2001 1 commit
  19. 27 Oct, 2001 1 commit
  20. 21 Oct, 2001 1 commit
    • Jason Rumney's avatar
      (Fx_file_dialog): Pass a filter to GetOpenFileName. · 3cf3436e
      Jason Rumney authored
      Sync with xfns.c:
      (x_laplace_read_row, x_laplace_write_row): Removed.
      (postprocess_image): New function.
      (lookup_image): Call it for all image types except PostScript.
      (x_kill_gs_process): Call postprocess_image.
      (tiff_error_handler, tiff_warning_handler): New functions.
      (tiff_load): Install them as handlers.
      (x_kill_gs_process): Recognize if someone has cleared the image
      cache under us.
      (valid_image_p): Protect better against invalid image
      specifications.  Previous code could signal an error.
      (Fx_hide_tip, Fshow_tip): Doc fix.
      (Fv_max_tooltip_size): New variable.
      (syns_of_xfns): DEFVAR_LISP it.
      (Fx_show_tip): Add parameter TEXT.  Set the tip frame's root
      window buffer to *tip* right after creating the frame. Set frame's
      window_width.  Use a maximum tooltip size specified by
      Vx_max_tooltip_size, if that has valid contents.
      (compute_tip_xy): Add parameters WIDTH and HEIGHT.
      Make sure the tooltip is completely visible.
      (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
      (Fx_create_frame): Adjust the frame's height for presence
      of the tool bar before calling x_figure_window_size.
      (x_set_tool_bar_lines): Clear the tool bar window's current matrix
      when the window gets smaller.
      (x_set_foreground_color): Set frame's cursor_pixel.
      (x_set_foreground_color, x_set_background_color): Cleaned up.
      (x_set_font): Handle case of x_new_fontset returning the same name
      as before, although there was a change in fontsets.
      3cf3436e
  21. 17 Oct, 2001 1 commit
  22. 16 Oct, 2001 1 commit
  23. 12 Oct, 2001 1 commit
  24. 04 Oct, 2001 1 commit
    • Andrew Innes's avatar
      (x_to_w32_color): Fix argument to alloca. · 8b77111c
      Andrew Innes authored
      (w32_load_system_font): Don't believe what GetLanguageFontInfo
      says; query codepage info directly to determine if font is double
      byte.
      (x_to_w32_charset): Handle private format for unknown charsets.
      Handle wildcards in charset spec, by ignoring them.
      (w32_codepage_for_font): Fix argument to alloca.  Don't remove
      "*-" prefix from charset.
      (x_to_w32_font): Enlarge remainder array for safety.  Specifically
      handle the truncated font spec form constructed by font_list_1, so
      that we correctly identify the charset fields.  Don't remove "*-"
      prefix from charset.
      (w32_list_synthesized_fonts): Fix argument to alloca.
      8b77111c
  25. 05 Sep, 2001 1 commit
  26. 04 Sep, 2001 1 commit
    • Andrew Innes's avatar
      (w32_createwindow): Remove the WS_CLIPCHILDREN style · 18f0b342
      Andrew Innes authored
      from Emacs frames, so that calls to GetClipBox in w32term.c
      correctly report when part of a frame is visible (including
      scrollbars, etc).  This prevents repeated redrawing of frames when
      only a scrollbar is visible.
      (w32_wnd_proc): Add more frame information to debugging output.
      18f0b342
  27. 12 May, 2001 1 commit
  28. 06 Mar, 2001 1 commit
  29. 23 Feb, 2001 1 commit
  30. 21 Feb, 2001 1 commit
  31. 14 Feb, 2001 1 commit
  32. 09 Feb, 2001 1 commit
    • Jason Rumney's avatar
      (Fx_show_tip): Fix calls to make_number. · dc220243
      Jason Rumney authored
      	(x_set_font): If font hasn't changed, avoid recomputing
      	faces and other things.
      	(x_set_tool_bar_lines): Do nothing if frame is
      	minibuffer-only,
      	(Fx_create_frame): Add the tool bar height to the frame
      	height.
      	(x_create_tip_frame): Prevent changing the tooltip's
      	background color by specifying a color for the default font
      	in .Xdefaults.
      	(Qcancel_timer): New variable.
      	(syms_of_w32fns): Initialize and staticpro it.
      	(Fx_hide_tip, Fx_show_tip): Use it.
      	(Fx_show_tip): Make sure to set tip_timer to nil when canceling
      	the timer.
      	(toplevel): Lisp code for generating parts of syms_of_w32fns removed.
      (Fx_show_tip): Fix calls to make_number.
      	(x_set_font): If font hasn't changed, avoid recomputing
      	faces and other things.
      	(x_set_tool_bar_lines): Do nothing if frame is
      	minibuffer-only,
      	(Fx_create_frame): Add the tool bar height to the frame
      	height.
      	(x_create_tip_frame): Prevent changing the tooltip's
      	background color by specifying a color for the default font
      	in .Xdefaults.
      	(Qcancel_timer): New variable.
      	(syms_of_w32fns): Initialize and staticpro it.
      	(Fx_hide_tip, Fx_show_tip): Use it.
      	(Fx_show_tip): Make sure to set tip_timer to nil when canceling
      	the timer.
      	(toplevel): Lisp code for generating parts of syms_of_w32fns removed.
      dc220243
  33. 28 Jan, 2001 1 commit
  34. 17 Jan, 2001 1 commit
  35. 13 Jan, 2001 1 commit
    • Jason Rumney's avatar
      (x_to_w32_color, x_set_icon_name, xlfd_strip_height) · 8edb0a6f
      Jason Rumney authored
      	(w32_list_synthesized_fonts, lookup_image, Fx_file_dialog)
      	(Fw32_send_sys_command): Remove unused variables.
      	(w32_msg_pump): Add parentheses.
      (Fimage_size, image_ascent, lookup_image)
      	(IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, parse_image_spec)
      	(xbm_format, xpm_format, pbm_format, png_format, jpeg_format)
      	(tiff_format, gif_format, gs_format): Adapt to change of image
      	margins.
      8edb0a6f
  36. 02 Jan, 2001 1 commit