|
931fd187
|
2000-04-29T09:25:58
|
|
*** empty log message ***
|
|
eeedc1da
|
2000-04-29T09:25:09
|
|
Declare strdup only if it's not defined.
|
|
346cea54
|
2000-04-28T16:50:24
|
|
*** empty log message ***
|
|
c2f78d65
|
2000-04-28T16:49:38
|
|
[HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
redefinition warning on some systems (HPUX). Otherwise, regex.h is
included first, then limits.h is included by locale.h by libintl.h.
From John David Anglin.
|
|
a703e558
|
2000-04-27T12:19:38
|
|
.
|
|
2e879d32
|
2000-04-27T06:47:05
|
|
*** empty log message ***
|
|
f71611c4
|
2000-04-27T06:46:13
|
|
tweak comment
|
|
581e09e3
|
2000-04-26T12:36:49
|
|
.
|
|
53d01ff8
|
2000-04-26T12:36:43
|
|
(S_IRWXUGO): Define.
(make_path): Always perform explicit chmod if MODE specifies any
of the `special' permission bits.
|
|
6a4fc8be
|
2000-04-19T21:39:18
|
|
(re_match_2_internal): Don't shorten the strings anymore,
instead define end_match(1|2) more carefully.
Use GET_CHAR_BEFORE_2 for `begline'.
|
|
5ef027ce
|
2000-04-18T17:28:34
|
|
*** empty log message ***
|
|
96651696
|
2000-04-18T13:41:26
|
|
add comment
|
|
03c71a70
|
2000-04-18T13:40:29
|
|
*** empty log message ***
|
|
a26dc89f
|
2000-04-18T13:40:25
|
|
[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
For BeOS. Based on a patch from Bruno Haible.
|
|
a775f8d6
|
2000-04-18T13:35:22
|
|
*** empty log message ***
|
|
eae97f96
|
2000-04-18T13:35:18
|
|
(jm_PREREQ_GETPAGESIZE): New macro.
(jm_PREREQ): Use it.
|
|
4b82a914
|
2000-04-17T11:39:36
|
|
*** empty log message ***
|
|
dcbcec14
|
2000-04-17T11:39:26
|
|
(my_strftime) [strftime]: Declare strftime here, since the definition
of it to rpl_strftime also defined-away the system's declaration.
|
|
5fb39ef1
|
2000-04-17T09:56:02
|
|
*** empty log message ***
|
|
218664d3
|
2000-04-17T09:55:53
|
|
Get it right :-)
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
Suggestion from Akim Demaille.
|
|
7abd4b91
|
2000-04-15T21:58:37
|
|
*** empty log message ***
|
|
8a7c83d5
|
2000-04-15T21:54:46
|
|
Use `C' to denote so-called `contiguous' files, the same way that tar does.
* filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define.
(ftypelet): Use S_ISCTG.
|
|
b657dd00
|
2000-04-14T15:42:02
|
|
*** empty log message ***
|
|
52a59960
|
2000-04-14T15:41:06
|
|
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
|
|
5324c053
|
2000-04-13T08:15:07
|
|
*** empty log message ***
|
|
4a11ac99
|
2000-04-13T08:15:01
|
|
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
to insert required #ifndef into config.h.in.
Suggestion from Akim Demaille.
|
|
a24af4f6
|
2000-04-12T16:03:53
|
|
*** empty log message ***
|
|
e232db70
|
2000-04-12T16:03:20
|
|
(AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
`AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
Christian Krackowizer.
|
|
fecfc3aa
|
2000-04-12T06:21:06
|
|
*** empty log message ***
|
|
fbc3039a
|
2000-04-12T06:19:55
|
|
*** empty log message ***
|
|
5b12144d
|
2000-04-12T06:19:45
|
|
(_GNU_SOURCE): Define.
(AC_SYS_LARGEFILE): Require.
(AM_C_PROTOTYPES): Require.
|
|
869db633
|
2000-04-08T06:34:06
|
|
*** empty log message ***
|
|
49d7ea3e
|
2000-04-08T06:34:02
|
|
(charset.alias): Use t-$@, not $@-t so the DOS 8.3
names don't conflict. Reported by Eli Zaretskii.
|
|
fb12ff0b
|
2000-04-08T06:31:38
|
|
.
|
|
b5dddf0a
|
2000-04-07T09:41:51
|
|
*** empty log message ***
|
|
51630940
|
2000-04-07T09:41:38
|
|
(print_unicode_char): Avoid triggering Solaris iconv bug.
Deal with the different error behaviour of Irix iconv.
|
|
d08d6527
|
2000-04-07T09:24:18
|
|
Move inclusion of errno.h so it follows that of sys/types.h,
to work around system header problems on AIX 3.2.5. From Bruno Haible.
|
|
0ee6bda8
|
2000-04-07T08:45:27
|
|
.
|
|
73027a6d
|
2000-04-06T06:56:05
|
|
*** empty log message ***
|
|
d9bb1ae9
|
2000-04-06T06:55:14
|
|
(AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
IRIX if the installer said otherwise.
|
|
9b1445bd
|
2000-04-05T15:22:04
|
|
fix two typos. Duh
|
|
aea4e23f
|
2000-04-05T15:16:27
|
|
*** empty log message ***
|
|
dacc1385
|
2000-04-05T15:14:28
|
|
[!HAVE_UTMPX_H] (headers): Include <utmp.h>.
(jm_CHECK_DECLS): Add getutent to the list of functions.
(_jm_DECL_HEADERS): Add utmpx.h.
|
|
e704e54e
|
2000-04-05T15:08:11
|
|
Declare strdup.
|
|
a9dbf48d
|
2000-04-05T15:05:54
|
|
[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
|
|
a456afef
|
2000-04-05T15:00:11
|
|
Include sys/types.h before sys/stat.h.
Required for ultrix4.3.
|
|
968fbdf8
|
2000-04-05T14:57:36
|
|
(canon_host): Declare strdup. Required for ultrix4.3.
|
|
03ddf4c3
|
2000-04-05T12:25:13
|
|
*** empty log message ***
|
|
2b9f3fcf
|
2000-04-05T12:13:59
|
|
Back out the 2000-04-02 change.
Instead of that change, simply undefine putenv in the test program.
|
|
2077366b
|
2000-04-05T11:50:48
|
|
Back out the 2000-04-02 change.
|
|
5d5fae01
|
2000-04-04T12:58:57
|
|
*** empty log message ***
|
|
ecd42141
|
2000-04-04T12:58:49
|
|
Be more DOS 8.3-friendly.
* ref-add.sin: Renamed from ref-add.sed.in.
* ref-del.sin: Renamed from ref-del.sed.in.
* Makefile.am: Reflect renaming.
|
|
540ebcd6
|
2000-04-04T12:50:59
|
|
renamed to ref-del.sin
|
|
74360cbe
|
2000-04-04T12:50:59
|
|
renamed from ref-del.sed.in
|
|
c1bff613
|
2000-04-04T12:50:44
|
|
renamed to ref-add.sin
|
|
cfc8637a
|
2000-04-04T12:50:44
|
|
renamed from ref-add.sed.in
|
|
43523fc0
|
2000-04-04T12:47:19
|
|
Use a temporary file name that won't clash with `charset.alias'
in the DOS 8.3 name space.
(charset_tmp): Define.
(install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t.
(uninstall-local): Likewise.
Reported by Eli Zaretskii.
|
|
d9b48916
|
2000-04-03T19:35:28
|
|
*** empty log message ***
|
|
2eaec5ea
|
2000-04-03T19:35:24
|
|
Fix typo in comment.
|
|
05595d49
|
2000-04-03T07:48:11
|
|
*** empty log message ***
|
|
cfeec074
|
2000-04-03T07:48:06
|
|
(AC_CHECK_HEADERS): Add langinfo.h (moved here from
textutils/configure.in). Suggestion from Paul Eggert.
(AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
|
|
634612f1
|
2000-04-03T07:46:51
|
|
(AC_CHECK_HEADERS): Remove langinfo.h -- put it in codeset instead.
(AC_CHECK_FUNCS): Likewise for nl_langinfo.
|
|
8b2fdc45
|
2000-04-03T07:32:07
|
|
*** empty log message ***
|
|
2851693b
|
2000-04-03T07:31:59
|
|
(_jm_STRFTIME_PREREQS): Check for strftime,
since strftime.c uses HAVE_STRFTIME to decide whether to use
the underlying strftime.
|
|
8bf2847e
|
2000-04-03T07:26:43
|
|
*** empty log message ***
|
|
3fe59d6c
|
2000-04-03T07:26:38
|
|
(AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
|
|
e59c7d49
|
2000-04-03T07:20:44
|
|
*** empty log message ***
|
|
001ac720
|
2000-04-03T07:20:38
|
|
(AC_CHECK_HEADERS): Add langinfo.h (moved here from textutils/configure.in).
|
|
0f438a75
|
2000-04-03T07:10:21
|
|
*** empty log message ***
|
|
4c81c55a
|
2000-04-03T07:09:38
|
|
(my_strftime): Make sure we call the system
strftime, not ourselves, when invoking the underlying strftime.
|
|
8405d026
|
2000-04-03T06:24:31
|
|
*** empty log message ***
|
|
7b2edcb7
|
2000-04-03T06:24:20
|
|
(jm_FUNC_GNU_STRFTIME): Set TZ environment
variable in the shell rather than using putenv, which isn't
portable. This avoids the configure-time inter-test dependency
on the potentially-renamed putenv function.
|
|
ecd70598
|
2000-04-02T23:56:45
|
|
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
(GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
we are between str1 and str2.
(MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
(PATFETCH): Use `TRANSLATE'.
(PATFETCH_RAW): Fetch multibyte char if applicable.
(PATUNFETCH): Remove.
(regex_compile): Rely on PATFETCH to do most of the multibyte magic.
When writing a char, write it directly into the pattern buffer rather
than going needlessly through a temp char-array.
(re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
multibyte magic and remove the useless `#ifdef emacs'.
(bcmp_translate): Don't compare as multibyte chars when in a unibyte
buffer.
* regex.h (struct re_pattern_buffer): Make field `multibyte'
conditional on `emacs'.
* charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
|
|
fbf994a2
|
2000-04-02T21:00:30
|
|
*** empty log message ***
|
|
99877a3a
|
2000-04-02T21:00:24
|
|
(jm_CHECK_ALL_TYPES): Include <sys/stat.h>
before checking struct stat.st_blksize, so that
HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
|
|
0be3fccc
|
2000-03-29T04:01:25
|
|
(analyse_first): New function obtained by ripping out most
of re_compile_fastmap and generalizing it a little bit so that it
can also just return whether a given (sub)pattern can match the empty
string or not.
(regex_compile): Use `analyse_first' to decide whether the loop-check
needs to be done or not for *, +, *? and +? (the loop check is costly
for non-greedy repetition).
(re_compile_fastmap): Delegate the actual work to `analyse_first'.
|
|
1570cc6b
|
2000-03-27T22:26:37
|
|
(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
(enum re_opcode_t): Update description of succeed_n.
(PATFETCH): Always define.
(regex_compile): Use lookahead rather than PATUNFETCH (for repetition
operators, char classes, shy-groups and intervals).
Optimize special cases of intervals so as to only use succeed_n and
jump_n when really needed.
(re_compile_fastmap): Simplify handling of jump_n and succeed_n now
that we don't have to handle the special cases any more.
Simplify on_failure_jump handling as well.
|
|
aeb359a7
|
2000-03-26T23:05:51
|
|
(enum re_opcode_t): New opcode on_failure_jump_nastyloop.
(print_partial_compiled_pattern, re_compile_fastmap): Handle new opcode.
(regex_compile): Use on_failure_jump_nastyloop for non-greedy loops.
(re_match_2_internal): Add code for on_failure_jump_nastyloop when
executing it as well as when popping it off the stack to find infinite
loops in non-greedy repetition operators.
|
|
f7c6345a
|
2000-03-25T18:33:17
|
|
.
|
|
536e0a0d
|
2000-03-25T18:26:47
|
|
back out last change
|
|
433cd145
|
2000-03-24T09:07:18
|
|
*** empty log message ***
|
|
e562e7a2
|
2000-03-24T09:07:12
|
|
(jm_MACROS): Invoke `AC_CONFIG_AUX_DIR(.)' to work
around bug that made cvs-automake complain it couldn't find lib/depcomp.
|
|
79ca818f
|
2000-03-24T08:50:13
|
|
.
|
|
1f091092
|
2000-03-24T06:40:29
|
|
.
|
|
89dc9eaf
|
2000-03-24T06:40:23
|
|
Output a line containing "Packages using this file".
|
|
cbc3b7cd
|
2000-03-24T06:39:01
|
|
*** empty log message ***
|
|
abde3836
|
2000-03-24T05:54:46
|
|
(EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in.
(charset_alias): Define.
(install-exec-local): Factor out common code.
(uninstall-local): Split lines longer than 80.
(ref-add.sed, ref-del.sed): Remove rules... (do the following instead)
(SUFFIXES): Define.
(.sed.in.sed): New rule. Don't redirect directly to $@.
(CLEANFILES): Add ref-add.sed and ref-del.sed.
|
|
07690e78
|
2000-03-24T05:46:01
|
|
(install-exec-local, uninstall-local, ref-add.sed, ref-del.sed): New rules.
From Bruno.
|
|
4918e100
|
2000-03-23T04:36:14
|
|
(enum syntaxcode): Provide default for non-Emacs.
(re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix.
|
|
274e8afa
|
2000-03-22T21:46:50
|
|
*** empty log message ***
|
|
017e46a8
|
2000-03-22T14:25:38
|
|
(re_compile_fastmap, re_match_2_internal): Fix cast to re_opcode_t.
|
|
27d8e5f0
|
2000-03-22T04:17:32
|
|
(CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default
definitions for non-Emacs compilation.
(enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec
outside of `#ifdef emacs'.
(print_partial_compiled_pattern): Update.
(regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar.
(re_compile_fastmap): Merge handling of charset and charset_not (for
emacs and non-emacs compilation as well).
Similarly for (not)categoryspec and (not)syntaxspec.
Don't use the fastmap when reaching `anychar' since the added
complexity is not justified.
(re_match_2_internal): Merge (not)wordchar (emacs and non-emacs)
and (not)syntaxspec. Merge (not)categoryspec.
|
|
7540e140
|
2000-03-19T23:22:06
|
|
(RE_STRING_CHAR): New macro.
(GET_CHAR_AFER_2): Remove.
(RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h.
(enum re_opcode_t): Remove on_failure_jump_exclusive.
(print_partial_compiled_pattern, re_compile_fastmap)
(re_match_2_internal): Remove on_failure_jump_exclusive.
(regex_compile): Turn optimizable P+ loops into PP*, so that the
optimization only need to work for * (ie. can use of_keep_string_jump).
Remove the special case for .*\n since it is now covered by the general
optimization.
(re_search_2): Don't bother with `room'.
(skip_one_char): New function.
(skip_noops): Simplify since `memory' is not needed any more.
(mutually_exclusive_p): Restructure slightly to use `switch' and
add handling for "all" remaining cases.
(re_match_2_internal): Change on_failure_jump_smart to use
on_failure_keep_string_jump (and redirect the end-of-loop jump)
rather than on_failure_jump_exclusive.
|
|
24f91832
|
2000-03-19T23:21:42
|
|
(RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c.
|
|
7e9943c1
|
2000-03-17T21:26:31
|
|
.
|
|
df0c912c
|
2000-03-17T19:34:16
|
|
(<string.h>): Include only #if HAVE_STRING_H.
Otherwise, include <strings.h>
|
|
269accf8
|
2000-03-17T19:32:27
|
|
(utf8_wctomb): New function.
(print_unicode_char): Pass the Unicode character to iconv in UTF-8
format instead of in UCS-4 with platform dependent endianness.
|
|
5f5a55d6
|
2000-03-16T02:53:38
|
|
(re_match_2): Fix string shortening (to fit `stop') to make sure
POINTER_TO_OFFSET gives the same value before and after PREFETCH.
Use `dfail' to guarantee "atomic" matching.
(PTR_TO_OFFSET): Use POINTER_TO_OFFSET.
(debug): Now only active if > 0 rather than if != 0.
(DEBUG_*): Update for the new meaning of `debug'.
(print_partial_compiled_pattern): Add missing `succeed' case.
Use CHARSET_* macros in the charset(_not) branch.
Fix off-by-two bugs in `succeed_n', `jump_n' and `set_number_at'.
(store_op1, store_op2, insert_op1, insert_op2)
(at_begline_loc_p, at_endline_loc_p): Add prototype.
(group_in_compile_stack): Move to after its arg's types are declared
and add a prototype.
(PATFETCH): Define in terms of PATFETCH_RAW.
(GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' wrapper.
(QUIT): Redefine as a nop except for NTemacs.
(regex_compile): Handle intervals {,M} as if it was {0,M}.
Fix indentation of the greedy-op and shy-group code.
(at_(beg|end)line_loc_p): Fix argument's types.
(re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc.
(re_search_2): Use POS_AS_IN_BUFFER. Simplify `room' computation.
(MATCHING_IN_FIRST_STRING): Remove.
(re_match_2): Use POS_AS_IN_BUFFER.
Ifdef out failure_stack_ptr to shut up gcc.
Use FIRST_STRING_P and POINTER_TO_OFFSET.
Use QUIT unconditionally.
|
|
c0b1cf90
|
2000-03-14T00:27:57
|
|
* regex.c: Declare a new type `re_char' used throughout the code for the
string char type. It's `const unsigned char' to match the rest of Emacs.
Consistently make sure all pointers to strings use it and make sure all
pointers into the pattern use `unsigned char'.
(re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of
GET_CHAR_AFTER_2.
Also merge wordbound and notwordbound to reduce code duplication.
* charset.h (GET_CHAR_AFTER_2): Remove.
(GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else.
|
|
4883f2ec
|
2000-03-10T11:40:29
|
|
*** empty log message ***
|