1. 04 Mar, 2016 31 commits
  2. 03 Mar, 2016 2 commits
    • Alain Schneble's avatar
      Fix issue of inserting images on some systems · 887f6126
      Alain Schneble authored
      * lisp/net/shr.el (shr-tag-img): Construct a non-empty range
      to pass to shr-image-fetched, to indicate where to insert the
      image.  Fixes the issue introduced with commit
    • Lars Ingebrigtsen's avatar
      Ensure TLS negotiation progress · 0c5c04d5
      Lars Ingebrigtsen authored
      * src/gnutls.h (GNUTLS_EMACS_HANDSHAKES_LIMIT): Increase the
      number of retries so that we try for about a minute.
      * src/process.c (wait_reading_process_output): Ensure progress
      for DNS resolution and TLS negotiation.
  3. 02 Mar, 2016 7 commits
    • Paul Eggert's avatar
      emacs-module.h slight simplification · 227ab51d
      Paul Eggert authored
      * src/emacs-module.c (emacs_init_function, emacs_subr): Move here ...
      * src/emacs-module.h: ... from here, as they don’t need to be public.
      (enum emacs_arity): Remove useless enum tag.  The enum value is
      used in ptrdiff_t contexts.
      * src/emacs-module.c (CHECK_USER_PTR): Fix typo in previous change.
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      emacs-module.c simplification and tuneup · 08e239a2
      Paul Eggert authored
      * src/emacs-module.c (CHECK_USER_PTR): New function.
      (module_get_user_ptr, module_set_user_ptr)
      (module_get_user_finalizer, module_set_user_finalizer): Use it.
      (module_make_global_ref, module_copy_string_contents)
      (module_make_string, module_vec_set, module_vec_get): Omit
      unnecessary runtime tests.  For example, vector sizes are always
      fixnums, so we don’t need to test that they are in fixnum range.
    • Philipp Stephani's avatar
      Use standard checks whenever possible. · d20d02fe
      Philipp Stephani authored
      This is possible in all functions where we catch signals anyway.
      * emacs-module.c (module_make_global_ref, module_funcall)
      (module_copy_string_contents, module_make_string): Use xsignal0
      and CHECK macros for argument checks.
    • Paul Eggert's avatar
      Deterministic build improvements · 65f69265
      Paul Eggert authored
      * configure.ac (BUILD_DETAILS): Rename from DETERMINISTIC_DUMP,
      and negate its sense.  Use it via AC_SUBST, not AC_DEFINE,
      and have its value be either empty or --no-build-details.
      All uses changed.  Change option to --disable-build-details.
      * doc/lispref/cmdargs.texi (Initial Options):
      Document --no-build-details.
      * doc/lispref/internals.texi (Building Emacs):
      * etc/NEWS:
      Document --disable-build-details.
      * doc/lispref/intro.texi (Version Info): Say that
      emacs-build-time can be nil.
      * lisp/erc/erc-compat.el (erc-emacs-build-time):
      Now nil if details are omitted.
      * lisp/erc/erc.el (erc-cmd-SV):
      * lisp/version.el (emacs-build-time):
      Now nil if no build details.
      Output build time only if build details.
      * src/Makefile.in (BUILD_DETAILS): New macro.
      (temacs, bootstrap-emacs): Use it.
      * src/emacs.c (build_details): New var.
      (standard_args, main): Support --no-build-details.
      (Vdeterministic_dump): Remove; all uses replaced
      by !build_details.
      (syms_of_emacs): Set Vbuild_details to a boolean, not
      to a Lisp_Object.
      * src/lisp.h (build_details): New decl.
      * src/sysdep.c (init_system_name): When !build_details,
      set system-name to nil, not to "elided".
    • Philipp Stephani's avatar
      Remove build system name from deterministic dumps · d5a18a93
      Philipp Stephani authored
      * configure.ac (DETERMINISTIC_DUMP): New configuration option.
      * lisp/version.el (emacs-build-time): Add a comment to make the
      build time deterministic if requested.
      (emacs-build-system): Make variable deterministic if requested.
      * src/emacs.c (main): Initialize `deterministic-dump' from the
      configuration option.
      (syms_of_emacs): New constant `deterministic-dump'.
      * src/sysdep.c (init_system_name): Use a constant
      if a deterministic dump is requested.
    • Lars Ingebrigtsen's avatar
      Remove buggy parse-time test · a59a4bd4
      Lars Ingebrigtsen authored
      * test/lisp/calendar/parse-time-tests.el (parse-time-tests):
      Remove the iso parse test, since it doesn't work.