@@ -4,40 +4,57 @@ p=. _This files lists all changes in the CodeRay library since the 0.9.8 release
44
55h2. Changes in 1.1
66
7- * New scanner: Lua [#21, #22, thanks to Quintus]
8- * New scanner: Sass [#93]
9- * New scanner: Go [#28, thanks to Eric Guo and Nathan Youngman]
10- * New scanner: Taskpaper [#39, thanks to shimomura]
7+ New scanners:
8+
9+ * Go [#28, thanks to Eric Guo and Nathan Youngman]
10+ * Lua [#21, #22, thanks to Quintus]
11+ * Sass [#93]
12+ * Taskpaper [#39, thanks to shimomura]
13+
14+ More new stuff:
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
22+
23+ Improvements:
24+
25+ * CSS scanner uses @:id@ and @:tag@ now [#27]
1126* Diff scanner: Highlight inline changes in multi-line changes [#99]
1227* JavaScript scanner: Highlight multi-line comments in diff correctly
28+ * HTML scanner displays style tags and attributes now [#145]
1329* Ruby scanner: Accept %i and %I symbol lists (Ruby 2.0) [thanks to Nathan Youngman]
1430* Ruby scanner: Accept keywords as Ruby 1.9 hash keys [#126]
15- * HTML scanner displays style tags and attributes now [#145]
16- * Remove double-click toggle handler from HTML table output
31+
32+ Removed:
33+
34+ * @Tokens#dump@, @Tokens.load@, @Tokens::Undumping@, and @zlib@ dependency
35+ * Double-click toggle handler from HTML table output
36+
37+ Fixes:
38+
1739* Fixes to CSS scanner (floats, pseudoclasses, nth-child) [#143]
1840* Fixed empty tokens and unclosed token groups in HTML, CSS, Diff, Goovy, PHP, Raydebug, Ruby, SQL, and YAML scanners [#144]
19- * Added @:keep_state@ functionality to more scanners [#116]
20- * CSS scanner uses @:id@ and @:tag@ now [#27]
21- * Removed @Tokens#dump@, @Tokens.load@, @Tokens::Undumping@, and @zlib@ dependency. Nobody was using this, right?
22- * Add .xaml file type [#121, thanks to Kozman Bálint]
23- * @CodeRay::TokenKinds@ should not be frozen [#130, thanks to Gavin Kistner]
24- * New token type @:id@ for CSS/Sass [#27]
25- * New token type @:done@ for Taskpaper [#39]
26- * New token type @:map@ for Lua, introducing a nice nested-shades trick [#22, thanks to Quintus and Nathan Youngman]
27- * New token type @:unknown@ for Debug scanner
28- * Display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom]
29- * Override Bootstrap's @pre { word-break: break-all }@ styling for line numbers [#102, thanks to lightswitch05]
3041* Fixed @:docstring@ token type style
3142* Fixed several problems related to Hash caches and dynamic Symbol creation that might have been exploited by an attacker [#148]
32- * @PluginHost@ now works with Strings instead of Symbols internally (to avoid using @#to_sym@)
33- * The @Debug@ scanner maps unknown token kinds to @:unknown@ (to avoid creating Symbols based on possibly unsafe input)
34- * The @Raydebug@ scanner highlights unknown token kinds as @:plain@
35- * @Plugin@ does not warn about fallback when default is defined
36- * Fixed @HTML@ encoder when output is a StringIO (eg. when using @-HTML@)
37- * @HTML@ encoder will not warn about unclosed token groups at the end of the stream
38- * @Debug@ encoder refactored; use @DebugLint@ if you want strict checking now
39- * @Debug@ encoder will not warn about errors in the token stream
40- * New @DebugLint@ encoder that checks for empty tokens and correct nesting
43+ * Fixed HTML encoder when output is a StringIO (eg. when using @-HTML@ as a command line parameter)
44+ * 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]
47+ * HTML encoder will not warn about unclosed token groups at the end of the stream
48+
49+ Internals:
50+
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]
4158
4259h2. Changes in 1.0.9
4360