Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (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 |
| | |||||
* | (search_buffer): Avoid boolean/integer mixing that confuses some compilers. | Karl Heuer | 1994-03-14 | 1 | -1/+4 |
| | |||||
* | (Fre_search_forward, Fre_search_backward): Doc fix. | Karl Heuer | 1994-03-10 | 1 | -7/+7 |
| | |||||
* | (skip_chars): Treat `-' as alias for space, if syntaxp. | Richard M. Stallman | 1994-03-04 | 1 | -0/+3 |
| | |||||
* | (scan_buffer): New arg ALLOW_QUIT. | Richard M. Stallman | 1994-02-03 | 1 | -4/+8 |
| | | | | (find_next_newline): Pass new arg. | ||||
* | (set_search_regs): New subroutine. | Richard M. Stallman | 1994-01-10 | 1 | -45/+41 |
| | | | | | (search_buffer): Use set_search_regs. Record beginning and end after matching null string. | ||||
* | (Fskip_chars_backward, Fskip_chars_forward): Doc fix. | Richard M. Stallman | 1993-11-10 | 1 | -3/+3 |
| | |||||
* | (skip_chars): Finish reenabling checks for buffer bounds. | Richard M. Stallman | 1993-11-10 | 1 | -11/+5 |
| | | | | Use XINT, not XFASTINT, when testing. | ||||
* | (Freplace_match): Fix argument names to match doc string. | Brian Fox | 1993-10-25 | 1 | -10/+10 |
| | | | | (Fmatch_beginning): Fix doc string to match argument name. | ||||
* | (skip_chars): Fixed typo. | Brian Fox | 1993-10-08 | 1 | -2/+4 |
| | |||||
* | (skip_chars): Reinstate check for end of buffer, ignoring cryptic | Brian Fox | 1993-10-07 | 1 | -2/+7 |
| | | | | comment. | ||||
* | (Freplace_match): Call Finsert_and_inherit. | Richard M. Stallman | 1993-09-14 | 1 | -1/+1 |
| | |||||
* | Include <config.h> instead of "config.h". | Roland McGrath | 1993-09-10 | 1 | -1/+1 |
| | |||||
* | (compile_pattern): Cast result of re_compile_pattern. | Richard M. Stallman | 1993-08-14 | 1 | -3/+2 |
| | |||||
* | (search_buffer): If n is 0, just return POS. | Richard M. Stallman | 1993-07-27 | 1 | -1/+5 |
| | |||||
* | * search.c (Flooking_at, Fstring_match, fast_string_match, | Jim Blandy | 1993-06-10 | 1 | -10/+0 |
| | | | | | | search_buffer): Don't block input while calling searching and matching functions. These functions may not call malloc under Emacs anyway, and we need to be able to check for C-g. | ||||
* | Apply typo patches from Paul Eggert. | Jim Blandy | 1993-06-09 | 1 | -1/+1 |
| |