summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes.textile40
-rw-r--r--etc/coderay-lib.tmproj22
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 @@
<key>documents</key>
<array>
<dict>
- <key>expanded</key>
- <true/>
<key>name</key>
<string>lib</string>
<key>regexFolderFilter</key>
@@ -26,9 +24,7 @@
<key>filename</key>
<string>../diff</string>
<key>lastUsed</key>
- <date>2010-08-24T11:50:44Z</date>
- <key>selected</key>
- <true/>
+ <date>2011-03-07T22:50:28Z</date>
</dict>
<dict>
<key>filename</key>
@@ -40,7 +36,9 @@
<key>filename</key>
<string>../Changes.textile</string>
<key>lastUsed</key>
- <date>2010-07-05T07:34:56Z</date>
+ <date>2011-03-07T22:50:29Z</date>
+ <key>selected</key>
+ <true/>
</dict>
<dict>
<key>filename</key>
@@ -79,6 +77,8 @@
<dict>
<key>filename</key>
<string>../LICENSE</string>
+ <key>lastUsed</key>
+ <date>2010-09-19T16:21:59Z</date>
</dict>
<dict>
<key>name</key>
@@ -100,7 +100,7 @@
<key>filename</key>
<string>../Rakefile</string>
<key>lastUsed</key>
- <date>2010-03-31T21:53:39Z</date>
+ <date>2010-11-21T14:08:49Z</date>
</dict>
<dict>
<key>name</key>
@@ -125,13 +125,13 @@
<key>filename</key>
<string>../test/scanners/coderay_suite.rb</string>
<key>lastUsed</key>
- <date>2010-08-22T06:45:59Z</date>
+ <date>2011-03-01T00:15:35Z</date>
</dict>
<dict>
<key>filename</key>
<string>../test/scanners/suite.rb</string>
<key>lastUsed</key>
- <date>2010-07-05T07:34:57Z</date>
+ <date>2011-03-01T00:06:06Z</date>
</dict>
</array>
<key>name</key>
@@ -149,7 +149,7 @@
<key>filename</key>
<string>../bench/bench.rb</string>
<key>lastUsed</key>
- <date>2010-06-29T06:27:12Z</date>
+ <date>2011-02-20T05:36:12Z</date>
</dict>
</array>
<key>fileHierarchyDrawerWidth</key>
@@ -159,6 +159,6 @@
<key>showFileHierarchyDrawer</key>
<true/>
<key>windowFrame</key>
- <string>{{216, 4}, {1054, 774}}</string>
+ <string>{{214, 4}, {1066, 774}}</string>
</dict>
</plist>