1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

267 Commits

Author SHA1 Message Date
Andreas Schwab
0b8be006c6 (re_match_2_internal): Properly match raw 8-bit bytes
against a charset.
2008-03-17 14:52:34 +00:00
Andreas Schwab
f50201817b (re_match_2_internal): Correct matching of a charset
against latin-1 characters.
2008-03-16 10:45:53 +00:00
Andreas Schwab
0e2501ed34 (re_match_2_internal): Correct matching of eight bit
characters in unibyte strings.
2008-03-15 14:21:08 +00:00
Stefan Monnier
fff23de29a Update copyrights. 2008-02-12 21:26:23 +00:00
Dan Nicolaescu
4624371d9a * configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
dealing with obsolete variables.

* fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
(main): Replace MAIL_PROGRAM_NAME with its value.

* src/Makefile.in:
* src/emacs.c:
* src/gmalloc.c:
* src/keyboard.c:
* src/lisp.h:
* src/m/ibm370aix.h:
* src/process.c:
* src/regex.c:
* src/s/hpux.h:
* src/sysdep.c:
* src/sysselect.h:
* src/systty.h:
* src/unexec.c:
* src/w32term.c:
* src/xsmfns.c:
* src/xterm.c: Remove code that deals with obsolete variables.

* s/msdos.h (DONT_NEED_ENVIRON): Don't define.

* ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
nothing else needs it anymore.
2008-02-09 18:03:10 +00:00
Miles Bader
c73bd236f7 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 866-879)

   - Merge multi-tty branch
   - Update from CVS
   - Merge from emacs--rel--22

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
2007-10-11 16:24:58 +00:00
Glenn Morris
b588157e3b (C_ALLOCA): Remove all references and code that was only used when
this was defined.
2007-09-12 07:21:32 +00:00
Miles Bader
b2e6b10fe2 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 846-851)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 88-92)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 242-244)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
2007-08-13 13:48:35 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
e0f24100c7 Replace `iff' in comments. 2007-08-08 07:49:21 +00:00
Miles Bader
e468b87f91 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 824-831)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 70-74)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
2007-07-27 10:52:18 +00:00
Glenn Morris
64be3a425a Switch license to GPLv3 or later. 2007-07-27 07:19:16 +00:00
Glenn Morris
706b5dc02e Switch license to GPLv3 or later. 2007-07-26 04:50:05 +00:00
Miles Bader
b361539260 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 793-802)

   - Update from CVS
   - Remove RCS keywords
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 42-50)

   - Update from CVS
   - Merge from gnus--rel--5.10
   - Gnus ChangeLog tweaks

 * gnus--rel--5.10  (patch 229-232)

   - Merge from emacs--devo--0, emacs--rel--22
   - ChangeLog tweak
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-223
2007-06-16 22:32:13 +00:00
Stefan Monnier
c69b031452 (regex_compile): Remove the `regnum' counter.
Use bufp->re_nsub instead.  Add support for \(?N:RE\).
2007-06-12 18:40:18 +00:00
Kenichi Handa
6482db2eb9 (analyse_first): Fix for multibyte characters in "case
charset:" and "case categoryspec:".
2007-03-23 05:44:14 +00:00
Juanma Barranquero
99f76c1e4c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'. 2007-02-16 10:26:29 +00:00
Kenichi Handa
02cb78b58f (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable
target_multibyte instead of multibyte.
(re_match_2_internal): Call bcmp_translate with target_multibyte.
(bcmp_translate): Change the argument name from multibyte to
target_multibyte.
2007-02-16 06:37:28 +00:00
Kenichi Handa
cf9c99bcf5 (RE_STRING_CHAR, RE_STRING_CHAR_AND_LENGTH): New arg
multibte.  Callers changed.
(RE_CHAR_TO_MULTIBYTE, RE_CHAR_TO_UNIBYTE): New macros.
(MAKE_CHAR_MULTIBYTE, MAKE_CHAR_UNIBYTE): Deleted.  Callers
changed to use RE_CHAR_TO_MULTIBYTE and RE_CHAR_TO_UNIBYTE
respectively.
(SETUP_ASCII_RANGE, SETUP_UNIBYTE_RANGE): New macros.
(SETUP_MULTIBYTE_RANGE): Generate more compact range_table.
(regex_compile): Make the compiled pattern usable both for
multibyte and unibyte targets.
(analyse_first): Make the fastmap usable both for multibyte and
unibyte targets.
(TRANSLATE_VIA_MULTIBYTE): Deleted.
(re_match_2_internal): Pay attention to the case that the
multibyteness of bufp and target may be different.
2007-02-15 11:23:52 +00:00
Miles Bader
c0466914ba Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 586-614)

   - Update from CVS
   - Update from erc--emacs--22
   - Merge from gnus--rel--5.10
   - Merge from erc--main--0
   - Make byte compiler correctly write circular constants

 * gnus--rel--5.10  (patch 186-196)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
2007-01-26 06:16:11 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Miles Bader
4c34eeeee5 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 563-582)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 177-185)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-158
2007-01-01 03:21:06 +00:00
Jason Rumney
ec86967264 (regerror): Change parameter name err_code. 2006-12-29 14:32:52 +00:00
Kenichi Handa
ed00c2ac83 (regex_compile): Synch with HEAD. 2006-12-15 01:33:37 +00:00
Miles Bader
a0451a715e Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 523-544)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 168-171)

   - Update from CVS
   - Merge from emacs--devo--0

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-150
2006-12-07 04:14:14 +00:00
Kenichi Handa
3aaab9a080 (regex_compile): Fix previous change. 2006-11-30 01:53:16 +00:00
Kenichi Handa
151ccb7400 (regex_compile): Fix previous change. 2006-11-28 01:13:26 +00:00
Kenichi Handa
6358f8b2bf (regex_compile): Don't call SET_LIST_BIT with a
multibyte character.
2006-11-28 01:10:42 +00:00
Juanma Barranquero
46ac3660d0 Fix last change in whitespace. 2006-11-24 19:36:39 +00:00
Juanma Barranquero
7814e705ee Whitespace/tab mixups. 2006-11-24 09:30:44 +00:00
Miles Bader
bb9c4b4f8b Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 460-475)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 145-152)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-118
2006-10-15 02:54:13 +00:00
Kenichi Handa
49da453b36 (analyse_first): Cancel the change for synching with
HEAD.
2006-10-04 07:06:28 +00:00
Stefan Monnier
6224b623fd (regex_compile): Set the new `used_syntax' bit. 2006-10-03 13:19:18 +00:00
Miles Bader
f3bbbd1145 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 447-459)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 141-144)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-115
2006-10-03 05:04:21 +00:00
Stefan Monnier
4560a582d6 (analyse_first): For eight-bit-control chars, mark both the
char's value and its leading byte in the fastmap.
(re_search_2): When fast-scanning without translation, be careful to
check that we only match the leading byte of a multibyte char.
2006-09-22 17:30:13 +00:00
Miles Bader
465384748f Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 437-446)

   - Update from CVS
   - lisp/url/url-methods.el: Fix format error when http_proxy is empty string
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 137-140)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-111
2006-09-20 06:04:23 +00:00
Richard M. Stallman
1208f11ada (re_compile_pattern): Set gl_state.current_syntax_table. 2006-09-16 15:28:47 +00:00
Miles Bader
b434f199db Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-21
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 97-112)

   - Update from CVS
   - Merge from erc--emacs--0
   - Update from CVS: src/regex.c (extend_range_table_work_area): Fix typo.
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 37)

   - Update from CVS
2006-02-22 06:54:10 +00:00
Andreas Schwab
8ea094cffa Fix indentation. 2006-02-21 12:58:58 +00:00
Chong Yidong
a073faa64c * regex.c: Revert 2006-02-19 change.
Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case.
2006-02-20 16:44:09 +00:00
Chong Yidong
a77f947b23 * regex.c (xmalloc, xrealloc): Define these when not linked to
Emacs.
2006-02-20 16:25:21 +00:00
Luc Teirlinck
4aea1d4bd7 (extend_range_table_work_area): Fix typo. 2006-02-20 03:48:53 +00:00
Richard M. Stallman
7b1d7d664b (regex_compile): Call xmalloc and xrealloc.
(regcomp): Use xmalloc.
2006-02-20 01:19:15 +00:00
Richard M. Stallman
8a169494f0 (extend_range_table_work_area): Call xmalloc and xrealloc. 2006-02-20 01:15:42 +00:00
Miles Bader
b2ba4dcba1 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-7
Merge from emacs--devo--0

Patches applied:

 * emacs--devo--0  (patch 4-14)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (base, patch 1-7)

   - tag of miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-187
   - Update from CVS
   - Merge from emacs--devo--0

 * miles@gnu.org--gnu-2005/gnus--rel--5.10  (patch 187)

   - Update from CVS
2006-01-25 07:10:04 +00:00
Stefan Monnier
1cee1e272f (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well.
(re_match_2_internal) <on_failure_jump, on_failure_jump_smart>:
Don't check for quit, since any loop will go through fail or jump.
2006-01-24 19:14:58 +00:00
Miles Bader
00e18f33ad Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-88
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 569-579)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 129-132)

   - Update from CVS
   - Merge from emacs--cvs-trunk--0
2005-10-07 07:15:40 +00:00
Stefan Monnier
6470ea05f9 (re_char): Move it back to the implementation file.
(re_set_whitespace_regexp): Change the arg's type to not use it.
2005-10-04 04:31:08 +00:00
Dan Nicolaescu
fa8459a34e * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct
type.
* xterm.c (handle_one_xevent, handle_one_xevent): Likewise.

* unexelf.c (fatal): Fix prototype.

* term.c (fatal): Implement using varargs.

* regex.c (re_char): Move typedef ...
* regex.h (re_char): ... here.
(re_iswctype, re_wctype, re_set_whitespace_regexp): New
prototypes.

* emacs.c (malloc_set_state): Fix return type.
(endif): Fix type.

* lisp.h (fatal): Add argument types.

* dispextern.h (fatal): Delete prototype.

* systime.h: (make_time): Prototype moved from ...
* editfns.c (make_time): ... here.

* editfns.c: Move systime.h include after lisp.h.
* dired.c:
* xsmfns.c:
* process.c: Likewise.

* alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook):
Add parameter types.
(__malloc_hook, __realloc_hook, __free_hook): Fix prototypes.
(emacs_blocked_free): Change definition to match __free_hook.
(emacs_blocked_malloc): Change definition to match __malloc_hook.
(emacs_blocked_realloc): Change definition to match
__realloc_hook.
2005-09-30 22:38:16 +00:00
Miles Bader
d4cccb1406 Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78
Merge from emacs--cvs-trunk--0

Patches applied:

 * emacs--cvs-trunk--0  (patch 514-518)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 104-105)

   - Update from CVS
2005-08-26 09:51:52 +00:00