1. 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.
      227ab51d
    • 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.
      08e239a2
    • 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.
      d20d02fe
    • 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.
      (emacs-version):
      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".
      65f69265
    • 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.
      d5a18a93
    • 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.
      a59a4bd4
  2. 01 Mar, 2016 11 commits
  3. 29 Feb, 2016 19 commits
  4. 28 Feb, 2016 3 commits