ruby/test
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
..
csv * lib/csv.rb: Fixed test failures caused by changes to Ruby. 2007-12-25 05:14:04 +00:00
dbm forgot to modify TestDBM2 and TestGDBM2. 2007-10-24 06:29:59 +00:00
digest * test/digest/test_digest_hmac.rb: added. 2006-10-25 08:16:48 +00:00
drb * test/drb/drbtest.rb (test_07_public_private_protected_missing): 2007-12-19 15:11:37 +00:00
erb * lib/erb.rb: adjust line number for magic comment. 2008-06-27 08:48:24 +00:00
etc * test/etc/test_etc.rb (test_passwd): age field may be string under 2008-07-29 12:36:28 +00:00
fileutils * test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert 2007-11-21 07:40:36 +00:00
gdbm * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): failed 2008-04-23 06:32:16 +00:00
iconv * test/iconv/utils.rb (default_test): override not to croak. 2008-06-06 09:25:46 +00:00
io/nonblock * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): 2008-08-05 09:04:13 +00:00
json * lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace 2008-01-26 00:42:08 +00:00
logger * lib/rexml/text.rb, lib/rubygems/open-uri.rb, lib/open-uri.rb, 2008-01-23 18:53:52 +00:00
monitor * lib/thread.rb (ConditionVariable#broadcast): use Mutex 2007-02-24 07:01:18 +00:00
net * test/net/http/test_http.rb (_test_request__file): specify encoding 2008-06-29 18:02:24 +00:00
nkf * ext/nkf/nkf-utf8/{nkf.c, utf8tbl.c}: Update nkf. 2008-01-01 15:22:25 +00:00
openssl * test/openssl/test_ssl.rb (server_loop): rescue Errno::EINVAL and 2008-07-27 14:33:05 +00:00
optparse * test/optparse/test_getopts.rb: changed the class name of test case 2006-10-03 23:53:24 +00:00
ostruct
pathname * lib/pathname.rb (Pathname#sub_ext): new method. [ruby-list:44608] 2008-02-13 13:50:31 +00:00
rdoc * test/rdoc/test_rdoc_parser_ruby.rb (teardown): close tempfile. 2008-07-22 11:34:23 +00:00
readline * golf_prelude.rb, lib/set.rb (TC_Set#test_each), 2008-08-13 08:03:30 +00:00
rinda merged from 1.8 2008-07-27 00:04:38 +00:00
ripper * parse.y (parser_yylex): should clear parser->tokp as well. 2007-11-19 07:10:09 +00:00
rss * test/rss/: use PNG instead of zlib as binary data. 2008-07-28 12:33:44 +00:00
ruby * include/ruby/encoding.h (rb_econv_t): add fields: in_buf_start, 2008-08-16 05:32:42 +00:00
rubygems * test/rubygems/test_gem_ext_configure_builder.rb 2008-07-31 07:39:41 +00:00
scanf refine previous change. 2007-09-28 18:22:23 +00:00
sdbm * test/sdbm/test_sdbm.rb: add some tests. 2008-08-01 12:50:17 +00:00
socket * test/socket/test_tcp.rb (test_recvfrom): replace an irrelevant test 2008-07-23 14:25:32 +00:00
stringio * ext/stringio/stringio.c (strio_init): rewind when reopened. 2008-06-11 17:50:03 +00:00
strscan * test/stringio/test_stringio.rb: add tests to achieve over 95% test 2008-06-05 14:33:01 +00:00
testunit * test/testunit/collector/test_dir.rb: r15825 made it unnecessary to change 2008-06-19 18:20:30 +00:00
uri use ML ref. for assertion message. 2007-11-18 07:18:56 +00:00
webrick test material for r16453. 2008-05-18 13:54:04 +00:00
win32ole * test/win32ole/test_err_in_callback.rb: do not require 'mkmf' 2008-08-12 04:35:13 +00:00
xmlrpc * lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403] 2008-04-15 14:10:18 +00:00
yaml * lib/yaml/store.rb (YAML::load): modified to support empty 2008-04-11 07:43:31 +00:00
zlib * test/zlib/test_zlib.rb (TestZlibDeflate#test_params): suppress a finalizer warning. 2008-07-23 01:09:50 +00:00
inlinetest.rb * test/inlinetest.rb (InlineTest.in_progname): workaround for frozen 2008-06-27 12:19:11 +00:00
runner.rb * lib/test/unit/collector.rb (collect_file): now deletes paths added 2005-02-17 04:50:49 +00:00
test_delegate.rb add a test for [ruby-dev:34808]. 2008-05-24 01:34:37 +00:00
test_ipaddr.rb
test_pp.rb
test_prettyprint.rb
test_pstore.rb * lib/pstore.rb: replaced by Hongli Lai's faster version. 2008-04-10 07:12:41 +00:00
test_set.rb
test_shellwords.rb * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of 2005-11-30 04:50:04 +00:00
test_singleton.rb new file. 2008-07-03 12:10:30 +00:00
test_tempfile.rb add tests. 2008-01-07 15:32:07 +00:00
test_time.rb
test_timeout.rb add tests. 2008-01-07 15:32:07 +00:00
test_tsort.rb