[macruby-changes] [4079] MacRuby/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 11 19:30:28 PDT 2010
Revision: 4079
http://trac.macosforge.org/projects/ruby/changeset/4079
Author: martinlagardette at apple.com
Date: 2010-05-11 19:30:27 -0700 (Tue, 11 May 2010)
Log Message:
-----------
Improves core/env pass rate: add 'locale' as an alias of UTF-8
Modified Paths:
--------------
MacRuby/trunk/encoding.c
Removed Paths:
-------------
MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_key_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_pair_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_value_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/element_reference_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/fetch_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/keys_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/to_a_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_at_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_tags.txt
Modified: MacRuby/trunk/encoding.c
===================================================================
--- MacRuby/trunk/encoding.c 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/encoding.c 2010-05-12 02:30:27 UTC (rev 4079)
@@ -260,7 +260,7 @@
{
add_encoding(ENCODING_BINARY, ENCODING_TYPE_SPECIAL, "ASCII-8BIT", 1, true, true, "BINARY", NULL);
add_encoding(ENCODING_ASCII, ENCODING_TYPE_UCNV, "US-ASCII", 1, true, true, "ASCII", "ANSI_X3.4-1968", "646", NULL);
- add_encoding(ENCODING_UTF8, ENCODING_TYPE_UCNV, "UTF-8", 1, false, true, "CP65001", NULL);
+ add_encoding(ENCODING_UTF8, ENCODING_TYPE_UCNV, "UTF-8", 1, false, true, "CP65001", "locale", NULL);
add_encoding(ENCODING_UTF16BE, ENCODING_TYPE_UCNV, "UTF-16BE", 2, false, false, NULL);
add_encoding(ENCODING_UTF16LE, ENCODING_TYPE_UCNV, "UTF-16LE", 2, false, false, NULL);
add_encoding(ENCODING_UTF32BE, ENCODING_TYPE_UCNV, "UTF-32BE", 4, false, false, "UCS-4BE", NULL);
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_key_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_key_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_key_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.each_key returns keys in the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_pair_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_pair_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_pair_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.each_pair uses the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.each uses the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_value_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_value_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/each_value_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.each_value uses the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/element_reference_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/element_reference_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/element_reference_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.[] uses the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/fetch_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/fetch_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/fetch_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.fetch uses the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/keys_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/keys_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/keys_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.keys returns the keys in the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/to_a_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/to_a_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/to_a_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.to_a returns the entries in the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_at_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_at_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_at_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.values_at uses the locale encoding
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_tags.txt 2010-05-12 02:14:49 UTC (rev 4078)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/env/values_tags.txt 2010-05-12 02:30:27 UTC (rev 4079)
@@ -1 +0,0 @@
-fails:ENV.values uses the locale encoding
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100511/7b45848b/attachment.html>
More information about the macruby-changes
mailing list