Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright for years from Emacs 21 to present (mainly adding | Glenn Morris | 2007-01-14 | 1 | -2/+2 |
| | | | | 2001). | ||||
* | (Fsearch_forward): Doc fix. | Richard M. Stallman | 2006-12-26 | 1 | -1/+1 |
| | |||||
* | (Fsearch_forward): Doc fix. | Juanma Barranquero | 2006-12-19 | 1 | -2/+2 |
| | |||||
* | (simple_search): In the loop of backward searching, | Kenichi Handa | 2006-11-17 | 1 | -1/+1 |
| | | | | check also the byte position against the limit. | ||||
* | (compile_pattern): Only check `cp->syntax_table' if needed. | Stefan Monnier | 2006-10-03 | 1 | -2/+7 |
| | | | | | | (compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'. (clear_regexp_cache): Only flush those regexps which depend on a syntax-table. | ||||
* | (compile_pattern): Only check `cp->syntax_table' if needed. | Stefan Monnier | 2006-10-03 | 1 | -6/+8 |
| | | | | (compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'. | ||||
* | (compile_pattern_1): Don't BLOCK_INPUT. | Richard M. Stallman | 2006-09-24 | 1 | -5/+6 |
| | |||||
* | * search.c (struct regexp_cache): New entry syntax_table. | Chong Yidong | 2006-09-19 | 1 | -0/+10 |
| | | | | | | | (compile_pattern_1): Set it. (syms_of_search): Initialize it. (compile_pattern): Require the syntax_table entry of the cache element to match the current syntax table entry. | ||||
* | * search.c (clear_regexp_cache): New function. | Chong Yidong | 2006-09-17 | 1 | -0/+13 |
| | | | | * syntax.c (Fmodify_syntax_entry): Clear regexp cache. | ||||
* | (looking_at_1, string_match_1, search_command): | Richard M. Stallman | 2006-09-08 | 1 | -0/+15 |
| | | | | Make syntax table's canon table point to eqv table. | ||||
* | (compile_pattern_1): Use xsignal1. | Kim F. Storm | 2006-07-18 | 1 | -12/+6 |
| | | | | | (signal_failure): Remove (was only called once). (search_command): Use xsignal1 instead of signal_failure. | ||||
* | (Fset_match_data): Use CHECK_LIST. | Kim F. Storm | 2006-07-12 | 1 | -2/+1 |
| | |||||
* | * search.c (matcher_overflow): Mark as NO_RETURN. | Dan Nicolaescu | 2006-05-29 | 1 | -0/+1 |
| | | | | | | | | | | * xterm.c (x_connection_closed): Likewise. * sysdep.c (croak): Likewise. * sound.c (sound_perror, alsa_sound_perror): Likewise. * lisp.h (die, nsberror): Likewise. | ||||
* | (boyer_moore): Test ch >= 0400, not >. | Richard M. Stallman | 2006-04-09 | 1 | -2/+2 |
| | |||||
* | (Fregexp_quote): Do not precede a literal `]' with two backslashes to | Luc Teirlinck | 2006-03-01 | 1 | -1/+1 |
| | | | | | try to make clear that it has a literal meaning; it does not do that. (It could close a character alternative containing a backslash.) | ||||
* | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2006-02-06 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Use UPPERCASEP instead of !NOCASEP. | Andreas Schwab | 2006-01-15 | 1 | -1/+1 |
| | |||||
* | (search_buffer): No need to initialize base_pat. | Kim F. Storm | 2005-11-08 | 1 | -1/+1 |
| | |||||
* | (boyer_moore): Surround the '||' part of expression in | Kenichi Handa | 2005-10-21 | 1 | -1/+1 |
| | | | | `if' condition by parentheses explicitly. | ||||
* | Fix prev change. | Richard M. Stallman | 2005-10-19 | 1 | -1/+1 |
| | |||||
* | (Fstring_match): Doc fix. | Richard M. Stallman | 2005-10-19 | 1 | -1/+1 |
| | |||||
* | (search_buffer): Give up BM search on case-fold-search | Kenichi Handa | 2005-10-14 | 1 | -16/+24 |
| | | | | | if one of a target character has a case-equivalence of different charset even if that target charcter is an ASCII. | ||||
* | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2005-08-07 | 1 | -2/+2 |
| | |||||
* | (syms_of_search): Staticpro searchbuf.whitespace_regexp. | Kim F. Storm | 2005-07-14 | 1 | -0/+1 |
| | |||||
* | Update FSF's address. | Lute Kamstra | 2005-07-04 | 1 | -2/+2 |
| | |||||
* | (Freplace_match): Follow error conventions. | Juanma Barranquero | 2005-06-23 | 1 | -1/+1 |
| | |||||
* | (Fmatch_data): Remove evaporate option. | Kim F. Storm | 2005-06-22 | 1 | -10/+8 |
| | | | | | | (Fmatch_data): Do not mention evaporate option in doc string. Add commentary explaining evaporate arg (for internal use only). (unwind_set_match_data): Add comment on evaporate use. | ||||
* | (Fset_match_data): Fix last change. | Kim F. Storm | 2005-06-08 | 1 | -0/+2 |
| | |||||
* | (Fmatch_data): Add optional RESEAT arg. Unchain markers | Kim F. Storm | 2005-06-08 | 1 | -18/+76 |
| | | | | | | | | | in REUSE list if non-nil; free them if equal to evaporate. (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST if non-nil; free them if equal to evaporate. Use XCAR/XCDR. (restore_search_regs): Rename from restore_match_data. Uses changed. (unwind_set_match_data): New function. (record_unwind_save_match_data): New function like save-match-data. | ||||
* | (boyer_moore): Fix previous change. | Kenichi Handa | 2005-04-20 | 1 | -12/+17 |
| | |||||
* | (looking_at_1): Use current_buffer->case_canon_table, | Kenichi Handa | 2005-04-01 | 1 | -94/+129 |
| | | | | | | | | | | | | not DOWNCASE_TABLE. (string_match_1): Likewise. (fast_c_string_match_ignore_case): Use Vascii_canon_table, not Vascii_downcase_table. (fast_string_match_ignore_case): Likewise. (search_buffer): Fix checking of boyer-moore usability. (boyer_moore): Calculate translate_prev_byte1/2/3 in advance. No need of tranlating characters in PAT. Fix calculation of simple_translate. | ||||
* | (syms_of_search) <search-spaces-regexp>: Move 'doc:' | Kim F. Storm | 2004-11-27 | 1 | -5/+5 |
| | | | | marker out of doc string. | ||||
* | (Vsearch_spaces_regexp): | Richard M. Stallman | 2004-11-20 | 1 | -9/+9 |
| | | | | Renamed from Vsearch_whitespace_regexp. All uses changed. | ||||
* | (struct regexp_cache): New element whitespace_regexp. | Richard M. Stallman | 2004-11-19 | 1 | -3/+8 |
| | | | | | | (syms_of_search): Initialize whitespace_regexp elements. (compile_pattern): Compare whitespace_regexp elements. (compile_pattern_1): Set whitespace_regexp elements. | ||||
* | (Vsearch_whitespace_regexp): New variable. | Richard M. Stallman | 2004-11-19 | 1 | -1/+18 |
| | | | | | | (syms_of_search): Defvar it. (compile_pattern_1): Call re_set_whitespace_regexp with it. (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp is non-nil. | ||||
* | Comment change. | Richard M. Stallman | 2004-10-27 | 1 | -1/+1 |
| | |||||
* | (fast_string_match_ignore_case): New function. | Kenichi Handa | 2004-10-18 | 1 | -0/+21 |
| | |||||
* | (syms_of_search): staticpro | David Kastrup | 2004-07-15 | 1 | -0/+3 |
| | | | | `saved_last_thing_searched'. Apparently fixes an abort condition. | ||||
* | (match_limit, Fmatch_data, Fset_match_data): YAILOM. | Stefan Monnier | 2004-06-30 | 1 | -7/+7 |
| | |||||
* | (Fset_match_data): Allow buffer before end of list | David Kastrup | 2004-06-29 | 1 | -5/+8 |
| | | | | which can happen if set-match-data is using a pre-consed list. | ||||
* | (Freplace_match): Adjust the match-data more | David Kastrup | 2004-06-23 | 1 | -47/+73 |
| | | | | | | | | | | | thoroughly when replacing strings in the buffer. search.c (match-data): When INTEGERS is non-nil and the last match was in a buffer, add the buffer as last element to the match data. (Fset_match_data): If an additional element of the match-data is a buffer, restore it to last_thing_searched. (save_search_regs): Save last_thing_searched as part of the match data. (restore_match_data): Restore it again. | ||||
* | (match_limit): Cleaner err msg when no match data available. | Richard M. Stallman | 2004-06-21 | 1 | -2/+4 |
| | |||||
* | (match_limit): Don't flag an error if match-data | David Kastrup | 2004-06-11 | 1 | -2/+2 |
| | | | | | exceeding the allocated search_regs.num_regs gets requested, just return Qnil. | ||||
* | (trivial_regexp_p): \_ is no longer a trivial regexp. | Stefan Monnier | 2004-05-19 | 1 | -1/+1 |
| | |||||
* | (Freplace_match): Handle nonexistent back-references properly. | Richard M. Stallman | 2004-01-27 | 1 | -2/+10 |
| | |||||
* | (Freplace_match): Use make_multibyte_string or | Kenichi Handa | 2004-01-15 | 1 | -1/+9 |
| | | | | make_unibyte_string according to the buffer multibyteness. | ||||
* | Add arch taglines | Miles Bader | 2003-09-01 | 1 | -0/+3 |
| | |||||
* | (shrink_regexp_cache): Use xrealloc. | Dave Love | 2003-06-11 | 1 | -2/+2 |
| | | | | (syms_of_search): Use xmalloc. | ||||
* | (Fmatch_data): Doc fix. Explicitly state that | Kim F. Storm | 2003-02-13 | 1 | -1/+3 |
| | | | | match-data is undefined if last search failed. | ||||
* | Trailing whitespace deleted. | Juanma Barranquero | 2003-02-04 | 1 | -23/+23 |
| |