summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename abnormal hook to comp-async-cu-done-functionsStefan Kangas2021-04-271-6/+5
| | | | | | * lisp/emacs-lisp/comp.el (comp-async-cu-done-functions): Rename from 'comp-async-cu-done-hook' to reflect that it is an abnormal hook. Doc fix and update single caller.
* Fix failing subr testLars Ingebrigtsen2021-04-271-1/+1
| | | | | * test/lisp/subr-tests.el (subr-tests-bug22027): Fix mocked signature of `read-string' (bug#48022).
* Fix failing auth-source testLars Ingebrigtsen2021-04-271-2/+3
| | | | | | * test/lisp/auth-source-tests.el (auth-source-test-secrets-create-secret): Fix test failing because the mocked `read-string' had the wrong interface.
* Ensure that we get an X-Draft-From headersAdam Sjøgren2021-04-271-5/+6
| | | | | * lisp/gnus/gnus-msg.el (gnus-setup-message): Ensure that we get an X-Draft-From headers (bug#48049).
* * lisp/emacs-lisp/package.el: Fix use of `find-library-name`Stefan Monnier2021-04-262-17/+17
| | | | | | | | | | | | | That function caused a warning for a good reason. Don't just declare it and hope it will be available. (package--list-of-conflicts): Require `find-func` explicitly before declaring the function. Also don't ignore all errors but only the `file-error`s which will be emitted by `find-library-name` in normal circumstances. * lisp/emacs-lisp/find-func.el (find-library-name): Signal a `file-error` Instead of a generic `error`.
* * lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Initialize it.Andrea Corallo2021-04-261-1/+1
|
* Rework where `comp-ctxt' is defined.Andrea Corallo2021-04-263-4/+4
| | | | | | | * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Remove `comp-ctxt' definition. * lisp/emacs-lisp/comp.el (comp-ctxt): Likewise. * lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Define it here.
* * lisp/emacs-lisp/comp.el: Make it loadable in vanilla builds (bug#48021).Andrea Corallo2021-04-261-0/+2
|
* * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix string-search.Andrea Corallo2021-04-261-1/+1
|
* Small tweaks to gnus-registry reindexing messagingEric Abrahamsen2021-04-261-2/+5
| | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-fixup-registry): Use `seq-set-equal-p' so we don't care about list element ordering. Don't show messages within `registry-reindex' if we aren't at gnus-verbose level 9.
* Fix previous emake adjustmentLars Ingebrigtsen2021-04-261-1/+1
|
* Make use of `ert-resource-file' `ert-resource-directory' in comp-testsAndrea Corallo2021-04-265-14/+6
| | | | | | | | | | | * test/src/comp-resources/comp-test-pure.el: Rename. * test/src/comp-resources/comp-test-funcs.el: Likewise. * test/src/comp-resources/comp-test-funcs-dyn.el: Likewise. * test/src/comp-resources/comp-test-45603.el: Likewise. * test/src/comp-tests.el (comp-test-src, comp-test-dyn-src): Use `ert-resource-file'. (comp-tests-bootstrap): Use ert-resource-directory. (comp-tests-45603-1, comp-tests-pure): Use `ert-resource-file'.
* * Use `expand-file-name' in place of `concat' in comp-tests.elAndrea Corallo2021-04-261-6/+8
| | | | | | * test/src/comp-tests.el (comp-test-src, comp-test-dyn-src) (comp-tests-bootstrap, comp-tests-pure, comp-test-src): Use `expand-file-name' in place of `concat'.
* Move native compiler test data into proper directory (bug#48031)Andrea Corallo2021-04-265-2/+5
| | | | | | | | * test/src/comp-tests-resources/comp-test-45603.el: Rename. * test/src/comp-tests-resources/comp-test-funcs-dyn.el: Likewise. * test/src/comp-tests-resources/comp-test-funcs.el: Likewise. * test/src/comp-tests-resources/comp-test-pure.el: Likewise. * test/src/comp-tests.el (comp-test-directory): Update.
* * test/src/comp-tests.el: Fix it for non native compiled build (bug#48031).Andrea Corallo2021-04-261-1/+1
|
* * Fix comp-cstr tests for vanilla build (bug#48021)Andrea Corallo2021-04-261-0/+2
| | | | | * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Fix tests for vanilla build (bug#48021)
* * lisp/emacs-lisp/comp.el (comp-accept-and-process-async-output): Fix regexp.Andrea Corallo2021-04-261-1/+1
|
* Some rearrangement in gitlab-ci.ymlMichael Albinus2021-04-261-7/+9
| | | | | | | | * test/infra/gitlab-ci.yml (test-filenotify-gio, test-gnustep): Add 'needs:' clause. (build-native-bootstrap-speed0, build-native-bootstrap-speed1) (build-native-bootstrap-speed2): Rename from 'test-*'. Do not use '--without-makeinfo'.
* Fix typo in tramp-get-remote-gidDario Gjorgjevski2021-04-261-1/+1
| | | | | * lisp/net/tramp.el (tramp-get-remote-gid): Pass the correct operation to find-file-name-handler. (Bug#48026)
* * src/editfns.c (Fpropertize): Doc fix; reference Info manual.Stefan Kangas2021-04-261-0/+2
|
* ; NEWS copyeditsGlenn Morris2021-04-251-4/+3
|
* ; Add 2021 to copyright yearsGlenn Morris2021-04-257-9/+8
|
* * lisp/url/url-proxy.el (url-find-proxy-for-url): Minor simplificationStefan Monnier2021-04-251-3/+1
|
* * lisp/startup.el (comp-eln-load-path): Silence a warning.Andrea Corallo2021-04-251-1/+1
|
* Hack around problems in Turkish environments in url-proxyLars Ingebrigtsen2021-04-251-3/+3
| | | | | | * lisp/url/url-proxy.el (url-find-proxy-for-url): Work around a problem in Turkish language environments (where a downcased I is ?ı (bug#44604).
* * lisp/emacs-lisp/comp.el (no-native-compile): Minor doc fixes.Stefan Kangas2021-04-251-7/+6
|
* * lisp/help-macro.el: Remove stale Change Log.Stefan Kangas2021-04-251-6/+0
|
* Adjust regexp to extra native-comp linesLars Ingebrigtsen2021-04-251-0/+2
|
* Merge branch 'feature/native-comp' into into trunkAndrea Corallo2021-04-2577-256/+15420
|\
| * Improve detection of pdumper file and *.eln filesEli Zaretskii2021-04-241-1/+9
| | | | | | | | | | * src/emacs.c (load_pdump_find_executable): Resolve symlinks even if argv[0] includes leading directories. (Bug#46790)
| * Improve diagnostics of loading *.eln filesEli Zaretskii2021-04-241-1/+5
| | | | | | | | | | * src/pdumper.c (dump_do_dump_relocation): Improve diagnostics when loading preloaded *.eln files fails. (Bug#46790)
| * Improve a native compiler testAndrea Corallo2021-04-222-1/+12
| | | | | | | | | | | | | | * test/src/comp-tests.el (comp-test-47868-1): Improve testcase. * test/src/comp-test-funcs.el (comp-test-47868-3-f) (comp-test-47868-4-f): New functions.
| * * lisp/emacs-lisp/comp.el (comp-imm-equal-test): Style fix.Andrea Corallo2021-04-211-2/+1
| |
| * * lisp/emacs-lisp/comp.el (batch-byte-native-compile-for-bootstrap): Fix typo.Andrea Corallo2021-04-211-1/+1
| |
| * Fix native compiler string hash consing strategy (bug#47868)Andrea Corallo2021-04-213-34/+50
| | | | | | | | | | | | | | | | | | | | | | * test/src/comp-tests.el (comp-test-47868-1): Add new test. * test/src/comp-test-funcs.el (comp-test-47868-1-f) (comp-test-47868-2-f): New functions. * lisp/emacs-lisp/comp.el (comp-imm-equal-test): Define new hash tanble test. (comp-data-container): Use it. (comp-final, comp-run-async-workers): have comp required before reading dumped hashes so that `comp-imm-equal-test' is defined.
| * Introduce `sxhash-equal-including-properties'.Andrea Corallo2021-04-212-9/+39
| | | | | | | | | | | | | | * src/fns.c (collect_interval): Move it upwards. (Fsxhash_equal_including_properties): New function. (syms_of_fns): Register `sxhash-equal-including-properties'. * etc/NEWS: Add 'sxhash-equal-including-properties'.
| * Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-04-19256-2088/+3185
| |\
| * | * src/emacs.c (main): Add back the call to init_callproc_1. (bug#47872)Eli Zaretskii2021-04-181-0/+3
| | |
| * | * src/comp.c (fixup_eln_load_path): Simplify code.Eli Zaretskii2021-04-181-7/+5
| | |
| * | ; * src/emacs.c (load_pdump_find_executable): Yet another fix.Eli Zaretskii2021-04-181-1/+5
| | |
| * | Fix last changeEli Zaretskii2021-04-181-1/+4
| | | | | | | | | | | | | | | * src/emacs.c (load_pdump_find_executable): Fix the value of CANDIDATE_SIZE when the final candidate is a symlink.
| * | ; * src/pdumper.c (dump_do_dump_relocation): Add a FIXME comment.Eli Zaretskii2021-04-171-0/+7
| | |
| * | * src/emacs.c (load_pdump): Fix unconditional references to strip_suffix.Eli Zaretskii2021-04-171-2/+4
| | |
| * | * emacs.c (load_pdump): Fix compilation on picky-complier platforms.Eli Zaretskii2021-04-171-1/+2
| | |
| * | Fix loading *.eln files when Emacs is installed via symlinksEli Zaretskii2021-04-177-174/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/emacs.c (real_filename, set_invocation_vars) (init_vars_for_load): Functions deleted; callers adjusted. (init_cmdargs): Put back all the code which was extracted into set_invocation_vars. (load_pdump_find_executable): Make sure the return value has any symlinks in it expanded. (load_pdump): Accept only 2 arguments, not 3. Determine both the file name of the Emacs executable and of the dump file in synchronized manner, so that if we decided to look for the dump file in its hardcoded installation directory, the directory of the Emacs executable will also be where we expect it to be installed. Pass only 2 arguments to pdumper_load. (Bug#47800) (Bug#44128) * src/pdumper.c (dump_do_dump_relocation): Use emacs_execdir instead of Vinvocation_directory to produce absolute file names of *.eln files that are recorded in the pdumper file. Pass the full .eln file name to fixup_eln_load_path. (pdumper_set_emacs_execdir) [HAVE_NATIVE_COMP]: New function. (pdumper_load) [HAVE_NATIVE_COMP]: Call pdumper_set_emacs_execdir. * src/comp.c (fixup_eln_load_path): Use Fsubstring_no_properties instead of Fsubstring. No need to cons a file name, as the caller already did that. Use explicit const string to avoid "magic" values. * lisp/startup.el (normal-top-level): Use expand-file-name instead of concat. Decode comp-eln-load-path and expand-file-name its members.
| * | * lisp/emacs-lisp/comp.el (comp-effective-async-max-jobs): Handle BSD.Ashish SHUKLA2021-04-161-0/+3
| | |
| * | * configure.ac: Revert prev commit and fix native-comp NetBSD build.Andrea Corallo2021-04-141-1/+1
| | |
| * | * configure.ac: Fix native-comp FreeBSD build.Andrea Corallo2021-04-141-1/+1
| | |
| * | Fix MS-Windows build following last changeEli Zaretskii2021-04-141-4/+2
| | | | | | | | | | | | | | | * src/emacs.c (real_filename) [WINDOWSNT]: Fix off-by-one error when allocating storage for a file name.
| * | * Fix native-comp startup for symliked binary (bug#44128)Andrea Corallo2021-04-141-9/+27
| | | | | | | | | | | | | | | * src/emacs.c (real_filename): New function. (set_invocation_vars, load_pdump): Make use of.