Commit Graph

259455 Commits

Author SHA1 Message Date
Brian Hackett
12f3e72c19 Improve exception messages when an error occurs in the middle of a decomposed opcode, bug 706532. r=luke 2011-12-06 15:58:35 -08:00
Philipp von Weitershausen
8b71672e80 Bug 699876 - Import the initial b2g/ directory. r=cjones
--HG--
rename : mobile/xul/LICENSE => b2g/LICENSE
rename : mobile/xul/Makefile.in => b2g/Makefile.in
rename : mobile/xul/app/Makefile.in => b2g/app/Makefile.in
rename : mobile/xul/app/macbuild/Contents/Info.plist.in => b2g/app/macbuild/Contents/Info.plist.in
rename : mobile/xul/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in => b2g/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in
rename : mobile/xul/app/nsBrowserApp.cpp => b2g/app/nsBrowserApp.cpp
rename : mobile/xul/branding/official/Makefile.in => b2g/branding/official/Makefile.in
rename : mobile/xul/branding/official/android-resources.mn => b2g/branding/official/android-resources.mn
rename : mobile/xul/branding/official/configure.sh => b2g/branding/official/configure.sh
rename : mobile/xul/branding/official/content/Makefile.in => b2g/branding/official/content/Makefile.in
rename : mobile/xul/branding/official/content/about.png => b2g/branding/official/content/about.png
rename : mobile/xul/branding/official/content/favicon32.png => b2g/branding/official/content/favicon32.png
rename : mobile/xul/branding/official/content/jar.mn => b2g/branding/official/content/jar.mn
rename : mobile/xul/branding/official/content/logo.png => b2g/branding/official/content/logo.png
rename : mobile/xul/branding/official/content/logoWordmark.png => b2g/branding/official/content/logoWordmark.png
rename : mobile/xul/branding/official/content/splash.png => b2g/branding/official/content/splash.png
rename : mobile/xul/branding/official/locales/Makefile.in => b2g/branding/official/locales/Makefile.in
rename : mobile/xul/branding/official/locales/en-US/brand.dtd => b2g/branding/official/locales/en-US/brand.dtd
rename : mobile/xul/branding/official/locales/en-US/brand.properties => b2g/branding/official/locales/en-US/brand.properties
rename : mobile/xul/branding/official/locales/jar.mn => b2g/branding/official/locales/jar.mn
rename : mobile/xul/branding/unofficial/Makefile.in => b2g/branding/unofficial/Makefile.in
rename : mobile/xul/branding/unofficial/android-resources.mn => b2g/branding/unofficial/android-resources.mn
rename : mobile/xul/branding/unofficial/configure.sh => b2g/branding/unofficial/configure.sh
rename : mobile/xul/branding/unofficial/content/Makefile.in => b2g/branding/unofficial/content/Makefile.in
rename : mobile/xul/branding/unofficial/content/about.png => b2g/branding/unofficial/content/about.png
rename : mobile/xul/branding/unofficial/content/favicon32.png => b2g/branding/unofficial/content/favicon32.png
rename : mobile/xul/branding/unofficial/content/jar.mn => b2g/branding/unofficial/content/jar.mn
rename : mobile/xul/branding/unofficial/content/logo.png => b2g/branding/unofficial/content/logo.png
rename : mobile/xul/branding/unofficial/content/logoWordmark.png => b2g/branding/unofficial/content/logoWordmark.png
rename : mobile/xul/branding/unofficial/content/splash.png => b2g/branding/unofficial/content/splash.png
rename : mobile/xul/branding/unofficial/locales/Makefile.in => b2g/branding/unofficial/locales/Makefile.in
rename : mobile/xul/branding/unofficial/locales/en-US/brand.dtd => b2g/branding/unofficial/locales/en-US/brand.dtd
rename : mobile/xul/branding/unofficial/locales/en-US/brand.properties => b2g/branding/unofficial/locales/en-US/brand.properties
rename : mobile/xul/branding/unofficial/locales/jar.mn => b2g/branding/unofficial/locales/jar.mn
rename : mobile/xul/build.mk => b2g/build.mk
rename : mobile/xul/chrome/Makefile.in => b2g/chrome/Makefile.in
rename : mobile/xul/chrome/content/commandUtil.js => b2g/chrome/content/commandUtil.js
rename : mobile/xul/chrome/content/netError.xhtml => b2g/chrome/content/netError.xhtml
rename : mobile/xul/chrome/jar.mn => b2g/chrome/jar.mn
rename : mobile/xul/confvars.sh => b2g/confvars.sh
rename : mobile/xul/installer/Makefile.in => b2g/installer/Makefile.in
rename : mobile/xul/installer/package-manifest.in => b2g/installer/package-manifest.in
rename : mobile/xul/installer/removed-files.in => b2g/installer/removed-files.in
rename : mobile/xul/locales/Makefile.in => b2g/locales/Makefile.in
rename : mobile/xul/locales/all-locales => b2g/locales/all-locales
rename : mobile/xul/locales/en-US/chrome/about.dtd => b2g/locales/en-US/chrome/about.dtd
rename : mobile/xul/locales/en-US/chrome/aboutCertError.dtd => b2g/locales/en-US/chrome/aboutCertError.dtd
rename : mobile/xul/locales/en-US/chrome/notification.dtd => b2g/locales/en-US/chrome/notification.dtd
rename : mobile/xul/locales/en-US/chrome/overrides/appstrings.properties => b2g/locales/en-US/chrome/overrides/appstrings.properties
rename : mobile/xul/locales/en-US/chrome/overrides/netError.dtd => b2g/locales/en-US/chrome/overrides/netError.dtd
rename : mobile/xul/locales/en-US/chrome/overrides/passwordmgr.properties => b2g/locales/en-US/chrome/overrides/passwordmgr.properties
rename : mobile/xul/locales/en-US/chrome/phishing.dtd => b2g/locales/en-US/chrome/phishing.dtd
rename : mobile/xul/locales/en-US/chrome/webapps.dtd => b2g/locales/en-US/chrome/webapps.dtd
rename : mobile/xul/locales/en-US/crashreporter/crashreporter-override.ini => b2g/locales/en-US/crashreporter/crashreporter-override.ini
rename : mobile/xul/locales/en-US/defines.inc => b2g/locales/en-US/defines.inc
rename : mobile/xul/locales/en-US/installer/setup.ini => b2g/locales/en-US/installer/setup.ini
rename : mobile/xul/locales/en-US/updater/updater.ini => b2g/locales/en-US/updater/updater.ini
rename : mobile/xul/locales/filter.py => b2g/locales/filter.py
rename : mobile/xul/locales/generic/install.rdf => b2g/locales/generic/install.rdf
rename : mobile/xul/locales/jar.mn => b2g/locales/jar.mn
rename : mobile/xul/locales/l10n.ini => b2g/locales/l10n.ini
rename : mobile/xul/makefiles.sh => b2g/makefiles.sh
2011-12-07 07:52:26 +08:00
Andrew McCreight
eea9c62b58 Bug 707988 - remove nsIDOMGCParticipant.h. r=jst 2011-12-06 10:40:13 -08:00
Jeff Gilbert
8799ac5293 Bug 702413 - Plug leak of new pbuffer when ResizeOffscreenFBO fails - r=bjacob 2011-12-06 15:36:40 -08:00
Ed Morley
4e735dbaf2 Merge mozilla-central to mozilla-inbound 2011-12-06 23:21:30 +00:00
Brian Hackett
4ab27c4bcb Properly record dependency on functions having lazy arguments, bug 707641. r=dvander 2011-12-06 14:56:48 -08:00
Bill McCloskey
3985b5b981 Bug 707750 - Invoke write barrier for setDenseArrayInitializedLength (r=bhackett) 2011-12-06 14:27:50 -08:00
David Mandelin
9abb4abb4c Bug 660437: Fix conversion of non-numeric types to typed array elements, r=luke
--HG--
extra : rebase_source : 6d4fe2723b173215fa1412ab5127cb993d46c1d8
2011-12-06 14:24:39 -08:00
Chris Pearce
a4c79d668e Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Chris Pearce
998b23c125 Bug 704039 part 1 - Rename nsDocument::SetFullScreenState(Element*,bool) to nsDocument::SetFullScreenElement(Element*). r=bz 2011-12-07 10:59:27 +13:00
Igor Bukanov
92db38d3a5 Bug 707664 - atoms compartment should beunlocked during OOM reporting. r=luke 2011-12-05 21:28:07 +01:00
Igor Bukanov
6188249186 Bug 707130 - Fix GCC 4.6 warnings coming from callgrind macros. r=jorendorff 2011-12-04 23:59:30 +01:00
Vladan Djeric
3c238b29b8 Bug 699051. Report slow prepared SQL statements to Telemetry. r=sdwilsh.
--HG--
extra : rebase_source : dcf66cca7ae7b603b77a6bdacb50b3df1c0442ce
2011-12-06 15:12:55 -05:00
Chris Leary
a49aaeb65a Bug 704369: Factor unary emit. (r=Waldo) 2011-11-22 12:13:41 -08:00
Chris Leary
52c3eb0968 Bug 704369: Move unary emit. (r=Waldo) 2011-11-22 12:10:21 -08:00
Chris Leary
0366bf7467 Bug 704369: Factor array emit. (r=Waldo) 2011-11-22 12:04:57 -08:00
Chris Leary
f798d2899c Bug 704369: Move array emit. (r=Waldo) 2011-11-22 12:03:16 -08:00
Chris Leary
f18d4cb45b Bug 704369: Factor object emit. (r=Waldo) 2011-11-22 11:55:04 -08:00
Chris Leary
7225e6aa85 Bug 704369: Move object emit. (r=Waldo) 2011-11-22 11:52:51 -08:00
Chris Leary
e80787258a Bug 704369: Factor conditional expr emit. (r=Waldo) 2011-11-22 11:46:18 -08:00
Chris Leary
e8592390c9 Bug 704369: Move conditional expr emit. (r=Waldo) 2011-11-22 11:45:30 -08:00
Chris Leary
bdb0426ea6 Bug 704369: Move synthetic statements emit. (r=Waldo) 2011-11-22 11:42:27 -08:00
Chris Leary
e0d8af279b Bug 704369: Factor label emit. (r=Waldo) 2011-11-22 11:32:41 -08:00
Chris Leary
24fe30a941 Bug 704369: Move label emit. (r=Waldo) 2011-11-22 11:31:35 -08:00
Chris Leary
3b91505c09 Bug 704369: Factor inc/dec emit. (r=Waldo) 2011-11-22 11:28:39 -08:00
Chris Leary
d8811d60d6 Bug 704369: Move inc/dec emit. (r=Waldo) 2011-11-22 11:26:47 -08:00
Chris Leary
5ef6e04649 Bug 704369: Factor logical emit. (r=Waldo) 2011-11-22 11:23:52 -08:00
Chris Leary
9decd4f9c4 Bug 704369: Move logical emit. (r=Waldo) 2011-11-22 11:21:28 -08:00
Chris Leary
2ab1a53699 Bug 704369: Factor call/new emit. (r=Waldo) 2011-11-22 11:17:42 -08:00
Chris Leary
4a53dbf3e0 Bug 704369: Move call/new emit. (r=Waldo) 2011-11-22 11:16:49 -08:00
Chris Leary
567edc4a0b Bug 704369: Factor delete emit. (r=Waldo) 2011-11-22 11:12:12 -08:00
Chris Leary
10ec98ae42 Bug 704369: Move delete emit. (r=Waldo) 2011-11-22 11:09:15 -08:00
Chris Leary
2ebc35ec9f Bug 704369: Factor statements emit. (r=Waldo) 2011-11-22 11:05:32 -08:00
Chris Leary
1a632dd531 Bug 704369: Move statements emit. (r=Waldo) 2011-11-22 10:59:25 -08:00
Chris Leary
8102948ce5 Bug 704369: Factor return emit. (r=Waldo) 2011-11-22 10:48:49 -08:00
Chris Leary
b619dd4336 Bug 704369: Move return emit. (r=Waldo) 2011-11-22 10:47:24 -08:00
Chris Leary
809738f4b4 Bug 704369: Factor continue emit. (r=Waldo) 2011-11-22 10:45:37 -08:00
Chris Leary
893830a932 Bug 704369: Move continue emit. (r=Waldo) 2011-11-22 10:43:10 -08:00
Chris Leary
84781ad5a5 Bug 704369: Factor break emit. (r=Waldo) 2011-11-22 10:41:11 -08:00
Chris Leary
6a85bf4831 Bug 704369: Move break emit. (r=Waldo) 2011-11-22 10:40:06 -08:00
Chris Leary
16899ba826 Bug 704369: Factor while emit. (r=Waldo) 2011-11-22 10:37:25 -08:00
Chris Leary
a16344430e Bug 704369: Move while emit. (r=Waldo) 2011-11-21 17:59:27 -08:00
Chris Leary
d42d9b729a Bug 704369: Factor do-while emit. (r=Waldo) 2011-11-21 17:56:17 -08:00
Chris Leary
8810ba9f43 Bug 704369: Move do-while emit. (r=Waldo) 2011-11-21 17:54:57 -08:00
Chris Leary
8fe42a1e23 Bug 704369: Factor function emit. (r=Waldo) 2011-11-21 17:50:43 -08:00
Chris Leary
f59bbdce9a Bug 704369: Move function emit. (r=Waldo) 2011-11-21 17:29:56 -08:00
Chris Leary
3c8bbfe791 Back out c0e237b26fe2 because it's folded. (r=#jsapi) 2011-12-06 11:52:59 -08:00
Jim Blandy
cb0ad8b133 Bug 687683: Collect resumption values from onEnterFrame handlers, and respect them. r=jorendorff
This patch makes SpiderMonkey respect resumption values returned by
Debugger onEnterFrame handler functions, as documented.

In Debugger, we change fireEnterFrame to collect a resumption value from
the hook, and change onEnterFrame and slowPathOnEnterFrame to propagate
them out. These now need an 'rval' argument, so that they can return forced
return values and exceptions.

ScriptDebugPrologue now accepts a JSTrapStatus from Debugger::onEnterFrame,
takes care of placing the return value or exception where it belongs, and
returns a JSTrapStatus.

Calls to ScriptDebugPrologue now handle the JSTrapStatus:
- at the head of js::Interpret;
- in the JSOP_NEW/JSOP_CALL/JSOP_FUNCALL/JSOP_FUNAPPLY case;
- in stubs::ScriptDebugPrologue, which JM epilogues call; and
- in the REJOIN_THIS_PROTOTYPE case in js_InternalInterpret (you must add a
  JS_GC call to ic::GetPropNoCache for Debugger-onEnterFrame-resumption-05.js to
  hit this reliably).

We also rearrange the js_InternalThrow JSTrapStatus-handling switch statement to
have an explicit default case that raises a JS_NOT_REACHED assertion, instead of
just omitting JSTRAP_CONTINUE.
2011-12-06 11:40:28 -08:00
Jim Blandy
c954ab0add Bug 687683: Assert that REJOIN_CHECK_ARGUMENTS and REJOIN_FUNCTION_PROLOGUE are never generated in debug mode. r=bhackett1024
Explanation in the comments.

Fixing bug 699196 properly entails replacing the assertion this patch adds
with real code to call ScriptDebugPrologue. If this patch lands, hopefully
the person fixing 669196 will notice that and write tests that reach the
assertion/new code, but just to make sure we should probably add a note to
that bug about it.
2011-12-06 11:40:27 -08:00
Jim Blandy
602644b653 Bug 687683: Some random comment fixes I came across. r=jorendorff 2011-12-06 11:40:27 -08:00