1. 30 Dec, 2019 4 commits
    • Alan Third's avatar
      Draw to offscreen buffer on macOS · 53f3d1f9
      Alan Third authored
      * src/nsfns.m (x_set_background_color): Clear the frame after changing
      the background color, not before.
      * src/nsterm.h (drawingBuffer): New variable.
      ([EmacsView focusOnDrawingBuffer]):
      ([EmacsView copyRect:to:]):
      ([EmacsView createDrawingBufferWithRect:]): New methods.
      * src/nsterm.m (ns_update_begin):
      (ns_unfocus): Handle drawing to offscreen buffer.
      (ns_clip_to_row): Use ns_row_rect.
      (ns_copy_bits): Remove unused function.
      (ns_shift_glyphs_for_insert): Use new scrolling method.
      (ns_dumpglyphs_image): When drawing to the offscreen buffer, flip
      images so they appear the right way up.
      (ns_dumpglyphs_stretch): Remove unnecessary code.
      (ns_draw_window_cursor): Don't disable screen updates.
      ([EmacsView updateFrameSize:]): Update the size of the offscreen
      ([EmacsView initFrameFromEmacs:]): Create offscreen buffer.
      ([EmacsView windowDidChangeBackingProperties:]):
      ([EmacsView createDrawingBufferWithRect:]):
      ([EmacsView focusOnDrawingBuffer]):
      ([EmacsView copyRect]): New methods.
      ([EmacsView viewWillDraw]): Remove method as it no longer does
      anything useful.
      ([EmacsView drawRect:]): Handle drawing from offscreen buffer.
    • Alan Third's avatar
      Revert "Make all NS drawing be done from drawRect" · f0128667
      Alan Third authored
      This reverts commit 79464459.
    • Alan Third's avatar
      Revert "Ensure NS frame is redrawn correctly after scroll" · 301f1016
      Alan Third authored
      This reverts commit a6ab8db3.
    • Alan Third's avatar
      Revert "Fix some NS drawing issues (bug#32932)" · 51667949
      Alan Third authored
      This reverts commit 7e8eee60.
  2. 28 Dec, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Fix recent gnus-start.el breakage · e1fd6b11
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-start.el (gnus-group-change-level): Fix previous
      patch that made info nil when adding new groups (thereby making
      gnus-newsrc-alist invalid).
      (cherry picked from commit 3434ac67)
  3. 27 Dec, 2019 12 commits
  4. 26 Dec, 2019 17 commits
    • Phillip Lord's avatar
      Fix installer build · 8aad80d6
      Phillip Lord authored
      * admin/nt/dist-build/build-zips.sh: Ensure that NSIS build always
        uses the actual build number to locate its files.
    • Phillip Lord's avatar
      Update for Emacs-28 · f1040991
      Phillip Lord authored
      * admin/nt/dist-build/build-dep-zips.py: Emacs major version number.
    • Phillip Lord's avatar
      Update Windows build documentation · 47a73e3e
      Phillip Lord authored
      * admin/nt/dist-build/README-scripts: Update with branch and snapshot
    • Lars Ingebrigtsen's avatar
      Fix bogus test in body of a while loop · ea5e33d1
      Lars Ingebrigtsen authored
      * lisp/gnus/nnheader.el (nnheader-find-nov-line): Fix return value
      from while loop.
    • Mattias Engdegård's avatar
    • Mattias Engdegård's avatar
      Optimise 'while' bodies for effect · 1ba5b64d
      Mattias Engdegård authored
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
      Treat all expressions in the body of 'while' as for-effect,
      since their values are discarded.  This also finds some errors.
    • Mattias Engdegård's avatar
      Calc: add missing dynamic variable declarations · cd559841
      Mattias Engdegård authored
      * lisp/calc/calc-alg.el (math-simplify-only, calc-simplify-mode)
      (math-expand-formulas, calc-poly-div-remainder)
      (math-living-dangerously, math-simplifying, calc-angle-mode)
      (calc-prefer-frac, math-poly-base-variable):
      Declare dynamic variables.
      * test/lisp/calc/calc-tests.el (calc-poly-div):
      Add test for at least one bug caused by missing declarations.
    • Eli Zaretskii's avatar
    • Mattias Engdegård's avatar
      Use regexp type for regexps in defcustom declarations · af085ef4
      Mattias Engdegård authored
      * lisp/calendar/diary-lib.el (diary-face-attrs):
      * lisp/cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-file-match):
      * lisp/cedet/srecode/document.el
      * lisp/desktop.el (desktop-clear-preserve-buffers):
      * lisp/elide-head.el (elide-head-headers-to-hide):
      * lisp/erc/erc-backend.el (erc-encoding-coding-alist):
      * lisp/erc/erc-ezbounce.el (erc-ezb-regexp):
      * lisp/files.el (auto-save-file-name-transforms):
      * lisp/gnus/deuglify.el (gnus-outlook-deuglify-attrib-cut-regexp)
      * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
      * lisp/gnus/spam.el (spam-spamassassin-positive-spam-flag-header):
      * lisp/htmlfontify.el (hfy-src-doc-link-unstyle):
      * lisp/info-look.el (info-lookup-file-name-alist):
      * lisp/international/rfc1843.el (rfc1843-newsgroups-regexp):
      * lisp/mail/feedmail.el (feedmail-queue-slug-suspect-regexp):
      * lisp/mail/rmail-spam-filter.el (rsf-white-list, rsf-definitions-alist):
      * lisp/man.el (Man-name-local-regexp):
      * lisp/net/ange-ftp.el (ange-ftp-dumb-unix-host-regexp):
      * lisp/net/newst-backend.el (newsticker-auto-mark-filter-list):
      * lisp/net/rcirc.el (rcirc-authinfo, rcirc-coding-system-alist):
      * lisp/net/tramp-adb.el (tramp-adb-prompt):
      * lisp/org/org-agenda.el (org-agenda-hide-tags-regexp)
      * lisp/org/org-protocol.el (org-protocol-data-separator):
      * lisp/org/org-table.el (org-table-number-regexp):
      * lisp/org/ox-latex.el (org-latex-known-warnings):
      * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
      * lisp/progmodes/hideif.el (hide-ifdef-header-regexp):
      * lisp/progmodes/idlw-help.el (idlwave-help-doclib-name)
      * lisp/progmodes/idlwave.el (idlwave-no-change-comment):
      * lisp/progmodes/python.el (python-shell-prompt-input-regexps)
      (python-shell-prompt-output-regexps, python-shell-prompt-regexp)
      (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
      (python-shell-prompt-pdb-regexp, python-shell-compilation-regexp-alist)
      * lisp/progmodes/sql.el (sql-send-terminator, sql-ansi-statement-starters):
      * lisp/speedbar.el (speedbar-directory-unshown-regexp)
      * lisp/textmodes/flyspell.el (flyspell-mark-duplications-exceptions)
      * lisp/textmodes/paragraphs.el (sentence-end-base):
      * lisp/textmodes/tildify.el (tildify-pattern, tildify-space-pattern):
      * lisp/vc/ediff-init.el (ediff-metachars):
      * lisp/vc/vc-git.el (vc-git-root-log-format):
      * lisp/vc/vc-hg.el (vc-hg-root-log-format):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      * lisp/woman.el (woman-manpath-man-regexp)
      Use 'regexp' instead of 'string' as type for values that are regexps
      in defcustom declarations.
    • Dmitry Gutov's avatar
      Speed up dired-do-find-regexp · ccd7cd2c
      Dmitry Gutov authored
      * lisp/dired-aux.el (dired-do-find-regexp): Speed up (bug#36857).
      Previously, 'find' was called for every marked file (for plain
      files and directories both).  Now 'find' is only called for
    • Dmitry Gutov's avatar
      ; Remove outdated declarations · 7edb1f07
      Dmitry Gutov authored
    • Dmitry Gutov's avatar
      ; Clarify the assumption · 6ab40c1a
      Dmitry Gutov authored
    • Dmitry Gutov's avatar
      project--find-regexp-in-files: Support remote files · be38e39f
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project--find-regexp-in-files):
      Support remote files (bug#34343).
    • Philipp Stephani's avatar
      Document some restrictions for module functions. · 21c3020f
      Philipp Stephani authored
      * doc/lispref/internals.texi (Module Functions): Document some
      restrictions for module functions.
    • Philipp Stephani's avatar
      Don't recommend using 'module-load' for loading modules. · e1ce9f34
      Philipp Stephani authored
      'module-load' most likely doesn't do what users expect.  Users should
      use 'load' and its wrappers, which do the right thing.
      * doc/lispref/loading.texi (Dynamic Modules): Document
      disadvantages of 'module-load' and recommend normal 'load' and
      its wrappers instead.
      * doc/lispref/internals.texi (Module Functions): Recommend
      'load' over 'module-load'.
    • Philipp Stephani's avatar
      Simplify an example in the modules manual · c980d21a
      Philipp Stephani authored
      * doc/lispref/internals.texi (Module Misc): Simplify example for how
      to call 'intern'.  There's no need to pass the optional argument
    • Philipp Stephani's avatar
      Promote function type aliases to the public module API. · 719ad593
      Philipp Stephani authored
      Previously module authors had to define type aliases for module
      functions and finalizers themselves.  This commit adds and documents
      aliases so that this is no longer necessary.
      * src/emacs-module.h.in: Add 'emacs_function' and 'emacs_finalizer'
      type aliases.
      * src/emacs-module.c: Remove old 'emacs_subr' and 'emacs_finalizer'
      type aliases.
      (struct Lisp_Module_Function, module_make_function): Switch from
      'emacs_subr' to 'emacs_function'.
      * doc/lispref/internals.texi (Module Functions): Document and use
      'emacs_function' type alias.
      (Module Values): Document 'emacs_finalizer' type alias.
      * etc/NEWS: Mention change.
  5. 25 Dec, 2019 6 commits