aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add message for an assertion.akr2006-06-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine previous description.akr2006-06-241-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): use rb_ary_new2 instead of rb_ary_new4 to avoidakr2006-06-243-6/+16
| | | | | | | | | | | | GC problem. (rb_yield_values): use rb_ary_new2 instead of rb_ary_new4. * array.c (rb_ary_new4): don't set len as n. make it safe with GC. [ruby-dev:28826] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-24eban2006-06-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add extconf.h to .cvsignore.akr2006-06-2425-0/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.akr2006-06-234-3/+7
| | | | | | | [ruby-dev:28805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed typo.nobu2006-06-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_block_pass): removed.nobu2006-06-232-81/+10
| | | | | | | | * eval.c (rb_thread_start_1): use rb_proc_yield() instead of rb_block_pass(). fixed: [ruby-dev:28794] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-23eban2006-06-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPResponse): duplicated error 501;matz2006-06-232-1/+6
| | | | | | | HTTPInternalServerError should be error 500. [ruby-core:08037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_mod_name): returns nil for anonymous modules.matz2006-06-222-2/+7
| | | | | | | [ruby-talk:198440] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-22eban2006-06-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_aref): "abc"[3] should not return an emptymatz2006-06-222-0/+11
| | | | | | | string but nil. [ruby-dev:28786] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_socketpair): try GC only once.akr2006-06-212-7/+14
| | | | | | | [ruby-dev:28778] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed an issue about mathn.tadf2006-06-212-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/getaddrinfo.c (freeaddrinfo, get_name): fixed typo.usa2006-06-214-5/+12
| | | | | | | | | * ext/tk/tcltklib.c (tcl_eval, tcl_global_eva): ditto. * ext/zlib/zlib.c (rscheck): constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::PPMethods::seplist): should have preservedmatz2006-06-212-3/+8
| | | | | | | original reference to the array. [ruby-dev:28747] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_param): do not use multiple assignment for a solematz2006-06-216-38/+60
| | | | | | | | | | | | | | | block parameter. [ruby-dev:28710] * eval.c (rb_yield_0): pass a raw yielded value to a sole block parameter if a value is passed by yield. * eval.c (proc_invoke): args may not be an array. * eval.c (rb_proc_yield): pass original value without wrapping it in an array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use fork to isolate rlimit effect.akr2006-06-211-7/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (method_call): remove (fn)(args) style lambdamatz2006-06-214-19/+34
| | | | | | | invocation, add fn.(args) instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, file.c, etc.: code-cleanup patch from Stefan Huehnermatz2006-06-2025-567/+254
| | | | | | | <stefan at huehner.org>. [ruby-core:08029] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-21eban2006-06-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reswords): modifier token is no longer returned in fnamenobu2006-06-202-1/+6
| | | | | | | state. fixed: [ruby-dev:28775] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (parse_args): provisional catch-up for the recent changes.nobu2006-06-203-6/+16
| | | | | | | * lib/optparse.rb (OptionParser::List#summarize, OptionParser#order!): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): intercept break and return from lambdamatz2006-06-203-71/+82
| | | | | | | | | | | | | | | | | | | | | | | | Proc objects. [ruby-dev:28742] * eval.c (proc_invoke): remove unnecessary YIELD_PROC_CALL flag. * eval.c (YIELD_EXACT_ARGS): renamed from YIELD_LAMBDA_CALL, which is no longer related to the behavior turned on by this flag. * eval.c (return_jump): no need to care about PROT_YIELD. * eval.c (break_jump): no jump to toplevel PROT_TREAD tag. * eval.c (rb_yield_0): fix confusion between lambda (which is a property of a proc) and pcall (which depends on whether it's called via yield or call). * eval.c (rb_thread_yield): no need to specify YIELD_LAMBDA_CALL. * eval.c (rb_block_pass): update blkid in prot_tag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-20eban2006-06-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc from Hugh Sasse [ruby-core:8012]drbrain2006-06-191-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Jun 19 23:40:59 2006 NARUSE, Yui <naruse@ruby-lang.org>naruse2006-06-191-0/+7
| | | | | | | | | | * ext/nkf/lib/kconv.rb: remove default -m0 and fix document. * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}: imported nkf 2.0.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * kconv.rb: remove default -m0 and fix document.naruse2006-06-191-16/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: imported nkf 2.0.7naruse2006-06-194-734/+739
| | | | | | | | | * Fix: fallback in CP51932 * ANSI C * Fix bug arround MIME encode NL git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* should not test when win32ole is not available.suke2006-06-191-13/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb (proc_return3): return within non lambda blockmatz2006-06-192-2/+15
| | | | | | | should terminate surrounding method. [ruby-dev:28741] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (unix_sysaccept): typo fixed.matz2006-06-193-2/+9
| | | | | | | | * ext/socket/socket.c (sock_connect): remove an unused local variable tmpaddr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (tcp_accept_nonblock): forgot to removematz2006-06-192-13/+13
| | | | | | | abandoned hacks. [ruby-dev:28740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-19eban2006-06-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: fix bug: initialize improper tablesnagai2006-06-182-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-18usa2006-06-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support PROPERTYPUTREF. [ruby-talk:183042]suke2006-06-184-4/+74
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add Test::Unit::Assertions.drbrain2006-06-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_eval): add aliases invoke_method andmatz2006-06-177-356/+363
| | | | | | | | | | | | | | | | | | invoke_functional_method corresponding send and funcall respectively. [ruby-talk:197512] * parse.y (parser_yylex): returns the most typical keyword token on EXPR_FNAME. [ruby-core:7995] * ext/socket/socket.c: protoize. * parse.y (then): remove ':' from 'then' and 'do' rules. * hash.c (env_aset): raise TypeError on nil with more descriptive message. [ruby-core:07990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Kernel#Pathname): new method.akr2006-06-173-6/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (Kernel#pretty_inspect): defined for pretty printedakr2006-06-162-1/+14
| | | | | | | string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-17eban2006-06-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reswords): kDO_BLOCK was missing. fixed: [ruby-core:7995]nobu2006-06-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-16eban2006-06-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_proc_arity): get rid of segfault for mere splat.nobu2006-06-153-2/+8
| | | | | | | * gc.c (gc_mark_children): NODE_BLOCK_PASS needs u3 to be marked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add RLIMIT_NOFILE testakr2006-06-151-1/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* give dummy argument for Process.getrlimit and rescue TypeError.akr2006-06-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Define Process.getrlimit and Process.setrlimit even ifakr2006-06-151-4/+0
| | | | | | | getrlimit and setrlimit are not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new file.akr2006-06-151-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e