Jason Orendorff
630900ee20
Finally get rid of /* Added by JSIFY */ comments. r=Waldo.
2010-10-01 18:46:54 -05:00
Chris Leary
402dc1f5d2
Bug 596502: unbreak XML parsing on JS1.6 and onwards. (r=brendan)
2010-09-18 00:31:36 -07:00
Nicholas Nethercote
837cae8aad
Bug 590834 - Clean up number-to-string code. r=jwalden.
2010-09-13 13:08:25 -07:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Chris Leary
7c740a8dc0
Back out due to mochiserver breakage. (no_r=me)
2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff
Bug 540675: remove callerVersion from stack frame. (r=lw)
2010-09-09 14:25:30 -07:00
Nicholas Nethercote
fa2a2f97f3
Bug 584595 - TM: speed up scanning three ways. r=cdleary.
2010-08-17 18:01:23 -07:00
Jeff Walden
f6cbfcea4c
Bug 582643 - Reject '0x' without any hex digits. r=jorendorff
2010-07-29 17:37:25 -07:00
Jeff Walden
a38463c8a4
Bug 577536 - parseInt() uses radix 8 if the string starts with '0' but not 0x or 0X, and the digit string should be stringified before the radix is integerized. r=jorendorff
2010-07-23 02:29:44 -05:00
Chris Leary
94f23c0a06
Arena pool macros don't want to die.
2010-07-11 00:09:34 -07:00
Chris Leary
48398c7423
Bug 559408: Arena macros to methods. (r=galish)
2010-07-10 23:19:14 -07:00
Chris Leary
908f8ec587
Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red)
2010-06-26 18:09:07 -07:00
Chris Leary
52608d352b
Bug 559408: Turn arena pool macros into methods. (r=gal)
2010-06-26 17:55:00 -07:00
Nicholas Nethercote
b56caab02f
Bug 564369 - streamline TokenStream::getChar(), part 11. r=cdleary.
...
--HG--
extra : rebase_source : 17731fc14ffa7d8ac7194baf2fe9bf72b7d2f7e5
2010-05-12 21:43:56 -07:00
Nicholas Nethercote
34bd8023e4
Bug 564369 - streamline TokenStream::getChar(), part 10. r=cdleary.
...
--HG--
extra : rebase_source : e1eea6473ba5a27f6f0c397706c8a38026c4919c
2010-05-12 21:43:27 -07:00
Nicholas Nethercote
81464e51c8
Bug 564369 - streamline TokenStream::getChar(), part 9. r=cdleary.
...
--HG--
extra : rebase_source : c9315a103358ec76fb572c67c7ba5ca2e049a22b
2010-05-12 21:43:01 -07:00
Nicholas Nethercote
83a5e45caf
Bug 564369 - streamline TokenStream::getChar(), part 7. r=cdleary.
...
--HG--
extra : rebase_source : 9017fa314243250ee90170772c5b5bbcbd244262
2010-05-12 21:42:16 -07:00
Nicholas Nethercote
400f96617e
Bug 564369 - streamline TokenStream::getChar(), part 6. r=cdleary.
...
--HG--
extra : rebase_source : ea659b37be1041d0599ad1152b85b669dd3617dd
2010-05-12 21:41:49 -07:00
Nicholas Nethercote
7e41b32948
Bug 564369 - streamline TokenStream::getChar(), part 5. r=cdleary.
...
--HG--
extra : rebase_source : a087a3706e0196962f1be094d697f27d0d476ad5
2010-05-12 21:41:24 -07:00
Nicholas Nethercote
082f31c3e2
Bug 564369 - streamline TokenStream::getChar(), part 4. r=cdleary.
...
--HG--
extra : rebase_source : 5a09b4384740293ef0bbfe5b97454b684c8584ff
2010-05-12 21:40:59 -07:00
Nicholas Nethercote
0ebfa6509b
Bug 564369 - streamline TokenStream::getChar(), part 3. r=cdleary.
...
--HG--
extra : rebase_source : 4332c12ea549aebb95f72035104e5a47159626e1
2010-05-12 21:40:28 -07:00
Nicholas Nethercote
6abfef34e4
Bug 564369 - streamline TokenStream::getChar(), part 2. r=cdleary.
...
--HG--
extra : rebase_source : 4148cba1faa670ee8a5147b78a339bf676d5fcae
2010-05-12 21:39:59 -07:00
Nicholas Nethercote
c33fb75973
Bug 564369 - streamline TokenStream::getChar(), part 1. r=cdleary.
...
--HG--
extra : rebase_source : d9e3d00e7798392242f7a4410c1825e8ff30af61
2010-05-12 21:39:32 -07:00
Robert Sayre
a354ba1cfc
Backed out changeset 919950c7f0f0
2010-05-11 11:52:17 -04:00
Chris Leary
299dd52ca1
Bug 559408: Arena pool macros to methods. (r=gal)
2010-05-10 21:46:52 -07:00
Dave Herman
ed6c552bb7
Bug 558437 - rename JSCompiler to js::Parser (r=brendan).
2010-04-10 21:15:35 -07:00
Chris Leary
2ebc323e9d
Bug 558002 - Convenience methods for TokenStream flags. r=jwalden
2010-04-09 18:54:51 -07:00
Chris Leary
8e0decc494
Bug 553423 - JS scanner namespacing cleanup (r=lw)
2010-03-21 16:07:48 -07:00
Luke Wagner
1e33f57b39
Backed out changeset 6403442ffa1d (failure on windows, winnt.h defines TokenType!)
2010-03-18 22:26:47 -07:00
Chris Leary
2400e09e63
Bug 553423 - JS scanner namespacing cleanup (r=lw)
2010-03-18 22:15:51 -07:00
Chris Leary
431c00210e
Bug 549658: clean up JS scanner and inline more things, r=brendan,jimb
2010-03-15 16:42:06 -07:00
Luke Wagner
a1a73dd94d
Bug 551276 - a more type-safe way to zero memory (r=Waldo)
...
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Mike Moening
0373a2437d
bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor
2010-03-04 20:44:09 -08:00
Luke Wagner
4f05b945eb
Bug 458421 - dead stuff in spidermonkey (r=jorendorff)
2010-01-22 11:52:17 -08:00
Robert Sayre
b18f03ada4
Merge m-c to tm.
2009-12-17 04:26:12 -05:00
Andrew Paprocki
4d092aea98
bug 486779 - silencing SunPro CC compiler complains about js_MapKeywords. r=brendan
2009-12-14 10:08:55 +03:00
Dan Witte
89be48b3cc
Bug 518621 - JS_ReportErrorNumber ignores exception type for user-generated messages. r=mrbkap
2009-12-15 14:20:48 -08:00
Jim Blandy
65ebe01f93
Bug 514559: Forbid octal literals or escape sequences in strict mode. r=mrbkap
2009-11-19 09:49:00 -08:00
Jim Blandy
76386acacd
Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
...
2009-11-19: checkReportFlags adjusted to use js_GetTopStackFrame, to
satisfy static analysis checks. No effect on Sunspider.
At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script. Both cases
also check the context options. The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.
This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors. At run-time,
the new checkReportFlags handles the checks. At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-19 09:23:20 -08:00
Jim Blandy
534bfe84e0
Back out ad37dab7ea17: code to check the current frame's script's strictness flag fails the static checks. Using js_GetTopStackFrame introduces a perf regression.
2009-11-18 14:36:55 -08:00
Jim Blandy
bd0b14cc7e
Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
...
At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script. Both cases
also check the context options. The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.
This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors. At run-time,
the new checkReportFlags handles the checks. At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-18 13:33:53 -08:00
Brendan Eich
797e4c7194
Fix old ES3 lexing bug where 3in scanned as 3 and in (523401, r=jorendorff).
2009-10-22 10:07:56 -07:00
Brendan Eich
bcdf73ef67
Remove now-bogus (uint16) casts when storing AST node line numbers (patch revised based on ed@siliconforks.com's patch in 500128, r=me).
2009-10-03 10:33:01 -07:00
David Mandelin
99fb23d064
Bug 511695: Fix JS warnings in MSVC8, r=brendan
2009-09-23 11:16:30 -07:00
Jason Orendorff
e941aa6935
Bug 510895 comment #3 - Indentation nit, follow-up to changeset eb6e2f20bbde.
2009-08-25 14:11:21 -07:00
Jason Orendorff
8d17eb83a0
Bug 510895 - Select getc/getc_unlocked/_getc_nolock in autoconf. r=jimb.
...
--HG--
extra : rebase_source : 828e017e94ffd5f742d0ead3d48c42e7ad38eace
2009-08-25 12:33:03 -05:00
Luke Wagner
3cf8a59c01
Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan)
2009-08-14 16:10:59 -07:00
Robert Sayre
6a084d7111
Bug 507526 - use getc_unlocked in the scanner rather than getc. r=jorendorff
2009-08-04 10:30:26 -07:00
Andreas Gal
e7f2714ea1
When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo).
2009-07-27 21:10:12 -07:00
David Mandelin
cfb0d1fd1b
Bug 506821: clean up trailing whitespace, r=brendan
2009-07-27 18:40:12 -07:00