aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test_object.rb: avoid confusing ruby-mode.elnobu2014-10-231-3/+3
| | | | | | | * test/ruby/test_object.rb: get rid of confusing ruby-mode.el string highlight. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: no redefinition warnings for undefined methodsnobu2014-10-233-1/+13
| | | | | | | | * vm_method.c (rb_method_entry_make): warn redefinition only for already defined methods, but not for undefined methods. [ruby-dev:48691] [Bug #10421] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/source.rb (REXML::IOSource#encoding_updated): Fix akou2014-10-233-1/+24
| | | | | | | | | | | | | | | | bug that can't parse XML correctly when Encoding.default_internal is different with XML encoding. REXML::Source converts XML encoding on read. So IO should not convert XML encoding. Based on patch by NAKAMURA Usaku. [ruby-dev:48686] [Bug #10418] * test/rexml/test_encoding.rb (REXMLTests::EncodingTester#test_parse_utf16_with_utf8_default_internal): Add the for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_encoding.rbkou2014-10-233-2/+13
| | | | | | | | | | | | | (REXMLTests::EncodingTester#test_parse_utf16): Use meaningful test name. "ticket" in the old test name means the ticket in REXML's issue tracker. The REXML's issue tracker was gone. So "ticket" is meaningless. * test/rexml/data/ticket_110_utf16.xml: Rename to ... * test/rexml/data/utf16.xml: ... this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_encoding.rbkou2014-10-232-1/+8
| | | | | | | | | (REXMLTests::EncodingTester#test_ticket_110): Fix expected and actual order. Patch by NAKAMURA Usaku. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: add comments to def/opt_operand.defnormal2014-10-232-0/+6
| | | | | | | | | * insns.def (getlocal,setlocal): add comment to def/opt_operand.def I spent some time thinking about the same optimization before realizing it was already done. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_process.rb: use io/wait instead of timeoutnormal2014-10-232-4/+9
| | | | | | | | | | | | Occasionally I get timeout errors during this test on an overloaded system, so we may need to increase timeouts anyways. For now, avoid the overhead of thread creation for every read we do. * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): use IO#wait_readable instead of timeout git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_process.rb: ensure exit! on fork failurenormal2014-10-232-2/+11
| | | | | | | * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): ensure exit! on fork failure git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: Added String#unicode_normalize(|!|d?) [ci skip]duerst2014-10-232-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: delete expected keywords directlynobu2014-10-223-1/+24
| | | | | | | | * class.c (unknown_keyword_error): delete expected keywords directly from raw table, so that the given block is not called. [ruby-core:65837] [Bug #10413] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update unicode files every timesnobu2014-10-222-3/+6
| | | | | | | * common.mk (update-unicode): invert dependency to run every times. [ruby-core:65842] [Bug #10415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-23svn2014-10-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update source treenobu2014-10-222-3/+10
| | | | | | | * common.mk (after-update): update files under source tree. [ruby-core:65840] [Bug #10414] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): overridenagachika2014-10-222-0/+7
| | | | | | | options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined. this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (prelude.c): add dependency to LIB_SRCS becauseusa2014-10-222-1/+7
| | | | | | | | enc/prelude.rb requires lib/unicode_normalize.rb, and it's also requires lib/unicode_normalize/tables.rb (=LIB_SRCS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix PNaCl configure/link errors.yugui2014-10-223-3/+24
| | | | | | | | | | | | * configure.in (nacl_cv_cpu_nick): fix typo in PNaCl. (XCFLAGS) Add -isystem flag to pnacl and nacl-newlib (CXX): added * nacl/GNUmakefile.in (CXX): Added (PPROGRAM): Use clang++ instead of clang because libnacl_io depends on c++ std lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (build-ext): avoid trying to build dynamic librariesyugui2014-10-222-1/+6
| | | | | | if configured --with-static-linked-ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: Fixed grammar in comment [ci skip]duerst2014-10-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_unicode_normalize.rb: set encoding when reading.usa2014-10-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/unicode_normalize: svn:ignore.usa2014-10-220-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test_unicode_normalize.rb: don't set default encodings globallynobu2014-10-221-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/unicode_norm_gen.rb: Fixed escaping of backslash andduerst2014-10-222-1/+8
| | | | | | | | double quote ('\\\&' -> "\\\\\\\&"; double quoted string is needed to make \& mean last match; double double backslashes are needed because of two layers of escaping). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: comment on ALWAYS_UPDATE_UNICODE [ci skip]nobu2014-10-221-0/+2
| | | | | | | * common.mk (ALWAYS_UPDATE_UNICODE): comment to how to force always update Unicode data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test-unicode_normalize.rb: as often said, ruby is sometimes builtusa2014-10-222-1/+6
| | | | | | | at non-srcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test-unicode_normalize.rb: Adjusted path for test data file (now ↵duerst2014-10-222-1/+6
| | | | | | ../enc/unicode/data/NormalizationTest.txt). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test-unicode_normalize.rb: Removed explicit require, changed method ↵duerst2014-10-222-19/+21
| | | | | | names, adjusted copyright. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test-unicode_normalize.rb: Importing fromduerst2014-10-222-1/+178
| | | | | | | https://github.com/duerst/eprun/blob/master/test/test_normalize.rb. (removing trailing whitespace, fixing EOLs and adding EOL property) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * nacl/pepper_main.c (Instance_DidCreate): mount devfs and rebind fd 0yugui2014-10-222-2/+41
| | | | | | .. 2 so that stderr goes to the console of the browser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_nprocessors_affin): maximum "n" should be 16384.kosaki2014-10-212-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_nprocessors_affin): minor spell fix.kosaki2014-10-212-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_nprocessors_affin): optimize memory usege akosaki2014-10-212-17/+29
| | | | | | bit. Typical rubyist never use 8k cpus machine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-10-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Enable nacl_io in pepper-ruby.yugui2014-10-218-199/+63
| | | | | | | | | | | | | | | | | | | | | * configure.in (XCFLAGS): Add include path for NaCl libraries. (XLDFLAGS): ditto. (NACL_LIB_PATH): new stubstitution * nacl/nacl-config.rb: support NACL_LIB_PATH * nacl/package.rb: ditto. * nacl/pepper_main.c: replace old implementations with nacl_io. * nacl/GNUmakefile.in: link nacl_io to pepper_ruby * ruby.c (rb_load_file): remove __attribute__((weak)) because the old override hack was replaced with nacl_io. * file.c (rb_file_load_ok): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-22svn2014-10-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos [ci skip]kazu2014-10-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: UNICODE_FILESnobu2014-10-213-11/+17
| | | | | | | | | | | * common.mk (UNICODE_FILES): revert the rule that Unicode data files depend on downloader target, and add missing dependency of lib/unicode_normalize/tables.rb * common.mk (after-configure): removed as srcdir should be read-only after update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/tables.rb: remove auto generated file.nobu2014-10-212-1154/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: Adding explicit creation of directoryduerst2014-10-212-1/+8
| | | | | | | enc/unicode/data because git doesn't handle empty directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/tables.rb: Committing to make versionduerst2014-10-213-2/+1160
| | | | | | | update easier and more predictable, and reducing compilation time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/normalize.rb: Added comment to point toduerst2014-10-212-0/+8
| | | | | | | relevant portion of Unicode standard for Hangul (de)composition identifiers and algorithm. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: *.txt are also in $(srcdir). see r48059.usa2014-10-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: after-configurenobu2014-10-213-4/+5
| | | | | | | * common.mk (after-configure): update Unicode files after configure run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: split after-updatenobu2014-10-212-1/+3
| | | | | | | * common.mk (after-update): move platform independent targets from Makefile.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: download by after-updatenobu2014-10-211-20/+4
| | | | | | | * tool/make-snapshot (package): download config files, bundled gems, and Unicode data by after-update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: update gems after updatenobu2014-10-211-1/+1
| | | | | | * Makefile.in (after-update): update bundled gems source tree too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (mark_current_machine_context) [__mc68000__]: Update stacknaruse2014-10-212-2/+12
| | | | | | | marking. (rb_gc_mark_machine_stack) [__mc68000__]: Also handle it here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: download unicode files beofre build.nobu2014-10-211-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: update unicode files only after update source treenobu2014-10-202-5/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ignore files generated in build process.usa2014-10-200-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-21svn2014-10-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e