aboutsummaryrefslogtreecommitdiffstats
path: root/admin/charsets (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don’t attempt to modify constant consesPaul Eggert2020-05-162-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | From a patch privately suggested by Mattias Engdegård on 2020-05-11 in a followup to Bug#40671. * admin/charsets/cp51932.awk: * admin/charsets/eucjp-ms.awk: Generate code that does not modify constant conses. * doc/misc/emacs-mime.texi (Encoding Customization): * lisp/emacs-lisp/byte-opt.el (byte-compile-side-effect-free-ops): * lisp/frameset.el (frameset-persistent-filter-alist): * lisp/gnus/gnus-sum.el (gnus-article-mode-line-format-alist): Use append instead of nconc. * lisp/language/japanese.el (japanese-ucs-cp932-to-jis-map) (jisx0213-to-unicode): Use mapcar instead of mapc. * lisp/language/lao-util.el (lao-transcription-consonant-alist) (lao-transcription-vowel-alist): * lisp/language/tibetan.el (tibetan-subjoined-transcription-alist): Use copy-sequence. * test/src/fns-tests.el (fns-tests-nreverse): (fns-tests-sort, fns-tests-collate-sort) (fns-tests-string-version-lessp, fns-tests-mapcan): Use copy-sequence, vector, and list.
* Update copyright year to 2020Paul Eggert2020-01-013-3/+3
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Update some URLsPaul Eggert2019-09-235-13/+13
| | | | | | | | | | | | | | | | | This mostly changes http: to https: in URLs. It also updates some URLs that have moved, removes some URLs that no longer work, recommends against using procmail (procmail.org no longer works), and removes some mentions of the no-longer-existing Gmane, LPF and VTW. It doesn't update all URLs, just the ones I had time for. * GNUmakefile (help): * admin/admin.el (manual-doctype-string): * admin/charsets/Makefile.in (${charsetdir}/ALTERNATIVNYJ.map): * admin/charsets/mapconv: * lisp/net/soap-client.el (soap-create-envelope): * lisp/org/org.el (org-doi-server-url): * lisp/textmodes/bibtex.el (bibtex-generate-url-list): Prefer https: to http: un URLs.
* Fix [[:xdigit:]] glitch on SolarisPaul Eggert2019-07-061-1/+1
| | | | | * admin/charsets/mapconv: Revert this [[:xdigit:]] change. Solaris 10 ‘sed’ does not support [[:xdigit:]].
* Replace manually crafted hex regexes with [:xdigit:]Konstantin Kharlamov2019-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/charsets/mapconv: * build-aux/gitlog-to-changelog (parse_amend_file, git_dir_option): * lisp/progmodes/verilog-mode.el (verilog-delay-re): (verilog-type-font-keywords, verilog-read-always-signals-recurse): (verilog-is-number): * lisp/progmodes/vera-mode.el (vera-font-lock-keywords): * test/src/emacs-module-tests.el (mod-test-sum-test): * lisp/xml.el: (xml--entity-replacement-text): * lisp/version.el (emacs-repository-version-git): * lisp/textmodes/sgml-mode.el (sgml-quote): * lisp/textmodes/css-mode.el (css-escapes-re) (css--colors-regexp): * lisp/progmodes/prolog.el (prolog-syntax-propertize-function): * lisp/progmodes/hideif.el (hif-token-regexp, hif-tokenize): * lisp/progmodes/ebnf-dtd.el: (ebnf-dtd-attlistdecl) (ebnf-dtd-entitydecl, ebnf-dtd-lex): * lisp/progmodes/ebnf-ebx.el (ebnf-ebx-hex-character): * lisp/progmodes/ebnf-abn.el (ebnf-abn-character): * lisp/progmodes/cperl-mode.el (cperl-highlight-charclass) (cperl-find-pods-heres): * lisp/progmodes/cc-mode.el (c-maybe-quoted-number-head) (c-maybe-quoted-number, c-parse-quotes-before-change) (c-parse-quotes-after-change, c-quoted-number-head-before-point) (c-quoted-number-straddling-point): * lisp/progmodes/ada-mode.el (featurep, ada-in-numeric-literal-p) (ada-font-lock-keywords): * lisp/org/org-mobile.el (org-mobile-copy-agenda-files) * lisp/org/org-table.el (org-table-number-regexp): (org-mobile-update-checksum-for-capture-file): * lisp/nxml/xsd-regexp.el (xsdre-gen-categories): * lisp/nxml/xmltok.el (let*): * lisp/nxml/rng-xsd.el (rng-xsd-convert-hex-binary) (rng-xsd-convert-any-uri): * lisp/nxml/rng-uri.el (rng-uri-file-name-1) (rng-uri-unescape-multibyte, rng-uri-unescape-unibyte) (rng-uri-unescape-unibyte-match) (rng-uri-unescape-unibyte-replace): * lisp/nxml/rng-cmpct.el (rng-c-process-escapes): * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set): * lisp/net/shr-color.el (shr-color->hexadecimal): * lisp/mail/rfc2231.el (rfc2231-decode-encoded-string): * lisp/international/mule-cmds.el (read-char-by-name): * lisp/htmlfontify.el (hfy-hex-regex): * lisp/gnus/nneething.el (nneething-decode-file-name): * lisp/gnus/mml-sec.el (mml-secure-find-usable-keys): * lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist): * lisp/faces.el (read-color): * lisp/epg.el (epg--status-ERRSIG, epg--status-VALIDSIG) (epg--status-SIG_CREATED, epg--decode-percent-escape) (epg--decode-hexstring, epg--decode-quotedstring) (epg-dn-from-string): * lisp/emulation/cua-rect.el (cua-incr-rectangle): * lisp/dnd.el (dnd-unescape-uri): * lisp/cedet/semantic/lex.el (semantic-lex-number-expression): * lisp/cedet/semantic/java.el (semantic-java-number-regexp): * lisp/calc/calc-lang.el (pascal): * lisp/calc/calc-ext.el (math-read-number-fancy): * lisp/calc/calc-aent.el (math-read-token): Replace various combinations of [0-9a-fA-F] with [[:xdigit:]]. (Bug#36167)
* Fix out-of-source make-dist problemsPaul Eggert2019-06-081-6/+6
| | | | | | | | | | | | | Problem with jisx2131-filter reported by Phillip Lord in: https://lists.gnu.org/r/emacs-devel/2019-06/msg00147.html * admin/charsets/Makefile.in (SED_SCRIPT): Put it in $(srcdir), which is not necessarily the working directory. ($(SED_SCRIPT)): Rename from jisx2131-filter. All uses changed. (clean): Do not remove SED_SCRIPT. (extraclean): Remove it here instead. * make-dist (possibly_non_vc_files): Remove src/emacs-module.h. Although it is portable and could be distributed in the tarball, it's too much hassle to do that, so let each builder make it.
* Update copyright year to 2019Paul Eggert2019-01-013-3/+3
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Update copyright year to 2018Paul Eggert2018-01-013-3/+3
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-1311-15/+11
| | | | | | | | | | | | | 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.
* Update copyright year to 2017Paul Eggert2016-12-313-3/+3
| | | | Run admin/update-copyright.
* Update copyright year to 2016Paul Eggert2016-01-013-3/+3
| | | | Run admin/update-copyright.
* Use ‘echo’ safely with ‘\’ or leading ‘-’Paul Eggert2015-10-101-3/+2
| | | | | | | | | | | | | | | | | | | | | | POSIX says that ‘echo FOO’ produces implementation-defined output if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU behavior in that case. * Makefile.in (removenullpaths): Remove. (epaths-force): Rewrite to avoid the need for ‘echo’. (install-etc): Be clearer about escaping the shell metacharacters ‘\’ and ‘$’. * Makefile.in (install-arch-indep, install-etcdoc): * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config: * admin/quick-install-emacs, build-aux/gitlog-to-emacslog: * configure.ac, lib-src/rcs2log, make-dist: * src/Makefile.in (lisp.mk): Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed. For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’ if $foo can contain arbitrary characters. * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues. * doc/lispref/two-volume.make (vol1.pdf): * test/etags/make-src/Makefile (web ftp publish): Use ‘printf’ rather than ‘echo -e’.
* Minor quoting fixes in scripts and docPaul Eggert2015-09-161-2/+1
| | | | | | Prefer straight quotes in random script files, as they are not converted. Prefer grave quotes in a couple of places in the manual that were missed earlier, as these quotes are converted.
* Minor backslash fixes in manuals and scriptsPaul Eggert2015-09-163-8/+5
| | | | | | | | | | | | * Makefile.in (install-arch-indep): * admin/charsets/compact.awk: * admin/charsets/gb180302.awk (gb_to_index): * admin/charsets/gb180304.awk (gb_to_index): Avoid undefined behavior in Awk regular expression backslashes. * doc/misc/efaq.texi (Matching parentheses): Omit unnecessary backslashes. * doc/misc/gnus-faq.texi (FAQ 5-8): Avoid undefined behavior in suggested sed backslash usage.
* No need for cp51932.el, eucjp-ms.el to not be compiled any more.Glenn Morris2015-06-152-2/+2
| | | | | | | * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk: Don't set no-byte-compile in the outputs. * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
* Remove charset map files from repository, generate in first bootstrapGlenn Morris2015-05-232-3/+6
| | | | | | | | | | | | | | | * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New. (all): Create the stamp file. (extraclean): Delete the stamp file. * src/Makefile.in (lispintdir, charsets): New variables. (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}): New rules. (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets. * lisp/international/cp51932.el, lisp/international/eucjp-ms.el: * etc/charsets/*.map: Remove from repository. ; * admin/charsets/mapconv: Fix typo in output comment. ; * etc/charsets/README: Small update. ; * .gitignore: Update for charset changes.
* * admin/charsets/glibc/: New directory, imported from glibc 2.21.Glenn Morris2015-05-23105-21/+5
| | | | | | | * admin/charsets/Makefile.in (GLIBC_CHARMAPS): Change to included version. (LOCAL, local, totalclean): Remove. (extraclean): Delete all generated files.
* * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.Glenn Morris2015-05-221-1/+1
|
* * admin/charsets/mapconv (LC_ALL): Set to C.Glenn Morris2015-05-221-0/+5
|
* * admin/charsets/Makefile.in (LOCAL, local): Fix members.Glenn Morris2015-05-221-2/+1
|
* Generate admin/charsets Makefile via configure, and make more portable.Glenn Morris2015-05-214-337/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile. (admin/charsets/Makefile): Generate it. * admin/charsets/Makefile.in: Rename from Makefile. (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY): New variables, set by configure. (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_) (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0) (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932) (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables. (TRANS_TABLE, CHARSETS): Add directory prefix to value. (all): Declare PHONY. (local): New PHONY target. (map_template): New template. Use to define short PHONY aliases. (*.map): Add directory prefixes to targets and prerequisites. Respect make verbosity. (JISC6226.map): Replace non-portable sed append without newline. (install): Remove rule. (clean): Only delete temporary sedscript. (bootstrap-clean, distclean, maintainer-clean, extraclean) (totalclean): New PHONY rules. * admin/charsets/mapconv (BASE): Replace basename with expr. (FILE): Add "mapfiles" subdirectory. (AWK): New variable. Use throughout in place of "awk". (main): Use "gunzip -c" in place of "zcat". Don't leave whitespace before "p", for older sed. * admin/charsets/mapfiles/PTCP154: Add final newline, to make older sed versions happy. ; * .gitignore: Ignore admin/charsets/Makefile.
* Tweak japanese.el's loading of dependencies.Glenn Morris2015-05-152-0/+4
| | | | | | | | | * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms. * lisp/language/japanese.el: Use require rather than load. * lisp/international/cp51932.el, lisp/international/eucjp-ms.el: Provide a feature. * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk: Provide a feature in the generated file.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* .gitignore cleanup.Paul Eggert2014-11-171-2/+0
| | | | | | | | | | | | | | | | | | | * .gitignore: Merge contents of subsidiary files and organize the result so as to avoid duplication. Remove no-longer needed entries. * admin/charsets/.gitignore, admin/unidata/.gitignore: * doc/lispintro/.gitignore, etc/.gitignore, leim/.gitignore: * leim/ja-dic/.gitignore, lib-src/.gitignore, lisp/.gitignore: * lisp/calc/.gitignore, lisp/calendar/.gitignore: * lisp/cedet/.gitignore, lisp/emulation/.gitignore: * lisp/erc/.gitignore, lisp/eshell/.gitignore, lisp/gnus/.gitignore: * lisp/international/.gitignore, lisp/language/.gitignore: * lisp/leim/.gitignore, lisp/leim/quail/.gitignore: * lisp/mail/.gitignore, lisp/mh-e/.gitignore, lisp/net/.gitignore: * lisp/nxml/.gitignore, lisp/obsolete/.gitignore: * lisp/play/.gitignore, lisp/progmodes/.gitignore: * lisp/term/.gitignore, lisp/textmodes/.gitignore: * lisp/url/.gitignore, nt/.gitignore, src/.gitignore: Remove; no longer needed.
* Fix copyright license notices for Adobe Unicode mapping files.Paul Eggert2014-01-153-39/+60
| | | | | | | | | * charsets/mapfiles/README: The copied files are not compressed. Check for copies as of today. * charsets/mapfiles/stdenc.txt, charsets/mapfiles/symbol.txt: Update from table version 0.2 (1999-03-30) to 1.0 (2011-07-12). This doesn't change the table data, just copyright license notice. The new notices are compatible with the GPL, the old ones were not.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* (Mostly) fix bug #16007 with generation of MULE-*.map files.Eli Zaretskii2013-11-301-16/+30
| | | | | admin/charsets/mule-charsets.el: Rewritten to work in Emacs 23 and later.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Add more mappings for the charset japanese-jisx0208-1978.Kenichi Handa2012-10-141-3/+13
|
* Re-generate charsets. Adjust for the change of admin/charset/mapfiles/*.gzKenichi Handa2012-10-1110-75/+90
|
* * admin/charsets/mule-charsets.el (header): Fix typo.Andreas Schwab2012-08-281-1/+1
| | | | | | | | | | * etc/charsets/MULE-ethiopic.map: Fix typo in comment. * etc/charsets/MULE-ipa.map: Likewise. * etc/charsets/MULE-is13194.map: Likewise. * etc/charsets/MULE-lviscii.map: Likewise. * etc/charsets/MULE-sisheng.map: Likewise. * etc/charsets/MULE-tibetan.map: Likewise. * etc/charsets/MULE-uviscii.map: Likewise.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Spelling fixes.Paul Eggert2011-11-261-1/+1
|
* Spelling fixes.Paul Eggert2011-11-142-2/+2
|
* Spelling fixes.Paul Eggert2011-11-121-1/+1
|
* Spelling fixes.Paul Eggert2011-11-081-1/+1
|
* admin/make-dist: Add admin/ to source tarballs.Chong Yidong2011-08-1234-0/+71266
| | | | | | | | admin/charsets/mapfiles/*.gz: Delete. Add gunzipped versions. See emacs-devel thread at http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00347.html
* Fix typos.Juanma Barranquero2011-07-141-1/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-1/+1
|
* Nuke arch-tags.Glenn Morris2011-01-159-9/+0
|
* * admin/charsets/cp51932.awk: No longer print arch-tag.Glenn Morris2011-01-151-4/+0
|
* * admin/charsets/eucjp-ms.awk: No longer print arch-tag.Glenn Morris2011-01-151-3/+0
|
* Merge from emacs-23Stefan Monnier2011-01-1411-12/+12
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0211-12/+12
| |
* | Remove the Arch metafiles.Stefan Monnier2010-04-121-4/+0
|/
* Add 2010 to copyright years.Glenn Morris2010-01-1311-12/+12
|
* For the UNICODE format files, do reverse sortKenichi Handa2009-06-241-2/+4
| | | | | and don't compact the map. This is to prefer the first one in the duplicated mappings (e.g. 0x20->U+0020, 0x20->U+00A0).
* (JISX213A.map): Make it depend on mapfiles/JISX213A.map.gz.Kenichi Handa2009-06-121-13/+4
| | | | (BIG5-1.map, BIG5-2.map): Prepend "# " to the first comment line.
* Describe JISX213A.map.gz.Kenichi Handa2009-06-121-0/+6
|
* New file.Kenichi Handa2009-06-121-0/+0
|