- 08 Jun, 2017 1 commit
-
-
Noam Postavsky authored
* lisp/emacs-lisp/cl-macs.el (cl--sm-macroexpand): Remove. (cl-symbol-macrolet): Instead of adding each binding directly into the main environment with a special key format, put all symbol macro bindings into a single entry in the main environment under `:cl-symbol-macros'. (cl--sm-macroexpand): Look up symbol bindings in the `:cl-symbol-macros' entry of the environment.
-
- 07 Jun, 2017 7 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
* admin/authors.el (authors-ignored-files, authors-valid-file-names) (authors-renamed-files-alist): Additions. ; ChangeLog fixes
-
Glenn Morris authored
-
Glenn Morris authored
-
Michael Albinus authored
-
Lars Ingebrigtsen authored
* lisp/url/url-cookie.el (url-cookie-host-can-set-p): Protect against zero-length domains. Backtrace of a real-world site that triggers a bug: Debugger entered--Lisp error: (args-out-of-range "" 0) url-cookie-host-can-set-p("www.washingtonpost.com" "") url-cookie-handle-set-cookie("utm_term=0;Expires=Thursday, 01-January-1970 00:00:00 GMT; path=/; domain=") url-http-handle-cookies()
-
- 06 Jun, 2017 9 commits
-
-
Glenn Morris authored
* admin/authors.el (authors-obsolete-files-regexps) (authors-valid-file-names, authors-renamed-files-alist) (authors-renamed-files-regexps): Additions.
-
Glenn Morris authored
-
Glenn Morris authored
* admin/authors.el (authors-aliases): Fix recent addition. (authors-obsolete-files-regexps, authors-no-scan-regexps) (authors-ignored-files, authors-valid-file-names) (authors-renamed-files-alist): Additions. ; * lisp/vc/pcvs.el, test/lisp/emacs-lisp/checkdoc-tests.el: ; Fix Author headers. ; * ChangeLog.2: Fixes.
-
Glenn Morris authored
; This removes some people who are absent from commit logs or mailing ; lists for upwards of a decade.
-
Glenn Morris authored
-
Glenn Morris authored
* admin/authors.el (authors-ignored-names): New. (authors-canonical-author-name): Add file and position arguments. Record ignored authors. (authors-scan-change-log, authors-scan-el): Pass file and position to authors-canonical-author-name. (authors): Also print authors that were ignored.
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
- 05 Jun, 2017 19 commits
-
-
Tino Calancha authored
-
Noam Postavsky authored
-
Dmitry Gutov authored
* lisp/emacs-lisp/eldoc.el: Add "newline" to the eldoc-add-command-completions call (bug#27228).
-
Dmitry Gutov authored
* lisp/simple.el (read--expression): Call eldoc-mode (bug#27202).
-
Andy Moreton authored
* lisp/emacs-lisp/package.el (package--download-one-archive): Fix check for package-unsigned-archives.
-
Noah Friedman authored
-
Philipp Stephani authored
* src/eval.c (Fmapbacktrace): Don't assume that PDL is still valid.
-
Eli Zaretskii authored
* src/print.c (print_vectorlike): Make sure module function's address prints with a leading "0x". This fixes emacs-module-tests on MS-Windows. Fix whitespace. * src/dynlib.c (dynlib_addr): Remove unused variable. Update commentary.
-
Philipp Stephani authored
Reuse existing functionality and simplify the code a bit. * src/emacs-module.c (Fmodule_load): Use unwind protection to clean up runtime object. (funcall_module): Use unwind protection to clean up environment object. (finalize_environment): Simplify signature. (finalize_environment_unwind, finalize_runtime_unwind): New functions.
-
Michael Albinus authored
-
Michael Albinus authored
* test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name-relative): Let it pass for all gfvs based methods. (tramp-test24-file-name-completion): Run method and host completion for all syntaxes only when expensive tests are enabled. Do not check host completion for gvfs based methods. (tramp--test-gvfs-p): Add optional METHOD argument. (tramp--test-afp-or-smb-p): Remove.
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-methods) <rsync>: Add "-c" argument. Otherwise, `tramp-test10-write-region' could fail.
-
Philipp Stephani authored
This constant is only used once, and we fail compilation anyway if it's false. * src/emacs-module.c (MODULE_SETJMP_1): Inline __has_attribute.
-
Philipp Stephani authored
-
Paul Eggert authored
* src/print.c (print_vectorlike): Omit stray space.
-
Paul Eggert authored
Most of these seem to run afoul of the comment "Do NOT use 'eassert' for checking validity of user code in the module." * src/emacs-module.c (MODULE_FUNCTION_BEGIN_NO_CATCH) (module_non_local_exit_check, module_non_local_exit_clear) (module_non_local_exit_get, module_non_local_exit_signal) (module_non_local_exit_throw, module_make_string): Remove unnecessary easserts that pointers are nonnull. Hardware checks this for us nowadays, and the checks just clutter up the code. (module_extract_integer): Remove unnecessary verify that a C signed integer is in the range INTMAX_MIN..INTMAX_MAX. The C standard guarantees this. (module_copy_string_contents): Remove unnecessary eassert that Lisp strings are null-terminated. (module_function_arity): Remove unnecessary easserts that function arities are in range.
-
Paul Eggert authored
* src/emacs-module.c (module_copy_string_contents): Remove checking, as string lengths are always nonnegative and less than STRING_BYTES_BOUND, and this is checked elsewhere. (module_make_string): Check length against STRING_BYTES_BOUND, a tighter bound than MOST_POSITIVE_FIXNUM. (funcall_module): Don't assume that an out-of-range integer is nonnegative.
-
Paul Eggert authored
Tell the compiler that SCHARS and STRING_BYTES are nonnegative, in the hopes that this will optimize a bit better. Also, check this at runtime if ENABLE_CHECKING. * src/lisp.h (SCHARS, STRING_BYTES): eassume that these functions return nonnegative values. (STRING_SET_CHARS) [ENABLE_CHECKING]: eassert that newsize is nonnegative.
-
Noam Postavsky authored
-
- 04 Jun, 2017 4 commits
-
-
Philipp Stephani authored
* src/emacs-module.c (syms_of_module): Remove unused error symbol 'invalid-module-call'.
-
Philipp Stephani authored
The idea is that modules should call env->should_quit from time to time and return as quickly as possible if it returns true. * src/emacs-module.c (module_should_quit): New module function. (initialize_environment): Use it. (funcall_module): Process potential pending quit. * src/eval.c (maybe_quit): Add reference to module_should_quit.
-
Philipp Stephani authored
* src/emacs-module.c (syms_of_module): Add more specific error symbols. (Fmodule_load): Use them.
-
Philipp Stephani authored
* src/emacs-module.c (module_copy_string_contents): Remove unneeded assertion. If this assertion triggers, we raise an error anyway.
-