1. 17 Sep, 2019 7 commits
    • Eli Zaretskii's avatar
      Improve font lookup on MS-Windows · 8054935c
      Eli Zaretskii authored
      * src/w32font.c (struct font_callback_data): New member
      (w32font_list_internal, w32font_match_internal): Set up
      match_data.known_fonts if the font spec includes :script that
      names one of the non-USB scripts.
      (add_font_entity_to_list): If font_matches_spec returns zero
      for a font, and we have some fonts in match_data->known_fonts,
      consider the font to be a match if it is named in known_fonts.
      (font_supported_scripts): Update the Unicode Subranges.  In
      particular, map bit 74 to 'burmese', as this is the name Emacs
      uses, not 'myanmar'.  Add a list of scripts that have no USBs
      defined for them.
      (syms_of_w32font) <Qburmese, Qcuneiform_numbers_and_punctuation>
      <Qaegean_number, Qw32_non_USB_fonts>: New symbols.
      * lisp/term/w32-win.el (w32-no-usb-subranges): New defconst.
      (w32--filter-USB-scripts, w32-find-non-USB-fonts): New functions.
      (w32-non-USB-fonts): New defvar.
      * lisp/international/fontset.el (setup-default-fontset): Add
      more scripts to automatic setup by representative characters.
      * doc/emacs/msdos.texi (Windows Fonts): Document
      'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'.
      * etc/NEWS: Mention 'w32-find-non-USB-fonts' and
    • Paul Eggert's avatar
      Pacify GCC -Wmaybe-uninitialized · 01c929bc
      Paul Eggert authored
      * src/dired.c (directory_files_internal):
      Pacify GCC 7.4.0-1ubuntu1~18.04.1 x86-64.
    • Paul Eggert's avatar
      Don’t round file-system-info counts · c108d8ec
      Paul Eggert authored
      * src/fileio.c (blocks_to_bytes): Convert the byte count to an
      integer, since we have bignums now.  This avoids possible rounding
      errors for file systems containing more than 8 PiB or so.
    • Mattias Engdegård's avatar
    • Eli Zaretskii's avatar
      ; * etc/NEWS: Minor copyedits. · e80e037e
      Eli Zaretskii authored
    • Paul Eggert's avatar
      Fix some file-mode races · bc1c2cf0
      Paul Eggert authored
      * lisp/emacs-lisp/autoload.el (autoload-ensure-file-writeable):
      * lisp/files.el (after-find-file):
      * lisp/gnus/gnus-start.el (gnus-dribble-read-file):
      * lisp/htmlfontify.el (hfy-copy-and-fontify-file):
      * lisp/server.el (server-ensure-safe-dir):
      Avoid a race when getting file permissions.
    • Paul Eggert's avatar
      vc-cvs-revert: fix off-by-one file mode · b124cb8f
      Paul Eggert authored
      * lisp/vc/vc-cvs.el (vc-cvs-revert): 3950 (#o7556) is wrong as
      it keeps other-write but disables other-execute permissions.
      3949 (#o7555) was intended here.  Use octal notation for clarity.
  2. 16 Sep, 2019 22 commits
  3. 15 Sep, 2019 11 commits