aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * array.c (rb_ary_choice): should return nil when the array ismatz2007-05-133-5/+12
| | | | | | empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-12eban2007-05-121-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (tokens): forgot to add strip. [ruby-core:11120]aamine2007-05-123-1/+27
| | | | | | | * test/net/http/test_http.rb: test Net::HTTP.post_form. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_data_to_ary): internal IDs must not be exposed.nobu2007-05-114-166/+176
| | | | | | | | | | [ruby-core:11073] * parse.y (internal_id_gen): now returns scope local ID instead of global one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_s_conv): rdoc fix.usa2007-05-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_super.rb: add tests.usa2007-05-102-0/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_s_conv): rdoc fix.usa2007-05-102-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (POINTER_P): pointer may be larger than long.nobu2007-05-102-5/+12
| | | | | | | | * parse.y (vtable_size, vtable_included, vtable_tblcpy, vtable_to_tbl): constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_priority): rdoc fix; the initial value isnobu2007-05-103-7/+14
| | | | | | | inherited from the creating thread. [ruby-core:10607] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c: purged trailing spaces.nobu2007-05-091-124/+124
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: purged trailing spaces.nobu2007-05-091-37/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (Init_Bignum), numeric.c (Init_Numeric): added fdiv asnobu2007-05-093-0/+11
| | | | | | | aliases of quo. [ruby-dev:30771] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-09nobu2007-05-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Date._parse): revised treatment oftadf2007-05-082-41/+110
| | | | | | | | | | hyphend/separatorless dates. * lib/date/format.rb: some trivial adjustments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-08usa2007-05-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: reverted.tadf2007-05-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rational.rb: fix high-precision Rationals cannot bekeiju2007-05-082-1/+9
| | | | | | | | | converted to Floats. [ruby-Bugs:10502], [ruby-core:11069], [ruby-dev:30743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/image.rb, test/rss/test_image.rb: fixed Image modulekou2007-05-074-5/+10
| | | | | | | namespace URI. reported by Dmitry Borodaenko. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP.post_form): allow an Array of String for pairs ↵aamine2007-05-062-4/+28
| | | | | | | | | argument. [ruby-Bugs:10340] * lib/net/http.rb (Net::HTTP#set_form_data): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-05-06eban2007-05-061-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Connection header field might include both of ↵aamine2007-05-062-19/+34
| | | | | | "keep-alive" token and "close" token. [ruby-core:10818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Format::Bag#method_missing): get rid ofnobu2007-05-053-4/+9
| | | | | | | modifying orginal argument. [ruby-core:11090] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,nobu2007-05-039-124/+343
| | | | | | | | | | | | | search_required, rb_require_safe), ext/extmk.rb: Fix a bug where a statically linked extension cannot be autoloaded. [ruby-dev:30023] / [ruby-dev:30239] * thread.c: added an internal class, Barrier. * yarvcore.h (struct rb_vm_struct): moved loading_table from global. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: copied rdocs from fastthread.nobu2007-05-033-5/+78
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_evalbody.ci, insns.def, vm.c, tool/insns2vm.rb (rb_num_t):nobu2007-05-036-37/+44
| | | | | | | | | renamed to get rid of name clash. [ruby-dev:30504] * yarvcore.c (ruby_thread_init): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c, yarvcore.h, yarvcore.c, insns.def: fix to mark VM stackko12007-05-025-9/+18
| | | | | | | | in correct range. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_quo): now calculate in integer. [ruby-dev:30753]nobu2007-05-022-6/+68
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.h: add redefine checks ([ruby-dev:30751]).ko12007-05-022-4/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: use Qtrue instead of 2.ko12007-05-024-15/+36
| | | | | | | | * vm.c, insns.def: support "lambda" calling convention. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: removed garbage spaces.nobu2007-05-021-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c, parse.y, ruby.h (rb_compile_warn, rb_compile_warning): warnnobu2007-05-014-38/+106
| | | | | | | | for compilation. the parser should no longer use rb_warn() and rb_warning(). [ruby-dev:30121] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assoc): result of assoc_new needs to be an assoc.nobu2007-05-012-222/+235
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): improvement by calculating from MSB and usingnobu2007-05-013-14/+72
| | | | | | | factorization. <http://yowaken.dip.jp/tdiary/20070426.html#p01> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: import matzruby's sample/test.rb.ko12007-05-012-26/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_choice): fixed mistake from RDoc.matz2007-05-012-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_choice): a new method to choose an elementmatz2007-05-013-1/+27
| | | | | | randomly from an array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_arity): fix an arity bug ([ruby-core:11060]).ko12007-05-012-7/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * yarvcore.h, compile.c (set_arguments): support post arguments.ko12007-05-0112-44/+148
| | | | | | | | | | | | * test/ruby/test_method.rb: add tests for above. * test/ruby/test_proc.rb: ditto. * proc.c: fix an arity bug ([ruby-core:11029]). * vm.c, vm.h, insns.def, vm_dump.h: fix bmethod process. * vm.c: support block argument on block parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_pow): bugfix of overflow detection.nobu2007-04-272-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_pow): rb_big_pow() may return other than Bignum.nobu2007-04-272-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: support multiple splat (e.g, [a, *b, *c, e, *f]).ko12007-04-263-54/+65
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): truncate all zero BDIGITs. [ruby-dev:30733]nobu2007-04-262-20/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_pow): reduce multiplying for even number.nobu2007-04-263-8/+45
| | | | | | | | * numeric.c (int_pow): calculate power in Fixnum as possible. [ruby-dev:30726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: fixes for ripper.nobu2007-04-262-12/+27
| | | | | | | | | | | | | | | | * parse.y (primary): reduced duplcated code. * parse.y (f_arg_item): should not override by meaningless value. * parse.y (f_arg, assocs): should not use $$ before assigned. * parse.y (assoc_list): dispatch assoclist_from_args for assocs as well as args. * parse.y (assoc): return assoc if dispatched result is $1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el: new file. C/C++ style for ruby source code.nobu2007-04-263-3/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* clear cmsg padding.akr2007-04-251-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA toakr2007-04-252-12/+17
| | | | | | | align file descriptor appropriately. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtInitialize, exit_handler): add initializing andusa2007-04-252-48/+47
| | | | | | | | | | | | | | cleanup of critical section object for select. * win32/win32.c (do_select): block reentrance. * win32/win32.c (rb_w32_select): 0 sec polling of socket. this is workaround because winsock cannot do select at same socket at the same time by two or more threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/probeprofiler/probeprofiler.c: fix function name andko12007-04-252-2/+7
| | | | | | | | return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/probeprofiler: set eol-style.nobu2007-04-254-86/+86
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e