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

36627 Коммитов

Автор SHA1 Сообщение Дата
hsbt 643551f0d3 * lib/irb/completion.rb: reverted r47163.
because another case can't be show completion target.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13 03:02:26 +00:00
svn d1b21e8ef3 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13 02:19:52 +00:00
hsbt f741fd2d9d * lib/irb.rb: Prevent irb from crashing when exception with
nil backtrace is raised.
  [fix GH-434][ruby-core:58078][Bug #9063]
* test/irb/test_raise_no_backtrace_exception.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13 02:19:48 +00:00
hsbt 087d1d2749 * lib/irb/completion.rb: fixed broken completion list with
String including spaces. Contributed from @dunric. [fix GH-465]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13 02:11:37 +00:00
hsbt 09ed8ca532 * test/openssl/test_ssl_session.rb: fix indent.
contributed from @spk. [fix GH-698]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-13 02:03:47 +00:00
kazu 943fae33a7 fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 15:53:51 +00:00
svn 2904506e83 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 15:09:48 +00:00
svn 0f3e712e4a * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 15:09:46 +00:00
svn 25c3298e0f * 2014-08-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 15:09:45 +00:00
suke 47b2057a02 * ext/win32ole/win32ole.c: seperate WIN32OLE_PARAM src from win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_param.c: ditto.
* ext/win32ole/win32ole_param.h: ditto.
* ext/win32ole/depend: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 15:09:29 +00:00
svn f4534ea38f * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 14:21:37 +00:00
suke aeb8791dab * ext/win32ole/win32ole.c: refactoring. move some methods
into win32ole_type.c / win32ole_method.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_method.c: ditto.
* ext/win32ole/win32ole_method.h: ditto.
* ext/win32ole/win32ole_type.h: ditto.
* ext/win32ole/win32ole_type.h: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 14:21:22 +00:00
suke 7bf7bb84d3 * ext/win32ole/win32ole.c: refactoring. move
ole_typelib_from_itypeinfo into win32ole_typelib.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 14:00:45 +00:00
suke eac5e58bb4 * ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a string, to get rid
  of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 12:51:36 +00:00
nobu 89901cc760 configure.in: [Bug #8409]
* configure.in: check if prefix is same as the cwd, not only same
  path name.  also use AC_MSG_ERROR to bail out.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 08:29:56 +00:00
hsbt 3486904f4e * configure.in: ignored working directory same as prefix value.
[ruby-core:54999] [Bug #8409]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 05:25:47 +00:00
hsbt ac210750df * lib/fileutils.rb: enable to remove with non-owner directory.
[ruby-dev:45976] [Bug #6756]
* test/fileutils/test_fileutils.rb: add testcase for #6756.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 04:36:31 +00:00
hsbt d1075b72c8 * vm_exec.c: improve performance in ppc64 arch.
[ruby-core:63437] [Feature #9997]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 03:59:39 +00:00
hsbt 0210b487a4 * lib/fileutils.rb: fix typo.
[ruby-dev:47831] [Bug #9180]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 03:21:57 +00:00
normal 5ab146166e vm_method.c (release_method_definition): use rb_free_method_entry
We are not currently avoiding recursion by calling
release_method_definition, so use rb_free_method_entry directly
to make changing code easier in case we change the way
rb_method_entry_t is allocated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-12 01:17:17 +00:00
svn 340d73b2b1 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 21:20:21 +00:00
suke 1a83b21189 * ext/win32ole/win32ole.c: seperate WIN32OLE_METHOD src from
win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_method.c: ditto.
* ext/win32ole/win32ole_method.h: ditto.
* ext/win32ole/depend: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 21:20:10 +00:00
naruse 97a4ecb0a3 add timeout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 18:47:31 +00:00
svn 90baa972ea * 2014-08-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 15:30:44 +00:00
kazu f31252f041 fix style and typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 15:30:40 +00:00
suke 812c7a9efa * ext/win32ole/win32ole_variable.c(folevariable_inspect): refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 13:20:11 +00:00
svn 66973fc16b * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 11:50:22 +00:00
suke 0aa9e15ea0 * ext/win32ole/win32ole.c: seperate WIN32OLE_VARIABLE src from
win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_variable.c: ditto.
* ext/win32ole/win32ole_variable.h: ditto.
* ext/win32ole/depend: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 11:50:17 +00:00
nobu 4ce3e118e7 dir.c: Dir.exists? is deprecated
* dir.c (rb_dir_exists_p): [DOC] Document that Dir.exists? is
  deprecated.  [ruby-core:64135] [Bug #10102]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 07:17:22 +00:00
nobu 84ae5332e5 lib/tempfile.rb: include doc of Tempfile.open
* lib/tempfile.rb: start rdoc parsing inside singleton class
  definition to include the document there.
  [ruby-core:64157] [Bug #10105]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 02:26:36 +00:00
svn 9388ad4207 * 2014-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 01:40:33 +00:00
nobu b6d23e450b configure.in: fix jemalloc check
* configure.in (jemalloc): check with JEMALLOC_MANGLE if not found
  without the mangling.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 01:40:23 +00:00
nobu c7bc925b9b configure.in: remove spaces followed by tabs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-11 01:40:20 +00:00
nobu f5e2b68a7d configure.in: remove SSE options
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 04:48:12 +00:00
nobu 244bf0adc7 goruby.c: suppress warning
* goruby.c (goruby_options): check the result of `write(2)` to
  suppress unused-result warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 04:48:10 +00:00
nobu ac574fe862 configure.in: duplicated linker flags
* configure.in (with_jemalloc): get rid of duplicated linker flags,
  as AC_CHECK_LIB adds it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 03:31:37 +00:00
nobu 62a4c2f55f common.mk: ignore timestamp directory
* common.mk (clean-ext): ignore error on removing non-existent
  timestamp directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 03:31:33 +00:00
suke cfb519a25e * ext/win32ole/win32ole_type.c: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 03:23:39 +00:00
nobu 4473d2fea2 sample: use IO::NULL
* sample/cgi-session-pstore.rb: use IO::NULL instead of hard coded
  device name for portability.

* sample/drb/ring_place.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 02:41:03 +00:00
svn 22cbb7e8d3 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:34:53 +00:00
hsbt ffc068c9bb * lib/cgi/session/pstore.rb: separated sample code.
* lib/open3.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:34:50 +00:00
svn 31a1d0621c * 2014-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:05:18 +00:00
hsbt 0b7979a8fd * lib/irb/ext/multi-irb.rb: fixed indent.
* lib/irb/output-method.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:05:08 +00:00
hsbt f9a81499ff * lib/irb/ext/multi-irb.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:05:06 +00:00
nobu 8f0543a364 win32/file.c: direct conversion
* win32/file.c (user_length_in_path): count user name length in
  path.

* win32/file.c (append_wstr): append WCHAR string to Ruby string
  directly without an intermediate buffer, if possible.

* win32/file.c (rb_file_expand_path_internal): use above functions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 11:50:13 +00:00
nobu b136c5cd48 win32/file.c: share functions with win32.c
* win32/file.c (rb_file_expand_path_internal, rb_file_load_ok):
  use functions defined in win32/win32.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 10:10:11 +00:00
nobu fdb4c75a65 test_io.rb: fix tempfile leaks
* test/ruby/test_io.rb (test_flush_in_finalizer2): cannot unlink
  opened file on Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 09:32:48 +00:00
nobu 8f61283031 test_syntax.rb: fix tempfile leaks
* test/ruby/test_syntax.rb (test_must_ascii_compatible),
  (test_script_lines): ensure to close temporary files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 09:32:47 +00:00
hsbt 76515504d5 * lib/irb.rb: removed commented-out code.
* lib/irb/**/*.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 02:02:58 +00:00
hsbt 5afa23b4a4 * ChangeLog: added reference to github issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 01:42:48 +00:00