aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * re.c (ARG_ENCODING_NONE): defined for /.../n option.akr2007-12-213-6/+32
| | | | | | | | | | (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
* * test/json/test_json_addition.rb (test_core): do not use Time.nowshugo2007-12-212-1/+6
| | | | | | | because JSON can't hold nsec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/vu/canvSticker2.rb,usa2007-12-214-14/+19
| | | | | | | | 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
* ChangeLog: conflict mark removed.matz2007-12-211-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb (valid_syntax): force_encoding input script.matz2007-12-213-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (depend_rules): suffixes list broken. fixed.usa2007-12-212-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_mul0): remove unused variable.matz2007-12-212-2/+6
| | | | | | * bignum.c (bigdivrem): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_catch_obj, rb_throw_obj): prototyped.nobu2007-12-213-0/+9
| | | | | | | * 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
* * string.c (rb_str_succ): retry increasing until valid char is found.nobu2007-12-212-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_replicate): now creates first class encoding.nobu2007-12-213-20/+81
| | | | | | | | | | | | | | | | * 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
* * io.c: write() should be in blocking region.ko12007-12-214-45/+69
| | | | | | | | * bootstraptest/test_io.rb, test_knownbug.rb: move a fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/ttk_selector.rb: set properties.nobu2007-12-210-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ruby/Tk :: provisional support on Ruby-VM and Tcl/Tk8.5.nagai2007-12-2146-325/+1220
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_str_transcode_bang): returns self if no conversion.nobu2007-12-212-1/+6
| | | | | | | [ruby-dev:32662] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to RubyGems 1.0.1, r1581drbrain2007-12-216-4/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2007-12-211-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:32566].akr2007-12-211-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_init_copy): typo fixed.matz2007-12-212-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c: change "character encodings differ" error messages.akr2007-12-212-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous locale_encoding change.akr2007-12-211-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2007-12-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog updatedmatz2007-12-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e