aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ChangeLog: updated.matz2008-05-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el: move fontifying code from hook.matz2008-05-022-18/+17
| | | | | | [ruby-core:16636] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): step may be bignum.matz2008-05-022-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): remove MatchData#select. [ruby-dev:34563]matz2008-05-023-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: reordered.nobu2008-05-011-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adding accidentally skipped ChangeLog entry.jeg22008-05-011-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_divide), numeric.c (fix_divide): check for resultnobu2008-05-013-11/+18
| | | | | | | domain. [ruby-dev:34559] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb: This patch from Brian Candler adds a FailEOF mode whichjeg22008-05-011-0/+7
| | | | | | | | | can be activated to have net/telnet raise EOFError exceptions when the remote connection is closed. The default behavior remains unchanged though. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): check if step can be converted to an integer.nobu2008-05-012-3/+8
| | | | | | | [ruby-dev:34558] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): allow float step bigger than zero but lessnobu2008-05-012-1/+6
| | | | | | | than one. [ruby-dev:34557] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_divide): return an integer for idiv.nobu2008-05-012-1/+14
| | | | | | | [ruby-dev:34553] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_s_create): should access converted hash value.matz2008-05-012-2/+7
| | | | | | [ruby-dev:34555] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_parse.rb (TestParse::test_void_expr_stmts_value):matz2008-05-014-6/+15
| | | | | | | | | shut up warning. * rational.c (nurat_to_f): no need for forceful warning when converting to float. overflow is a nature of float values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for [ruby-dev:34556] and [ruby-dev:34555].akr2008-05-012-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_delete_if): return enumerator if no block given.nobu2008-05-012-0/+6
| | | | | | | [ruby-dev:34554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:34553].akr2008-05-011-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* split combinational blackbox tests.akr2008-05-012-607/+620
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-05-01usa2008-05-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bootstraptest updatedmatz2008-04-301-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 0**-1 test updated. [ruby-dev:34547]akr2008-04-301-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [ruby-dev:34497] ERB::Util#url_encode bug fix. Reported by rubikitch.seki2008-04-303-15/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-04-301-0/+68
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb: Fixing a bug where line endings would not be properlyjeg22008-04-302-3/+16
| | | | | | | | | escaped when the two character ending was broken up into separate TCP packets. Issue reported and patched by Brian Candler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_load_path), vm_core.h (rb_vm_t): moved to VM.nobu2008-04-306-27/+54
| | | | | | | | | | | | | | * load.c (rb_get_load_path): returns absolute load path. * load.c (load_path_getter): $LOAD_PATH getter. * file.c (rb_find_file_ext, rb_find_file), ruby.c (push_include, ruby_init_loadpath): use the accessor. * vm.c (rb_vm_mark): mark load_path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_search): use local variable. a patch from wanabenobu2008-04-302-1/+7
| | | | | | | <s.wanabe AT gmail.com> in [ruby-dev:34537]. [ruby-dev:34492] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h: speficy the values of the enumeration constantsmame2008-04-302-2/+7
| | | | | | | explicitly. [ruby-dev:34489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't use fork method.akr2008-04-301-123/+82
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-04-30usa2008-04-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (check_exec_redirect_fd): prohibit duplex IO.akr2008-04-305-7/+36
| | | | | | | | | (check_exec_fds): record maxhint even if close_others is not specified. (rb_exec_arg_fixup): renamed from rb_exec_arg_fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-04-291-0/+41
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typotadf2008-04-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational (nurat_marshal_load): checks the giventadf2008-04-282-9/+19
| | | | | | | | denominator. [ruby-dev:34536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_each): use INT2FIX() for fixnum values.matz2008-04-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:34536].akr2008-04-281-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2008-04-281-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2008-04-281-32/+117
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bit more explanation.akr2008-04-281-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead ofakr2008-04-283-1/+42
| | | | | | | | | FIXNUM_MAX to make it possible to convert to double accurately. It assumes FLT_RADIX is 2. fix RubyForge bug #14102. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_exec_arg_addopt, rb_exec_arg_addopt): now can specifyusa2008-04-282-4/+5
| | | | | | | | close_exec on having no fork environment (but still meaningless). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_options): don't call FIX2INT for nil.akr2008-04-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (method_name): should return symbols instead of strings.matz2008-04-285-8/+13
| | | | | | [ruby-dev:34531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_exec_arg_init): declared.akr2008-04-284-105/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (rb_exec_arg_addopt): delared. (rb_exec_arg_fix): declared. (rb_exec_initarg): removed. (rb_exec_getargs): removed. (rb_exec_initarg2): removed. * io.c (struct popen_arg): make execarg as a pointer. (popen_exec): follow popen_arg change. (pipe_open): add eargp argument. extract argc and argv from eargp. use rb_exec_arg_addopt to add redirect options. (pipe_open_v): set up struct rb_exec_arg. (pipe_open_s): set up struct rb_exec_arg. * process.c (rb_exec_arg_addopt): new function extracted from check_exec_options_i. (check_exec_options_i): use rb_exec_arg_addopt. (rb_check_exec_options): opthash is always a hash now. (rb_exec_getargs): make it static. (rb_exec_fillarg): renamed from rb_exec_initarg2. don't set up redirect_fds. (rb_exec_arg_init): new function. (rb_exec_arg_fix): new function. (rb_f_exec): use rb_exec_arg_init and rb_exec_arg_fix. use rb_exec_arg_addopt to set close_others option. (run_exec_options): make close_others by default. (rb_spawn_internal): use rb_exec_arg_init and rb_exec_arg_fix. use rb_exec_arg_addopt to set close_others option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_expt): use f_rational_new2. [ruby-dev:34524]tadf2008-04-272-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_count): add a GC.count method. This method returnsko12008-04-273-1/+26
| | | | | | | | a GC invoking count. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-04-271-2/+197
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_vm_t), gc.c (rb_objspace, rb_newobj), vm.cnobu2008-04-275-138/+249
| | | | | | | | | | | | | (Init_BareVM): per-VM object space support, which is disabled now. * gc.c (rb_objspace_alloc), vm.c (Init_BareVM): should not use ruby malloc here. * gc.c (garbage_collect, etc): performance improvement by passing the reference instead of refering the global variable in each functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:34524].akr2008-04-271-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:34492].akr2008-04-271-0/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * svn:eol-style.nobu2008-04-270-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_set_argv): ARGV should be locale encoding.naruse2008-04-263-3/+10
| | | | | | [ruby-list:44861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e