aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris2014-10-13 16:55:41 -0400
committerGlenn Morris2014-10-13 16:55:41 -0400
commit2cae8632b75245e232030244159963287ffc6231 (patch)
tree6a531342d72313839eac4e20e95525f6b1893806 /admin
parent2b882ee7556d07f874e3fcf51939604d6dd20197 (diff)
parent440cb8f6cca0ec36a4f83b5ab0b31d615036a5d7 (diff)
downloademacs-2cae8632b75245e232030244159963287ffc6231.tar.gz
emacs-2cae8632b75245e232030244159963287ffc6231.zip
Merge from emacs-24; up to 2014-07-27T01:00:26Z!fgallina@gnu.org
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog8
-rw-r--r--admin/authors.el35
2 files changed, 39 insertions, 4 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 258ce04783f..f3d6d048e21 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,11 @@
12014-10-13 Glenn Morris <rgm@gnu.org>
2
3 * authors.el (authors-aliases, authors-fixed-case)
4 (authors-obsolete-files-regexps): Additions.
5 (authors-no-scan-regexps): New constant.
6 (authors-no-scan-file-p): New function.
7 (authors): Respect authors-no-scan-file-p.
8
12014-10-12 Paul Eggert <eggert@cs.ucla.edu> 92014-10-12 Paul Eggert <eggert@cs.ucla.edu>
2 10
3 Fix putenv race conditions with undefined behavior (Bug#8705). 11 Fix putenv race conditions with undefined behavior (Bug#8705).
diff --git a/admin/authors.el b/admin/authors.el
index e27877df51d..aefd947e802 100644
--- a/admin/authors.el
+++ b/admin/authors.el
@@ -121,6 +121,7 @@ files.")
121 ("Mikio Nakajima" "Nakajima Mikio") 121 ("Mikio Nakajima" "Nakajima Mikio")
122 ("Nelson Jose dos Santos Ferreira" "Nelson Ferreira") 122 ("Nelson Jose dos Santos Ferreira" "Nelson Ferreira")
123 ("Noorul Islam" "Noorul Islam K M") 123 ("Noorul Islam" "Noorul Islam K M")
124;;; ("Tetsurou Okazaki" "OKAZAKI Tetsurou") ; FIXME?
124 ("Paul Eggert" "Paul R\\. Eggert") 125 ("Paul Eggert" "Paul R\\. Eggert")
125 ("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik") 126 ("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik")
126 ("Pavel Kobiakov" "Pavel Kobyakov") 127 ("Pavel Kobiakov" "Pavel Kobyakov")
@@ -143,6 +144,7 @@ files.")
143 ("Sam Steingold" "Sam Shteingold") 144 ("Sam Steingold" "Sam Shteingold")
144 ("Satyaki Das" "Indexed search by Satyaki Das") 145 ("Satyaki Das" "Indexed search by Satyaki Das")
145 ("Sébastien Vauban" "Sebastien Vauban") 146 ("Sébastien Vauban" "Sebastien Vauban")
147 ("Sergey Litvinov" "Litvinov Sergey")
146 ;; There are other Stefans. 148 ;; There are other Stefans.
147;;; ("Stefan Monnier" "Stefan") 149;;; ("Stefan Monnier" "Stefan")
148 ("Steven L. Baur" "SL Baur" "Steven L Baur") 150 ("Steven L. Baur" "SL Baur" "Steven L Baur")
@@ -178,11 +180,13 @@ If REALNAME is nil, ignore that author.")
178 180
179;; FIXME seems it would be less fragile to check for O', Mc, etc. 181;; FIXME seems it would be less fragile to check for O', Mc, etc.
180(defconst authors-fixed-case 182(defconst authors-fixed-case
181 '("Brian van den Broek" 183 '("Barry O'Reilly"
184 "Brian van den Broek"
182 "Bryan O'Sullivan" 185 "Bryan O'Sullivan"
183 "Christian von Roques" 186 "Christian von Roques"
184 "Christophe de Dinechin" 187 "Christophe de Dinechin"
185 "Craig McDaniel" 188 "Craig McDaniel"
189 "Daniel LaLiberte"
186 "David J. MacKenzie" 190 "David J. MacKenzie"
187 "David McCabe" 191 "David McCabe"
188 "David O'Toole" 192 "David O'Toole"
@@ -190,12 +194,16 @@ If REALNAME is nil, ignore that author.")
190 "Dominique de Waleffe" 194 "Dominique de Waleffe"
191 "Edward O'Connor" 195 "Edward O'Connor"
192 "Exal de Jesus Garcia Carrillo" 196 "Exal de Jesus Garcia Carrillo"
197 "George McNinch"
193 "Greg McGary" 198 "Greg McGary"
194 "Hans de Graaff" 199 "Hans de Graaff"
200 "Ivan Vilata i Balaguer"
201 "Jae-hyeon Park"
195 "James TD Smith" 202 "James TD Smith"
196 "Jay McCarthy" 203 "Jay McCarthy"
197 "Joel N. Weber II" 204 "Joel N. Weber II"
198 "Matt McClure" 205 "Matt McClure"
206 "Mike McLean"
199 "Michael McNamara" 207 "Michael McNamara"
200 "Mike McEwan" 208 "Mike McEwan"
201 "Nelson Jose dos Santos Ferreira" 209 "Nelson Jose dos Santos Ferreira"
@@ -203,10 +211,13 @@ If REALNAME is nil, ignore that author.")
203 "Peter O'Gorman" 211 "Peter O'Gorman"
204 "Piet van Oostrum" 212 "Piet van Oostrum"
205 "Roland McGrath" 213 "Roland McGrath"
214 "Santiago Payà i Miralta"
206 "Sean O'Halpin" 215 "Sean O'Halpin"
207 "Sean O'Rourke" 216 "Sean O'Rourke"
217 "Shun-ichi Goto"
208 "Thomas DeWeese" 218 "Thomas DeWeese"
209 "Tijs van Bakel") 219 "Tijs van Bakel"
220 "Yu-ji Hosokawa")
210 "List of authors whose names cannot be simply capitalized.") 221 "List of authors whose names cannot be simply capitalized.")
211 222
212(defvar authors-public-domain-files 223(defvar authors-public-domain-files
@@ -231,6 +242,7 @@ If REALNAME is nil, ignore that author.")
231 '(".*loaddefs.el$" ; not obsolete, but auto-generated 242 '(".*loaddefs.el$" ; not obsolete, but auto-generated
232 "\\.\\(cvs\\|git\\)ignore$" ; obsolete or uninteresting 243 "\\.\\(cvs\\|git\\)ignore$" ; obsolete or uninteresting
233 "\\.arch-inventory$" 244 "\\.arch-inventory$"
245 "automated/data/" ; not interesting
234 ;; TODO lib/? Matches other things? 246 ;; TODO lib/? Matches other things?
235 "build-aux/" "m4/" "Emacs.xcodeproj" "mapfiles" "\\.map\\'" 247 "build-aux/" "m4/" "Emacs.xcodeproj" "mapfiles" "\\.map\\'"
236 "preferences\\.\\(nib\\|gorm\\)" 248 "preferences\\.\\(nib\\|gorm\\)"
@@ -240,6 +252,11 @@ gnus-booklet\\|fr-drdref\\)\\.p\\(df\\|s\\)\\'")
240 "List of regexps matching obsolete files. 252 "List of regexps matching obsolete files.
241Changes to files matching one of the regexps in this list are not listed.") 253Changes to files matching one of the regexps in this list are not listed.")
242 254
255(defconst authors-no-scan-regexps
256 '("etc/nxml/"
257 "automated/data/")
258 "Lists of regexps matching files not to scan for authorship.")
259
243(defconst authors-ignored-files 260(defconst authors-ignored-files
244 '("external-lisp" 261 '("external-lisp"
245 "lock" "share-lib" "local-lisp" 262 "lock" "share-lib" "local-lisp"
@@ -1069,6 +1086,15 @@ from `authors-obsolete-files-regexps'."
1069 regexps (cdr regexps))) 1086 regexps (cdr regexps)))
1070 obsolete-p)) 1087 obsolete-p))
1071 1088
1089(defun authors-no-scan-file-p (file)
1090 "Return non-nil if FILE should not be scanned.
1091FILE is not scanned if it matches any of `authors-no-scan-regexps'."
1092 (let (no-scan-p
1093 (regexps authors-no-scan-regexps))
1094 (while (and regexps (not no-scan-p))
1095 (setq no-scan-p (string-match-p (car regexps) file)
1096 regexps (cdr regexps)))
1097 no-scan-p))
1072 1098
1073(defun authors-add (author file action table) 1099(defun authors-add (author file action table)
1074 "Record that AUTHOR worked on FILE. 1100 "Record that AUTHOR worked on FILE.
@@ -1300,8 +1326,9 @@ buffer *Authors Errors* containing references to unknown files."
1300 (authors-scan-change-log log table))) 1326 (authors-scan-change-log log table)))
1301 (let ((els (process-lines find-program root "-name" "*.el"))) 1327 (let ((els (process-lines find-program root "-name" "*.el")))
1302 (dolist (file els) 1328 (dolist (file els)
1303 (message "Scanning %s..." file) 1329 (unless (authors-no-scan-file-p file)
1304 (authors-scan-el file table))) 1330 (message "Scanning %s..." file)
1331 (authors-scan-el file table))))
1305 (message "Generating buffer %s..." buffer-name) 1332 (message "Generating buffer %s..." buffer-name)
1306 (set-buffer (get-buffer-create buffer-name)) 1333 (set-buffer (get-buffer-create buffer-name))
1307 (erase-buffer) 1334 (erase-buffer)