@@ -13,48 +13,58 @@ New scanners:
13
13
14
14
More new stuff:
15
15
16
- * Add .xaml file type [#121, thanks to Kozman Bálint]
17
- * New token type @:id@ for CSS/Sass [#27]
18
- * New token type @:done@ for Taskpaper [#39]
19
- * New token type @:map@ for Lua, introducing a nice nested-shades trick [#22, thanks to Quintus and Nathan Youngman]
20
- * New token type @:unknown@ for Debug scanner
21
- * New DebugLint encoder that checks for empty tokens and correct nesting
16
+ * @.xaml@ file type [#121, thanks to Kozman Bálint]
17
+ * recognize @Guardfile@, @Vagrantfile@, and @Appraisals@ as Ruby files [#121, thanks to Kozman Bálint]
18
+ * new token kind @:id@ for CSS/Sass [#27]
19
+ * new token kind @:done@ for Taskpaper [#39]
20
+ * new token kind @:map@ for Lua, introducing a nice nested-shades trick [#22, thanks to Quintus and Nathan Youngman]
21
+ * new token kind @:unknown@ for Debug scanner
22
+ * new DebugLint encoder that checks for empty tokens and correct nesting
22
23
23
24
Improvements:
24
25
25
26
* CSS scanner uses @:id@ and @:tag@ now [#27]
26
27
* Diff scanner: Highlight inline changes in multi-line changes [#99]
27
28
* JavaScript scanner: Highlight multi-line comments in diff correctly
29
+ * JSON scanner: simplify key/value heuristic, using look-ahead instead of a stack
28
30
* HTML scanner displays style tags and attributes now [#145]
29
- * Ruby scanner: Accept %i and %I symbol lists (Ruby 2.0) [thanks to Nathan Youngman]
30
- * Ruby scanner: Accept keywords as Ruby 1.9 hash keys [#126]
31
+ * Ruby scanner: Accept @%i(…)@ and @%I(…)@ symbol lists (Ruby 2.0) [thanks to Nathan Youngman]
32
+ * Ruby scanner: Accept keywords as Ruby hash keys [#126]
33
+ * performance improvements to several scanners and encoders, especially Terminal and HTML
34
+ * added @:keep_state@ functionality to more scanners so they work nicely with diff now [#116]
35
+ * refactoring and cleanup to achieve better "Code Climate" ratings (but I don't really care)
36
+ * updated and cleaned up the documentation,
37
+ * documented list of TokenKinds
38
+ * Alpha style: tweaked colors for @.binary@, @.local-variable@, and @.predefined-type@
39
+ * @rake generate@ supports Git now instead of Subversion
31
40
32
41
Removed:
33
42
34
43
* @Tokens#dump@, @Tokens.load@, @Tokens::Undumping@, and @zlib@ dependency
35
- * Double-click toggle handler from HTML table output
44
+ * double-click toggle handler from HTML table output
45
+ * @rake_helpers@, @sample@ directories and several other ancient garbage
36
46
37
47
Fixes:
38
48
39
- * Fixes to CSS scanner (floats, pseudoclasses, nth-child) [#143]
40
- * Fixed empty tokens and unclosed token groups in HTML, CSS, Diff, Goovy, PHP, Raydebug, Ruby, SQL, and YAML scanners [#144]
41
- * Fixed @:docstring@ token type style
42
- * Fixed several problems related to Hash caches and dynamic Symbol creation that might have been exploited by an attacker [#148]
43
- * Fixed HTML encoder when output is a StringIO (eg. when using @-HTML@ as a command line parameter)
49
+ * fixes to CSS scanner (floats, pseudoclasses, nth-child) [#143]
50
+ * fixed empty tokens and unclosed token groups in HTML, CSS, Diff, Goovy, PHP, Raydebug, Ruby, SQL, and YAML scanners [#144]
51
+ * fixed @:docstring@ token type style
52
+ * fixed several infinite Hash caches and dynamic Symbol creation that might have been exploited by an attacker [#148]
53
+ * fixed HTML encoder when output is a StringIO (eg. when using @-HTML@ as a command line parameter)
44
54
* TokenKinds should not be frozen [#130, thanks to Gavin Kistner]
45
- * Display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom]
46
- * Override Bootstrap's @pre { word-break: break-all }@ styling for line numbers [#102, thanks to lightswitch05]
55
+ * display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom]
56
+ * override Bootstrap's @pre { word-break: break-all }@ styling for line numbers [#102, thanks to lightswitch05]
47
57
* HTML encoder will not warn about unclosed token groups at the end of the stream
58
+ * fixed problem with coderay/version.rb being loaded twice
48
59
49
60
Internals:
50
61
51
- * The Debug scanner maps unknown token kinds to @:unknown@ (to avoid creating Symbols based on possibly unsafe input)
52
- * The Raydebug scanner highlights unknown token kinds as @:plain@
53
- * Debug encoder refactored; use DebugLint if you want strict checking now
54
- * Debug encoder will not warn about errors in the token stream
55
- * Plugin does not warn about fallback when default is defined
56
- * PluginHost now works with Strings instead of Symbols internally (to avoid using @#to_sym@)
57
- * Added @:keep_state@ functionality to more scanners [#116]
62
+ * The Debug scanner maps unknown token kinds to @:unknown@ (to avoid creating Symbols based on possibly unsafe input).
63
+ * The Raydebug scanner highlights unknown token kinds as @:plain@.
64
+ * The Debug encoder refactored; use DebugLint if you want strict checking now..
65
+ * The Debug encoder will not warn about errors in the token stream.
66
+ * Plugin does not warn about fallback when default is defined.
67
+ * PluginHost now works with Strings instead of Symbols internally (to avoid using @#to_sym@).
58
68
59
69
h2. Changes in 1.0.9
60
70
@@ -464,6 +474,3 @@ The helper classes were cleaned up; see above for details.
464
474
465
475
* *CHANGED* @Plugin@ API was simplified and stripped of all unnecessary features.
466
476
* *CHANGED* Moved @GZip@ and @FileType@ libraries into @CodeRay@; cleaned them up.
467
-
468
-
469
-
0 commit comments