diff options
Diffstat (limited to 'Changes.textile')
-rw-r--r-- | Changes.textile | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/Changes.textile b/Changes.textile index 9de958f..dc6c83f 100644 --- a/Changes.textile +++ b/Changes.textile @@ -32,8 +32,13 @@ h3. General changes features will now only be loaded when they're needed. * *FIXED* some image links in the documentation. * *ADDED* a lot of tests. -* *MOVED* GZip library into @CodeRay@ namespace, removed the @String@ - extensions. Moved the library file from @gzip.rb@ to @gzip_simple.rb@. + +h3. Helpers + +The helper classes were cleaned up; see below for details. + +* *CHANGED* @Plugin@ API was simplified and stripped of all unnecessary features. +* *CHANGED* Moved @GZip@ and @FileType@ libraries into @CodeRay@; cleaned them up. h3. @Tokens@ @@ -42,17 +47,23 @@ h3. @Tokens@ * *REMOVED* special implementation of @#each@ taking a filter parameter. Use @TokenKindFilter@ instead. * *NEW* methods @encode_with@, @count@, @begin_group@, @end_group@, @begin_line@, and @end_line@. -h3. *RENAMED*: @Tokens::AbbreviationForKind@ +h3. *RENAMED*: @TokenKinds@ -Renamed from @ClassOfKind@; the term "token class" is no longer used in CodeRay. Instead, tokens have _kinds_. +Renamed from @Tokens::ClassOfKind@ (was also @Tokens::AbbreviationForKind@ for a while). +The term "token class" is no longer used in CodeRay. Instead, tokens have _kinds_. See "#122":http://redmine.rubychan.de/issues/122. -* *REMOVED* token kinds @:attribute_name_fat@, @:attribute_value_fat@, @:operator_fat@, @:tag_fat@, @:xml_text@, @:open@, and @:close@. +* *REMOVED* token kinds @:attribute_name_fat@, @:attribute_value_fat@, @:operator_fat@, + @:tag_fat@, @:xml_text@, @:nesting_delimiter@, @:open@, and @:close@. * *ADDED* token kinds @:filename@, @:namespace@, and @:eyecatcher@. * *CHANGED*: Don't raise error for unknown token kinds unless in @$CODERAY_DEBUG@ mode. * *CHANGED* the value for a token kind that is not highlighted from @:NO_HIGHLIGHT@ to @false@. +h3. @Duo@ + +* *NEW* method @call@ for allowing code like @CodeRay::Duo[:python => :yaml].(code)@ in Ruby 1.9. + h3. @Encoders::CommentFilter@ * *NEW* alias @:remove_comments@ @@ -107,14 +118,13 @@ h3. @Encoders::Statistic@ * *CHANGED*: Tokens actions are counted separately. -h3. @Encoders::YAML@ - -* *NEW* method @call@ for allowing code like @CodeRay::Duo[:python => :yaml].(code)@ in Ruby 1.9. - h3. @Scanners::Scanner@ * *REMOVED* helper method @String#to_unix@. -* *REMOVED* method @streamable?@. +* *REMOVED* method @#streamable?@. +* *REMOVED* @#marshal_load@ and @#marshal_dump@. +* *RENAMED* class method @normify@ to @normalize@; it also deals with encoding now. +* *NEW* methods @#file_extension@ and @#encoding@. * *NEW*: The @#tokenize@ method also takes an Array of Strings as source. The code is highlighted as one and split into parts of the input lengths after that using @Tokens#split_into_parts@. @@ -215,10 +225,14 @@ h3. @Scanners::Ruby@ (eg. GL.PushMatrix). * *NEW*: Highlight buggy floats (like .5) as @:error@. * *CLEANUP* of documentation, names of constants and variables, state handling. + + Moved @StringState@ class from @patterns.rb@ into a separate file. * *NEW*: Complicated rule for recognition of @foo=@ style method names. * *NEW*: Handles @:keep_state@ option (a bit; experimental). Actually, Ruby checks if there is @[~>=]@, but not @=>@ following the name. + +* *REMOVED* @EncodingError@ h3. @Scanners::Scheme@ @@ -260,6 +274,12 @@ h3. @Plugin@ * *ADDED* @#all_plugins@ and @#all_titles@ methods to simplify getting information about all available plugins (suggested by bnhymn). +h3. @GZip@ + +* *MOVED* into @CodeRay@ namespace. +* *MOVED* file from @gzip_simple.rb@ to @gzip.rb@. +* *REMOVED* @String@ extensions. + h3. Internal API changes * *FIXED* @Encoders::HTML#token@'s second parameter is no longer optional. |