aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tool/unicode_norm_gen.rb: Adjusted directory paths.duerst2014-10-062-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2014-10-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-10-061-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Data generation script imported fromduerst2014-10-062-0/+183
| | | | | | https://github.com/duerst/eprun/blob/master/lib/generate.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/downloader.rb: Adjust example in documentation for Downloader.download.duerst2014-10-062-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize: New folder for Unicode normalization functionalityduerst2014-10-061-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-06svn2014-10-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: ID instead of Symbolnobu2014-10-051-4/+4
| | | | | | | * io.c (get_kwargs_exception): rb_get_kwargs() expects IDs, but not Symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2014-10-051-4/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* digest/*/extconf.rb: do not link openssl when using bundlednobu2014-10-055-21/+25
| | | | | | | | * ext/digest/{md5,rmd160,sha1,sha2}/extconf.rb: configure OpenSSL only if bundled libraries is not used, so that OpenSSL is not linked unnecessarily. [ruby-core:65404] [Bug #10324] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rmd160/extconf.rb: fix function namenobu2014-10-052-1/+6
| | | | | | | * ext/digest/rmd160/extconf.rb: fix transform function name to check. [ruby-core:65091] [Bug #10252] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* psych: typed datanobu2014-10-042-21/+53
| | | | | | | | | * ext/psych/psych_emitter.c (psych_emitter_type): turn into typed data. * ext/psych/psych_parser.c (psych_parser_type): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* openssl: typed datanobu2014-10-042-7/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* json/parser: typed datanobu2014-10-043-10/+41
| | | | | | | * ext/json/parser/parser.rl (JSON_Parser_type): turn into typed data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* json/generator: typed datanobu2014-10-042-9/+35
| | | | | | | * ext/json/generator/generator.c (JSON_Generator_State_type): turn into typed data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sdbm: typed datanobu2014-10-041-5/+25
| | | | | | * ext/sdbm/init.c (sdbm_type): turn into typed data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gdbm: typed datanobu2014-10-042-5/+36
| | | | | | * ext/gdbm/gdbm.c (dbm_type): turn into typed data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dbm: typed datanobu2014-10-042-5/+42
| | | | | | * ext/dbm/dbm.c (dbm_type): turn into typed data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: protoize no-arguments functionsnobu2014-10-0422-27/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext: protoize no-arguments functionsnobu2014-10-0410-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/zlib/zlib.c: TypedData conversionnormal2014-10-042-27/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * ext/zlib/zlib.c (zstream_mark, zstream_free): update signature (gzfile_mark, gzfile_free): ditto (zstream_memsize): new function for rb_data_type->dsize (gzfile_memsize): ditto (zstream_data_type, gzfile_data_type): new data types (zstream_new): Data_Make_Struct => TypedData_Make_Struct (gzfile_new): ditto (get_zstream, get_gzfile): Data_Get_Struct => TypedData_Get_Struct (rb_zstream_flush_next_in): ditto (rb_zstream_flush_next_out): ditto (rb_zstream_avail_out): ditto (rb_zstream_avail_in): ditto (rb_zstream_closed_p): ditto (rb_deflate_initialize): ditto (rb_deflate_init_copy): ditto (rb_inflate_initialize): ditto (gzfile_ensure_close): ditto (rb_gzfile_closed_p): ditto (rb_gzfile_path): ditto (rb_gzwriter_initialize): ditto (rb_gzreader_initialize): ditto (rb_gzreader_unused): ditto [ruby-core:65377] [Feature #10319] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-05svn2014-10-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: remove unused argumentnobu2014-10-041-3/+2
| | | | | | | * parse.y (list_concat): remove unused argument parser, since never allocates new node. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st.c: update st_reverse_foreachnobu2014-10-041-29/+111
| | | | | | * st.c (st_reverse_foreach): update as st_foreach(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_gem_source_git.rb: drop intended error messagenobu2014-10-041-1/+1
| | | | | | | * test/rubygems/test_gem_source_git.rb (test_rev_parse): dispose error message by git, which should be intended. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test_syslog.rb (TestSyslog#test_log): In AIX, each output line of ↵odaira2014-10-042-0/+14
| | | | | | LOG_PERROR to stderr has an additional empty line appended, so skip that line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/socket/test_unix.rb (TestSocket_UNIXSocket#test_too_long_path): ↵odaira2014-10-042-2/+8
| | | | | | sockaddr_un.sun_path in AIX is defined as char[1024], so "a" * 300 is not too long. "a" * 3000 would be enough. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/sample/example*.rb: Add wait input to quit for exampleszzak2014-10-044-1/+20
| | | | | | | | with patch provided by @windwiny [Fixes GH-705] https://github.com/ruby/ruby/pull/705 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: [DOC] Fix typo in :nodoc: reported byzzak2014-10-043-3/+10
| | | | | | | | | @windwiny to [Fix GH-705] https://github.com/ruby/ruby/pull/705 * ext/pty/pty.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_rand.c: [DOC] Add call signature for pseudo_byteszzak2014-10-042-30/+29
| | | | | | | | and random_bytes, wrap lines at 80 chars, and remove useless comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_rand.c: [DOC] Add rdoc for method descriptionszzak2014-10-032-2/+42
| | | | | | | By @vipulnsward [Fixes GH-657] https://github.com/ruby/ruby/pull/657 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_rand.c: Use rb_define_module_function instead ofzzak2014-10-032-13/+14
| | | | | | | macro. [Fixes GH-686] https://github.com/ruby/ruby/pull/686 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole_method.c(olemethod_set_member): removesuke2014-10-033-2/+8
| | | | | | | | | redundant NULL check. ext/win32ole/win32ole_type.c(oletype_set_member): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml: removed needless preparation for gcc.hsbt2014-10-032-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-04svn2014-10-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: mentioned about [Bug #9593]nobu2014-10-031-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml: enabled gcc build with osx on travis.hsbt2014-10-032-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fake.rb.in: fix make install failureshirosaki2014-10-032-0/+10
| | | | | | | | * template/fake.rb.in: fix make install failure due to MSYS path with mingw on MSYS environment. [ruby-core:64965] [Bug #10230] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_advise): avoid to infinite loop.hsbt2014-10-032-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml: enabled test results of linux.hsbt2014-10-032-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_advise): added workaround of fadvise(2)hsbt2014-10-032-1/+14
| | | | | | with tmpfs and old linux kernel. [ruby-core:65355][Bug #10313] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .travis.yml: Disabled to generate document on travis.hsbt2014-10-032-1/+6
| | | | | | Reduce test running time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Add hstack & vstack methods.marcandre2014-10-034-0/+115
| | | | | | Based on a patch by creasywuqiong. [Fix GH-344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Fix Matrix.rows copy bug.marcandre2014-10-033-1/+20
| | | | | | Patch by Arron Mabrey. [Fix GH-707] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* st.c (new_size): use next_pow2 functionnormal2014-10-022-4/+26
| | | | | | | | | | | | | | | | | | | Reduces object size slightly on x86-64: text data bss dec hex filename 2782359 22400 71880 2876639 2be4df ruby.orig 2781831 22400 71880 2876111 2be2cf ruby.pow2 And on 32-bit x86: text data bss dec hex filename 2814751 12100 30552 2857403 2b99bb ruby.orig 2814051 12100 30552 2856703 2b96ff ruby.pow2 This is not a performance-critical function, but the smaller icache footprint seems worth it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-03svn2014-10-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bitnormal2014-10-022-1/+5
| | | | | | | 48 bytes is a common malloc size class on x86-64 machines which require 16-byte alignment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_nprocessors): Windows support.usa2014-10-022-1/+12
| | | | | | | see [Feature #10267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_advice show OS and filesystem when failed.akr2014-10-021-1/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Describe Etc.nprocessors.akr2014-10-021-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e