aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * gems/bundled_gems: upgraded to power_assert 0.2.0.ktsj2014-11-092-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* securerandom.rb: fix substring of FormatMessage resultnobu2014-11-092-0/+8
| | | | | | | | | * lib/securerandom.rb: set the script encoding to make a string literal in SecureRandom::Kernel32.last_error_message single byte encoding so msg[] works in bytes, since FormatMessage() returns the size in TCHARs, not in characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix previous change.akr2014-11-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick: Refine log tests.akr2014-11-093-15/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/known_errors.def (EHWPOISON): New errno symbol.akr2014-11-092-0/+6
| | | | | | | It is defined by glibc-2.16. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb (initialize): call the special method for Win32usa2014-11-082-4/+9
| | | | | | | before cheking `/dev/urandom` because we know windows doesn't have it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: more refactoring.usa2014-11-081-37/+46
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb (SecureRandom::AdvApi32): split from `initialize`.usa2014-11-082-33/+41
| | | | | | | thanks @zzak to remember it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/http/utils.rb: Don't connect to spawned serverakr2014-11-082-9/+5
| | | | | | | | before actual test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Module#const_defined?): [DOC] Revise the documentation.eregon2014-11-082-10/+35
| | | | | | | Patch by Xavier Noria. [Fixes GH-754] https://github.com/ruby/ruby/pull/754 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-09svn2014-11-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick: Examine log and use assert_join_threads.akr2014-11-086-28/+65
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use assert_join_threads.akr2014-11-082-66/+219
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-08svn2014-11-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: no function callsin RARRAY_LENnobu2014-11-071-3/+6
| | | | | | | | | | * ext/thread/thread.c (queue_length, queue_num_waiting): avoid function calls in RARRAY_LEN macro which evaluates the argument multiple times. * ext/thread/thread.c (rb_szqueue_num_waiting): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_exception.rb: more testsnobu2014-11-072-13/+37
| | | | | | | * test/ruby/test_exception.rb: more tests for catch and throw. catch but no throw, autogenerated tag, and uncaught throw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: not a typo [ci skip]nobu2014-11-071-1/+1
| | | | | | * ChangeLog: NUL means a name of ASCII '\0', not a NULL pointer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo, NUL -> NULLhone2014-11-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unicode_norm_gen.tmpl: expand kompatible_tablenobu2014-11-063-16/+13
| | | | | | | * template/unicode_norm_gen.tmpl: expand kompatible_table so that recursive expansion is not needed at runtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-07svn2014-11-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* normalize.rb: trivial optimizationsnobu2014-11-061-5/+6
| | | | | | | * lib/unicode_normalize/normalize.rb (nfc_one, normalize): trivial optimizations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* normalize.rb: explicit separatornobu2014-11-061-1/+1
| | | | | | | * lib/unicode_normalize/normalize.rb (canonical_ordering_one): use explicit separator, not to depend on $,. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pack.c: escape and encodingnobu2014-11-063-3/+25
| | | | | | | * pack.c (pack_pack): escape unprintable characters and preserve the encoding of warning message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_pack.rb: test_invalid_warningnobu2014-11-061-0/+5
| | | | | | | * test/ruby/test_pack.rb (test_invalid_warning): add test for invalid directive warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: no exception in QUOTEnobu2014-11-062-1/+9
| | | | | | | * string.c (sym_printable): QUOTE() should not raise an exception even on invalid byte sequence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* generic_erb.rb: explicit_trim_linenobu2014-11-061-1/+1
| | | | | | * tool/generic_erb.rb: enable explicit_trim_line mode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_unicode_normalize.rb: Rename TestNormalize toakr2014-11-062-3/+10
| | | | | | | | | TestUnicodeNormalize. Define constants under TestUnicodeNormalize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/open-uri/test_open-uri.rb: Check empty webrick log.akr2014-11-062-10/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: HAVE_BASERUBYnobu2014-11-061-0/+2
| | | | | | | * tool/make-snapshot: set HAVE_BASERUBY to download Unicode data files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reaply r48278nobu2014-11-065-1/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (unescape_nonascii): cast -1 for the case char is unsigned char.naruse2014-11-062-1/+9
| | | | | | | | | If char is signed char, for example gcc for ARM or ppc64, it caused infinite loop. http://kmuto.jp/build-ruby/arm/ruby-trunk/log/20141106T013005Z.fail.html.gz http://rubyci.blob.core.windows.net/f19p8/ruby-trunk/log/20141106T090217Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r48278 "common.mk: update unicode data only if BASERUBY is available"naruse2014-11-065-18/+1
| | | | | | | | Moreover its error "make[1]: *** No rule to make target `lib/unicode_normalize/tables.rb', needed by `srcs-lib'. Stop." is not a good error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2014-11-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos [ci skip]kazu2014-11-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/uri/rfc2396_parser.rb (initialize): reduce bytecode sizenormal2014-11-062-2/+7
| | | | | | | | | | | | | Reduce the initialize method from 2088 to 1332 bytes on 32-bit x86 Measurement obtained using `memsize_of_all', as `memsize_of' is non-recursive: a = ObjectSpace.memsize_of_all(RubyVM::InstructionSequence) RubyVM::InstructionSequence.compile(src) b = ObjectSpace.memsize_of_all(RubyVM::InstructionSequence) p(b - a) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-06svn2014-11-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/normalize.rb: Comment clarification. [ci skip]duerst2014-11-052-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2014-11-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_data_alloc): add padding when strict alignmentngoto2014-11-052-3/+78
| | | | | | | | | | | | | | | | is required for memory access. Currently, the padding is enabled only when the CPU is 32-bit SPARC and the compiler is GCC. [Bug #9681] [ruby-core:61715] * compile.c (STRICT_ALIGNMENT): defined if strict alignment is required * compile.c (ALIGNMENT_SIZE, ALIGNMENT_SIZE_MASK, PADDING_SIZE_MAX): new macros for alignemnt word size, bit mask, max size of padding. * compile.c (calc_padding): new function to calculate padding size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/open-uri/test_open-uri.rb: Don't ignore webrick's log.akr2014-11-052-5/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos [ci skip]kazu2014-11-051-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb: Stop lisntner loop properly.akr2014-11-052-1/+6
| | | | | | | | [ruby-core:66085] [Bug #10478] Fixed by Charles Nutter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* intern.h: deprecate disable and enable supernobu2014-11-053-17/+18
| | | | | | | | * include/ruby/intern.h (rb_disable_super, rb_enable_super): warn as deprecated at build time, instead of ignoring silently or warning at runtime only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: remove rb_f_lambdanobu2014-11-052-7/+5
| | | | | | | * proc.c (rb_f_lambda): remove deprecated function, which has been unavailable from extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* intern.h: deprecate rb_clear_cachenobu2014-11-052-1/+6
| | | | | | | * include/ruby/intern.h (rb_clear_cache): mark as deprecated, not only warnings at runtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: no terminatornobu2014-11-053-5/+20
| | | | | | | | * string.c (rb_str_{,l,r}strip_bang): rb_str_subseq() will not NUL-terminate the result string, in the future, so it will not be needed in other cases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cpu_counter.rb: separate implementationsnobu2014-11-051-18/+21
| | | | | | | | * lib/rake/cpu_counter.rb (Rake::CpuCounter#count): separate Etc.nprocessors implementation, and if is is available other utility methods are never used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update unicode data only if BASERUBY is availablenobu2014-11-055-1/+18
| | | | | | | | * common.mk (lib/unicode_normalize/tables.rb): do nothing unless BASERUBY is available. MINIRUBY cannot load extension libraries, so cannot update Unicode data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: reduce memory copynobu2014-11-052-50/+115
| | | | | | | | * string.c (rb_str_lstrip, rb_str_strip): reduce memory copy by copying necessary part only. * string.c (rb_str_strip_bang, rb_str_strip): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-11-05svn2014-11-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e