File: ChangeLog

2008-12-04 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/util/memoizable.rb: Modified.

2008-12-03 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/tag/*.rb: Add attribute writer to subtags.
        * lib/locale/tag/*.rb: Remove tag attributes.
        * lib/locale/tag/common.rb: Variant accept 3 or later size because of RFC3066 compatibility.
        * test/test_tag.rb: Add tests.

2008-12-01 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/driver/win32.rb: Work on Win32 again.

2008-11-22 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale.rb: Rename Locale.current_language_tags to Locale.candidates.
        Locale.current_charset to Locale.charset.

2008-11-21 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/tag/simple.rb: Add Locale::Tag::Simple#to_str.
        * lib/locale.rb: Remove set_current_charset. current_charset becomes read only.

2008-11-20 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/driver/cgi.rb: Accept plural lang values(query string and
        cookies).

2008-11-19 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale.rb: Locale.current_language_tags returns Locale::TagList.
        * lib/tag/*.rb: Add #candidates method.

2008-11-12 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/util/meoizable.rb: Added.

2008-11-03 Masao Mutoh <mutoh@highway.ne.jp>

        * README: Updated.
        * Rakefile: Add package tasks. Revise RDoc task.
        * lib/locale/driver/win32.rb, win32_table.rb, jruby.rb: Work on Windows.

2008-10-29 Masao Mutoh <mutoh@highway.ne.jp>

        * samples/cgi/*.rb: Added CGI sample (Based on Ruby-GetText sample).

2008-10-21 Masao Mutoh <mutoh@highway.ne.jp>

        * samples/sample1.rb: Added.

2008-10-07 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/*.rb: Support Ruby 1.9.

2008-10-01 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/*.rb: Support JRuby. Tested on JRuby 1.1.4.

2008-09-26 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/driver/*: Apply tags.
        * lib/locale/taglist.rb: Added. An array of tags. Also, it behaves
        as the first tag in the array.
        * test/test_detect_general.rb: Added.

2008-09-25 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/tag.rb, lib/locale/tag/*: Added. Support rfc4646/posix/cldr
        language tags powerfully.
        * lib/locale/object.rb: Removed(Moved to tags).
        * test/test_tag.rb: Added.

2008-09-21 Masao Mutoh <mutoh@highway.ne.jp>

        * test/*: Added.

2008-09-02 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale.rb: Added Locale.current_language_tags which returns
        language tags strings as an Array order by priority.

2008-08-20 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale/info/language.rb, region.rb: Move from
        lib/locale/language.rb, country.rb.

2008-08-18 Masao Mutoh <mutoh@highway.ne.jp>

        * lib/locale.rb: Remove Locale.codeset, .charset, .current_charset.
        Use Locale.get.charset instead.
        Add Locale.current_preferable_locales, supported_locales,
        .set_supported_locales

2008-08-10 Masao Mutoh <mutoh@highway.ne.jp>

        * Separates this locale library from Ruby-GetText-Package-1.92.0.
        * lib/locale/country.rb, language.rb: Merge locale-0.1 by Brian Pontarelli.
        Reimplement Locale::Language and Locale::Country. All APIs don't have
        backward compatibility from locale-0.1.
        * lib/locale/data/countries.tab.gz, languages.tab.gz: Merge from locale-0.1.
        * lib/locale/base.rb, win32.rb, win32_table.rb, posix.rb, jruby.rb, cgi.rb:
        Move to lib/locale/driver/.
        These classes detect the user/system locale (the language tag or
        the charset) from the environment variables or the system APIs
        (Win32/Java). Support POSIX, Win32, JRuby, CGI and ENV.

        * lib/locale.rb: Add Locale.init.
        * lib/locale/info.rb: Added.
        * lib/locale.rb: Locale.set_current becomes thread safe. Each thread has
        a current locale.