1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 |
<html> |
3 |
<head> |
4 |
<title>JSCoverage - news</title> |
5 |
<link rel="alternate" type="application/rss+xml" href="http://siliconforks.com/jscoverage/news.xml" title="RSS feed for JSCoverage"> |
6 |
<link rel="stylesheet" type="text/css" href="reset-fonts-grids.css"> |
7 |
<link rel="stylesheet" type="text/css" href="style.css"> |
8 |
</head> |
9 |
<body> |
10 |
<div id="doc3" class="yui-t5"> |
11 |
<div id="hd"><h1><a href="./">JSCoverage</a><br><span class="tag">code coverage for JavaScript</span></h1></div> |
12 |
<div id="bd"> |
13 |
<div id="yui-main"> |
14 |
<div id="jscoverage-main" class="yui-b"> |
15 |
<h2>News <a href="http://siliconforks.com/jscoverage/news.xml" type="application/rss+xml" title="RSS feed for JSCoverage"><img src="feed-icon-14x14.png" alt="RSS feed"></a></h2> |
16 |
|
17 |
<h3><a name="TODO">TODO, 2009 - JSCoverage 0.5</a></h3> |
18 |
<p> |
19 |
JSCoverage 0.5 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
20 |
</p> |
21 |
<p> |
22 |
This release contains a number of new features and bug fixes: |
23 |
</p> |
24 |
<ul class="list"> |
25 |
<li> |
26 |
A new mode of operation, called "window mode", allows you to run code in a new browser window (or tab). |
27 |
</li> |
28 |
<li> |
29 |
Code coverage statistics can now be generated for applications based on |
30 |
the Mozilla platform using the <code>--mozilla</code> option (thanks to |
31 |
Murali Nandigama for help creating this). |
32 |
</li> |
33 |
<li> |
34 |
The method used to calculate overall percentage code coverage for all |
35 |
files has changed. Previously, the calculation was done using an |
36 |
unweighted average: each file's percentage code coverage contributed |
37 |
equally to the total, regardless of the number of lines of code in the |
38 |
file. Now, the calculation is done using a weighted average. This |
39 |
fixes |
40 |
<a href="http://siliconforks.com/jscoverage/bugs/6">bug #6</a> (thanks to |
41 |
Liu Cougar). |
42 |
</li> |
43 |
<li> |
44 |
Contiguous lines in the "Missing" column are now grouped together (thanks to |
45 |
Liu Cougar). |
46 |
</li> |
47 |
<li> |
48 |
The "Source" tab is no longer empty when code being tested throws an |
49 |
uncaught exception |
50 |
(fixing <a href="http://siliconforks.com/jscoverage/bugs/5">bug #5</a>) |
51 |
</li> |
52 |
<li> |
53 |
Previously, certain uses of the <code>new</code> operator were |
54 |
instrumented incorrectly; this has now been fixed |
55 |
(thanks to Guillaume Lung). |
56 |
</li> |
57 |
<li> |
58 |
The <code>jscoverage-server</code> program now allows more characters in |
59 |
URLs (thanks to Guillaume Lung). |
60 |
</li> |
61 |
<li> |
62 |
The <code>jscoverage-server</code> program now handles HTTP headers with |
63 |
empty values (thanks to Velo). |
64 |
</li> |
65 |
<li> |
66 |
The <code>jscoverage</code> program now refuses to instrument code which |
67 |
has already been instrumented (thanks to Velo). |
68 |
</li> |
69 |
<li> |
70 |
URLs containing spaces now work correctly (thanks to Igor Papkov). |
71 |
</li> |
72 |
<li> |
73 |
Previously, on Windows, the <code>jscoverage</code> program |
74 |
was unable to instrument a directory in a drive root; this has now been |
75 |
fixed. |
76 |
</li> |
77 |
<li> |
78 |
A limitation of 65,535 lines per file and 65,535 characters per line has |
79 |
been removed. |
80 |
</li> |
81 |
<li> |
82 |
Floating-point numbers are how handled with improved precision. |
83 |
</li> |
84 |
<li> |
85 |
The <code>jscoverage-server</code> program can no longer bind to the same port multiple times on Windows. |
86 |
</li> |
87 |
<li> |
88 |
Some bugs in <code>jscoverage-server</code>'s handling of the "chunked" |
89 |
Transfer-Encoding have been fixed. |
90 |
</li> |
91 |
<li> |
92 |
Compilation under Cygwin now uses the <code>-mno-cygwin</code> flag. |
93 |
</li> |
94 |
<li> |
95 |
The wire format used for submitting coverage reports for storage by |
96 |
<code>jscoverage-server</code> has changed. (This change will not have |
97 |
any visible effects for most users; it will only be of interest to those |
98 |
who have written code which parses that format.) |
99 |
</li> |
100 |
</ul> |
101 |
|
102 |
<h3><a name="20081211">December 11, 2008 - JSCoverage 0.4</a></h3> |
103 |
<p> |
104 |
JSCoverage 0.4 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
105 |
</p> |
106 |
<p> |
107 |
This release includes many new features: |
108 |
</p> |
109 |
<ul class="list"> |
110 |
<li> |
111 |
The new <code>jscoverage-server</code> program is provided as an |
112 |
alternative to the <code>jscoverage</code> program. The |
113 |
<code>jscoverage-server</code> program is a simple HTTP server which |
114 |
instruments JavaScript code as it is served; this allows you to execute |
115 |
JavaScript and gather code coverage statistics without a preliminary |
116 |
step of creating instrumented code. The <code>jscoverage-server</code> |
117 |
program can either serve files directly from the filesystem or run as a |
118 |
proxy server (with the <code>--proxy</code> option), instrumenting |
119 |
JavaScript provided by another web server. |
120 |
<li> |
121 |
Using <code>jscoverage-server</code>, coverage reports can now be stored |
122 |
to the filesystem. |
123 |
</li> |
124 |
<li> |
125 |
JSCoverage now recognizes special JavaScript comments which specify that |
126 |
certain lines of code should be ignored in coverage reports. |
127 |
</li> |
128 |
<li> |
129 |
The new <code>--encoding</code> option provides better support for |
130 |
different character encodings. |
131 |
</li> |
132 |
<li> |
133 |
The JSCoverage user interface is now faster and more responsive. |
134 |
</li> |
135 |
<li> |
136 |
The new <code>--no-highlight</code> option can be used to disable syntax |
137 |
highlighting (giving better performance for large JavaScript files). |
138 |
</li> |
139 |
<li> |
140 |
The build system has been modified so that <code>make install</code> |
141 |
only installs the <code>jscoverage</code> and |
142 |
<code>jscoverage-server</code> executables and their manual pages. |
143 |
(Previous versions installed SpiderMonkey library and executable files, |
144 |
which could conflict with other versions of SpiderMonkey installed on |
145 |
your system.) |
146 |
</li> |
147 |
<li> |
148 |
JSCoverage now supports several features beyond those found in the |
149 |
<cite>ECMAScript Language Specification</cite>, including the following: |
150 |
<ul class="list"> |
151 |
<li>getters and setters |
152 |
<li><code>for each</code> loops |
153 |
<li>generators and iterators |
154 |
<li>the <code>let</code> keyword |
155 |
<li>destructuring assignment |
156 |
<li>array comprehensions |
157 |
<li>expression closures |
158 |
<li>generator expressions |
159 |
</ul> |
160 |
Use the new <code>--js-version</code> option to enable these features. |
161 |
</li> |
162 |
</ul> |
163 |
<p> |
164 |
The GCC C++ compiler (<code>g++</code>) is now required to compile |
165 |
JSCoverage. (Previously, only the C compiler was needed.) |
166 |
</p> |
167 |
<p> |
168 |
Please report any bugs you find using the new <a href="http://siliconforks.com/jscoverage/bugs/">bug tracker</a>. |
169 |
</p> |
170 |
|
171 |
<h3><a name="20080331">March 31, 2008 - JSCoverage and Firefox 3</a></h3> |
172 |
<p> |
173 |
The <a href="faq.html">JSCoverage FAQ</a> has been updated to address problems using JSCoverage with Firefox 3. |
174 |
</p> |
175 |
|
176 |
<h3><a name="20080324">March 24, 2008 - JSCoverage in Debian GNU/Linux</a></h3> |
177 |
<p> |
178 |
JSCoverage is now <a href="http://packages.debian.org/sid/jscoverage">available</a> in the Debian unstable distribution. |
179 |
</p> |
180 |
|
181 |
<h3><a name="20071122">November 22, 2007 - JSCoverage 0.3.1</a></h3> |
182 |
<p> |
183 |
JSCoverage 0.3.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
184 |
</p> |
185 |
<p> |
186 |
This release has a number of bug fixes: |
187 |
</p> |
188 |
<ul class="list"> |
189 |
<li> |
190 |
It should now be possible to run the native Windows version of <code>jscoverage</code> |
191 |
with minimal privileges. |
192 |
</li> |
193 |
<li> |
194 |
All files used by JSCoverage now use a <code>jscoverage</code> |
195 |
prefix to avoid name collisions. |
196 |
</li> |
197 |
<li> |
198 |
Compilation bugs which occurred under some versions of MSYS have been fixed. |
199 |
</li> |
200 |
<li> |
201 |
Various documentation improvements. |
202 |
</li> |
203 |
</ul> |
204 |
|
205 |
<h3><a name="20070826">August 26, 2007 - JSCoverage 0.3</a></h3> |
206 |
<p> |
207 |
JSCoverage 0.3 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
208 |
</p> |
209 |
<p> |
210 |
This release has the following new features: |
211 |
</p> |
212 |
<ul class="list"> |
213 |
<li> |
214 |
The coverage summary now displays bar graphs (thanks to Ross Simpson). |
215 |
</li> |
216 |
<li> |
217 |
A progress bar is displayed for lengthy computations. |
218 |
</li> |
219 |
<li> |
220 |
JavaScript syntax highlighting has improved. |
221 |
</li> |
222 |
<li> |
223 |
The display of missed statements can be turned on and off. |
224 |
</li> |
225 |
<li> |
226 |
New "inverted mode" provides better support for working with <a href="http://www.jsunit.net/">JsUnit</a>. |
227 |
</li> |
228 |
</ul> |
229 |
|
230 |
<h3><a name="20070823">August 23, 2007 - JSCoverage in Linux Format magazine</a></h3> |
231 |
<p> |
232 |
JSCoverage is in the October 2007 issue of Linux Format magazine |
233 |
(<a href="http://www.linuxformat.co.uk/modules.php?op=modload&name=NewArchives&issue=97">table of contents</a>). |
234 |
</p> |
235 |
|
236 |
<h3><a name="20070731">July 31, 2007 - Subversion repository now available</a></h3> |
237 |
<p> |
238 |
See the <a href="http://siliconforks.com/jscoverage/download.html">download page</a> for instructions on accessing the Subversion repository. |
239 |
</p> |
240 |
|
241 |
<h3><a name="20070708">July 8, 2007 - JSCoverage 0.2</a></h3> |
242 |
<p> |
243 |
JSCoverage 0.2 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
244 |
</p> |
245 |
<p> |
246 |
JSCoverage 0.2 features a new tabbed user interface. |
247 |
</p> |
248 |
|
249 |
<h3><a name="20070701">July 1, 2007 - JSCoverage 0.1.1</a></h3> |
250 |
<p> |
251 |
JSCoverage 0.1.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
252 |
</p> |
253 |
<p> |
254 |
JSCoverage 0.1.1 fixes a bug that can cause large JavaScript files to be truncated when viewed with Opera. |
255 |
</p> |
256 |
|
257 |
<h3><a name="20070615">June 15, 2007 - documentation of JSCoverage internals</a></h3> |
258 |
<p> |
259 |
A new document, |
260 |
<a href="http://siliconforks.com/doc/parsing-javascript-with-spidermonkey/">Parsing JavaScript with SpiderMonkey</a>, |
261 |
describes the technique used by JSCoverage to parse JavaScript programs. |
262 |
</p> |
263 |
|
264 |
<h3><a name="20070530">May 30, 2007 - new examples</a></h3> |
265 |
<p> |
266 |
Added some <a href="demo.html">examples</a> of running JSCoverage on popular JavaScript libraries. |
267 |
</p> |
268 |
|
269 |
<h3><a name="20070526">May 26, 2007 - JSCoverage 0.1</a></h3> |
270 |
<p> |
271 |
JSCoverage 0.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>. |
272 |
</p> |
273 |
</div> |
274 |
</div> |
275 |
<div id="jscoverage-sidebar" class="yui-b"> |
276 |
<ul> |
277 |
<li><a href="./">Home</a> |
278 |
<li>News <a href="http://siliconforks.com/jscoverage/news.xml" type="application/rss+xml" title="RSS feed for JSCoverage"><img src="feed-icon-14x14.png" alt="RSS feed"></a> |
279 |
<li><a href="manual.html">Documentation</a> |
280 |
<li><a href="demo.html">Demo</a> |
281 |
<li><a href="http://siliconforks.com/jscoverage/download.html">Download</a> |
282 |
<li><a href="faq.html">FAQ</a> |
283 |
<li><a href="help.html">Help</a> |
284 |
<li><a href="license.html">License</a> |
285 |
<li><a href="links.html">Links</a> |
286 |
<li><a href="users.html">Users</a> |
287 |
<li><a href="http://siliconforks.com/jscoverage/bugs/">Bug tracker</a> |
288 |
</ul> |
289 |
</div> |
290 |
</div> |
291 |
<div id="ft"> |
292 |
<address> |
293 |
Copyright © 2007, 2008, 2009 <a href="http://siliconforks.com/"><img src="siliconforks-16x16.png" width="16" height="16" class="icon" alt="Silicon Forks"></a> <a href="http://siliconforks.com/">siliconforks.com</a><br> |
294 |
<a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a> |
295 |
</address> |
296 |
</div> |
297 |
</div> |
298 |
</body> |
299 |
</html> |