aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix implicit declaration of getenv and atoltmpAndreas Schwab2020-01-151-0/+1
| | | | * src/gtkutil.c: Include <stdlib.h>.
* Refactor Tramp async process codeMichael Albinus2020-01-143-109/+82
| | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Update stderr buffer when process has finished. Do not call `auto-revert'. * test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process): Tag it :unstable. Change `accept-process-output' arguments. (tramp--test-async-shell-command): New defun. (tramp--test-shell-command-to-string-asynchronously): Use it. (tramp-test32-shell-command): Refactor code.
* Default cairo to enabledRobert Pluim2020-01-142-7/+10
| | | | | | * configure.ac (USE_CAIRO): Default cairo to enabled. * etc/NEWS: Announce the change to use cairo if found.
* Update from gnulibPaul Eggert2020-01-1310-12/+91
| | | | | | | | | | | | | | This incorporates: 2020-01-10 fix major regression from 2020-01-04 2020-01-05 tests: avoid GCC over-optimization 2020-01-04 fix AC_CHECK_DECL so it deactivates clang's built-ins 2020-01-03 getopt-posix: fix compilation failure in testdirs 2020-01-03 doc: mention the 64-bit inode number problem 2020-01-02 wchar: make the HP-UX workaround work on HP-UX 11.31 * build-aux/config.guess, build-aux/config.sub, lib/inttypes.in.h: * lib/stdlib.in.h, lib/unistd.in.h, m4/00gnulib.m4, m4/largefile.m4: * m4/unistd_h.m4: Copy from Gnulib * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* Port configure.ac to future GnulibPaul Eggert2020-01-131-10/+7
| | | | | | | | | | | | Rewrite an ancient Alpha ELF check to port to a future Gnulib version that may require AC_CHECK_DECL to be set up properly as per the ‘Expanded Before Required’ section of the Autoconf manual Autoconf doesn’t guarantee that AC_CHECK_DECL will work properly if called conditionally (e.g., inside a shell ‘case’ statement) and the condition is false. Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2020-01/msg00088.html * configure.ac (LD_SWITCH_MACHINE): Migrate ELF check later, when AC_CHECK_DECL is properly set up.
* * src/pdumper.c (dump_vectorlike): Unbreak build after 724af7671590cPhilipp Stephani2020-01-131-1/+1
|
* Use decode_string_utf_8 in emacs-module.c.Philipp Stephani2020-01-133-3/+24
| | | | | | | | | | | Now that decode_string_utf_8 is available, we can use it to signal errors on invalid input. * src/coding.c (syms_of_coding): Move Qutf_8_string_p from json.c since it’s now used outside json.c. * src/emacs-module.c (module_decode_utf_8): New helper function. (module_make_function, module_copy_string_contents): Use it.
* Merge from origin/emacs-27Glenn Morris2020-01-1114-451/+400
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0ebd919c1 (origin/emacs-27) ; * doc/lispref/anti.texi (Antinews): Fi... 6f059159ee Update Acknowledgments sections e1262d45f9 Update Antinews in ELisp manual fd8128f0c1 ; Move the description of define-inline to a different nod... 524441d6b3 Improve wording in the ELisp manual 8addfa91c8 Reset to the standard value when reverting session's custo... d6f9b09777 Fix saving multiple themes c556aabde8 Calc: fix interval entry (bug#39040) 91cd3c1372 Fix horizontal line display in Custom buffers 15c8e984ae ; * etc/NEWS: Fix a typo. ff8996a337 flymake: fix typo in variable binding (bug#38752) 16eaaa07e6 ; Minor spelling fixes 5efe795659 Update Antinews in the Emacs manual 5841240295 Use NSNumber instead of BOOL (bug#39047) beec9f64a5 Add comment on fido-mode's file-sorting semantics eb3c6ad325 Consider non-string minibuffer-default in icomplete # Conflicts: # etc/NEWS
| * ; * doc/lispref/anti.texi (Antinews): Fix typo.Michael Albinus2020-01-111-1/+1
| |
| * Update Acknowledgments sectionsEli Zaretskii2020-01-112-7/+33
| | | | | | | | | | * doc/emacs/ack.texi (Acknowledgments): * doc/emacs/emacs.texi (Acknowledgments): Update for Emacs 27.
| * Update Antinews in ELisp manualEli Zaretskii2020-01-112-218/+126
| | | | | | | | | | | | * doc/lispref/anti.texi (Antinews): Rewrite for Emacs 27. * doc/lispref/elisp.texi (Top): Update the top-level menu item for Antinews.
| * ; Move the description of define-inline to a different node in functions.texiRichard Stallman2020-01-111-96/+100
| |
| * Improve wording in the ELisp manualRichard Stallman2020-01-111-2/+15
| | | | | | | | | | * doc/lispref/modes.texi (Setting Hooks): Improve and clarify wording. (Bug#38818)
| * Reset to the standard value when reverting session's customizationsMauro Aranda2020-01-111-9/+10
| | | | | | | | | | * lisp/cus-edit.el (custom-variable-reset-saved): When there is no previous saved value, reset to the standard value. (Bug#15214)
| * Fix saving multiple themesMauro Aranda2020-01-111-1/+1
| | | | | | | | | | * lisp/custom.el (enable-theme): Be side-effect free when modifying custom-enabled-themes. (Bug#19999)
| * Calc: fix interval entry (bug#39040)Mattias Engdegård2020-01-101-1/+1
| | | | | | | | | | | | | | * lisp/calc/calc.el (calcDigit-start): Initialise calc-prev-char to something more reasonable, so that non-algebraic entry of intervals whose start is a single digit, like (1..10), works properly. Reported by Michel Schinz.
| * Fix horizontal line display in Custom buffersEli Zaretskii2020-01-101-0/+1
| | | | | | | | | | * lisp/cus-edit.el (custom-group-value-create): Insert a newline before calling 'custom-group--draw-horizontal-line'. (Bug#39074)
| * ; * etc/NEWS: Fix a typo.Eli Zaretskii2020-01-101-1/+1
| |
| * flymake: fix typo in variable binding (bug#38752)Mattias Engdegård2020-01-101-1/+1
| | | | | | | | | | | | | | This mistake was found by an experimental elisp optimiser. * lisp/progmodes/flymake-proc.el (flymake-proc-stop-all-syntax-checks): Add missing brackets.
| * ; Minor spelling fixesRobert Pluim2020-01-101-7/+8
| | | | | | | | * doc/emacs/anti.texi (Antinews): Minor spelling fixes.
| * Update Antinews in the Emacs manualEli Zaretskii2020-01-102-108/+96
| | | | | | | | | | | | * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 27. * doc/emacs/emacs.texi (Top): Update the "Antiniews" item of the top-level menu.
| * Use NSNumber instead of BOOL (bug#39047)Väinö Järvelä2020-01-091-2/+2
| | | | | | | | | | | | * src/nsfns.m (ns_set_represented_filename): Use correct type. Copyright-paperwork-exempt: yes
| * Add comment on fido-mode's file-sorting semanticsJoão Távora2020-01-091-0/+6
| | | | | | | | * lisp/icomplete.el (icomplete--sorted-completions): Add comment.
| * Consider non-string minibuffer-default in icompleteJoão Távora2020-01-091-5/+6
| | | | | | | | | | | | | | Fixes: bug#38992 * lisp/icomplete.el (icomplete--sorted-completions): Consider non-string minibuffer-default.
* | Add hexdump/awk file encoding to Tramp. (Bug#35639)Michael Albinus2020-01-091-19/+105
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-hexdump-encode, tramp-hexdump-awk-encode) (tramp-od-encode, tramp-od-awk-encode): New defconst. (tramp-awk-encode, tramp-awk-decode): Adapt. (tramp-awk-coding-test): Remove. (tramp-remote-coding-commands): Add hexdump/awk encoding. (Bug#35639) (tramp-find-inline-encoding): Adapt handling of awk, hexdump and od. (tramp-get-remote-busybox, tramp-get-remote-awk) (tramp-get-remote-hexdump, tramp-get-remote-od): New defuns.
* | Remove obsolete thread-alive-pMichael Albinus2020-01-093-7/+4
| | | | | | | | | | | | * etc/NEWS (thread-alive-p): * lisp/thread.el (thread-alive-p): * src/thread.c (thread-alive-p): Remove.
* | Merge from origin/emacs-27Glenn Morris2020-01-081-0/+4
|\ \ | |/ | | | | 1fe596d89f (origin/emacs-27) Fix another compilation problem in a bui...
| * Fix another compilation problem in a build without threadsEli Zaretskii2020-01-081-0/+4
| | | | | | | | | | * src/systhread.c (sys_thread_set_name) [!THREADS_ENABLED]: Add a trivial implementation.
* | Merge from origin/emacs-27Glenn Morris2020-01-081-2/+1
|\ \ | |/ | | | | 50dc615095 (origin/emacs-27) Fix build without threads
| * Fix build without threadsEli Zaretskii2020-01-081-2/+1
| | | | | | | | | | | | * src/systhread.c (sys_thread_create) [!THREADS_ENABLED]: Update the function's signature to match prototype. Reported by Glenn Morris <rgm@gnu.org>. (Bug#38632)
* | Merge from origin/emacs-27Glenn Morris2020-01-0814-244/+325
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6cd9ccb0a2 (origin/emacs-27) Fix compression of directories in Dired 42329e6d3b ; * etc/NEWS: Review of the whole text. af5709f16b Further enhancement on `tramp-file-local-name' fb432446f5 Objective C Mode imenu: cease recognizing "functions" with... a18373a999 ; * etc/NEWS: Update the text about the XDG_CONFIG_HOME/em... 73fd8a4b53 Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38... f54b24304d Scale top-left coordinates in display-monitor-attributes-list b46c75b16c xref-matches-in-files: Big Tramp speed-up 883b3490d8 * lisp/net/tramp.el (tramp-file-local-name): Remove `save-... c01f55f126 Fix rendering bug due to unsynchronized cairo surface size... 075f21c0e3 Avoid crash by access to cleared img->pixmap->data/img->ma... 16c6dfb4f1 Avoid assertion violations in very small-height windows 9063124b91 Use pthread_setname_np to set thread name # Conflicts: # etc/NEWS # lisp/net/tramp.el
| * Fix compression of directories in DiredEli Zaretskii2020-01-081-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes comporession and uncompression of directories on MS-Windows, but also on other systems. The original code used ":" as the REGEXP of the directory entry in dired-compress-file-suffixes, which on Windows always matched any absolute file name, and can also match unusual file names on Posix hosts. This false match would cause dired-compress-file to act as if we are decompressing a directory, but use a command suitable for compression, which would fail in interesting ways. We now use a REGEXP that can never match any valid file name. * lisp/dired-aux.el (dired-compress-file-suffixes): Make the "compress directory" entry's REGEXP really fail to match any valid file name. (dired-compress-file): Adapt to the change in dired-compress-file-suffixes. (Bug#39024) (dired-compress): If the current file is a directory, or if the uncompressed file is a directory, don't remove the original from the listing, since it is left in the filesystem.
| * ; * etc/NEWS: Review of the whole text.Michael Albinus2020-01-081-144/+156
| |
| * Further enhancement on `tramp-file-local-name'Michael Albinus2020-01-081-6/+5
| | | | | | | | | | * lisp/net/tramp.el (tramp-file-local-name): Call `file-local-name' if NAME is not a Tramp file name.
| * Objective C Mode imenu: cease recognizing "functions" within comments, etc.Alan Mackenzie2020-01-071-48/+50
| | | | | | | | | | | | | | This fixes bug #38749. * lisp/progmodes/cc-menus.el (cc-imenu-objc-function): Put a c-literal-limits test around the innards of the main re-search-backward loop.
| * ; * etc/NEWS: Update the text about the XDG_CONFIG_HOME/emacs behavior.Eli Zaretskii2020-01-071-4/+9
| |
| * Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38632)Mattias Engdegård2020-01-075-33/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pthread_setname_np takes only a single argument on BSD and macOS, and affects the current thread only. * configure.ac: Add check for single-argument pthread_setname_np * src/systhread.c (sys_thread_set_name): New (w32 and pthread versions). (sys_thread_create): Remove name argument and name-setting. (w32_beginthread_wrapper): Remove name-setting. * src/systhread.h (sys_thread_create, sys_thread_set_name): Update prototypes. * src/thread.c (run_thread): Call sys_thread_set_name. (Fmake_thread): Adapt call to sys_thread_create. * src/thread.h (struct thread_state): Adjust comment.
| * Scale top-left coordinates in display-monitor-attributes-listRobert Pluim2020-01-071-0/+2
| | | | | | | | | | | | | | | | | | When using multiple monitors, and HiDPI, the top-left coordinates of the monitors need to be adjusted, not just the width and height (Bug#31223). * xfns.c (Fx_display_monitor_attributes_list): Scale top-left coordinates.
| * xref-matches-in-files: Big Tramp speed-upDmitry Gutov2020-01-071-1/+9
| | | | | | | | | | | | * lisp/progmodes/xref.el (xref-matches-in-files): Greatly improve performance with remote files using Tramp (bug#34343).
| * * lisp/net/tramp.el (tramp-file-local-name): Remove `save-match-data'.Michael Albinus2020-01-071-8/+8
| |
| * Fix rendering bug due to unsynchronized cairo surface size (Bug#38497)YAMAMOTO Mitsuharu2020-01-071-0/+4
| | | | | | | | | | * src/xterm.c (handle_one_xevent) <ConfigureNotify> [USE_CAIRO && !USE_GTK]: Call x_cr_update_surface_desired_size for a related frame as a fallback.
| * Avoid crash by access to cleared img->pixmap->data/img->mask->data (Bug#38774)YAMAMOTO Mitsuharu2020-01-071-0/+4
| | | | | | | | | | * src/image.c (prepare_image_for_display) [USE_CAIRO]: Call IMAGE_BACKGROUND and IMAGE_BACKGROUND_TRANSPARENT.
| * Avoid assertion violations in very small-height windowsEli Zaretskii2020-01-061-8/+20
| | | | | | | | | | | | | | | | * src/xdisp.c (try_cursor_movement, redisplay_window) (row_containing_pos): Skip tab-line glyph rows in addition to header-line rows, when working on the top-most glyph row of a window. This avoids assertion violations in set_cursor_from_row. (Bug#38966)
| * Use pthread_setname_np to set thread nameRobert Pluim2020-01-063-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Remove check for sys/prctl.h and prctl, check for pthread_setname_np instead. * systhread.c: Remove sys/prctl.h include. (sys_thread_create) [HAVE_PTHREAD_SETNAME_NP]: Use pthread_setname_np to set the name of the newly created thread (Bug#38632). * thread.c (Fmake_thread): Use ENCODE_SYSTEM instead of ENCODE_UTF_8 on the thread name.
* | ; Merge from origin/emacs-27Glenn Morris2020-01-080-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 088bfcc2d8 Move “Fix some broken conditional forms” to master
| * Move “Fix some broken conditional forms” to masterPaul Eggert2020-01-0512-22/+47
| | | | | | | | | | | | | | Revert 2020-01-04T19:17:12Z!eggert@cs.ucla.edu which recently I installed into the emacs-27 branch by mistake. These patches are now on master instead (via merging). Do not merge to master.
* | Fix sxhash-equal on bytecodes, markers, etc.Paul Eggert2020-01-079-47/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Pip Cet (Bug#38912#14). * doc/lispref/objects.texi (Equality Predicates): Document better when ‘equal’ looks inside objects. * doc/lispref/windows.texi (Window Configurations): Don’t say that ‘equal’ looks inside window configurations. * etc/NEWS: Mention the change. * src/fns.c (internal_equal): Do not look inside window configurations. (sxhash_obj): Hash markers, byte-code function objects, char-tables, and font objects consistently with Fequal. * src/window.c (compare_window_configurations): Now static. Remove last argument. Caller changed. * test/lisp/ffap-tests.el (ffap-other-window--bug-25352): Use compare-window-configurations, not ‘equal’. * test/src/fns-tests.el (test-sxhash-equal): New test.
* | Help the compiler inline sxhashPaul Eggert2020-01-073-9/+16
| | | | | | | | | | | | | | * src/fns.c (sxhash_obj): Rename from sxhash and make it static, so that the compiler can inline it better. (sxhash): New function that does not take a depth arg. All callers changed.
* | Fix NS frame parameters (bug#39000)Alan Third2020-01-076-30/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (make_frame): Use new system default setting. * src/frame.h (enum ns_appearance_type): Add new system default setting. * src/nsfns.m (Fx_create_frame): Correctly handle Qunbound and support system default appearance. (syms_of_nsfns): Add Qlight. * src/nsterm.h: New method definition. * src/nsterm.m (ns_set_appearance): Correctly handle Qlight and use new setAppearance method. ([EmacsView initFrameFromEmacs:]): Use new setAppearance method. ([EmacsWindow setAppearance]): New method. * doc/lispref/frames.texi (Management Parameters): Document 'light'.
* | Implement stderr in tramp-adb-handle-make-processMichael Albinus2020-01-073-70/+105
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): Implement `stderr'. * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Flush connection properties in time. * test/lisp/net/tramp-tests.el (tramp-test30-make-process) (tramp-test32-shell-command): Test asynchronous stderr for tramp-adb.