Commit Graph

81888 Commits

Author SHA1 Message Date
Benoit Jacob
66002aca08 Bug 704839 - [5/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes the implementation of DELETE_STATUS queries.
2011-12-04 14:15:43 -05:00
Benoit Jacob
c84135ec38 Bug 704839 - [4/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch switches to the new mutual ownership pattern for WebGL objects, based on maintaining a second WebGL-specific refcount mirroring the OpenGL refcount which we can't access, using the helper classes that were introduced in patches 1 and 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
f8faf98502 Bug 704839 - [3/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch renames GLuint mName to mGLName for consistency.
2011-12-04 14:15:42 -05:00
Benoit Jacob
8e6fa3fd66 Bug 704839 - [2/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch implements the WebGLRefPtr class, which is how WebGL objects can hold strong references to each other that work in the same way as the references held by the underlying OpenGL objects, i.e. that will be immediately destroyed even by explicit delete calls.
2011-12-04 14:15:42 -05:00
Benoit Jacob
f83af6a077 Bug 704839 - [1/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch implements WebGLRefCountedObject, a base class for WebGL objects that implements a "WebGL refcount" mirroring the OpenGL refcount, separate from the XPCOM refcount. It collaborates with the WebGLRefPtr class introduced in patch 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
2712ccf837 Bug 705673 - remove stale mUniformTextures - no review
According to legends, there are still mUniformTextures in caves going down to the center of Earth.
2011-12-04 14:15:42 -05:00
Benoit Jacob
1bb06ab264 Bug 705668 - Remove IIDs on WebGL implementation classes - r=ehsan
These IIDs were used in the past to check, using do_QueryInterface, that the objects passed to WebGL functions were really of the expected type. Now that WebGL classes are marked 'builtinclass' in the IDL and that check has been removed (see bug 638328), none of that is needed anymore.
2011-12-04 14:15:42 -05:00
Benoit Jacob
93a933e9c9 Bug 705665 - Don't whine while glDeleting non-existent GL object - r=jgilbert
In OpenGL it is allowed to try to delete a non-existent GL object, and we have code that relies on that in a fairly legitimate way, see discussion in the bug.
2011-12-04 14:15:42 -05:00
Jonas Sicking
2d743f6976 Bug 706068: Make complex keys work on auto-increment object stores. Patch by khuey and sicking. r=sicking on parts by khuey and r=bent on parts by sicking. 2011-12-04 09:39:02 -08:00
Jonas Sicking
5e626ffd6d Bug 706762: Ensure that object stores and indexes are removed from caches when they are deleted. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
cd4051ca12 Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
aeb8da00ba Bug 706659 part 2: Support empty keypaths on objectStores. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
995edcbe9a Bug 706659 part 1: Make complex keypaths ignore index rather than throwing in all situations if it can't get key for index. r=bent 2011-12-04 09:39:01 -08:00
Simon Montagu
b408462494 Reftests for bug 676245, r=dbaron 2011-12-04 18:02:12 +02:00
Simon Montagu
dbc1abede6 Add selectors so that block elements with dir also get unicode-bidi: -moz-isolate in the default stylesheet. Bug 676245, r=dbaron 2011-12-04 18:02:10 +02:00
Ed Morley
1ffbd8940f Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
Mounir Lamouri
ec67d02a29 Bug 707085 - Fix Battery API default values. r=sicking 2011-12-04 21:00:21 +08:00
Mounir Lamouri
a8a2611420 Bug 704521 - Fix form history autocomplete broken for XUL elements. r=zpao 2011-12-04 20:59:47 +08:00
Bernd
a39d9df530 followup on bug 460637 2011-12-04 07:20:09 +01:00
Jim Blandy
a89edb3f78 Bug 700070: Have stubs::AnyFrameEpilogue call the full ScriptEpilogue before StackFrame::functionEpilogue, not just ScriptDebugEpilogue after functionEpilogue. r=jorendorff
The debugger tests don't try returning all four kinds of resumption values
from an onExceptionUnwind handler, and under JaegerMonkey, forcing a
constructor to return a primitive can cause an assertion:

Assertion failure: !args.rval().isPrimitive(), at /home/jimb/moz/dbg/js/src/jsinterp.cpp:651

This patch changes AnyFrameEpilogue to match what the interpreter and
mjit::Compiler::emitReturn does, and adds test cases for all the resumption
values.
2011-12-03 18:51:30 -08:00
timeless@mozdev.org
4e6bfb97ec Bug 505738 - nsScriptableRegion::GetRects doesn't handle failure from JS_NewArrayObject [@ JS_DefineElement - nsScriptableRegion::GetRects] r=gal 2011-12-03 22:50:17 +01:00
Ms2ger
ae2f0c6a74 Bug 705439 - Remove dead code: nsHTMLEditor::GetBlockSection / nsHTMLEditor::GetBlockSectionsForRange; r=ehsan 2011-12-03 22:50:17 +01:00
Ms2ger
3ca7221ed9 Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan 2011-12-03 22:50:17 +01:00
Ms2ger
29ca584e49 Bug 705437 - Remove dead code: nsCoreUtils::GetLastSensibleColumn; r=surkov 2011-12-03 22:50:17 +01:00
Ms2ger
363a99db58 Bug 705436 - Remove dead code: getDocumentTypeCB; r=surkov 2011-12-03 22:50:17 +01:00
Ms2ger
b4a02080cc Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob 2011-12-03 22:50:17 +01:00
Ms2ger
1b17785dc8 Bug 705434 - Remove dead code: nsXULDocument::ContextStack::IsInsideXULTemplate; r=jst 2011-12-03 22:50:17 +01:00
Ms2ger
0f691c2c0a Bug 705433 - Remove dead code: TestNode::HasAncestor; r=jst 2011-12-03 22:50:17 +01:00
Ms2ger
a9734c8253 Bug 705428 - Remove dead code: nsXMLContentSerializer::AppendToString(const PRUnichar*, PRInt32, nsAString&); r=sicking 2011-12-03 22:50:16 +01:00
Ms2ger
32cf1cec60 Bug 705427 - Remove dead code: nsAttrAndChildArray::SetAttr(nsIAtom*, const nsAString&); r=sicking 2011-12-03 22:50:16 +01:00
Ms2ger
18fa4b8800 Bug 705357 - Use IDL for Components.utils.getGlobalForObject; r=bholley 2011-12-03 22:50:16 +01:00
Ms2ger
7835d6610a Bug 705333 - Use IDL for nsJSCID::{CreateInstance,GetService}; r=bholley 2011-12-03 22:50:16 +01:00
Ms2ger
666a7ca530 Bug 705443 - Use IDL for nsIDOMWindowUtils::GetClassName; r=khuey 2011-12-03 22:50:16 +01:00
Ms2ger
4879be0711 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Andrew Quartey
ef8a477450 Bug 704013 - nsStyleLinkElement::ParseLinkTypes should use HTML5 definition of "whitespace"; f=Ms2ger r=bz 2011-12-03 22:50:15 +01:00
Fabien Cazenave
67ba2ac03b Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan 2011-12-03 22:50:15 +01:00
Kyle Huey
a441b10233 Merge b-s to m-c. 2011-12-03 16:27:21 -05:00
Brian Hackett
356489907c Merge MC -> JM 2011-12-03 10:34:26 -08:00
Kyle Huey
215879a985 Bug 704464: Part 2 - Make Database creation hook into the quota system. r=bent 2011-12-03 12:18:38 -05:00
Kyle Huey
be6d4f9248 Bug 704464: Part 1 - Rework quota handling to use Windows insteead of Databases. r=bent 2011-12-03 12:10:21 -05:00
Antti Haapala
55185ebf5e Bug 699156: Support TypedArrays in XPConnect. r=bholley,evilpie 2011-12-03 09:33:20 -05:00
Ed Morley
92f0b64ffe Merge mozilla-central and mozilla-inbound 2011-12-03 09:21:02 +00:00
Ed Morley
d27fc026d5 Backout 75e72a52a0cb, 1120ae801dac, b2572a5cffa9, fa6a273a9b41 (bug 701863) for build failures 2011-12-03 09:13:14 +00:00
Richard Newman
cfc731f457 Merge m-c to s-c. 2011-12-03 00:40:12 -08:00
Hannes Verschore
6aee55d766 Add testcase for bug 476088. r=jruderman 2011-12-03 03:29:59 -05:00
Hannes Verschore
0b0193a36a Add a test for bug 373843. r=jruderman 2011-12-03 03:29:59 -05:00
Jeff Walden
f757943ac9 Bug 707061 - Rename js_ValueToString to ToString. Also, consistent with ToObject, make ToString include an inline already-string fast path, and make ToStringSlow be an out-of-line slow path for the case where the value is not a string (asserting that this is the case). r=luke 2011-12-01 19:35:44 -08:00
Jeff Walden
d9f1c1316b Kill the warnings. KILL THEM WITH FIRE. No bug, r=sparky 2011-12-06 11:58:37 -05:00
Igor Bukanov
500216d17c bug 708231 - fix set-but-unused warnings reported by GCC 4.6 in jsexn.cpp. r=evilpies 2011-12-07 16:21:40 +01:00
Sriram Ramasubramanian
c26d295a6d Bug 705451: Anchor needs to be updated in url bar [r=mfinkle] 2011-12-06 15:15:37 -08:00