aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rubygems/platform.rb (Gem::Platform#initialize): Support patternnaruse2012-07-301-0/+5
| | | | | | like x86_64-netbsd6.99.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: fix r36574nobu2012-07-301-0/+12
| | | | | | | | | | | | | * variable.c (find_class_path): no retry when preferred is given. * variable.c (classname): if classid is set try it to find full qualified class path, and then try arbitrary class path. try tmp_classpath at last even if enclosing namespace is anonymous. fix r36574. [ruby-core:42865][Bug #6078] * variable.c (rb_set_class_path_string, rb_set_class_path): set tmp_classpath instead of classpath if the name is not permanent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: tmp_classpathnobu2012-07-301-0/+5
| | | | | | | | * variable.c: store anonymous class path in tmp_classpath but not in classpath. [ruby-core:42865][Bug #6078] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: deprecate -flat_namespacenobu2012-07-301-1/+4
| | | | | | | | * configure.in (DLDFLAGS): on Darwin, deprecate -flat_namespace to get rid of huge imported symbols table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: runnable if disable-sharednobu2012-07-301-0/+6
| | | | | | | | | * configure.in (LIBRUBY_RELATIVE): libruby_so is not made when disable-shared, so no absolute path is used for it and executable file is runnable anywhere. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: add a dependency. [ruby-core:46741] [Bug #6789]nagachika2012-07-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core): hide th->async_errinfo_mask_stack fromnagachika2012-07-291-0/+5
| | | | | | ObjectSpace.each_object. refix of r36539. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* option.c: use rb_w32_inet_ntopnobu2012-07-291-1/+4
| | | | | | | | * ext/socket/option.c (inet_ntop): use rb_w32_inet_ntop, instead of inet_ntop directly, which is unavailable on older version Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: rb_w32_inet_ntop should be constnobu2012-07-291-0/+4
| | | | | | | * win32/win32.c (rb_w32_inet_ntop): type should be const. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (Init_Thread): does not need to set klassktsj2012-07-291-0/+5
| | | | | | explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/win32.c: suppress warning redeclaredshirosaki2012-07-281-0/+6
| | | | | | | | * win32/win32.c: suppress warning redeclared on mingw64. *_s functions are declared if MINGW_HAS_SECURE_API is defined. Follow up r36556. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: remove unused initialization.nari2012-07-281-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/win32.c: fix localtime_r() on x64-mingwshirosaki2012-07-281-0/+9
| | | | | | | | | | | * win32/win32.c (gmtime_r): use _gmtime64_s() with x86_64-w64-mingw32. * win32/win32.c (localtime_r): use _localtime64_s() with x86_64-w64-mingw32. Since FileTimeToSystemTime() seems not work with large value under x64. Mingw-w64 doesn't have these declaration. [ruby-core:46780] [Bug #6794] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: try conversion at redirectionnobu2012-07-271-0/+7
| | | | | | | | | * io.c (rb_io_check_io): make public. * process.c (check_exec_redirect): try conversion to IO on redirect parameters. [ruby-core:44181] [Bug #6269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: get rid of duplication in CPPFLAGSnobu2012-07-271-0/+5
| | | | | | | | * configure.in (RUBY_CPPOUTFILE): get rid of variable conflict so CPPFLAGS is not duplicated. [ruby-core:43097] [Bug #6119] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: should not export DllMain().usa2012-07-271-0/+6
| | | | | | | | reported by luis at [ruby-core:46743] [Bug #6790], solved by Heesob Park, and confirmed by nobu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/http/test_https.rb (TestNetHTTPS#test_session_reuse): localhost ↵shyouhei2012-07-261-0/+5
| | | | | | is not (always) 127.0.0.1. Don't expect that. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid compilation error on AIX by -ansi -std=iso9899:199409 (r36038). ↵kanemoto2012-07-251-0/+5
| | | | | | | | | | [ruby-core:46744] [Bug #6791]. This issue is fixed in upper stream as issue #142. (https://github.com/flori/json/issues/142) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core, Init_Thread): hidenagachika2012-07-251-0/+6
| | | | | | | th->async_errinfo_queue and th->async_errinfo_mask_stack from ObjectSpace.each_object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* complex.c, rational.c: compatible marshal loadernobu2012-07-251-0/+5
| | | | | | | | * complex.c, rational.c: compatible marshal loader for compatibilities with 1.8. [ruby-core:45775] [Bug #6625] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* atomic.h: prefer GCC atomic builtinsnobu2012-07-251-0/+5
| | | | | | | | * atomic.h: prefer GCC atomic builtins than Windows APIs, if possible, since they are generic. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/.document: Removed. All files in net/ should be included indrbrain2012-07-251-0/+5
| | | | | | | RDoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_redefinition.rb: broken class/method names.usa2012-07-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html.rb: Use << instead of +=.naruse2012-07-251-0/+6
| | | | | | | `a += b` is syntax sugar of `a = a + b`; it creates a new string object. `a << b` is concatenation and doesn't create new object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html.rb (element_init): suppress redefine warning.naruse2012-07-251-0/+5
| | | | | | Don't define methods if they are already defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: Added SSL session reuse across connections for adrbrain2012-07-251-0/+7
| | | | | | | | | single instance to speed up connection. [Feature #5341] * NEWS: ditto * test/net/http/test_https.rb: Tests for #5341 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/re.rdoc: Fix spellingdrbrain2012-07-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_s_last_match): Update $~ to reference Regexpdrbrain2012-07-241-0/+5
| | | | | | | documentation about "special global variables". [Bug #6723] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c: Added documentation. Patch by David Albert. [Bug #6785]drbrain2012-07-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: added symbols and qsymbols productions for %i and %Itenderlove2012-07-241-0/+15
| | | | | | | | | | | | | | | | support. %i{ .. } returns a list of symbols without interpolation, %I{ .. } returns a list of symbols with interpolation. Thanks to Josh Susser for inspiration of this feature. [Feature #4985] * ext/ripper/eventids2.c: added ripper events for %i and %I. * test/ripper/test_parser_events.rb: ripper tests * test/ripper/test_scanner_events.rb: ditto * test/ruby/test_array.rb: test for %i and %I behavior git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix broken pow() on x64-mingw32shirosaki2012-07-241-0/+7
| | | | | | | | | * include/ruby/win32.h (rb_w32_pow): add new function. We use powl() instead of broken pow() for x64-mingw32. This workaround fixes test failures related to floating point numeric. [ruby-core:46686] [Bug #6784] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_socket, rb_w32_socketpair): remember the familyusa2012-07-241-0/+11
| | | | | | | | | | | | | in the high word of socklist value. * win32/win32.c (overlapped_socket_io, recvmsg, sendmsg, setfl): follow above changes. * win32/win32.c (rb_w32_getsockname): set remembered family to the argument when OS's function fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir_m17n.rb: remove a garbage.usa2012-07-241-0/+7
| | | | | | | | * test/ruby/test_dir_m17n.rb: convert from ascii-8bit to other encoding with 8bit bytes always fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir_m17n.rb: sorry, typo.usa2012-07-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir_m17n.rb: refactoring. RE should be in the left sideusa2012-07-241-0/+5
| | | | | | | of the =~ operator, and compare the result with nil is meaningless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_pack.rb (test_pack_unpack_M): was redefinedusa2012-07-241-0/+5
| | | | | | | accidentally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Updated to RubyGems 1.8.24, a bugfix release.drbrain2012-07-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix raw UTF-8 test for non-Japanase Windows systemsluislavena2012-07-231-0/+13
| | | | | | | | | | | | | | | * test/ruby/test_dir_m17n.rb (create_and_check_raw_file_name): add new helper method to ease encoding testing. Patch by Oleg Sukhodolsky. [ruby-core:46589][Bug #6765] * test/ruby/test_dir_m17n.rb (test_filename_extutf8): use filesystem encoding when reading entries and comparing. * test/ruby/test_dir_m17n.rb (test_filename_utf8_raw_name): removed. * test/ruby/test_dir_m17n.rb (test_filename_utf8_raw_jp_name): split test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix win32ole test failure under mingw-w64 (x64-mingw32)luislavena2012-07-231-0/+6
| | | | | | | | * test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki. [ruby-core:46651][Bug #6782] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_sec): Updated description of leap seconds for accuracy.drbrain2012-07-231-0/+5
| | | | | | | Based on patch by Marcus Stollsteimer. [Bug #6749] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_sub): Fixed wording of documentation to match thedrbrain2012-07-231-0/+7
| | | | | | | | | replacement operation. Minor cleanup of markup. [Bug #6719] * string.c (rb_str_sub_bang): Minor wording change for clarity, minor cleanup of markup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc/Makefile.in: TARGET_NAME TARGET_ENTRYnobu2012-07-231-0/+7
| | | | | | | | | * enc/Makefile.in (TARGET_NAME, TARGET_ENTRY): needed for EXTDLDFLAGS on some platforms. [ruby-core:46600] [Bug #6768] * enc/depend: no longer needs tweaking DLDFLAGS for TARGET names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a space between filename and methodkazu2012-07-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: use respond_to? to test Tempfile.akr2012-07-231-0/+5
| | | | | | | | [ruby-dev:45995] [Bug #6781] reported by hsbt (Hiroshi SHIBATA). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: LIBPATH on AIXnobu2012-07-231-0/+6
| | | | | | | | | * configure.in (LIBPATHENV): LIBPATH is used on AIX, but not SHLIB_PATH which was carelessly copied from HP/UX. suggested by Perry Smith at [ruby-core:46397]. [Bug #6728] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/uri/test_generic.rb (URI#test_find_proxy): add tests with empty ↵kazu2012-07-221-0/+5
| | | | | | *_proxy env variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix failureskazu2012-07-221-0/+8
| | | | | | | | | | * test/uri/test_generic.rb (URI#with_env): unset proxy related env variables. [Bug #6774] * test/uri/test_generic.rb (URI#test_find_proxy): fix failures when proxy related env variables already set. [Bug #6774] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2012-07-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_execute_interrupts_common): increasenaruse2012-07-221-0/+8
| | | | | | | | | running_time_us on THREAD_TO_KILL like on THREAD_RUNNABLE. This cause not to siwtch from a thread which is to be killed on FreeBSD and Mac OS X. see also the test. This issue maybe exist for long time but happens after r36430. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP.newobj): return back for compatibility.naruse2012-07-211-0/+18
| | | | | | | | | | | | | | | * lib/net/http.rb (Net::HTTP.new): set default_port if proxy port is not given. * lib/net/http.rb (Net::HTTP#initialize): ditto. * lib/net/http.rb (Net::HTTP#proxy?): return true or false. * lib/net/http.rb (Net::HTTP#proxy_address): check proxy_uri is not nil. * lib/net/http.rb (Net::HTTP#proxy_port): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e