Commit graph

39050 commits

Author SHA1 Message Date
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 #11025]
* 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 #11002]
* 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 #11021]

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
naruse
dcf8ddfb01 * configure.in: ac_cv_func_vfork=no on sparc-solaris.
sparc-solaris deprecates vfork though i386-solaris doesn't.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 07:36:54 +00:00
nobu
27440e6721 error.c: update builtin_types
* error.c (builtin_types): update for r49932, insert T_IMEMO and
  move T_UNDEF.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 06:24:40 +00:00
nobu
921bca8969 win32.c: symlink than directory
* win32/win32.c (fileattr_to_unixmode, winnt_lstat): deal with
  symbolic link than directory, and set executable bits.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 05:42:44 +00:00
nobu
5dc51d821e file.c: include terminator
* win32/file.c (rb_readlink): include the terminator, since
  rb_w32_mbstr_to_wstr appends a terminator only when the length
  is not given explicitly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 05:27:21 +00:00
nobu
efbfd90272 io.c: use read/write methods if possible
* io.c (copy_stream_body): use the arguments without conversion if
  having read, readpartial, and write methods, than conversion by
  to_path method.  [ruby-core:68676] [Bug #11015]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 02:28:02 +00:00
nobu
be6ef3502e test_case.rb: $make before $MAKE
* lib/rubygems/test_case.rb (make_command): try unusual $make
  before usual $MAKE.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 00:50:47 +00:00
svn
144484f213 * 2015-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 22:36:28 +00:00
nobu
d4fc094391 test_case.rb: use $MAKE
* lib/rubygems/test_case.rb (make_command): usually $MAKE is
  defined but not $make.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 22:35:45 +00:00
hsbt
2e9f4bfd51 * gc.c (objspace_allrefs_destruct_i): fix a typo.
[Bug #11013]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 12:08:43 +00:00
kazu
101d566ce8 fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 10:03:24 +00:00
nobu
0899bd5227 proc.c: check iseq before replication
* proc.c (proc_binding): do not replicate when iseq not found as
  rb_method_get_iseq() can return NULL.
  [ruby-core:68673] [Bug #11012]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 04:49:57 +00:00
nobu
509089e9b1 proc.c: replicate method env
* proc.c (proc_binding): replicate env from method object, and
  allocate the local variable area for the iseq local table.
  [ruby-core:68673] [Bug #11012]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 02:51:34 +00:00
svn
4bc9b1d29a * 2015-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 02:47:38 +00:00