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