summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * transcode.c (rb_str_transcode_bang): returns self if no conversion.nobu2007-12-212-1/+6
| | | | | | | [ruby-dev:32662] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.0.1, r1581drbrain2007-12-216-4/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/pending.rb: renamed from featurebug.rb.ko12007-12-213-12/+18
| | | | | | | | | This file contains bugs which is known but will not be fixed in days. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c (dummy_gdb_enums.various): added ENCODING and CODERANGEnobu2007-12-213-5/+19
| | | | | | | | | constants. * .gdbinit: use enum constants. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/featurebug.rb: added.ko12007-12-213-7/+12
| | | | | | | | * bootstraptest/test_knownbug.rb: move a feature bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_atfork): fix to mark thread object.ko12007-12-214-8/+15
| | | | | | | | | [ruby-dev:32404] * bootstraptest/test_knownbug.rb, test_fork.rb: move a fixed test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.h: extern variable should not be initialized.ko12007-12-213-2/+8
| | | | | | | | * thread_pthread.c: add a parameter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (Init_Encoding): use enc_name as to_s.akr2007-12-212-4/+9
| | | | | | | (enc_inspect): renamed from enc_to_s. add "#" at beginning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/config.h (MIME_DECODE_DEFAULT, X0201_DEFAULT):naruse2007-12-213-47/+61
| | | | | | | | | | defined as FALSE. nkf and kconv don't decode MIME encoded string and don't convert JIS X 0201 Katakana. * test/nkf/test_kconv.rb: fix tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_iter_i): adjusted for rb_block_call_func.nobu2007-12-213-9/+13
| | | | | | | | * include/ruby/ruby.h (rb_block_call_func): function to be called back as block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fri Dec 21 16:25:25 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2007-12-213-2/+9
| | | | | | | | | * common.mk, transcode_data_iso_8859.c: renamed to transcode_data_one_byte.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bugmatz2007-12-212-2/+14
| | | | | | | pointed by Ryan Platte fixed(Patch to the patch from "NATORI Shin"). [ruby-talk:273360] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-211-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (append_utf8): use rb_utf8_encoding() instead ofakr2007-12-212-2/+7
| | | | | | | rb_enc_find("utf-8"). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_read): allow specifying encoding explicitly.matz2007-12-214-9/+43
| | | | | | | | | | | | * io.c (rb_io_binmode): specifies encoding to ASCII-8BIT (binary). * io.c (rb_io_s_read): IO should be in binary mode when offset is specified. * encoding.c (rb_to_encoding): returns default encoding if no corresponding encoding found. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_init): use enc_register_at() directly.nobu2007-12-214-6/+35
| | | | | | | | | | | * encoding.c (rb_utf8_encoding): returns utf-8 encoding. * include/ruby/encoding.h (rb_utf8_encoding): prototyped. * parse.y (UTF8_ENC): uses rb_utf8_encoding(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:32566].akr2007-12-211-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (initialize): accept service name. changedshugo2007-12-212-9/+12
| | | | | | | the defalut value of the old style +verify+ argument to true. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_init_copy): typo fixed.matz2007-12-212-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_garbage_collect): new function for debugging.akr2007-12-212-0/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_to_encoding_index): should return error instead ofnobu2007-12-212-0/+8
| | | | | | | exception even if type is incorrect. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_init_copy): prohibit cloning ofmatz2007-12-212-3/+14
| | | | | | generators since Fibers cannot be copied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist.akr2007-12-212-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_system.rb (TestSystem::valid_syntax): applymatz2007-12-213-1/+9
| | | | | | | | ASCII-8BIT encoding explicitly. * re.c (rb_reg_prepare_re): add encoding name in the message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c: change "character encodings differ" error messages.akr2007-12-212-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_find_index): extension libraries have lower casenobu2007-12-212-1/+5
| | | | | | | names conventionally. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_register): set encoding constant.nobu2007-12-213-7/+32
| | | | | | | | | | | * encoding.c (rb_enc_find_index): replace non-alphanumeric chars with underscores, so that initialize function can be called. * ruby.c (proc_options, process_options): finds encoding after load_path is initialized. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_external_encoding): should fill delayedmatz2007-12-212-0/+6
| | | | | | initialization for STDIN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_external_encoding): new method.matz2007-12-213-1/+28
| | | | | | | * encoding.c (rb_enc_from_encoding): returns Qnil for NULL encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous locale_encoding change.akr2007-12-211-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2007-12-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_charmap): return nil if no locale information.akr2007-12-213-2/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog updatedmatz2007-12-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_chomp_bang): avoid unnecessary loop usingmatz2007-12-212-6/+7
| | | | | | rb_enc_prev_char(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.akr2007-12-2113-951/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (Init_File): File.exists? revived.matz2007-12-213-1/+10
| | | | | | * dir.c (Init_Dir): Dir.exists? again. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_mode_enc): set default external encoding if nomatz2007-12-212-2/+10
| | | | | | encoding specified explicitly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: remove "illegal".ko12007-12-212-6/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/rake, lib/rake.rb, lib/rake: set properties.nobu2007-12-210-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* illegal -> invalid.akr2007-12-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added Rake 0.8.0jim2007-12-2113-0/+3017
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * keywords, parse.y (__ENCODING__): represent script encoding.nobu2007-12-215-53/+65
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_is_ascii_only_p): new method ascii_only?.akr2007-12-212-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check langinfo.h and locale.h.akr2007-12-214-1/+19
| | | | | | | | | * encoding.c: use langinfo.h only if available. * main.c: use locale.h only if available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb (TestM17N::test_tr): "invalid mbstringmatz2007-12-212-1/+3
| | | | | | sequence" is not an error to be tested. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c: include locale.hakr2007-12-215-26/+33
| | | | | | | | | | | | | | (rb_locale_charmap): new method Encoding.locale_charmap for nl_langinfo(CODESET). * include/ruby/encoding.h (rb_locale_charmap): declared. * main.c (main): call setlocale with LC_CTYPE. * ruby.c (locale_encoding): use rb_locale_charmap. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add reported.ko12007-12-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c, vm_dump.c: fix typo.ko12007-12-213-8/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,akr2007-12-2118-26/+35
| | | | | | | | | | | compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c, ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb, ext/openssl/ossl_bn.c, numeric.c, vm.c, benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal" for non law violation context. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (enc.mk): depends on $(RBCONFIG) instead of rbconfig.rb.nobu2007-12-2125-32/+43
| | | | | | | | | | | | | | | | * encoding.c (Init_Encoding): ISO-8859-1 is no longer a replica. * regenc.h (OnigEncodingDefine): names of extension and encoding can differ. * enc/Makefile.in: always shared. * enc/depend (deffile): should not upcase. * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: fix for Init. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e