aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ruby.h: warn untyped Datanobu2014-09-283-22/+49
| | | | | | | | | | | * include/ruby/ruby.h (rb_data_object_alloc_warning): warn Data_Wrap_Struct and Data_Make_Struct only if RUBY_UNTYPED_DATA_WARNING is set to 1. * include/ruby/ruby.h (rb_data_object_get_warning): ditto for Data_Get_Struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: compatibility with old BASERUBYnobu2014-09-281-1/+1
| | | | | | | * tool/downloader.rb (Downloader.download): get rid of post arguments for compatibility with old BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-29svn2014-09-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gcdebug_print_obj_condition): use RVALUE_REMEMBEREDktsj2014-09-282-1/+6
| | | | | | because GET_HEAP_REMEMBERSET_BITS is obsoleted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rbnobu2014-09-284-19/+36
| | | | | | | | * configure.in: use tool/downloader.rb directly. * tool/get-config_files: no longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: split particular sitesnobu2014-09-283-34/+40
| | | | | | | | | | * tool/downloader.rb (Downloader): split particular sites from the main class. * tool/downloader.rb (Downloader.download): show messages if verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-28svn2014-09-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: Created new target update-unicode to downloadduerst2014-09-282-0/+12
| | | | | | some Unicode data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: header targetsnobu2014-09-271-3/+3
| | | | | | | | * tool/rbinstall.rb: separate header targets, comm-hdr for architecture independent headers, arch-hdr for architecture dependent headers, and hdr for both. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError whenglass2014-09-273-1/+18
| | | | | | | | uri doesn't respond to #to_str. [ruby-core:64453] [Bug #10150] * test/uri/test_parser.rb: test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gems/bundled_gems: upgraded to power_assert 0.1.4.ktsj2014-09-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* digest.c: typed datanobu2014-09-272-6/+27
| | | | | | | | | * ext/digest/digest.c (rb_digest_base_alloc): use typed data. * ext/digest/digest.c (rb_digest_base_copy): fail unless original object has same algorithm. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-27svn2014-09-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: deprecate plain Datanobu2014-09-275-11/+64
| | | | | | | * include/ruby/ruby.h (rb_data_object_alloc_deprecated): deprecate Data_Make_Struct and Data_Wrap_Struct. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stringio.c: ASCII-8BIT StringIO rejects no encodingsnobu2014-09-263-2/+21
| | | | | | | | * ext/stringio/stringio.c (strio_write): ASCII-8BIT StringIO should be writable any encoding strings, without conversion. [ruby-core:65240] [Bug #10285] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c (rb_class_real): do not dereference 0 VALUEnormal2014-09-253-3/+34
| | | | | | | | * test/ruby/test_module.rb (test_inspect_segfault): Test case and bug report by Thomas Stratmann. [ruby-core:65214] [Bug #10282] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-26svn2014-09-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* man/ruby.1: document stack size env variablesnormal2014-09-252-0/+33
| | | | | | [Feature #10197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: common function to free IO buffersnormal2014-09-252-12/+18
| | | | | | | | | | | | This also allows easier tracking of freed memory for systems without malloc_usable_size, and also makes future changes to freeing buffer memory easier-to-implement. * io.c (free_io_buffer): new function for a common pattern (clear_readconv): use free_io_buffer (rb_io_fptr_finalize): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-25svn2014-09-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Fix docs. Patched by Ben Woodall. [GH-726]ayumin2014-09-242-12/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc/unicode/data: New directory for downloaded Unicode data files.duerst2014-09-241-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Adjusting example forduerst2014-09-242-6/+10
| | | | | | | Downloader.download to implementation changes in r47693. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Removing unused methodduerst2014-09-242-4/+6
| | | | | | | Downloader.download_if_modified_since. (if ever used, just replace with Downloader.download) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Fixing raise after return.duerst2014-09-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Made Unicode data file location availableduerst2014-09-242-0/+11
| | | | | | via :unicode Symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Small fix to documentation comment.duerst2014-09-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-24svn2014-09-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: remove a duplicated entry.nagachika2014-09-231-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: label cannot be followed by a modifiernobu2014-09-233-1/+25
| | | | | | | * parse.y (parse_ident): just after a label, new expression should start, cannot be a modifier. [ruby-core:65211] [Bug #10279] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update-gemsnobu2014-09-231-0/+8
| | | | | | * common.mk (update-gems): update bundled gem files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: shorthands for usual URInobu2014-09-233-7/+28
| | | | | | | * tool/downloader.rb (Downloader.uri_to_download): add shorthands for commonly used URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: integrate with download_if_modified_sincenobu2014-09-231-18/+47
| | | | | | | | * tool/downloader.rb (Downloader.download): integrate with download_if_modified_since and allow to use `since` parameter if it is not true/false. also set last-modified time and permission. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-09-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: added Downloader.download_if_modified_sinceduerst2014-09-232-0/+28
| | | | | | | to reduce downloads of large files that change only rarely. [ruby-core:65164] [CommonRuby - Feature #10084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml: added rubyspec into travis tasks and eliminate to stdout.hsbt2014-09-232-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc: remove trailing spacesnobu2014-09-237-21/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-23svn2014-09-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a typo.akr2014-09-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/win32ole/test_win32ole_variant.rbsuke2014-09-222-4/+24
| | | | | | | | | | (test_conversion_time2date_with_msec): test by using only assert_in_delta to avoid to fail when converting Time object with 999999999 nanoseconds into VT_DATE Variant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: [DOC] [] and []= methods by @processzzak2014-09-222-0/+24
| | | | | | | [Fixes GH-662] https://github.com/ruby/ruby/pull/662 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml: Only osx build is enabled. linux builds is random failurehsbt2014-09-222-1/+6
| | | | | | and test results of major linux is covered by rubyci. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: GC guardnobu2014-09-221-0/+1
| | | | | | * array.c (rb_ary_splice): prevent replacing array from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_thread.rb: thread for Queuenobu2014-09-221-0/+1
| | | | | | | * test/ruby/test_thread.rb (test_main_thread_status_at_exit): require 'thread' for Queue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tmpdir.rb: explicit conversion to stringnobu2014-09-221-0/+4
| | | | | | | * lib/tmpdir.rb (Dir::Tmpname#make_tmpname): convert prefix and suffix to strings explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g.akr2014-09-222-27/+77
| | | | | | | | [ruby-core:65058] [Bug #10245] Reported by Vit Ondruch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/*.c: trivial struct packing for 64-bitnormal2014-09-224-4/+11
| | | | | | | | | | * ext/socket/ancdata.c ({send,recv}msg_args_struct): 24 => 16 bytes * ext/socket/init.c (connect_arg): ditto * ext/socket/raddrinfo.c (getnameinfo_arg): 56 => 48 bytes Other big stack reductions are less trivial. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb: Support graceful shutdown.akr2014-09-214-7/+62
| | | | | | | | | | | | | | | | | | | | (DRbTCPSocket#initialize): Create a pipe for shutdown notification. (DRbTCPSocket#close): Invoke close_shutdown_pipe. (DRbTCPSocket#close_shutdown_pipe): New private method. (DRbTCPSocket#accept): Use accept_or_shutdown. (DRbTCPSocket#accept_or_shutdown): New private method which returns nil on shutdown. (DRbServer#stop_service): Use shutdown instead of Thread#kill. (DRbServer#run): Break infinite loop when main_loop returns nil. (DRbServer#main_loop): @protocol.accept may return nil. * lib/drb/ssl.rb: Follow above change. * lib/drb/unix.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-09-22svn2014-09-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: raise exception when minutes of utc_offset is out of 00-59.glass2014-09-213-0/+11
| | | | | | | | | | patch is from Kenichi Kamiya. [ruby-dev:47539] [Bug #8679] * test/ruby/test_time.rb: test for above. patch is from Kenichi Kamiya. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e