aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * remove trailing spaces.svn2014-10-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole_method.c: refactoring. addsuke2014-10-074-2/+19
| | | | | | | | | | | | olemethod_data_get_struct to wrap Data_Get_Struct. ext/win32ole/win32ole_method.h: ditto. ext/win32ole/win32ole_param.c (oleparam_ole_param): call olemethod_data_get_struct instead of Data_Get_Struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: remove arch options from CXXFLAGSnobu2014-10-071-0/+2
| | | | | | | * configure.in (RUBY_UNIVERSAL_ARCH): remove arch options from CXXFLAGS, not only CFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* etc.c: try confstr on Mac OS Xnobu2014-10-072-1/+22
| | | | | | | | * ext/etc/etc.c (etc_systmpdir): try user temporary directory by confstr() on Mac OS X. c.f. http://www.opensource.apple.com/source/ruby/ruby-104/patches/ext_etc_etc.c.diff git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: off_t for struct stat.st_sizenobu2014-10-072-4/+9
| | | | | | | | * configure.in (struct stat.st_size): prefer off_t over int, long, and so on. inspired by http://www.opensource.apple.com/source/ruby/ruby-104/patches/config.h.ed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-07svn2014-10-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix quoting bracketsnobu2014-10-072-2/+8
| | | | | | | | * configure.in (RUBY_UNIVERSAL_ARCH): fix missing quoting brackets. incorporated from http://www.opensource.apple.com/source/ruby/ruby-104/patches/configure.diff git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole_param.c: use typed data.suke2014-10-062-14/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* symbol.h: move struct RSymbolnobu2014-10-064-7/+10
| | | | | | * symbol.h (struct RSymbol): move from internal.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: update exception tree. [DOC]usa2014-10-062-4/+12
| | | | | | | reported by @hemge via twitter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: Fix typo. [Bug #9914]odaira2014-10-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: send signal unless handlednobu2014-10-063-3/+24
| | | | | | | * signal.c (rb_f_kill): should not ignore signal unless the default handler is registered. [ruby-dev:48592] [Bug #9820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_string.rb: enable huge test only on possible platformsnobu2014-10-062-1/+11
| | | | | | | | | | | * test/ruby/test_string.rb (test_LSHIFT_neary_long_max): enable only on platforms where string size range is smaller than memory space. this test does not make sense but just wastes memory and time on other platforms, as it is hardly possible that a string size becomes neary LONG_MAX if long size equals pointer size. [ruby-core:65410] [Bug #10325] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* symbol.c: junk-base attrsetnobu2014-10-061-3/+11
| | | | | | | * symbol.c (rb_enc_symname_type): allow junk-base attrset ID unless the stem is not an attrset name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: freezenobu2014-10-061-11/+11
| | | | | | * tool/unicode_norm_gen.rb: freeze strings and tables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: us-asciinobu2014-10-061-3/+3
| | | | | | | * tool/unicode_norm_gen.rb (Integer#to_UTF8): escape non-ascii code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.rb: optimize concatenationnobu2014-10-061-26/+35
| | | | | | | * tool/unicode_norm_gen.rb: optimization by string literal concatenation instead of runtime concatenation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Adding/tweaking comments.duerst2014-10-062-5/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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