aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/CPP-DEFINES2
-rw-r--r--admin/ChangeLog34
-rw-r--r--admin/admin.el85
-rw-r--r--admin/bzrmerge.el8
-rw-r--r--admin/make-tarball.txt8
-rwxr-xr-xadmin/merge-gnulib3
-rw-r--r--admin/notes/unicode62
7 files changed, 174 insertions, 28 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES
index da8dec5a0f6..c11c3c3b489 100644
--- a/admin/CPP-DEFINES
+++ b/admin/CPP-DEFINES
@@ -9,7 +9,6 @@ documented in config.in, and this file would not be necessary.
9 9
10AIX 10AIX
11_AIX 11_AIX
12BSD_SYSTEM
13CYGWIN Compiling the Cygwin port. 12CYGWIN Compiling the Cygwin port.
14__CYGWIN__ Ditto 13__CYGWIN__ Ditto
15GNU_LINUX 14GNU_LINUX
@@ -149,7 +148,6 @@ HAVE_FORK
149HAVE_FREEIFADDRS 148HAVE_FREEIFADDRS
150HAVE_FREETYPE 149HAVE_FREETYPE
151HAVE_FSEEKO 150HAVE_FSEEKO
152HAVE_FSYNC
153HAVE_FUTIMENS 151HAVE_FUTIMENS
154HAVE_FUTIMES 152HAVE_FUTIMES
155HAVE_FUTIMESAT 153HAVE_FUTIMESAT
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 6a636091a7c..25ce7c0f9e4 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,37 @@
12013-03-16 Glenn Morris <rgm@gnu.org>
2
3 * admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi.
4
52013-03-16 Glenn Morris <rgm@gnu.org>
6
7 * admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG.
8
92013-03-13 Paul Eggert <eggert@cs.ucla.edu>
10
11 File synchronization fixes (Bug#13944).
12 * CPP-DEFINES (BSD_SYSTEM, HAVE_FSYNC): Remove.
13 * merge-gnulib (GNULIB_MODULES): Add fsync, fdatasync.
14
152013-03-11 Paul Eggert <eggert@cs.ucla.edu>
16
17 * notes/unicode: Improve notes about Emacs source file encoding.
18
192013-03-11 Glenn Morris <rgm@gnu.org>
20
21 * admin.el (make-manuals): Add emacs-lisp-intro and some more
22 doc/misc manuals.
23 (manual-html-mono, manual-html-node, manual-txt):
24 Pass -I to makeinfo.
25
262013-03-10 Glenn Morris <rgm@gnu.org>
27
28 * admin.el (add-release-logs): Use UTC for release date.
29
302013-03-09 Glenn Morris <rgm@gnu.org>
31
32 * admin.el (add-release-logs): Provide interactive defaults.
33 Allow specification of the release date. Don't exclude gnus/.
34
12013-03-05 Paul Eggert <eggert@cs.ucla.edu> 352013-03-05 Paul Eggert <eggert@cs.ucla.edu>
2 36
3 * notes/unicode: Add notes about Emacs source file encoding. 37 * notes/unicode: Add notes about Emacs source file encoding.
diff --git a/admin/admin.el b/admin/admin.el
index e815dfade47..cb7eaead27f 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -28,25 +28,38 @@
28 28
29(defvar add-log-time-format) ; in add-log 29(defvar add-log-time-format) ; in add-log
30 30
31(defun add-release-logs (root version) 31;; Does this information need to be in every ChangeLog, as opposed to
32;; just the top-level one? Only if you allow changes the same
33;; day as the release.
34;; http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00161.html
35(defun add-release-logs (root version &optional date)
32 "Add \"Version VERSION released.\" change log entries in ROOT. 36 "Add \"Version VERSION released.\" change log entries in ROOT.
33Root must be the root of an Emacs source tree." 37Root must be the root of an Emacs source tree.
34 (interactive "DEmacs root directory: \nNVersion number: ") 38Optional argument DATE is the release date, default today."
39 (interactive (list (read-directory-name "Emacs root directory: ")
40 (read-string "Version number: "
41 (format "%s.%s" emacs-major-version
42 emacs-minor-version))
43 (read-string "Release date: "
44 (progn (require 'add-log)
45 (let ((add-log-time-zone-rule t))
46 (funcall add-log-time-format))))))
35 (setq root (expand-file-name root)) 47 (setq root (expand-file-name root))
36 (unless (file-exists-p (expand-file-name "src/emacs.c" root)) 48 (unless (file-exists-p (expand-file-name "src/emacs.c" root))
37 (error "%s doesn't seem to be the root of an Emacs source tree" root)) 49 (error "%s doesn't seem to be the root of an Emacs source tree" root))
38 (require 'add-log) 50 (require 'add-log)
51 (or date (setq date (let ((add-log-time-zone-rule t))
52 (funcall add-log-time-format))))
39 (let* ((logs (process-lines "find" root "-name" "ChangeLog")) 53 (let* ((logs (process-lines "find" root "-name" "ChangeLog"))
40 (entry (format "%s %s <%s>\n\n\t* Version %s released.\n\n" 54 (entry (format "%s %s <%s>\n\n\t* Version %s released.\n\n"
41 (funcall add-log-time-format) 55 date
42 (or add-log-full-name (user-full-name)) 56 (or add-log-full-name (user-full-name))
43 (or add-log-mailing-address user-mail-address) 57 (or add-log-mailing-address user-mail-address)
44 version))) 58 version)))
45 (dolist (log logs) 59 (dolist (log logs)
46 (unless (string-match "/gnus/" log) 60 (find-file log)
47 (find-file log) 61 (goto-char (point-min))
48 (goto-char (point-min)) 62 (insert entry))))
49 (insert entry)))))
50 63
51(defun set-version-in-file (root file version rx) 64(defun set-version-in-file (root file version rx)
52 (find-file (expand-file-name file root)) 65 (find-file (expand-file-name file root))
@@ -215,17 +228,33 @@ Root must be the root of an Emacs source tree."
215 (manual-pdf texi (expand-file-name "elisp.pdf" dest)) 228 (manual-pdf texi (expand-file-name "elisp.pdf" dest))
216 (manual-dvi texi (expand-file-name "elisp.dvi" dvi-dir) 229 (manual-dvi texi (expand-file-name "elisp.dvi" dvi-dir)
217 (expand-file-name "elisp.ps" ps-dir))) 230 (expand-file-name "elisp.ps" ps-dir)))
231 (let ((texi (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root))
232 (dest (expand-file-name "emacs-lisp-intro" dest))
233 dest2 dest3)
234 ;; Mimic the atypical directory layout used for emacs-lisp-intro.
235 (make-directory dest)
236 (make-directory (setq dest2 (expand-file-name "html_node" dest)))
237 (manual-html-node texi dest2)
238 (make-directory (setq dest2 (expand-file-name "html_mono" dest)))
239 (manual-html-mono texi (expand-file-name "emacs-lisp-intro.html" dest2))
240 (make-directory (setq dest2 (expand-file-name "txt" dest)))
241 (manual-txt texi (expand-file-name "emacs-lisp-intro.txt" dest2))
242 (manual-pdf texi (expand-file-name "emacs-lisp-intro.pdf" dest))
243 (make-directory (setq dest2 (expand-file-name "dvi" dest)))
244 (make-directory (setq dest3 (expand-file-name "ps" dest)))
245 (manual-dvi texi (expand-file-name "emacs-lisp-intro.dvi" dest2)
246 (expand-file-name "emacs-lisp-intro.ps" dest3)))
218 ;; Misc manuals 247 ;; Misc manuals
219 (let ((manuals '("ada-mode" "auth" "autotype" "calc" "cc-mode" 248 (let ((manuals '("ada-mode" "auth" "autotype" "bovine" "calc" "cc-mode"
220 "cl" "dbus" "dired-x" "ebrowse" "ede" "ediff" 249 "cl" "dbus" "dired-x" "ebrowse" "ede" "ediff"
221 "edt" "eieio" "emacs-mime" "epa" "erc" "ert" 250 "edt" "eieio" "emacs-gnutls" "emacs-mime" "epa" "erc" "ert"
222 "eshell" "eudc" "faq" "flymake" "forms" 251 "eshell" "eudc" "faq" "flymake" "forms"
223 "gnus" "emacs-gnutls" "idlwave" "info" 252 "gnus" "htmlfontify" "idlwave" "info"
224 "mairix-el" "message" "mh-e" "newsticker" 253 "mairix-el" "message" "mh-e" "newsticker"
225 "nxml-mode" "org" "pcl-cvs" "pgg" "rcirc" 254 "nxml-mode" "org" "pcl-cvs" "pgg" "rcirc"
226 "remember" "reftex" "sasl" "sc" "semantic" 255 "reftex" "remember" "sasl" "sc" "semantic"
227 "ses" "sieve" "smtpmail" "speedbar" "tramp" 256 "ses" "sieve" "smtpmail" "speedbar" "srecode" "tramp"
228 "url" "vip" "viper" "widget" "woman"))) 257 "url" "vip" "viper" "widget" "wisent" "woman")))
229 (dolist (manual manuals) 258 (dolist (manual manuals)
230 (manual-misc-html manual root html-node-dir html-mono-dir))) 259 (manual-misc-html manual root html-node-dir html-mono-dir)))
231 (message "Manuals created in %s" dest))) 260 (message "Manuals created in %s" dest)))
@@ -256,6 +285,11 @@ This function also edits the HTML files so that they validate as
256HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using 285HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using
257the @import directive." 286the @import directive."
258 (call-process "makeinfo" nil nil nil 287 (call-process "makeinfo" nil nil nil
288 "-D" "WWW_GNU_ORG"
289 "-I" (expand-file-name "../emacs"
290 (file-name-directory texi-file))
291 "-I" (expand-file-name "../misc"
292 (file-name-directory texi-file))
259 "--html" "--no-split" texi-file "-o" dest) 293 "--html" "--no-split" texi-file "-o" dest)
260 (with-temp-buffer 294 (with-temp-buffer
261 (insert-file-contents dest) 295 (insert-file-contents dest)
@@ -277,6 +311,11 @@ the @import directive."
277 (unless (file-exists-p texi-file) 311 (unless (file-exists-p texi-file)
278 (error "Manual file %s not found" texi-file)) 312 (error "Manual file %s not found" texi-file))
279 (call-process "makeinfo" nil nil nil 313 (call-process "makeinfo" nil nil nil
314 "-D" "WWW_GNU_ORG"
315 "-I" (expand-file-name "../emacs"
316 (file-name-directory texi-file))
317 "-I" (expand-file-name "../misc"
318 (file-name-directory texi-file))
280 "--html" texi-file "-o" dir) 319 "--html" texi-file "-o" dir)
281 ;; Loop through the node files, fixing them up. 320 ;; Loop through the node files, fixing them up.
282 (dolist (f (directory-files dir nil "\\.html\\'")) 321 (dolist (f (directory-files dir nil "\\.html\\'"))
@@ -308,17 +347,31 @@ the @import directive."
308(defun manual-txt (texi-file dest) 347(defun manual-txt (texi-file dest)
309 "Run Makeinfo on TEXI-FILE, emitting plaintext output to DEST." 348 "Run Makeinfo on TEXI-FILE, emitting plaintext output to DEST."
310 (call-process "makeinfo" nil nil nil 349 (call-process "makeinfo" nil nil nil
350 "-I" (expand-file-name "../emacs"
351 (file-name-directory texi-file))
352 "-I" (expand-file-name "../misc"
353 (file-name-directory texi-file))
311 "--plaintext" "--no-split" texi-file "-o" dest) 354 "--plaintext" "--no-split" texi-file "-o" dest)
312 (shell-command (concat "gzip -c " dest " > " (concat dest ".gz")))) 355 (shell-command (concat "gzip -c " dest " > " (concat dest ".gz"))))
313 356
314(defun manual-pdf (texi-file dest) 357(defun manual-pdf (texi-file dest)
315 "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST." 358 "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST."
316 (call-process "texi2pdf" nil nil nil texi-file "-o" dest)) 359 (call-process "texi2pdf" nil nil nil
360 "-I" (expand-file-name "../emacs"
361 (file-name-directory texi-file))
362 "-I" (expand-file-name "../misc"
363 (file-name-directory texi-file))
364 texi-file "-o" dest))
317 365
318(defun manual-dvi (texi-file dest ps-dest) 366(defun manual-dvi (texi-file dest ps-dest)
319 "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST. 367 "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST.
320Also generate PostScript output in PS-DEST." 368Also generate PostScript output in PS-DEST."
321 (call-process "texi2dvi" nil nil nil texi-file "-o" dest) 369 (call-process "texi2dvi" nil nil nil
370 "-I" (expand-file-name "../emacs"
371 (file-name-directory texi-file))
372 "-I" (expand-file-name "../misc"
373 (file-name-directory texi-file))
374 texi-file "-o" dest)
322 (call-process "dvips" nil nil nil dest "-o" ps-dest) 375 (call-process "dvips" nil nil nil dest "-o" ps-dest)
323 (call-process "gzip" nil nil nil dest) 376 (call-process "gzip" nil nil nil dest)
324 (call-process "gzip" nil nil nil ps-dest)) 377 (call-process "gzip" nil nil nil ps-dest))
diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el
index 4fa328b9d6d..42d39d3071a 100644
--- a/admin/bzrmerge.el
+++ b/admin/bzrmerge.el
@@ -50,7 +50,7 @@ The list returned is sorted by oldest-first."
50 (call-process "bzr" nil t nil "status" "-v") 50 (call-process "bzr" nil t nil "status" "-v")
51 (goto-char (point-min)) 51 (goto-char (point-min))
52 (when (re-search-forward "^conflicts:\n" nil t) 52 (when (re-search-forward "^conflicts:\n" nil t)
53 (error "You still have unresolved conflicts")) 53 (user-error "You still have unresolved conflicts"))
54 (let ((merges ()) 54 (let ((merges ())
55 found) 55 found)
56 (if (not (re-search-forward "^pending merges:\n" nil t)) 56 (if (not (re-search-forward "^pending merges:\n" nil t))
@@ -62,7 +62,7 @@ The list returned is sorted by oldest-first."
62 (setq found 62 (setq found
63 (not (equal "unknown" (match-string 1))))))) 63 (not (equal "unknown" (match-string 1)))))))
64 found) 64 found)
65 (error "You still have uncommitted changes")) 65 (user-error "You still have uncommitted changes"))
66 ;; This is really stupid, but it seems there's no easy way to figure 66 ;; This is really stupid, but it seems there's no easy way to figure
67 ;; out which revisions have been merged already. The only info I can 67 ;; out which revisions have been merged already. The only info I can
68 ;; find is the "pending merges" from "bzr status -v", which is not 68 ;; find is the "pending merges" from "bzr status -v", which is not
@@ -171,7 +171,7 @@ Type `y' to skip this revision,
171 (enable-local-eval nil)) 171 (enable-local-eval nil))
172 (find-file-noselect file)) 172 (find-file-noselect file))
173 (if (buffer-modified-p) 173 (if (buffer-modified-p)
174 (error "Unsaved changes in %s" (current-buffer))) 174 (user-error "Unsaved changes in %s" (current-buffer)))
175 (save-excursion 175 (save-excursion
176 (cond 176 (cond
177 ((derived-mode-p 'change-log-mode) 177 ((derived-mode-p 'change-log-mode)
@@ -323,7 +323,7 @@ Does not make other difference."
323BEWARE! Important metadata is kept in this Emacs session! 323BEWARE! Important metadata is kept in this Emacs session!
324Do not commit without re-running `M-x bzrmerge' first!" 324Do not commit without re-running `M-x bzrmerge' first!"
325 :warning bzrmerge-warning-buffer)) 325 :warning bzrmerge-warning-buffer))
326 (error "Resolve conflicts manually"))))) 326 (user-error "Resolve conflicts manually")))))
327 (cons merge skip))))) 327 (cons merge skip)))))
328 328
329(defun bzrmerge (from) 329(defun bzrmerge (from)
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt
index cfae61e092f..005c6694228 100644
--- a/admin/make-tarball.txt
+++ b/admin/make-tarball.txt
@@ -50,6 +50,14 @@ General steps (for each step, check for possible errors):
50 For a pretest, start at version .90. After .99, use .990 (so that 50 For a pretest, start at version .90. After .99, use .990 (so that
51 it sorts). 51 it sorts).
52 52
53 The final pretest should be a release candidate. Set the version
54 number to that of the actual release. Pick a date about a week
55 from now when you intend to make the release. Use M-x add-release-logs
56 to add the ChangeLog entries for that date to the tar file (but
57 not yet to the repository). Name the tar file as
58 emacs-XX.Y-rc1.tar. If all goes well in the following week, you
59 can simply rename the file and use it for the actual release.
60
535. autoreconf -i -I m4 --force 615. autoreconf -i -I m4 --force
54 make bootstrap 62 make bootstrap
55 63
diff --git a/admin/merge-gnulib b/admin/merge-gnulib
index b43f2bd9bb8..100749191f0 100755
--- a/admin/merge-gnulib
+++ b/admin/merge-gnulib
@@ -29,7 +29,8 @@ GNULIB_MODULES='
29 alloca-opt c-ctype c-strcase 29 alloca-opt c-ctype c-strcase
30 careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 30 careadlinkat close-stream crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512
31 dtoastr dtotimespec dup2 environ execinfo faccessat 31 dtoastr dtotimespec dup2 environ execinfo faccessat
32 fcntl-h fdopendir filemode fstatat getloadavg getopt-gnu gettime gettimeofday 32 fcntl-h fdatasync fdopendir filemode fstatat fsync
33 getloadavg getopt-gnu gettime gettimeofday
33 ignore-value intprops largefile lstat 34 ignore-value intprops largefile lstat
34 manywarnings memrchr mktime 35 manywarnings memrchr mktime
35 pselect pthread_sigmask putenv readlink readlinkat 36 pselect pthread_sigmask putenv readlink readlinkat
diff --git a/admin/notes/unicode b/admin/notes/unicode
index 0654036d364..7b5e21c864b 100644
--- a/admin/notes/unicode
+++ b/admin/notes/unicode
@@ -104,12 +104,15 @@ Source file encoding
104 104
105Most Emacs source files are encoded in UTF-8 (or in ASCII, which is a 105Most Emacs source files are encoded in UTF-8 (or in ASCII, which is a
106subset), but there are a few exceptions, listed below. Perhaps 106subset), but there are a few exceptions, listed below. Perhaps
107someday these files will be converted to UTF-8, for convenience when 107someday many of these files will be converted to UTF-8, for
108using tools like 'grep -r', but this might need nontrivial changes to 108convenience when using tools like 'grep -r', but this might need
109the build process. 109nontrivial changes to the build process.
110 110
111 * chinese-big5 111 * chinese-big5
112 112
113 These are verbatim copies of files taken from external sources.
114 They haven't been converted to UTF-8.
115
113 leim/CXTERM-DIC/4Corner.tit 116 leim/CXTERM-DIC/4Corner.tit
114 leim/CXTERM-DIC/ARRAY30.tit 117 leim/CXTERM-DIC/ARRAY30.tit
115 leim/CXTERM-DIC/ECDICT.tit 118 leim/CXTERM-DIC/ECDICT.tit
@@ -123,6 +126,9 @@ the build process.
123 126
124 * chinese-iso-8bit 127 * chinese-iso-8bit
125 128
129 These are verbatim copies of files taken from external sources.
130 They haven't been converted to UTF-8.
131
126 leim/CXTERM-DIC/CCDOSPY.tit 132 leim/CXTERM-DIC/CCDOSPY.tit
127 leim/CXTERM-DIC/Punct.tit 133 leim/CXTERM-DIC/Punct.tit
128 leim/CXTERM-DIC/QJ.tit 134 leim/CXTERM-DIC/QJ.tit
@@ -132,28 +138,74 @@ the build process.
132 leim/MISC-DIC/CTLau.html 138 leim/MISC-DIC/CTLau.html
133 leim/MISC-DIC/ziranma.cin 139 leim/MISC-DIC/ziranma.cin
134 140
141 * cp850
142
143 This file contains non-ASCII characters in unibyte strings. When
144 editing a keyboard layout it's more convenient to see 'é' than
145 '\202', and the MS-DOS compiler requires the single byte if a
146 backslash escape is not being used.
147
148 src/msdos.c
149
150 * iso-2022-cn-ext
151
152 This file is externally generated from leim/MISC-DIC/cangjie-table.b5
153 by Big5->CNS converter. It hasn't been converted to UTF-8.
154
155 leim/MISC-DIC/cangjie-table.cns
156
135 * iso-latin-2 157 * iso-latin-2
136 158
159 These files are processed by csplain, a program that requires
160 Latin-2 input. In 2012 the csplain maintainers started
161 recommending UTF-8, but these files haven't been converted yet.
162
163 etc/refcards/cs-dired-ref.tex
137 etc/refcards/cs-refcard.tex 164 etc/refcards/cs-refcard.tex
138 etc/refcards/sk-survival.tex
139 etc/refcards/cs-survival.tex 165 etc/refcards/cs-survival.tex
140 etc/refcards/cs-dired-ref.tex
141 etc/refcards/sk-dired-ref.tex 166 etc/refcards/sk-dired-ref.tex
142 etc/refcards/sk-refcard.tex 167 etc/refcards/sk-refcard.tex
168 etc/refcards/sk-survival.tex
143 169
144 * japanese-iso-8bit 170 * japanese-iso-8bit
145 171
172 SKK-JISYO.L is a verbatim copy of a file taken from an external source.
173 ja-dic.el is generated automatically by skkdic-convert; this process
174 hasn't been converted to use UTF-8.
175
146 leim/SKK-DIC/SKK-JISYO.L 176 leim/SKK-DIC/SKK-JISYO.L
147 leim/ja-dic/ja-dic.el 177 leim/ja-dic/ja-dic.el
148 178
149 * japanese-shift-jis 179 * japanese-shift-jis
150 180
181 This is a verbatim copy of a file taken from an external source.
182 It hasn't been converted to UTF-8.
183
151 admin/charsets/mapfiles/cns2ucsdkw.txt 184 admin/charsets/mapfiles/cns2ucsdkw.txt
152 185
153 * no-conversion 186 * no-conversion
154 187
188 This file purposely contains arbitrary bytes interspersed within text,
189 to test whether the Emacs distribution is corrupted.
190
155 lib-src/testfile 191 lib-src/testfile
156 192
193 * iso-2022-7bit
194
195 This file contains significant charset information, which is not
196 encoded in UTF-8.
197
198 etc/HELLO
199
200 These files contain characters that cannot be encoded in UTF-8.
201
202 leim/quail/tibetan.el
203 leim/quail/ethiopic.el
204 lisp/international/titdic-cnv.el
205 lisp/language/tibetan.el
206 lisp/language/tibet-util.el
207 lisp/language/ind-util.el
208
157 209
158This file is part of GNU Emacs. 210This file is part of GNU Emacs.
159 211