1. 22 Jan, 2019 1 commit
    • Michael Albinus's avatar
      Respect setgid bit of the upper directory in Tramp · c5800815
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.4.2-pre".
      
      * lisp/net/tramp.el: Bump version to 2.4.2-pre.
      (tramp-set-file-uid-gid): Respect setgid bit of the upper directory.
      (tramp-default-file-modes, tramp-handle-insert-file-contents)
      (tramp-mode-string-to-int, tramp-make-tramp-temp-file):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy)
      (tramp-adb-handle-write-region):
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
      (tramp-sh-handle-write-region): Use octal constants.
      c5800815
  2. 21 Jan, 2019 8 commits
  3. 20 Jan, 2019 2 commits
    • Michael Albinus's avatar
      Use POSIX "df" in Tramp, if available · 5961e4fa
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-get-remote-df):
      Support also POSIX.1 "df".
      (tramp-sh-handle-file-system-info): Adapt accordingly.
      5961e4fa
    • 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
  4. 19 Jan, 2019 8 commits
  5. 18 Jan, 2019 13 commits
    • João Távora's avatar
      Revert "Remove leftover from previous electric-layout-rules API" · 7717778e
      João Távora authored
      This is a backward-incompatible change, and removing it isn't really
      necessary.
      
      This reverts commit 942dad2b.
      7717778e
    • Stefan Monnier's avatar
      (electric-layout-post-self-insert-function-1): Simplify. · 78725e49
      Stefan Monnier authored
      Call electric--after-char-pos right from the start, and take advantage of the
      fact that it guarantees to return the right position or nil.
      78725e49
    • João Távora's avatar
      Ensure fns in electric-layout-rules are called in right position · 06215916
      João Távora authored
      * lisp/electric.el (electric-layout-rules): Ensure rules are
      called from right spot.
      06215916
    • João Távora's avatar
      Remove leftover from previous electric-layout-rules API · 942dad2b
      João Távora authored
      An element of electric-layout-rules is either a function or a pair
      (CHAR . WHERE), and WHERE can't be a function anymore.
      
      * lisp/electric.el (electric-layout-post-self-insert-function-1):
      Remove leftover line.
      942dad2b
    • Paul Eggert's avatar
      Port to platforms where NULL is a pointer · 7818bcdd
      Paul Eggert authored
      * src/image.c (x_create_x_image_and_pixmap):
      The Picture type is an integer, not a pointer.
      Come to think of it, Picture is really XID, and as
      far as I can tell, all-bits-one is the invalid XID,
      not all-bits-zero.  However that is a bigger issue;
      for now, this patch just unbreaks the build.
      7818bcdd
    • Eli Zaretskii's avatar
      Improve documentation of portable dumping · 6bac9ea1
      Eli Zaretskii authored
      * src/pdumper.c (Fdump_emacs_portable): Improve the doc string
      and the error messages.
      
      * doc/lispref/internals.texi (Building Emacs): Document
      portable dumping and the 'dump-emacs-portable' function.
      6bac9ea1
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 957090b7
      Glenn Morris authored
      b6d78a0d (origin/emacs-26) Fix a typo in ELisp manual
      c9f6f868 Prevent redrawing if frame is garbaged
      00ba2267 Attempt to fix hangs on MS-Windows due to C-g
      b26d6373 Fix Calc graph output on MS-Windows
      03818b0a Fix a minor mistake in ELisp manual
      6ac59854 ; Fix some trivial doc typos
      21b90269 * etc/tutorials/TUTORIAL: Fix typo (bug#34049)
      d223727a Fix UI of Buffer-menu
      0f716557 Reinitialize ispell-really-enchant when changing the speller
      9845044f Speed up loading css-mode
      957090b7
    • Eli Zaretskii's avatar
      Clean up memory allocation and unexec support on MS-Windows · 5e3b0f52
      Eli Zaretskii authored
      * src/w32heap.c (report_temacs_memory_usage): Condition on
      !CANNOT_DUMP, in addition to ENABLE_CHECKING.
      (init_heap): Accept an argument, which tells us what heap
      allocation method to use.
      (DUMPED_HEAP_SIZE) [CANNOT_DUMP]: Define to a small value, as
      we don't use dumped_data[] in this case.
      * src/w32heap.h (init_heap): Adjust prototype.
      <using_dynamic_heap>: Remove declaration.
      * src/emacs.c (main) [WINDOWSNT]: Determine heap allocation
      method based on whether we are in temacs and whether unexec
      will be used to dump Emacs.  Pass the heap allocation method
      to init_heap, which is now called after parsing the
      --temacs=METHOD option.
      * src/unexw32.c (unexec): Don't fiddle with using_dynamic_heap.
      <using_dynamic_heap>: Remove definition.
      * src/w32proc.c (malloc_before_init, realloc_before_init)
      (free_before_init): New functions, to catch memory allocation
      before heap allocation method is set up.
      5e3b0f52
    • Eli Zaretskii's avatar
      ; * etc/NEWS: Fix description of pdumper. · f9434091
      Eli Zaretskii authored
      f9434091
    • Eli Zaretskii's avatar
      Fix a typo in ELisp manual · b6d78a0d
      Eli Zaretskii authored
      * doc/lispref/nonascii.texi (Converting Representations): Fix
      inconsistency between @defun and the argument description of
      'byte-to-string'.  (Bug#34119)
      b6d78a0d
    • Dmitry Gutov's avatar
      Rebase project-find-regexp on top of project-files · fbe87d0f
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project--files-in-directory):
      New function.
      (project-files, project-find-regexp): Use it.
      (project--dir-ignores): New function.
      (project--find-regexp-in): Remove.
      (project--process-file-region): New function.
      (project--find-regexp-in-files): New function.
      (project-find-regexp, project-or-external-find-regexp): Use it, and
      project-files as well.
      fbe87d0f
    • Dmitry Gutov's avatar
      ; Update the number · afc8a41f
      Dmitry Gutov authored
      afc8a41f
    • Dmitry Gutov's avatar
      Make 'project-files' the "canonical" generic of the two · d8da0916
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-files): Move the actual
      command building and invocation here.
      (project-file-completion-table): Delegate to 'project-files'.
      d8da0916
  6. 17 Jan, 2019 8 commits