-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCHANGELOG
232 lines (209 loc) · 7.9 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
1.22.0 2014-01-06
-----------------
- Bugfixes
- fix for typed argument references in Objective-C (reported by MihalisL)
1.21.0 2013-12-15
-----------------
- Enhancements
- allow periods in XML tags (a la ASP.NET web.config)
1.20.0 2013-11-04
-----------------
- Bugfixes
- added support symbol literals in Scala
1.19.0 2013-08-29
-----------------
- Bugfixes
- fixed compatibility with Bootstrap's line-height <pre> overrides
1.18 2012-04-17
---------------
- Bugfixes
- javascript: fixed bug where unescaped forward slashes in a character class
were not being parsed correctly (e.g. "/[/]/") (reported by glitchmr@myopera.com)
1.17 2011-07-17
---------------
- Bugfixes
- nginx: directives after a "}" were not being detected
- Enhancements
- nginx: added support for 3rd party echo module
- added maxHeight option
1.16 2011-06-26
---------------
- Enhancements
- added some more mysql keywords (begin, end, delimiter, do, and a few more)
1.15 2011-06-07
---------------
- Bugfixes
- fixed possible infinite loop in erlang when parsing functions
- Enhancements
- updated default and dark themes to be in alignment with each other
- added margins above and below .sunlight-container so it didn't look so retarded
1.14 2011-05-21
---------------
- Bugfixes
- removed debugging stuff from php definition
- Enhancements
- sunlight source code is now free of lint errors when run through YUI (except for eval,
which is needed to safely detect the IE version)
1.13 2011-05-15
---------------
- Bugfixes
- fixed a few false positives in regex literal detection for JavaScript, Ruby, Perl and ActionScript
(things like myFunc(/myregexliteral/) were not being detected, but things like (4 + 5) / 2 were being
falsely detected)
1.12 2011-05-14
---------------
- Bugfixes
- Ruby: fixed heredoc detection. However, it would require static analysis to have a 100% success rate
for detecting heredocs in Ruby. Things like "x <<1" will give false positives, but it can't be helped.
1.11 2011-05-14
---------------
- Bugfixes
- the default theme no longer overrides all textarea styles
- C#: fixed char detection (reported by admin@hinata.in)
- Enhancements
- Ruby: implemented indented heredocs (prefixed with "-"). see here http://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#here_doc
for more details
- Ruby: implemented symbol detection
1.10 2011-05-11
---------------
- Bugfixes
- C#: get/set keywords were not being detected correctly in automatic properties
- C#: fixed bug in generic definition detection when invoking a generic method
- fixed margin-bottom issue on line number margin
- Enhancements
- added doclinks plugin
- removed automatic hyperlinks to php.net for php functions and language constructs
1.9 2011-05-05
--------------
- Bugfixes
- fixed bug in XML scopes where it was not acting in a case insensitive manner
(apparently caseInsenstive !== caseInsensitive)
- Enhancements
- new languages: objective-c, lua
- implemented embedded C# in XML (ASP tags: <% %>)
- C#: highlighted the name of the class being used in a using alias statement
- PHP: highlighted the name of the class being used in a use statement
1.8 2011-05-02
--------------
- Bugfixes
- C++: fixed syntax error in IE (trailing comma)
- tabstops are now being correctly parsed
- enabling the line number plugin on code blocks that were empty threw undefined errors
- Enhancements
- new languages: actionscript, powershell
- Java: highlight type names after "instanceof" and "import"
- new option: showWhitespace
- Breaking Changes
- the signature for analyzerContext.createTextNode changed from accepting a string
to accepting a token
1.7 2011-04-29
--------------
- Bugfixes
- fixed string detection in XML (only allowed inside of tags as attribute values)
- Enhancements
- new languages: erlang, diff, scala
- combined xml and html into xml
- implemented embedded languages
- xml within scala
- php/css/javascript within xml
- added sunlight.util.last()
- more internal php functions
- more internal php constants
- CSS !important flags are now highlighted
- highlight type names after the "is" keyword in C#
- Breaking Changes
- html is gone (replaced by xml)
- xml tokens changed
- ident => tagName
- named-ident => attribute
- content => default
1.6 2011-04-23
--------------
- Enhancements
- new languages: sln, batch, Haskell (kind of, this language is really hard to understand by reading tutorials)
1.5 2011-04-22
--------------
- Bugfixes
- fixed bug where keywords were being spuriously detected in idents (e.g. "class" in "cclass")
due to the fact that the regular expression in the generated hashmap was not requiring the match
to start at the beginning of the string (with "^")
- made default number parser better (don't allow multiple decimal places, and don't allow decimal point
in octal/hex numbers)
- fixed bug in C# attribute detection where it would falsely identify the namespace portion of a fully
qualified type name
- fixed bug where if an unclosed scope contained the trailing newline, the line numbers were rendered
incorrectly
- Enhancements
- new languages: VB.NET, httpd, Lisp
- added doNotParse language property
- added contextItems language property
- the class prefix is now customizable via the classPrefix option
- the highlighter's options are now available to the analyzer context via the "options" property
- created plugin mechanism (Sunlight.bind) and externalized line number/line highlight options
- added ability to collapse the code block and view the raw text via the menu plugin
1.4 2011-04-17
--------------
- Bugfixes
- fixed bug in number parsing where it would incorrectly parse 1. as the number "1." rather
than the number "1" followed by a "."
- fixed bug where casts were being falsely detected in expressions like "if (something) doSomething();"
in Java and C#
- Enhancements
- new languages: brainfuck (awwwwwwww yeeeeeeeeeah), nginx, c/c++, 6502 assembler, perl
- added getNextWhile/getPreviousWhile utility functions
- added isSol() and isEol() functions to reader
1.3 2011-04-13
--------------
- Bugfixes
- fixed bug in number parsing where decimals with more than one digit to the right of the decimal
point were not being parsed as numbers (oops)
- fixed bug where code with trailing newlines had too many line numbers (more specifically, browsers
don't render the last trailing newline, so neither will we), doesn't work in IE6, too bad
- Enhancements
- PHP class names after instanceof are highlighted as named idents
- new languages: bash, tsql, python, ruby, java
- added line highlighting via lineHighlight option
1.2 2011-04-09
--------------
- Bugfixes
- fixed undefined bug that could occur when parsing C#
- Enhancements
- added plaintext language
- unregistered languages will be rendered as plaintext rather than throwing an error
- horizontal scrolling enabled via css for browsers that aren't IE6
- added line number permalinks (no IE6, no quirks mode)
1.1 2011-04-08
--------------
- Enhancements
- CSS
- added vertical-align keyword
- added zoom keyword
- C#
- use type definition naming convention (^T([A-Z0-9]\w*)?$) to make sure generic type
definitions (e.g. T) are not named idents
- Bugfixes
- C#
- fixed false positive named ident detection for generics
- custom named ident rules in threw errors if the first token of the string was an ident
- attribute names weren't being recognized as named idents if it was the first token
- don't highlight "Resolve" in "container.Resolve<Foo>()", i.e. a generic method invocation
- fixed named ident false positive for array access, e.g. foo.Bar[0].Name had "Bar" as a named ident
- PHP/C#
- fixed named ident detection for fully qualified class names
- CSS
- fixed issues with element selectors not being highlighted correctly
1.0 2011-04-04
--------------
- Initial release
- Themes
- default
- dark
- Languages
- C#
- PHP
- JavaScript
- HTML
- XML
- MySQL
- PHP
- CSS