gotoyuzo
40aa32a0d7
* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext.build): removed.
...
* ext/openssl/lib/net/ssl.rb (OpenSSL::SSL::SSLContext#set_params):
new method to set suitable SSL parameters.
* lib/net/pop.rb, lib/net/http.rb, lib/net/imap.rb,
test/openssl/test_ssl.rb: follow above change.
* test/net/http/test_https.rb: refine error case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 08:31:53 +00:00
akr
0fc7dfedd3
add rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 08:11:47 +00:00
shugo
e875cfa1fe
* lib/net/imap.rb (encode_utf7): accept UTF-8 strings.
...
* lib/net/imap.rb (decode_utf7): return UTF-8 strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 08:00:04 +00:00
shugo
3ee72c86ef
* lib/net/imap.rb: fixed RDoc markups.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 07:29:01 +00:00
akr
fa3d06c738
refine error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 07:14:07 +00:00
usa
05ac036933
* transcode_data_japanese: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:57:26 +00:00
duerst
54f2734069
Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
...
* ChangeLog: Information for last patch got lost, fixed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:54:26 +00:00
duerst
5ad8c5566d
Sat Dec 22 15:45:45 2007 Martin Duerst <duerst@it.aoyama.ac.jp>
...
* transcode_data_one_byte: slightly optimized
* transcode_data_japanese: new data file for EUC-JP and SHIFT_JIS
(not yet optimized; tests to follow; data from
http://nkf.sourceforge.jp/ucm/ {SJIS|eucJP}-nkf.ucm)
* common.mk, transcode.c: Adjusted for transcode_data_japanese
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:45:55 +00:00
usa
c9bf419684
* */Makefile.sub (MFLAGS): define unless defined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:30:40 +00:00
usa
366b82dde8
* lib/mkmf.rb ($extmk): set true only when under ext/ or tool/.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:19:11 +00:00
nobu
aefc34a041
* common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.
...
* configure.in (STRINGIZE): stringizing macro.
* include/ruby/defines.h (STRINGIZE): fallback.
* tool/make-snapshot: new file.
* version.c (ruby_description, ruby_copyright): string constants for
-v option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:14:50 +00:00
shugo
482690cdf8
* lib/net/imap.rb (initialize): fixed documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:05:14 +00:00
shugo
a7ef0c7303
* lib/net/pop.rb (enable_ssl): use OpenSSL::SSL::SSLContext.build
...
instead of SSLContext.new (default verify mode is now
OpenSSL::SSL::VERIFY_PEER).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:03:20 +00:00
akr
da8b4a5e41
update tests for latest /.../n handling.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:00:56 +00:00
tadf
0067dc24d8
* lib/date.rb: shouldn't freeze nil. [ruby-dev:32677]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:48:30 +00:00
akr
bcb064eb0f
* regenc.c (onigenc_ascii_is_code_ctype): moved from enc/ascii.c.
...
* regenc.h (onigenc_ascii_is_code_ctype): declared.
* enc/ascii.c: use onigenc_ascii_is_code_ctype.
* enc/us_ascii.c: new file for US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:38:33 +00:00
nobu
e11ed98f88
* parse.y (reg_named_capture_assign_iter): allows non-ascii names and
...
get rid of reserved word IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:30:37 +00:00
ko1
34ff55e82a
* test/ruby/test_float.rb, test_sprintf.rb: fix test place.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:19:38 +00:00
ko1
e6f67598e9
* bootstraptest/test_objectspace.rb: skip flozen string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:18:52 +00:00
ko1
dd6ab4f3d5
* array.c (rb_ary_permutation): add volatile to avoid GC problem.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:05:30 +00:00
usa
3ce6e61a7b
* test/ruby/test_float.rb (test_float): test literal, not sprintf.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 03:15:36 +00:00
ko1
85143195da
* eval.c (rb_obj_instance_eval): use class of immediate objects.
...
* test/ruby/test_eval.rb: fix a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 02:52:27 +00:00
usa
b507930297
* encoding.c (rb_locale_charmap): win32 support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 02:37:40 +00:00
drbrain
ccc842878d
Place bin dir before lib dir so gem bin stubs work.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 02:32:18 +00:00
jim
a07e0b139c
Updated ChangeLog with Rake info.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 02:10:44 +00:00
nobu
1ae3c959a2
* lib/vm: removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 01:41:19 +00:00
matz
1d420d7c38
* parse.y (reg_named_capture_assign_iter): just ignore the
...
captures that do not have valid local variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 01:36:35 +00:00
ko1
c375b2f420
* tool/insns2vm.rb: moved from lib/vm/instruction.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 01:34:09 +00:00
matz
c6b8f89c2e
* parse.y (reg_named_capture_assign_iter): captured name should
...
not be reserved word. a patch from Keita Yamaguchi
<keita.yamaguchi AT gmail.com> in [ruby-dev:32675].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 01:32:21 +00:00
nobu
0fe66f38cc
* tool/insns2vm.rb: set property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 01:26:30 +00:00
matz
d65ae590d0
* eval.c (rb_f_method_name): now __method__ and __callee__ are
...
aliases. [ruby-core:14244]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 01:20:57 +00:00
nobu
7f59e105d1
* string.c (rb_str_buf_append): improvement for non-broken coded
...
strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 23:29:56 +00:00
ko1
5a1cf1c5cb
* bootstraptest/test_fork.rb: skip if fork is not unsupported.
...
* bootstraptest/test_io.rb: skip if require failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 21:35:08 +00:00
davidflanagan
ac42f7adf9
io.c: fix typo in rdoc comment
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 21:10:55 +00:00
usa
b211ed6460
* parse.y (parser_str_new, rb_intern3): rb_default_encoding() renamed.
...
* ext/nkf/nkf.c (rb_nkf_putchar): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 20:11:17 +00:00
matz
d7cc14d436
* encoding.c (rb_ascii_encoding): renamed from previous
...
rb_default_encoding().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 18:55:30 +00:00
matz
b36c642a85
* re.c (rb_reg_prepare_re): stop ENCODING_NONE warning if the
...
encoding of the str is ASCII-8BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 18:21:41 +00:00
matz
1d41fe84f9
* parse.y (command): block from cmd_brace_block was ignored.
...
[ruby-dev:32644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 18:02:19 +00:00
matz
2c40f3a7a9
test/ruby/test_eval.rb: class variable test updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 17:22:34 +00:00
matz
2bed2cdc7f
* io.c (io_ungetc): avoid buffer relocation, which might cause
...
serious problem under concurrent situation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 16:54:25 +00:00
akr
b82a05989e
* re.c (ARG_ENCODING_NONE): defined for /.../n option.
...
(REG_ENCODING_NONE): ditto.
(rb_char_to_option_kcode): return ARG_ENCODING_NONE for n.
(rb_reg_prepare_re): warn /ascii/n =~ "non-ascii".
(rb_reg_initialize): set REG_ENCODING_NONE from ARG_ENCODING_NONE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 16:39:36 +00:00
shugo
47daa2f218
* test/json/test_json_addition.rb (test_core): do not use Time.now
...
because JSON can't hold nsec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 16:25:53 +00:00
usa
3486311d54
* ext/tk/sample/tkextlib/vu/canvSticker2.rb,
...
ext/tk/sample/demos-{en,jp}/bind.rb: fix typo. [ruby-dev:32668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 16:11:39 +00:00
matz
3edf43c4cf
ChangeLog: conflict mark removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 15:59:24 +00:00
matz
389278af97
* sample/test.rb (valid_syntax): force_encoding input script.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 15:57:26 +00:00
usa
fede8b213b
* lib/mkmf.rb (depend_rules): suffixes list broken. fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 14:49:56 +00:00
matz
256ddf48c2
* bignum.c (rb_big_mul0): remove unused variable.
...
* bignum.c (bigdivrem): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 11:22:08 +00:00
nobu
7c2ae80d70
* include/ruby/ruby.h (rb_catch_obj, rb_throw_obj): prototyped.
...
* include/ruby/intern.h (rb_fiber_alive_p): prototyped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 11:13:53 +00:00
nobu
977eea57a3
* string.c (rb_str_succ): retry increasing until valid char is found.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 11:09:19 +00:00
nobu
5f2e5c07a7
* encoding.c (rb_enc_replicate): now creates first class encoding.
...
* encoding.c (rb_define_dummy_encoding): always based on the default
encoding.
* encoding.c (rb_enc_dummy_p): check if dummy.
* encoding.c (enc_inspect): shows if dummy.
* encoding.c (Init_Encoding): added dummy? method
* include/ruby/encoding.h (ENCODING_INLINE_MAX): increased.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 11:00:04 +00:00