Commit Graph

82041 Commits

Author SHA1 Message Date
Kyle Machulis
c9143bdf42 Bug 699222 - Part 1: Add MOZ_B2G_RIL (--enable-b2g-ril) configure flag. r=khuey 2011-12-05 15:58:26 +08:00
Phil Ringnalda
4c37200fc4 Bug 656943 - Disable test_offlineMode.html until someone cares enough to look at why it suddenly became flaky after 2.5 years, r=hsivonen 2011-12-04 22:25:54 -08:00
Alexander Surkov
18093eb539 Bug 658272 - Implement figure and figcaption accessibility, r=tbsaunde, marcoz
--HG--
rename : accessible/tests/mochitest/test_elm_landmarks.html => accessible/tests/mochitest/elm/test_landmarks.html
rename : accessible/tests/mochitest/test_elm_listbox.xul => accessible/tests/mochitest/elm/test_listbox.xul
rename : accessible/tests/mochitest/test_elm_nsApplicationAcc.html => accessible/tests/mochitest/elm/test_nsApplicationAcc.html
rename : accessible/tests/mochitest/test_elm_plugin.html => accessible/tests/mochitest/elm/test_plugin.html
2011-12-05 14:04:06 +08:00
Nicholas Nethercote
018e8c959d Bug 707125 - Shrink the final string in str_unescape if possible. r=luke. 2011-12-04 20:50:52 -08:00
Phil Ringnalda
7233739fab Back out e0cb9fb30750 (bug 707051) for test failures 2011-12-04 18:48:54 -08:00
Bill McCloskey
b69507846f Bug 707051 - Change MarkChildren for shapes (r=igor) 2011-12-04 17:16:21 -08:00
Igor Bukanov
4c91f1913d bug 707114 - inline JSLinearString::mark. r=wmccloskey
--HG--
extra : rebase_source : b974429fecda0f4ba29612e0065bb2215fe7b8c2
2011-12-05 01:59:45 +01:00
Nick Thomas
dee8019cc3 Bug 705974, Remove files deprecated in Fx7/Fx8, r=khuey 2011-12-05 13:11:07 +13:00
Javi Rueda
6e55ee37c1 Bug 246827 - Newly added languages should appear on top of the list. r=gavin 2011-12-05 00:25:24 +01:00
Matt Woodrow
639b59b5e2 Bug 704468 - Reverse rotation direction for rotate3d() transform function. r=dbaron 2011-12-05 11:53:38 +13:00
Matt Woodrow
262f04cd36 Bug 698590 - Add reftest for zoomed ImageLayer. r=roc 2011-12-05 11:53:38 +13:00
Matt Woodrow
7276ce98e7 Bug 705580 - Add animated image test that uses an ImageLayer. r=joe 2011-12-05 11:53:38 +13:00
Matt Woodrow
5c443759bf Bug 705580 - Remove the cached ImageContainer when the current frame changes. r=joe 2011-12-05 11:53:38 +13:00
Benoit Jacob
cf73b0e3b9 Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob
611278abaf Bug 703927 - object-deletion-behaviour test still failing until we land 706674 - no review, fix mochitest-1 orange, CLOSED TREE 2011-12-04 15:13:18 -05:00
Benoit Jacob
d9e41b32be Bug 703927 - Upgrade WebGL conformance test suite to r16237 - no review
The canonical location for this testsuite is:

  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests
2011-12-04 14:15:53 -05:00
Benoit Jacob
8f1fe0ff76 Bug 707033 - Kill the hashtables of WebGLUniformLocation's held by WebGLProgram's - r=jgilbert
Currently, WebGLProgram holds a hashtable of refptrs to all WebGLUniformLocation's created from it.

It's used for one thing: to ensure that multiple getUniformLocation() calls on same uniform return the same WebGLUniformLocation object.

However, in a discussion on the public_webgl mailing list this week, we agreed that this was not mandated by the spec and that on the contrary, to ensure consistent behavior across browsers, we're going to require that NOT to happen. So this becomes a conformance issue.

Removing this hashtable also simplifies code and ownership patterns.
2011-12-04 14:15:43 -05:00
Benoit Jacob
a9e0d84dbd Bug 705904 - [6/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLFramebuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
ddfb4b1926 Bug 705904 - [5/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLRenderbuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
3b06741971 Bug 705904 - [4/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLShader.
2011-12-04 14:15:43 -05:00
Benoit Jacob
ecba738742 Bug 705904 - [3/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLProgram.
2011-12-04 14:15:43 -05:00
Benoit Jacob
eebc9f9fb7 Bug 705904 - [2/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLBuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
93f7c9fc64 Bug 705904 - [1/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLTexture, and introduces the WebGLFastArray helper (see comment).
2011-12-04 14:15:43 -05:00
Benoit Jacob
a4fe602cb3 Bug 704839 - [9/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch removes the old helper classes which we no longer use.
2011-12-04 14:15:43 -05:00
Benoit Jacob
4d9c6c8d26 Bug 704839 - [8/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch moves WebGLVertexAttribData further down in the file, where it belongs.
2011-12-04 14:15:43 -05:00
Benoit Jacob
1fe593ea97 Bug 704839 - [7/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes framebuffer attachment deletion.
2011-12-04 14:15:43 -05:00
Benoit Jacob
fe054ddff0 Bug 704839 - [6/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes WebGL isObject functions.
2011-12-04 14:15:43 -05:00
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