aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * object.c (Kernel#<=>) surround Comparable operators with <code> tags.eregon2013-12-282-4/+10
| | | | | | | The #== method was hidden in ri/rdoc's output and was highlighting the line instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_so_meteor_contest.rb: [DOC] Fix a few typoscharliesome2013-12-287-11/+20
| | | | | | | | | | | | * ext/fiddle/lib/fiddle/import.rb: ditto * ext/psych/lib/psych.rb: ditto * ext/psych/lib/psych/nodes/sequence.rb: ditto * ext/tk/lib/multi-tk.rb: ditto * ext/tk/lib/tcltk.rb: ditto Closes GH-490 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-28svn2013-12-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: save cmdarg_stack in local scopenobu2013-12-273-0/+15
| | | | | | | | * parse.y (local_push_gen, local_pop_gen): save cmdarg_stack to isolate command argument state from outer scope. [ruby-core:59342] [Bug #9308] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* expand-config.rb: expand config valuesnobu2013-12-272-5/+8
| | | | | | | | | * tool/expand-config.rb: expand config values, extracted from win32/Makefile.sub. * win32/Makefile.sub (ruby_pc): use tool/expand-config.rb script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: prefer unexpanded valuesnobu2013-12-271-2/+10
| | | | | | | | * tool/mkconfig.rb: prefer configured values than overriding values for RUBY_INSTALL_NAME and RUBY_SO_NAME when expanded results are same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* verconf.h.tmpl: renamenobu2013-12-272-2/+2
| | | | | | | | | * template/verconf.h.tmpl: rename from .in since this is an erb template file, but not for config.status. * common.mk (verconf.h): rename the dependent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-27svn2013-12-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{setup.mak,Makefile.sub}: update fake.rb likeusa2013-12-273-1/+11
| | | | | | | template/fake.rb.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: [DOC] Fix typoa_matsuda2013-12-261-1/+1
| | | | | | | s/formating/formatting/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (fake.rb): should depend on version.h becauseusa2013-12-262-1/+7
| | | | | | | | if RUBY_VERSION is updated, fake.rb need to say the new version to avoid install error in rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: remove dead codenobu2013-12-262-38/+1
| | | | | | | * hash.c (rb_hash_reject): remove dead code for the deprecated behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: no extra states copynobu2013-12-262-1/+6
| | | | | | | * hash.c (HASH_REJECT_COPY_EXTRA_STATES): turn off the old behavior, copying extra states by accident. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby/version.h: bump API versionnobu2013-12-261-1/+1
| | | | | | * include/ruby/version.h: bump API version too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h (RUBY_VERSION): 2.2.0 development has started.matz2013-12-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: reformatting for the previous commit.usa2013-12-261-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb (tag): support 2.1.1 semi-automatic tagging and 2.2.0 ↵usa2013-12-262-11/+25
| | | | | | explicit tagging. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c: Having any mandatory keyword argument increases min arity [#9299]marcandre2013-12-253-1/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c: Having optional keyword arguments makes maximum arity +1, not ↵marcandre2013-12-253-8/+14
| | | | | | unlimited [#8072] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/release.sh: fixed small bugs.usa2013-12-251-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/release.sh: executablenobu2013-12-251-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/release.sh: make symbolic links.usa2013-12-252-15/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* old ChangeLog and NEWS move to dockazu2013-12-254-18390/+18436
| | | | | | | | | * doc/NEWS-2.1.0: moved from NEWS * doc/ChangeLog-2.1.0: moved ChangeLog older than created ruby_2_0_0 branch * NEWS: NEWS for 2.2.0 that describes changes since 2.1.0 * ChangeLog: ChangeLog since created v2_1_0_rc1 tag (branch point of ruby_2_1 branch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-12-250-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: support new version scheme.usa2013-12-252-7/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-26svn2013-12-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add release script on ftp.r-l.onaruse2013-12-251-0/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: fix error by clangnobu2013-12-251-1/+1
| | | | | | | * compile.c (iseq_set_arguments): get rid of error by clang, implicit conversion to shorter integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: unnamed keyword rest checknobu2013-12-255-4/+33
| | | | | | | | | | | | | * compile.c (iseq_set_arguments): set arg_keyword_check from nd_cflag, which is set by parser. internal ID is used for unnamed keyword rest argument, which should be separated from no keyword check. * iseq.c (rb_iseq_parameters): if no keyword check, keyword rest is present. * parse.y (new_args_tail_gen): set keywords check to nd_cflag, which equals to that keyword rest is not present. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_keyword.rb: suppress warningsnobu2013-12-251-4/+4
| | | | | | | | | | * test/ruby/test_keyword.rb (test_block_required_keyword): suppress shadowing outer variable warning. * test/ruby/test_keyword.rb (test_precedence_of_keyword_arguments): suppress unused variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: [DOC] rdoc format patch by Giorgos Tsiftsis [Bug #9146]zzak2013-12-252-39/+49
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c: fix parameter of unnamed rest keywords argumentnobu2013-12-254-4/+50
| | | | | | | * iseq.c (rb_iseq_parameters): push argument type symbol only for unnamed rest keywords argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: fix arity of rest keywords argumentnobu2013-12-254-1/+45
| | | | | | | * proc.c (rb_iseq_min_max_arity): maximum argument is unlimited if having rest keywords argument. [ruby-core:53298] [Bug #8072] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_method.rb, test_proc.rb: suppress warningsnobu2013-12-252-4/+5
| | | | | | | | * test/ruby/test_method.rb: suppress warnings in verbose mode. * test/ruby/test_proc.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (argument_error): insert dummy frame to makeko12013-12-253-17/+51
| | | | | | | | | | | | a backtrace object intead of modify backtrace string array. [Bug #9295] * test/ruby/test_backtrace.rb: add a test for this patch. fix test to compare a result of Exception#backtrace with a result of Exception#backtrace_locations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_rubyoptions.rb: remove corenobu2013-12-251-8/+13
| | | | | | | | * test/ruby/test_rubyoptions.rb (test_segv_loaded_features): run SEGV test in a temproray directory so that core files may not be left, not to confuse chkbuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/ssl.rb: [DOC] Fix typoa_matsuda2013-12-251-1/+1
| | | | | | | s/willbe/will be/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/win32.c: mingw junglenobu2013-12-253-4/+20
| | | | | | | | | | | * configure.in: let mingw do something black-magic, and check if _gmtime64_s() is available actually. * win32/win32.c (gmtime_s, localtime_s): use _gmtime64_s() and _localtime64_s() if available, not depending on very confusing mingw variants macros. based on the patch by phasis68 (Heesob Park) at [ruby-core:58764]. [ruby-core:58391] [Bug #9119] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-12-250-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces, append newline at EOF.nobu2013-12-252-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/trick2013/: added the award-winning entries of TRICK 2013.mame2013-12-2516-0/+301
| | | | | | | See https://github.com/tric/trick2013 for the contest outline. (Matz has approved the attachment.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_ssl.c: declare OP_MSIE_SSLV2_RSA_PADDING only if definednobu2013-12-252-0/+9
| | | | | | | | | * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Declare a constant `OP_MSIE_SSLV2_RSA_PADDING` only if the macro is defined. The `SSL_OP_MSIE_SSLV2_RSA_PADDING` has been removed from latest snapshot of OpenSSL 1.0.1. [Fixes GH-488] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: to_uid and to_gidnobu2013-12-251-26/+24
| | | | | | | * file.c (to_uid, to_gid): extract from rb_file_s_chown, rb_file_chown, and rb_file_s_lchown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: proper typesnobu2013-12-251-3/+4
| | | | | | | * file.c (rb_file_chown): use proper configured types, not plain int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_fileutils.rb: fix for Mac OS Xnobu2013-12-251-4/+8
| | | | | | | | | * test/fileutils/test_fileutils.rb (test_chown_error): fix for Mac OS X, whose getpwnam("") doesn't err. passwd & group databases format is colon-separated, so user & group name can't contain a colon. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fileutils.rb: rmdir parents optionnobu2013-12-241-1/+1
| | | | | | | * lib/fileutils.rb (FileUtils#rmdir): [DOC] add parents option. [Bug #7824] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl.c: integer overflownobu2013-12-241-2/+3
| | | | | | | * ext/openssl/ossl.c (string2hex): fix signed integer overflow. [ruby-core:51711] [Bug #7744] [Fixes GH-242] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_variable.rb: fix testnobu2013-12-241-3/+2
| | | | | | | * test/ruby/test_variable.rb (test_binding_local_variables): adjust local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: Binding#local_variablesnobu2013-12-243-0/+70
| | | | | | | | * proc.c (bind_local_variables): allowing binding to list its local variables. patch by Jack Danger Canty <jackdanger AT squareup.com> at [ruby-core:56543]. [Feature #8773] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-25svn2013-12-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e