/[jscoverage]/trunk/instrument-js.cpp
ViewVC logotype

Log of /trunk/instrument-js.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 521 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 18:53:04 2010 UTC (8 years, 10 months ago) by siliconforks
File length: 59177 byte(s)
Diff to previous 520
Parenthesize "let" and "yield" expressions.


Revision 520 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 18:20:31 2010 UTC (8 years, 10 months ago) by siliconforks
File length: 59053 byte(s)
Diff to previous 517
Handle comma operator in array literal.


Revision 517 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 18:04:49 2010 UTC (8 years, 10 months ago) by siliconforks
File length: 58998 byte(s)
Diff to previous 516
Fix operator precedence bug.


Revision 516 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 08:45:10 2010 UTC (8 years, 10 months ago) by siliconforks
File length: 58320 byte(s)
Diff to previous 507
Fix bug when "typeof" operator is represented by JSOP_TYPEOFEXPR.


Revision 507 - (view) (annotate) - [select for diffs]
Modified Sun Jan 10 07:23:34 2010 UTC (8 years, 10 months ago) by siliconforks
File length: 58294 byte(s)
Diff to previous 505
Update SpiderMonkey from Firefox 3.6rc1.


Revision 505 - (view) (annotate) - [select for diffs]
Modified Sat Jan 2 04:55:54 2010 UTC (8 years, 10 months ago) by siliconforks
File length: 58210 byte(s)
Diff to previous 504
Update copyright year.


Revision 504 - (view) (annotate) - [select for diffs]
Modified Mon Dec 28 04:59:47 2009 UTC (8 years, 10 months ago) by siliconforks
File length: 58204 byte(s)
Diff to previous 500
Eliminate some compilation warnings.


Revision 500 - (view) (annotate) - [select for diffs]
Modified Mon Dec 28 03:06:12 2009 UTC (8 years, 10 months ago) by siliconforks
File length: 58148 byte(s)
Diff to previous 499
Use resource://app/... instead of resource://gre/... for Mozilla's JavaScript code modules.


Revision 499 - (view) (annotate) - [select for diffs]
Modified Mon Dec 28 00:05:43 2009 UTC (8 years, 10 months ago) by siliconforks
File length: 58148 byte(s)
Diff to previous 494
Fix compilation error with some versions of gcc.


Revision 494 - (view) (annotate) - [select for diffs]
Modified Sun Dec 27 17:24:41 2009 UTC (8 years, 10 months ago) by siliconforks
File length: 58132 byte(s)
Diff to previous 483
Allow opening URL in new browser window.


Revision 483 - (view) (annotate) - [select for diffs]
Modified Thu Oct 8 23:53:18 2009 UTC (9 years, 1 month ago) by siliconforks
File length: 57627 byte(s)
Diff to previous 481
Add parentheses around callee expression for some unusual function calls.


Revision 481 - (view) (annotate) - [select for diffs]
Modified Thu Oct 8 21:33:56 2009 UTC (9 years, 1 month ago) by siliconforks
File length: 57230 byte(s)
Diff to previous 473
Instrument "const" keyword correctly.


Revision 473 - (view) (annotate) - [select for diffs]
Modified Sun Oct 4 04:48:09 2009 UTC (9 years, 1 month ago) by siliconforks
File length: 57125 byte(s)
Diff to previous 468
Remove limitation of 65535 lines per file and characters per line.


Revision 468 - (view) (annotate) - [select for diffs]
Modified Fri Oct 2 21:53:10 2009 UTC (9 years, 1 month ago) by siliconforks
File length: 57116 byte(s)
Diff to previous 463
Improve floating-point precision.


Revision 463 - (view) (annotate) - [select for diffs]
Modified Sun Sep 27 02:24:33 2009 UTC (9 years, 1 month ago) by siliconforks
File length: 56979 byte(s)
Diff to previous 460
Fix under Windows.


Revision 460 - (view) (annotate) - [select for diffs]
Modified Sat Sep 26 23:15:22 2009 UTC (9 years, 1 month ago) by siliconforks
File length: 57284 byte(s)
Diff to previous 455
Upgrade to SpiderMonkey from Firefox 3.5.3.


Revision 455 - (view) (annotate) - [select for diffs]
Modified Mon Sep 7 21:18:00 2009 UTC (9 years, 2 months ago) by siliconforks
File length: 56121 byte(s)
Diff to previous 444
Fix bug instrumenting new operator.

Revision 444 - (view) (annotate) - [select for diffs]
Modified Sun Jul 26 17:09:09 2009 UTC (9 years, 3 months ago) by siliconforks
File length: 55426 byte(s)
Diff to previous 434
Check whether each .js file in the source directory is already instrumented.

Revision 434 - (view) (annotate) - [select for diffs]
Modified Sun Mar 8 06:45:51 2009 UTC (9 years, 8 months ago) by siliconforks
File length: 55457 byte(s)
Diff to previous 431
When generating instrumented code, output original source before instrumented code.  This should fix bug #5, although there is possibly a similar bug involving conditionals still remaining.

Revision 431 - (view) (annotate) - [select for diffs]
Modified Wed Feb 18 18:24:51 2009 UTC (9 years, 9 months ago) by siliconforks
File length: 55457 byte(s)
Diff to previous 427
Add --no-browser option.

Revision 427 - (view) (annotate) - [select for diffs]
Modified Wed Feb 18 16:08:33 2009 UTC (9 years, 9 months ago) by siliconforks
File length: 55219 byte(s)
Diff to previous 402
Update Copyright year.

Revision 402 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 09:47:43 2008 UTC (9 years, 11 months ago) by siliconforks
File length: 55213 byte(s)
Diff to previous 401
Handle case where an array comprehension has "if (0)" optimized away.

Revision 401 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 09:47:21 2008 UTC (9 years, 11 months ago) by siliconforks
File length: 54698 byte(s)
Diff to previous 399
Handle TOK_SEQ.

Revision 399 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 03:37:47 2008 UTC (9 years, 11 months ago) by siliconforks
File length: 54428 byte(s)
Copied from: trunk/instrument-js.c revision 394
Diff to previous 392
Use SpiderMonkey from Firefox 3.1b2.


Revision 392 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 17:54:24 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 54431 byte(s)
Diff to previous 391
Fix bug for getter and setter functions with names.

Revision 391 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 17:54:02 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 54396 byte(s)
Diff to previous 390
Fix bug handling NaN.

Revision 390 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 17:53:39 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 54396 byte(s)
Diff to previous 389
Add support for negative zero.

Revision 389 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 17:53:07 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 54291 byte(s)
Diff to previous 387
Add support for positive infinity, negative infinity, and NaN.

Revision 387 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 03:14:12 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 53973 byte(s)
Diff to previous 380
Add white space after unary operators.

Revision 380 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 00:10:22 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 53961 byte(s)
Diff to previous 379
Always parenthesize function expressions.

Revision 379 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 17:50:42 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 54019 byte(s)
Diff to previous 378
Add new parameter to output_expression, specifying whether object literals should be parenthesized.

Revision 378 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 05:31:03 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 55279 byte(s)
Diff to previous 377
Place all object literals in parentheses, except sometimes in destructuring assignment.

Revision 377 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 05:30:43 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 54313 byte(s)
Diff to previous 376
Parenthesize object literals before dot.

Revision 376 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 05:30:23 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 54246 byte(s)
Diff to previous 375
Fix bug with labelled blocks.

Revision 375 - (view) (annotate) - [select for diffs]
Modified Tue Oct 28 05:30:01 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 53805 byte(s)
Diff to previous 374
Fix bug referencing properties of numeric literals.

Revision 374 - (view) (annotate) - [select for diffs]
Modified Mon Oct 27 21:42:58 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 53570 byte(s)
Diff to previous 373
Parenthesize object literal in destructuring assignment.

Revision 373 - (view) (annotate) - [select for diffs]
Modified Mon Oct 27 20:36:44 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 53143 byte(s)
Diff to previous 372
Add support for functions with destructuring formal parameters.

Revision 372 - (view) (annotate) - [select for diffs]
Modified Mon Oct 27 20:36:23 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51929 byte(s)
Diff to previous 371
Don't exit on warnings.

Revision 371 - (view) (annotate) - [select for diffs]
Modified Mon Oct 27 20:35:46 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51924 byte(s)
Diff to previous 370
Print a space after `function'.

Revision 370 - (view) (annotate) - [select for diffs]
Modified Mon Oct 27 20:34:27 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51956 byte(s)
Diff to previous 369
Make error messages uniform.

Revision 369 - (view) (annotate) - [select for diffs]
Modified Mon Oct 27 20:33:57 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51839 byte(s)
Diff to previous 361
Handle versions specified as integers (`180') and decimal numbers (`1.8').

Revision 361 - (view) (annotate) - [select for diffs]
Modified Sun Oct 26 05:28:03 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51610 byte(s)
Diff to previous 357
Add --mozilla option, and make SpiderMonkey use the same build directory for all platforms.

Revision 357 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 21:48:21 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 50966 byte(s)
Diff to previous 356
Factor common code dealing with array comprehensions and generator expressions.

Revision 356 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 21:48:02 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 52188 byte(s)
Diff to previous 355
Fix nested array comprehensions.

Revision 355 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:19:11 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51997 byte(s)
Diff to previous 354
Handle `yield' without value.

Revision 354 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:18:54 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51925 byte(s)
Diff to previous 353
Check for strange pn_op value (can happen with E4X).

Revision 353 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:18:36 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51868 byte(s)
Diff to previous 352
Check for non-colon entries in object literal.

Revision 352 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:18:18 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51786 byte(s)
Diff to previous 351
Check for destructuring function parameters.

Revision 351 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:17:59 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51686 byte(s)
Diff to previous 350
Fix false positive in detection of generator expression.

Revision 350 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:17:39 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 51160 byte(s)
Diff to previous 349
Fix bug with let definition in switch statement.

Revision 349 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:17:19 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 50996 byte(s)
Diff to previous 348
Fix bug with null string as index.

Revision 348 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:17:00 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 50776 byte(s)
Diff to previous 346
Add support for `debugger' keyword.

Revision 346 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:16:24 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 50660 byte(s)
Diff to previous 345
Add support for generator expressions from JS 1.8.

Revision 345 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:16:00 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 49287 byte(s)
Diff to previous 343
Fix double-counting of lines with expression closures.

Revision 343 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:15:25 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 49037 byte(s)
Diff to previous 342
Add support for array comprehensions from JS 1.7.

Revision 342 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:15:04 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 48513 byte(s)
Diff to previous 341
Add support for the JS 1.7 `yield' keyword.

Revision 341 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:14:43 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 48362 byte(s)
Diff to previous 340
Add support for destructuring assignment in JS 1.7.

Revision 340 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:14:20 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 48010 byte(s)
Diff to previous 339
Add support for the JS 1.7 `let' statement.

Revision 339 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:13:57 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 45455 byte(s)
Diff to previous 336
Add support for the JS 1.6 `for each' statement.

Revision 336 - (view) (annotate) - [select for diffs]
Modified Thu Oct 23 20:08:29 2008 UTC (10 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 45141 byte(s)
Diff to previous 317
Update to work with SpiderMonkey 1.8.


Revision 317 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 01:28:46 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 45059 byte(s)
Diff to previous 293
Don't output \v - IE doesn't support it.

Revision 293 - (view) (annotate) - [select for diffs]
Modified Sun Oct 12 16:41:57 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 44943 byte(s)
Diff to previous 284
Fixed bug handling obscure "getter" or "setter" keywords.

Revision 284 - (view) (annotate) - [select for diffs]
Modified Sat Oct 11 22:40:31 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 44888 byte(s)
Diff to previous 246
Add better error reporting.

Revision 246 - (view) (annotate) - [select for diffs]
Modified Sun Oct 5 18:05:42 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 44506 byte(s)
Diff to previous 245
Handle unusual whitespace in //#JSCOVERAGE_IF comments.

Revision 245 - (view) (annotate) - [select for diffs]
Modified Sun Oct 5 18:05:12 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 44136 byte(s)
Diff to previous 240
Remove duplicate code.

Revision 240 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 23:51:32 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 44716 byte(s)
Diff to previous 214
Simplify ignoring lines.

Revision 214 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 02:26:04 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 41467 byte(s)
Diff to previous 190
Check for overflow in 16-bit lineno.

Revision 190 - (view) (annotate) - [select for diffs]
Modified Tue Sep 23 03:49:01 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 41332 byte(s)
Diff to previous 179
Do not deflate lines looking for conditionals.

Revision 179 - (view) (annotate) - [select for diffs]
Modified Sun Sep 21 18:35:21 2008 UTC (10 years, 1 month ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 40629 byte(s)
Diff to previous 176
Do source code highlighting during instrumentation.


Revision 176 - (view) (annotate) - [select for diffs]
Modified Sat Sep 20 23:29:42 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 36982 byte(s)
Diff to previous 174
Rename variable.

Revision 174 - (view) (annotate) - [select for diffs]
Modified Sat Sep 20 23:27:14 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 36960 byte(s)
Diff to previous 169
Provide better character encoding support.

Revision 169 - (view) (annotate) - [select for diffs]
Modified Mon Sep 15 16:22:41 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 35494 byte(s)
Diff to previous 167
Fix compile error.


Revision 167 - (view) (annotate) - [select for diffs]
Modified Mon Sep 15 15:54:26 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 35493 byte(s)
Diff to previous 159
Fixes for IE, Safari.


Revision 159 - (view) (annotate) - [select for diffs]
Modified Sat Sep 13 04:47:17 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 35433 byte(s)
Diff to previous 157
Make the conditional directive test occur in the SUT window, not the JSCoverage window.


Revision 157 - (view) (annotate) - [select for diffs]
Modified Sat Sep 13 03:56:45 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 35394 byte(s)
Diff to previous 156
Add support for conditional directives.


Revision 156 - (view) (annotate) - [select for diffs]
Modified Fri Sep 12 19:44:03 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 34221 byte(s)
Diff to previous 155
Fix white space.


Revision 155 - (view) (annotate) - [select for diffs]
Modified Mon Sep 1 20:30:28 2008 UTC (10 years, 2 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 34315 byte(s)
Diff to previous 116
Add support for getters and setters.


Revision 116 - (view) (annotate) - [select for diffs]
Modified Sat May 31 21:42:36 2008 UTC (10 years, 5 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 33619 byte(s)
Diff to previous 101
Add jscoverage-server.


Revision 101 - (view) (annotate) - [select for diffs]
Modified Sat May 24 18:11:30 2008 UTC (10 years, 5 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 25804 byte(s)
Diff to previous 95
Fix signed-unsigned comparison.


Revision 95 - (view) (annotate) - [select for diffs]
Modified Wed May 7 22:50:00 2008 UTC (10 years, 6 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 25801 byte(s)
Diff to previous 92
Eliminate .jscoverage.js files.


Revision 92 - (view) (annotate) - [select for diffs]
Modified Wed May 7 04:21:22 2008 UTC (10 years, 6 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 25001 byte(s)
Diff to previous 90
Add streams; don't use temporary files.


Revision 90 - (view) (annotate) - [select for diffs]
Modified Tue May 6 14:05:12 2008 UTC (10 years, 6 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 23606 byte(s)
Diff to previous 87
Fix memory leak.


Revision 87 - (view) (annotate) - [select for diffs]
Modified Mon May 5 20:05:27 2008 UTC (10 years, 6 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 23591 byte(s)
Diff to previous 84
Add 2008 to copyright date.


Revision 84 - (view) (annotate) - [select for diffs]
Modified Sat Dec 1 01:44:21 2007 UTC (10 years, 11 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 23585 byte(s)
Diff to previous 70
Use dot syntax in preference to array subscript syntax.


Revision 70 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 02:52:38 2007 UTC (11 years ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 23335 byte(s)
Diff to previous 2
Remove call to tmpfile.  This should run under Windows with no special privileges.


Revision 2 - (view) (annotate) - [select for diffs]
Added Wed Aug 1 13:51:53 2007 UTC (11 years, 3 months ago) by siliconforks
Original Path: trunk/instrument-js.c
File length: 23223 byte(s)
Initial import.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.24