Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (looking_at_1): Set re_match_object. | Richard M. Stallman | 1997-04-15 | 1 | -297/+8 |
| | | | | | | | | | | | | (string_match_1): Set re_match_object. (fast_string_match): Set re_match_object. (Fskip_chars_forward): Move to syntax.c. (Fskip_chars_backward): Move to syntax.c. (Fskip_syntax_forward): Move to syntax.c. (Fskip_syntax_backward): Move to syntax.c. (skip_chars): Move to syntax.c. (search_buffer): Set re_match_object. (syms_of_search): Move initialization of skip* to syntax.c. | ||||
* | (skip_chars): Make `c' an unsigned int. | Richard M. Stallman | 1997-04-02 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Give error if | Richard M. Stallman | 1997-03-22 | 1 | -2/+8 |
| | | | | NEWTEXT uses backslash in an invalid way. | ||||
* | (skip_chars): If enable-multibyte-characters is nil, | Kenichi Handa | 1997-02-27 | 1 | -69/+101 |
| | | | | don't handle multibyte characters. | ||||
* | Fix previous change. | Karl Heuer | 1997-02-23 | 1 | -4/+15 |
| | |||||
* | Include category.h and charset.h. | Karl Heuer | 1997-02-20 | 1 | -31/+153 |
| | | | | | | | | | | (compile_pattern_1): Handle new argument `multibyte'. (compile_pattern): Handle the flag `enable-multibyte-characters'. (Vascii_downcase_table): Declare external. (fast_string_match_ignore_case): New function. (skip_chars): Handle multibyte characters. (trivial_regexp_p): Handle regular expression "\\Cc" and "\\CC" for category. | ||||
* | (skip_chars): Optimize by not calling SET_PT in the loop. | Richard M. Stallman | 1997-01-19 | 1 | -15/+13 |
| | |||||
* | (Fmatch_data): Doc fix. | Richard M. Stallman | 1996-12-19 | 1 | -1/+1 |
| | |||||
* | (Fmatch_data): New args INTEGERS and REUSE. | Richard M. Stallman | 1996-12-18 | 1 | -5/+35 |
| | |||||
* | (REGEXP_CACHE_SIZE): Increase to 20. | Richard M. Stallman | 1996-09-22 | 1 | -3/+5 |
| | | | | (compile_pattern): Check for size match before calling Fstring_equal. | ||||
* | (search_buffer): Use EMACS_UINT. | Richard M. Stallman | 1996-09-10 | 1 | -2/+2 |
| | |||||
* | Change all references from point to PT. | Karl Heuer | 1996-09-01 | 1 | -19/+19 |
| | |||||
* | (Fmatch_data): If no matching done yet, return Qnil. | Karl Heuer | 1996-07-14 | 1 | -1/+1 |
| | |||||
* | Update FSF's address in the preamble. | Erik Naggum | 1996-01-15 | 1 | -1/+2 |
| | |||||
* | (Fmatch_end, Fregexp_quote): Harmonize arguments with documentation. | Erik Naggum | 1996-01-09 | 1 | -16/+20 |
| | |||||
* | Comment fixes. | Karl Heuer | 1996-01-05 | 1 | -1/+1 |
| | |||||
* | (string_match_1): Pass the POSIX arg to compile_pattern. | Richard M. Stallman | 1995-10-25 | 1 | -1/+1 |
| | |||||
* | (compile_pattern_1, compile_pattern, search_buffer): | Richard M. Stallman | 1995-10-18 | 1 | -8/+10 |
| | | | | Case tables are char-tables now. | ||||
* | (Freplace_match): New arg SUBEXP. | Richard M. Stallman | 1995-08-08 | 1 | -26/+42 |
| | |||||
* | Update GPL to version 2. | Karl Heuer | 1995-06-15 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Do the right thing with backslash. | Karl Heuer | 1995-06-09 | 1 | -2/+15 |
| | |||||
* | (Freplace_match): Fix check for valid reg in string replace. | Karl Heuer | 1995-06-09 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Calls to upcase_initials and upcase_initials_region changed | Karl Heuer | 1995-06-06 | 1 | -2/+2 |
| | | | | to Fupcase_initials and Fupcase_initials_region for consistency. | ||||
* | (trivial_regexp_p): = is special after \. | Karl Heuer | 1995-06-05 | 1 | -1/+2 |
| | |||||
* | (search_buffer): Cast p_limit to EMACS_INT not int. | Richard M. Stallman | 1995-05-04 | 1 | -1/+1 |
| | |||||
* | (search_buffer): Avoid casting trt to int. | Richard M. Stallman | 1995-04-07 | 1 | -9/+9 |
| | | | | Use EMACS_INT for comparing pointers. | ||||
* | (Flooking_at, Fposix_looking_at): Change arg name. | Richard M. Stallman | 1995-04-06 | 1 | -8/+8 |
| | |||||
* | (set_search_regs): Really set search_regs.start and .end. | Richard M. Stallman | 1994-12-25 | 1 | -4/+4 |
| | | | | (save_search_regs): Set them to 0 here. | ||||
* | (compile_pattern): Call re_set_registers here. | Richard M. Stallman | 1994-12-11 | 1 | -7/+5 |
| | | | | | And no need to BLOCK_INPUT for that. (compile_pattern_1): Instead of here. | ||||
* | (search_regs_saved): Delete initializer. | Richard M. Stallman | 1994-12-07 | 1 | -1/+1 |
| | |||||
* | (save_search_regs): Add declaration. | Richard M. Stallman | 1994-11-22 | 1 | -0/+1 |
| | |||||
* | Added code for automatically saving and restoring the match data | Francesco Potortì | 1994-11-21 | 1 | -0/+52 |
| | | | | when a filter or sentinel tries to modify it. | ||||
* | (struct regexp_cache): New field `posix'. | Richard M. Stallman | 1994-11-19 | 1 | -35/+154 |
| | | | | | | | | | | | | | | (compile_pattern_1): New arg `posix'. Controls the syntax spec for parsing; also record it in the cache. (compile_pattern): New arg `posix'. (looking_at_1, string_match_1, fast_string_match): Pass 0 for new arg. (search_buffer): New arg `posix'. Now static. (search_command): New arg `posix'. All callers changed. (Fposix_search_forward, Fposix_search_backward): New functions. (string_match_1, looking_at_1): New subroutines broken out. (Fstring_match, Flooking_at): Use them. (Fposix_string_match, Fposix_looking_at): New functions. (syms_of_search): defsubr new functions. | ||||
* | (searchbufs): New variable, replaces searchbuf and last_regexp and | Karl Heuer | 1994-10-19 | 1 | -52/+90 |
| | | | | | | | | | | | | | | | search_fastmap. (syms_of_search): Initialize it. (searchbuf_head): New variable. (compile_pattern_1): Renamed from compile_pattern and made static. Copy the regexp string in case the caller modifies it in place later. (compile_pattern): New code, uses a cached entry if one is available. The pattern buffer is now a return value instead of an arg. (set_search_regs): Set num_regs directly, since there's no active pattern buffer to pass to re_set_registers. (Fstore_match_data): Likewise. (Flooking_at): Use the new calling convention for compile_pattern. (Fstring_match, fast_string_match, search_buffer): Likewise. | ||||
* | (scan_buffer): After temporarily turning immediate_quit off, turn it | Jim Blandy | 1994-10-11 | 1 | -2/+3 |
| | | | | | | | back on by setting it to allow_quit, never 1. (find_before_next_newline): Declare the arguments' types explicitly; don't let them default to int. | ||||
* | * search.c: #include "region-cache.h". | Jim Blandy | 1994-10-08 | 1 | -72/+227 |
| | | | | | | | | | | | | (max, min): Make these functions, not macros; we'd like to pass them arguments that would be bad to evaluate more than once. (newline_cache_on_off): New function. (scan_buffer): New argument END. Call newline_cache_on_off. If this buffer's newline cache is enabled, consult it to see if we need to scan a region for newlines, and store information in the cache after doing so. (find_next_newline): Pass new arg to scan_buffer. (find_before_next_newline): New function. | ||||
* | (skip_chars, Fmatch_data, Fstore_match_data): Don't use XFASTINT as an lvalue. | Karl Heuer | 1994-10-04 | 1 | -6/+6 |
| | |||||
* | (Flooking_at, skip_chars, search_buffer, set_search_regs, Fstore_match_data): | Karl Heuer | 1994-10-04 | 1 | -7/+6 |
| | | | | Use new accessor macros instead of calling XSET directly. | ||||
* | (Fmatch_data, Fstore_match_data): Use type test macros. | Karl Heuer | 1994-09-27 | 1 | -4/+3 |
| | |||||
* | (Freplace_match): New 4th arg OBJECT can specify string to replace in. | Richard M. Stallman | 1994-09-23 | 1 | -10/+103 |
| | |||||
* | (trivial_regexp_p): New function. | Karl Heuer | 1994-09-20 | 1 | -26/+55 |
| | | | | (search_buffer): Don't depend on internal format of re_pattern_buffer. | ||||
* | (Fstring_match): Fix sign error. | Karl Heuer | 1994-08-23 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Treat caseless initial like a lowercase initial. | Richard M. Stallman | 1994-08-11 | 1 | -5/+12 |
| | |||||
* | (find_next_newline_no_quit): New function. | Richard M. Stallman | 1994-06-14 | 1 | -0/+7 |
| | |||||
* | (Freplace_match): Be sure not to treat non-digit like digit. | Richard M. Stallman | 1994-06-11 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Improve capitalization heuristics. | Karl Heuer | 1994-05-25 | 1 | -4/+8 |
| | |||||
* | (Freplace_match): Don't capitalize unless all matched words are capitalized. | Richard M. Stallman | 1994-05-25 | 1 | -1/+4 |
| | |||||
* | Update copyright. | Karl Heuer | 1994-05-04 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Don't capitalize unless all matched words are capitalized. | Karl Heuer | 1994-04-05 | 1 | -6/+6 |
| | |||||
* | (Freplace_match): Doc fix. | Richard M. Stallman | 1994-03-27 | 1 | -1/+6 |
| |