aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Usedrbrain2014-01-042-2/+6
| | | | | | | ipv4_multicast_ttl option for portability. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-04svn2014-01-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Usedrbrain2014-01-042-1/+7
| | | | | | | | ipv4_multicast_loop option for portability. Patch by Jeremy Evans. [ruby-trunk - Bug #9351] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (rsock_sys_fail_host_port): save and restore errnocharliesome2014-01-032-0/+24
| | | | | | | | | | | | before calling rb_sys_fail_str to prevent [BUG] errno == 0. Patch by Eric Wong. [ruby-core:59498] [Bug #9352] * ext/socket/socket.c (rsock_sys_fail_path): ditto * ext/socket/socket.c (rsock_sys_fail_sockaddr): ditto * ext/socket/socket.c (rsock_sys_fail_raddrinfo): ditto * ext/socket/socket.c (rsock_sys_fail_raddrinfo_or_sockaddr): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2014-01-030-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/net/imap/test_imap.rb: fix test failures due to expired certstmm12014-01-034-78/+94
| | | | | | | | | | * test/net/imap/cacert.pem: generate new CA cert, since the last one expired. [Bug #9341] [ruby-core:59459] * test/net/imap/server.crt: new server cert signed with updated CA. * test/net/imap/Makefile: add `make regen_certs` to automate this process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-03svn2014-01-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal: update class method call style from :: to .eregon2014-01-026-29/+41
| | | | | | | | | | in documentation and usage. * ext/bigdecimal/lib/bigdecimal/math.rb: [DOC] fix examples values. Computations were made using ruby 2.0.0p247 to ensure no effect of the recent BigDecimal bug. * ext/bigdecimal/sample/nlsolve.rb: fix indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fwrite): freeze converted str.glass2014-01-022-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkrunnable.rb: fix DLL path on Windowsnobu2014-01-021-1/+7
| | | | | | | * tool/mkrunnable.rb: DLL needs placed at same directory as executables on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: extra modifiernobu2014-01-012-1/+7
| | | | | | | | * eval.c (rb_longjmp): remove an extra modifier from the forward declaration to match the actual definition. [ruby-core:59451] [Bug #9338] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dbm.c: yield dup of keystrnobu2014-01-012-2/+13
| | | | | | | * ext/dbm/dbm.c (fdbm_fetch): yield dup of keystr, to make it shared and get rid of use of uninitialized variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (method_missing): use ALLOCV_N() instead ofglass2014-01-012-10/+8
| | | | | | ALLOCA_N() and rb_ary_tmp_new(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_zip): use ALLOCV_N() instead of ALLOCA_N().glass2014-01-012-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-02svn2014-01-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_keys): make rb_hash_keys() static.glass2014-01-013-2/+10
| | | | | | | | | | it is no longer used from array.c since r43969. the patch is from normalperson (Eric Wong). [ruby-core:59449] [Feature #9336] * internal.h: remove definition of rb_hash_keys(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_transcode.rb: add messagesnobu2014-01-011-4/+4
| | | | | | | * test/ruby/test_transcode.rb (test_valid_dummy_encoding): add assertion messages and suppress a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: LDFLAGS and DLDFLAGS for opt-dirnobu2014-01-012-10/+24
| | | | | | | * configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after LIBPATHFLAG and RPATHFLAG are set. [ruby-dev:47868] [Bug #9317] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-01svn2014-01-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: use SSE2nobu2014-01-012-0/+6
| | | | | | | * configure.in: use SSE2 instructions for drop unexpected precisions. [ruby-core:54738] [Bug #8358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: raise with causenobu2013-12-313-11/+67
| | | | | | | * eval.c (rb_f_raise): add cause: optional keyword argument. [ruby-core:58610] [Feature #8257] [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove HAVE_FSEEKO from win32/win32.carton2013-12-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fwrite): allocate frozen str only when str is not converted.glass2013-12-312-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix for 1.8 baserubynobu2013-12-311-1/+1
| | | | | | | * lib/mkmf.rb (init_mkmf): fix for 1.8 baseruby. RbConfig of 1.8 did not have CXXFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: expand RUBY_SO_NAMEnobu2013-12-312-0/+7
| | | | | | | * lib/mkmf.rb (RbConfig): expand RUBY_SO_NAME for extensions backward compatibility. [ruby-core:59426] [Bug #9329] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: pass version numbersnobu2013-12-311-1/+1
| | | | | | | * tool/mkconfig.rb (RbConfig): version numbers are also needed by RUBY_SO_NAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-31svn2013-12-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add [DOC] tag [ci skip]zzak2013-12-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c: Adding extra example in docs. [Bug #9210]ayumin2013-12-302-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* encoding.c: mask dummy flagsnobu2013-12-303-3/+19
| | | | | | | * encoding.c (must_encindex, rb_enc_from_index, rb_obj_encoding): mask encoding index and ignore dummy flags. [ruby-core:59354] [Bug #9314] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-30svn2013-12-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: needs CXXFLAGS. [ruby-core:59393][Bug #9320]eban2013-12-302-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): Make CXXFLAGS customizable.sorah2013-12-292-1/+7
| | | | | | Patch by Kohei Suzuki (eagletmt). [Fixes GH-492] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: fix inherited method ownernobu2013-12-293-17/+16
| | | | | | | | | | | | | * proc.c (mnew_from_me): keep iclass as-is, to make inheritance chain consistent. [ruby-core:59358] [Bug #9315] * proc.c (method_owner): return the original defined_class from prepended iclass, instead. * vm_insnhelper.c (vm_search_super_method): revert r44455, no longer defined_class becomes a module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_sprintf.rb: sprintf with a hash as parameternobu2013-12-281-0/+5
| | | | | | | * test/ruby/test_sprintf.rb (test_hash): Added tests for sprintf with a hash as parameter. [Fixes GH-491] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_sprintf.rb: sprintf with a hash as parameternobu2013-12-281-0/+5
| | | | | | | * test/ruby/test_sprintf.rb (test_hash): Added tests for sprintf with a hash as parameter. [Fixes GH-491] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: missing super in method modulenobu2013-12-283-0/+27
| | | | | | | | | * vm_insnhelper.c (vm_search_super_method): direct superclass of a module is found when super called in a Method object generated a method defined in a module, call method_missing in that case. [ruby-core:59358] [Bug #9315] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-29svn2013-12-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compar.c (cmp_eq_recursive): Fix the return value, the value foreregon2013-12-282-1/+8
| | | | | | | | failed #<=> should be nil. It was raising a NoMethodError for the test case TestComparable#test_no_cmp (undefined method `>' for false:FalseClass). Yet one more reason for #7688. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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