aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * complex.c (nucomp_expt): checks exactness.tadf2009-06-292-11/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added a comment.tadf2009-06-291-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (float_to_r): always returns rational.tadf2009-06-292-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): fix for files with dots. [ruby-dev:38588]nobu2009-06-293-13/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (BUFCHECK): use common bdiff.nobu2009-06-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): should copy original encoding.nobu2009-06-292-1243/+39
| | | | | | | [ruby-dev:38612] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-29svn2009-06-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.c (Gem.default_dir): follows the change on yugui2009-06-282-7/+15
| | | | | | lib/rubygems/default.rb in r23879 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_div): raises ZeroDivisionError immediatelytadf2009-06-283-1/+17
| | | | | | | | | | | | | when the given second argument is zero. * rational.c (nurat_fdiv): never raise even if the given second argument is zero. * rational.c (rb_raise_zerodiv): changed the message (zero to 0). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_expt): convert to a float when the given powertadf2009-06-283-3/+26
| | | | | | | | | | is a bignum. * rational.c (nurat_expt): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (sqrt): fixed an issue [ruby-list:45852]tadf2009-06-282-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_expt): some improvements.tadf2009-06-283-6/+58
| | | | | | | | * rational.c (nurat_expt): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruby.rb (:gem): registers the bundled versionyugui2009-06-282-6/+16
| | | | | | | of minitest as a gem as rdoc or rake. c.f. [ruby-dev:38692]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (ConfigMap[:rubylibprefix]): new entryyugui2009-06-283-2/+13
| | | | | | | * lib/rubygems/defaults.rb (Gem.default_dir): considers "--with-rubylibprefix" configure option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* trivial changes.tadf2009-06-281-8/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-28svn2009-06-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: renamed some static functions.tadf2009-06-283-23/+28
| | | | | | | | * rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* trivial change.tadf2009-06-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_addsub): newtadf2009-06-272-39/+76
| | | | | | | | | | | | * complex.c (nucomp_{add,sub}): use nucomp_addsub. * complex.c (nucomp_divide): changed the algorithm. * complex.c (nucomp_abs): added shortcuts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_cmp): use rb_num_coerce_cmp.tadf2009-06-273-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: revised rdoc.tadf2009-06-274-562/+503
| | | | | | | | | | * rational.c: ditto. * numeric.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS, lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: addkou2009-06-274-0/+38
| | | | | | | item.guid.permanent_link? and item.guid.permanent_link=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: rss: 0.2.5 -> 0.2.7.kou2009-06-274-3/+9
| | | | | | | * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.6 -> 0.2.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_chr): use default_internal encoding as defaultmatz2009-06-261-1/+1
| | | | | | | destination encoding if set. [ruby-core:23997] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_chr): use default_internal encoding as defaultmatz2009-06-262-1/+12
| | | | | | destination encoding if set. [ruby-dev:38717] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-27svn2009-06-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_rewind): need to rewind $. and ARGF.lineno.matz2009-06-262-19/+25
| | | | | | | | [ruby-core:24046] * io.c (struct argf): refactoring on $. and ARGF.lineno behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (pty_getpty): check dup failure.akr2009-06-262-1/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_rubyopt):matz2009-06-263-6/+14
| | | | | | | | | | test suite add '.' to RUBYLIB. remove checks. * test/ruby/test_require.rb (TestRequire#test_tainted_loadpath): the default tempdir directory /tmp is world writable, so SecrurityError would be raised. check removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reduce tests.akr2009-06-261-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-26svn2009-06-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (COMPILE_PRELUDE): need -I. before -rrbconfig.usa2009-06-262-1/+6
| | | | | | | | [ruby-dev:38714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.4.2 r5269.ryan2009-06-252-5/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_binmode_m): should call rb_io_ascii8bit_binmode() tomatz2009-06-252-2/+8
| | | | | | set its encoding to ASCII-8BIT. [ruby-core:24029] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: ML info.usa2009-06-251-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: '&' in sed s command's replacement is '\&' in ruby.usa2009-06-252-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake.rb, lib/rubygems/custom_require.rb, lib/rubygems/digest/*.rb: not ↵nobu2009-06-255-0/+0
| | | | | | executable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_each_codepoint): uninitialized local variable enc.matz2009-06-242-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-25svn2009-06-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (first_i): wrong condition for no argument #first.matz2009-06-242-12/+17
| | | | | | [ruby-core:24017] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_s_now): new function. Time.now don't take arguments.akr2009-06-242-1/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: CONFIG["TEENY"] is not ruby's version but API'susa2009-06-242-1/+6
| | | | | | | | one. So need to use RUBY_VERSION instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: rbconfig.rb exists on ".".usa2009-06-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_set_encode): show the erred file name instead ofnobu2009-06-242-2/+17
| | | | | | | the file that requires it. [ruby-core:24006] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el: It is too late to set c-file-style inknu2009-06-242-4/+10
| | | | | | | | c-mode-hook (at least on Emacs 23). Call c-set-style instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_setup_method): fixed format spec.nobu2009-06-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-06-24svn2009-06-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe IO#fdatasync.akr2009-06-231-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2009-06-231-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_get_path_check): check with given safe level.nobu2009-06-233-14/+25
| | | | | | | | | * file.c (rb_find_file_ext_safe, rb_find_file_safe): ditto. * safe.c (rb_insecure_operation): function to raise security error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e