1. 06 Apr, 2017 2 commits
  2. 07 Mar, 2017 3 commits
  3. 28 Feb, 2017 1 commit
    • Phillip Lord's avatar
      Remove conditional includes from bootstrap · 1b946305
      Phillip Lord authored
      Previously, bootstrap-emacs includes optional functionality, depending
      on the platform which is not needed for bootstrap function.  As a
      result, bootstrap-emacs contains different functions in different
      circumstances.  If ldefs-boot-auto.el is generated, then loaded
      functions will not be added to ldefs-boot-auto.el, although they may be
      required during some builds.  With this change, bootstrap-emacs should
      always behave the same way and, therefore, require the same autoloads.
      
       * lisp/loadup.el: No longer load optional includes during bootstrap
         dumping.
       * lisp/ldefs-boot-auto.el: Regenerate.
       * lisp/ldefs-boot-manual.el: Add two autoloads.
      1b946305
  4. 18 Feb, 2017 1 commit
    • Glenn Morris's avatar
      Remove the build number from emacs-version variable · 22b22074
      Glenn Morris authored
      It's a largely internal detail that can confuse users.  (Bug#25590)
      * lisp/version.el (emacs-build-number): New constant.
      (emacs-version): Use emacs-build-number.
      * lisp/loadup.el (top-level): When dumping, increment
      emacs-build-number rather than emacs-version.
      * src/emacs.c (emacs-version): Doc fix.
      * doc/lispref/intro.texi (Version Info): Update emacs-version details.
      Mention emacs-build-number.
      * lisp/gnus/gnus-util.el (gnus-emacs-version):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      * admin/admin.el (set-version): Update for emacs-version change.
      ; * etc/NEWS: Mention this.
      22b22074
  5. 01 Jan, 2017 1 commit
  6. 19 Dec, 2016 1 commit
  7. 13 Dec, 2016 1 commit
    • Phillip Lord's avatar
      Replace ldefs-boot with a much smaller file · c27b6459
      Phillip Lord authored
       * Makefile.in (bootstrap-build,generate-ldefs-boot): New targets.
         (bootstrap): Depend on bootstrap-build.
       * admin/ldefs-clean.el: New file.
       * lisp/Makefile.in (compile-first): Depend on loaddefs.el
       * lisp/ldefs-boot.el: Remove.
       * lisp/ldefs-boot-auto.el: New file.
       * lisp/ldefs-boot-manual.el: New file.
       * lisp/loadup.el: Load ldefs-boot-manual.el.
       * src/emacs.c (generating_ldefs_boot): New variable.
         (main): Check whether we are generating ldefs.
       * src/eval.c (autoload-do-load): Dump autoload forms to stderr when
         requested.
       * src/lisp.h (generating_ldefs_boot): New variable.
       * admin/gitmerge.el, admin/make-tarball.txt, admin/notes/copyright,
         lisp/Makefile.in, lisp/cus-dep.el, lisp/emacs-lisp/elint.el,
         lisp/finder.el, lisp/loadup.el, msdos/mainmake.v2: Update reference to
         ldefs-boot.
       * admin/update_autogen: Alter mechanism for ldefs-boot generation.
      c27b6459
  8. 01 Jun, 2016 1 commit
    • Paul Eggert's avatar
      Avoid delving into Git internals for version · 1e5539e0
      Paul Eggert authored
      * lisp/loadup.el (exec-path): Set it to nil later, so that
      emacs-repository-get-version can invoke git commands in the PATH.
      * lisp/version.el (emacs-repository--version-git-1): Remove.
      (emacs-repository-get-version): Let Git do it rather than
      delving into Git internals.
      1e5539e0
  9. 26 May, 2016 1 commit
    • Stefan Monnier's avatar
      Make autoloads populate a new definition-prefixes table · e971ce6d
      Stefan Monnier authored
      * lisp/subr.el (definition-prefixes): New hash table.
      (register-definition-prefixes): New function.
      
      * lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): New var.
      (autoload--split-prefixes-1, autoload--split-prefixes)
      (autoload--make-defs-autoload): New functions.
      (autoload-defs-autoload-max-size, autoload-popular-prefixes): New vars.
      (autoload-generate-file-autoloads): Obey autoload-compute-prefixes.
      (update-directory-autoloads): Don't touch loaddefs.el if the set of
      autoloads hasn't changed (i.e. if only the timestamp would change).
      
      * lisp/loadup.el: Purify definition-prefixes.
      
      * lisp/w32-fns.el: Keep name space clean.
      (w32-set-default-process-coding-system): Rename from
      set-default-process-coding-system.
      (w32-set-system-coding-system): Rename from set-w32-system-coding-system.
      e971ce6d
  10. 15 Mar, 2016 1 commit
  11. 12 Mar, 2016 1 commit
    • Eli Zaretskii's avatar
      Avoid crashes at startup on systems that CANNOT_DUMP · 48196164
      Eli Zaretskii authored
      * src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
      boolean variable.
      (init_iterator, reseat_to_string)
      (Fcurrent_bidi_paragraph_direction)
      (Fbidi_find_overridden_directionality): Use
      redisplay--inhibit-bidi instead of purify-flag, to determine when
      it's safe to reorder bidirectional text.
      
      * lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
      beginning of the file.  Reset to nil when charprop.el is
      successfully loaded, or when we are going to dump, whichever
      happens last.  (Bug#22975)
      48196164
  12. 01 Jan, 2016 1 commit
  13. 25 Dec, 2015 2 commits
  14. 24 Dec, 2015 1 commit
  15. 23 Dec, 2015 1 commit
    • Anders Lindgren's avatar
      File-name completion of non-ASCII characters on OS X (bug#22169) · 09053075
      Anders Lindgren authored
      The coding system `utf-8-nfd', locally defined in ns-win.el,
      didn't provide a :pre-write-conversion method, causing file name
      completion of non-ASCII characters to fail.  Solved by using the
      `utf-8-hfs' coding system provided by `ucs-normalize'.
      
      * lisp/loadup.el: Load international/ucs-normalize (when building
      for ns).
      
      * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
      `utf-8-hfs' and removed the old implementation.  Set `utf-8-hfs'
      as the file name coding system.
      
      * src/nsfns.c (ns-convert-utf8-nfd-to-nfc): Removed.
      09053075
  16. 19 Nov, 2015 1 commit
    • Przemysław Wojnowski's avatar
      Use obarray functions from obarray. · 5c81fd58
      Przemysław Wojnowski authored
      * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
        abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
        clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
        delegate to obarray.el functions.
      * lisp/loadup.el: load obarray before abbrev
      * test/automated/abbrev-tests.el: new tests
      5c81fd58
  17. 18 Nov, 2015 1 commit
  18. 13 Nov, 2015 2 commits
  19. 16 Jun, 2015 1 commit
  20. 17 May, 2015 1 commit
    • Glenn Morris's avatar
      * src/lisp.mk: Remove from repository and generate at build-time. · 46ea9379
      Glenn Morris authored
      * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
      (shortlisp_filter): New variable.
      (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
      (distclean): Remove lisp.mk.
      * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
      * lisp/loadup.el: Tweak layout to make it easier to parse.
      * make-dist: Do not distribute src/lisp.mk.
      46ea9379
  21. 16 May, 2015 1 commit
    • Glenn Morris's avatar
      Small src/Makefile simplification. · e3c90430
      Glenn Morris authored
      * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
      * src/Makefile.in (lisp): Derive from shortlisp.
      ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
      e3c90430
  22. 15 May, 2015 1 commit
    • Glenn Morris's avatar
      Tweak japanese.el's loading of dependencies. · c7e93c41
      Glenn Morris authored
      * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
      * lisp/language/japanese.el: Use require rather than load.
      * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
      Provide a feature.
      * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
      Provide a feature in the generated file.
      c7e93c41
  23. 13 May, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload · 37ab2245
      Stefan Monnier authored
      * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
      * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
      Avoid defalias for closures which are not immutable.
      (cl--generic-prefill-dispatchers): New macro.  Use it to prefill the
      dispatchers table with various entries.
      
      * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
      * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
      37ab2245
  24. 20 Apr, 2015 3 commits
  25. 15 Apr, 2015 1 commit
  26. 13 Apr, 2015 1 commit
  27. 28 Jan, 2015 1 commit
    • Stefan Monnier's avatar
      Tighten up the tagcode used for eieio and cl-struct objects · 2668ac1a
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
      slot of the tag symbol to :quick-object-witness-check.
      (eieio-object-p): Use :quick-object-witness-check.
      (eieio--generic-tagcode): Use cl--generic-struct-tag.
      * lisp/emacs-lisp/cl-preloaded.el: New file.
      * lisp/emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
      (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
      (cl--make-usage-args): Strip away &aux args.
      (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
      (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
      (cl-defstruct): Use `declare' and cl-struct-define.
      * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
      (cl--generic-struct-tagcode): Use it to tighten the tagcode.
      * lisp/loadup.el: Load cl-preloaded.
      * src/lisp.mk (lisp): Add cl-preloaded.
      2668ac1a
  28. 01 Jan, 2015 2 commits
  29. 15 Oct, 2014 1 commit
  30. 06 Oct, 2014 3 commits