summaryrefslogtreecommitdiff
path: root/regex.c
AgeCommit message (Collapse)Author
2002-02-16* regex.c (re_compile_fastmap): skip begpos.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-25* class.c (rb_include_module): detect cyclic module inclusion.matz
* eval.c (rb_thread_schedule): should check time only if BOTH WAIT_SELECT and WAIT_TIME. * string.c (rb_str_split_m): no need to consider KANJI characters, if the length of separator is 1 (byte). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-07* string.c (rb_str_new2): NULL pointer check added.matz
* class.c (rb_define_module_under): should locate predefined module using rb_const_defined_at(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-04forgot to commit everything bug ChangeLogmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-10* parse.y (gettable): should freeze __LINE__ string.matz
* parse.y (str_extend): should not process immature #$x and #@x interportation, e.g #@#@ etc. * regex.c (WC2MBC1ST): should not pass through > 0x80 number in UTF-8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-10-30* eval.c (rb_f_eval): can't modify untainted binding.matz
* regex.c (re_compile_pattern): should preverve p0 value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-10-02* eval.c (rb_eval): should override existing class.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-09-03* io.c (rb_io_popen): accept integer flags as mode.matz
* file.c (rb_find_file_ext): extension table can be supplied from outside. renamed. * eval.c (rb_f_require): replace rb_find_file_noext by rb_find_file_ext. * eval.c (rb_provided): should also check feature without extension. * numeric.c (flo_to_s): do not rely on decimal point to be '.' * parse.y (yylex): ternary ? can be followed by newline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-08-23* eval.c (is_defined): should not dump core for "defined?(())".matz
* eval.c (umethod_bind): recv can be an instance of descender of oklass if oklass is a Module. * hash.c (rb_hash_equal): check identiry equality first. * variable.c (mod_av_set): detect constant overriding for built-in classes/modules. * marshal.c (w_object): should retrieve __member__ data from non-singleton class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-19back port from 1.7matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-19regex.c updatedmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-16* eval.c (proc_invoke): should preserve iter status for embeddedmatz
frame in the block. * file.c (rb_file_s_expand_path): may overrun buffer on stack. * regex.c (re_search): should consider reverse search. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-11* It is confusing to put the GPL license terms in the file COPYING;knu
Rename the files COPYING and COPYING.LIB to GPL and LGPL, respectively. * While I am here, update the LGPL with the "Lesser" one. * Move the "copying" sections of the files README and README.jp to COPYING and COPYING.jp, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-06* eval.c (rb_f_require): move rb_file_s_expand_path frommatz
rb_find_file_noext(). * file.c (rb_find_file_noext): move rb_file_s_expand_path to rb_f_require(). * string.c (rb_str_each_line): should propagate taint mark. * ext/nkf/nkf.c (rb_nkf_kconv): ditto. * ruby.c (load_file): local variables 'c' remain uninitialized on xflag. * regex.c (re_match): prefetched escaped character too early. * eval.c (rb_call0): add argument check for attr_readers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-29* lex.c (rb_reserved_word): lex_state after tRESCUE should bematz
EXPR_MID. * gc.c (add_heap): allocation size of the heap unit is doubled for each allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-19* eval.c (rb_f_require): searches ".rb" and ".so" at the samematz
time. previous behavior (search ".rb", then ".so") has a security risk (ruby-bugs#PR140). * regex.c (re_compile_pattern): avoid pushing unnecessary option_set. * eval.c (rb_load): tainted string is OK if wrapped *and* $SAFE >= 4. * eval.c (rb_thread_start_0): should not nail down higher blocks before preserving original context (i.e. should not alter original context). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-06* eval.c (rb_load): should check if tainted even when wrap ismatz
specified. * regex.c (re_compile_pattern): too much optimization for the cases like /(.|a)b/. * variable.c (fc_i): removed vast string allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-04* regex.c (re_compile_pattern): should push option modifier at thematz
right place. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-29* regex.c (re_compile_pattern): * \1 .. \9 should bematz
backreferences always. * regex.c (re_match): backreferences corresponding to unclosed/unmatched parentheses should fail always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-29* regex.c (re_compile_pattern): no back reference to amatz
subexpression if inside of it. * eval.c (rb_yield_0): preserve and restore ruby_cref as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-19m68m frame_pointer patchmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-17preview2matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-04-16* regex.c (calculate_must_string): wrong length calculation.matz
* eval.c (rb_thread_start_0): fixed memory leak. * parse.y (none): should clear cmdarg_stack too. * io.c (rb_fopen): use setvbuf() to avoid recursive malloc() on some platforms. * file.c (rb_stat_dev): device functions should honor stat field types (except long long such as dev_t). * eval.c (rb_mod_nesting): should not push nil for nesting array. * eval.c (rb_mod_s_constants): should not search array by rb_mod_const_at() for nil (happens for singleton class). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-13* parse.y (primary): preserve and clear in_single and in_def usingmatz
stack to prevent nested method errors in singleton class bodies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-11-10matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-11-10matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-10-02matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-27matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-26matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-25matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-25matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-22matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-07matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-28matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-25matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-24matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-07matzmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-242000-05-24matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-22/p is back for transitmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-19regex fixed for (?m)matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-182000-05-18matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-17thread problemsmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-16remove configure from repositrymatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-122000-05-12matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-092000-05-09matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-012000-05-01matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-092000-03-09matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-082000-03-08matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-232000-02-23matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-172000-02-17matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e