1. 14 Feb, 2015 2 commits
  2. 13 Feb, 2015 9 commits
  3. 12 Feb, 2015 5 commits
  4. 11 Feb, 2015 9 commits
  5. 10 Feb, 2015 13 commits
    • Glenn Morris's avatar
      * package-test.el (package-test-signed): More informative failure messages · ecf8c30b
      Glenn Morris authored
      Not that anyone appears to read them.
    • Katsumi Yamaoka's avatar
    • Katsumi Yamaoka's avatar
    • Lars Magne Ingebrigtsen's avatar
      Fix up :align-to background colours · f6d781c2
      Lars Magne Ingebrigtsen authored
      (shr-insert-table): Only copy the background, not underline and
      the like.
      (shr-face-background): New function.
    • Katsumi Yamaoka's avatar
    • Paul Eggert's avatar
      Use bool for boolean in xdisp.c · f0ed1d63
      Paul Eggert authored
      * dispextern.h (display_prop_intangible_p, resize_mini_window)
      (pixel_to_glyph_coords, mark_window_display_accurate)
      (compute_display_string_pos, handle_tool_bar_click)
      (x_intersect_rectangles, clear_mouse_face, display_tty_menu_item):
      * lisp.h (setup_echo_area_for_printing, message_with_string)
      (pos_visible_p): Use bool for boolean.
      * xdisp.c: Use bool, true, false intstead of int, 1, 0.
      Remove unnecessary forward decls.
      (trace_move) [DEBUG_TRACE_MOVE]: Now static.
      Now an inline function that is always defined.
      (check_it) [0]:
      (check_window_end) [oGLYPH_DEBUG && ENABLE_CHECKING]:
      Remove; no longer needed.
      (handle_stop): Prefer (X && !Y) to (X ? !Y : 0).
      (get_overlay_strings): Omit unnecessary casts.
      Prefer !BOOL to (BOOL ? 0 : 1).
      (next_element_function): New typedef.
      (get_next_element): Use it.  Now const.
      (IT_POS_VALID_AFTER_MOVE_P): Prefer !X || Y==0 to (X ? Y==0 : 1).
      (vmessage): Now ATTRIBUTE_FORMAT_PRINTF (1, 0), to pacify GCC 4.9.2
      (display_echo_area): Prefer BOOLEXPR to BOOLEXPR ? 1 : 0.
      (tool_bar_item_info): Simplify.
      (invisible_prop): Rename from invisible_p, since it doesn't
      return bool.  All callers changed.
      (x_produce_glyphs): Simplify.
    • Lars Magne Ingebrigtsen's avatar
      shr cleanup and background color fix · d5111d52
      Lars Magne Ingebrigtsen authored
      (shr-table-widths): Off-by-one error in width computation.
      (shr-expand-newlines): Remove dead code.
      (shr-insert-table): Extend background colors to the end of the column.
    • Lars Magne Ingebrigtsen's avatar
    • Lars Magne Ingebrigtsen's avatar
      Fix <h1> and <tt> rendering · 6a319400
      Lars Magne Ingebrigtsen authored
      (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
      (shr-tag-tt): New function.
    • Lars Magne Ingebrigtsen's avatar
      Mention the shr font changes · 84d9c193
      Lars Magne Ingebrigtsen authored
      * doc/misc/eww.texi (Basics): Mention eww-toggle-fonts.
    • Lars Magne Ingebrigtsen's avatar
      Allow using variable-width fonts in eww · 656caef3
      Lars Magne Ingebrigtsen authored
      * lisp/gnus/mm-decode.el (mm-shr): Only pass the fill column when not using
      fonts, because limiting the width to what's appropriate for followups
      doesn't really help when not using proportional fonts.
      * lisp/net/shr.el (shr-use-fonts): New variable.
      (shr-fill-text): Rename from "fold".
      (shr-pixel-column, shr-pixel-region, shr-string-pixel-width): New
      (shr-insert): Just insert, don't fill the text.  Filling is now
      done afterwards per display unit.
      (shr-fill-lines, shr-fill-line): New functions to fill text on a
      per-unit base.
      (shr-find-fill-point): Take a "beginning" parameter.
      (shr-indent): Indent using the :width display parameter when using
      (shr-parse-style): Ignore "inherit" values, since we already do that.
      (shr-tag-img): Remove the insertion states.
      (shr-tag-blockquote): New-style filling.
      (shr-tag-dd): Ditto.
      (shr-tag-li): Ditto.
      (shr-mark-fill): New function to mark lines that need filling.
      (shr-tag-h1): Use a larger font.
      (shr-tag-table-1): Get the natural and suggested widths in one
      (shr-tag-table): Create the "fixed" version of the table only once
      so that we can cache data in the table.
      (shr-insert-table): Get colspan calculations right by having
      zero-width columns after colspan ones.
      (shr-expand-alignments): New function to make :align-to specs work
      right when rendered in one buffer and displayed in another one.
      (shr-insert-table-ruler): Use :align-to to get the widths right.
      (shr-make-table): Cache more.
      (shr-make-table-1): Use the new <td> data layout.
      (shr-pixel-buffer-width): New function.
      (shr-render-td): Add a caching layer.
      (shr-dom-max-natural-width): New function.
    • Fabián Ezequiel Gallina's avatar
    • Fabián Ezequiel Gallina's avatar
      python.el: Improved shell font lock respecting markers. · 859e865e
      Fabián Ezequiel Gallina authored
      Fixes: debbugs:19650
      * lisp/progmodes/python.el
      (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
      (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
      (python-shell-font-lock-post-command-hook): Fontify by copying text
      properties from fontified buffer to shell, keeping markers unchanged.
      (python-shell-font-lock-turn-off): Fix typo.
      (python-util-text-properties-replace-name): Delete function.
  6. 09 Feb, 2015 2 commits
    • Paul Eggert's avatar
      Check for some overflows in vertical-motion · 21d1f8b8
      Paul Eggert authored
      * indent.c (window_column_x): New function.
      (Fvertical_motion): Use it to protect against integer overflow
      when computing column.  Prefer extract_float to doing things by hand.
      Avoid unnecessary casts.
    • Paul Eggert's avatar
      * xfont.c: Minor style fixes · b7028f67
      Paul Eggert authored
      (xfont_list_pattern): Reindent to 80 cols and use Emacs-style comments.
      Redo loop so that less indentation is needed.