From 583e7a57d56f1c212b36b1d26718382f8e0748bc Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 7 Mar 2011 22:50:33 +0000 Subject: Changes! --- Changes.textile | 40 ++++++++++++++++++++++++++++++---------- etc/coderay-lib.tmproj | 22 +++++++++++----------- 2 files changed, 41 insertions(+), 21 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. diff --git a/etc/coderay-lib.tmproj b/etc/coderay-lib.tmproj index d504781..1456168 100644 --- a/etc/coderay-lib.tmproj +++ b/etc/coderay-lib.tmproj @@ -5,8 +5,6 @@ documents - expanded - name lib regexFolderFilter @@ -26,9 +24,7 @@ filename ../diff lastUsed - 2010-08-24T11:50:44Z - selected - + 2011-03-07T22:50:28Z filename @@ -40,7 +36,9 @@ filename ../Changes.textile lastUsed - 2010-07-05T07:34:56Z + 2011-03-07T22:50:29Z + selected + filename @@ -79,6 +77,8 @@ filename ../LICENSE + lastUsed + 2010-09-19T16:21:59Z name @@ -100,7 +100,7 @@ filename ../Rakefile lastUsed - 2010-03-31T21:53:39Z + 2010-11-21T14:08:49Z name @@ -125,13 +125,13 @@ filename ../test/scanners/coderay_suite.rb lastUsed - 2010-08-22T06:45:59Z + 2011-03-01T00:15:35Z filename ../test/scanners/suite.rb lastUsed - 2010-07-05T07:34:57Z + 2011-03-01T00:06:06Z name @@ -149,7 +149,7 @@ filename ../bench/bench.rb lastUsed - 2010-06-29T06:27:12Z + 2011-02-20T05:36:12Z fileHierarchyDrawerWidth @@ -159,6 +159,6 @@ showFileHierarchyDrawer windowFrame - {{216, 4}, {1054, 774}} + {{214, 4}, {1066, 774}} -- cgit v1.2.1