1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-05 20:43:08 +00:00
Paul Eggert d904cc83f3 Use Gnulib regex for lib-src
Emacs regular expressions forked from everyone else long ago.
This makes it official and should allow simplification later.
etags.c now uses the glibc regex API, falling back on a
Gnulib-supplied substitute lib/regex.c if necessary.
Emacs proper now uses its own regular expression module.
Although this patch may look dauntingly large, most of it
was generated automatically by admin/merge-gnulib
and contains an exact copy of the glibc regex source,
and the by-hand changes do not grow the Emacs source code.
* admin/merge-gnulib (GNULIB_MODULES): Add regex.
(AVOIDED_MODULES): Add btowc, langinfo, lock, mbrtowc, mbsinit,
nl_langinfo, wchar, wcrtomb, wctype-h.
* lib-src/Makefile.in (regex-emacs.o): Remove; Gnulib does it now.
(etags_deps, etags_libs): Remove regex-emacs.o.
* lib-src/etags.c: Go back to including regex.h.
(add_regex): Use unsigned char translation array,
since glibc regex requires that.
* lib/Makefile.in (not_emacs_OBJECTS, for_emacs_OBJECTS): New macros.
(libegnu_a_OBJECTS): Use them, to avoid building e-regex.o.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c:
* lib/regex_internal.h, lib/regexec.c, m4/builtin-expect.m4:
* m4/eealloc.m4, m4/glibc21.m4, m4/mbstate_t.m4, m4/regex.m4:
New files, copied from Gnulib.
* src/regex-emacs.h, src/conf_post.h:
(RE_TRANSLATE_TYPE, RE_TRANSLATE, RE_TRANSLATE_P):
Move from src/conf_post.h to src/regex-emacs.h,
so that they don’t interfere with compiling lib/regex.c.
2018-08-05 19:36:09 -07:00
..
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-08-05 19:36:09 -07:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-08-05 19:36:09 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-02-01 09:21:39 -08:00
2018-08-05 17:40:48 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-06-29 17:32:35 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-08-05 19:36:09 -07:00
2018-06-29 17:32:35 -07:00
2018-08-05 19:36:09 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2018-07-03 23:51:31 -07:00
2018-08-05 19:36:09 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-02-11 13:10:41 -08:00
2018-05-21 11:43:07 -07:00
2018-06-29 17:32:35 -07:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2017-12-31 17:21:33 -08:00
2018-08-05 19:36:09 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2018-02-20 13:45:27 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-03-28 14:23:20 -07:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2017-12-31 17:21:33 -08:00
2018-05-21 11:43:07 -07:00
2017-12-31 17:21:33 -08:00
2018-01-01 00:57:59 -08:00
2018-05-21 11:43:07 -07:00
2017-12-31 17:21:33 -08:00
2018-06-29 17:32:35 -07:00
2018-02-20 13:45:27 -08:00
2017-12-31 17:21:33 -08:00