Граф коммитов

129 Коммитов

Автор SHA1 Сообщение Дата
David Mandelin e42840d083 Browser prefs for enabling methodjit 2010-06-29 16:46:10 -07:00
Andreas Gal 0f7a6a9d16 Disentangle cycle collector and JS GC (549806, r=peterv/igor). 2010-07-15 17:58:36 -07:00
Andreas Gal ce1fbe0cf2 Backed out bug 549806. Very frustrating. 2010-07-15 15:39:06 -07:00
Blake Kaplan c7841d117d Bug 575795 - Clean up the nsIScriptContext interface to the global object to be able to split the work that nsIScriptContext::InitContext does out. r=jst 2010-07-15 15:16:29 -07:00
Andreas Gal ea2fefefb7 Disentangle cycle collector and JS GC (549806, r=peterv, igor). 2010-07-15 10:21:34 -07:00
Luke Wagner 7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Luke Wagner c9f3b0c32f Browser builds 2010-06-17 23:51:54 -07:00
Andreas Gal 93236bcfb3 Back out bug 580803. 2010-07-28 11:20:19 -07:00
Robert Sayre ca1f1776fe Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Luke Wagner e8549ac325 Merge with TraceMonkey 2010-06-09 21:59:18 -07:00
Luke Wagner 0ecc1e3045 Firefox builds 2010-06-07 18:21:51 -07:00
Blake Kaplan 55bd6abd94 Fixing bustage. 2010-07-22 17:04:31 -07:00
Blake Kaplan cae6d308d0 Fix bug 576616. r=jst
--HG--
extra : rebase_source : e79fc676badbfb264e979b6f5d96edfca4ee1435
2010-07-22 16:35:58 -07:00
Blake Kaplan 0af0070428 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner e8308fa9a8 Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Blake Kaplan 12ff3dcb37 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Boris Zbarsky 562a1c1653 Bug 568564 followup. Use an empty filename, not a null one. r=jst 2010-06-08 17:16:26 -04:00
Boris Zbarsky b59073dc8f Bug 568564. Suppress the script filename for cross-origin onerror events. r=jst 2010-06-08 15:58:26 -04:00
Jason Orendorff 0f12d927b6 Backed out changeset d4caa61e69ab. It turned the tree red. 2010-07-01 20:06:33 -05:00
Andreas Gal 5643b90a42 Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-01 15:45:08 -07:00
Mitchell Field f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Blake Kaplan fa771f1b02 bug 532730 - Give a warning here since we're about to terminate the script without any warning. r=jst sr=sicking
--HG--
extra : rebase_source : b1e5ceb191f4bf974f9fc20926e4f76e8519d01d
2010-04-28 13:23:18 -07:00
Blake Kaplan eb8f2bf96b Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Peter Van der Beken 11bf9bf420 Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
Robert Sayre 1a657e9883 Merge mozilla-central to tracemonkey. 2010-03-30 21:13:01 -07:00
Jeff Walden 4808f10301 Readd changes to nsJSEnvironment.{cpp,h}, and adjust js::LazilyConstructed so as to force pointer alignment on the theory that's what was wrong.
--HG--
extra : rebase_source : 2215152cf0f03dbb69e49e9adb49979a72294620
2010-03-29 22:51:52 -07:00
Jeff Walden c2dcd0b0c7 Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden 8577d1493c Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden cc578ac362 Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden 1066acafbb Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Andreas Gal 85b60d98b9 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Robert Sayre 4066e6b277 Merge mozilla-central to tracemonkey. 2010-03-13 11:51:12 -05:00
Jeff Walden 4509038fa5 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Craig Topper fd9001c409 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Luke Wagner 6d197cb006 Bug 545044 - initialize tempAlloc'd memory so GC-safe (r=brendan)
--HG--
extra : rebase_source : 712bf473d05f707dd50a276f1e60421ce46a7353
2010-02-17 11:32:47 -08:00
Jonas Sicking c7c7514f75 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Shailen 4c0bb32eb3 Fixing bug 488423, don't pass a size of 0 to PR_CALLOC(). r+sr=jst@mozilla.org 2010-03-05 14:19:30 -08:00
Chris Jones a7ca970622 Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Luke Wagner 844dfe7966 Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst) 2010-01-25 08:48:07 -08:00
Luke Wagner a9ec05dc01 Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
John J. Barton 11fc5619b7 Bug 508562. Make it possible to not have js strict warnings in debug builds. r=bzbarsky, sr=jst 2009-12-22 19:52:13 -05:00
Olli Pettay f5357928ad bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Blake Kaplan 8f5d1a781e Bug 535079 - Get the XPCNativeWrapper class without compiling and running JS code. r=jst sr=sicking 2009-12-16 16:51:06 -08:00
Blake Kaplan 5a297da3c3 Bug 520386. Don't clear scope while executing code in that scope. r=bzbarsky@mit.edu, sr=jst@mozilla.org 2009-11-19 15:11:44 -08:00
Jonas Sicking 28565aae30 Bug 507114: Don't put up a dialog if we're low on memory. Instead just attempt to report to the console-service. r=jst 2009-11-16 17:06:28 -08:00
Sylvain Pasche aa1ab16cf2 Bug 419463 - unresponsive script warning dialog has reversed icons. r=jst 2009-10-25 12:20:25 +01:00
Chris Jones 708e2e04ae Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones f2df9d3504 bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Mounir Lamouri 1d10d562c5 Bug 452451 - "enable relimit by default and find out if it breaks the web" [r=jwalden,jst]
--HG--
extra : rebase_source : e583073d8015cc0f6b7d4336494f0e1ed01083e2
2010-05-20 17:19:00 -04:00
Justin Wood 479e0c5a15 Backout Bug 452451 Due to test failures. 2010-05-20 01:01:59 -04:00
Mounir Lamouri 3310a43bf9 Bug 452451 - "enable relimit by default and find out if it breaks the web" [r=jwalden,jst] 2010-05-19 22:28:09 -04:00
Ehsan Akhgari db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Olli Pettay 927111fb28 Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay 1c104f5606 Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay c719bc6e84 Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Blake Kaplan fc4b1187b7 Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation. 2009-08-18 21:02:05 -07:00
Peter Van der Beken cf46d66dc3 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Mark Steele 1af5610ff2 Bug 497999: collect context-specific TraceVis data in JS objects, r=jorendorff 2009-07-30 11:48:02 -07:00
Robert Sayre 509bdbf049 Merge tracemonkey to mozilla-central. 2009-07-24 13:42:38 -04:00
Robert Sayre e34c6309ce Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Igor Bukanov 7abefe3052 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
timeless@mozdev.org 5c4628ea9e Bug 504474 JS_ValueToBoolean is void
r=brendan
2009-07-22 17:31:04 -05:00
gyuyoung kim c83c298365 Bug 456721 - Control GC frequency/a high water mark of Tracemonkey via about:config; r+sr=(brendan + mrbkap) 2009-07-09 14:16:26 +02:00
Olli Pettay df201c0503 Bug 502374 - Don't call cycle collector so often, r+sr=peterv 2009-07-08 18:08:22 +03:00
Blake Kaplan ea6e9b28a5 Bug 480205 - Implement a wrapper for exposing chrome objects to content (aka COWs). r+sr=jst sr=bzbarsky on some parts. 2009-05-21 01:17:51 -07:00
Peter Van der Beken 88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Blake Kaplan f8079004d8 Bug 500691 - Call JS_ClearScope before XPConnect tries to update our outer window's scope's concept of what {Function,Object}.prototype are so that we forward correctly to the inner window's versions. r=jst sr=bzbarsky 2009-07-01 16:43:50 -07:00
Blake Kaplan 5974fa97bb Bug 500846 - Calculate sObjectClass in non-browser embeddings. r+sr=bzbarsky 2009-07-01 12:12:32 -07:00
Jonas Sicking 12efda0ab2 Bug 492560: Prevent modal dialogs from making the slow-script dialog coming up. r/sr=mrbkap 2009-06-11 17:52:47 -07:00
Peter Van der Beken 1c455c947d Fix for bug 494290 (Crash [@ nsJSContext::cycleCollection::Traverse]). r/sr=jst.
--HG--
extra : rebase_source : e84f31938e62a00f163ff705b7ce5a58da9b8dd4
2009-05-22 20:45:26 +02:00
Boris Zbarsky bbfad4c7a7 Followup for bug 489671. Remove orphaned comment. 2009-05-19 22:22:44 -04:00
Boris Zbarsky bda41245f7 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00
Peter Van der Beken 8443f4d14c Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst. 2009-05-07 11:19:36 -07:00
Peter Van der Beken 1278a8efe2 Backed out changeset 0c8d4f846be8 (Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly).) to try to fix Tshutdown regression. 2009-05-16 16:16:55 +02:00
Peter Van der Beken 0c43ed75e7 Fix for bug 475737 (Windows stay alive too long because nsJSContext doesn't unlink correctly). r=bent, sr=jst.
--HG--
extra : rebase_source : 459f24ea980bf4cab29bc88115138f6ed5144e49
2009-05-07 11:19:36 -07:00
Brendan Eich 05aabeda2f Bug 375250 - Reject (JSON is fixed now) E4X masquerading as JS source (r=igor/mrbkap). 2009-04-29 16:48:35 -07:00
ben turner 128acb4c3b Bug 479624 - Use JSAutoTempValueRooter instead of nsAutoGCRoot in nsJSContext::CallEventHandler. r=mrbkap, sr=jst 2009-04-17 15:13:08 +02:00
Ben Turner d962874347 Bug 482306 - "Several deadlocks related to nested requests and nsJSContext::CompileEventHandler". r+sr=mrbkap, a=blocking1.9.1+. 2009-03-14 20:42:50 -07:00
Benjamin Smedberg 555ae1b325 Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00