summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* add assertion messages.akr2007-12-231-5/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more IO m17n tests.akr2007-12-231-4/+122
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_comparable): comparison including brokenmatz2007-12-232-6/+13
| | | | | | coderange strings do not consider encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (open_key_args): IO direct methods (foreach, readlines,matz2007-12-232-18/+101
| | | | | | read) now takes keyword argument: encoding, mode, open_args. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_read): encoding argument reverted.matz2007-12-233-54/+82
| | | | | | | | * io.c (mode_enc): independent function to share code. * io.c (rb_io_internal_encoding): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): matz2007-12-233-2/+8
| | | | | | | rename endblockwarn.rb to endblockwarn_rb to avoid unnecessary warning in make test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enable documents for raise and local_variables.akr2007-12-231-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enable document of Kernel#system.akr2007-12-231-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Proc#lambda? documented.akr2007-12-231-0/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comment updated.akr2007-12-231-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move the test for [ruby-core:14288].akr2007-12-232-8/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_codepoint): implemented to raise invalidakr2007-12-234-66/+173
| | | | | | | | | | encoding. * include/ruby/encoding.h (rb_enc_codepoint): macro is replaced as a declaration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for warning of none encoding regexps.akr2007-12-231-21/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.httpdate): fix 2 digits year for 20xx.akr2007-12-232-1/+15
| | | | | | | reported by Tadayoshi Funaba. [ruby-dev:32687] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix method redefined warning in open-uri.rb. [ruby-core:14304].drbrain2007-12-232-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c (rb_nkf_enc_get): use rb_define_dummy_encoding.naruse2007-12-235-85/+107
| | | | | | | | | | | | | | * ext/nkf/nkf.c (Init_nkf): use rb_nkf_enc_get("ASCII"). * ext/nkf/nkf-utf8/nkf.c: Update 1.161. * ext/nkf/nkf-utf9/config.h: default output encoding is now UTF-8. * ext/nkf/lib/kconv.rb (Kconv.kconv): replace Encoding#name by Encoding#to_s. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix version checkdrbrain2007-12-232-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a comment for eucJP.akr2007-12-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.akr2007-12-232-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.httpdate): use Time.utc forakr2007-12-232-1/+6
| | | | | | | "day-of-week, dd-mon-yy HH::MM:SS GMT" format. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix 1.9 warnings in RDocdrbrain2007-12-236-11/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:32048].akr2007-12-231-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix warnings in RubyGemsdrbrain2007-12-237-17/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use require to load rubygems.rb in gem_prelude.rb so the correct path is in ↵drbrain2007-12-232-5/+18
| | | | | | on RubyGems upgrade. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_call): use exact argument array interface.nobu2007-12-234-13/+19
| | | | | | | [ruby-core:14279] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:32675] reported by Keita Yamaguchi.akr2007-12-231-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_binmode_m): removed C99ism.nobu2007-12-232-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-core:14288].akr2007-12-231-1/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sun Dec 23 10:23:23 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2007-12-233-5199/+1354
| | | | | | | | | | * transcode_data_one_byte.c: Better (and more honest) optimization. * transcode_data_japanese.c: First optimization step. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-core:14279].akr2007-12-231-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/nkf/nkf.c follow previous rb_ascii_encoding renaming. akr2007-12-232-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h, encoding.c, re.c, io.c, parse.y, numeric.c,akr2007-12-229-14/+21
| | | | | | | | | ruby.c, transcode.c: rename rb_ascii_encoding. to rb_ascii8bit_encoding. rb_ascii_encoding is ambiguous with ASCII-8BIT and US-ASCII. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend, enc/make_encmake.rb: use erb.nobu2007-12-223-40/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: use patchlevel if revision is not set.nobu2007-12-225-2/+9
| | | | | | | * {bcc32,win{32,ce}}/setup.mak (-version-): skip including revision.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (srcs): new target to generated sources.nobu2007-12-222-6/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs, ext/ripper/ripper.c): MAKEFLAGS needs -.nobu2007-12-222-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/imap/{cacert.pem,server.{crt,key}}: set properties.nobu2007-12-220-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_mode_enc): do not set encoding unless explicitlymatz2007-12-223-26/+31
| | | | | | | | | | | | specified. * io.c (rb_io_check_readable): fill fptr->enc by default_external if it's empty. * io.c (io_enc_str): fptr->enc is always set for reading IO (by rb_io_check_readable(fptr)). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c, io.h: temporary patch to partially implement transcode-on-read and ↵davidflanagan2007-12-223-8/+72
| | | | | | transcode-on-write git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/imap/test_imap.rb: added tests for SSL.shugo2007-12-225-0/+220
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ignore enc.mk and revision.h.akr2007-12-220-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data_japanese.c: set properties.nobu2007-12-220-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* document updated.akr2007-12-221-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use String#ascii_only?.akr2007-12-221-37/+33
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version.h corruptedmatz2007-12-221-0/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_genericresolver_node_import): shouldmatz2007-12-223-40/+8
| | | | | | | not set instance variable "@kind" before initializing it. [ruby-dev:32677] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_objectspace.rb: fix condition.ko12007-12-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/probeprofiler/: removed.ko12007-12-225-86/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_fork): Unsupport Kernel.fork() on NetBSD.ko12007-12-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sat Dec 22 15:54:54 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2007-12-222-32/+51
| | | | | | | | | * test/ruby/test_transcode.rb: Added simple tests for EUC-JP and Shift_JIS and tests for ASCII-only range git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e