diff options
| author | Joakim Verona | 2012-07-27 02:22:03 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-07-27 02:22:03 +0200 |
| commit | 5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f (patch) | |
| tree | 5c55f1096a656a9759f0b53a0b5d1a2289bd366f /admin | |
| parent | 0c5c85cf2b350c965bb1ffa5b2d77c2adebc406b (diff) | |
| parent | 562157c814037dcba58a20cd6908a95992c22283 (diff) | |
| download | emacs-5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f.tar.gz emacs-5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f.zip | |
upstream
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/CPP-DEFINES | 11 | ||||
| -rw-r--r-- | admin/ChangeLog | 108 | ||||
| -rw-r--r-- | admin/admin.el | 2 | ||||
| -rw-r--r-- | admin/bzrmerge.el | 17 | ||||
| -rw-r--r-- | admin/coccinelle/README | 3 | ||||
| -rw-r--r-- | admin/coccinelle/build_string.cocci | 6 | ||||
| -rw-r--r-- | admin/coccinelle/list_loop.cocci | 19 | ||||
| -rw-r--r-- | admin/coccinelle/unibyte_string.cocci | 6 | ||||
| -rw-r--r-- | admin/coccinelle/vector_contents.cocci | 16 | ||||
| -rw-r--r-- | admin/coccinelle/xzalloc.cocci | 10 | ||||
| -rwxr-xr-x | admin/merge-gnulib | 16 | ||||
| -rw-r--r-- | admin/notes/bugtracker | 2 | ||||
| -rw-r--r-- | admin/notes/multi-tty | 2 | ||||
| -rwxr-xr-x | admin/quick-install-emacs | 4 |
14 files changed, 177 insertions, 45 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index e032ef87a40..9fc7ce3e33d 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -95,7 +95,6 @@ EMACS_CONFIGURATION | |||
| 95 | EMACS_CONFIG_OPTIONS | 95 | EMACS_CONFIG_OPTIONS |
| 96 | EMACS_INT | 96 | EMACS_INT |
| 97 | EMACS_UINT | 97 | EMACS_UINT |
| 98 | FILE_SYSTEM_CASE | ||
| 99 | FLOAT_CHECK_DOMAIN | 98 | FLOAT_CHECK_DOMAIN |
| 100 | GC_LISP_OBJECT_ALIGNMENT | 99 | GC_LISP_OBJECT_ALIGNMENT |
| 101 | GC_MARK_SECONDARY_STACK | 100 | GC_MARK_SECONDARY_STACK |
| @@ -131,17 +130,13 @@ HAVE_LOGB | |||
| 131 | HAVE_LONG_FILE_NAMES | 130 | HAVE_LONG_FILE_NAMES |
| 132 | HAVE_LRAND48 | 131 | HAVE_LRAND48 |
| 133 | HAVE_MENUS | 132 | HAVE_MENUS |
| 134 | HAVE_MKDIR | ||
| 135 | HAVE_MKTIME | 133 | HAVE_MKTIME |
| 136 | HAVE_MOUSE | 134 | HAVE_MOUSE |
| 137 | HAVE_PERROR | ||
| 138 | HAVE_PSTAT_GETDYNAMIC | 135 | HAVE_PSTAT_GETDYNAMIC |
| 139 | HAVE_PWD_H | 136 | HAVE_PWD_H |
| 140 | HAVE_RANDOM | 137 | HAVE_RANDOM |
| 141 | HAVE_RENAME | ||
| 142 | HAVE_RES_INIT | 138 | HAVE_RES_INIT |
| 143 | HAVE_RINT | 139 | HAVE_RINT |
| 144 | HAVE_RMDIR | ||
| 145 | HAVE_SELECT | 140 | HAVE_SELECT |
| 146 | HAVE_SETLOCALE | 141 | HAVE_SETLOCALE |
| 147 | HAVE_SETPGID | 142 | HAVE_SETPGID |
| @@ -151,7 +146,6 @@ HAVE_SHUTDOWN | |||
| 151 | HAVE_SOCKETS | 146 | HAVE_SOCKETS |
| 152 | HAVE_SOUND | 147 | HAVE_SOUND |
| 153 | HAVE_STDLIB_H | 148 | HAVE_STDLIB_H |
| 154 | HAVE_STRERROR | ||
| 155 | HAVE_STRFTIME | 149 | HAVE_STRFTIME |
| 156 | HAVE_STRING_H | 150 | HAVE_STRING_H |
| 157 | HAVE_STRUCT_UTIMBUF | 151 | HAVE_STRUCT_UTIMBUF |
| @@ -160,11 +154,9 @@ HAVE_SYS_SYSTEMINFO_H | |||
| 160 | HAVE_SYS_TIMEB_H | 154 | HAVE_SYS_TIMEB_H |
| 161 | HAVE_SYS_TIME_H | 155 | HAVE_SYS_TIME_H |
| 162 | HAVE_TCATTR | 156 | HAVE_TCATTR |
| 163 | HAVE_TIMEVAL | ||
| 164 | HAVE_TM_ZONE | 157 | HAVE_TM_ZONE |
| 165 | HAVE_TZSET | 158 | HAVE_TZSET |
| 166 | HAVE_UNISTD_H | 159 | HAVE_UNISTD_H |
| 167 | HAVE_UTIMES | ||
| 168 | HAVE_UTIME_H | 160 | HAVE_UTIME_H |
| 169 | HAVE_WINDOW_SYSTEM | 161 | HAVE_WINDOW_SYSTEM |
| 170 | HAVE_WORKING_VFORK | 162 | HAVE_WORKING_VFORK |
| @@ -175,7 +167,6 @@ IS_ANY_SEP | |||
| 175 | IS_DIRECTORY_SEP | 167 | IS_DIRECTORY_SEP |
| 176 | LINKER | 168 | LINKER |
| 177 | LINUX_VERSION_CODE | 169 | LINUX_VERSION_CODE |
| 178 | LISP_FLOAT_TYPE | ||
| 179 | LNOFLSH | 170 | LNOFLSH |
| 180 | LOCALTIME_CACHE | 171 | LOCALTIME_CACHE |
| 181 | MAIL_USE_FLOCK | 172 | MAIL_USE_FLOCK |
| @@ -200,7 +191,6 @@ O_RDONLY | |||
| 200 | O_RDWR | 191 | O_RDWR |
| 201 | PAGESIZE | 192 | PAGESIZE |
| 202 | PENDING_OUTPUT_COUNT | 193 | PENDING_OUTPUT_COUNT |
| 203 | POSIX | ||
| 204 | PREFER_VSUSP | 194 | PREFER_VSUSP |
| 205 | PTY_ITERATION | 195 | PTY_ITERATION |
| 206 | PTY_NAME_SPRINTF | 196 | PTY_NAME_SPRINTF |
| @@ -314,7 +304,6 @@ sleep | |||
| 314 | spawnve | 304 | spawnve |
| 315 | srandom | 305 | srandom |
| 316 | strdup | 306 | strdup |
| 317 | strerror | ||
| 318 | stricmp | 307 | stricmp |
| 319 | strnicmp | 308 | strnicmp |
| 320 | strupr | 309 | strupr |
diff --git a/admin/ChangeLog b/admin/ChangeLog index e3b35906ace..b4c88c20ed1 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,8 +1,88 @@ | |||
| 1 | 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * coccinelle/unibyte_string.cocci: Semantic patch to convert from | ||
| 4 | make_unibyte_string to build_unibyte_string where appropriate. | ||
| 5 | |||
| 6 | 2012-07-17 Eli Zaretskii <eliz@gnu.org> | ||
| 7 | |||
| 8 | * CPP-DEFINES: Remove FILE_SYSTEM_CASE. | ||
| 9 | |||
| 10 | 2012-07-17 Chong Yidong <cyd@gnu.org> | ||
| 11 | |||
| 12 | * Version 24.1 released. | ||
| 13 | |||
| 14 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 15 | |||
| 16 | Assume mkdir, perror, rename, rmdir, strerror. | ||
| 17 | * CPP-DEFINES (HAVE_MKDIR, HAVE_PERROR, HAVE_RENAME, HAVE_RMDIR) | ||
| 18 | (HAVE_STRERROR, strerror): | ||
| 19 | Remove. | ||
| 20 | |||
| 21 | 2012-07-10 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 22 | |||
| 23 | * coccinelle/list_loop.cocci: Semantic patch to convert from Fcdr | ||
| 24 | to XCDR and consistently use CONSP in the list iteration loops. | ||
| 25 | * coccinelle/vector_contents.cocci: Fix indentation. | ||
| 26 | |||
| 27 | 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 28 | |||
| 29 | * bzrmerge.el: Use cl-lib. | ||
| 30 | |||
| 31 | 2012-07-09 Paul Eggert <eggert@cs.ucla.edu> | ||
| 32 | |||
| 33 | Rename configure.in to configure.ac (Bug#11603). | ||
| 34 | * admin.el (set-version): | ||
| 35 | * quick-install-emacs (VERSION): | ||
| 36 | Get version number from configure.ac, not configure.in. | ||
| 37 | |||
| 38 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 39 | |||
| 40 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). | ||
| 41 | * merge-gnulib (GNULIB_MODULES): Add c-strcase. | ||
| 42 | |||
| 43 | 2012-07-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 44 | |||
| 45 | * coccinelle/xzalloc.cocci: Semantic patch to convert | ||
| 46 | calls to xmalloc with following memset to xzalloc. | ||
| 47 | |||
| 48 | 2012-07-04 Juanma Barranquero <lekktu@gmail.com> | ||
| 49 | |||
| 50 | * CPP-DEFINES (LISP_FLOAT_TYPE): Remove, obsolete. | ||
| 51 | |||
| 52 | 2012-06-26 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 53 | |||
| 54 | * coccinelle/build_string.cocci: Semantic patch | ||
| 55 | to convert from make_string to build_string. | ||
| 56 | |||
| 57 | 2012-06-24 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 58 | |||
| 59 | First Coccinelle semantic patch. | ||
| 60 | * coccinelle: New subdirectory | ||
| 61 | * coccinelle/README: Documentation stub. | ||
| 62 | * coccinelle/vector_contents.cocci: Semantic patch to replace direct | ||
| 63 | access to `contents' member of Lisp_Vector objects with AREF and ASET | ||
| 64 | where appropriate. | ||
| 65 | |||
| 66 | 2012-06-22 Paul Eggert <eggert@cs.ucla.edu> | ||
| 67 | |||
| 68 | Support higher-resolution time stamps (Bug#9000). | ||
| 69 | * merge-gnulib (GNULIB_MODULES): Add dtotimespec, gettime, | ||
| 70 | gettimeofday, pselect, stat-time, sys_time, time, timespec-add, | ||
| 71 | timespec-sub, utimens. | ||
| 72 | (GNULIB_TOOL_FLAGS): Add --avoid=select --avoid=sigprocmask. | ||
| 73 | This trims down the gnulib import, from the very latest gnulib. | ||
| 74 | Emacs does its own implementation of 'select' and 'sigprocmask' | ||
| 75 | on Windows, and it assumes 'select' and 'sigprocmask' on non-Windows | ||
| 76 | hosts, so it doesn't need these modules. | ||
| 77 | Similarly, avoid errno, fcntl, fcntl-h, fstat, and sys_types, as | ||
| 78 | these gnulib modules are only for Windows porting and Emacs ports | ||
| 79 | to Windows in a different way. | ||
| 80 | |||
| 1 | 2012-06-13 Andreas Schwab <schwab@linux-m68k.org> | 81 | 2012-06-13 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 82 | ||
| 3 | * make-emacs: Rename --union-type to --check-lisp-type. Define | 83 | * make-emacs: Rename --union-type to --check-lisp-type. |
| 4 | CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE. | 84 | Define CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE. |
| 5 | * CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from | 85 | * CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Rename from |
| 6 | USE_LISP_UNION_TYPE. | 86 | USE_LISP_UNION_TYPE. |
| 7 | 87 | ||
| 8 | 2012-06-03 Glenn Morris <rgm@gnu.org> | 88 | 2012-06-03 Glenn Morris <rgm@gnu.org> |
| @@ -173,11 +253,11 @@ | |||
| 173 | 253 | ||
| 174 | * unidata/makefile.w32-in (all): Remove src/biditype.h and | 254 | * unidata/makefile.w32-in (all): Remove src/biditype.h and |
| 175 | src/bidimirror.h. | 255 | src/bidimirror.h. |
| 176 | (../../src/biditype.h, ../../src/bidimirror.h): Deleted. | 256 | (../../src/biditype.h, ../../src/bidimirror.h): Delete. |
| 177 | 257 | ||
| 178 | * unidata/Makefile.in (all): Remove src/biditype.h and | 258 | * unidata/Makefile.in (all): Remove src/biditype.h and |
| 179 | src/bidimirror.h. | 259 | src/bidimirror.h. |
| 180 | (../../src/biditype.h, ../../src/bidimirror.h): Deleted. | 260 | (../../src/biditype.h, ../../src/bidimirror.h): Delete. |
| 181 | 261 | ||
| 182 | 2011-07-07 Juanma Barranquero <lekktu@gmail.com> | 262 | 2011-07-07 Juanma Barranquero <lekktu@gmail.com> |
| 183 | 263 | ||
| @@ -188,8 +268,8 @@ | |||
| 188 | 268 | ||
| 189 | * unidata/unidata-gen.el (unidata-dir): New variable. | 269 | * unidata/unidata-gen.el (unidata-dir): New variable. |
| 190 | (unidata-setup-list): Expand unidata-text-file in unidata-dir. | 270 | (unidata-setup-list): Expand unidata-text-file in unidata-dir. |
| 191 | (unidata-prop-alist): INDEX element may be a function. New | 271 | (unidata-prop-alist): INDEX element may be a function. |
| 192 | optional element VAL-LIST (for general-category and bidi-class). | 272 | New optional element VAL-LIST (for general-category and bidi-class). |
| 193 | New entry `mirroring'. | 273 | New entry `mirroring'. |
| 194 | (unidata-prop-default, unidata-prop-val-list): New subst. | 274 | (unidata-prop-default, unidata-prop-val-list): New subst. |
| 195 | (unidata-get-character, unidata-put-character): Delete them. | 275 | (unidata-get-character, unidata-put-character): Delete them. |
| @@ -545,13 +625,13 @@ | |||
| 545 | 625 | ||
| 546 | 2009-04-17 Kenichi Handa <handa@m17n.org> | 626 | 2009-04-17 Kenichi Handa <handa@m17n.org> |
| 547 | 627 | ||
| 548 | * unidata/unidata-gen.el (unidata-get-decomposition): Adjust | 628 | * unidata/unidata-gen.el (unidata-get-decomposition): |
| 549 | Hangle decomposition rule to Unicode. | 629 | Adjust Hangle decomposition rule to Unicode. |
| 550 | 630 | ||
| 551 | 2009-04-09 Kenichi Handa <handa@m17n.org> | 631 | 2009-04-09 Kenichi Handa <handa@m17n.org> |
| 552 | 632 | ||
| 553 | * unidata/unidata-gen.el (unidata-describe-decomposition): Return | 633 | * unidata/unidata-gen.el (unidata-describe-decomposition): |
| 554 | a string with a composition property to disable combining | 634 | Return a string with a composition property to disable combining |
| 555 | characters being composed. | 635 | characters being composed. |
| 556 | 636 | ||
| 557 | 2009-03-11 Miles Bader <miles@gnu.org> | 637 | 2009-03-11 Miles Bader <miles@gnu.org> |
| @@ -564,7 +644,7 @@ | |||
| 564 | 644 | ||
| 565 | 2009-02-23 Jason Rumney <jasonr@gnu.org> | 645 | 2009-02-23 Jason Rumney <jasonr@gnu.org> |
| 566 | 646 | ||
| 567 | * nt/README-ftp-server: Update for 23.0.91 | 647 | * nt/README-ftp-server: Update for 23.0.91. |
| 568 | 648 | ||
| 569 | * nt/README.W32: Remove ever expanding versions of Windows. | 649 | * nt/README.W32: Remove ever expanding versions of Windows. |
| 570 | Shorten FAQ URL. Remove mention of obsolete lock directory. | 650 | Shorten FAQ URL. Remove mention of obsolete lock directory. |
| @@ -1046,7 +1126,7 @@ | |||
| 1046 | 1126 | ||
| 1047 | 2005-10-17 Bill Wohler <wohler@newt.com> | 1127 | 2005-10-17 Bill Wohler <wohler@newt.com> |
| 1048 | 1128 | ||
| 1049 | * FOR-RELEASE (DOCUMENTATION): Removed lisp/toolbar from list | 1129 | * FOR-RELEASE (DOCUMENTATION): Remove lisp/toolbar from list |
| 1050 | since it's gone. Also marked mh-e as done. | 1130 | since it's gone. Also marked mh-e as done. |
| 1051 | 1131 | ||
| 1052 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> | 1132 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> |
| @@ -1093,7 +1173,7 @@ | |||
| 1093 | 1173 | ||
| 1094 | 2005-03-30 Marcelo Toledo <marcelo@marcelotoledo.org> | 1174 | 2005-03-30 Marcelo Toledo <marcelo@marcelotoledo.org> |
| 1095 | 1175 | ||
| 1096 | * FOR-RELEASE (Documentation): Added check the Emacs Tutorial. | 1176 | * FOR-RELEASE (Documentation): Add check the Emacs Tutorial. |
| 1097 | The first line of every tutorial must begin with a sentence saying | 1177 | The first line of every tutorial must begin with a sentence saying |
| 1098 | "Emacs Tutorial" in the respective language. This should be | 1178 | "Emacs Tutorial" in the respective language. This should be |
| 1099 | followed by "See end for copying conditions", likewise in the | 1179 | followed by "See end for copying conditions", likewise in the |
diff --git a/admin/admin.el b/admin/admin.el index 9fcc5795d21..6d729214bd0 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -62,7 +62,7 @@ Root must be the root of an Emacs source tree." | |||
| 62 | (set-version-in-file root "README" version | 62 | (set-version-in-file root "README" version |
| 63 | (rx (and "version" (1+ space) | 63 | (rx (and "version" (1+ space) |
| 64 | (submatch (1+ (in "0-9.")))))) | 64 | (submatch (1+ (in "0-9.")))))) |
| 65 | (set-version-in-file root "configure.in" version | 65 | (set-version-in-file root "configure.ac" version |
| 66 | (rx (and "AC_INIT" (1+ (not (in ?,))) | 66 | (rx (and "AC_INIT" (1+ (not (in ?,))) |
| 67 | ?, (0+ space) | 67 | ?, (0+ space) |
| 68 | (submatch (1+ (in "0-9.")))))) | 68 | (submatch (1+ (in "0-9.")))))) |
diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el index 15238f44d9d..977e95860e2 100644 --- a/admin/bzrmerge.el +++ b/admin/bzrmerge.el | |||
| @@ -24,8 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | ;;; Code: | 25 | ;;; Code: |
| 26 | 26 | ||
| 27 | (eval-when-compile | 27 | (eval-when-compile (require 'cl-lib)) |
| 28 | (require 'cl)) ; assert | ||
| 29 | 28 | ||
| 30 | (defvar bzrmerge-skip-regexp | 29 | (defvar bzrmerge-skip-regexp |
| 31 | "back[- ]?port\\|merge\\|sync\\|re-?generate\\|bump version\\|from trunk\\|\ | 30 | "back[- ]?port\\|merge\\|sync\\|re-?generate\\|bump version\\|from trunk\\|\ |
| @@ -139,17 +138,17 @@ Type `y' to skip this revision, | |||
| 139 | `N' to include it and go on to the next revision, | 138 | `N' to include it and go on to the next revision, |
| 140 | `n' to not skip, but continue to search this log entry for skip regexps, | 139 | `n' to not skip, but continue to search this log entry for skip regexps, |
| 141 | `q' to quit merging.")) | 140 | `q' to quit merging.")) |
| 142 | (case (save-excursion | 141 | (pcase (save-excursion |
| 143 | (read-char-choice | 142 | (read-char-choice |
| 144 | (format "%s: Skip (y/n/N/q/%s)? " str | 143 | (format "%s: Skip (y/n/N/q/%s)? " str |
| 145 | (key-description (vector help-char))) | 144 | (key-description (vector help-char))) |
| 146 | '(?y ?n ?N ?q))) | 145 | '(?y ?n ?N ?q))) |
| 147 | (?y (setq skip t)) | 146 | (`?y (setq skip t)) |
| 148 | (?q (keyboard-quit)) | 147 | (`?q (keyboard-quit)) |
| 149 | ;; A single log entry can match skip-regexp multiple | 148 | ;; A single log entry can match skip-regexp multiple |
| 150 | ;; times. If you are sure you don't want to skip it, | 149 | ;; times. If you are sure you don't want to skip it, |
| 151 | ;; you don't want to be asked multiple times. | 150 | ;; you don't want to be asked multiple times. |
| 152 | (?N (setq skip 'no)))))) | 151 | (`?N (setq skip 'no)))))) |
| 153 | (if (eq skip t) | 152 | (if (eq skip t) |
| 154 | (push revno skipped) | 153 | (push revno skipped) |
| 155 | (push revno revnos))))) | 154 | (push revno revnos))))) |
| @@ -256,17 +255,17 @@ Does not make other difference." | |||
| 256 | ;; Do a "skip" (i.e. merge the meta-data only). | 255 | ;; Do a "skip" (i.e. merge the meta-data only). |
| 257 | (setq beg (1- (car skip))) | 256 | (setq beg (1- (car skip))) |
| 258 | (while (and skip (or (null merge) (< (car skip) (car merge)))) | 257 | (while (and skip (or (null merge) (< (car skip) (car merge)))) |
| 259 | (assert (> (car skip) (or end beg))) | 258 | (cl-assert (> (car skip) (or end beg))) |
| 260 | (setq end (pop skip))) | 259 | (setq end (pop skip))) |
| 261 | (message "Skipping %s..%s" beg end) | 260 | (message "Skipping %s..%s" beg end) |
| 262 | (bzrmerge-add-metadata from end)) | 261 | (bzrmerge-add-metadata from end)) |
| 263 | 262 | ||
| 264 | (t | 263 | (t |
| 265 | ;; Do a "normal" merge. | 264 | ;; Do a "normal" merge. |
| 266 | (assert (or (null skip) (< (car merge) (car skip)))) | 265 | (cl-assert (or (null skip) (< (car merge) (car skip)))) |
| 267 | (setq beg (1- (car merge))) | 266 | (setq beg (1- (car merge))) |
| 268 | (while (and merge (or (null skip) (< (car merge) (car skip)))) | 267 | (while (and merge (or (null skip) (< (car merge) (car skip)))) |
| 269 | (assert (> (car merge) (or end beg))) | 268 | (cl-assert (> (car merge) (or end beg))) |
| 270 | (setq end (pop merge))) | 269 | (setq end (pop merge))) |
| 271 | (message "Merging %s..%s" beg end) | 270 | (message "Merging %s..%s" beg end) |
| 272 | (if (with-temp-buffer | 271 | (if (with-temp-buffer |
diff --git a/admin/coccinelle/README b/admin/coccinelle/README new file mode 100644 index 00000000000..48a88dbc8d8 --- /dev/null +++ b/admin/coccinelle/README | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | This directory contains semantic patches for Coccinelle, a program matching | ||
| 2 | and transformation tool for programs written in C. For more details, see | ||
| 3 | http://coccinelle.lip6.fr. | ||
diff --git a/admin/coccinelle/build_string.cocci b/admin/coccinelle/build_string.cocci new file mode 100644 index 00000000000..d47727018dd --- /dev/null +++ b/admin/coccinelle/build_string.cocci | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | // Convert simple cases to build_string. | ||
| 2 | @@ | ||
| 3 | identifier I; | ||
| 4 | @@ | ||
| 5 | - make_string (I, strlen (I)) | ||
| 6 | + build_string (I) | ||
diff --git a/admin/coccinelle/list_loop.cocci b/admin/coccinelle/list_loop.cocci new file mode 100644 index 00000000000..89f0bfff7b3 --- /dev/null +++ b/admin/coccinelle/list_loop.cocci | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | // Omit redundant type check, consistently use CONSP. | ||
| 2 | @@ | ||
| 3 | identifier A; | ||
| 4 | expression X; | ||
| 5 | statement S; | ||
| 6 | @@ | ||
| 7 | ( | ||
| 8 | for (A = X; | ||
| 9 | - !NILP (A); | ||
| 10 | + CONSP (A); | ||
| 11 | - A = Fcdr (A)) | ||
| 12 | + A = XCDR (A)) | ||
| 13 | S | ||
| 14 | | | ||
| 15 | for (A = X; CONSP (A); | ||
| 16 | - A = Fcdr (A)) | ||
| 17 | + A = XCDR (A)) | ||
| 18 | S | ||
| 19 | ) | ||
diff --git a/admin/coccinelle/unibyte_string.cocci b/admin/coccinelle/unibyte_string.cocci new file mode 100644 index 00000000000..0ff8cafa15d --- /dev/null +++ b/admin/coccinelle/unibyte_string.cocci | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | // make_unibyte_string (str, strlen (str)) -> build_unibyte_string (str) | ||
| 2 | @@ | ||
| 3 | identifier I; | ||
| 4 | @@ | ||
| 5 | - make_unibyte_string (I, strlen (I)) | ||
| 6 | + build_unibyte_string (I) | ||
diff --git a/admin/coccinelle/vector_contents.cocci b/admin/coccinelle/vector_contents.cocci new file mode 100644 index 00000000000..3c696ffd237 --- /dev/null +++ b/admin/coccinelle/vector_contents.cocci | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | // Avoid direct access to `contents' member of | ||
| 2 | // Lisp_Vector, use AREF and ASET where possible. | ||
| 3 | @expression@ | ||
| 4 | identifier I1, I2; | ||
| 5 | expression E1, E2; | ||
| 6 | @@ | ||
| 7 | ( | ||
| 8 | - XVECTOR (I1)->contents[I2++] = E1 | ||
| 9 | + ASET (I1, I2, E1), I2++ | ||
| 10 | | | ||
| 11 | - XVECTOR (I1)->contents[E1] = E2 | ||
| 12 | + ASET (I1, E1, E2) | ||
| 13 | | | ||
| 14 | - XVECTOR (I1)->contents[E1] | ||
| 15 | + AREF (I1, E1) | ||
| 16 | ) | ||
diff --git a/admin/coccinelle/xzalloc.cocci b/admin/coccinelle/xzalloc.cocci new file mode 100644 index 00000000000..5d3ba990266 --- /dev/null +++ b/admin/coccinelle/xzalloc.cocci | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | @@ | ||
| 2 | expression x; | ||
| 3 | expression E; | ||
| 4 | @@ | ||
| 5 | x = | ||
| 6 | - xmalloc | ||
| 7 | + xzalloc | ||
| 8 | (E) | ||
| 9 | ... | ||
| 10 | - memset (x, 0, E); | ||
diff --git a/admin/merge-gnulib b/admin/merge-gnulib index 7f91b788f40..727b701cfe0 100755 --- a/admin/merge-gnulib +++ b/admin/merge-gnulib | |||
| @@ -26,18 +26,22 @@ | |||
| 26 | GNULIB_URL=git://git.savannah.gnu.org/gnulib.git | 26 | GNULIB_URL=git://git.savannah.gnu.org/gnulib.git |
| 27 | 27 | ||
| 28 | GNULIB_MODULES=' | 28 | GNULIB_MODULES=' |
| 29 | alloca-opt | 29 | alloca-opt c-strcase |
| 30 | careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 | 30 | careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 |
| 31 | dtoastr dup2 | 31 | dtoastr dtotimespec dup2 |
| 32 | filemode getloadavg getopt-gnu ignore-value intprops largefile lstat | 32 | filemode getloadavg getopt-gnu gettime gettimeofday |
| 33 | manywarnings mktime pthread_sigmask readlink | 33 | ignore-value intprops largefile lstat |
| 34 | socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat | 34 | manywarnings mktime pselect pthread_sigmask readlink |
| 35 | socklen stat-time stdarg stdio strftime strtoimax strtoumax symlink sys_stat | ||
| 36 | sys_time time timespec-add timespec-sub utimens | ||
| 35 | warnings | 37 | warnings |
| 36 | ' | 38 | ' |
| 37 | 39 | ||
| 38 | GNULIB_TOOL_FLAGS=' | 40 | GNULIB_TOOL_FLAGS=' |
| 41 | --avoid=errno --avoid=fcntl --avoid=fcntl-h --avoid=fstat | ||
| 39 | --avoid=msvc-inval --avoid=msvc-nothrow | 42 | --avoid=msvc-inval --avoid=msvc-nothrow |
| 40 | --avoid=raise --avoid=threadlib | 43 | --avoid=raise --avoid=select --avoid=sigprocmask --avoid=sys_types |
| 44 | --avoid=threadlib | ||
| 41 | --conditional-dependencies --import --no-changelog --no-vc-files | 45 | --conditional-dependencies --import --no-changelog --no-vc-files |
| 42 | --makefile-name=gnulib.mk | 46 | --makefile-name=gnulib.mk |
| 43 | ' | 47 | ' |
diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker index 3c24212ea10..7d5e85a3ae0 100644 --- a/admin/notes/bugtracker +++ b/admin/notes/bugtracker | |||
| @@ -125,7 +125,7 @@ Resent-CC: maintainer email address, plus any X-Debbugs-CC: entries | |||
| 125 | 125 | ||
| 126 | The "maintainer email address" is "bug-gnu-emacs@gnu.org" in most cases. | 126 | The "maintainer email address" is "bug-gnu-emacs@gnu.org" in most cases. |
| 127 | 127 | ||
| 128 | ** To not get acknowledgement mail from the tracker, | 128 | ** To not get acknowledgment mail from the tracker, |
| 129 | add an "X-Debbugs-No-Ack:" header (with any value). If you use Gnus, | 129 | add an "X-Debbugs-No-Ack:" header (with any value). If you use Gnus, |
| 130 | you can add an element to gnus-posting-styles to do this automatically, eg: | 130 | you can add an element to gnus-posting-styles to do this automatically, eg: |
| 131 | 131 | ||
diff --git a/admin/notes/multi-tty b/admin/notes/multi-tty index 4146c8ffa58..5408b9a3d00 100644 --- a/admin/notes/multi-tty +++ b/admin/notes/multi-tty | |||
| @@ -906,7 +906,7 @@ DIARY OF CHANGES | |||
| 906 | read_avail_input. | 906 | read_avail_input. |
| 907 | 907 | ||
| 908 | (Fixed. This was caused by unconditionally including stdin in | 908 | (Fixed. This was caused by unconditionally including stdin in |
| 909 | input_wait_mask in init_process. The select call in | 909 | input_wait_mask in init_process_emacs. The select call in |
| 910 | wait_reading_process_input always returned immediately, indicating | 910 | wait_reading_process_input always returned immediately, indicating |
| 911 | that there is pending input from stdin, which nobody read. | 911 | that there is pending input from stdin, which nobody read. |
| 912 | 912 | ||
diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs index 7004e8f1b27..4abef102dc4 100755 --- a/admin/quick-install-emacs +++ b/admin/quick-install-emacs | |||
| @@ -171,9 +171,9 @@ test x"$prefix" = x && { prefix="`get_config_var prefix`" || exit 4 ; } | |||
| 171 | test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; } | 171 | test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; } |
| 172 | 172 | ||
| 173 | VERSION=` | 173 | VERSION=` |
| 174 | sed -n 's/^AC_INIT(emacs,[ ]*\([^ )]*\).*/\1/p' <$SRC/configure.in | 174 | sed -n 's/^AC_INIT(emacs,[ ]*\([^ )]*\).*/\1/p' <$SRC/configure.ac |
| 175 | ` || exit 4 | 175 | ` || exit 4 |
| 176 | test -n "$VERSION" || { echo >&2 "$me: no version in configure.in"; exit 4; } | 176 | test -n "$VERSION" || { echo >&2 "$me: no version in configure.ac"; exit 4; } |
| 177 | 177 | ||
| 178 | DST_SHARE="$prefix/share/emacs/$VERSION" | 178 | DST_SHARE="$prefix/share/emacs/$VERSION" |
| 179 | DST_BIN="$prefix/bin" | 179 | DST_BIN="$prefix/bin" |