aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * random.c (random_rand): remove unused variables.naruse2011-04-257-22/+25
| | | | | | | | | | | | | | * struct.c (rb_struct_define_without_accessor): ditto. * strftime.c (rb_strftime_with_timespec): ditto. * sprintf.c: ditto. * time.c (time_asctime): remove useless GetTimeval(). * thread_pthread.c: cast to (void *) for %p. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/lib/ripper/sexp.rb: fix rdoc arround sexp.naruse2011-04-252-5/+25
| | | | | | patched by Sho Hashimoto. fixes #4599 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_f_rand, random_s_rand): RDocs for them.sorah2011-04-242-8/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_s_rand, Init_Random): Random.rand should behave asmrkn2011-04-243-76/+129
| | | | | | | | | | Random::DEFAULT.rand rather than Kernel#rand. * random.c (rand_range, random_rand): rand_range function extracted from random_rand function. * random.c (rb_f_rand): accept a Range argument as Random#rand [ruby-dev:43427] #4605 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: require 'date'.tadf2011-04-243-3/+6
| | | | | | | * ext/date/lib/date/format.rb: removed require line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb: require 'date'.tadf2011-04-242-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb (_iso8601): added a pattern.tadf2011-04-242-11/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb: require 'date_core.so'.naruse2011-04-242-0/+7
| | | | | | | date/format needs methods which are now in date_core.so. This breaks make rdoc which uses Date._parse from time.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb: fixed a bug of regex.tadf2011-04-242-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb: an adjustment of regex.tadf2011-04-242-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/lib/date/format.rb: omitted to call _parse.tadf2011-04-242-58/+257
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-25svn2011-04-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_to_id): remove unused variable.kosaki2011-04-242-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c, rational.c: omitted some method calls.tadf2011-04-243-35/+70
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_parse.c (n2i): takes long.tadf2011-04-232-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_parse.c: reverted.tadf2011-04-232-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h: pcc can't use __builtin_constant_p.naruse2011-04-233-4/+10
| | | | | | * vm_exec.c: change condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (leap_p): surpress warning: parentheses.naruse2011-04-234-12/+20
| | | | | | | | | | | | * ext/date/date_core.c (date_s__parse_internal): remove unused variable "str". * ext/date/date_parse.c (parse_ddd_cb): use RSTRING_LENINT. * ext/date/date_strftime.c (date_strftime_with_tmx): remove unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-24svn2011-04-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_parse.c: removed some unused macros. use strchr()tadf2011-04-232-19/+14
| | | | | | | instead of index(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-23svn2011-04-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: replacement of implementation oftadf2011-04-234-594/+1459
| | | | | | | | | _parse. [experimental] * ext/date/date_parse.c: new. * ext/date/lib/date/format.rb: removed ruby version of _parse. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Float#finite?.naruse2011-04-221-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sort_bang): fix rdoc.naruse2011-04-222-2/+7
| | | | | | patched by burningTyger. https://github.com/ruby/ruby/pull/11 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):naruse2011-04-223-5/+29
| | | | | | | | | | XML-RPC's int is 32bit int, and Fixnum also may be beyond 32bit. * lib/xmlrpc/create.rb (XMLRPC::Create#conv2value): XML-RPC doesn't allow Infinity and NaN. http://www.xmlrpc.com/spec git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-22svn2011-04-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (parse): strings from psych have proper tainttenderlove2011-04-213-0/+149
| | | | | | | markings. * test/psych/test_tainted.rb: test for string taint git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_f_srand): fix rdoc: srand(0)'s 0 is a seed.naruse2011-04-202-2/+7
| | | | | | [ruby-core:35833] fixes #4590 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-21svn2011-04-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): maximum length of lpCommandLine istarui2011-04-202-0/+11
| | | | | | | 32,768 characters, including the Unicode terminating null character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strptime.c (date__strptime_internal): do nottadf2011-04-202-0/+6
| | | | | | | overwrite local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): check string's length when comparenaruse2011-04-202-1/+7
| | | | | | separator and string. [ruby-core:35815] fixes #4586 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-20svn2011-04-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-parse-partial): use position of open paren.nobu2011-04-193-2/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-19svn2011-04-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_cross_thread_close_fd):arton2011-04-182-0/+6
| | | | | | | skip cross thread pipe close if windows git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-18svn2011-04-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753):usa2011-04-182-3/+8
| | | | | | | avoid float error. [ruby-core:35804] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added date_tmx.htadf2011-04-161-0/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-17svn2011-04-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_{core,strftime}.c: use struct tmx instead of vtm.tadf2011-04-165-142/+141
| | | | | | | | * ext/date/date_tmx.h: new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typotadf2011-04-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strftime.c (date_strftime_wo_timespec): changedtadf2011-04-162-59/+12
| | | | | | | the way of validation of locale modifiers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typotadf2011-04-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: replacement of implementation oftadf2011-04-164-219/+788
| | | | | | | | | | _strptime. [experimental] * ext/date/date_strptime.c: new. * ext/date/lib/date/format.rb: removed ruby version of _strptime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-16svn2011-04-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* replace reduce with suppresskazu2011-04-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (Init_VM): suppress warning: "OPT_BASIC_OPERATIONS" is not defined.kazu2011-04-162-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): reduce warning: "ALLOW_DEFAULT_SOURCE_ENCODING" is ↵kazu2011-04-152-2/+7
| | | | | | not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-04-15svn2011-04-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e