aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* complex.c, rational.c: compatible marshal loadernobu2012-07-255-35/+80
| | | | | | | | * 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
* mkrunnable.rb: mswinnobu2012-07-251-5/+24
| | | | | | | | * tool/mkrunnable.rb (ln_safe, ln_dir_safe): separate for mklink command on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* atomic.h: prefer GCC atomic builtinsnobu2012-07-252-19/+25
| | | | | | | | * 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
* Add test to clarify r36421. [Bug #5915]naruse2012-07-251-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Suppress warnings.naruse2012-07-256-29/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: fix for Bison 2.6.nobu2012-07-251-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/.document: Removed. All files in net/ should be included indrbrain2012-07-252-8/+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-252-2/+6
| | | | 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-252-16/+22
| | | | | | | `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-253-2/+11
| | | | | | 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-254-0/+35
| | | | | | | | | 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-242-3/+7
| | | | 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-242-7/+14
| | | | | | | 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-242-0/+253
| | | | 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-247-2/+177
| | | | | | | | | | | | | | | | 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
* * 2012-07-25svn2012-07-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix broken pow() on x64-mingw32shirosaki2012-07-242-0/+21
| | | | | | | | | * 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
* Unix doesn't use win_expected_filename.naruse2012-07-241-3/+1
| | | | | | r36519's essensial part is not to use filename.force_encoding("euc-jp"). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_dir_m17n.rb: composite characternobu2012-07-241-1/+1
| | | | | | | | * test/ruby/test_dir_m17n.rb (test_filename_utf8_raw_windows_1252_name): get rid of composite character for troublesome Mac OS X file system. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add the case of Unix: filesystem encoding maybe US-ASCII.naruse2012-07-241-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_socket, rb_w32_socketpair): remember the familyusa2012-07-242-11/+44
| | | | | | | | | | | | | 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_pack.rb: fix assertionnobu2012-07-242-4/+3
| | | | | | | | | * pack.c (pack_unpack): fix indent. * test/ruby/test_pack.rb (test_pack_unpack_M): fix assertion. ignore invalid quoted-printable and just skip. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir_m17n.rb: remove a garbage.usa2012-07-242-2/+8
| | | | | | | | * 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-242-1/+5
| | | | 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-242-11/+17
| | | | | | | 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
* Show nd6 options and whether the packet is reached to the server or not.naruse2012-07-241-3/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_pack.rb (test_pack_unpack_M): was redefinedusa2012-07-242-12/+14
| | | | | | | accidentally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add version check for darwin's bug.naruse2012-07-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Updated to RubyGems 1.8.24, a bugfix release.drbrain2012-07-244-6/+24
| | | | 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-232-19/+58
| | | | | | | | | | | | | | | * 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-232-1/+7
| | | | | | | | * 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-232-4/+11
| | | | | | | 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-232-16/+23
| | | | | | | | | 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
* Suppress warnings.naruse2012-07-2311-76/+92
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-24svn2012-07-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Synchronize with simple variable assignment.naruse2012-07-231-4/+3
| | | | | | | | | If it uses Queue, Mutex#synchronize may suppress the exception caused by th.raise. The case happens when Ruby switches the thread after it pushes :go into q, in `self.unlock rescue nil`. The exception is rescued the `rescue nil`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc/Makefile.in: TARGET_NAME TARGET_ENTRYnobu2012-07-234-4/+13
| | | | | | | | | * 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-232-2/+7
| | | | | | | | [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-232-1/+7
| | | | | | | | | * 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
* Suppress unused variable warnings.naruse2012-07-221-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/uri/test_generic.rb (URI#test_find_proxy): add tests with empty ↵kazu2012-07-222-0/+13
| | | | | | *_proxy env variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix failureskazu2012-07-222-2/+17
| | | | | | | | | | * 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
* Use assert_normal_exit to avoid stack on buggy implementations.naruse2012-07-221-18/+20
| | | | | | fix for r36492. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36495 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
* * 2012-07-23svn2012-07-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_execute_interrupts_common): increasenaruse2012-07-223-1/+27
| | | | | | | | | 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
* Use 0 for webrick's port and get the actual port. [Bug #6766]naruse2012-07-212-6/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set false to @proxy_from_env to suppress uninitialized warning.naruse2012-07-211-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-22svn2012-07-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e