aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * error.c (syserr_initialize): use mesg's encoding when localenaruse2010-10-112-1/+14
| | | | | | | 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
* * error.c (syserr_initialize): set the encoding of Errno::*#messagenaruse2010-10-113-0/+10
| | | | | | as locale. [ruby-dev:42358] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_set_encoding):naruse2010-10-103-7/+30
| | | | | | | 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-11svn2010-10-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_set_encoding): use rb_funcall2 when the io is notnaruse2010-10-102-1/+11
| | | | | | a T_FILE. [ruby-dev:42356] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#replace): Apply a bit of optimization.knu2010-10-102-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_MINGW32): canonicalize as like mswin version.nobu2010-10-102-3/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_signal_buff_size, rb_signal_exec): movednobu2010-10-094-7/+9
| | | | | | declarations from thread.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RSHIFT): quote to get rid of argument expansionnobu2010-10-092-1/+6
| | | | | | for autoconf 2.68. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2010-10-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_reset_event_flags, exec_event_hooks): ignorenobu2010-10-093-17/+124
| | | | | | | | | | | 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
* * thread.c (rb_threadptr_exec_event_hooks): suppress each eventnobu2010-10-092-24/+73
| | | | | | | | | 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
* * thread.c (rb_threadptr_remove_event_hook): fix typo.nobu2010-10-083-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (RBCONFIG): depends on version.h due tonobu2010-10-081-0/+2
| | | | | | | RUBY_PATCHLEVEL. [ruby-core:32709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29425 ↵nobu2010-10-084-8/+6
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-10-08svn2010-10-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Fixing documentation typos. [ruby-core:32712]jeg22010-10-072-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in, win32/Makefile.sub (RCFILES): depend onnobu2010-10-073-2/+8
| | | | | | | | 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-07svn2010-10-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.c (vm_exec_core): Treat clang as non gcc on thisnaruse2010-10-072-3/+8
| | | | | | 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
* describe the reporter.akr2010-10-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe URI::Generic#hostname and URI::Generic#hostname=.akr2010-10-061-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic#hostname): new method.akr2010-10-065-12/+88
| | | | | | | | | | | | | | (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
* * io.c (fptr_finalize): write_mutex might have been destroyednobu2010-10-063-3/+45
| | | | | | | | 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-06svn2010-10-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: add missing prototypes.nobu2010-10-061-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-10-05svn2010-10-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: revert r29320 and r29402.wanabe2010-10-052-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (regexp): dregexp has literal string only at the headnobu2010-10-043-1/+9
| | | | | | and successors are array. [ruby-core:32682] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): This checks the value is in 32bit or not,naruse2010-10-042-1/+6
| | | | | | so use int32_t, not int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): remove useless assignment.naruse2010-10-043-6/+11
| | | | | | | | * 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
* * ext/openssl/lib/openssl/bn.rb (Integer#to_bn): OpenSSL::BN.newnaruse2010-10-043-1/+12
| | | | | | | 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
* * cont.c (fiber_memsize): Return size.naruse2010-10-032-1/+6
| | | | | | 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
* * enc/unicode.c (onigenc_unicode_property_name_to_ctype):naruse2010-10-035-12/+13
| | | | | | | | | | 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
* * Makefile.in (clean-rdoc): Don't use \ in variable expantion.naruse2010-10-032-2/+7
| | | | | | 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-04svn2010-10-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/config.sub: revert r29320, r29324, r29347, r29354, r29365wanabe2010-10-033-29/+11
| | | | | | | | | 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
* add filename.arton2010-10-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix test/win32ole/test_folderitem2_invokeverb.rbarton2010-10-031-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change creating shortcut verb to 'Link' [Bug #3339]arton2010-10-031-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-10-03svn2010-10-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (Makefile): get rid of duplicated ruby target whennobu2010-10-032-0/+6
| | | | | | | | already there it was. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-10-02svn2010-10-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/win32ole/test_thread.rb: add for win32ole with Thread.suke2010-10-022-0/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-10-01svn2010-10-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy):shyouhei2010-10-012-0/+6
| | | | | | | 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
* * parse.y (command_asgn): allow command_call to be right hand sidematz2010-09-302-10/+28
| | | | | | expression of chained assignment. [ruby-dev:42313] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getenv): should return NULL if specified nameusa2010-09-303-2/+8
| | | | | | | is empty. a patch from Heesob Park at [ruby-core:32650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): workaround for old Windows. a patch fromusa2010-09-302-1/+7
| | | | | | | Heesob Park. [ruby-core:32353] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.encode_www_form): change treatment ofnaruse2010-09-303-18/+36
| | | | | | | | undefined value in given array as latest internet draft for application/www-form-urlencoded. http://tools.ietf.org/html/draft-hoehrmann-urlencoded-01 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e