summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing test/unit.rb, bad svn merge. Rolled back test/runner.rbryan2008-10-102-43/+281
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed miniunit's testsryan2008-10-103-1094/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added minitest 1.3.0ryan2008-10-106-0/+1686
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Restored test/unitryan2008-10-1021-0/+3307
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removing miniunitryan2008-10-108-771/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): check if codepoint for %c is valid.nobu2008-10-092-1/+6
| | | | | | | [ruby-dev:36691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_names): minor improvement.nobu2008-10-092-8/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (ParseError.filter_backtrace): removes internalnobu2008-10-092-12/+21
| | | | | | | backtrace. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-10svn2008-10-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_econv_add_coverter): remove unnecessary NULL check.mame2008-10-092-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-c-mode): buffer may not have filenobu2008-10-092-1/+14
| | | | | | | name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_dup2): fix resource leak.mame2008-10-092-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_run_exec_options): fix resource leak.mame2008-10-092-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (test_remove_class_variable): add a testmame2008-10-093-10/+24
| | | | | | | | | | for Class#remove_class_variable. * test/ruby/test_object.rb (test_remove_instance_variable): add a test for Object#remove_instance_variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_mod_remove_cvar): fix r19711.mame2008-10-092-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_lookup_sym): remove reading uninitializedmame2008-10-092-2/+7
| | | | | | | variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/generator/extconf.rb: fix target.naruse2008-10-093-2/+8
| | | | | | * ext/json/ext/parser/extconf.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add test for Encoding#names.naruse2008-10-091-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: embeds the elements of an array into itsyugui2008-10-098-152/+363
| | | | | | | | | | | | | | | | | | struct RArray for # of elements <= 3. * array.c: ditto. * gc.c (gc_mark_children): following the change of struct RArray. * ext/tk/tcltklib.c (ip_ruby_cmp): ditto. * parse.y (coverage): ditto. * proc.c (curry): ditto. * .gdbinit: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (Init_Encoding): new instance method Encoding#names,naruse2008-10-092-0/+39
| | | | | | | | | | returns its name and alias names. * encoding.c (enc_names): defined for Encoding#names. * encoding.c (enc_names_i): defined for enc_names. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-10-091-7/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-09svn2008-10-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_wait_fd_rw): should not block by select ifmatz2008-10-082-0/+6
| | | | | | there's only one thread living. fixed [ruby-dev:36646]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert previous commit.akr2008-10-081-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_init_cp): initialize WIN32OLE.codepagesuke2008-10-082-4/+18
| | | | | | | | | according to Encoding.default_internal and Encoding.default_external. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add an assertion.akr2008-10-081-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-10-081-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/pure/generator.rb (utf8_to_json):naruse2008-10-082-2/+8
| | | | | | process each unpacked Unicode character. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/pure/parser.rbnaruse2008-10-082-1/+6
| | | | | | (JSON::Pure::Parser#parse_string): force_encoding("UTF-8"). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: assert_nothing_thrown, naruse2008-10-082-16/+33
| | | | | | | assert_raise, assert_not_equal, assert_no_match, assert_not_nil, assert_not_same are coming back as alias. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (classname, rb_obj_remove_instance_variable),nobu2008-10-081-23/+28
| | | | | | | | (autoload_delete, autoload_file, rb_mod_remove_const), (rb_mod_remove_cvar): fixed type-punned pointer casts. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (autoload_delete, autoload_file): should not deletenobu2008-10-082-10/+8
| | | | | | | | autoload table, since it may be shared with duplicated modules. [ruby-core:19181] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_default_internal_encoding): merged a patch frommatz2008-10-075-61/+206
| | | | | | | | | | | Michael Selig <michael.selig at fs.com.au> in [ruby-core:18985]. * io.c (rb_io_ext_int_to_encs): ditto. * ruby.c (proc_options): support default internal encoding in -E option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-08svn2008-10-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (today,now): should produce own instances.tadf2008-10-073-2/+23
| | | | | | | | [ruby-talk:317020] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/pure/generator.rb (utf8_to_json):naruse2008-10-072-2/+7
| | | | | | force_encoding before gsub. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/pure/generator.rb (utf8_to_json):naruse2008-10-073-4/+9
| | | | | | downcase the result of Unicode escape. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb (CGI::QueryExtension::initialize_query): fix thexibbar2008-10-064-5/+15
| | | | | | | | | | | | condition. * test/cgi/test_cgi_core.rb: bug fix encoding. thaks to TAKANO Mitsuhiro <takano32 at jus.or.jp> . * test/cgi/test_cgi_multipart.rb: temporary comment in. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark_children): ignores T_ZOMBIE.nobu2008-10-062-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (TestModule#test_mod_constants): shouldmatz2008-10-062-4/+8
| | | | | | not depend on global Module constants. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (TestModule#_wrap_assertion): addmatz2008-10-062-0/+9
| | | | | | definition. is this really needed? git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Assertions#assert_nothing_raised): matz2008-10-062-1/+6
| | | | | | should take optional message argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_comparable): string comparison should bematz2008-10-063-6/+9
| | | | | | | | | transitive. [ruby-dev:36484] * test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_eq): test updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/bigdecimal/test_bigdecimal.rb (test_sqrt_bigdecimal): testmatz2008-10-062-3/+7
| | | | | | | updated. a patch from TAKANO Mitsuhiro <takano32 at jus.or.jp> in [ruby-dev:36669]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-10-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($config_h): now always defines for old libraries.nobu2008-10-053-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_mod_modfunc): method undefined in included modulenobu2008-10-052-1/+6
| | | | | | | may not have nd_body. [ruby-core:18738] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rational.rb: resolved conflicts of aliases.tadf2008-10-053-9/+15
| | | | | | | | * lib/mathn.rb: avoided some warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: remove debug code introduced by previous change.akr2008-10-052-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_uri): set encoding to strio.naruse2008-10-052-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e