1. 01 Jan, 2019 1 commit
  2. 01 Jan, 2018 1 commit
  3. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  4. 01 Jan, 2017 1 commit
  5. 28 May, 2016 1 commit
  6. 27 May, 2016 1 commit
  7. 10 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Rework C source files to avoid ^( · 7352c6c6
      Paul Eggert authored
      Work around Bug#22884 by rewording comments and strings to avoid ‘(’
      at the start of a line unless it starts a function.  This change
      is a short-term hack; in the longer run we plan to fix cc-mode’s
      performance for C files that have ‘(’ at the start of a line in a
      comment or string.
      7352c6c6
  8. 01 Jan, 2016 1 commit
  9. 13 Dec, 2015 1 commit
    • Paul Eggert's avatar
      Fix performance regression with gcc -O0 · 09663d9b
      Paul Eggert authored
      This fixes the smaller performance hit that I noted in:
      https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
      * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
      * src/puresize.h (puresize_h_PURE_P)
      (puresize_h_CHECK_IMPURE):
      New macros, with the old contents of the functions.
      * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
      * src/puresize.h (PURE_P, CHECK_IMPURE):
      Use the new macros.  Also macros, if DEFINE_KEY_OPS_AS_MACROS.
      * src/conf_post.h (ATTRIBUTE_UNUSED):
      * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
      09663d9b
  10. 16 Oct, 2015 1 commit
    • Paul Eggert's avatar
      Make src headers idempotent and standalone · 55ba8c02
      Paul Eggert authored
      Redo src/*.h so that each include file is idempotent (that is, can
      be included multiple times with the latter inclusions having no
      effect) and standalone (that is, can be included by itself,
      with no include file other than config.h needed as a prerequisite).
      This is standard practice in GNU programs nowadays.
      * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
      * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
      * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
      * src/regex.h [emacs]:
      * src/syntax.h, src/systty.h, src/termhooks.h:
      Include lisp.h, for Lisp_Object.
      * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
      * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
      * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
      * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
      * src/termopts.h, src/tparam.h, src/unexec.h:
      Protect against multiple inclusion.
      * src/buffer.h: Include character.h, for STRING_CHAR.
      * src/emacsgtkfixed.h (struct frame):
      * src/fontset.h (struct face):
      * src/region-cache.h (struct buffer):
      * src/termhooks.h (struct glyph):
      * src/xsettings.h (struct x_display_info):
      Add possibly-forward decl.
      * src/syntax.h: Include buffer.h, for BVAR.
      * src/sysselect.h: Include lisp.h, for eassume.
      * src/termchar.h: Include <stdio.h>, for FILE.
      * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
      * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
      55ba8c02
  11. 10 Oct, 2015 2 commits
    • Paul Eggert's avatar
      Fix --enable-gcc-warnings problem with older GCC · c0ae1258
      Paul Eggert authored
      * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
      This is for building with --enable-gcc-warnings with
      GCC 4.6 through 5.0.
      c0ae1258
    • Paul Eggert's avatar
      CHECK_IMPURE and PURE_P speedup · bb7c182f
      Paul Eggert authored
      * src/intervals.c (create_root_interval):
      Do CHECK_IMPURE only for strings; not needed for buffers.
      Prefer ! STRINGP to BUFFERP, for a tad more speed.
      * src/puresize.h (CHECK_IMPURE, PURE_P):
      Now inline functions instead of macros.
      (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
      All callers changed.
      (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
      All callers changed.
      bb7c182f
  12. 01 Jan, 2015 2 commits
  13. 25 Jun, 2014 2 commits
  14. 13 Apr, 2014 1 commit
  15. 10 Apr, 2014 1 commit
  16. 01 Jan, 2014 1 commit
  17. 03 Jun, 2013 1 commit
  18. 01 Jan, 2013 1 commit
  19. 19 Oct, 2012 1 commit
  20. 27 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Get rid of all the manual purecopy calls in menu-bar definitions. · 1ec4b7b2
      Stefan Monnier authored
      * lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the
      memory use.
      * lisp/bindings.el (bindings--define-key): New function.
      * lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el:
      * lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el:
      * lisp/buff-menu.el, lisp/bookmark.el:
      * bindings.el: Use it to purecopy define-key bindings.
      * src/fns.c (maybe_resize_hash_table): Output message when growing the
      purify-hashtable.
      1ec4b7b2
  21. 24 Jun, 2012 1 commit
  22. 22 May, 2012 1 commit
    • Paul Eggert's avatar
      Remove src/m/*. · 34374650
      Paul Eggert authored
      * configure.in: Remove all mention of src/m/*.
      (machine, machfile, M_FILE, config_machfile, and_machfile): Remove.
      All uses removed.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
      (BITS_PER_LONG_LONG): Move to src/lisp.h.
      * lib/makefile.w32-in: Remove dependencies on
      $(EMACS_ROOT)/src/m/intel386.h.
      * make-dist: Don't make links to src/m.
      * admin/CPP-DEFINES: Do not mention src/m/*.h.
      (BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR)
      (BITS_PER_SHORT, BITS_PER_INT): Remove.
      * admin/MAINTAINERS: Remove src/m/.
      * lib-src/makefile.w32-in: Remove dependencies on
      $(EMACS_ROOT)/src/m/intel386.h.
      * msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h.
      * nt/config.nt: Do not include "m/intel386.h"; file was removed.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
      Move to src/lisp.h.
      (EMACS_INT_MAX): New macro.
      This directory predates autoconf and is no longer needed nowadays.
      Move its few remaining bits of functionality to where they're needed.
      * src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h:
      * src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h:
      * src/m/sparc.h, src/m/template.h: Remove.
      * src/Makefile.in (M_FILE): Remove.  All uses removed.
      * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS):
      * src/lisp.h (USE_LSB_TAG):
      * src/mem-limits.h (EXCEEDS_LISP_PTR):
      Use VAL_MAX, not VALBITS, in #if.
      * src/lisp.h (EMACS_INT_MAX): New macro, useful in #if.
      (EMACS_UINT): Define unconditionally now.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
      (BITS_PER_EMACS_INT): New constants, replacing
      what used to be in config.h, but not useful in #if.
      (GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't
      define them any more.
      (VAL_MAX): New macro.
      (VALMASK): Use it.
      * src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not
      BITS_PER_EMACS_INT, in #if.
      * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY)
      (BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed.
      * src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]:
      * src/s/ms-w32.h (DATA_START):
      Move here from removed file m/intel386.h.
      * src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this.
      * src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.
      34374650
  23. 11 Jan, 2012 1 commit
  24. 05 Jan, 2012 1 commit
  25. 10 Nov, 2011 1 commit
    • Paul Eggert's avatar
      Standardize on VIRT_ADDR_VARIES behavior; otherwise, valgrind · 6a0bf43d
      Paul Eggert authored
      does not work on some platforms.  Problem reported by Andreas Schwab in
      <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>.
      * puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES
      is set, removing the need for VIRT_ADDRESS_VARIES.
      (PURE_P): Use a more-efficient implementation that needs just one
      comparison, not two: on x86-64 with GCC 4.6.2, this cut down the
      number of instructions from 6 (xorl, cmpq, jge, xorl, cmpq, setge)
      to 4 (xorl, subq, cmpq, setbe).
      * alloc.c (pure): Always extern now, since that's the
      VIRT_ADDR_VARIES behavior.
      (PURE_POINTER_P): Use a single comparison, not two, for
      consistency with the new puresize.h.
      * lisp.h (PNTR_COMPARISON_TYPE): Remove; no longer needed.
      * m/ibms390.h, m/intel386.h, m/template.h, s/cygwin.h, s/hpux10-20.h:
      Remove VIRT_ADDR_VARIES no longer needed.
      6a0bf43d
  26. 25 Sep, 2011 1 commit
  27. 09 Jun, 2011 1 commit
  28. 25 Jan, 2011 1 commit
  29. 15 Jan, 2011 1 commit
  30. 02 Jan, 2011 1 commit
  31. 20 Aug, 2010 1 commit
  32. 02 Jul, 2010 1 commit
    • Jan D's avatar
      Remove P_ and __P macros. · 383e0970
      Jan D authored
      * lwlib/lwlib-Xaw.h: Remove P_ and __P macros.
      * lwlib/lwlib-Xlw.h:
      * lwlib/lwlib-Xm.h:
      * lwlib/lwlib-int.h:
      * lwlib/lwlib-utils.h:
      * lwlib/lwlib.h: Likewise.
      
      * src/buffer.h: Remove P_ and __P macros.
      * src/category.h:
      * src/ccl.h:
      * src/character.h:
      * src/charset.h:
      * src/cm.h:
      * src/coding.h:
      * src/composite.h:
      * src/dispextern.h:
      * src/disptab.h:
      * src/font.h:
      * src/fontset.h:
      * src/frame.h:
      * src/gtkutil.h:
      * src/indent.h:
      * src/intervals.h:
      * src/keyboard.h:
      * src/keymap.h:
      * src/lisp.h:
      * src/macros.h:
      * src/md5.h:
      * src/menu.h:
      * src/msdos.h:
      * src/nsterm.h:
      * src/puresize.h:
      * src/region-cache.h:
      * src/syntax.h:
      * src/syssignal.h:
      * src/systime.h:
      * src/termhooks.h:
      * src/w32term.h:
      * src/widget.h:
      * src/window.h:
      * src/xgselect.h:
      * src/xsettings.h:
      * src/xterm.h: Likewise.
      383e0970
  33. 13 Jan, 2010 1 commit
  34. 04 Nov, 2009 1 commit
  35. 30 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * puresize.h (BASE_PURESIZE): Increase to 1470000. · ca0a881a
      Dan Nicolaescu authored
      * lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.
      
      * textmodes/ispell.el (ispell-skip-region-alist):
      * international/mule-conf.el (eight-bit):
      * international/fontset.el (font-encoding-alist):
      * startup.el (pure-space-overflow-message):
      * simple.el (overwrite-mode-textual, overwrite-mode-binary):
      * paths.el (gnus-nntp-service, rmail-spool-directory)
      (term-file-prefix):
      * files.el (save-some-buffers-action-alist):
      * cmuscheme.el (same-window-buffer-names):
      * ielm.el (same-window-buffer-names):
      * shell.el (same-window-buffer-names):
      * mail/sendmail.el (same-window-buffer-names):
      * progmodes/inf-lisp.el (same-window-buffer-names):
      * bindings.el (mode-line-client)
      (mode-line-column-line-number-mode-map):
      * language/tibetan.el (tibetan-precomposition-rule-regexp)
      (tibetan-precomposed-regexp): Purecopy string arguments.
      ca0a881a
  36. 26 Oct, 2009 1 commit
  37. 23 Oct, 2009 1 commit