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 7a0bea4fd3 * include/ruby/encoding.h (rb_econv_t): add fields: in_buf_start,
in_data_start, in_data_end, in_buf_end and last_trans_index.
  (rb_econv_output): removed.
  (rb_econv_insert_output): declared.
  (rb_econv_encoding_to_insert_output): declared.

* enc/trans/newline.trans (rb_universal_newline): stateful_type
  changed.

* transcode.c (transcode_restartable0): initialize inchar_start,
  tc->recognized_len and next_table at beginning of the loop.
  (rb_econv_open_by_transcoder_entries): initialize new fields.
  (rb_econv_open): setup last_trans_index.
  (trans_sweep): last out_buf_start can be non-NULL now.
  (rb_econv_convert): check last out_buf_start and in_buf_start at
  first.
  (rb_econv_output_with_destination_encoding): removed.
  (econv_just_convert): removed.
  (rb_econv_output): removed.
  (econv_primitive_output): method removed.
  (rb_econv_encoding_to_insert_output): new function.
  (allocate_converted_string): new function.
  (rb_econv_insert_output): new function.
  (econv_primitive_insert_output): new method.
  (output_replacement_character): use rb_econv_insert_output.  unused
  arguments removed.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-16 05:32:42 +00:00
..
enc * test/ruby/test_m17n.rb: follow EncodingCompatibilityError. 2008-08-13 07:14:56 +00:00
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_array.rb * golf_prelude.rb, lib/set.rb (TC_Set#test_each), 2008-08-13 08:03:30 +00:00
test_assignment.rb
test_basicinstructions.rb
test_beginendblock.rb * compile.c (iseq_compile_each): NODE_POSTEXE should set each end 2008-07-20 13:50:14 +00:00
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_defined.rb
test_dir.rb * test/ruby/test_dir.rb: suppress warning during test. 2008-07-23 12:36:24 +00:00
test_econv.rb * include/ruby/encoding.h (rb_econv_t): add fields: in_buf_start, 2008-08-16 05:32:42 +00:00
test_encoding.rb
test_enum.rb
test_enumerator.rb * golf_prelude.rb, lib/set.rb (TC_Set#test_each), 2008-08-13 08:03:30 +00:00
test_env.rb
test_eval.rb
test_exception.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_fiber.rb
test_file.rb
test_file_exhaustive.rb * test/ruby/test_file_exhaustive.rb (TestFileExhaustive#setup): set group of tmpdir. 2008-08-13 17:46:47 +00:00
test_fixnum.rb
test_float.rb * test/ruby/test_float.rb: add tests. [ruby-dev:35009] 2008-06-10 12:08:45 +00:00
test_fnmatch.rb
test_gc.rb
test_hash.rb * object.c (rb_obj_untrusted): new method Object#untrusted?. 2008-08-13 07:25:05 +00:00
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb * test/ruby/test_io.rb (pipe): run reader thread and writer thread. 2008-07-29 13:56:24 +00:00
test_io_m17n.rb * io.c (io_ungetc): raise NotImplementedError when ungetc is called 2008-07-29 14:38:44 +00:00
test_iterator.rb
test_lambda.rb
test_literal.rb
test_m17n.rb * test/ruby/test_m17n.rb: follow EncodingCompatibilityError. 2008-08-13 07:14:56 +00:00
test_m17n_comb.rb * error.c (rb_eEncCompatError): add Exception. 2008-08-12 18:17:05 +00:00
test_marshal.rb * object.c (rb_obj_untrusted): new method Object#untrusted?. 2008-08-13 07:25:05 +00:00
test_math.rb * math.c (math_atanh): raise EDOM on FreeBSD when atanh(1). 2008-07-28 17:42:32 +00:00
test_method.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_mixed_unicode_escapes.rb * test/ruby/test_m17n.rb: follow EncodingCompatibilityError. 2008-08-13 07:14:56 +00:00
test_module.rb * object.c (rb_obj_untrusted): new method Object#untrusted?. 2008-08-13 07:25:05 +00:00
test_numeric.rb
test_object.rb * object.c (rb_obj_untrusted): new method Object#untrusted?. 2008-08-13 07:25:05 +00:00
test_objectspace.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_optimization.rb
test_pack.rb
test_parse.rb * test/ruby/test_parse.rb: remove tests for open_args. 2008-06-29 16:53:49 +00:00
test_path.rb
test_pipe.rb
test_prec.rb
test_primitive.rb
test_proc.rb
test_process.rb add comment. 2008-08-06 21:37:41 +00:00
test_rand.rb
test_range.rb
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_regexp.rb
test_require.rb * test/ruby/test_require.rb (test_require_too_long_filename): 2008-07-28 12:00:43 +00:00
test_rubyoptions.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_settracefunc.rb * test/ruby/test_settracefunc.rb (test_call, test_class): 2008-08-15 08:01:17 +00:00
test_signal.rb * test/ruby/test_signal.rb (test_trap): string commands are allowed. 2008-07-16 19:12:41 +00:00
test_sleep.rb * win32/win32.c (rb_w32_select): recalc the rest of timeout for each 2008-07-30 08:48:31 +00:00
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb * object.c (rb_obj_untrusted): new method Object#untrusted?. 2008-08-13 07:25:05 +00:00
test_stringchar.rb
test_struct.rb
test_super.rb
test_symbol.rb
test_system.rb
test_thread.rb * test/ruby/test_thread.rb (test_list): call Thread.pass to run t1. 2008-08-13 14:22:48 +00:00
test_time.rb * test/ruby/test_time.rb (TestTime#test_time_interval): add timeout 2008-07-14 08:40:17 +00:00
test_trace.rb
test_transcode.rb * transcode_data.h (TRANSCODE_ERROR): removed. 2008-08-12 07:20:10 +00:00
test_unicode_escape.rb * test/ruby/test_unicode_escape.rb (test_basic): windows' echo support. 2008-06-18 11:28:27 +00:00
test_variable.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_whileuntil.rb
test_yield.rb
ut_eof.rb