nobu
480b4d0a78
* .gdbinit (rp): mark singleton classes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-30 00:33:39 +00:00
nobu
45f6fbf339
* removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 18:51:39 +00:00
nobu
5d394118ff
* parse.y (parser_tokadd_utf8, parser_tokadd_string): allow NUL
...
containing symbol literals, as well as String#to_sym.
[ruby-dev:41447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 18:40:48 +00:00
naruse
abeb6dce85
* lib/rdoc/generator/template/darkfish/classpage.rhtml:
...
fix encoding value of XML declaration. [ruby-dev:41452]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 18:05:06 +00:00
tarui
12a99794b4
* thread.c (RB_GC_SAVE_MACHINE_CONTEXT), gc.c (ruby_gc_stress_start):
...
revert r28078.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 17:26:01 +00:00
mame
1887f60a85
* ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD.
...
This caused failure when test/csv is executed with GC.stress = true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 17:22:46 +00:00
tarui
41557b4774
* ChangeLog: fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 16:41:11 +00:00
tarui
d0914b3552
* thread.c (RB_GC_SAVE_MACHINE_CONTEXT): start GC
...
by switching the thread if gc_stress == true
* gc.c (ruby_gc_stress_start): dotto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 16:32:59 +00:00
svn
2c1a7dc85e
* 2010-05-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 15:10:04 +00:00
mame
264f490012
* gc.c (force_chain_object, rb_objspace_call_finalizer): delete
...
finalizer entry after corresponding finalizer is executed.
This caused SEGV when test/cgi is executed with GC.stress = true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 15:10:01 +00:00
mame
701c70e068
* string.c (str_replace_shared): change embedded state atomically.
...
[ruby-core:29953] [ruby-dev:41456]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 14:32:18 +00:00
naruse
2f9d028202
* encoding.c (rb_filesystem_encindex): avoid infinite require
...
loop. [ruby-core:30467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 03:57:36 +00:00
nobu
8e9f30887c
* lib/rdoc/rdoc.rb (RDoc#read_file_contents): take care of BOM.
...
[ruby-dev:41452]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 03:05:55 +00:00
nobu
790abc5991
* gc.c (GC_PROF_TIMER_STOP): regularize `marked' to suppress
...
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 01:12:38 +00:00
nobu
fc130468c7
* lib/mkmf.rb (STRING_OR_FAILED_FORMAT.%): nodoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 00:43:09 +00:00
nobu
ab3368de80
* test/ruby/envutil.rb: fix for --disable-gems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 00:34:35 +00:00
akr
089d2ddda4
* lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 00:06:17 +00:00
nobu
2dce743725
* tool/change_maker.rb: narrow diffs to see function names.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 23:59:55 +00:00
nobu
21fbc8f6d3
* gc.c (allocate_sorted_heaps, before_gc_sweep, gc_sweep): removed
...
unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 23:46:44 +00:00
kosaki
827a17bdbb
* thread.c (blocking_region_begin): avoid RUBY_VM_CHECK_INTS()
...
call during GVL state transition. [Bug#3354] [ruby-dev:41435]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 12:28:32 +00:00
nobu
a51acf3689
* tool/change_maker.rb: change-log-mode needs tabs, and omit only
...
empty line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 11:53:21 +00:00
nari
ca64478089
* gc.c : use simple lazy sweep algorithm for response performance
...
gain. See [ruby-dev:41067].
* object.c: FL_MARK of some objects by lazy sweep is copied when
RVALUE is cloned. These objects are not marked in the mark phase.
So delete FL_MARK.
* class.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 11:13:42 +00:00
nobu
732e40d9b0
* string.c (sym_inspect): escape ASCII-compatible strings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 09:39:41 +00:00
nobu
2138c773cc
* string.c (rb_str_inspect): escape ASCII-compatible strings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 09:37:06 +00:00
shyouhei
11cef3cca3
* array.c (rb_ary_product): Use tmpary instead, to ensure marking
...
arrays by GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 08:51:41 +00:00
shyouhei
97b1c9edd2
* array.c (rb_ary_product): Do not rely on GC, t0 should be
...
checked explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 02:43:34 +00:00
nobu
66c8f4680f
* lib/mkmf.rb (checking_for): ignore toplevel.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28 01:40:39 +00:00
tarui
47000e8aeb
* error.c (rb_bug): suppress the error report dialog if report_bug()
...
is finished successfly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 15:53:42 +00:00
svn
7e3454037a
* 2010-05-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 15:39:37 +00:00
mame
b18fcd6a7c
* insns.def (invokesuper): check consistency between class of self and
...
class of method being invoked by super. This is temporary measure
for YARV. See [ruby-core:30313] in detail. See [ruby-dev:40959]
[ruby-dev:39772] [ruby-core:27000] [ruby-core:27230]
* vm_insnhelper.c (vm_search_superclass): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 15:39:34 +00:00
naruse
97c175fa19
* file.c (rb_home_dir): set filesystem encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 14:47:29 +00:00
naruse
84abef0fc0
* file.c (file_expand_path): set encoding as the same of fname
...
when _result_ is not filesystem encoding. [ruby-dev:41429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 14:47:23 +00:00
naruse
ac8346c4c3
* file.c (file_expand_path): use rb_enc_associate_index and
...
rb_filesystem_encindex. Strings related FileSystem should
have filesystem_encoding.
* file.c (SET_EXTERNAL_ENCODING): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 14:47:20 +00:00
naruse
f39ad4cab2
* include/ruby/encoding.h (rb_filesystem_encindex): defined.
...
* include/ruby/encoding.h (rb_locale_encindex): ditto.
* encoding.c (rb_filesystem_encindex): remove static.
* encoding.c (rb_locale_encindex): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 14:47:16 +00:00
usa
51077c2c22
* win32/win32.c (rb_w32_read): call ReadFile() with len = 0 before
...
reading really on console, because the first ReadFile() call after
PeekConsoleInput() always returns broken data. (Windows's bug).
[ruby-core:29018]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 13:36:26 +00:00
usa
37f75ad0c4
* test/sdbm/test_sdbm.rb (test_s_open_error): doesn't support to avoid read
...
access by owner on Windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 05:47:21 +00:00
svn
974cd2e23e
* 2010-05-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 03:47:29 +00:00
knu
ce863c6143
* LGPL: Removed. We no longer have LGPL'd source files in our
...
tree.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27 03:47:26 +00:00
nobu
a43852a3a4
* random.c (random_rand): add the result of random to the
...
beginning of range, not the opposite. [ruby-dev:41415]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 11:19:30 +00:00
usa
fd8a1c725b
* file.c (file_expand_path): revert a part of r22392. it's commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 11:04:43 +00:00
tarui
cb2161b3db
* ChangeLog: fix wrong format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 10:06:02 +00:00
tarui
ea75767010
* test/rinda/test_rinda.rb (class TupleSpaceTest): kill a used thread
...
at teardown. [ruby-dev:41397]
* test/rinda/test_rinda.rb (class TupleSpaceProxyTest): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 09:45:49 +00:00
usa
dd32962cba
* test/open-uri/test_open-uri.rb (test_find_proxy_case_sensitive_env):
...
environment variable name is not case sensitive on Windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 08:25:15 +00:00
usa
97596f36bc
* test/test_tempfile.rb: skip some tests on Windows because unlinking is always
...
delayed till closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 06:37:08 +00:00
nobu
93bbd7869c
* random.c (random_rand): subtraction method of non-numeric can
...
return Float, and add the result of random to the beginning of
range, not the opposite. [ruby-dev:41410]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 03:08:07 +00:00
drbrain
dd8d4f0075
document marshal_dump and marshal_load
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 02:50:58 +00:00
nobu
259c3a1c4c
* configure.in (rb_cv_large_fd_select): needed on mingw, even
...
though fd_mask is not available. [ruby-core:30401]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26 01:35:38 +00:00
svn
56734a1901
* 2010-05-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 15:12:22 +00:00
naruse
81c5ede3ca
* regparse.c (add_code_range_to_buf0): fix false negative
...
warning when given range is just before previous range.
[ruby-dev:41406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 15:12:19 +00:00
akr
415be47593
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 14:26:04 +00:00