1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

39063 commits

Author SHA1 Message Date
nobu
92c3c97273 rbinstall.rb: no post install messages
* tool/rbinstall.rb: suppress post install messages of rdoc for
  older ruby versions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-07 16:05:32 +00:00
nobu
fdb3bbf194 rbinstall.rb: $script_mode
* tool/rbinstall.rb: set script files permission to $script_mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-07 16:05:21 +00:00
nobu
a4d2997263 intern.h: stale declarations
* include/ruby/intern.h: remove stale declarations, which were
  removed because of ripper.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-07 02:44:00 +00:00
hsbt
1fa4cdf2d6 * internal.h: fix typo. Patch by @sferik [fix GH-865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-07 01:22:57 +00:00
svn
54849da6cf * 2015-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 15:00:15 +00:00
kazu
894507c5f4 fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 15:00:00 +00:00
akr
774f682952 * enum.c: Enumerable#chunk and Enumerable#slice_before no longer takes
the initial_state argument.  [Feature ]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 13:53:24 +00:00
svn
9db2bb2a5b * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 07:17:21 +00:00
ko1
633574eee5 * vm_args.c: protect value stack from calling other methods
during complex parameter setting process (splat, kw, and so on).
  [Bug ]
* vm_core.h: remove rb_thead_t::mark_stack_len.
  With this modification, we don't need to use th->mark_stack_len.
* test/ruby/test_keyword.rb: add a test.
* cont.c (cont_capture): catch up this fix.
* vm.c (rb_thread_mark): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 07:14:28 +00:00
svn
07264c40da * 2015-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 02:28:55 +00:00
naruse
886d8e3f40 * tool/downloader.rb (http_options): prevent content auto decoding
because this is a downloader.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 02:28:44 +00:00
usa
06d95893b0 * doc/contributing.rdoc: update Maintainers list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-05 00:55:31 +00:00
nobu
5180de635a rbinstall.rb: same options for gems
* tool/rbinstall.rb (gem): share same options between normal
  installer and unpacked installer.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-05 00:34:27 +00:00
hsbt
09bcf7b51b * tool/rbinstall.rb: fix bin script permission of bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-05 00:11:05 +00:00
svn
854dae1706 * 2015-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 23:47:04 +00:00
hsbt
75f9f244d6 * tool/rbinstall.rb: support --program-suffix option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 23:46:45 +00:00
hsbt
0dd9774009 * lib/rake: removed empty directories.
* test/rake: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 12:34:29 +00:00
hsbt
c4ee0df8ba * lib/rake/*: Gemify rake [fix GH-862][Feature ]
* test/rake/*: ditto.
* tool/rbinstall.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 12:31:31 +00:00
nobu
8c0b2a2860 string.c: check before modify
* string.c (rb_str_setbyte): check the argument first not to
  discard shared string and code range unnecessarily until
  actually changing the contents.  pointed out by headius.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 02:30:26 +00:00
nobu
34c83a37c2 stub.o: under win32
* cygwin/GNUmakefile.in, win32/Makefile.sub (stub.o): make under
  win32 directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 01:02:51 +00:00
nobu
8bead23815 stub.c: utf-8
* win32/stub.c (stub_sysinit): encode in UTF-8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 01:01:17 +00:00
nobu
8fb5a1aceb stub.c: use argv[0] unchanged
* win32/stub.c (stub_sysinit): use argv[0] unchanged and just
  insert full path name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 01:00:45 +00:00
svn
c28fabfdfe * 2015-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-03 23:18:32 +00:00
naruse
58835a94ef * lib/net/http.rb (edit_path): use path which is absolute ftp url
on using ftp_proxy.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-03 23:18:20 +00:00
nobu
819e1756ad gmake.mk: check targets depend on main
* defs/gmake.mk (TEST_DEPENDS): all check targets need the main,
  programs and extensions have been built.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-03 02:57:11 +00:00
svn
4208d09b1a * 2015-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-03 02:43:44 +00:00
nobu
c0bf2c5efe vm_core.h: update for OPT_CALL_CFUNC_WITHOUT_FRAME
* vm_eval.c (vm_call0_cfunc): update invoker arguments.
* vm_insnhelper.c (vm_call_cfunc_latter): ditto.
* vm_insnhelper.c (rb_vm_call_cfunc_push_frame): ditto, and prefix
  with rb_.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-03 02:43:20 +00:00
nobu
337fafc641 ChangeLog: remove garbage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-02 07:28:29 +00:00
nobu
51bcbca236 rbconfig.rb: use program version
* common.mk, tool/mkconfig.rb: check the running ruby version in
  rbconfig.rb with the program version, as RUBY_VERSION has never
  been affected by --with-ruby-version option.
  [ruby-core:68639] [Bug ]
* configure.in (LIBRUBY_DLDFLAGS): compatibility_version must be
  valid version numbers, not an arbitrary string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-02 07:27:12 +00:00
nobu
7363ffbfca * 2015-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-02 07:27:01 +00:00
svn
6fca58f4b0 * 2015-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-02 07:06:17 +00:00
nobu
7097e1c8f3 common.mk: exam
* common.mk (exam): renamed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-02 07:06:06 +00:00
nobu
80dd40f48e common.mk: fool
* common.mk (fool): target to check and test rubyspec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 14:30:53 +00:00
nobu
5e977e7f7d gmake.mk: CHECK_TARGETS
* defs/gmake.mk (CHECK_TARGETS): goals depending on test and
  test-all.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 08:14:35 +00:00
nobu
c5c0813aa2 test_dir.rb: recursive globbing
* test/ruby/test_dir.rb (test_symlink): add an assertion for
  recursive globbing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 07:53:16 +00:00
nobu
cd322ae533 test_objspace.rb: skip test_count_nodes
* test/objspace/test_objspace.rb (test_count_nodes): NODEs are no
  longer used generally.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 06:02:45 +00:00
nobu
ec85609f23 dir.c: expand ruby_brace_glob0
* dir.c (ruby_brace_glob_with_enc): call ruby_brace_glob_with_enc
  in ruby_brace_glob, and expanded ruby_brace_glob0 which is no
  longer used anywhere else.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 02:42:19 +00:00
nobu
93f6b2a36e dir.c: reduce indirect arguments
* dir.c (push_glob): remove indirect links of arguments for
  trampoline.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 02:09:18 +00:00
svn
cf0faa9620 * 2015-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 00:59:42 +00:00
nobu
676fe089bd fileutils.rb: fix error message
* lib/fileutils.rb (FileUtils#mv): show the exact target path in
  the error message instead of the destination parent directory
  name.  patched by João Britto <jabcalves AT gmail.com> at
  [ruby-core:68706].  [Bug ]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-01 00:59:14 +00:00
nobu
c6411c6455 test_dir.rb: assert_entries
* test/ruby/test_dir.rb (assert_entries): extract common
  assertinos for Dir.entries and Dir#foreach.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 08:09:34 +00:00
nobu
a4c92d0559 test_dir.rb: test_entries
* test/ruby/test_dir.rb (test_entries): test for Dir#entries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:32:18 +00:00
nobu
0313635cfd test_dir.rb: fix arguments order
* test/ruby/test_dir.rb (test_foreach): fix arguments order, the
  expected result should be first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:32:07 +00:00
svn
ffeb6c1b11 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:26:16 +00:00
svn
c3c7b61bde * remove trailing spaces, append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:26:14 +00:00
svn
4651128846 * 2015-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:26:13 +00:00
hsbt
dd659dc3b0 * doc/ChangeLog-0.06_to_0.52: added archived Changelog.
[ruby-list:50105]
* doc/ChangeLog-0.50_to_0.60: ditto.
* doc/ChangeLog-0.60_to_1.1: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:25:14 +00:00
svn
e7a1c9ca63 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 13:09:01 +00:00
kazu
a118730e7b README.EXT.ja: add redirect [ruby-core:68631]
see r50090 for detail

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 13:08:16 +00:00
naruse
c8e2ccec86 Revert r50122 "* configure.in: ac_cv_func_vfork=no on sparc-solaris."
fork(2) is also deprecated...

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 09:27:15 +00:00