tadf
87eeed5103
* ext/date/date_core.c (datetime_s_{iso8601,rfc3339,xmlschema,rfc2822,httpdate}):
...
do not take argument comp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 13:10:04 +00:00
tadf
4a400e5372
* ext/date/date_core.c: added examples.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 12:59:21 +00:00
nari
11c43f7ae9
* gc.c: expand heap if initial_heap_min_slots is bigger than
...
HEAP_MIN_SLOTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 10:51:51 +00:00
eban
f53a117c7b
* ChangeLog (vim): set shiftwidth to 2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 10:44:51 +00:00
nahi
004bd2590b
* ext/openssl/ossl_x509req.c: raise RequestError instead of
...
CertificateError when Request#to_der gets an error from OpenSSL.
Patch from Ippei Obayashi, see #4420 . I cannot write a test for
this... Request does not allow to create broken bytes...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 10:39:47 +00:00
tadf
a6567f2b99
* ext/date/date_core.c (Date::(ABBR_)?(MONTH|DAY)NAMES): should be usascii.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 10:36:19 +00:00
tadf
4dbc9af8af
* ext/date/date_core.c: rewrote doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 10:25:25 +00:00
nobu
95e42dc152
* lib/test/unit.rb (Test::Unit::GlobOption#non_options): should run
...
with 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 10:04:19 +00:00
eban
10bf738bee
* bootstraptest/runner.rb: should initilize $stress to avoid warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 09:07:26 +00:00
nobu
34b19050b3
* io.c (io_getc): should be 7bit if ascii. fixes #4557
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 09:02:11 +00:00
nobu
6f58118e4c
* numeric.c (rb_enc_uint_chr): fix message format. Bug#4869
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 07:52:34 +00:00
kou
0347b17b27
* ChangeLog: fix ticket number at r31995. fixes #4161 is correct.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 07:32:49 +00:00
kou
da672779e2
* lib/rexml/formatters/pretty.rb
...
(REXML::Formatters::Pretty#write_text),
test/rexml/test_core.rb
(Tester#test_pretty_format_long_text_finite): don't ignore
'width' parameter in pretty formatter. fixes #4498
Reported by Michael Frasca. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 07:29:48 +00:00
kou
962956e8a1
* test/rexml/test_core.rb
...
(Tester#test_pretty_format_long_text_finite): remove needless
assert_nothing_raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 07:12:12 +00:00
kou
80cb3351dd
* lib/rexml/parsers/xpathparser.rb
...
(REXML::Parsers::XPathParser#parse),
test/rexml/test_elements.rb
(ElementsTester::test_each_with_frozen_condition):
don't modify original XPath. fixes #4164
Reported by Pavel Shved. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 07:05:42 +00:00
kou
8aecece693
* test/rexml/test_elements.rb (ElementsTester): remove needless
...
prefix from test name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 06:53:59 +00:00
duerst
0dfbb49a83
fixed a grammatical error
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 06:37:25 +00:00
kosaki
1485f3c168
* vm.c (thread_memsize): don't ignore size of th->local_storage.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 05:21:30 +00:00
nobu
ac0ab1f675
* lib/mkmf.rb: should quote arch_hdrdir and libpath for the case
...
installed prefix contains spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 01:32:49 +00:00
nobu
fe244c77b0
* thread_pthread.c (native_cond_timeout): wrap conditinally used label.
...
* thread_pthread.c (native_sleep): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 01:21:10 +00:00
akr
71fdb43e6e
* thread.c (rb_thread_execute_interrupts): use GetThreadPtr to extract
...
rb_thread_t from VALUE.
reorted by Motohiro KOSAKI. [ruby-dev:43700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 01:17:11 +00:00
svn
2e29d255d3
* 2011-06-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 01:01:12 +00:00
nobu
1482fccef5
* ruby.c (ruby_process_options): add missing return type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 01:01:09 +00:00
kosaki
7eed90933c
* ext/tk/tcltklib.c (lib_eventloop_core): replace CHECK_INTS with
...
rb_thread_check_ints(). Because current code can't be compiled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 14:24:02 +00:00
naruse
c479bde4fe
* encoding.c (rb_locale_charmap): When ruby process is run as Windows
...
Service the console codepage is not set, GetConsoleCP returns 0.
So on such environment, use GetACP().
http://blogs.msdn.com/b/michkap/archive/2005/02/08/369197.aspx
patched by Rafal Bigaj [ruby-core:36832] [Bug #4854 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 07:42:24 +00:00
naruse
09c8651387
Don't break test-all.
...
Revert "* lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason to"
This reverts commit r31982.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 06:45:21 +00:00
ko1
5a363fbb50
* common.mk: restore TESTRUN_SCRIPT to "$(srcdir)/test.rb".
...
TESTRUN_SCRIPT is used by "make run", "make gdb" and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 05:47:38 +00:00
nobu
3bc5b309be
* lib/test/unit/assertions.rb (Test::Unit::Assertions#skip): reason to
...
skip should be explained.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 04:04:41 +00:00
nobu
c95cbe809e
* test/testunit: add skip messages.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 04:03:36 +00:00
nobu
be4623525f
* test/ruby/test_transcode.rb (TestTranscode#test_Big5_Hkscs): fix
...
indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 04:02:11 +00:00
nobu
b5d59da9f6
* test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove all
...
module related to Rake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 04:01:26 +00:00
drbrain
58b14e7892
* encoding.c: Mention that Encoding.compatible? can work with more
...
than just Strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10 00:52:54 +00:00
tenderlove
132161da69
* ext/psych/lib/psych.rb: updating version to match released gem.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 17:26:29 +00:00
tadf
c2f9e1b100
* ext/bigdecimal (BigDecimal_to_i): Integer#** may return flonum.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 16:08:38 +00:00
tadf
14c504b3cc
* complex.c (string_to_c_internal): uses rb_reg_nth_match;
...
* rational.c (string_to_r_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 15:36:13 +00:00
nagachika
5aee85cef1
* gc.c: remove an unused declaration.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 15:31:02 +00:00
tadf
aca87391e9
* rational.c (string_to_r): Rational#** may return flonum.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 15:25:12 +00:00
svn
27f4e21824
* 2011-06-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 15:02:50 +00:00
akr
87f025da25
* io.c: fix IO.copy_stream interrupt handling.
...
based on the patch by Eric Wong. [ruby-core:36156]
* vm_core.h (rb_thread_call_with_gvl): don't declare here.
* thread.c: include internal.h.
(rb_thread_execute_interrupts): new function.
* internal.h (rb_thread_execute_interrupts): declared.
(rb_thread_call_with_gvl): declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 15:02:46 +00:00
nagachika
1fdbe0f437
* gc.c (rb_objspace_call_finalizer): use rb_typeddata_is_kind_of() for
...
type check to get rid of a double free when main Thread has singleton
class. [ruby-core:36741] [Bug #4828 ]
* thread.c (rb_obj_is_mutex): add a new utility function.
* vm.c (rb_obj_is_thread): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 14:45:56 +00:00
nagachika
50a058b6be
* test/ruby/test_thread.rb (TestThread#test_kill_thread_subclass):
...
add test for Thread.kill with Thread subclass instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 13:58:09 +00:00
nagachika
d7a3261d28
* test/ruby/test_thread.rb (TestThread#test_kill_wrong_argument):
...
test for [ruby-core:35086].
partially forward porting r31402 from ruby_1_9_2 branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 13:38:27 +00:00
mrkn
30a87f3535
* string.c: Fix the ambiguous description of the behavior of
...
rb_str_aref_m with a range. It returns nil when the beginning of
the range is greater than the end of the string rather than the range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 09:39:47 +00:00
tenderlove
8cd2bf0721
* ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read
...
from YAML files.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be
dumped to YAML files.
* test/psych/test_hash.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 01:58:07 +00:00
tenderlove
aaa52bf088
* ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded
...
from YAML files.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be
dumped to YAML files.
* test/psych/test_class.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 00:22:33 +00:00
svn
a8cc42d1ff
* 2011-06-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 00:06:34 +00:00
tenderlove
c641e4b23e
* ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loaded
...
from YAML files.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be
dumped to YAML files.
* test/psych/test_class.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 00:06:29 +00:00
nagachika
c84bb5df6d
* ChangeLog: fix some typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-08 12:57:29 +00:00
nagachika
5cf9a75c88
* ChangeLog: add ticket link
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-08 12:52:31 +00:00
svn
3621b2de3f
* 2011-06-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-08 12:50:07 +00:00