1. 20 May, 2019 6 commits
    • Alexander Gramiak's avatar
      Replace XChar2b with unsigned in all font backends · a4fe9c70
      Alexander Gramiak authored
      The xfont backend using XChar2b in its API doesn't mean that we should
      use it everywhere else.
      
      * src/dispextern.h (glyph_string):
      * src/ftcrfont.c (ftcrfont_draw):
      * src/ftxfont.c (ftxfont_draw):
      * src/w32term.c (w32_draw_glyphless_glyph_string_foreground):
      * src/xdisp.c (init_glyph_string, get_char_face_and_encoding)
      (get_glyph_face_and_encoding, get_char_glyph_code)
      (fill_gstring_glyph_string, fill_stretch_glyph_string)
      (normal_char_ascent_descent, gui_get_glyph_overhangs)
      (compute_overhangs_and_x, gui_produce_glyphs):
      * src/xfont.c (xfont_get_pcm, xfont_chars_supported, xfont_open)
      (xfont_encode_char, xfont_text_extents, xfont_draw)
      * src/xftfont.c (xftfont_draw):
      * src/xterm.c (x_compute_glyph_string_overhangs)
      (x_draw_glyphless_glyph_string_foreground): Use unsigned over XChar2b.
      
      * src/nsgui.h:
      * src/w32gui.h:
      * src/xterm.h: Remove XChar2b, STORE_XCHAR2B, XCHAR2B_BYTE1, and
      XCHAR2B_BYTE2 typedefs and macros.
      
      * src/font.h (font_driver):
      (ftfont_text_extents)
      * src/ftcrfont.c (ftcrfont_text_extents):
      * src/ftfont.c (ftfont_text_extents):
      * src/macfont.m (macfont_text_extents):
      * src/nsfont.m (nsfont_text_extents):
      * src/w32font.h (w32_font_text_extents):
      * src/font.c (xfont_text_extents):
      * src/xftfont.c (xftfont_text_extents): Make code parameter const.
      a4fe9c70
    • Alexander Gramiak's avatar
      Introduce Emacs_GC struct and typedef · b3d3c0da
      Alexander Gramiak authored
      * src/dispextern.h [HAVE_X_WINDOWS]: Alias Emacs_GC to XGCValues.
      [!HAVE_X_WINDOWS]: Define Emacs_GC, GCForeground, and GCBackground.
      
      * src/nsgui.h:
      * src/w32gui.h:Remove obsolete XGCValues, GC, GCForeground,
      GCBackground, and GCFont definitions.
      
      * src/w32fns.c (w32_make_gc): Do not set unused font field.
      
      * src/w32term.c: Use Emacs_GC over XGCValues. Do not set unused font
      field.
      
      * src/xfaces.c: Use Emacs_GC over XGCValues and GC.
      b3d3c0da
    • Alexander Gramiak's avatar
      Introduce Emacs_Rectangle struct and typedef · 462b1fd7
      Alexander Gramiak authored
      * src/dispextern.h [HAVE_X_WINDOWS]: Alias Emacs_Rectangle to
      XRectangle.
      [!HAVE_X_WINDOWS]: Define Emacs_Rectangle struct.
      Use Emacs_Rectangle over XRectangle.
      
      * src/frame.h (MonitorInfo):
      * src/msdos.h:
      * src/w32term.c:
      * src/xdisp.c: Use Emacs_Rectangle over XRectangle.
      
      * src/nsgui.h:
      * src/w32gui.h: Remove old XRectangle structs.
      
      * src/xdisp.c:
      * src/nsgui.h:
      * src/w32gui.h: Rename CONVERT_FROM_XRECT and CONVERT_TO_XRECT to
      CONVERT_FROM_EMACS_RECT and CONVERT_TO_EMACS_RECT respectively.
      462b1fd7
    • Alexander Gramiak's avatar
      Introduce Emacs_Pixmap typedef · 44d57792
      Alexander Gramiak authored
      * src/dispextern.h [HAVE_X_WINDOWS]: Alias Emacs_Pixmap to Pixmap.
      (image, x_kill_gs_process): Use Emacs_Pixmap over Pixmap.
      
      * src/image.c:
      
      * src/nsgui.h:
      * src/nsterm.m:
      * src/termhooks.h:
      * src/w32gui.h:
      * src/w32term.c:
      * src/w32term.h:
      * src/xterm.c (x_free_pixmap): Use Emacs_Pixmap over Pixmap.
      
      * src/w32gui.h: Remove unused typedef Bitmap.
      44d57792
    • Alexander Gramiak's avatar
      Introduce Emacs_Cursor typedef · 06db2a05
      Alexander Gramiak authored
      * src/dispextern.h [HAVE_X_WINDOWS]: Define Emacs_Cursor alias. Move
      the No_Cursor definition from xterm.h.
      (redisplay_interface): Use Emacs_Cursor over Cursor.
      
      * src/nsgui.h:
      * src/nsterm.h:
      * src/nsterm.m:
      * src/w32gui.h:
      * src/w32term.c:
      * src/xdisp.c:
      * src/xterm.c (x_define_frame_cursor): Use Emacs_Cursor over Cursor.
      06db2a05
    • Alexander Gramiak's avatar
      Introduce Emacs_Color struct and typedef · c0e146e4
      Alexander Gramiak authored
      This avoids clashing with the XColor struct from X.
      
      * src/dispextern [HAVE_X_WINDOWS]: Define Emacs_Color alias.
      [!HAVE_X_WINDOWS]: Rename XColor compatibility struct to
      Emacs_Color. Remove unused fields.
      
      * src/gtkutil.c:
      * src/gtkutil.h:
      * src/image.c:
      * src/nsterm.h:
      * src/nsterm.m:
      * src/termhooks.h:
      * src/w32fns.c:
      * src/w32term.c:
      * src/w32term.h:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xterm.h: Use Emacs_Color over XColor outside of X-specific
      sections.
      c0e146e4
  2. 10 May, 2019 1 commit
    • Alexander Gramiak's avatar
      Convert Free_Pixmap macro into terminal hook · 616ce44a
      Alexander Gramiak authored
      * src/termhooks.h (terminal) [HAVE_WINDOW_SYSTEM]: New terminal hook
      free_pixmap.
      
      * src/image.c: Replace Free_Pixmap with free_pixmap.
      
      * src/msdos.h (FRAME_X_DISPLAY):
      * src/nsgui.h (Display):
      * src/nsterm.h (FRAME_NS_DISPLAY, FRAME_X_DISPLAY, FRAME_X_SCREEN)
      (FRAME_X_VISUAL):
      * src/w32term.h (FRAME_X_DISPLAY): Remove unused X-compatibility
      macros and typedefs.
      
      * src/nsterm.m:
      * src/w32term.c:
      * src/xterm.c: Implement and set free_pixmap hook.
      616ce44a
  3. 03 May, 2019 1 commit
    • Alexander Gramiak's avatar
      Refactor update_window_begin and update_window_end hooks · 9ae94ebd
      Alexander Gramiak authored
      Bug#35464.
      
      * src/dispnew.c (gui_update_window_begin, gui_update_window_end): New
      procedures implementing common functionality.
      
      * src/nsterm.m: (ns_update_window_begin, ns_update_window_end):
      * src/xterm.c: (x_update_window_begin, x_update_window_end): Remove in
      favor of only using the new generic versions.
      
      * src/w32term.c: (w32_update_window_begin, w32_update_window_end):
      Remove duplicated and unused code.
      9ae94ebd
  4. 27 Apr, 2019 1 commit
  5. 26 Apr, 2019 6 commits
    • Alexander Gramiak's avatar
      Rename x_highlight_frame property to highlight_frame · 02397678
      Alexander Gramiak authored
      * src/nsterm.h:
      * src/nsterm.m:
      * src/w32term.c:
      * src/w32term.h:
      * src/xdisp.c:
      * src/xterm.c:
      * src/xterm.h: Rename.
      02397678
    • Alexander Gramiak's avatar
      Add terminal hook query_frame_background_color · 5d8b0fad
      Alexander Gramiak authored
      * src/termhooks.c (query_frame_background_color): New terminal hook.
      
      * src/image.c (image_query_frame_background_color): Remove. Use the
      terminal hook instead.
      
      * src/nsterm.m:
      * src/w32term.c:
      * src/xterm.c: Implement and set the new terminal hook.
      5d8b0fad
    • Alexander Gramiak's avatar
      Add terminal hook defined_color_hook · 41e20ee4
      Alexander Gramiak authored
      * src/termhooks.h (defined_color_hook): New terminal hook.
      
      * src/xterm.c:
      * src/nsterm.m:
      * src/term.c:
      * src/w32term.c: Set defined_color_hook.
      
      * src/xfaces.c: Use defined_color_hook.
      (defined_color): Remove.
      
      * src/image.c: Remove redefinitions of x_defined_color, and use
      defined_color_hook.
      41e20ee4
    • Alexander Gramiak's avatar
      Rename generic x_* identifiers · a411517f
      Alexander Gramiak authored
      * src/image.c: Rename x_* procedures to image_*.
      
      * src/frame.c: Rename x_* procedures to gui_*. Rename
      xrdb_get_resource to gui_display_get_resource. Rename x_get_arg to
      gui_display_get arg.
      
      * src/frame.h: Rename can_x_set_window_size to can_set_window_size.
      
      * src/xfaces.c: Rename realize_x_face to realize_gui_face. Rename
      x_supports_face_attributes_p to gui_supports_face_attributes_p.
      
      * src/keyboard.c:
      * src/lisp.h:
      * src/nsterm.m:
      * src/w32term.c:
      * src/xterm.c: Rename x_get_keysym_name to get_keysym_name.
      
      * src/nsfns.c:
      * src/nsterm.m: Rename x_* procedures to ns_*.
      
      * src/w32fns.c:
      * src/w32term.c: Rename x_* procedures to w32_*.
      
      * src/termhooks.h (query_colors, get_focus_frame, focus_frame_hook)
      (frame_visible_invisible_hook, iconify_frame_hook)
      (set_window_size_hook, set_frame_offset_hook, set_frame_alpha_hook)
      (set_new_font_hook, set_bitmap_icon_hook, implicit_set_name_hook)
      (activate_menubar_hook, change_tool_bar_height_hook)
      (set_scroll_bar_default_width_hook)
      (set_scroll_bar_default_height_hook, get_string_resource_hook): New
      terminal hooks to replace backend-specific x_* procedures.
      
      * src/dispextern.h (clear_under_internal_border): New RIF procedure.
      
      * src/alloc.c:
      * src/frame.c:
      * src/xdisp.c: Use FRAME_OUTPUT_DATA instead of FRAME_X_OUTPUT.
      
      * src/frame.c:
      * src/w32term.c:
      * src/w32fns.c: Use FRAME_NATIVE_WINDOW instead of FRAME_X_WINDOW.
      a411517f
    • Alexander Gramiak's avatar
      Add prefixes to some window system-dependent procedures · da9541dd
      Alexander Gramiak authored
      * src/nsterm.m (note_mouse_movement):
      * src/w32fns.c (construct_console_modifiers):
      * src/w32inevt.c:
      * src/w32term.c (frame_highlight, frame_unhighlight)
      (construct_mouse_click, construct_mouse_wheel, construct_drag_n_drop)
      (lispy_file_action, queue_notifications, note_mouse_movement):
      * src/w32term.h:
      * src/xterm.c (frame_highlight, frame_unhighlight)
      (construct_mouse_click, note_mouse_movement, get_current_wm_state):
      Add and use window system prefixes.
      da9541dd
    • Alexander Gramiak's avatar
      Rename generic x_* procedures in xdisp.c · ff4e31fa
      Alexander Gramiak authored
      * src/xdisp.c (x_consider_frame_title, x_get_glyph_overhangs)
      (x_produce_glyphs, x_write_glyphs, x_insert_glyphs)
      (x_clear_end_of_line), x_fix_overlapping_area)
      (x_update_cursor, x_clear_cursor, x_clear_window_mouse_face)
      (x_draw_vertical_border, x_draw_right_divider, x_draw_bottom_divider)
      (x_intersect_rectangles): Rename with a gui prefix to indicate
      non-X-specific functionality.
      
      * src/composite.c:
      * src/dispextern.h:
      * src/nsfns.m:
      * src/nsterm.m:
      * src/w32fns.c:
      * src/w32term.c:
      * src/window.c:
      * src/xfns.c:
      * src/xterm.c: Use the renamed procedures.
      ff4e31fa
  6. 08 Apr, 2019 1 commit
  7. 01 Apr, 2019 1 commit
  8. 28 Mar, 2019 1 commit
  9. 09 Mar, 2019 1 commit
    • Eli Zaretskii's avatar
      Consult 'face-remapping-alist' for 'internal-border' face · 9fe7f233
      Eli Zaretskii authored
      * src/xterm.c (x_clear_under_internal_border)
      (x_after_update_window_line):
      * src/w32fns.c (x_clear_under_internal_border):
      * src/w32term.c (x_after_update_window_line): Consult
      'face-remapping-alist' when using the 'internal-border' face.
      9fe7f233
  10. 19 Feb, 2019 1 commit
  11. 20 Jan, 2019 1 commit
    • Eli Zaretskii's avatar
      Support native image resizing on MS-Windows · 67b1053d
      Eli Zaretskii authored
      * src/w32term.c (x_draw_image_foreground): Scale the image if
      the requested dimensions are different from the bitmap
      dimensions.
      * src/image.c (Fimage_scaling_p): Return t when HAVE_NTGUI.
      (x_set_image_size) [HAVE_NTGUI]: Record the scaled dimensions
      in the image struct.
      * src/dispextern.h (HAVE_NATIVE_SCALING): Define when
      HAVE_NTGUI as well.
      
      * etc/NEWS: Update the announcement of native image scaling.
      67b1053d
  12. 01 Jan, 2019 1 commit
  13. 08 Aug, 2018 1 commit
    • Tom Tromey's avatar
      More macro renamings for bignum · d1ec3a0a
      Tom Tromey authored
      * src/alloc.c, src/bidi.c, src/buffer.c, src/buffer.h, src/bytecode.c,
      src/callint.c, src/callproc.c, src/casefiddle.c, src/casetab.c,
      src/category.c, src/ccl.c, src/character.c, src/character.h,
      src/charset.c, src/charset.h, src/chartab.c, src/cmds.c, src/coding.c,
      src/composite.c, src/composite.h, src/data.c, src/dbusbind.c,
      src/decompress.c, src/dired.c, src/dispextern.h, src/dispnew.c,
      src/disptab.h, src/doc.c, src/dosfns.c, src/editfns.c,
      src/emacs-module.c, src/emacs.c, src/eval.c, src/fileio.c,
      src/floatfns.c, src/fns.c, src/font.c, src/font.h, src/fontset.c,
      src/frame.c, src/frame.h, src/fringe.c, src/ftcrfont.c, src/ftfont.c,
      src/gfilenotify.c, src/gnutls.c, src/gtkutil.c, src/image.c,
      src/indent.c, src/insdel.c, src/intervals.c, src/json.c,
      src/keyboard.c, src/keymap.c, src/kqueue.c, src/lcms.c, src/lisp.h,
      src/lread.c, src/macros.c, src/marker.c, src/menu.c, src/minibuf.c,
      src/msdos.c, src/print.c, src/process.c, src/profiler.c, src/search.c,
      src/sound.c, src/syntax.c, src/syntax.h, src/sysdep.c, src/term.c,
      src/termhooks.h, src/textprop.c, src/undo.c, src/w32.c,
      src/w32console.c, src/w32fns.c, src/w32font.c, src/w32inevt.c,
      src/w32proc.c, src/w32select.c, src/w32term.c, src/w32term.h,
      src/w32uniscribe.c, src/window.c, src/xdisp.c, src/xfaces.c,
      src/xfns.c, src/xfont.c, src/xftfont.c, src/xmenu.c, src/xml.c,
      src/xrdb.c, src/xselect.c, src/xsettings.c, src/xterm.c, src/xwidget.c
      Rename XINT->XFIXNUM, XFASTINT->XFIXNAT, XUINT->XUFIXNUM.
      d1ec3a0a
  14. 21 Jul, 2018 1 commit
    • Ken Brown's avatar
      Pacify GCC 7 with -Wformat-overflow · f3f67cf0
      Ken Brown authored
      * src/w32term.c (x_draw_glyphless_glyph_string_foreground):
      Force sprintf to write at most 6 bytes, excluding the
      terminating null byte.
      f3f67cf0
  15. 13 Jul, 2018 1 commit
    • Tom Tromey's avatar
      Rename integerp->fixnum, etc, in preparation for bignums · 42fe787b
      Tom Tromey authored
      * src/json.c, src/keyboard.c, src/keyboard.h, src/keymap.c,
      src/kqueue.c, src/lcms.c, src/lisp.h, src/lread.c, src/macros.c,
      src/marker.c, src/menu.c, src/minibuf.c, src/msdos.c, src/print.c,
      src/process.c, src/profiler.c, src/search.c, src/sound.c,
      src/syntax.c, src/sysdep.c, src/term.c, src/terminal.c,
      src/textprop.c, src/undo.c, src/w16select.c, src/w32.c,
      src/w32console.c, src/w32cygwinx.c, src/w32fns.c, src/w32font.c,
      src/w32inevt.c, src/w32proc.c, src/w32select.c, src/w32term.c,
      src/w32uniscribe.c, src/widget.c, src/window.c, src/xdisp.c,
      src/xfaces.c, src/xfns.c, src/xfont.c, src/xftfont.c, src/xmenu.c,
      src/xrdb.c, src/xselect.c, src/xterm.c, src/xwidget.c: Rename
      INTEGERP->FIXNUM, make_number->make_fixnum, CHECK_NUMBER->CHECK_FIXNUM,
      make_natnum->make_fixed_natum, NUMBERP->FIXED_OR_FLOATP,
      NATNUMP->FIXNATP, CHECK_NATNUM->CHECK_FIXNAT.
      42fe787b
  16. 11 Jun, 2018 1 commit
    • Daniel Colascione's avatar
      New focus management interface · 2f6c6820
      Daniel Colascione authored
      focus-in-hook and focus-out-hook don't accurately reflect actual
      user-visible focus states.  Add a new focus interface and mark the old
      one obsolete.
      
      * doc/lispref/frames.texi (Input Focus): Document new focus
      functions.  Remove references to the now-obsolete focus hooks.
      
      * lisp/frame.el (frame-focus-state): New function.
      (after-focus-change-function): New variable.
      (focus-in-hook, focus-out-hook): Move to lisp from C;
      mark obsolete.
      
      * lisp/term/xterm.el (xterm-translate-focus-in)
      (xterm-translate-focus-out): Track tty focus in `tty-focus-state'
      terminal parameter; call `after-focus-change-function'.
      (xterm--suspend-tty-function): New function.
      
      * src/frame.c (Fhandle_switch_frame): Update docstring; don't call
      focus hooks.
      (focus-in-hook, focus-out-hook): Remove: moved to lisp.
      (syms_of_frame): Remove unread_switch_frame; add
      Vunread_switch_frame.
      
      * src/keyboard.c:
      (Finternal_handle_focus_in): New function.
      (make_lispy_event): Always report focus events to lisp; don't
      translate them to switch events sometimes.  Lisp can take care of
      creating synthetic switch-frame events via
      `internal-handle-focus-in'.
      
      * src/w32term.c (x_focus_changed): Remove switch-avoidance logic:
      just directly report focus changes to lisp.
      
      * src/xterm.c (x_focus_changed): Remove switch-avoidance logic:
      just directly report focus changes to lisp.
      2f6c6820
  17. 10 Mar, 2018 1 commit
    • Aaron Jensen's avatar
      Allow underline position variables be buffer-local · bbf53d99
      Aaron Jensen authored
      * src/nsterm.m (ns_draw_text_decoration):
      * src/w32term.c (x_draw_glyph_string):
      * src/xterm.c (x_draw_glyph_string): Allow underline-minimum-offset,
      underline-at-descent-line, and x-use-underline-position-properties
      be buffer local variables.  (Bug#30553)
      * src/xdisp.c (syms_of_xdisp) <underline-minimum-offset>: Add DEFSYM.
      bbf53d99
  18. 21 Feb, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix documentation of 'x-underline-at-descent-line' · f0d6a16d
      Eli Zaretskii authored
      * doc/emacs/display.texi (Display Custom):
      * src/nsterm.m (syms_of_nsterm):
      * src/xterm.c (syms_of_xterm):
      * src/w32term.c (syms_of_w32term): Mention the effect of
      'line-spacing' on the underline position.  (Bug#30553)
      f0d6a16d
  19. 13 Feb, 2018 1 commit
    • Glenn Morris's avatar
      Stop keeping multiple doc copies for items defined multiple times · 4bee1b8b
      Glenn Morris authored
      It was always a nuisance to keep all the copies in sync.
      * src/doc.c (Fsnarf_documentation): Don't skip entire files.
      Instead, skip individual doc strings starting with "SKIP".
      * doc/lispref/internals.texi (Writing Emacs Primitives):
      Mention this skipping.
      * lisp/term/ns-win.el, lisp/term/pc-win.el, src/dosfns.c:
      * src/frame.c, src/nsfns.m, src/nsmenu.m, src/nsterm.m:
      * src/w16select.c, src/w32fns.c, src/w32menu.c, src/w32select.c:
      * src/w32term.c, src/xmenu.c: Remove duplicated doc strings.
      * src/xfns.c: Merge in information from doc string duplicates.
      4bee1b8b
  20. 09 Feb, 2018 1 commit
  21. 18 Jan, 2018 1 commit
    • Martin Rudalics's avatar
      Fix some tooltip related problems · e462308f
      Martin Rudalics authored
      Replace 'tooltip' frame parameter with a 'tooltip' member in
      the frame structure.  For GTK+ builds use 'tip_last_frame' to
      find the frame for which the currently visible tooltip was
      made.  For modeline help-echoing have tooltips show applicable
      actions only.
      
      * lisp/bindings.el (mode-line-default-help-echo): New function
      as default value of homonymous option.
      * src/dispextern.h (tip_frame, tip_window): Remove
      declarations.
      * src/frame.c (make_frame): Initialize new frame structure
      member 'tooltip'.
      (Fframe_list, other_frames): Rewrite with new macro
      FRAME_TOOLTIP_P.
      * src/frame.h (struct frame): New member 'tooltip'.
      (FRAME_TOOLTIP_P): New macro.
      * src/gtkutil.c (xg_prepare_tooltip, xg_hide_tooltip): Rewrite
      using boolean return values.
      * src/nsfns.m (tip_frame): Remove declaration.
      * src/w32fns.c (w32_display_monitor_attributes_list)
      (w32_display_monitor_attributes_list_fallback): Rewrite with
      new macro FRAME_TOOLTIP_P.
      (tip_last_string, tip_last_frame, tip_last_parms): New Lisp
      scalars replacing Lisp vector last_show_tip_args.
      (x_create_tip_frame): Set new frame's 'tooltip' structure
      member to true.
      (x_hide_tip): Additionally test tip_frame for liveness.
      (Fx_show_tip): Handle last_show_tip_args to tip_last_frame,
      tip_last_string and tip_last_parms conversion.
      (syms_of_w32fns): staticpro tip_last_frame, tip_last_string
      and tip_last_parms instead of last_show_tip_args.
      * src/w32term.c (w32_read_socket, x_new_font): Rewrite with
      new macro FRAME_TOOLTIP_P.
      * src/w32term.h (tip_window): Add external declaration.
      * src/xdisp.c (x_consider_frame_title, prepare_menu_bars)
      (should_produce_line_number): Rewrite with new macro
      FRAME_TOOLTIP_P.
      (note_mode_line_or_margin_highlight): If
      `mode-line-default-help-echo' specifies a function, call it to
      produce help echo string.
      * src/xfns.c (x_make_monitor_attribute_list)
      (Fx_display_monitor_attributes_list): Rewrite with
      new macro FRAME_TOOLTIP_P.
      (tip_last_string, tip_last_frame, tip_last_parms): New Lisp
      scalars replacing Lisp vector last_show_tip_args.
      (x_create_tip_frame): Set new frame's 'tooltip' structure
      member to true.
      (x_hide_tip): Rewrite with additional tests of frames for
      liveness and taking into account that for GTK+ tips the
      reference frame is now stored in tip_last_frame instead of
      tip_frame.
      (Fx_show_tip): Handle last_show_tip_args to tip_last_frame,
      tip_last_string and tip_last_parms conversion.  For GTK+ store
      FRAME argument in tip_last-frame.
      (syms_of_xfns): staticpro tip_last_frame, tip_last_string
      and tip_last_parms instead of last_show_tip_args.
      * src/xterm.c (x_update_begin, handle_one_xevent, x_new_font)
      (x_set_window_size): Rewrite with new macro FRAME_TOOLTIP_P.
      * src/xterm.h (tip_window): Add external declaration.
      * etc/NEWS: Mention new modeline tooltips behavior.
      e462308f
  22. 01 Jan, 2018 1 commit
  23. 26 Nov, 2017 1 commit
  24. 20 Nov, 2017 1 commit
  25. 02 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to HTTP for gnu.org · 5172fa02
      Paul Eggert authored
      This fixes some URLs I omitted from my previous pass,
      notably those in lists.gnu.org.  Although lists.gnu.org
      does not yet support TLS 1.1, TLS 1.0 is better than nothing.
      * lisp/erc/erc.el (erc-official-location):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      Use https:, not http:.
      5172fa02
  26. 30 Sep, 2017 1 commit
  27. 29 Sep, 2017 1 commit
  28. 28 Sep, 2017 1 commit
  29. 15 Sep, 2017 1 commit
    • Eli Zaretskii's avatar
      Avoid compilation warnings with GCC 7 on MS-Windows · 015172d1
      Eli Zaretskii authored
      * src/w32term.c (w32_setup_relief_color, construct_mouse_click)
      (w32_read_socket): Initialize variables to shut up bogus
      compilation warnings from GCC 7.
      * src/unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Cast to DWORD_PTR
      to avoid compiler warnings about printing signed values using %x
      format spec.
      * src/dispnew.c (adjust_glyph_matrix): Add eassert to avoid
      compiler warning about possible NULL pointer dereference.
      * src/lisp.h (pI): Tweak the definition some more for MinGW64.
      015172d1
  30. 09 Sep, 2017 1 commit
    • Eli Zaretskii's avatar
      Remove more compilation warnings in MinGW64 build · ad7ba0fb
      Eli Zaretskii authored
      * src/w32.c (faccessat, map_w32_filename):
      * src/w32fns.c (w32_wnd_proc):
      * src/w32term.c (w32_horizontal_scroll_bar_handle_click)
      (w32_scroll_bar_handle_click): Use FALLTHROUGH to avoid compiler
      warnings with GCC 7 and later.
      ad7ba0fb