Commit Graph

81101 Commits

Author SHA1 Message Date
Benoit Jacob
cbefb6a7a2 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
01397ddaa5 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
18afae8195 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
0693fafd24 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
9fb7ab40fd 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
b39d1c2e9f 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
ed0639a053 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
329e725402 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
9e527130c3 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
9059d7db0e Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
1f00ad7039 Bug 706659 part 2: Support empty keypaths on objectStores. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
48abe72fd1 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
acba280070 Reftests for bug 676245, r=dbaron 2011-12-04 18:02:12 +02:00
Simon Montagu
39055bc935 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
25b5e3e769 Merge mozilla-central and mozilla-inbound 2011-12-04 15:04:54 +00:00
Mounir Lamouri
327374b6fe Bug 707085 - Fix Battery API default values. r=sicking 2011-12-04 21:00:21 +08:00
Mounir Lamouri
fe8b1f43ce Bug 704521 - Fix form history autocomplete broken for XUL elements. r=zpao 2011-12-04 20:59:47 +08:00
Bernd
f5016d85fe followup on bug 460637 2011-12-04 07:20:09 +01:00
Jim Blandy
df8d965b47 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
ef684c99b3 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
00abff7ce7 Bug 705439 - Remove dead code: nsHTMLEditor::GetBlockSection / nsHTMLEditor::GetBlockSectionsForRange; r=ehsan 2011-12-03 22:50:17 +01:00
Ms2ger
22afc57540 Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan 2011-12-03 22:50:17 +01:00
Ms2ger
df3ccb763c Bug 705437 - Remove dead code: nsCoreUtils::GetLastSensibleColumn; r=surkov 2011-12-03 22:50:17 +01:00
Ms2ger
62a31e6f86 Bug 705436 - Remove dead code: getDocumentTypeCB; r=surkov 2011-12-03 22:50:17 +01:00
Ms2ger
685ed2f318 Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob 2011-12-03 22:50:17 +01:00
Ms2ger
20adc6aedf Bug 705434 - Remove dead code: nsXULDocument::ContextStack::IsInsideXULTemplate; r=jst 2011-12-03 22:50:17 +01:00
Ms2ger
f29709a5a1 Bug 705433 - Remove dead code: TestNode::HasAncestor; r=jst 2011-12-03 22:50:17 +01:00
Ms2ger
22368cd88a Bug 705428 - Remove dead code: nsXMLContentSerializer::AppendToString(const PRUnichar*, PRInt32, nsAString&); r=sicking 2011-12-03 22:50:16 +01:00
Ms2ger
0b57453763 Bug 705427 - Remove dead code: nsAttrAndChildArray::SetAttr(nsIAtom*, const nsAString&); r=sicking 2011-12-03 22:50:16 +01:00
Ms2ger
9e8128012d Bug 705357 - Use IDL for Components.utils.getGlobalForObject; r=bholley 2011-12-03 22:50:16 +01:00
Ms2ger
5cfbf6cd8a Bug 705333 - Use IDL for nsJSCID::{CreateInstance,GetService}; r=bholley 2011-12-03 22:50:16 +01:00
Ms2ger
73f85244e0 Bug 705443 - Use IDL for nsIDOMWindowUtils::GetClassName; r=khuey 2011-12-03 22:50:16 +01:00
Ms2ger
68e1ed1f12 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Andrew Quartey
70e4721eac Bug 704013 - nsStyleLinkElement::ParseLinkTypes should use HTML5 definition of "whitespace"; f=Ms2ger r=bz 2011-12-03 22:50:15 +01:00
Fabien Cazenave
9a367e43a4 Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan 2011-12-03 22:50:15 +01:00
Kyle Huey
501b6f1760 Merge b-s to m-c. 2011-12-03 16:27:21 -05:00
Brian Hackett
f0c35c0584 Merge MC -> JM 2011-12-03 10:34:26 -08:00
Kyle Huey
4cbbe52e73 Bug 704464: Part 2 - Make Database creation hook into the quota system. r=bent 2011-12-03 12:18:38 -05:00
Kyle Huey
803110ae21 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
05b303b524 Bug 699156: Support TypedArrays in XPConnect. r=bholley,evilpie 2011-12-03 09:33:20 -05:00
Ed Morley
fa100ab132 Merge mozilla-central and mozilla-inbound 2011-12-03 09:21:02 +00:00
Ed Morley
f146f7fe41 Backout 75e72a52a0cb, 1120ae801dac, b2572a5cffa9, fa6a273a9b41 (bug 701863) for build failures 2011-12-03 09:13:14 +00:00
Hannes Verschore
7e2997e6b4 Add testcase for bug 476088. r=jruderman 2011-12-03 03:29:59 -05:00
Hannes Verschore
6a2f03a63f Add a test for bug 373843. r=jruderman 2011-12-03 03:29:59 -05:00
Brian Hackett
98abec9b55 Merge MC -> JM 2011-12-01 11:51:09 -08:00
Matt Brubeck
9cc1406106 Merge mozilla-central and mozilla-inbound 2011-12-01 11:17:54 -08:00
Benjamin Smedberg
3b2e5e7fb5 Bug 705154 - Hang monitor incorrectly killing the app on mac when the user is idle: unlike other platforms, the main loop on Mac doesn't call processNextEvent in a loop: instead it calls into [NSApplication run] and we check whether there are pending XPCOM events during processing. Suspend the hang monitor when we pause for incoming events by subclassing [NSApplication nextEventMatchingMask], r=smichaud
--HG--
extra : rebase_source : 753343ca11d3ce8b6801a5be8831621887fbe70b
2011-12-01 12:50:04 -05:00
Alexander Surkov
b1bd682dc6 Bug 703202 - ARIA comboboxes don't fire value change events, r=tbsaunde, marcoz 2011-12-02 00:12:02 +08:00
Alexander Surkov
412b0c0bbf Bug 706784 - Firefox 8.0.1 Crash Report [@ nsLinkableAccessible::GetValue(nsAString_internal&) ], r=marcoz 2011-12-02 00:11:53 +08:00
Mark Banner
6e18f4f795 Fix comm-central app bustage from bug 696498 - change the depth of the makefiles to account for being generated from the comm-central build system now that the old xpfe autocomplete files are no longer generated within the mozilla-central part of the build system. rs=Neil over irc. NPOTFFB DONTBUILD 2011-12-01 15:26:29 +00:00