summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-10git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39711 ↵headius
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* NEWS (Mutex#owned?): no longer experimental.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* test/ruby/test_file_exhaustive.rb (test_expand_path_home_dir_string):nobu
enable generic test on all platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* ChangeLog: fix a typo in r39680.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* 2013-03-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* ChangeLog: remove duplicated entry in r39696.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10Expand home directory when used in dir_stringluislavena
* win32/file.c (rb_file_expand_path_internal): Expand home directory when used as second parameter (dir_string). [ruby-core:53168] [Bug #8034] * test/ruby/test_file_exhaustive.rb: add test to verify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10ext_conf_builder.rb: use intermediate destdir alwaysnobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build): it is impossible to predict which file will be installed to where, by the arguments, so use intermediate destination directory always. [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 * complex.c: edited rdoc.tadf
* rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* process.c (setup_communication_pipe): remove unused function.kosaki
it was unintentionally added r39683. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* tool/gen_ruby_tapset.rb: add tapset generator.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* probes.d (symbol-create): change argument name `string' tokosaki
`str'. `string' is a keyword for systemtap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* probes.d: added argument namekosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* test/thread/test_queue.rb (TestQueue#test_thr_kill): reducekosaki
iterations from 2000 to 250. When running on uniprocessor systems, every th.kill needs TIME_QUANTUM_USEC time (i.e. 100msec on posix systems). Because, "r.read 1" is 3 steps operations that 1) release GVL 2) read 3) acquire gvl and (1) invoke context switch to main thread. and then, main thread's th.kill resume (1), but not (2). Thus read interrupt need TIME_QUANTUM_USEC. Then maximum iteration is 30sec/100msec = 300. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* io.c (rb_update_max_fd): use ATOMIC_CAS because this functionkosaki
is used from timer thread too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (ARRAY_SIZE): new.kosaki
* thread_pthread.c (gvl_acquire_common): use low priority notification for avoiding timer thread interval confusion. If we use timer_thread_pipe[1], every gvl_yield() request one more gvl_yield(). It lead to thread starvation. [Bug #7999] [ruby-core:53095] * thread_pthread.c (rb_reserved_fd_p): adds timer_thread_pipe_low to reserved fds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (rb_thread_wakeup_timer_thread_fd): add fdkosaki
argument and remove hardcoded dependency of timer_thread_pipe[1]. * thread_pthread.c (consume_communication_pipe): add fd argument. * thread_pthread.c (close_communication_pipe): ditto. * thread_pthread.c (timer_thread_sleep): adjust the above changes. * thread_pthread.c (setup_communication_pipe_internal): factor out pipe initialize logic. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (ubf_select): add to small comments why wekosaki
need to call rb_thread_wakeup_timer_thread(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (rb_thread_create_timer_thread): factor outkosaki
creating communication pipe logic into separate function. * thread_pthread.c (setup_communication_pipe): new helper function. * thread_pthread.c (set_nonblock): moves a definition before setup_communication_pipe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (consume_communication_pipe): retry whenkosaki
read returned CCP_READ_BUFF_SIZE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (timer_thread_sleep): use poll() instead ofkosaki
select(). select doesn't work if timer_thread_pipe[0] is greater than FD_SETSIZE. * thread_pthread.c (USE_SLEEPY_TIMER_THREAD): add a dependency against poll. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (USE_SLEEPY_TIMER_THREAD): use more accuratekosaki
ifdef condtions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* thread_pthread.c (set_nonblock): new helper function for set O_NONBLOCK.kosaki
* thread_pthread.c (rb_thread_create_timer_thread): set O_NONBLOCK to timer_thread_pipe[0] too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* 2013-03-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 * complex.c: described syntax of string form.tadf
* rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09marshal.c: check for prependednobu
* marshal.c (w_extended): check for prepended object. [ruby-core:53206] [Bug #8043] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09* io.c: Fix rdoc typo [Github fixes #256]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09configure.in: note to remove a hacknobu
* configure.in (rm): note to remove this hack when AC_PREREQ(2.70) or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09fix commit missnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-09load.c: hide internal objectsnobu
* load.c (rb_construct_expanded_load_path, Init_load): hide internal objects, expanded_load_path, {load_path,loaded_features}_snapshot, and loaded_features_index in the VM, and ruby_dln_librefs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08load.c: move loop invariant conditionnobu
* load.c (rb_feature_p): move this_feature_index condition which is loop invariant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08load.c: reduce indexes arraysnobu
* load.c (features_index_add_single, rb_feature_p): store single index as Fixnum to reduce the number of arrays for the indexes. based on the patch by tmm1 (Aman Gupta) in [ruby-core:53216] [Bug #8048]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08* 2013-03-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08marshal.c: prepended objectsnobu
* marshal.c (r_object0): load prepended objects. treat the class of extended object in the included modules as prepended singleton class. [ruby-core:53202] [Bug #8041] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08marshaltestlib.rb: descriptive assertionsnobu
* test/ruby/marshaltestlib.rb (MarshalTestLib#test_string_ivar) (MarshalTestLib#test_string_subclass_cycle): use more descriptive assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08* man/rake.1, man/ruby.1: Use the Pa macro to make URLs stand out.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08assertions.rb: split linesnobu
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message): split msg and default procs by period and newline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08assertions.rb: allow procnobu
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message): convert msg by call if it is a proc, as well as assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08load.c: reorder conditionsnobu
* load.c (loaded_feature_path): reorder conditions so simple comparision comes first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08configure.in: suppress error messagesnobu
* configure.in: suppress error messages, rm: cannot remove 'conftest.dSYM', from AC_EGREP_CPP with CFLAGS=-g on Darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08* tool/rbuninstall.rb: remove symlinks.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08* ext/pathname/pathname.c (path_f_pathname): rdoc for Pathname()zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08* man/rake.1: Document ENVIRONMENT variables on RAKE(1) manpagezzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08* lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]zzak
Patch by Nobuhiro IMAI [ruby-core:53127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08Remove very obsolete test codemarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07Update ChangeLog for r39628marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07* 2013-03-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07* class.c (rb_mod_ancestors): Include singleton_class in ancestors listmarcandre
[Feature #8035] * test/ruby/test_module.rb (class): test for above * test/ruby/marshaltestlib.rb (module): adapt test * NEWS: list change git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e