summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* refined again.akr2007-10-071-27/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine previous change.akr2007-10-071-5/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: enum ruby_value_flags removed.akr2007-10-073-65/+69
| | | | | | | * ruby.c: define RUBY_FL_* as const VALUE for gdb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: remove enable_post_connection_check flag.gotoyuzo2007-10-073-14/+7
| | | | | | | * lib/open-uri.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_eq): fix to use rb_str_equal().ko12007-10-073-18/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_to_i): update RDoc since base can be any valuematz2007-10-062-1/+6
| | | | | | between 2 and 36. [ruby-talk:272879] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_free): check Fiber or Continuation.ko12007-10-063-6/+8
| | | | | | | | * bootstraptest/test_knownbug.rb: remove a fixed test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_register): returns new index or -1 if failed.nobu2007-10-063-11/+47
| | | | | | | | | | | | * encoding.c (rb_enc_alias): check if original name is registered. * encoding.c (rb_enc_init): register in same order as kcode options in re.c. added new aliases. * string.c (rb_str_force_encoding): check if valid encoding name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add an example for Regexp.union document.akr2007-10-061-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_eq): get rid of gcc bug.nobu2007-10-065-19/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h: no longer provide DEFAULT_KCODE.matz2007-10-055-35/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2007-10-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_s_union_m): Regexp.union accepts single argument whichakr2007-10-052-8/+27
| | | | | | | is an array of patterns. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_not_match): new method.akr2007-10-053-0/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Turn on --enable-pthread by default for FreeBSDknu2007-10-052-25/+28
| | | | | | | | 5.2.1-RELEASE and later, and remove pthread support for older versions which has never worked perfectly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_to_s): Fix documentation. Time format changed.knu2007-10-052-4/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2007-10-05knu2007-10-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (in_addr, in6_addr, addr_mask): Make some minorknu2007-10-042-14/+11
| | | | | | | code optimization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (<=>): Implement IPAddr#<=> and make IPAddrknu2007-10-042-0/+43
| | | | | | | | | | | | | | comparable. * lib/ipaddr.rb (succ): Implement IPAddr#succ. You can now create a range between two IPAddr's, which (Range) object is enumeratable. * lib/ipaddr.rb (to_range): A new method to create a Range object for the (network) address. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (coerce_other): Support type coercion and make &,knu2007-10-042-34/+65
| | | | | | | | | | | | |, == and include? accept a string or an integer instead of an IPAddr object as the argument. * lib/ipaddr.rb (initialize): Give better error messages. * lib/ipaddr.rb: Improve documentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (Init_process): win32 has our own WNOHANG definition, sousa2007-10-042-2/+5
| | | | | | | | remove unnecessary #ifdef guard. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_permutation, rb_ary_product): support non C99usa2007-10-042-3/+9
| | | | | | | compilers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* replace rb_memcicmp()matz2007-10-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert rb_memcmp() change to pacify GCC optimizermatz2007-10-044-18/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_memcmp): no longer useful without ruby_ignorecase.matz2007-10-044-13/+18
| | | | | | * re.c (rb_reg_prepare_re): revert recompile condition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (kcode_setter): restore erroneously removed setter.matz2007-10-042-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (ignorecase_setter): change warning message.matz2007-10-043-5/+10
| | | | | | | | * re.c (ignorecase_getter): now gives warning. * string.c (rb_str_cmp_m): update RDoc document. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (Init_Time): remove obsolete Time::times.matz2007-10-042-17/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): remove obsolete const alias: MatchingData.matz2007-10-042-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): remove obsolete variables: $defout, $deferr.matz2007-10-042-19/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (kcode_setter): Perl-ish global variable `$=' no longermatz2007-10-043-60/+20
| | | | | | effective. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reg_compile_gen): copy encoding from source string ifnobu2007-10-042-3/+4
| | | | | | | non-empty. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reg_compile_gen): copy encoding from source string.nobu2007-10-042-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_obj_encoding): returns encoding of the given object.nobu2007-10-045-16/+26
| | | | | | | | | * re.c (Init_Regexp): new method Regexp#encoding. * string.c (str_encoding): moved to encoding.c git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_permutation): remove C99 dependency.matz2007-10-043-8/+18
| | | | | | | | [ruby-dev:31934] * array.c (rb_ary_product): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2007-10-041-13/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML numbermatz2007-10-031-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c, bin/ri, bin/irb: fixed typos in doc and comments.matz2007-10-034-4/+9
| | | | | | a patch from Eugene Ossintsev <eugoss AT gmail.com>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/driver.rb: enable specify label to executable.ko12007-10-032-2/+13
| | | | | | | | (-e "ruby1::/path/to/ruby1; ruby2::/path/to/ruby2; ...") git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_str_new, parser_yylex, rb_intern3): set code-rangenobu2007-10-032-19/+74
| | | | | | | | | | | | | bits. * parse.y (parser_tokadd_string): check code-range. * parse.y (parser_parse_string, parser_here_document): ditto. * parse.y (parser_set_encode): check if valid encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: should update class variable testsmatz2007-10-031-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_cvar_set): check whether class variable ismatz2007-10-033-16/+77
| | | | | | | | | | defined in superclasses. root classes have higher priority. removes lower class variable entry from IV_TBL (if it's defined in classes, not modules). * variable.c (rb_cvar_get): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_process_options): push frame with program name.nobu2007-10-034-17/+33
| | | | | | | [ruby-core:12351] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): refactoring. remove unused code.usa2007-10-022-13/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_product): generalized product, now takesmatz2007-10-023-14/+70
| | | | | | | arbitrary number of arrays. a patch from David Flanagan <david AT davidflanagan.com>. [ruby-core:12346] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1368@bean: ser | 2007-10-01 21:24:36 -0400ser2007-10-021-1/+1
| | | | | | | | | r1356@bean: ser | 2007-10-01 20:58:34 -0400 Fix for ticket:115 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1367@bean: ser | 2007-10-01 21:24:35 -0400ser2007-10-021-0/+8
| | | | | | | | | r1354@bean: ser | 2007-09-13 08:23:09 -0400 Eggbeater missed one. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1366@bean: ser | 2007-10-01 21:24:33 -0400ser2007-10-024-17/+56
| | | | | | | | | | | | | r1352@bean: ser | 2007-07-29 11:33:07 -0400 Implements namespace validation in the baseparser. This means that, as per the XML namespace spec, unbound prefixes generate UndefinedNamespaceException. Also, as per the namespace spec, the 'xml' prefix must be bound to http://www.w3.org/XML/1998/namespace, and the 'xmlns' prefix must not be declared. in the XML. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1365@bean: ser | 2007-10-01 21:24:32 -0400ser2007-10-021-0/+1
| | | | | | | | | | r1346@bean: ser | 2007-07-28 10:00:36 -0400 Fixes ticket:102. Fix provided by kevinj -- thanks! Great job. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1364@bean: ser | 2007-10-01 21:24:31 -0400ser2007-10-021-0/+1
| | | | | | | | | r1344@bean: ser | 2007-07-28 09:37:44 -0400 Fixes ticket:99, and adds Henrik's unit test (with minor modifications) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e