diff options
| author | Tom Tromey | 2013-07-06 23:18:58 -0600 |
|---|---|---|
| committer | Tom Tromey | 2013-07-06 23:18:58 -0600 |
| commit | 6dacdad5fcb278e5a16b38bb81786aac9ca27be4 (patch) | |
| tree | f5f331ea361ba0f99e0f9b638d183ad492a7da31 /admin | |
| parent | 0a6f2ff0c8ceb29703e76cddd46ea3f176dd873a (diff) | |
| parent | 219afb88d9d484393418820d1c08dc93299110ec (diff) | |
| download | emacs-6dacdad5fcb278e5a16b38bb81786aac9ca27be4.tar.gz emacs-6dacdad5fcb278e5a16b38bb81786aac9ca27be4.zip | |
merge from trunk
this merges frmo trunk and fixes various build issues.
this needed a few ugly tweaks.
this hangs in "make check" now
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/CPP-DEFINES | 19 | ||||
| -rw-r--r-- | admin/ChangeLog | 34 | ||||
| -rw-r--r-- | admin/FOR-RELEASE | 22 | ||||
| -rw-r--r-- | admin/admin.el | 188 | ||||
| -rw-r--r-- | admin/notes/changelogs | 5 | ||||
| -rw-r--r-- | admin/notes/www | 82 | ||||
| -rw-r--r-- | admin/nt/README-ftp-server | 52 |
7 files changed, 261 insertions, 141 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index a89d1764f7b..27d87dcaa2a 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -24,7 +24,6 @@ _MSC_VER Compiling the W32 port with the Microsoft C compiler. | |||
| 24 | DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). | 24 | DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). |
| 25 | SOLARIS2 | 25 | SOLARIS2 |
| 26 | USG | 26 | USG |
| 27 | USG5 | ||
| 28 | USG5_4 | 27 | USG5_4 |
| 29 | 28 | ||
| 30 | ** Distinguishing GUIs ** | 29 | ** Distinguishing GUIs ** |
| @@ -135,8 +134,6 @@ HAVE_DECL_STRTOUMAX | |||
| 135 | HAVE_DECL_SYS_SIGLIST | 134 | HAVE_DECL_SYS_SIGLIST |
| 136 | HAVE_DECL_TZNAME | 135 | HAVE_DECL_TZNAME |
| 137 | HAVE_DECL___SYS_SIGLIST | 136 | HAVE_DECL___SYS_SIGLIST |
| 138 | HAVE_DES_H | ||
| 139 | HAVE_DEV_PTMX | ||
| 140 | HAVE_DIALOGS | 137 | HAVE_DIALOGS |
| 141 | HAVE_DIFFTIME | 138 | HAVE_DIFFTIME |
| 142 | HAVE_DUP2 | 139 | HAVE_DUP2 |
| @@ -174,8 +171,6 @@ HAVE_GET_CURRENT_DIR_NAME | |||
| 174 | HAVE_GHOSTSCRIPT | 171 | HAVE_GHOSTSCRIPT |
| 175 | HAVE_GIF | 172 | HAVE_GIF |
| 176 | HAVE_GNUTLS | 173 | HAVE_GNUTLS |
| 177 | HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY | ||
| 178 | HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION | ||
| 179 | HAVE_GPM | 174 | HAVE_GPM |
| 180 | HAVE_GRANTPT | 175 | HAVE_GRANTPT |
| 181 | HAVE_GSETTINGS | 176 | HAVE_GSETTINGS |
| @@ -198,26 +193,15 @@ HAVE_IMAGEMAGICK | |||
| 198 | HAVE_INET_SOCKETS | 193 | HAVE_INET_SOCKETS |
| 199 | HAVE_INTTYPES_H | 194 | HAVE_INTTYPES_H |
| 200 | HAVE_JPEG | 195 | HAVE_JPEG |
| 201 | HAVE_KERBEROSIV_DES_H | ||
| 202 | HAVE_KERBEROSIV_KRB_H | 196 | HAVE_KERBEROSIV_KRB_H |
| 203 | HAVE_KERBEROS_DES_H | ||
| 204 | HAVE_KERBEROS_KRB_H | 197 | HAVE_KERBEROS_KRB_H |
| 205 | HAVE_KRB5_ERROR_E_TEXT | 198 | HAVE_KRB5_ERROR_E_TEXT |
| 206 | HAVE_KRB5_ERROR_TEXT | 199 | HAVE_KRB5_ERROR_TEXT |
| 207 | HAVE_KRB5_H | 200 | HAVE_KRB5_H |
| 208 | HAVE_KRB_H | 201 | HAVE_KRB_H |
| 209 | HAVE_LANGINFO_CODESET | 202 | HAVE_LANGINFO_CODESET |
| 210 | HAVE_LIBCOM_ERR | ||
| 211 | HAVE_LIBCRYPTO | ||
| 212 | HAVE_LIBDES | ||
| 213 | HAVE_LIBDES425 | ||
| 214 | HAVE_LIBDGC | 203 | HAVE_LIBDGC |
| 215 | HAVE_LIBDNET | 204 | HAVE_LIBDNET |
| 216 | HAVE_LIBHESIOD | ||
| 217 | HAVE_LIBK5CRYPTO | ||
| 218 | HAVE_LIBKRB | ||
| 219 | HAVE_LIBKRB4 | ||
| 220 | HAVE_LIBKRB5 | ||
| 221 | HAVE_LIBKSTAT | 205 | HAVE_LIBKSTAT |
| 222 | HAVE_LIBLOCKFILE | 206 | HAVE_LIBLOCKFILE |
| 223 | HAVE_LIBM | 207 | HAVE_LIBM |
| @@ -226,12 +210,10 @@ HAVE_LIBOTF | |||
| 226 | HAVE_LIBPERFSTAT | 210 | HAVE_LIBPERFSTAT |
| 227 | HAVE_LIBPNG_PNG_H | 211 | HAVE_LIBPNG_PNG_H |
| 228 | HAVE_LIBPTHREADS | 212 | HAVE_LIBPTHREADS |
| 229 | HAVE_LIBRESOLV | ||
| 230 | HAVE_LIBSELINUX | 213 | HAVE_LIBSELINUX |
| 231 | HAVE_LIBXEXT | 214 | HAVE_LIBXEXT |
| 232 | HAVE_LIBXML2 | 215 | HAVE_LIBXML2 |
| 233 | HAVE_LIBXMU | 216 | HAVE_LIBXMU |
| 234 | HAVE_LINUX_VERSION_H | ||
| 235 | HAVE_LOCALTIME_R | 217 | HAVE_LOCALTIME_R |
| 236 | HAVE_LOCAL_SOCKETS | 218 | HAVE_LOCAL_SOCKETS |
| 237 | HAVE_LONG_FILE_NAMES | 219 | HAVE_LONG_FILE_NAMES |
| @@ -298,7 +280,6 @@ HAVE_SNPRINTF | |||
| 298 | HAVE_SOCKETS | 280 | HAVE_SOCKETS |
| 299 | HAVE_SOUND | 281 | HAVE_SOUND |
| 300 | HAVE_SOUNDCARD_H | 282 | HAVE_SOUNDCARD_H |
| 301 | HAVE_SPEED_T | ||
| 302 | HAVE_STDINT_H | 283 | HAVE_STDINT_H |
| 303 | HAVE_STDIO_EXT_H | 284 | HAVE_STDIO_EXT_H |
| 304 | HAVE_STDLIB_H | 285 | HAVE_STDLIB_H |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 8fdfe3965b1..592a41968db 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,8 +1,36 @@ | |||
| 1 | 2013-07-06 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * admin.el (manual-misc-manuals): New function. | ||
| 4 | (make-manuals): Avoid hard-coding list of misc manuals. | ||
| 5 | Add the option to only make certain type(s) of output. | ||
| 6 | (manual-misc-html): Special-case ccmode and efaq. | ||
| 7 | (manual-html-mono, manual-html-node, manual-pdf, manual-ps): | ||
| 8 | Move creation of output directory here from make-manuals. | ||
| 9 | (manual-html-fix-index-2): Avoid dynamic reference to `f'. | ||
| 10 | |||
| 11 | 2013-07-05 Glenn Morris <rgm@gnu.org> | ||
| 12 | |||
| 13 | * admin.el (make-manuals): Use a standard location for lispintro. | ||
| 14 | Use a pdf/ subdirectory for pdf versions. | ||
| 15 | |||
| 16 | 2013-06-29 Glenn Morris <rgm@gnu.org> | ||
| 17 | |||
| 18 | * admin.el (make-manuals): Don't bother with txt or dvi any more. | ||
| 19 | (manual-txt): Remove. | ||
| 20 | (manual-pdf): Doc fix. | ||
| 21 | (manual-ps): Rename from manual-dvi. | ||
| 22 | (manual-pdf, manual-ps): Work in the directory with the texi file, | ||
| 23 | so that TeX intermediate files go there rather than to PWD. | ||
| 24 | |||
| 25 | 2013-06-15 Xue Fuqiao <xfq.free@gmail.com> | ||
| 26 | |||
| 27 | * notes/changelogs: Mention trivial changes in Change Log. | ||
| 28 | |||
| 1 | 2013-06-13 Glenn Morris <rgm@gnu.org> | 29 | 2013-06-13 Glenn Morris <rgm@gnu.org> |
| 2 | 30 | ||
| 3 | * admin.el (manual-style-string): Use new file manual.css. | 31 | * admin.el (manual-style-string): Use new file manual.css. |
| 4 | 32 | ||
| 5 | 2013-06-02 Eric Ludlam <zappo@gnu.org> | 33 | 2013-06-02 Eric Ludlam <zappo@gnu.org> |
| 6 | 34 | ||
| 7 | * grammars/srecode-template.wy (variable): Accept a single number | 35 | * grammars/srecode-template.wy (variable): Accept a single number |
| 8 | as a variable value. Allows the 'priority' to be set to a number. | 36 | as a variable value. Allows the 'priority' to be set to a number. |
| @@ -154,7 +182,7 @@ | |||
| 154 | 182 | ||
| 155 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> | 183 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> |
| 156 | 184 | ||
| 157 | Fix permissions bugs with setgid directories etc. (Bug#13125) | 185 | Fix permissions bugs with setgid directories etc. (Bug#13125) |
| 158 | * CPP-DEFINES (BSD4_2): Remove. | 186 | * CPP-DEFINES (BSD4_2): Remove. |
| 159 | 187 | ||
| 160 | 2012-12-08 Paul Eggert <eggert@cs.ucla.edu> | 188 | 2012-12-08 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -286,7 +314,7 @@ | |||
| 286 | 314 | ||
| 287 | * grammars/grammar.wy (semantic-grammar-lexer): Remove, since it | 315 | * grammars/grammar.wy (semantic-grammar-lexer): Remove, since it |
| 288 | was copied to grammar.el. New %provide token to generate prefix | 316 | was copied to grammar.el. New %provide token to generate prefix |
| 289 | which conforms with Emacs conventions. Remove lexer definition, | 317 | which conforms with Emacs conventions. Remove lexer definition, |
| 290 | which is now in grammar.el. | 318 | which is now in grammar.el. |
| 291 | 319 | ||
| 292 | 2012-09-27 Glenn Morris <rgm@gnu.org> | 320 | 2012-09-27 Glenn Morris <rgm@gnu.org> |
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 1e4f9f3b48d..53186b21688 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -10,6 +10,28 @@ directory in the Emacs build tree: | |||
| 10 | emacs -Q --eval "(progn (require 'info) (setq Info-directory-list '(\".\")))" \ | 10 | emacs -Q --eval "(progn (require 'info) (setq Info-directory-list '(\".\")))" \ |
| 11 | -f info-xref-check-all | 11 | -f info-xref-check-all |
| 12 | 12 | ||
| 13 | Setting Info-directory-list avoids having system info pages confuse | ||
| 14 | things. References to external manuals will be flagged as | ||
| 15 | uncheckable. You should still check these, and also that each | ||
| 16 | external manual has an appropriate redirect in the file manual/.htaccess | ||
| 17 | in the web pages repository. E.g.: | ||
| 18 | Redirect /software/emacs/manual/html_mono/automake.html /software/automake/manual/automake.html | ||
| 19 | Redirect /software/emacs/manual/html_node/automake/ /software/automake/manual/html_node/ | ||
| 20 | |||
| 21 | Another tool you can use to check links is gnu.org's linc.py: | ||
| 22 | http://www.gnu.org/server/source/ | ||
| 23 | |||
| 24 | You run this something like: | ||
| 25 | |||
| 26 | cd /path/to/cvs/emacs-www | ||
| 27 | linc.py -o /path/to/output-dir --url http://www.gnu.org/software/emacs/ . | ||
| 28 | |||
| 29 | Be warned that it is really, really slow (as in, can take ~ a full day | ||
| 30 | to check the manual/ directory). It is probably best to run it on a | ||
| 31 | single directory at a time from eg manual/html_node. It is very | ||
| 32 | inefficient, but may reveal a few things that info-xref does not. | ||
| 33 | |||
| 34 | |||
| 13 | make emacs.dvi, elisp.dvi, and deal with any errors (undefined | 35 | make emacs.dvi, elisp.dvi, and deal with any errors (undefined |
| 14 | references etc) in the output. Break any overfull lines. | 36 | references etc) in the output. Break any overfull lines. |
| 15 | Underfull hboxes are not serious, but it can be nice to get rid of | 37 | Underfull hboxes are not serious, but it can be nice to get rid of |
diff --git a/admin/admin.el b/admin/admin.el index 8366207f5b0..927f68e978a 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -193,70 +193,82 @@ Root must be the root of an Emacs source tree." | |||
| 193 | 193 | ||
| 194 | ;;; Various bits of magic for generating the web manuals | 194 | ;;; Various bits of magic for generating the web manuals |
| 195 | 195 | ||
| 196 | (defun make-manuals (root) | 196 | (defun manual-misc-manuals (root) |
| 197 | "Generate the web manuals for the Emacs webpage." | 197 | "Return doc/misc manuals as list of strings." |
| 198 | (interactive "DEmacs root directory: ") | 198 | ;; Like `make -C doc/misc echo-info', but works if unconfigured. |
| 199 | (with-temp-buffer | ||
| 200 | (insert-file-contents (expand-file-name "doc/misc/Makefile.in" root)) | ||
| 201 | (search-forward "INFO_TARGETS = ") | ||
| 202 | (let ((start (point)) | ||
| 203 | res) | ||
| 204 | (end-of-line) | ||
| 205 | (while (and (looking-back "\\\\") | ||
| 206 | (zerop (forward-line 1))) | ||
| 207 | (end-of-line)) | ||
| 208 | (split-string (replace-regexp-in-string | ||
| 209 | "\\(\\\\\\|\\.info\\)" "" | ||
| 210 | (buffer-substring start (point))))))) | ||
| 211 | |||
| 212 | (defun make-manuals (root &optional type) | ||
| 213 | "Generate the web manuals for the Emacs webpage. | ||
| 214 | Interactively with a prefix argument, prompt for TYPE. | ||
| 215 | Optional argument TYPE is type of output (nil means all)." | ||
| 216 | (interactive (let ((root (read-directory-name "Emacs root directory: " | ||
| 217 | source-directory nil t))) | ||
| 218 | (list root | ||
| 219 | (if current-prefix-arg | ||
| 220 | (completing-read | ||
| 221 | "Type: " | ||
| 222 | (append | ||
| 223 | '("misc" "pdf" "ps") | ||
| 224 | (let (res) | ||
| 225 | (dolist (i '("emacs" "elisp" "eintr") res) | ||
| 226 | (dolist (j '("" "-mono" "-node" "-ps" "-pdf")) | ||
| 227 | (push (concat i j) res)))) | ||
| 228 | (manual-misc-manuals root))))))) | ||
| 199 | (let* ((dest (expand-file-name "manual" root)) | 229 | (let* ((dest (expand-file-name "manual" root)) |
| 200 | (html-node-dir (expand-file-name "html_node" dest)) | 230 | (html-node-dir (expand-file-name "html_node" dest)) |
| 201 | (html-mono-dir (expand-file-name "html_mono" dest)) | 231 | (html-mono-dir (expand-file-name "html_mono" dest)) |
| 202 | (txt-dir (expand-file-name "text" dest)) | 232 | (ps-dir (expand-file-name "ps" dest)) |
| 203 | (dvi-dir (expand-file-name "dvi" dest)) | 233 | (pdf-dir (expand-file-name "pdf" dest)) |
| 204 | (ps-dir (expand-file-name "ps" dest))) | 234 | (emacs (expand-file-name "doc/emacs/emacs.texi" root)) |
| 235 | (elisp (expand-file-name "doc/lispref/elisp.texi" root)) | ||
| 236 | (eintr (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root)) | ||
| 237 | (misc (manual-misc-manuals root))) | ||
| 238 | ;; TODO this makes it non-continuable. | ||
| 239 | ;; Instead, delete the individual dest directory each time. | ||
| 205 | (when (file-directory-p dest) | 240 | (when (file-directory-p dest) |
| 206 | (if (y-or-n-p (format "Directory %s exists, delete it first?" dest)) | 241 | (if (y-or-n-p (format "Directory %s exists, delete it first? " dest)) |
| 207 | (delete-directory dest t) | 242 | (delete-directory dest t) |
| 208 | (error "Aborted"))) | 243 | (user-error "Aborted"))) |
| 209 | (make-directory dest) | 244 | (if (member type '(nil "emacs" "emacs-node")) |
| 210 | (make-directory html-node-dir) | 245 | (manual-html-node emacs (expand-file-name "emacs" html-node-dir))) |
| 211 | (make-directory html-mono-dir) | 246 | (if (member type '(nil "emacs" "emacs-mono")) |
| 212 | (make-directory txt-dir) | 247 | (manual-html-mono emacs (expand-file-name "emacs.html" html-mono-dir))) |
| 213 | (make-directory dvi-dir) | 248 | (if (member type '(nil "emacs" "emacs-pdf" "pdf")) |
| 214 | (make-directory ps-dir) | 249 | (manual-pdf emacs (expand-file-name "emacs.pdf" pdf-dir))) |
| 215 | ;; Emacs manual | 250 | (if (member type '(nil "emacs" "emacs-ps" "ps")) |
| 216 | (let ((texi (expand-file-name "doc/emacs/emacs.texi" root))) | 251 | (manual-ps emacs (expand-file-name "emacs.ps" ps-dir))) |
| 217 | (manual-html-node texi (expand-file-name "emacs" html-node-dir)) | 252 | (if (member type '(nil "elisp" "elisp-node")) |
| 218 | (manual-html-mono texi (expand-file-name "emacs.html" html-mono-dir)) | 253 | (manual-html-node elisp (expand-file-name "elisp" html-node-dir))) |
| 219 | (manual-txt texi (expand-file-name "emacs.txt" txt-dir)) | 254 | (if (member type '(nil "elisp" "elisp-mono")) |
| 220 | (manual-pdf texi (expand-file-name "emacs.pdf" dest)) | 255 | (manual-html-mono elisp (expand-file-name "elisp.html" html-mono-dir))) |
| 221 | (manual-dvi texi (expand-file-name "emacs.dvi" dvi-dir) | 256 | (if (member type '(nil "elisp" "elisp-pdf" "pdf")) |
| 222 | (expand-file-name "emacs.ps" ps-dir))) | 257 | (manual-pdf elisp (expand-file-name "elisp.pdf" pdf-dir))) |
| 223 | ;; Lisp manual | 258 | (if (member type '(nil "elisp" "elisp-ps" "ps")) |
| 224 | (let ((texi (expand-file-name "doc/lispref/elisp.texi" root))) | 259 | (manual-ps elisp (expand-file-name "elisp.ps" ps-dir))) |
| 225 | (manual-html-node texi (expand-file-name "elisp" html-node-dir)) | 260 | (if (member type '(nil "eintr" "eintr-node")) |
| 226 | (manual-html-mono texi (expand-file-name "elisp.html" html-mono-dir)) | 261 | (manual-html-node eintr (expand-file-name "eintr" html-node-dir))) |
| 227 | (manual-txt texi (expand-file-name "elisp.txt" txt-dir)) | 262 | (if (member type '(nil "eintr" "eintr-node")) |
| 228 | (manual-pdf texi (expand-file-name "elisp.pdf" dest)) | 263 | (manual-html-mono eintr (expand-file-name "eintr.html" html-mono-dir))) |
| 229 | (manual-dvi texi (expand-file-name "elisp.dvi" dvi-dir) | 264 | (if (member type '(nil "eintr" "eintr-pdf" "pdf")) |
| 230 | (expand-file-name "elisp.ps" ps-dir))) | 265 | (manual-pdf eintr (expand-file-name "eintr.pdf" pdf-dir))) |
| 231 | (let ((texi (expand-file-name "doc/lispintro/emacs-lisp-intro.texi" root)) | 266 | (if (member type '(nil "eintr" "eintr-ps" "ps")) |
| 232 | (dest (expand-file-name "emacs-lisp-intro" dest)) | 267 | (manual-ps eintr (expand-file-name "eintr.ps" ps-dir))) |
| 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))) | ||
| 247 | ;; Misc manuals | 268 | ;; Misc manuals |
| 248 | (let ((manuals '("ada-mode" "auth" "autotype" "bovine" "calc" "cc-mode" | 269 | (dolist (manual misc) |
| 249 | "cl" "dbus" "dired-x" "ebrowse" "ede" "ediff" | 270 | (if (member type `(nil ,manual "misc")) |
| 250 | "edt" "eieio" "emacs-gnutls" "emacs-mime" "epa" "erc" "ert" | 271 | (manual-misc-html manual root html-node-dir html-mono-dir))) |
| 251 | "eshell" "eudc" "faq" "flymake" "forms" | ||
| 252 | "gnus" "htmlfontify" "idlwave" "info" | ||
| 253 | "mairix-el" "message" "mh-e" "newsticker" | ||
| 254 | "nxml-mode" "org" "pcl-cvs" "pgg" "rcirc" | ||
| 255 | "reftex" "remember" "sasl" "sc" "semantic" | ||
| 256 | "ses" "sieve" "smtpmail" "speedbar" "srecode" "tramp" | ||
| 257 | "url" "vip" "viper" "widget" "wisent" "woman"))) | ||
| 258 | (dolist (manual manuals) | ||
| 259 | (manual-misc-html manual root html-node-dir html-mono-dir))) | ||
| 260 | (message "Manuals created in %s" dest))) | 272 | (message "Manuals created in %s" dest))) |
| 261 | 273 | ||
| 262 | (defconst manual-doctype-string | 274 | (defconst manual-doctype-string |
| @@ -274,7 +286,12 @@ Root must be the root of an Emacs source tree." | |||
| 274 | @import url('/s/emacs/manual.css');\n</style>\n") | 286 | @import url('/s/emacs/manual.css');\n</style>\n") |
| 275 | 287 | ||
| 276 | (defun manual-misc-html (name root html-node-dir html-mono-dir) | 288 | (defun manual-misc-html (name root html-node-dir html-mono-dir) |
| 277 | (let ((texi (expand-file-name (format "doc/misc/%s.texi" name) root))) | 289 | ;; Hack to deal with the cases where .texi creates a different .info. |
| 290 | ;; Blech. TODO Why not just rename the .texi files? | ||
| 291 | (let* ((texiname (cond ((equal name "ccmode") "cc-mode") | ||
| 292 | ((equal name "efaq") "faq") | ||
| 293 | (t name))) | ||
| 294 | (texi (expand-file-name (format "doc/misc/%s.texi" texiname) root))) | ||
| 278 | (manual-html-node texi (expand-file-name name html-node-dir)) | 295 | (manual-html-node texi (expand-file-name name html-node-dir)) |
| 279 | (manual-html-mono texi (expand-file-name (concat name ".html") | 296 | (manual-html-mono texi (expand-file-name (concat name ".html") |
| 280 | html-mono-dir)))) | 297 | html-mono-dir)))) |
| @@ -284,6 +301,7 @@ Root must be the root of an Emacs source tree." | |||
| 284 | This function also edits the HTML files so that they validate as | 301 | This function also edits the HTML files so that they validate as |
| 285 | HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using | 302 | HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using |
| 286 | the @import directive." | 303 | the @import directive." |
| 304 | (make-directory (or (file-name-directory dest) ".") t) | ||
| 287 | (call-process "makeinfo" nil nil nil | 305 | (call-process "makeinfo" nil nil nil |
| 288 | "-D" "WWW_GNU_ORG" | 306 | "-D" "WWW_GNU_ORG" |
| 289 | "-I" (expand-file-name "../emacs" | 307 | "-I" (expand-file-name "../emacs" |
| @@ -310,6 +328,7 @@ HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using | |||
| 310 | the @import directive." | 328 | the @import directive." |
| 311 | (unless (file-exists-p texi-file) | 329 | (unless (file-exists-p texi-file) |
| 312 | (error "Manual file %s not found" texi-file)) | 330 | (error "Manual file %s not found" texi-file)) |
| 331 | (make-directory dir t) | ||
| 313 | (call-process "makeinfo" nil nil nil | 332 | (call-process "makeinfo" nil nil nil |
| 314 | "-D" "WWW_GNU_ORG" | 333 | "-D" "WWW_GNU_ORG" |
| 315 | "-I" (expand-file-name "../emacs" | 334 | "-I" (expand-file-name "../emacs" |
| @@ -344,37 +363,25 @@ the @import directive." | |||
| 344 | (manual-html-fix-node-div)) | 363 | (manual-html-fix-node-div)) |
| 345 | (save-buffer)))))) | 364 | (save-buffer)))))) |
| 346 | 365 | ||
| 347 | (defun manual-txt (texi-file dest) | ||
| 348 | "Run Makeinfo on TEXI-FILE, emitting plaintext output to DEST." | ||
| 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)) | ||
| 354 | "--plaintext" "--no-split" texi-file "-o" dest) | ||
| 355 | (shell-command (concat "gzip -c " dest " > " (concat dest ".gz")))) | ||
| 356 | |||
| 357 | (defun manual-pdf (texi-file dest) | 366 | (defun manual-pdf (texi-file dest) |
| 358 | "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST." | 367 | "Run texi2pdf on TEXI-FILE, emitting pdf output to DEST." |
| 359 | (call-process "texi2pdf" nil nil nil | 368 | (make-directory (or (file-name-directory dest) ".") t) |
| 360 | "-I" (expand-file-name "../emacs" | 369 | (let ((default-directory (file-name-directory texi-file))) |
| 361 | (file-name-directory texi-file)) | 370 | (call-process "texi2pdf" nil nil nil |
| 362 | "-I" (expand-file-name "../misc" | 371 | "-I" "../emacs" "-I" "../misc" |
| 363 | (file-name-directory texi-file)) | 372 | texi-file "-o" dest))) |
| 364 | texi-file "-o" dest)) | 373 | |
| 365 | 374 | (defun manual-ps (texi-file dest) | |
| 366 | (defun manual-dvi (texi-file dest ps-dest) | 375 | "Generate a PostScript version of TEXI-FILE as DEST." |
| 367 | "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST. | 376 | (make-directory (or (file-name-directory dest) ".") t) |
| 368 | Also generate PostScript output in PS-DEST." | 377 | (let ((dvi-dest (concat (file-name-sans-extension dest) ".dvi")) |
| 369 | (call-process "texi2dvi" nil nil nil | 378 | (default-directory (file-name-directory texi-file))) |
| 370 | "-I" (expand-file-name "../emacs" | 379 | (call-process "texi2dvi" nil nil nil |
| 371 | (file-name-directory texi-file)) | 380 | "-I" "../emacs" "-I" "../misc" |
| 372 | "-I" (expand-file-name "../misc" | 381 | texi-file "-o" dvi-dest) |
| 373 | (file-name-directory texi-file)) | 382 | (call-process "dvips" nil nil nil dvi-dest "-o" dest) |
| 374 | texi-file "-o" dest) | 383 | (delete-file dvi-dest) |
| 375 | (call-process "dvips" nil nil nil dest "-o" ps-dest) | 384 | (call-process "gzip" nil nil nil dest))) |
| 376 | (call-process "gzip" nil nil nil dest) | ||
| 377 | (call-process "gzip" nil nil nil ps-dest)) | ||
| 378 | 385 | ||
| 379 | (defun manual-html-fix-headers () | 386 | (defun manual-html-fix-headers () |
| 380 | "Fix up HTML headers for the Emacs manual in the current buffer." | 387 | "Fix up HTML headers for the Emacs manual in the current buffer." |
| @@ -478,7 +485,8 @@ Also generate PostScript output in PS-DEST." | |||
| 478 | (setq done t)) | 485 | (setq done t)) |
| 479 | (t | 486 | (t |
| 480 | (if (eobp) | 487 | (if (eobp) |
| 481 | (error "Parse error in %s" f)) ; f is bound in manual-html-node | 488 | (error "Parse error in %s" |
| 489 | (file-name-nondirectory buffer-file-name))) | ||
| 482 | (unless open-td | 490 | (unless open-td |
| 483 | (setq done t)))) | 491 | (setq done t)))) |
| 484 | (forward-line 1)))) | 492 | (forward-line 1)))) |
diff --git a/admin/notes/changelogs b/admin/notes/changelogs index 2e954570ce8..ae9ce40aa0a 100644 --- a/admin/notes/changelogs +++ b/admin/notes/changelogs | |||
| @@ -3,8 +3,9 @@ entry in their name, not yours. | |||
| 3 | 3 | ||
| 4 | 4 | ||
| 5 | http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg00793.html | 5 | http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg00793.html |
| 6 | There is no need to make change log entries for files such as NEWS, | 6 | http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00485.html |
| 7 | MAINTAINERS, and FOR-RELEASE. | 7 | There is no need to make trivial change log entries for files such |
| 8 | as NEWS, MAINTAINERS, and FOR-RELEASE. | ||
| 8 | 9 | ||
| 9 | http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg01135.html | 10 | http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg01135.html |
| 10 | There is no need to indicate regeneration of files such as configure | 11 | There is no need to indicate regeneration of files such as configure |
diff --git a/admin/notes/www b/admin/notes/www new file mode 100644 index 00000000000..0bb0850af0d --- /dev/null +++ b/admin/notes/www | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | -*- outline -*- | ||
| 2 | |||
| 3 | Copyright (C) 2013 Free Software Foundation, Inc. | ||
| 4 | See the end of the file for license conditions. | ||
| 5 | |||
| 6 | NOTES FOR EMACS WWW PAGES | ||
| 7 | |||
| 8 | * Renaming pages, redirects | ||
| 9 | |||
| 10 | Sometimes you want to move a page to a new location. | ||
| 11 | If the old location might be referenced somewhere else, you should add | ||
| 12 | some form of redirect to the new location. There are several ways to | ||
| 13 | do this: | ||
| 14 | |||
| 15 | ** Use a refresh directive in the old file | ||
| 16 | https://www.gnu.org/server/standards/README.webmastering.html#htaccess | ||
| 17 | |||
| 18 | Change the entire contents of the old file to be something like: | ||
| 19 | |||
| 20 | <meta http-equiv="refresh" content="0; url=/software/emacs/manual/elisp.html"> | ||
| 21 | |||
| 22 | I can't think of any reason to use this method. | ||
| 23 | |||
| 24 | ** Use a .symlinks file | ||
| 25 | https://www.gnu.org/server/standards/README.webmastering.html#symlinks | ||
| 26 | |||
| 27 | This is really an interface to mod_rewrite rules, but it acts like | ||
| 28 | symlinks. Remove old-page.html altogether, and create a ".symlinks" | ||
| 29 | file in the relevant directory, with contents of the form: | ||
| 30 | |||
| 31 | # This is a comment line. | ||
| 32 | old-page.html new-page.html | ||
| 33 | |||
| 34 | Anyone visiting old-page.html will be shown the contents of new-page.html. | ||
| 35 | Note that changes to .symlinks file are only updated periodically on | ||
| 36 | the server via cron (twice an hour?). So there will be a delay (of up | ||
| 37 | to 30 minutes?) before you see your changes take effect. | ||
| 38 | |||
| 39 | This method is ok, but: | ||
| 40 | i) a person visiting old-page.html has no idea that the page has moved. | ||
| 41 | They still see old-page.html in their address bar. (In other words, | ||
| 42 | the mod_rewrite rule does not use the [R] flag.) Sometimes this is | ||
| 43 | what you want, sometimes not. | ||
| 44 | |||
| 45 | ii) it doesn't work right if the new page is in a different directory | ||
| 46 | to the old page: relative links from the visited page will break. | ||
| 47 | |||
| 48 | ** Use a .htaccess file | ||
| 49 | |||
| 50 | Remove old-page.html altogether, and create a ".htaccess" file in the | ||
| 51 | relevant directory, with contents of the form: | ||
| 52 | |||
| 53 | # This is a comment line. | ||
| 54 | Redirect 301 /software/emacs/old-page.html /software/emacs/dir/new-page.html | ||
| 55 | |||
| 56 | Use "301" for a permanent redirection, otherwise you can omit the number. | ||
| 57 | Note that paths must (?) be relative to the top-level www.gnu.org. | ||
| 58 | |||
| 59 | I think this is the best method. You can specify temporary or | ||
| 60 | permanent redirects, and changes go live more-or-less straight away. | ||
| 61 | |||
| 62 | This method is useful for making cross-references to non-Emacs manuals | ||
| 63 | work; see manual/.htaccess in the repository. You only have to add a | ||
| 64 | single redirect for every given external manual, you can redirect | ||
| 65 | html_node to hmtl_node and html_mono to html_mono. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | This file is part of GNU Emacs. | ||
| 70 | |||
| 71 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 72 | it under the terms of the GNU General Public License as published by | ||
| 73 | the Free Software Foundation, either version 3 of the License, or | ||
| 74 | (at your option) any later version. | ||
| 75 | |||
| 76 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 77 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 78 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 79 | GNU General Public License for more details. | ||
| 80 | |||
| 81 | You should have received a copy of the GNU General Public License | ||
| 82 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
diff --git a/admin/nt/README-ftp-server b/admin/nt/README-ftp-server index 5983a0f9617..3a21733747d 100644 --- a/admin/nt/README-ftp-server +++ b/admin/nt/README-ftp-server | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | Copyright (C) 2001-2013 Free Software Foundation, Inc. | 1 | Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 2 | See the end of the file for license conditions. | 2 | See the end of the file for license conditions. |
| 3 | 3 | ||
| 4 | Precompiled Distributions of | 4 | Precompiled Distributions of |
| 5 | Emacs for Windows | 5 | Emacs for Windows |
| 6 | 6 | ||
| 7 | Version 24.1 | 7 | Version 24.3 |
| 8 | 8 | ||
| 9 | January 1, 2011 | 9 | March 18, 2013 |
| 10 | 10 | ||
| 11 | This directory contains precompiled distributions for GNU Emacs on | 11 | This directory contains precompiled distributions for GNU Emacs on |
| 12 | Windows (versions before Windows 95 and NT4 are not supported). | 12 | Windows (versions before Windows 95 and NT4 are not supported). |
| @@ -14,7 +14,7 @@ See the end of the file for license conditions. | |||
| 14 | Free Software Foundation; the precompiled distributions are provided | 14 | Free Software Foundation; the precompiled distributions are provided |
| 15 | here for convenience since the majority of Windows users are not | 15 | here for convenience since the majority of Windows users are not |
| 16 | accustomed to compiling programs themselves. Corresponding source | 16 | accustomed to compiling programs themselves. Corresponding source |
| 17 | can be found in the parent directory in emacs-24.1.tar.gz. | 17 | can be found in the parent directory in emacs-24.3.tar.gz. |
| 18 | 18 | ||
| 19 | If you have access to the World Wide Web, I would recommend pointing | 19 | If you have access to the World Wide Web, I would recommend pointing |
| 20 | your favorite web browser to the following document (if you haven't | 20 | your favorite web browser to the following document (if you haven't |
| @@ -26,9 +26,9 @@ See the end of the file for license conditions. | |||
| 26 | 26 | ||
| 27 | If you want to redistribute any of the precompiled distributions of | 27 | If you want to redistribute any of the precompiled distributions of |
| 28 | Emacs, be careful to check the implications of the GPL. For instance, | 28 | Emacs, be careful to check the implications of the GPL. For instance, |
| 29 | if you put the emacs-24.1-bin-i386.tar.gz file from this directory on | 29 | if you put the emacs-24.3-bin-i386.zip file from this directory on |
| 30 | an Internet site, you must arrange to distribute the source files of | 30 | an Internet site, you must arrange to distribute the source files of |
| 31 | the SAME version (i.e. ../emacs-24.1.tar.gz). | 31 | the SAME version (i.e. ../emacs-24.3.tar.gz). |
| 32 | 32 | ||
| 33 | Making a link to our copy of the source is NOT sufficient, since we | 33 | Making a link to our copy of the source is NOT sufficient, since we |
| 34 | might upgrade to a new version while you are still distributing the | 34 | might upgrade to a new version while you are still distributing the |
| @@ -37,8 +37,8 @@ See the end of the file for license conditions. | |||
| 37 | 37 | ||
| 38 | * Files in this directory | 38 | * Files in this directory |
| 39 | 39 | ||
| 40 | + emacs-24.1-bin-i386.zip | 40 | + emacs-24.3-bin-i386.zip |
| 41 | Windows binaries of Emacs-24.1, with all lisp code and documentation | 41 | Windows binaries of Emacs-24.3, with all lisp code and documentation |
| 42 | included. | 42 | included. |
| 43 | 43 | ||
| 44 | Download this file if you want a single installation package, and | 44 | Download this file if you want a single installation package, and |
| @@ -49,21 +49,12 @@ See the end of the file for license conditions. | |||
| 49 | If you need the C source code at a later date, it will be safe to | 49 | If you need the C source code at a later date, it will be safe to |
| 50 | unpack the source distribution on top of this installation. | 50 | unpack the source distribution on top of this installation. |
| 51 | 51 | ||
| 52 | + emacs-24.1-barebin-i386.zip | 52 | + libXpm-3.5.8-w32-src.zip |
| 53 | Windows binaries of Emacs-24.1, without lisp code or documentation. | 53 | Source code required to compile libXpm-3.5.8 on Windows. Contains |
| 54 | |||
| 55 | Download this file if you already have the source distribution. | ||
| 56 | |||
| 57 | Unpack this over the top of the source distribution. It contains the | ||
| 58 | bin subdirectory and etc/DOC file. | ||
| 59 | |||
| 60 | + libxpm-3.5.7-w32-src.zip | ||
| 61 | Source code required to compile libXpm-3.5.7 on Windows. Contains | ||
| 62 | a basic Makefile for compiling with mingw32 and a .def file for | 54 | a basic Makefile for compiling with mingw32 and a .def file for |
| 63 | generating a DLL with the appropriate exports in addition to the | 55 | generating a DLL with the appropriate exports in addition to the |
| 64 | source code to provide the subset of functionality Emacs uses from | 56 | source code to provide the subset of functionality Emacs uses from |
| 65 | libXpm. This corresponds to the libXpm.dll in emacs-24.1-bin-i386.zip | 57 | libXpm. This corresponds to the libXpm.dll in emacs-24.3-bin-i386.zip. |
| 66 | and emacs-24.1-barebin-i386.zip. | ||
| 67 | 58 | ||
| 68 | * Prerequisites for running Emacs on Windows 9X | 59 | * Prerequisites for running Emacs on Windows 9X |
| 69 | 60 | ||
| @@ -73,7 +64,7 @@ See the end of the file for license conditions. | |||
| 73 | 64 | ||
| 74 | * Image support | 65 | * Image support |
| 75 | 66 | ||
| 76 | Emacs 24.1 contains support for images, however for most image | 67 | Emacs 24.3 contains support for images, however for most image |
| 77 | formats supporting libraries are required. This distribution has | 68 | formats supporting libraries are required. This distribution has |
| 78 | been tested with the libraries that are distributed with GTK for | 69 | been tested with the libraries that are distributed with GTK for |
| 79 | Windows (http://www.gtk.org/download/win32.php), and the libraries | 70 | Windows (http://www.gtk.org/download/win32.php), and the libraries |
| @@ -112,6 +103,16 @@ See the end of the file for license conditions. | |||
| 112 | as well as the base librsvg library. Known to crash Emacs on many | 103 | as well as the base librsvg library. Known to crash Emacs on many |
| 113 | sample images. | 104 | sample images. |
| 114 | 105 | ||
| 106 | * XML support | ||
| 107 | |||
| 108 | In order to support XML via libxml2 at runtime, a libxml2-enabled | ||
| 109 | Emacs must be able to find the relevant DLLs during startup; failure | ||
| 110 | to do so is not an error, but libxml2 features won't be available to | ||
| 111 | the running session. | ||
| 112 | |||
| 113 | You can get pre-built binaries (including any required DLL and the | ||
| 114 | header files) at http://sourceforge.net/projects/ezwinports/files/. | ||
| 115 | |||
| 115 | * Distributions in .tar.gz and .zip format | 116 | * Distributions in .tar.gz and .zip format |
| 116 | 117 | ||
| 117 | Emacs is distributed primarily as source code in a large gzipped tar | 118 | Emacs is distributed primarily as source code in a large gzipped tar |
| @@ -238,7 +239,7 @@ See the end of the file for license conditions. | |||
| 238 | This document serves as an FAQ and a source for further information | 239 | This document serves as an FAQ and a source for further information |
| 239 | about the Windows port and related software packages. Note that as | 240 | about the Windows port and related software packages. Note that as |
| 240 | most of the information in that FAQ is for earlier versions, so some | 241 | most of the information in that FAQ is for earlier versions, so some |
| 241 | information may not be relevant to Emacs-24.1. | 242 | information may not be relevant to Emacs-24.3. |
| 242 | 243 | ||
| 243 | In addition to the FAQ, there is a mailing list for discussing issues | 244 | In addition to the FAQ, there is a mailing list for discussing issues |
| 244 | related to the Windows port of Emacs. For information about the | 245 | related to the Windows port of Emacs. For information about the |
| @@ -268,11 +269,8 @@ See the end of the file for license conditions. | |||
| 268 | 269 | ||
| 269 | Enjoy! | 270 | Enjoy! |
| 270 | 271 | ||
| 271 | Jason Rumney | 272 | Most of this README was contributed by former maintainers Andrew Innes |
| 272 | (jasonr@gnu.org) | 273 | (andrewi@gnu.org) and Jason Rumney (jasonr@gnu.org). |
| 273 | |||
| 274 | Most of this README was contributed by former maintainer Andrew Innes | ||
| 275 | (andrewi@gnu.org) | ||
| 276 | 274 | ||
| 277 | 275 | ||
| 278 | This file is part of GNU Emacs. | 276 | This file is part of GNU Emacs. |