Commit Graph

70417 Commits

Author SHA1 Message Date
Jim Blandy
3b47d4d410 Bug 599764: Define jsval in terms of a type we control, not a type defined, depending on circumstances, by either NSPR or our own headers. r=luke 2011-06-08 12:14:58 -07:00
Jim Blandy
3b7ea5d45a Bug 662836: Don't require JS_EvaluateUCScriptInStackFrame to be able to extend call objects that the bytecode compiler didn't expect to be extensible. r=dvander 2011-06-08 12:10:39 -07:00
Makoto Kato
5e8a381066 Backed out changeset c25968f1f4f0 2011-06-08 15:56:43 +09:00
Makoto Kato
f96bf9011f Bug 635617 - 64-bit crash [@ MakeDay]. r=jwalden 2011-06-08 10:41:37 +09:00
Kyle Huey
08c7819893 Fix MSVC warning. 2011-06-07 17:17:30 -07:00
Blake Kaplan
96c422f69a Bug 662114 - Don't use DummyFrameGuard directly to avoid Windows DLL-linkage warnings. r=luke
--HG--
extra : rebase_source : 8ef14ff1cecaa7f426adc55b3a1ad205f00d0b8c
2011-06-07 19:43:18 -04:00
Brendan Eich
f567b76676 Strict mode early error (strict option warning) on assignment to declared const (383902, r=jwalden). 2011-06-07 16:24:33 -07:00
Steve Fink
dc5fdefaa0 Bug 637393 - Give JSScript control over the lifetime of JSPCCounters, to allow freeing with cx (r=dmandelin)
--HG--
extra : rebase_source : 9e94ec8506bc3aac28c1dd0ef5b9047e33ff6e8d
2011-06-06 16:48:20 -07:00
Steve Fink
4fe2a2b264 Bug 637393 - Add a -D option to the shell to disassemble all scripts, with per-op per-runmode execution counts, at shutdown
--HG--
extra : rebase_source : da191562758eb5dc64e76be79d55a09153cce391
2011-05-10 11:26:39 -07:00
Steve Fink
f944ff55d2 Bug 637393 - Add JS_DumpProfile, JS_DumpAllProfiles to disassemble one or all scripts' along with execution counts of each op
--HG--
extra : rebase_source : 58afddcf73ded6505fabe3ef42495faa5cb6915a
2011-05-10 11:26:39 -07:00
Steve Fink
e760bcc0f4 Bug 637393 - Add an option to count number of executions of each JSOp, broken down by "run mode" (method JIT/trace JIT/interpreter)
--HG--
extra : rebase_source : ba9a916197f8c2e449b3096f1c31fe2b154feef4
2011-05-10 11:26:39 -07:00
Jeff Walden
05cb81769b Add a RangedPtr constructor accepting an array as a shorthand for RangedPtr(arr, N). rs=luke
--HG--
extra : rebase_source : a7bcc7dad0f1c97225a920b0aa7cdbd8206c4fb8
2011-06-07 13:25:36 -07:00
Luke Wagner
0d7bf8cc22 Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Luke Wagner
67af97e094 Bug 656462, part 3 - Syntactic touchups (r=waldo)
--HG--
extra : rebase_source : 7a81c352a96b9e23fc8f7bee5cb1d095c5cdb998
2011-05-24 16:08:40 -07:00
Luke Wagner
fe7b0581ce Bug 656462, part 2 - Merge ContextStack::get* and push* operations (r=waldo)
--HG--
extra : rebase_source : bdc7a7ba9ee21435a20e77bf6cea8c4d34a840c9
2011-05-24 16:04:18 -07:00
Luke Wagner
78dc696e0e Bug 656462, part 1 - Remove StackSegment::initialVarObj (r=waldo)
--HG--
extra : rebase_source : 54ae58bec51c4c7fcc58db2148167be828dda8a3
2011-05-24 15:05:30 -07:00
Jeff Walden
020b88a515 Bug 662001 - Use RangedPtr<T> in one location outside js/src/ to verify that mfbt/RangedPtr.h is usable by non-JS code. r=bz 2011-06-06 11:02:35 -07:00
Jeff Walden
f63e8d0dc3 Bug 662001 - Move js::RangeCheckedPointer<T> to mozilla::RangedPtr<T>, make it no longer implicitly convert to T*, and adjust users accordingly. r=cjones 2011-06-06 11:02:34 -07:00
Jeff Walden
9ed41bbdc2 Bug 657367 - Don't attempt to use the JSON parser to fast-path eval if the eval code contains either U+2028 or U+2029, which JSON permits within strings but which JavaScript doesn't permit in strings. (In case you missed it, this means that there's no subset relationship between JavaScript and JSON. (!)) r=njn
--HG--
extra : rebase_source : 5dfa4da6ec6b2238bc6e0e36bc349c9fabcbfd19
2011-06-03 16:53:31 -07:00
Nicholas Nethercote
a1825387bc Bug 645598 - Trim last bits of fat from the scanner, part 3 of 3. r=jwalden. 2011-06-07 13:48:55 +10:00
Nicholas Nethercote
af44ef61b4 Bug 645598 - Trim last bits of fat from the scanner, part 2 of 3. r=jwalden. 2011-06-07 13:48:21 +10:00
Nicholas Nethercote
5e87a0c3ea Bug 645598 - Trim last bits of fat from the scanner, part 1 of 3. r=jwalden. 2011-06-07 13:47:12 +10:00
Paul Biggar
33979e422d Bug 660681: Add NULL check to LeaveFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
118bf3fdae Bug 660670: Report an error on OOM in Parser::analyzeFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
08fcb0b61d Bug 660638: Add NULL check to Compiler::compileScript (r=jwalden) 2011-06-06 14:24:10 -07:00
David Mandelin
ea7d5ed079 Bug 662165: fix MSVC warning 2011-06-06 13:36:57 -07:00
Chris Leary
278e5141b8 Followup fix for merge, fix ifdef directive. 2011-06-06 09:58:15 -07:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Margaret Leibovic
9689877212 Bug 661823 - Ctrl+F shouldn't work to open Find toolbar in about:permissions and should work to close existing Find bar. r=gavin 2011-06-06 08:15:21 -07:00
Margaret Leibovic
ea5b8bfa04 tests for Bug 661819 - Values for All Sites in about:permissions displays last selected site's values. r=gavin 2011-06-06 08:15:13 -07:00
Margaret Leibovic
49138ee5c9 Bug 661819 - Values for All Sites in about:permissions displays last selected site's values. r=gavin 2011-06-06 08:14:07 -07:00
Margaret Leibovic
bff36cfb13 Bug 661791 - Rectify wording of "Clear all cookies" button in about:permissions to match the "Remove all cookies" button. r=gavin 2011-06-06 08:13:50 -07:00
Jacek Caban
ab9e18c25c Bug 661517 - nsWebSocketHandler.cpp fails to compile on mingw-w64 r=mcmanus DONTBUILD 2011-06-06 13:16:22 +02:00
Nicholas Nethercote
3f2c2d551f Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Kyle Huey
c5509e3146 Back out Bug 622315 due to Bug 662200. 2011-06-05 16:22:09 -07:00
Kyle Huey
dc20cc5fcd Backed out changeset 52b9e864be0e due to Bug 662200. 2011-06-05 16:21:42 -07:00
Kyle Huey
c10028170d Bug 622315: Refuse to navigate if a navigation is already pending. r=bz 2011-06-05 12:09:47 -07:00
Kyle Huey
7d5b6f2285 Bug 661876: Remove obsolete nsIDOMFile methods/properties. r=sicking 2011-06-05 11:54:50 -07:00
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Dão Gottwald
7778dfb0d9 Bug 662155 - addTab should report the exception when loadURIWithFlags fails. r=gavin 2011-06-05 19:37:10 +02:00
Mounir Lamouri
8bc1be7f60 Merging cedar with mozilla-central. 2011-06-05 15:31:36 +02:00
Tyler Downer
e98d10f115 Bug 660746 - Fix another typo. r=gavin 2011-06-05 10:07:15 +02:00
Phil Ringnalda
ba566a58e2 Bug 650691 - random-if the SVG object--auto reftests that are random-if(Android) 2011-06-04 22:20:52 -07:00
Ehsan Akhgari
8703cf5143 Bug 612448 - Protect the progress listener object from being garbage collected too soon which could cause a test timeout; r=roc 2011-06-03 16:48:31 -04:00
Rafael Ávila de Espíndola
f9339f6813 b=661145, r=bsmedberg Move the function declarations passed to AC_TRY_COMPILE out of the body of main. 2011-06-03 16:34:42 -04:00
Ehsan Akhgari
b24e41048e Bug 495577 - Rename the "Permanent Private Browsing mode" checkbox in the Privacy prefpane to better match the surrounding options; r=dao ui-r=faaborg 2011-06-03 15:04:52 -04:00
timeless@mozdev.org
deceb8bf2b Bug 620182 [@ QuoteString | DecompileSwitch] when JSVAL_IS_DOUBLE(key) and SprintDoubleValue fails due to oom
r=jorendorff
2011-06-03 08:57:00 -07:00
Hiroyuki Ikezoe
0fc9bbc32c Bug 660131 - Follow up fix. Include glib-object.h for disabling gconf. r=karlt 2011-06-03 17:45:38 +02:00
Mounir Lamouri
af81ce3c72 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Masayuki Nakano
a1fdb33535 Bug 660568 nsImageFrame::IconLoad must call Preferences::RemoveObservers() r=roc 2011-06-03 15:07:10 +09:00