summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * numeric.c: cancelled recent changes (except to remove rdiv).tadf2008-04-074-38/+63
| | | | | | | | | | * bignum.c: ditto. * bignum.c: added rb_big_idiv. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ignores all libruby stuffs.nobu2008-04-070-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_init_db): moved to enc/encdb.c.nobu2008-04-0710-58/+76
| | | | | | | | | | | | * transcode.c (init_transcoder_table): moved to enc/trans/transdb.c. * enc/depend (enc/encdb.o enc/trans/transdb.o): depend on corresponding headers. * common.mk (COMMONOBJS): moved transcode.o from OBJS git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: add a known-bug.ko12008-04-072-0/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_each_func): should not leave a variablenobu2008-04-072-13/+9
| | | | | | | | | uninitialized, which could cause SEGV. * range.c (range_step): removed duplicated and unreachable code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_intern): need not to check if tainted.matz2008-04-062-3/+5
| | | | | | [ruby-dev:34219] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cmpint): moved from compar.c, to check bignummatz2008-04-066-34/+54
| | | | | | | | | zero. * range.c (range_step): add step for each iteration if begin and end are numeric. [ruby-core:15990] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: allows extra suffix after .c.nobu2008-04-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: set properties.nobu2008-04-060-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_tell): check if closed. [ruby-core:16223]nobu2008-04-063-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/complex.rb depends lib/cmath.rb.tadf2008-04-051-224/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: new.tadf2008-04-057-133/+270
| | | | | | | | | | | | * lib/complex.rb: depends lib/cmath.rb. * lib/rational.rb: added rdiv. * complex.c: removed some math functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_rb.rb: Fix uninitialized variable warnings.drbrain2008-04-045-5/+17
| | | | | | | | | | | * lib/rdoc/generator/html.rb: ditto. * lib/rdoc/options.rb: Fix shadowed variable warning. * lib/webrick/httprequest.rb: Fix redefined method warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_memsearch_qs): wrong boundary condition.naruse2008-04-042-4/+10
| | | | | | * re.c (rb_memsearch_qs_utf8): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_memsearch_qs): wrong boundary condition. a patch frommatz2008-04-043-4/+9
| | | | | | wanabe <s.wanabe AT gmail.com> in [ruby-dev:34248]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails andmatz2008-04-032-0/+7
| | | | | | @n_bytes as well. [ruby-core:16144] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_quo): RDoc updated.matz2008-04-032-4/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (Init_Bignum): rdiv method removed. [ruby-dev:34242]matz2008-04-037-89/+27
| | | | | | | | | | | | * complex.c (nucomp_quo): ditto. * numeric.c (num_rdiv): ditto. * rational.c (nurat_div): ditto. * complex.c (nucomp_fdiv): fdiv implementation restored. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_int_check): function for DRY real check.tadf2008-04-033-64/+33
| | | | | | | | * complex.c (nucomp_{add,sub,mul,div,expt}): use rb_num_coerce_bin(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_include): add RDoc to describe that comparisonmatz2008-04-032-1/+8
| | | | | | | for numeric is done according magnitude of values. [ruby-core:15907] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (defineclass): check if cbase is a class or a module.nobu2008-04-033-8/+23
| | | | | | | [ruby-core:16118] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (INSNS): add insns_info.inc.usa2008-04-032-2/+8
| | | | | | | | * common.mk (INSNS): make incs separately for nmake. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (golf_prelude.c): needs .new.nobu2008-04-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (endb.h, transdb.h, prelude.c): depend on $(PREP) andnobu2008-04-032-16/+16
| | | | | | | check if really changed. [ruby-core:16102] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, configure.in, {win32,bcc32}/Makefile.subnobu2008-04-036-6/+14
| | | | | | | (MINIOBJS, ARCHMINIOBJS): separated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence, iseq_insns_unification,nobu2008-04-038-25/+36
| | | | | | | | | | | | | insn_data_to_s_detail): constified. * iseq.c (insn_operand_intern, ruby_iseq_disasm_insn): ditto. * template/{insns_info,opt_sc,optunifs}.inc.tmpl: ditto. * tool/instruction.rb (OptUnifsIncGenerator): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (cflags): expand at compile time.nobu2008-04-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_rdiv): should always return rational number.matz2008-04-027-76/+85
| | | | | | | | | | | * rational.c (nurat_add, nurat_sub, nurat_mul, nurat_fdiv, nurat_cmp): use rb_num_coerce_bin(). * rational.c (nurat_division): does / and rdiv. * .gdbinit (rp): no longer use rb_p(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_int_check): function for DRY integer check.matz2008-04-023-57/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp): supports rational and complex numbers. it'smatz2008-04-012-0/+15
| | | | | | cheating since it uses rb_p(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/node.h: add new constants for rb_call()'s scope.matz2008-04-014-11/+22
| | | | | | | | | | * eval.c (iterate_method): use CALL_* scope constant to specify proper scope value. * eval.c (rb_each, rb_apply, rb_funcall, rb_funcall2, rb_funcall3): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c: need to include <float.h> just once.matz2008-04-012-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big2dbl): more precise conversion at edge cases.nobu2008-04-012-4/+58
| | | | | | | [ruby-dev:34195] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: get rid of empty expansion.nobu2008-04-012-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: quoted.nobu2008-04-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: _setjmp is available but _longjmp is not on mingw.nobu2008-04-012-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {lib,test}/rubygems: set eol-style.nobu2008-04-010-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.usa2008-04-013-1/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove test file that was removed in RubyGems 1.1.0drbrain2008-03-311-610/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RubyGems 1.1.0drbrain2008-03-3182-2771/+5619
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: __builtin_setjmp cannot handle a variable.nobu2008-03-312-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefersnobu2008-03-315-17/+72
| | | | | | | | | | | | | | | __builtin_setjmp, _setjmp over setjmp and sigsetjmp. [ruby-core:16023], [ruby-core:16086] * configure.in (--with-setjmp-type): new option to override the default rule in the above. * eval_intern.h (ruby_setjmp, ruby_longjmp), gc.c (rb_setjmp), vm_core.h (rb_jmpbuf_t): use RUBY_SETJMP, RUBY_LONGJMP and RUBY_JMP_BUF. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::Config.default_config_hash): requiresnobu2008-03-315-10/+21
| | | | | | | win32/resolv to use Win32::Resolv. [ruby-dev:34138] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adopted the ruby's style.tadf2008-03-313-1873/+1897
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert.tadf2008-03-312-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_quo): should convert its operand to Rational.matz2008-03-315-11/+15
| | | | | | | | | * rational.c (string_to_r_strict): should raise TypeError. * bignum.c (Init_Bignum): should not redefine Bignum#div. Numeric#div will do. [ruby-dev:34066] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile.sub (config.h): define ssize_t.usa2008-03-314-0/+22
| | | | | | | | * io.c (copy_stream_body): some platform don't have O_NOCTTY. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check for ssize_t. [ruby-dev:34184]nobu2008-03-312-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_getc): set coderange while getting characters.naruse2008-03-303-29/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_lines, rb_io_bytes, rb_io_chars) Fixed their rdocs.yugui2008-03-301-12/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e