summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-22win32.c: fallback to WCHAR-version in MSVCRTnobu
* win32/win32.c (rb_w32_open): should not fallback to ANSI-version in MSVCRT, fallback to WCHAR-version in rb_w32_wopen instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21 * test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]seki
patch by voxik. * test/rinda/test_rinda.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21win32ole.c: fix symbol conditionnobu
* ext/win32ole/win32ole.c (fole_missing): fix symbol condition, rb_check_symbol returns Qnil when the symbol is not interned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21* 2015-09-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21win32ole.c: inadvertent symbol creationnobu
* ext/win32ole/win32ole.c (GetIDsOfNames, fole_missing): avoid inadvertent symbol creation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21win32ole.c: refactornobu
* ext/win32ole/win32ole.c (ole_wc2mb): refactor. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21win32ole.c: make ole_mb2wc more genericnobu
* ext/win32ole/win32ole.c (ole_vstr2wc): use ole_mb2wc. * ext/win32ole/win32ole.c (ole_mb2wc): parametrize code page. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21win32ole.c: constifiednobu
* ext/win32ole/win32ole.c (vtEventSink): constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21* 2015-09-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-21test_win32ole_event.rb: fix typo [ci skip]nobu
* test/win32ole/test_win32ole_event.rb: fix typo. swbemsink_avairable? => swbemsink_available? [Fix GH-1025] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-20string.c: separate resetting code rangenobu
* string.c (rb_str_setbyte): separate resetting code range by each code range, and remove unnecessary branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-20cont.c: append to continuations doc [ci skip]nobu
* cont.c (rb_callcc): [DOC] append continuations example accros methods. [Fix GH-1026] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19parse.y: simplify ripper_id2symnobu
* parse.y (ripper_id2sym): remove unnecessary comparison as rb_ispunct has stricter condition, and cast explicitly to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19* iseq.c (rb_iseq_free): free rb_iseq_t::body::cc_entries.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19* vm_core.h: split rb_call_info_t into several structs.ko1
* rb_call_info (ci) has compiled fixed information. * if ci->flag & VM_CALL_KWARG, then rb_call_info is also rb_call_info_with_kwarg. This technique reduce one word for major rb_call_info data. * rb_calling_info has temporary data (argc, blockptr, recv). for each method dispatch. This data is allocated only on machine stack. * rb_call_cache is for inline method cache. Before this patch, only rb_call_info_t data is passed. After this patch, above three structs are passed. This patch improves: * data locarity (rb_call_info is now read-only data). * reduce memory consumption (rb_call_info_with_kwarg, rb_calling_info). * compile.c: use above data. * insns.def: ditto. * iseq.c: ditto. * vm_args.c: ditto. * vm_eval.c: ditto. * vm_insnhelper.c: ditto. * vm_insnhelper.h: ditto. * iseq.h: add iseq_compile_data::ci_index and iseq_compile_data::ci_kw_indx. * tool/instruction.rb: introduce TS_CALLCACHE operand type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19* 2015-09-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19* test/lib/envutil.rb: mkfifo command based File.mkfifo methodakr
definition removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19iseq.h: rb_iseq_tnobu
* iseq.h (rb_iseq_t): also should be defined here for prototype declarations arguments. * method.h (rb_iseq_t): get rid of redefinition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19* 2015-09-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19iseq.h, method.h: fix include guards [ci skip]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-18file.c: File.mkfifonobu
* file.c (rb_file_s_mkfifo): implement File.mkfifo. [Feature #11536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-18* NEWS: add Net::FTP#mlst and Net::FTP#mlsd.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-18common.mk: no prefixesnobu
* common.mk (yes-test-testframework): remove unnecessary test directory prefixes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-18thread.c: suppress warnings only if GCC6+nobu
* thread.c (rb_fd_no_init): suppress warnings by applying ASSUME only if GCC 6 or lator, to get rid of freeze with GCC 4.7.2-5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17* 2015-09-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17* ext/objspace/objspace_dump.c (obj_type): add IMEMO types to the heaptenderlove
dump information. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17tabify indent [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17* common.mk: fix command error with outside builddir.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17* common.mk: separated test for test-framework from test-all task.hsbt
They should be invoke at first before tests of test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17id_table.h: include guardnobu
* id_table.h (RUBY_ID_TABLE_H): add include guard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17* test/ruby/test_dir.rb (TestDir#test_fileno): s/?x/"x"/. Don'tkosaki
use tricky code, please. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17* 2015-09-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17id_table.c: fix typesnobu
* id_table.c (insert_into_chain, insert_into_main): fix argument types in prototype declarations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16vm_core.h: revert VM objspace on Windowsnobu
* vm_core.h (ENABLE_VM_OBJSPACE): disable now, as socklist and conlist will be freed exit_handler(), after object space destruction. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16* encindex.h: fix typo of last #endif comment.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16variable.c: fail if frozennobu
* variable.c (set_const_visibility): fail if the class/module is frozen. [ruby-core:70828] [Bug #11532] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16vm_core.h: enable VM objspace on Windowsnobu
* vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on Windows by default, as rb_w32_sysinit() no longer depends on ruby_xmalloc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16ruby.h: RUBY_FL_PROMOTEDnobu
* include/ruby/ruby.h (ruby_fl_type): revive RUBY_FL_PROMOTED for .gdbinit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16[DOC] Remove `\0` since it's aprt of octal notationknu
A typo is fixed while at it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16[DOC] `\0` is interpreted as NUL only if not followed by an octal digit.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16literals.rdoc: add DEL [ci skip]nobu
* doc/syntax/literals.rdoc (Strings): [DOC] add DEL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16[DOC] Revise the character literal part.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16[DOC] Document the full list of supported escape sequences in string literalsknu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16string.c: keep coderangenobu
* string.c (rb_str_setbyte): keep the code range as possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16literals.rdoc: fix typosnobu
* doc/syntax/literals.rdoc (Strings): fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16* doc/syntax/literals.rdoc (Strings): mention about ?a literal.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16* dir.c (glob_helper): check pathtype once again by lstat(2) ifkosaki
dp->d_type is DT_UNKNOWN. XFS may return DT_UNKNOWN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-15* 2015-09-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-15* test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):kosaki
insert waste loop for invoking preemptive thread context switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e