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

21112 Коммитов

Автор SHA1 Сообщение Дата
usa 243831cd37 * vm_dump.c (dump_thread): foolish mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 03:22:13 +00:00
nobu 83906099d0 * configure.in (RUBY_MINGW32): canonicalize only on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 01:39:11 +00:00
naruse 3f34ecc536 * lib/net/http.rb (HTTP.get): specify ASCII-8BIT as the result
encoding of Zlib::GzipReader.
  http://hibari.2ch.net/test/read.cgi/tech/1281473294/271

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-11 11:23:35 +00:00
naruse c1b24588d3 * error.c (syserr_initialize): use mesg's encoding when locale
encoding is US-ASCII. If locale encoding is not US-ASCII,
  assume err has non ASCII characters. [ruby-dev:42358]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-11 08:43:31 +00:00
naruse 44691b901e * error.c (syserr_initialize): set the encoding of Errno::*#message
as locale. [ruby-dev:42358]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-11 05:15:03 +00:00
naruse 47cb5a93e5 * ext/stringio/stringio.c (strio_set_encoding):
StringIO#set_encoding can get 2nd argument and optional hash
  for API compatibility to IO. [ruby-dev:42356]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 21:54:22 +00:00
svn 6221ba109c * 2010-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 21:29:31 +00:00
naruse e1646652e7 * io.c (rb_io_set_encoding): use rb_funcall2 when the io is not
a T_FILE. [ruby-dev:42356]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 21:29:29 +00:00
knu 72ef219804 * lib/set.rb (Set#replace): Apply a bit of optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 09:45:36 +00:00
nobu 3ec721b9c2 * configure.in (RUBY_MINGW32): canonicalize as like mswin version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 01:20:11 +00:00
nobu ff6ce776cb * vm_core.h (rb_signal_buff_size, rb_signal_exec): moved
declarations from thread.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-09 20:33:21 +00:00
nobu 0ac2f9513f * configure.in (RSHIFT): quote to get rid of argument expansion
for autoconf 2.68.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-09 07:54:42 +00:00
kazu fd17a9092f fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-09 07:14:57 +00:00
nobu 549b0c53a8 * thread.c (thread_reset_event_flags, exec_event_hooks): ignore
hooks marked as removed.

* thread.c (thread_exec_event_hooks): remove hooks to be removed.

* thread.c (rb_threadptr_remove_event_hook, rb_remove_event_hook):
  defer removing hooks if running the hooks.  [ruby-dev:42350]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-09 02:00:21 +00:00
nobu c3032fa749 * thread.c (rb_threadptr_exec_event_hooks): suppress each event
hooks separately.

* thread.c (thread_suppress_tracing): split from
  ruby_suppress_tracing, accepting thread pointer and event mask.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-09 01:51:19 +00:00
nobu 88533a5351 * thread.c (rb_threadptr_remove_event_hook): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-08 23:16:20 +00:00
nobu 9c06fa133e * common.mk (RBCONFIG): depends on version.h due to
RUBY_PATCHLEVEL.  [ruby-core:32709]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-08 01:54:41 +00:00
nobu a1d7e69106 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2010-10-08 01:52:37 +00:00
svn b6c817e3c6 * 2010-10-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-07 15:25:25 +00:00
jeg2 b6e0e98117 * lib/csv.rb: Fixing documentation typos. [ruby-core:32712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-07 15:25:23 +00:00
nobu 0dd56a828e * cygwin/GNUmakefile.in, win32/Makefile.sub (RCFILES): depend on
real config.rb file.  [ruby-core:32709]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-07 09:10:47 +00:00
svn 9b15896959 * 2010-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-07 00:48:05 +00:00
naruse fba68f4c31 * vm_exec.c (vm_exec_core): Treat clang as non gcc on this
context: It has __asm__ but doesn't works well.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-07 00:48:03 +00:00
akr 4f8376c655 describe the reporter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 03:32:41 +00:00
akr e5a47fb60e describe URI::Generic#hostname and URI::Generic#hostname=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 03:31:36 +00:00
akr 5fd45a4b79 * lib/uri/generic.rb (URI::Generic#hostname): new method.
(URI::Generic#hostname=): ditto.

* lib/open-uri.rb: use URI#hostname

* lib/net/http.rb: ditto.

  [ruby-core:32056]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 03:30:49 +00:00
nobu 915ae780c3 * io.c (fptr_finalize): write_mutex might have been destroyed
already in finalization phase, as the order of finalizers is not
  guaranteed.  rb_mutex_t should be used in place of Mutex object
  in the future.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 02:52:26 +00:00
svn a413c84e54 * 2010-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 00:08:46 +00:00
nobu 046a5818bb * vm_core.h: add missing prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 00:08:44 +00:00
svn cd936ca5ab * 2010-10-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-05 13:20:51 +00:00
wanabe 349c3c7a8c * win32/mkexports.rb: revert r29320 and r29402.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-05 13:20:49 +00:00
nobu d3dabbca71 * parse.y (regexp): dregexp has literal string only at the head
and successors are array.  [ruby-core:32682]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-04 03:43:50 +00:00
naruse 25eebc3ad5 * random.c (rand_init): This checks the value is in 32bit or not,
so use int32_t, not int.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-04 01:24:01 +00:00
naruse b259e449d1 * random.c (rand_init): remove useless assignment.
* re.c (update_char_offset): remove unused variable.

* re.c (read_escaped_byte): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-04 01:23:58 +00:00
naruse 3a633b812e * ext/openssl/lib/openssl/bn.rb (Integer#to_bn): OpenSSL::BN.new
accepts only Strings, so call Integer#to_s(16).
  16 is for an optimization. [ruby-dev:42336]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-04 00:33:22 +00:00
naruse eaa4e02d45 * cont.c (fiber_memsize): Return size.
Before this change, fiber_memsize always returns 0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 23:00:21 +00:00
naruse e1d5d4e7f2 * enc/unicode.c (onigenc_unicode_property_name_to_ctype):
remove useless assignment.

* vm.c (vm_make_proc_from_block): ditto.

* variable.c (rb_ivar_count): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 22:57:23 +00:00
naruse c51e356c68 * Makefile.in (clean-rdoc): Don't use \ in variable expantion.
BSD make treats it as an escape character.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 21:42:23 +00:00
svn edd008c9ce * 2010-10-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 15:06:26 +00:00
wanabe a21409ff5f * tool/config.sub: revert r29320, r29324, r29347, r29354, r29365
to automake-1.11.1. [ruby-core:32634]

* win32/mkexports.rb: no longer use 'mingw64'. a patch from Luis Lavena
  at [ruby-core:32678].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 15:06:23 +00:00
arton 65119c75b0 add filename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 11:50:21 +00:00
arton 8cf50c7462 fix test/win32ole/test_folderitem2_invokeverb.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 11:47:52 +00:00
arton 4ad4083b16 Change creating shortcut verb to 'Link' [Bug #3339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 11:45:17 +00:00
svn 6733064329 * 2010-10-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 10:44:31 +00:00
nobu fc8c4690d5 * configure.in (Makefile): get rid of duplicated ruby target when
already there it was.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-03 10:44:30 +00:00
svn 8e5c46c8a1 * 2010-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 14:03:05 +00:00
suke cb8deae606 test/win32ole/test_thread.rb: add for win32ole with Thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-02 14:03:03 +00:00
svn 0b1bccdb82 * 2010-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-01 08:04:40 +00:00
shyouhei 43ce320c4c * test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy):
My machine fails this test at this line, saying 503 service unavailable.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-01 08:04:37 +00:00
matz b602f6516f * parse.y (command_asgn): allow command_call to be right hand side
expression of chained assignment.  [ruby-dev:42313]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 14:17:31 +00:00