Граф коммитов

40613 Коммитов

Автор SHA1 Сообщение Дата
svn 19499aaeb1 * 2015-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19 17:19:00 +00:00
akr c748ac9893 * test/lib/envutil.rb: mkfifo command based File.mkfifo method
definition removed.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19 17:18:49 +00:00
nobu b026a71750 iseq.h: rb_iseq_t
* 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 01:53:34 +00:00
svn 71ed163fb3 * 2015-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19 01:49:00 +00:00
nobu 4f46dd034f iseq.h, method.h: fix include guards [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19 01:48:48 +00:00
nobu 9289515562 file.c: File.mkfifo
* 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 11:11:14 +00:00
shugo 30f9177d5d * NEWS: add Net::FTP#mlst and Net::FTP#mlsd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-18 07:56:57 +00:00
nobu 91efee1bd0 common.mk: no prefixes
* 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-18 04:45:01 +00:00
nobu f8a2398a86 thread.c: suppress warnings only if GCC6+
* 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-18 04:42:58 +00:00
svn 02bb538c3d * 2015-09-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17 22:41:02 +00:00
tenderlove 3b90363f76 * ext/objspace/objspace_dump.c (obj_type): add IMEMO types to the heap
dump information.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17 22:40:24 +00:00
kazu 391b8c323b tabify indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17 14:12:40 +00:00
kazu 6df966af22 fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17 14:12:06 +00:00
hsbt 8f688497c1 * common.mk: fix command error with outside builddir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17 13:33:11 +00:00
hsbt 3d86c47356 * common.mk: separated test for test-framework from test-all task.
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-17 08:42:14 +00:00
nobu e9edce8ebb id_table.h: include guard
* 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 08:24:54 +00:00
kosaki ae05ae33c1 * test/ruby/test_dir.rb (TestDir#test_fileno): s/?x/"x"/. Don't
use tricky code, please.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17 03:21:15 +00:00
svn 76da19cfb1 * 2015-09-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-17 01:02:46 +00:00
nobu 80e386e92c id_table.c: fix types
* 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-17 01:01:39 +00:00
nobu 7ed700d2da vm_core.h: revert VM objspace on Windows
* 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 12:14:52 +00:00
suke a2dce5c60a * encindex.h: fix typo of last #endif comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 11:53:50 +00:00
nobu dfa9eb54bd variable.c: fail if frozen
* 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-16 11:39:29 +00:00
nobu c3a48736a6 vm_core.h: enable VM objspace on Windows
* 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-16 08:18:02 +00:00
nobu 077e2037eb ruby.h: RUBY_FL_PROMOTED
* 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 08:15:58 +00:00
knu 11b804feee [DOC] Remove `\0` since it's aprt of octal notation
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 06:58:56 +00:00
knu 5ac401c8dc [DOC] `\0` is interpreted as NUL only if not followed by an octal digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:31:39 +00:00
nobu 2b89d63e61 literals.rdoc: add DEL [ci skip]
* 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 06:21:13 +00:00
knu 6989f24117 [DOC] Revise the character literal part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:16:15 +00:00
knu d23857e558 [DOC] Document the full list of supported escape sequences in string literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:03:18 +00:00
nobu 965d8241c1 string.c: keep coderange
* 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-16 05:50:00 +00:00
nobu 22190b3f32 literals.rdoc: fix typos
* 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 05:31:26 +00:00
usa 35947f6d42 * doc/syntax/literals.rdoc (Strings): mention about ?a literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 04:24:31 +00:00
kosaki 06ca0b67f4 * dir.c (glob_helper): check pathtype once again by lstat(2) if
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-16 03:19:53 +00:00
svn 8e177fca13 * 2015-09-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-15 19:24:47 +00:00
kosaki bb79c011bf * test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):
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
2015-09-15 19:23:43 +00:00
nobu abbd388431 gc.c: define objspace functions always
* 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
2015-09-15 10:38:58 +00:00
nobu 70b2af3b21 win32.c: no xmalloc at sys_init
* 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
2015-09-15 06:15:44 +00:00
nobu 2046f38aa6 dir.c: fundamental_encoding_p
* 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
2015-09-15 06:06:19 +00:00
nobu 9c9d555e7f win32.c: encindex.h
* 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
2015-09-15 06:03:37 +00:00
nobu 89fb3746ac localeinit.c: encindex.h
* 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
2015-09-15 05:57:30 +00:00
nobu 75a1d33bcf enc: fundamental encindex
* 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
2015-09-15 05:49:52 +00:00
nobu 078b6c9838 encindex.h: ENCINDEX
* 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
2015-09-15 05:49:20 +00:00
nobu ca5c9084dc array.c: [DOC] correct Array#sort rdoc [ci skip]
* 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
2015-09-15 04:13:15 +00:00
nobu 5a0dc59a01 array.c: [DOC] correct Array#sort rdoc [ci skip]
* 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-15 03:49:12 +00:00
svn 072748b346 * 2015-09-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-15 03:45:05 +00:00
nobu a8994b167e util.c: BSD qsort_r
* 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
2015-09-15 03:44:34 +00:00
shugo 5425099a9f * lib/net/ftp.rb (parse_mlsx_entry): parse pathnames including
space correctly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-14 10:27:28 +00:00
nobu cb1ff236f5 common.mk: excluding options to test-ruby
* 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
2015-09-14 06:07:18 +00:00
nobu 07dafa350f Fix typo in racc english documentation [ci skip]
* 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-14 02:12:12 +00:00
svn 50dff0a351 * 2015-09-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-13 16:43:16 +00:00