1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
akr 063beac343 * encoding.c (rb_enc_internal_get_index): extracted from
rb_enc_get_index.
  (rb_enc_internal_set_index): extracted from rb_enc_associate_index

* include/ruby/encoding.h (ENCODING_SET): work over ENCODING_INLINE_MAX.
  (ENCODING_GET): ditto.
  (ENCODING_IS_ASCII8BIT): defined.
  (ENCODING_CODERANGE_SET): defined.

* re.c (rb_reg_fixed_encoding_p): use ENCODING_IS_ASCII8BIT.

* string.c (rb_enc_str_buf_cat): use ENCODING_IS_ASCII8BIT.

* parse.y (reg_fragment_setenc_gen): use ENCODING_IS_ASCII8BIT.

* marshal.c (has_ivars): use ENCODING_IS_ASCII8BIT.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-07 02:49:01 +00:00
..
beginmainend.rb * Merge YARV 2006-12-31 15:02:22 +00:00
endblockwarn_rb * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): 2007-12-23 15:48:39 +00:00
envutil.rb * mkconfig.rb: generate RbConfig instead of Config. 2006-02-20 08:34:53 +00:00
marshaltestlib.rb avoid ruby -d test/ruby/test_marshal.rb output binary marshaled data. 2007-12-15 11:20:45 +00:00
sentence.rb * test/ruby/sentence.rb (Sentence): include Enumerable. 2007-08-24 19:01:46 +00:00
test_alias.rb * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
test_array.rb * array.c (rb_ary_slice_bang): If an invalid range is given, do 2007-12-10 13:25:39 +00:00
test_assignment.rb * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
test_basicinstructions.rb * test/ruby/test_basicinstructions.rb: updated for new class 2007-11-09 04:37:36 +00:00
test_beginendblock.rb * test/ruby/test_beginendblock.rb (TestBeginEndBlock::test_endblockwarn): 2007-12-23 15:48:39 +00:00
test_bignum.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_call.rb
test_case.rb
test_class.rb * Merge YARV 2006-12-31 15:02:22 +00:00
test_clone.rb * test/ruby/test_clone.rb: fix to current spec 2007-02-08 13:32:01 +00:00
test_condition.rb
test_const.rb * Merge YARV 2006-12-31 15:02:22 +00:00
test_continuation.rb * cont.c: fix to remove Fiber.new until fiber.so is not loaded. 2007-08-26 03:31:20 +00:00
test_defined.rb * compile.c, insns.def: change return value of "defined?" 2007-11-27 04:43:54 +00:00
test_dir.rb specify prefix for Dir.mktmpdir. 2007-10-24 07:11:35 +00:00
test_encoding.rb * encoding.c (rb_obj_encoding): rdoc update. a patch from David 2007-10-14 08:31:51 +00:00
test_enumerator.rb * set eol-style. 2007-11-16 01:30:29 +00:00
test_env.rb * test/ruby/test_env.rb (setup, teardown): do not depend on the behavior setting nil. 2005-07-14 23:29:45 +00:00
test_eval.rb * eval.c (rb_obj_instance_eval): use class of immediate objects. 2007-12-22 02:52:27 +00:00
test_exception.rb
test_fiber.rb * cont.c: Thread local storage should be fiber local. 2007-09-28 19:04:45 +00:00
test_file.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_fixnum.rb * numeric.c (fix_pow): integer power calculation: 0**n => 0, 2007-07-14 14:31:21 +00:00
test_float.rb * test/ruby/test_float.rb, test_sprintf.rb: fix test place. 2007-12-22 05:19:38 +00:00
test_fnmatch.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_gc.rb * Merge YARV 2006-12-31 15:02:22 +00:00
test_hash.rb * hash.c (rb_hash_delete_key): delete the entry without calling block. 2007-08-15 04:50:12 +00:00
test_ifunless.rb
test_integer.rb * test/ruby/test_integer.rb (test_Integer): multiple underscores 2007-12-19 02:08:59 +00:00
test_io.rb * string.c (rb_str_comparable): fixed to keep transitivity. 2007-12-24 02:40:55 +00:00
test_io_m17n.rb add a test for getc with stateful conversion. 2008-01-03 14:49:38 +00:00
test_iterator.rb * compile.c (iseq_compile_each): remove "retry" in block. 2007-12-19 08:46:49 +00:00
test_lambda.rb * parse.y (new_yield), compile.c (iseq_compile_each): fix 2007-06-05 17:26:00 +00:00
test_literal.rb * test/ruby/test_literal.rb: new test. 2007-02-23 05:23:33 +00:00
test_m17n.rb * encoding.c (rb_enc_internal_get_index): extracted from 2008-01-07 02:49:01 +00:00
test_m17n_comb.rb * include/ruby/encoding.h (rb_enc_str_buf_cat): declared. 2008-01-06 09:25:09 +00:00
test_marshal.rb * marshal.c (r_bytes0): check if source has enough data. 2007-10-15 00:58:09 +00:00
test_math.rb
test_method.rb * eval.c (frame_func_id): return proper method ID. 2007-08-17 16:12:03 +00:00
test_mixed_unicode_escapes.rb * parse.y: patch, based on Nobu's, work to support \u escapes 2007-11-07 22:55:27 +00:00
test_module.rb * test/ruby/test_module.rb: fix to use Symbol instead of String 2007-02-08 13:24:11 +00:00
test_objectspace.rb use assert_same instead of assert_equal. 2006-09-16 15:30:49 +00:00
test_optimization.rb * test/ruby/test_optimization.rb: restore method before calling assert_equal. 2007-02-26 15:45:52 +00:00
test_pack.rb * util.c (ruby_strtod): Float("1e") should fail. [ruby-core:7330] 2006-02-17 02:21:39 +00:00
test_path.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_pipe.rb * Merge YARV 2006-12-31 15:02:22 +00:00
test_primitive.rb * eval.c (rb_f_send): allow send/__send__ to call methods of all 2007-11-04 20:36:20 +00:00
test_proc.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_process.rb report the reason of process termination. 2007-11-30 08:47:22 +00:00
test_rand.rb
test_range.rb * range.c (range_dumper): make uninitialized range dumpable. 2007-09-10 06:50:22 +00:00
test_readpartial.rb * test/ruby/test_readpartial.rb: tests are working on mswin32/cygwin. 2007-02-09 02:07:34 +00:00
test_regexp.rb add a test for [ruby-dev:32675] reported by Keita Yamaguchi. 2007-12-23 02:22:27 +00:00
test_settracefunc.rb * test/ruby/test_settracefunc.rb: fixed tests for set_trace_func. 2007-11-12 15:38:10 +00:00
test_signal.rb check Process.kill instead of Process#kill. 2007-12-02 04:13:17 +00:00
test_sprintf.rb * test/ruby/test_float.rb, test_sprintf.rb: fix test place. 2007-12-22 05:19:38 +00:00
test_string.rb add a test: "y".count("a\\-z") should be 0. 2008-01-01 07:04:28 +00:00
test_stringchar.rb * sprintf.c (rb_str_format): allow %c to print one character 2006-06-09 21:20:17 +00:00
test_struct.rb test small structs. 2006-02-05 15:10:01 +00:00
test_super.rb use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
test_symbol.rb * proc.c (rb_proc_new), vm.c (invoke_block): removed u3.state magic. 2007-12-24 04:55:37 +00:00
test_system.rb * test/ruby/test_system.rb (TestSystem::valid_syntax): apply 2007-12-21 05:03:14 +00:00
test_thread.rb * thread.c: fix Mutex to be interruptable lock. 2007-08-27 16:48:14 +00:00
test_time.rb * configure.in: check struct timespec, clock_gettime, utimensat, 2007-11-19 09:09:38 +00:00
test_trace.rb
test_transcode.rb Fri Dec 28 01:55:04 2007 Martin Duerst <duerst@it.aoyama.ac.jp> 2007-12-28 09:26:55 +00:00
test_unicode_escape.rb * include/ruby/intern.h (rb_uv_to_utf8): declared. 2007-12-01 16:56:19 +00:00
test_variable.rb * variable.c (rb_cvar_set): check whether class variable is 2007-10-03 06:48:06 +00:00
test_whileuntil.rb refine previous change. 2007-09-28 18:22:23 +00:00
test_yield.rb add test for enumerator. 2007-11-28 07:48:23 +00:00
ut_eof.rb duplicate tests removed. 2005-03-06 03:02:52 +00:00