summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-11* win32/Makefile.sub (prelude.c): search from source directory,nobu
not depending on VPATH, in parallel to r35135. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11unicode_norm_gen.tmpl: fix build errornobu
* template/unicode_norm_gen.tmpl: fix build error on CentOS 5 with ruby 1.8.5 which lacks Symbol#to_proc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11common.mk: nmakenobu
* common.mk (prelude.c): workaround for nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11make-snapshot: no wait unless needednobu
* tool/make-snapshot (package): no wait when using already exported source without modification, assuming exported 2 seconds (the lowest timestamp resolution) ago or more. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11common.mk: preludesnobu
* common.mk (preludes): make prelude.c too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11template/prelude.c.tmplnobu
* template/prelude.c.tmpl: move from tool/compile_prelude.rb and expand by generic_erb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11suppress warning: shadowing outer local variable - linenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11remove debug codenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11* lib/rubygems/commands/contents_command.rb (files_in_default_gem):naruse
remove useless sort. show_files will sort the result and another branch, files_in_gem, doesn't sort. it should be removed for consistency. * test/rubygems/test_gem_commands_contents_command.rb (test_execute_default_gem): adjust the sort algorithm with Gem::Commands::ContentsCommand#show_files, which sort items as array of [prefix, basename] not strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11* string.c (sym_equal): use rb_obj_equal().ko1
rb_obj_equal() is specially optimized in opt_eq_func()@vm_insnhelper.c. This fix is made from this discussion: https://www.omniref.com/ruby/2.1.4/symbols/Symbol/%3D%3D#line=8361. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11* lib/rdoc/known_classes.rb: reverted regression changes ofhsbt
rdoc known class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* 2014-11-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* test/net/imap/test_imap.rb: Don't ignore exceptions on serverakr
threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* test/net/ftp/test_ftp.rb (create_ftp_server): Don't ignoreakr
exceptions on server thread. Delete read_timeout method call to fix NoMethodError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10win32.c: user namenobu
* win32/win32.c (init_env): save USER environment variable in login name if it is set. [ruby-core:66163] [Bug #10493] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* win32/win32.c (rb_w32_read): retry with reduced length if cannot tousa
write any data but no error occurs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* lib/webrick/server.rb: Setup shutdown pipe in listen method.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): newusa
function to support nonblock-mode of pipes. * win32/win32.c (rb_w32_read): nonblock-mode pipe returns ERROR_NO_DATA if there is no data, but also returns it if remote-end is closed. * win32/win32.c (rb_w32_write): if cannot to write any data, it may be blocking. * io.c (rb_io_set_nonblock): use rb_w32_set_nonblock for Windows. * ext/io/nonblock/nonblock.c (rb_io_nonblock_set): use ruby's API when setting nonblock-mode. * test/ruby/test_io.rb: test nonblock pipes on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10win32.c: login name encodingnobu
* ext/etc/etc.c (etc_getlogin): set login name encoding properly. [ruby-core:66163] [Bug #10493] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* lib/rubygems/*.rb: Update to RubyGems master(3e36528).hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10signal.c: signal list to killnobu
* signal.c (rb_f_kill): [DOC] mention known signal list. [ruby-core:66162] [Bug #10492] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10unicode_normalize: UNICODE_VERSION constantnobu
* template/unicode_norm_gen.tmpl (UnicodeNormalize): embed the version of Unicode data files used to generate. * test/test_unicode_normalize.rb (TestUnicodeNormalize): use the embedded version to load the test data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* lib/rdoc/*.rb: Update to RDoc 4.2.0.alpha(579a11c)hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* lib/webrick/server.rb: Less instance variables.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10* lib/webrick/server.rb (shutdown): Use close() on @shutdown_pipe_w toakr
notify readability on the read side of the pipe. write_nonblock() is not usable for pipe on Windows. (cleanup_shutdown_pipe): Rescue IOError for @shutdown_pipe_w.close. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* lib/webrick/server.rb (initialize): Initialize shutdown pipe hereakr
to avoid race condition. (cleanup_shutdown_pipe): New private method. (cleanup_listener): Extracted from shutdown method. Call this method from start method to avoid race condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* 2014-11-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/webrick/webrick.cgi: Don't use debug mode.akr
* test/webrick/webrick_long_filename.cgi: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09test_bmethod.rb: block in bmethod testnobu
* test/-ext-/proc/test_bmethod.rb (test_super_in_bmethod): block in bmethod test for [Feature #10195]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09test_bmethod.rb: super in bmethod testnobu
* test/-ext-/proc/test_bmethod.rb (test_super_in_bmethod): super in bmethod test for [Feature #10195]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09vm.c: super in bmethodnobu
* vm_eval.c (vm_call_super): allow bound proc method to call super method. * vm_insnhelper.c (vm_yield_with_cfunc): push defined class and bound proc method entry to the control frame. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/open-uri: Test server log in server thread.akr
* test/webrick: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* lib/webrick/httpstatus.rb: require webrick/accesslog for AccessLog.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09fix a typo in comment [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09Fix typos in assert messages [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/webrick: Fix the argument order of assert_equal.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/webrick: Store log in an array.akr
* test/net/http: Ditto. * test/open-uri: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09normalize.rb: fix syntax errornobu
* lib/unicode_normalize/normalize.rb (normalized): fix syntax error, `when` clase allows `*` but not `**`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/xmlrpc: Refine log test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09lib/unicode_normalize/normalize.rb: Replaced if-else by case in ↵duerst
self.normalized? in parallel to r48309. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/xmlrpc: Use assert_join_threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/xmlrpc: Test webrick error log is empty.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* gc.c (is_incremental_marking): use #if/#else becauseko1
rb_objspace_t::flags::during_incremental_marking is not defined when GC_ENABLE_INCREMENTAL_MARK is 0. * gc.c (will_be_incremental_marking, is_full_marking): similar fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09securerandom.rb: separate implementationsnobu
* lib/securerandom.rb (SecureRandom.gen_random): separate implementation details and select at the load time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09win32/registry.rb: slice in WCHARsnobu
* ext/win32/lib/win32/registry.rb (Win32::Registry::API#Enum{Value,Key): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* test/net/http: Examine webrick log.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* gems/bundled_gems: upgraded to test-unit 3.0.5.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* defs/known_errors.def: More errors for FreeBSD.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-09* gems/bundled_gems: upgraded to power_assert 0.2.0.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e