Commit Graph

1869 Commits

Author SHA1 Message Date
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Blake Kaplan
08a8f3a6ab Bug 654370 - Initialize bp to false to avoid reading random memory. r=gal
--HG--
extra : rebase_source : 0a3b1b9e203d0ccc5bf33998f1509bef1beae36c
2011-05-17 09:25:06 +02:00
timeless@mozdev.org
df9707b1ca Bug 538143 [@ XPCJSStackFrame::CreateStack] should not use recursion. r=mrbkap
--HG--
extra : rebase_source : 44c9c229412f0d846924c9adbed2dbda72cf890d
2010-01-06 05:32:00 +02:00
Blake Kaplan
a0557a5940 Bug 650273 - Force a frame here. r=luke
--HG--
extra : rebase_source : eba79b2d20d380c7172bb982c09523c3df180185
2011-05-02 15:47:10 -07:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Luke Wagner
4a10088b08 Bug 656171 - Use object principals finder in PrincipalsForCompiledCode, this time with hacks to fix xpcshell hacks (r=mrbkap) 2011-05-12 12:12:50 -07:00
Nicholas Nethercote
810ba8da79 Bug 648490 - Remove the "heap-used/js/string-data" memory reporter because it is totally bogus. r=gal. 2011-05-11 16:09:50 -07:00
Michael Wu
034def94d2 Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu
4746e4ca82 Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Chris Leary
10ad9f372b Merge mozilla-central and tracemonkey. (CLOSED TREE) 2011-05-10 14:55:52 -07:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Chris Leary
e9c15c147e Merge mozilla-central to tracemonkey. 2011-05-09 14:27:44 -07:00
Mike Hommey
fbb326c536 Bug 620931 part 6 - Add a -a option to xpcshell to set an application directory. r=bsmedberg 2011-05-06 10:40:51 +02:00
Andrew McCreight
5d31eb0d55 Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Blake Kaplan
c16987745d Bug 653309 - Don't break compartment rules. Hold the XPCWrappedNative pointer directly in the holder. r=gal
--HG--
extra : rebase_source : f59294302611044458748c76adcd4343ebaada54
2011-04-29 14:51:49 -07:00
Chris Leary
55f7c6409e Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Chris Jones
6fd4cbff2d Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Mook
c671b3dec1 bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff) 2011-04-20 15:19:43 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Olli Pettay
744a48fa95 Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck 2011-04-27 14:58:25 +03:00
Luke Wagner
05d2002b66 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Chris Leary
71c7cfdc1f Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Olli Pettay
46d7b33a70 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Tom Schuster
de983504ce Bug 202019 - Objects with [[Call]] arent automatically constructbale r=jorendorff 2011-04-26 00:28:30 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Jeff Walden
a8a0234d77 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Jeff Walden
77e6fd7646 Backed out changeset c8ba5bd72b0c, we have too many test harnesses and I forgot to run one. r=tree-decorator 2011-04-21 16:29:54 -04:00
Jeff Walden
f7e9104cd4 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Jason Orendorff
7c1bcbce33 Backed out changeset e02df4a05968 due to orange. 2011-04-20 16:10:38 -05:00
Tom Schuster
479dc912bc Bug 202019 - Built-in functions should not be constructors. r=jorendorff.
--HG--
extra : rebase_source : 2f845218384004c09a60c59ae03704729f1d91dc
2011-04-20 13:22:57 -05:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Bill McCloskey
4a9bde3182 Bug 648647 - Eliminate JSObjectMap (r=jorendorff) 2011-04-08 14:21:08 -07:00
Wes Garland
ed8e6d5fcf Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal 2011-04-16 15:13:10 -04:00
Dave Yeo
2f806bf292 Bug 648208 - Fix build break on OS/2. r=igor 2011-04-16 12:55:11 -04:00
Mounir Lamouri
8883f4f0d6 Merge cedar with mozilla-central 2011-04-19 11:02:41 +02:00
L. David Baron
6832afad5c When a wrapper is expired, do deferred release of mIdentity to fix bug 629610, and also lock the wrapped native map appropriately to fix bug 645442. Accomplish both of these by sharing more code between FlatJSObjectFinalized and ~XPCWrappedNative; r=peterv 2011-04-18 20:46:38 -04:00
Ehsan Akhgari
6d0857c194 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
--HG--
extra : rebase_source : 88fc16ca38ded79ca87bb861dc4cef92a69dd548
2011-04-16 19:39:34 -04:00
Ms2ger
c0773e39d2 Bug 585877 - Remove support for document.width and document.height; r=jonas sr=jst
* * *
try: -b do -p all -u mochitest-o -t none
2011-04-17 10:57:17 +02:00
Peter Van der Beken
0278484cd6 Fix for bug 649872 (Remove XPCONNECT_STANDALONE). r=mrbkap.
--HG--
extra : rebase_source : 1dff3dd06d1e1e0d93fba8be4c736d87ca574a1b
2011-04-18 15:44:12 +02:00
Ms2ger
c50cc444cc Bug 619997 - Remove support for Document.renameNode; r=sicking 2011-04-16 11:14:09 +02:00
Jonathan Protzenko
c0260ef7cc Bug 628669: Provide support for relative URLs in Components utils import (JSM, JS modules) r=bsmedberg r=mrbkap
This patch allows a JS module to import another one with a relative path. For
instance, if you have a set of modules you want to drop-in in any extension, and
these modules depend on each other, you can import XPCOMUtils and then do
XPCOMUtils.importRelative(this, "otherfile.jsm").
2011-04-14 00:10:13 +02:00
Mounir Lamouri
dd977ba6ef Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Landry Breuil
366c868498 Bug 654929. Fix fallout from 633653, failure on sparc64. Add some #ifdef JS_METHODJIT/JS_TRACER. r=nnethercode
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: expected type-specifier before 'MemoryReporter_XPConnectJSMjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: expected `)' before 'MemoryReporter_XPConnectJSMjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: expected type-specifier before 'MemoryReporter_XPConnectJSMjitData'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: expected `)' before 'MemoryReporter_XPConnectJSMjitData'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: expected `)' before 'MemoryReporter_XPConnectJSTjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitDataAllocatorsMain'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: expected `)' before 'MemoryReporter_XPConnectJSTjitDataAllocatorsMain'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitDataAllocatorsReserve'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: expected `)' before 'MemoryReporter_XPConnectJSTjitDataAllocatorsReserve'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
2011-05-05 17:13:59 -04:00
Andrew McCreight
869e39e6a4 Bug 651273 revert nsXPConnect::Traverse changes to fix WANT_ALL_TRACES CC (r=peterv@propagandism.org)
--HG--
extra : rebase_source : 8d4c84b1f38bed77815243c2dfc69abf5e7adf20
2011-04-22 12:06:43 -07:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Mike Hommey
b0924cc77f Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Mounir Lamouri
7211c91c57 Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00