summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-21compar.c: use Module#to_snobu
* compar.c (rb_cmperr): use Module#to_s so that names in a message can be overridden by to_s. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21struct.c: no rb_class_real twicenobu
* struct.c (inspect_struct): as rb_obj_class() returns real class name, so rb_class_name is not needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* lib/rinda/ring.rb: split executable code into sample directory.hsbt
* sample/rinda-ring.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* lib/drb/acl.rb: split executable code into sample directory.hsbt
* sample/drb/acl.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* .gitignore: ignored temporary file for Changelog.hsbt
http://mkosaki.blog46.fc2.com/blog-entry-1284.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* lib/net/imap.rb: split executable code into sample directory.hsbt
* sample/net-imap.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* 2014-08-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21* lib/net/imap.rb: removed commented-out code.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20.travis.yml: remove generated directoriesnobu
* .travis.yml (before_script): remove directories generated previously. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20configure.in: quote defun namesnobu
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS), (RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE), (RUBY_STACK_GROW_DIRECTION): quote defun names, for some versions of autoconf possibly. [ruby-core:64473] [Bug #10156] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20* 2014-08-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20test_thread.rb: let main thread exit from Thread.newnobu
* test/ruby/test_thread.rb (test_main_thread_status_at_exit): let the main thread run to ensure exiting from Thread.new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19sprintf.c: fix conditionnobu
* sprintf.c (rb_str_format): fix condition to round. [ruby-core:64454] [Bug #10151] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19euckr-tbl.rb: euro and registered signsnobu
* enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and registered signs. [ruby-core:64452] [Bug #10149] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19compar.c: preserve encodingsnobu
* compar.c (rb_cmperr): preserve encodings of arguments in the message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19win32ole.c: check overflownobu
* ext/win32ole/win32ole.c (ole_invoke): check integer overflow on win64 platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19* 2014-08-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19thread.c: check initializednobu
* ext/thread/thread.c (get_array): check instance variables are initialized properly. [ruby-core:63826][Bug #10062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18sprintf.c: rational 'f' formatnobu
* sprintf.c (rb_str_format): support rational 'f' format. [ruby-core:64382] [Bug #10136] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18sprintf.c: remove magic numbersnobu
* sprintf.c (rb_str_format): name default float precision and remove unused initial value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18test_time_tz.rb: has_lisbon_tznobu
* test/ruby/test_time_tz.rb (has_lisbon_tz): separate from has_right_tz. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17* 2014-08-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17* spec/default.mspec: use 2.2 definition.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17* gc.c (obj_memsize_of): don't calculate memsize of T_NODEktsj
when called from check_gen_consistency. It fixes segmentation fault on RGENGC_CHECK_MODE >= 1 introduced by r47188. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17* ext/win32ole/win32ole.c (ole_invoke): use RHASH_SIZE instead ofsuke
calling Hash#length method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17* 2014-08-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-17win32/configure.bat: fix eol-stylenobu
* win32/configure.bat: reset svn:eol-style to CRLF, and revert r47015. r47017 just reverted the contents but did not reset it. `svn export` converts CRLF to LF due to this property. [ruby-core:64414] [Bug #10145] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16fix typos [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16* ext/win32ole/win32ole_event.c (evs_length): use RARRAY_LEN insteadsuke
of calling Array#length method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16test_ruby_mode.rb: trivial refinementnobu
* test/misc/test_ruby_mode.rb (run_emacs): ensure to remove a temporary file. * test/misc/test_ruby_mode.rb (assert_indent): show diff between expected and actual results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16test_gem_ext_builder.rb: fix wrong skip conditionnobu
* test/rubygems/test_gem_ext_builder.rb (test_build_extensions_extconf_bad): fix wrong skip condition by removing wrong expace, String#include? does not turn a string argument into a regexp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16rake/backtrace.rb: exclude mere prefixnobu
* lib/rake/backtrace.rb (Rake::Backtrace): exclude mere prefix and exec_prefix, which match too much. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16rake/backtrace.rb: remove wrong valuenobu
* lib/rake/backtrace.rb (Rake::Backtrace::SYS_KEYS): only names end with prefix or libdir, not just include them. libdirname is not a key of path name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16string.c: rb_setup_fake_strnobu
* string.c (rb_setup_fake_str): setup fake string from C pointer, length, and encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16node.h: extract NODE functions from gc.cnobu
* node.h (rb_gc_free_node, rb_node_memsize, rb_gc_mark_node): extract functions for NODE from obj_free(), obj_memsize_of(), gc_mark_children() in gc.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16time.c (time_timespec): fix tv_nsec overflownormal
test/ruby/test_float.rb (test_sleep_with_Float) causes tv_nsec to hit 1000000000 exactly. This bug is currently hidden from our test by the platform-dependent native_cond_timeout functions, but a future native_cond_timedwait implementation may prefer relative timeouts to match ConditionVariable#wait semantics more closely. [Bug #10144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16* 2014-08-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-16ChangeLog: fix namenobu
* ChangeLog: fix newly added function name. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15* ext/win32ole/win32ole.c: seperate WIN32OLE_EVENT src fromsuke
win32ole.c. * ext/win32ole/win32ole.h: ditto. * ext/win32ole/win32ole_event.c: ditto. * ext/win32ole/win32ole_event.h: ditto. * ext/win32ole/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15* iseq.c (rb_iseq_clone): Should not insert write barrier fromko1
non-RVALUE data (to non-RVALUE data, of course). Ruby 2.1 also has a same problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15* string.c (setup_fake_str): fake strings should not set class byko1
RBASIC_SET_CLASS() because it insert write barriers to fake (non-RVALUE) structure. It can cause unexpected behaviour. Ruby 2.1 also have a same problem (setup_fake_str() in parse.y). * symbol.c (setup_fake_str): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15* array.c (rb_ary_tmp_new): added.ko1
This function creates internal use only array (which is completely hided by ObjectSpace.each_object) with filling nil. Otherwise, it can be incldues strange VALUEs. * internal.h: added. * node.h: use rb_ary_tmp_new_fill() for MEMO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15gc.c: memsize of T_NODEnobu
* gc.c (obj_memsize_of): fix size of T_NODE and comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15* lib/gserver.rb: removed unmaintained code.hsbt
[ruby-core:40313][Feature #5480] * lib/xmlrpc/httpserver.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15rb_{thread,context,fiber}_struct: trivial packingnormal
* vm_core.h (rb_thread_struct): reorder to pack * cont.c (rb_context_struct, rb_fiber_struct): ditto On x86-64, these changes reduces: rb_thread_struct to 1000 bytes (from 1016) rb_context_struct to 1288 bytes (from 1312) rb_fiber_struct to 2272 bytes (from 2304) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-15thread_pthread: prefer rb_nativethread* types/functionsnormal
This will make it easier for us to try alternative mutex/condvar implementations while still using pthreads for thread management. [Feature #10134] * thread_pthread.h: define RB_NATIVETHREAD_LOCK_INIT and RB_NATIVETHREAD_COND_INIT macros * thread_pthread.c (native_mutex_lock, native_mutex_unlock, native_mutex_trylock, native_mutex_initialize, native_mutex_destroy, native_cond_wait): use rb_nativethread_lock_t instead of pthread_mutex_t * thread_pthread.c (native_mutex_debug): make argument type-agnostic to avoid later cast. * thread_pthread.c (register_cached_thread_and_wait): replace PTHREAD_COND_INITIALIZER with RB_NATIVETHREAD_COND_INIT, use native_mutex_{lock,unlock} * thread_pthread.c (use_cached_thread): use native_mutex_{lock,unlock} * thread_pthread.c (native_sleep): use rb_nativethread_lock_t to match th->interrupt_lock, use native_mutex_{lock,unlock} * thread_pthread.c (timer_thread_lock): use rb_nativethread_lock_t type git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e