aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* id_table.h: include guardnobu2015-09-171-0/+4
| | | | | | * 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
* * test/ruby/test_dir.rb (TestDir#test_fileno): s/?x/"x"/. Don'tkosaki2015-09-172-10/+15
| | | | | | use tricky code, please. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-09-17svn2015-09-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id_table.c: fix typesnobu2015-09-171-2/+2
| | | | | | | * 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
* vm_core.h: revert VM objspace on Windowsnobu2015-09-161-0/+9
| | | | | | | | * 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
* * encindex.h: fix typo of last #endif comment.suke2015-09-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: fail if frozennobu2015-09-163-0/+25
| | | | | | | * 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
* vm_core.h: enable VM objspace on Windowsnobu2015-09-162-11/+6
| | | | | | | | * 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
* ruby.h: RUBY_FL_PROMOTEDnobu2015-09-161-0/+1
| | | | | | | * 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
* [DOC] Remove `\0` since it's aprt of octal notationknu2015-09-161-2/+1
| | | | | | A typo is fixed while at it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] `\0` is interpreted as NUL only if not followed by an octal digit.knu2015-09-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* literals.rdoc: add DEL [ci skip]nobu2015-09-161-0/+3
| | | | | | * 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
* [DOC] Revise the character literal part.knu2015-09-162-13/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Document the full list of supported escape sequences in string literalsknu2015-09-162-2/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: keep coderangenobu2015-09-163-2/+72
| | | | | | * 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
* literals.rdoc: fix typosnobu2015-09-161-2/+2
| | | | | | * doc/syntax/literals.rdoc (Strings): fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/literals.rdoc (Strings): mention about ?a literal.usa2015-09-162-0/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): check pathtype once again by lstat(2) ifkosaki2015-09-162-4/+12
| | | | | | 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-16svn2015-09-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):kosaki2015-09-152-8/+17
| | | | | | 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
* gc.c: define objspace functions alwaysnobu2015-09-153-10/+12
| | | | | | | * gc.c (rb_objspace_alloc, rb_objspace_free): define always regardless ENABLE_VM_OBJSPACE, and free heap pages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: no xmalloc at sys_initnobu2015-09-152-4/+9
| | | | | | | | * win32/win32.c (rb_w32_sysinit, rb_w32_readdir): compare by encoding index to get rid of encoding initialization before VM object space allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dir.c: fundamental_encoding_pnobu2015-09-153-10/+24
| | | | | | | * dir.c (fundamental_encoding_p, push_glob): compare by encoding index immediately. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: encindex.hnobu2015-09-152-1/+2
| | | | | | * win32/win32.c: needs encindex.h for encoding indexes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* localeinit.c: encindex.hnobu2015-09-152-0/+2
| | | | | | | * localeinit.c: needs encindex.h for ENCINDEX_US_ASCII and ENCINDEX_ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc: fundamental encindexnobu2015-09-155-4/+23
| | | | | | | | * enc/{ascii,us_ascii,utf_8}.c: set encoding indexes of fundamental built-in encodings so that usable as well as allocated rb_encoding before rb_enc_init(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* encindex.h: ENCINDEXnobu2015-09-1510-24/+83
| | | | | | * encindex.h: separate encoding index constants from internal.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: [DOC] correct Array#sort rdoc [ci skip]nobu2015-09-152-4/+10
| | | | | | | | * array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] correct block return values, which may be a negative or positive integer, not ony -1 or +1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: [DOC] correct Array#sort rdoc [ci skip]nobu2015-09-152-6/+12
| | | | | | | | * array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] Correct description of array sort block return values. And also fix up the grammar a bit. [Fix GH-1020] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-09-15svn2015-09-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* util.c: BSD qsort_rnobu2015-09-153-1/+30
| | | | | | * util.c (ruby_qsort): use BSD-style qsort_r if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (parse_mlsx_entry): parse pathnames includingshugo2015-09-143-3/+8
| | | | | | space correctly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: excluding options to test-rubynobu2015-09-141-1/+1
| | | | | | | * common.mk (yes-test-ruby): apply excluding options as well as "test". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo in racc english documentation [ci skip]nobu2015-09-142-1/+6
| | | | | | | * lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo, "convertion" to "conversion". [Fix GH-1016] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-09-14svn2015-09-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2015-09-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: add prefixnobu2015-09-135-296/+465
| | | | | | | | * include/ruby/ruby.h: prefix RUBY or RB to global symbols to get rid of name conflicts with other headers. * include/ruby/encoding.h, include/ruby/intern.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: enum_over_intnobu2015-09-131-1/+1
| | | | | | | * configure.in (enum_over_int): use ULLONG_MAX instead of ULONG_LONG_MAX for portability. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: enum_over_intnobu2015-09-131-0/+26
| | | | | | * configure.in (enum_over_int): check if enum over int is allowed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (size, modify, create, type, unique, perm, lang,shugo2015-09-132-0/+13
| | | | | | media_type, charset): new methods to return standard facts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-09-13svn2015-09-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_iseq_setup_normal): do not clear localko12015-09-123-41/+61
| | | | | | | | | | | | | | variables here. vm_push_frame() clears. * vm_insnhelper.c (vm_call_iseq_setup_tailcall): ditto. * vm_insnhelper.c (vm_push_frame): move check code to vm_check_frame(). Reorder initialization timing to reuse same values (sp). * compile.c (rb_iseq_compile_node): use iseq_set_exception_local_table() for ISEQ_TYPE_DEFINED_GUARD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.svn2015-09-120-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2015-09-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (file?, directory?, appendable?, creatable?,shugo2015-09-124-2/+210
| | | | | | | deletable?, enterable?, renamable?, listable?, directory_makable?, purgeable?, readable?, writable?): new methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (FACT_PARSERS): support system dependent factsshugo2015-09-123-3/+25
| | | | | | UNIX.mode, UNIX.owner, UNIX.group, UNIX.ctime, and UNIX.atime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: fix dup2 return valuenobu2015-09-122-1/+7
| | | | | | | * win32/win32.c (rb_w32_dup2): should return the new fd on success, while msvcrt returns 0 wrongly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (parse_mlsx_entry, mlst) raise an FTPProtoErrorshugo2015-09-123-1/+38
| | | | | | when parsing failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix typo [ci skip]nobu2015-09-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: drop non-ascii char [ci skip]nobu2015-09-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e