nobu
eadc639598
* test/csv/base.rb (TestCSV.with_diffrent_ofs): give name to
...
anonymous classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 08:33:58 +00:00
nobu
9c017ca5fb
* lib/csv.rb (CSV#init_separators): use IO#gets with length
...
parameter to get rid of wrong convertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 08:32:27 +00:00
nobu
9a907880f0
* lib/csv.rb (CSV::foreach, CSV#initialize): fixed passing options.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 07:44:50 +00:00
nobu
b4876f5e04
* lib/csv.rb (CSV::foreach, CSV#initialize): directly use encoding
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 07:04:38 +00:00
nobu
d05217109f
* lib/csv.rb, test/csv: should not assume $, invariant.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 06:58:58 +00:00
kosaki
47a1cd1291
* signal.c: change rb_atomic_t definition from uchar to uint.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 06:28:05 +00:00
nobu
9b0f2e48d7
* test/csv/test_encodings.rb (TestEncodings#setup): fix evil test
...
suite writing to the source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 06:04:07 +00:00
kosaki
402402741d
* ext/pty/pty.c (chfunc): Added rb_thread_atfork_before_exec().
...
We must reinitialize GVL when new process creation. Otherwise
we may meet an insane deadlock. [Bug #4121 ][ruby-dev:42686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 05:31:04 +00:00
nobu
522c538e93
* io.c (rb_io_extract_encoding_option): accept Encoding object as
...
encoding: optional argument. [ruby-dev:42884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 05:27:12 +00:00
ryan
f83bc706bf
Fixed a minor warning in 1.9.3
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 05:01:32 +00:00
ryan
9698217cda
Imported minitest 2.0.2 r6093
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 04:55:15 +00:00
nobu
03ca479728
* ext/json/generator/generator.{c,h} (fbuffer_free_only_buffer):
...
unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 04:49:34 +00:00
ryan
4a722bd73a
Dunno why this conflicted
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 04:24:37 +00:00
akr
0c232beb9c
* random.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 04:08:22 +00:00
nobu
1aff775d39
* load.c (rb_f_require_relative): don't omit return type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 03:48:57 +00:00
drbrain
d0830a222c
Document require_relative
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 02:07:13 +00:00
nobu
91c6ba2333
* ext/zlib/zlib.c (gzreader_gets): support optional length
...
parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 02:02:55 +00:00
nobu
aeb8d7f5e5
* ext/zlib/zlib.c (gzfile_read, gzfile_readpartial): length should
...
be long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 01:59:15 +00:00
nobu
bd3c7a7e90
* test/zlib/test_zlib.rb (test_readline): renamed from test_gets.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 01:54:28 +00:00
nobu
514a5b3b71
* ext/json/generator/generator.c (fbuffer_free): unused.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 01:51:06 +00:00
svn
d0598d27ff
* 2010-12-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 01:50:02 +00:00
nobu
483bfa27e8
* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): add casts.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-25 01:49:59 +00:00
akr
a048436461
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-23 23:52:42 +00:00
akr
a041f129af
* process.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-23 23:46:39 +00:00
svn
2383807c69
* 2010-12-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-23 23:22:35 +00:00
kazu
601886650f
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-23 23:22:33 +00:00
yugui
dae189e8c6
* test/net/imap/cacert.pem: updated because it has been expired.
...
* test/net/imap/server.crt: signed again because CA cert was expired.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-23 10:25:44 +00:00
akr
462f3626fc
* parse.y: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-23 02:17:13 +00:00
nobu
c5a19b38af
* error.c (rb_check_type): check for type from extensions for ruby
...
1.8. see [ruby-core:33797].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-23 02:00:12 +00:00
tenderlove
26e6372a87
adding tests for Net::SMTP::Response#exception_class
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 23:32:57 +00:00
tenderlove
3971bc3c70
adding more tests for Net::SMTP::Response class
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 23:26:05 +00:00
tenderlove
d236a0ca3b
passing nil to split is not necessary
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 23:18:05 +00:00
tenderlove
0a2392a50a
* lib/net/smtp.rb: refactoring Net::SMTP#esmtp= to use an
...
attr_accessor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 23:13:49 +00:00
tenderlove
df8e7db7c5
adding tests for the SMTP response parser
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 23:09:05 +00:00
tenderlove
4a7f4d1f48
* lib/net/smtp.rb: Net::SMTP should close the SSL connection if the
...
connection verification fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 21:37:13 +00:00
svn
7a033184ae
* 2010-12-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 16:49:40 +00:00
kazu
1ebba08dab
* NEWS: remove #object_id. [ruby-dev:42840]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 16:49:39 +00:00
matz
049cdff0eb
* gc.c (Init_GC): move back object_id to Kernel. [ruby-dev:42840]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 05:38:41 +00:00
kazu
6a50d27231
* NEWS: add Module#private_constant and Module#public_constant.
...
[ruby-dev:39685][ruby-core:32698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:59:42 +00:00
kazu
9241383352
sort and remove s
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:59:39 +00:00
svn
ee4a024c3c
* 2010-12-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:03:28 +00:00
kazu
d5eea8c137
NEWS: add IO#advise.
...
[ruby-core:33110] [Ruby 1.9-Feature#4038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:03:26 +00:00
nobu
12329a58e1
* configure.in (target_archs): remove temporary objects.
...
* enc/Makefile.in, enc/depend (clean): remove work directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 03:45:21 +00:00
akr
379f68fe4f
* pack.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 22:39:55 +00:00
nobu
182b614869
* test/rexml/test_contrib.rb (ContribTester#test_pos): should not
...
use fixed path name for tests. [ruby-dev:42827]
* test/rexml/test_sax.rb (SAX2Tester#test_socket): should not use
fixed port for tests. [ruby-dev:42828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 21:25:49 +00:00
nobu
f4db8aedc8
* compile.c (setup_args), vm.c (invoke_block_from_c),
...
vm_insnhelper.c (caller_setup_args): reverted r30241 and r30243
except for the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 21:10:24 +00:00
tarui
da4d3e8464
* io.c : add an extra byte to buffer for the specification of read
...
in Windows. see [ruby-core:33460] and r29980. and, we have to
discuss how to do this one byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 16:45:08 +00:00
kosaki
12b8ff1f46
* error.c: Fix build error for win32. This regression was
...
introduced by r30271.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 15:40:07 +00:00
kosaki
1ff6a1953c
* thread.c (thread_cleanup_func): Moved interrupted_lock
...
destroying code from native_thread_destroy() to
thread_cleanup_func() because it's platform independent logic.
* thread_win32.c (native_thread_destroy): ditto.
* thread_pthread.c (native_thread_destroy): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 15:20:17 +00:00
svn
49fbf28b45
* 2010-12-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 15:16:42 +00:00