aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lib/README: remove jcode.rbmatz2007-12-011-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* a reaction to recent time's changes.tadf2007-12-012-4/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: move fixed bugs.ko12007-12-014-14/+25
| | | | | | | | | * test/ruby/test_sprintf.rb: ditto. * test/yaml/test_yaml.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_open): use to_open for every non-string object. pathmatz2007-12-012-9/+22
| | | | | | object may use method_missing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (concatarray, splatarray): use to_a instead ofmatz2007-12-018-48/+14
| | | | | | | | to_splat. * insnhelper.ci (caller_setup_args): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_yield_with_cfunc): fix to passing argc on thirdko12007-12-017-18/+50
| | | | | | | | | | | | | parameter of IFUNC. [ruby-dev:32329] * enumerator.c: fix to pass exact number of argument. * eval.c (rb_yield_values2): added. * include/ruby/ruby.h: ditto. * bootstraptest/test_knownbug.rb: move a fixed test. * bootstraptest/test_block.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (newline_node): always remove NODE_BEGIN.nobu2007-11-303-6/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/json/add/*.rb, test/json/test_json_rails.rb: set properties.nobu2007-11-300-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ruby_signal): use SA_SIGINFO if available.matz2007-11-304-3/+18
| | | | | | [ ruby-Patches-6418 ] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (trap_signm): SIGVTALRM no longer used for greenmatz2007-11-304-7/+22
| | | | | | | | | thread. [ruby-talk:281318] * signal.c (ruby_sig_finalize): do not install SIG_DFL handler if previous handler is sighandler(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/jcode.rb: removedmatz2007-11-301-231/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sample/test.rb: remove $KCODEmatz2007-11-301-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog for 14051.naruse2007-11-301-0/+6
| | | | | | | | | -- M ChangeLog git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/json.rb, lib/json/add/{core.rb, rails.rb},naruse2007-11-304-12/+305
| | | | | | | | | | | | | | | test/json/test_json_rails.rb: additional files of JSON 1.1.2. [ruby-dev:32405] -- M lib/json.rb A lib/json/add A lib/json/add/core.rb A lib/json/add/rails.rb A test/json/test_json_rails.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_mktime): avoid segmentation fault.matz2007-11-303-2/+12
| | | | | | [ruby-core:13735] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_count): precise argument number check.matz2007-11-302-2/+13
| | | | | | * enum.c (enum_count): return Enumerator if no block given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* report the reason of process termination.akr2007-11-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_take_while): returns Enumerator if no block given.matz2007-11-302-0/+8
| | | | | | * enum.c (enum_drop_while): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_eql): recursive comparison should be based onmatz2007-11-303-4/+9
| | | | | | eql? [ruby-core:13803] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814]nobu2007-11-293-10/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json, lib/json, test/json: Update to JSON 1.1.2.naruse2007-11-2815-152/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | (RubyForge#15447) * math.c: fix typo. -- M ChangeLog M math.c M ext/json/ext/generator/generator.c M ext/json/ext/parser/parser.rl M ext/json/ext/parser/parser.c M lib/json/version.rb M lib/json/editor.rb M lib/json/common.rb M lib/json/pure/parser.rb M test/json/test_json_unicode.rb M test/json/test_json_fixtures.rb M test/json/test_json_generate.rb M test/json/test_json_addition.rb M test/json/test_json.rb M test/json/runner.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for enumerator.akr2007-11-281-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_invoke_block): should splat args.ko12007-11-283-5/+19
| | | | | | | | | [ruby-dev:32392] * test/ruby/test_yield.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): use dldflags instead of DLDFLAGS tonobu2007-11-283-4/+19
| | | | | | | | | | | | get rid of mixing $LDFLAGS and $ARCH_FLAG. * lib/mkmf.rb (configuration): ditto. * lib/mkmf.rb (create_makefile): support for extensions which has no shared object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test exceptions.akr2007-11-281-29/+41
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* longer timeout.akr2007-11-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-11-28nobu2007-11-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big2str_find_n1): removed extraneous element.nobu2007-11-273-28/+35
| | | | | | | | | | | [ruby-dev:32351], [ruby-dev:32365] * bignum.c (big2str_find_n1): returns necessary digits now. * sprintf.c (remove_sign_bits): extends sign bit first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): "when *[],1" dumps core.ko12007-11-273-6/+31
| | | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32350] * bootstraptest/test_syntax.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): "a[*b] += 1" dumps core.ko12007-11-273-79/+109
| | | | | | | | | a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32354] * bootstraptest/test_syntax.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, insns.def: change return value of "defined?"ko12007-11-275-10/+46
| | | | | | | | | | | for $&, $1, ... . If such variables are defined, return "global-variable". * test/ruby/test_defined.rb: add tests. * bootstraptest/test_syntax.rb: fix a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/finalizer.rb: removedmatz2007-11-271-193/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: fix typo.ko12007-11-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_beginendblock.rb: add loop to wait signal.ko12007-11-272-2/+9
| | | | | | | | [ruby-dev:32332] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h, encoding.c, re.c, string.c, parse.y: akr2007-11-276-22/+30
| | | | | | | | | | rename ENC_CODERANGE_SINGLE to ENC_CODERANGE_7BIT. rename ENC_CODERANGE_MULTI to ENC_CODERANGE_8BIT. Because single byte 8bit character, such as Shift_JIS 1byte katakana, is represented by ENC_CODERANGE_MULTI even if it is not multi byte. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_method_missing): fix stack trace.ko12007-11-275-17/+27
| | | | | | | | | * bootstraptest/test_knownbug.rb: move solved tests. * bootstraptest/test_method.rb, test/ruby/test_regexp.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def, compile.c: fix to allow dsym for alias/undef.ko12007-11-275-39/+63
| | | | | | | | | [ruby-dev:32355] * bootstraptest/test_method.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/extserv.rb (initialize, stop_service): synchronize withseki2007-11-263-7/+21
| | | | | | | | | | ExtServManager. * test/drb/test_drb.rb (TestDRbEval): ignored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-11-263-157/+103
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): always trim preceding zeros.matz2007-11-262-1/+6
| | | | | | [ruby-dev:32351] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): new method Regexp#fixed_encoding?akr2007-11-262-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/complex.rb: be able to create Complex(0, -0.0). [ruby-list:44268]keiju2007-11-262-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix coderange.akr2007-11-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_fixed_encoding_p): extracted from rb_reg_prepare_re andakr2007-11-262-63/+54
| | | | | | | | rb_reg_s_union. (rb_reg_s_union): refactored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_read_internal, rb_sysopen_internal): remove C99 dependency.nobu2007-11-262-2/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_eval.rb (TestEval::test_instance_eval_cvar):matz2007-11-263-17/+11
| | | | | | updated not to modify class variable of Object class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_{io,marshal}.rb, lib/rubygems/require_paths_builder.rb ↵nobu2007-11-262-14/+14
| | | | | | test/ruby/test_m17n.rb: set properties. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_f_global_variables): variable names should notmatz2007-11-263-9/+12
| | | | | | duplicate. [ruby-dev:32344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_enc_str_asciionly_p): declared.akr2007-11-255-40/+318
| | | | | | | | | | | | | | (rb_enc_str_asciicompat_p): defined. * re.c (rb_reg_initialize_str): use rb_enc_str_asciionly_p. (rb_reg_quote): return ascii-8bit string if the argument is ascii-only to generate encoding generic regexp if possible. (rb_reg_s_union): fix encoding handling. [ruby-dev:32094] * string.c (rb_enc_str_asciionly_p): defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_to_s refined.akr2007-11-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e