Paul Biggar
72c7701093
Bug 634155: Account for NewCompartment's memory, and change allocation APIs (r=nnethercote)
...
This changes the allocation API, in the following way:
js_malloc -> {cx->,rt->,OffTheBooks::}malloc
js_calloc -> {cx->,rt->,OffTheBooks::}calloc
js_realloc -> {cx->,rt->,OffTheBooks::}realloc
js_free -> {cx->,rt->,Foreground::,UnwantedForeground::}free
js_new -> {cx->,rt->,OffTheBooks::}new_
js_new_array -> {cx->,rt->,OffTheBooks::}new_array
js_delete -> {cx->,rt->,Foreground::,UnwantedForeground::}delete_
This is to move as many allocations as possible through a JSContext (so that they may be aken into account by gcMallocBytes) and to move as many deallocations to the background as possible (except on error paths).
2011-03-31 01:13:49 -07:00
Nicholas Nethercote
e2c62437e0
Disable warnings-as-errors, which was introduced by bug 609532. See the bug for justification and follow-up. r=pbiggar.
2011-03-30 17:54:31 -07:00
Gary Kwong
79f0ef8539
Bug 643217 - Replace "ASSERTION FAILED" message with "Assertion failure" in assembler. r=njn
...
--HG--
extra : rebase_source : b9bd22ee029ebeea7b19327d38305ad1f3aba341
2011-03-31 08:44:57 +08:00
Brian Hackett
8e50870411
Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin
2011-03-30 17:43:36 -07:00
David Mandelin
125dbc8ece
Bug 645184: normalize id in addprop IC handler, r=dvander
2011-03-30 16:57:44 -07:00
Gregor Wagner
ee36f9fb20
Fix atomsCompartment assertion. No Bug, r=billm
2011-03-30 14:02:21 -07:00
Jim Blandy
f1e6365c99
Bug 645826: Include standard output and standard error in exception text when testing manifest conditions. r=dmandelin
2011-03-30 12:49:47 -07:00
Jim Blandy
d7f8d15385
Bug 643222: Don't assert that we never cached adds to call objects. r=jorendorff
...
This assertion should not have been added. Although most adds to call
objects are done by DEFVAR operations, which don't create property cache
entries, the test case shows a situation in which a SETNAME, which is
cached, does the add. Since the object whose property should receive the
value of an assignment's RHS is chosen before the RHS is evaluated, it is
correct to put the value of the 'delete' expression on the call.
It would be nice to ensure that this call object, which we know we are
adding bindings to, had been recognized as extensible at compile time by
the analysis added in bug 554955. However, we only set "extensible parents"
flag on the bindings of calls whose *parents* are extensible, not the
extensible calls themselves. So there isn't anything convenient to check
here.
2011-03-30 12:48:24 -07:00
Chris Leary
2ef1aa6439
Bug 642274: Add loose equality to JSAPI. (r=Waldo)
...
--HG--
extra : rebase_source : 3001604e6e6bfc9c8e73aafc1498a71ae7ade9cd
2011-03-21 10:04:43 -07:00
Andreas Gal
707f928b25
Expose public APIs for converting doubles to signed/unsigned int per ECMA spec (bug 631132, r=bzbarsky).
2011-03-29 19:19:15 -07:00
David Mandelin
30d90dd975
Bug 646304: Fix MSVC warning, r=bent
2011-03-29 19:05:12 -07:00
Chris Leary
733f538571
Merge mozilla-central and tracemonkey.
2011-03-29 14:52:44 -07:00
Jim Mathies
17d5c3ca6b
Bug 646067 - In nsWindow's Show, use SW_SHOW vs. SW_SHOWNORMAL for full screen windows. r=robarnold
2011-03-29 16:49:45 -05:00
Josh Aas
b925f0cf5f
Bug 645289: Correctly calculate whether or not a given plugin has running instances. r=bsmedberg
2011-03-29 16:43:18 -04:00
Benjamin Stover
4a49af189c
Bug 643083 Test fix: clean up puppet widget properly r=cjones sr=roc
2011-03-29 13:14:44 -07:00
Chris Leary
ea513eacf6
Nop to force rebuild.
2011-03-29 10:47:59 -07:00
Chris Leary
d5de78ea4b
Merge new tracemonkey head.
2011-03-29 09:06:19 -07:00
Chris Leary
78ceed9ab7
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
Brian Hackett
191b32603c
Check for functions in instanceof fast path, bug 642174.
2011-03-28 20:05:23 -07:00
Michael Wu
f4745d0eb6
Bug 635087 - nsCryptoRunnable::Run leaks JSPrincipals, r=jst
2011-03-28 16:24:38 -07:00
Chen Liu
86a955132e
Use PL_strncpyz in DR_FrameTypeInfo. (Bug 639220) r=dbaron
2011-03-28 16:07:27 -07:00
L. David Baron
f30ccb969b
Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky
2011-03-28 16:07:27 -07:00
L. David Baron
2131a8f272
Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
012f77a7a9
Move nsCSSCornerSizes from nsCSSStruct.h/cpp to nsCSSValue.h/cpp. (Bug 645620, patch 3) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
39b5580d80
Remove nsCSSDataBlock::kOffsetTable, which is no longer needed. (Bug 645620, patch 2) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
f22af36a6f
Replace use of nsCSS* structs in nsCSSExpandedDataBlock with an array of nsCSSValue. (Bug 645620, patch 1) r=bzbarsky
...
Note that this increases the size of nsCSSExpandedDataBlock by three
nsCSSValues for the three non-CSS properties.
2011-03-28 16:07:26 -07:00
Jim Mathies
658482da00
Bug 634586 - Briefly hide the window when transitioning to full screen on Windows. Improves full screen transitions and fixes bug 624258. r=roc
2011-03-28 16:54:05 -05:00
Ehsan Akhgari
4150039d5f
Back out changeset 7395f456cf4b (bug 594614) because it wasn't quite ready
2011-03-28 16:35:05 -04:00
Jonas Sicking
c9ef093253
Bug 461066: Test for loadend firing correctly in CORS tests. r=smaug
2011-03-28 13:18:55 -07:00
Jonas Sicking
ca53c7c13a
Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug
2011-03-28 13:18:45 -07:00
Jonas Sicking
b41f2752c4
Bug 644476 Part 2: Move CORS code from nsXMLHttpRequest.cpp/h to nsCrossSiteListenerProxy.cpp/h. r=smaug
2011-03-28 13:11:09 -07:00
Jonas Sicking
0647926fda
Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug
2011-03-28 13:05:52 -07:00
Luke Wagner
2fa7292b06
Bug 641436 - Don't call Script{Prologue,Epilogue} when resuming/yielding a generator (r=dvander)
...
--HG--
extra : rebase_source : 6ae3a6645425ee63162e19388143487df5435a65
2011-03-28 11:57:43 -07:00
Gregor Wagner
f18b7462d5
Bug 644871 - Combine MarkAndSweep/MarkAndSweepCompartment (r=billm)
2011-03-28 13:17:46 -07:00
Andrew McCreight
ff37de748d
Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu
2011-03-28 13:05:48 -07:00
Joel Maher
a85f69f8f9
Bug 643440 - when using --extra-profile-files, we can overwrite user.js settings from the harness. r=ted, a=test-only
2011-03-28 14:37:08 -04:00
Joel Maher
f86f549a50
Bug 644697 - jsreftests shell test runner throws "Failed to test XUL condition 'Android'". r=dmandelin, a=test-only
2011-03-28 14:37:07 -04:00
Ehsan Akhgari
32ab4d0dad
Back out changeset 71d0179e0ad9 (bug 634586)
2011-03-28 13:47:53 -04:00
Ehsan Akhgari
db0e06d061
Merge cedar into mozilla-central
2011-03-28 13:28:13 -04:00
Mitchell Field
c1ce6a1b2b
Merge build-system to mozilla-central.
2011-03-29 02:07:57 +11:00
Boris Zbarsky
d7d7817aa0
Bug 644576. Make sure that when we set up our iterator we don't decide we're done if the first row in our damage range contains no cells in our damage range. r=roc
2011-03-28 10:49:48 -04:00
Boris Zbarsky
c964785dea
Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc
2011-03-28 10:49:48 -04:00
Trevor Saunders
c735992881
Bug 635952 - crash [@ notificationController::IsTreeConstructed() ] on shutdown, r=surkov, fer, a=blocking2.x+
2011-03-28 23:00:02 +09:00
Alexander Surkov
8eec39795c
Bug 629114 - crash on add comment link in review board [@ nsBulletFrame::GetListItemText ] [@ nsBulletFrame::GetListItemText(nsStyleList const&, nsString&) ], r=davidb, marcoz, sr=bz, a=blocking2.x+
2011-03-28 22:59:54 +09:00
Alexander Surkov
0f5f6be48e
Bug 644084 - crash [@ nsAccessNodeWrap::get_attributesForNames(unsigned short, unsigned short**, short*, unsigned short**)], r=marcoz, a=blocking2.x+
2011-03-28 22:59:44 +09:00
Alexander Surkov
f8a3afcdae
Bug 598578 - Crash [@ PL_DHashTableOperate | nsTHashtable<nsBaseHashtableET<nsUint32HashKey, nsCOMPtr<nsILocalFile> > >::RemoveEntry(unsigned int const&) ], r=davidb, f=marcoz, a=blocking2.x+
2011-03-28 22:59:36 +09:00
Alexander Surkov
74448264ac
Bug 643906 - Firefox 4.0 Crash Report [@ nsAccessible::AsHyperText() ], r=davidb, a=blocking2.x+
2011-03-28 22:59:28 +09:00
Alexander Surkov
5dbb04e848
Bug 628603 - Crash in nsDocAccessible::CacheChildrenInSubtree [@ nsAccessNode::IsContent() ], r=davidb, a=blocking2.x+
2011-03-28 22:59:17 +09:00
Alexander Surkov
8ead437c57
Bug 630828 - Crash [@ nsAccessible::UpdateChildren() ], r=davidb, a=blocking2.x+
2011-03-28 22:59:08 +09:00
Alexander Surkov
ae07293967
Bug 638326 - getTextAtOffset line boundary may return more than one line, r=david, neil, f=marcoz, a=blocking2.x+
2011-03-28 22:58:59 +09:00