1. 29 Apr, 2019 5 commits
  2. 28 Apr, 2019 12 commits
  3. 27 Apr, 2019 7 commits
  4. 26 Apr, 2019 14 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
      Check for existence of terminal hooks before use · 46cfe5cb
      Alexander Gramiak authored
      This should not be necessary, and is merely a precaution. For
      background, see:
      https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00639.html
      
      * src/frame.c:
      * src/xdisp.c: Check for existence of terminal hooks before use.
      46cfe5cb
    • 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
    • Charles A. Roelli's avatar
    • Eli Zaretskii's avatar
      Avoid assertion violations in calculating line-number width · 86b6e910
      Eli Zaretskii authored
      * src/indent.c (line_number_display_width): Don't use the
      window's start marker if it belongs to a different buffer.
      (Bug#35429)
      86b6e910
    • Stefan Monnier's avatar
      * lib-src/profile.c: Delete long-obsolete file · 82fc8ca6
      Stefan Monnier authored
      This auxiliary executable was used by the old `profile.el` which later
      inspired `elp.el`.  It was made obsolete when Emacs acquired native timers.
      
      * lib-src/Makefile.in (UTILITIES): Remove profile.
      (profile${EXEEXT}): Delete rule.
      82fc8ca6
    • Michael Albinus's avatar
      Handle quoted file names in tramp-archive.el · cc70501a
      Michael Albinus authored
      * lisp/net/tramp-archive.el (tramp-archive-file-name-p):
      Suppress quoted file names.
      (tramp-archive-file-name-handler): Handle quoted file names.
      
      * lisp/net/tramp-compat.el (tramp-compat-file-name-quoted-p):
      Add optional TOP argument.
      cc70501a
    • Eli Zaretskii's avatar
      Avoid compiler warning in dynlib.c · 83cdf7bf
      Eli Zaretskii authored
      * src/dynlib.c (dynlib_addr) [WINDOWSNT]: Rename the first
      argument to be consistent with other platforms.  Cast it to
      'void *' to avoid compiler warning as result of changing the
      function's signature as part of the last recent change in
      dynlib.c.
      83cdf7bf
    • Glenn Morris's avatar
      * test/lisp/progmodes/sql-tests.el (sql-tests-buffer-naming-harness): · a241e45b
      Glenn Morris authored
      Fix previous for TEST_LOAD_EL=no.
      a241e45b
    • Alan Mackenzie's avatar
      Fix the formatting of '\' (including apostrophes) in CC Mode. · a0bb2588
      Alan Mackenzie authored
      In particular, the second apostrophe must also get font-lock-warning-face.
      
      * lisp/progmodes/cc-mode.el (c-parse-quotes-before-change)
      (c-parse-quotes-after-change): Add cond arms to recognize and handle the
      anomalous construct '\'.  Correct the handling of c-new-BEG in
      c-parse-quotes-before-change.
      a0bb2588
  5. 25 Apr, 2019 2 commits