Commit Graph

11298 Commits

Author SHA1 Message Date
Benoit Jacob
63c08f3f80 Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert 2012-08-23 14:56:17 -04:00
Andrew McCreight
ae88d3a894 Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug 2012-08-24 09:50:06 -07:00
Andrew McCreight
471b1a13bf Bug 782485 - turn nsXULPrototypeNode into a native CC class. r=smaug 2012-08-24 09:50:06 -07:00
Andrew McCreight
62325fa9f3 Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.

This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.

nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over.  See bug 774874.
2012-08-24 09:50:06 -07:00
Yury
51f5276dad Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Robert Longson
1345bb8a0e Bug 785017 - Use NS_GetStaticAtom in svg content where appropriate. r=dholbert 2012-08-24 08:29:09 +01:00
Matt Brubeck
5e47d4412f Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Boris Zbarsky
2b5786b5f1 Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Luke Wagner
94264a0bc8 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Luke Wagner
18c0268620 Bug 625199 - kill dummy frames (r=mrbkap)
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Matthew Gregan
1ddcfabab5 Bug 596453 - Fix typo in test_error_on_404.
--HG--
extra : rebase_source : b9d8a71051c06a17d59ba321e2c62c095fa917b8
2012-08-24 11:51:37 +12:00
Bobby Holley
a2d7eabc5a Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-08-23 16:44:53 -07:00
Daniel Holbert
7aec61a9d3 Bug 785191: Push a null JSContext when binding / unbinding image elements in a document. r=bz 2012-08-23 16:24:58 -07:00
Matt Brubeck
0e09726934 Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE 2012-08-23 14:47:07 -07:00
Matt Brubeck
31933d7e8b Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE 2012-08-23 14:08:42 -07:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Boris Zbarsky
9d2ad14dab Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Benoit Jacob
95a8db507f Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert 2012-08-23 14:56:17 -04:00
Bobby Holley
7d93b33884 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Robert O'Callahan
e70e7093ce Bug 779715. Part 8: Make it safe to call MediaInputPort::Destroy after streams at both ends of the port have been destroyed. r=jesup
We had problems because we'd call Destroy on a port after calling Destroy on
its streams. This patch makes the port's Destroy ControlMessage not use a stream,
instead we get the stream from the port directly. It also makes us update the
graph's mPortCount only when the port is finally destroyed; this fixes a potential
bug where the current graph could shut down when all streams are removed, before
all ports have been completely destroyed.

--HG--
extra : rebase_source : 3245fa64b79fb8a75c17190f1a4a2af6d42a5012
2012-08-24 00:46:20 +12:00
Robert O'Callahan
982fceed0a Bug 779715. Part 7: Update test_streams_element_capture_reset.html to test new functionality. r=cpearce
test_streams_element_capture_reset.html is updated to test that mozCaptureStreamUntilEnded actually stops
capturing when the stream ends. It also tests that seeking and reloading the media resource keep
feeding a mozCaptureStream stream, and feed the right amount of data.

--HG--
extra : rebase_source : 07faf20b8a99b5e7dcdfb27b3a2096fdfd570f45
2012-08-20 16:57:12 +12:00
Robert O'Callahan
727fa86a21 Bug 779715. Part 6: Rework capturing MediaStreams from media elements to use TrackUnionStreams. r=cpearce,jesup
Moves to a new setup where a decoder manages a single SourceMediaStream internally. Each stream
returned from mozCaptureStream(UntilEnded) is a TrackUnionStream which is fed by the
decoder's SourceMediaStream.
We want the captured streams to be blocked while the media element is not playing. We do that
by blocking any captured stream that has no SourceMediaStream feeding into it, and blocking
any SourceMediaStream while its decoder is not playing.
We arrange for the decoders's PlaybackEnded to be delayed until its SourceMediaStream has
finished according to the media stream graph. This ensures the state of captured media streams
corresponds more closely to the media element state.

--HG--
extra : rebase_source : 3324ff0e9bdce9c71a23c0f5f2032815e9046081
2012-08-01 00:17:22 +12:00
Chris Double
31255e897a Backout bug 730765 Part 3/3
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
9543e95d97 Backed out changeset 5583ccdfea18 2012-08-23 22:42:14 +12:00
Paul Adenot
15058d402d Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-21 16:00:23 -07:00
Ehsan Akhgari
7a743fcc5b Bug 784536 - Use the name of the enum value directly as opposed to access it from the enum's scope; r=dzbarsky 2012-08-21 19:06:50 -04:00
Ryan VanderMeulen
351d01c8ff Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail 2012-08-21 18:45:54 -04:00
Daniel Holbert
bfd9bbf0da Bug 784828 patch 2: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in nsSVGLength2.cpp. r=longsonr 2012-08-22 23:24:43 -07:00
Daniel Holbert
650d35d1e1 Bug 784828 patch 1: Make nsSVGAttrTearoffTable lookups use nsRefPtr instead of manual NS_ADDREF refcounting, in DOMSVG*List.cpp. r=longsonr 2012-08-22 23:24:41 -07:00
Paul Adenot
7751daec1e Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-15 10:36:12 -07:00
David Keeler
8c1cb54acb Bug 767636 - expose plugin fallback type to extensions. r=jaws 2012-08-21 12:40:07 -07:00
Bobby Holley
625511572e Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-21 10:27:08 -07:00
Paul Adenot
9670c86dc2 Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik 2012-08-16 18:10:36 -07:00
Kan-Ru Chen (陳侃如)
cd9d182e06 Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 18:22:58 +08:00
Kan-Ru Chen (陳侃如)
f5e3f3d680 Bug 767480 - PlanarYCbCrImage Refactoring. r=roc 2012-08-21 18:18:20 +08:00
Kan-Ru Chen (陳侃如)
22db9a8e93 Back out c8f7bace9cf9, 17ec4e01c126 (bug 767480) r=bustage 2012-08-21 17:55:02 +08:00
Kan-Ru Chen (陳侃如)
2225b447e6 Bug 767480 - Gralloc backed video buffer. r=roc 2012-08-21 14:59:42 +08:00
Kan-Ru Chen (陳侃如)
4787af5685 Bug 767480 - PlanarYCbCrImage refactoring. r=roc 2012-08-21 17:31:36 +08:00
Chris Pearce
cdc788f72d Bug 779914 - Remove redundant reset of nsHTMLMediaElement::mAudioStream. r=kinetik. 2012-08-21 17:07:00 +12:00
Chris Pearce
3eaba47273 Bug 779914 - Reset Mozilla Audio Data API in nsHTMLMediaElment::AbortExistingLoads(). r=doublec 2012-08-21 17:06:55 +12:00
Chris Double
90e10cebf3 Bug 783927 - Handle zero length audio reads in stagefright backend to fix audio issues - r=cpeterson 2012-08-21 17:03:21 +12:00
Bobby Holley
da84660fd1 Backed out changeset 61e9eaf9aae2
--HG--
extra : rebase_source : 30fb2e7a057482412d29a96f8b8e98135beb6a79
2012-08-20 21:07:07 -07:00
David Zbarsky
fbb04700b6 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Bobby Holley
e4a6e10695 Bug 784233 - Relax __exposedProps__ check for sandboxes until we can repack AMO addons. r=gal 2012-08-20 21:03:44 -07:00
L. David Baron
876e60a116 Back out nsXBLPrototypeHandler changes from changeset d09b4e60bb09 to fix bug 776075. 2012-08-20 19:23:32 -07:00
L. David Baron
8861dbb7d3 Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame 2012-08-20 19:23:32 -07:00
Ryan VanderMeulen
f12fa88179 Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7 Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Matthew Gregan
48474f4d83 Bug 783940 - Remove unnecessary nsOggDecoderStateMachine class. r=cpearce 2012-08-20 15:59:25 +12:00
Matthew Gregan
70f8167360 Bug 783179 - Remove unused mCbCrSize and mCbCrBuffer members from nsBuiltinDecoderStateMachine. r=doublec 2012-08-16 18:07:26 +12:00
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Masayuki Nakano
b147137040 Bug 422132 part.3 Disable smooth scroll in the new test due to random orange r=smaug 2012-08-20 11:46:08 +09:00
Masayuki Nakano
f19581794b Bug 422132 part.2 Add new tests r=smaug 2012-08-20 11:46:08 +09:00
Matthew Gregan
a1936af774 Bug 780490 - Re-enable test_seek, test_seek_out_of_range, and test_timeupdate_small_files on Linux. (Also bug 780491 and bug 780492). Test only. 2012-08-20 12:10:05 +12:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Phil Ringnalda
00e466bc6f Merge mozilla-central to mozilla-inbound 2012-08-19 11:20:45 -07:00
Phil Ringnalda
1b1d28cb1f Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-08-19 11:17:28 -07:00
Masayuki Nakano
3a537dd0d1 Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-20 01:46:21 +09:00
Kyle Huey
806819677e Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Bobby Holley
4a569927e2 Bug 553102 - Make content-> access default to deny if __exposedProps__ is not defined. r=mrbkap 2012-08-17 23:14:55 -07:00
Bobby Holley
88955fb8ce Bug 553102 - Remove unnecessary SpecialPowers wrap in test_canvas.html. r=me
I put this in in bug 778420, but it looks like it wasn't necessary, since the
tests seem to pass without it. It's on the critical path for this longish-running
test, and it also breaks stuff with respect to __exposedProps__. Let's kill it.
2012-08-17 23:14:55 -07:00
Gregor Wagner
fc14a541a1 Bug 781331 - Hook up systemXHR to permissions manager. r=sicking 2012-08-17 17:42:00 -07:00
Sid Stamm
8b2cf899c7 Bug 783497 - Fix CSPSource expression intersection to resolve "self" data. (r=jst) 2012-08-17 15:03:24 -07:00
John Schoenick
6328e14f3f Bug 781126 - Part 2 - nsObjectLoadingContent should call shouldLoad and shouldProcess sanely. r=jst 2012-08-17 14:45:04 -07:00
David Keeler
02cf2b5342 Bug 767636 - Expose plugin fallback type to extensions. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
938f9eee42 Bug 783351 - Remove unused variable. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
9b1ae05e71 Bug 782707 - Move waiting-on-channel bailout to after we potentially close it in nsObjectLoadingContent. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
1b88c21ec0 Bug 782703 - Ensure object tags get reloaded when unbound/rebound to the tree. r=josh 2012-08-17 14:24:00 -07:00
John Schoenick
24f0735a86 Bug 767639 - nsObjectLoadingContent - Remove activeX stubs and simpify classid/java handling. r=josh 2012-08-17 14:23:59 -07:00
Justin Lebar
c9bb43d3c4 Bug 776129 - Part 1: When an <iframe mozbrowser> calls window.open, the resulting frame must be OOP iff the opener frame is OOP. r=smaug
--HG--
extra : rebase_source : 14db2573db5e9d8ffb72798f3d856f98e49f8a83
2012-08-17 17:07:54 -04:00
Paul Adenot
80b3876f46 Bug 762282 - Don't notify the HTMLMediaElement if we reach the end of the media while seeking for metadata. r=chris.double 2012-08-17 10:01:08 -07:00
Brian R. Bondy
703b837984 Bug 731307 - Use async filepicker from /content. r=mounir 2012-08-17 11:35:01 -04:00
Ed Morley
7a68f05d39 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Zoe Bellot
ccf0a0450d Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-17 12:02:18 +02:00
Zoe Bellot
db5a881e7f Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug 2012-08-17 11:53:44 +02:00
Ed Morley
2d0ee22719 Backout 2b5b8baa5816 (bug 767636) for causing bug 783836 2012-08-19 02:08:13 +01:00
Chris Jones
d0eff0d38b Bug 776069: Disable remote audio for gonk. Sigh. r=kinetik 2012-08-18 16:14:37 -07:00
Ed Morley
46062461e7 Bug 608634 - Disable test_error_in_video_document.html for too many intermittent failures; r=philor 2012-08-18 23:59:34 +01:00
Ed Morley
70e369a460 Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903 2012-08-18 23:29:13 +01:00
Chris Jones
b565a218be Bug 783736: Load in-gecko controls for media-plugin types. r=roc 2012-08-18 14:48:25 -07:00
Matthew Gregan
4a8b47119c Bug 770945 - Back out unnecessary change. r=backout 2012-08-17 16:52:08 +12:00
Chris Pearce
274d465a14 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Matthew Gregan
25a5e3ddb3 Bug 782876 - Remove unnecessary returns from event handlers in media tests. r=doublec 2012-08-15 16:41:24 +12:00
Matthew Gregan
2c8e9d8fe6 Bug 770945 - Simple media events shouldn't be cancelable. r=roc 2012-08-14 15:26:43 +12:00
Masayuki Nakano
843864393f Bug 422132 part.2 Reset DeltaAccumulator::mPendingScrollAmountX and DeltaAccumulator::mPendingScrollAmountY if the direction is changed r=smaug 2012-08-17 10:32:15 +09:00
Masayuki Nakano
ac015d98bb Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug 2012-08-17 10:32:15 +09:00
Chris Pearce
8ceac78a9d Bug 781384 - Allow web apps to exit fullscreen outside of user generated event handlers. r=jlebar 2012-08-17 12:47:48 +12:00
Chris Pearce
a7be937da8 Bug 782852 - Assume fullscreen/pointer lock is approved hwhen full-screen-api.approval-required pref is false. r=smaug 2012-08-17 12:47:37 +12:00
Jim Blandy
15c77f9995 Bug 777174: Change CallNonGenericMethod to take the predicate and implementation as template arguments, not function arguments. r=luke
On x86_64 Fedora 17, this patch yields an 8ms (1.6%) speedup on SunSpider compared to the tree just prior to the introduction of CallNonGenericMethod, or a ~12ms (2.8%) speedup compared to the tree just after the introduction.
2012-08-16 11:40:05 -07:00
Marshall Moutenot
ae371ade93 Bug 737064 - sync CSP source-expression parsing with w3c spec (r=geekboy)
--HG--
extra : rebase_source : 895ec1b90e688f14e5c19af1411c4b2631cbc818
2012-08-16 11:02:17 -07:00
Andrew McCreight
b4633218eb Bug 782677 - Misc. fixes for CHECK_VALID_NODEINFO, and demacro it. r=smaug 2012-08-16 08:07:55 -07:00
Ben Turner
10787d0206 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Masayuki Nakano
dcc77e57b8 Bug 782190 Implement onwheel attribute and onwheel property on window, document and element r=smaug, sr=jst 2012-08-16 08:09:42 +09:00
Neil Deakin
c3d4dfaf57 Bug 743975 - Remove events that are now unused, r=smaug 2012-08-15 14:52:42 -04:00
Neil Deakin
ebcdb10b44 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
John Schoenick
5e8c71800a Bug 781265 - Remove old logic that double-creates frameloaders in nsObjectLoadingContent. r=josh 2012-08-15 11:26:36 -07:00
John Schoenick
1336ce86e5 Bug 782707 - Avoid an assertion in nsObjectLoadingContent. r=josh 2012-08-15 11:26:35 -07:00
John Schoenick
882f758477 Bug 781394 - Don't fire plugin errors for plugins that never got to a determined type. r=josh 2012-08-15 11:26:35 -07:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Gregor Wagner
f79e6cb659 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Ed Morley
966fee8835 Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981 2012-08-15 18:10:55 +01:00
Ed Morley
42369890c2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-15 16:17:53 +01:00
Kyle Huey
fa127e8648 Merge m-c to b-s. 2012-08-15 06:25:20 -07:00
Olli Pettay
aeda425867 Bug 780199 - better mutationobserver handling when attribute value doesn't change, r=sicking 2012-08-15 13:06:01 +03:00
Kyle Huey
30cef0f1d5 Merge m-c to b-s. 2012-08-14 11:14:40 -07:00
Kyle Huey
725de5f1f9 Bug 683290: Followup to placate nsObjectLoadingContent. r=johns 2012-08-14 10:15:45 -07:00
Kyle Huey
aac95c6560 Bug 683290: Followup to placate nsObjectLoadingContent. 2012-08-14 10:04:39 -07:00
Ehsan Akhgari
805b10b6d6 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Kyle Huey
4dcafaedea Bug 697230: Part 3 - Make style images block onload. r=bz 2012-08-13 16:04:17 -07:00
Kyle Huey
2fc3f31d0c Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz 2012-08-13 15:58:53 -07:00
Kyle Huey
0cc1c18795 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-08-13 15:04:19 -07:00
Kyle Huey
e3dadea704 Bug 683290: Discard images that are not in the DOM. r=bz 2012-08-13 15:11:50 -07:00
Masayuki Nakano
7ab97ad2aa Bug 782739 Handle new mousewheel prefs in browser_fullZoom.js r=smaug+dao 2012-08-16 00:51:13 +09:00
Benoit Jacob
19c5d673a6 Bug 763355 - attempt to fix timeouts in WebGL mochitest on Android slaves by avoiding loading the js-test-post.js script - r=jgilbert
Indeed, we have data here showing that the timeouts are caused by failure to load this file. Reason not yet understood.
2012-08-14 12:59:14 -04:00
Kyle Huey
adc77cb365 Bug 685516: Instead of decoding small images synchronously and large images asynchronously, always decode synchronously for some time, and post the remainder to the event loop if necessary. r=joe 2012-08-13 11:12:15 -07:00
Mark Capella
7e0b8d3bac Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Chris Pearce
e847557147 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Alexander Boldyrev
45a38ebb0b Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Ryan VanderMeulen
902d64ba8e Merge m-c to inbound. 2012-08-11 23:34:26 -04:00
Masayuki Nakano
539ddd3a14 Bug 719320 fix bustage r=no 2012-08-12 12:32:30 +09:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
dc168c0fe1 Bug 719320 part.18 Clean up legacy mouse scroll event r=smaug 2012-08-12 10:42:37 +09:00
Masayuki Nakano
fef53e910a Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
054c5d328e Bug 719320 part.10 Add new tests and remove tests for old ESM's legacy mouse scroll event handler r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
d3e3af5edb Bug 719320 part.8-11 Cancel applying delta multipliers from overflowDelta r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
53c900db7e Bug 719320 part.8-9 Handle WheelEvent.deltaZ in ESM r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
737ff36abf Bug 719320 part.8-8 widget should be able to speicify the scroll type r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
3cdce54608 Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
aa2205d526 Bug 719320 part.8-6 Init lineOrPageDeltaX and lineOrPageDeltaY from accumulated delta values if the wheel event is caused by pixel scroll only device or the delta values have been modified with prefs r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
cee821b532 Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
e828866df7 Bug 719320 part.8-3 Redesign nsMouseWheelTransaction for D3E WheelEvent r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
1bc02406f9 Bug 719320 part.8-2 GetScrollAmount() should return both width and height for oblique wheel event r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
92d1e07e69 Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
a2e667b6b9 Bug 719320 part.7 Drop NS_QUERY_SCROLL_TARGET_INFO handler from ESM r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
a418ba8a35 Bug 719320 part.6 Separate pixel delta value accumulation code r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
1818fe2fb2 Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
d26b327f14 Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
785b73e21d Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
06c7f1baf6 Bug 719320 part.2 Separate code for deciding scroll target from nsEventStateManager::DoScrollText() r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
David Zbarsky
b462ec011a Bug 773842 - Fix build warnings under content/ r=mounir 2012-08-10 14:01:16 -04:00
Alexandros Chronopoulos
b42d0e9db4 Bug 748144 - Support multichannel Opus files. r=rillian
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.

To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Justin Lebar
1994f4ebb3 Bug 780761 - Fix race condition in initialization of message manager for popups from <iframe mozbrowser>. r=smaug
Calling show() causes EnsureMessageManager() to SetCallbackData() on the message manager.  If we don't do this, then the message manager will throw when we try to send a message.
2012-08-13 15:19:09 -04:00
Justin Lebar
0d4822afe2 Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Masayuki Nakano
b88a7758de Bug 659071 DoScrollZoom() should check if the event target is under XUL document rather than checking if it's XUL element r=smaug 2012-08-13 23:20:13 +09:00
Masayuki Nakano
933a9ad01b Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug 2012-08-13 21:11:20 +09:00
Mounir Lamouri
1077929b19 Bug 782227 - Add a todo() when there is no invalid form submission observer (content/ tests). r=Ms2ger 2012-08-13 12:14:34 +02:00
Matt Woodrow
41a9a1a13c Bug 539356 - Part 31 - Call Azure canvas DidTransactionCallback even when painting from DrawWindow(). r=roc 2012-08-13 22:10:57 +12:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
1f5f272808 Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Aryeh Gregor
dbff4eaa1c Bug 782252 - Convert declared types to nsresult; r=ehsan 2012-08-06 15:02:31 +03:00
Masayuki Nakano
c5307640f6 Bug 782903 Set enough long timeout time in test_bug422132.html r=smaug 2012-08-15 22:28:17 +09:00
Robert Longson
41330707fe Bug 782387 - Blank SVG rendering, after clicking a link to a view fragment and then navigating back. r=dholbert 2012-08-15 12:50:48 +01:00
Bobby Holley
ef3a2ff757 Bug 781521 - Fix Message Manager blob test. r=Ms2ger 2012-08-14 20:54:33 -07:00
Masayuki Nakano
74f755bd54 Bug 782552 Set overflow delta values even if there is no scroll target for the wheel event r=smaug 2012-08-15 09:52:07 +09:00
Masayuki Nakano
a2e9895dca Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-15 09:52:07 +09:00
Alexandre D'Eschambeault
7d7c542db1 Bug 751452 - Prevent DNT modification in unprivileged mode + test case. r=khuey 2012-08-13 22:47:19 -04:00
Joe Drew
13c7575b24 Bug 773097 - Don't create our surface from GetCanvasLayer. It's called while painting, and doing so will destroy the layer manager that we're painting with. r=roc,mattwoodrow
Canvases use the "persistent" layer manager, which is only used after 5
seconds has elapsed on Windows. So if we start up to a site that uses canvas,
we risk switching to the persistent layer manager while drawing using the
temporary layer manager. Because layer managers are singletons, they're not
refcounted, and so we end up holding a dead pointer and corrupting the heap.
2012-08-10 12:13:09 -04:00
Nicolas Silva
d0d69183bb Bug 773469 - Remove unnecessary layer transactions when using async-video. r=roc 2012-08-10 11:42:53 -04:00
Ed Morley
10b5d6d4ac Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html 2012-08-10 14:50:43 +01:00
Robert O'Callahan
1fd3d80a86 Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
--HG--
extra : rebase_source : eceb07d8d35e0dd5dd31d065cb04eec12d69a283
2012-08-10 23:17:06 +12:00
Chris Double
716e968bbd Bug 759945 - Part 6: Respect media.plugins.enabled preference - r=cpearce
--HG--
extra : rebase_source : e10d292ea2a90eb4b3796e630f67d5aab5fa5654
2012-08-10 20:15:31 +12:00
Chris Double
a398908995 Bug 759945 - Part 4: MP4 test file - r=cpearce
--HG--
extra : rebase_source : 0aa155c4ebc60ddc8afe720161af345c555897a8
2012-08-10 20:15:24 +12:00
Chris Double
4e22a0f0ae Bug 759945 - Part 3: Android OS headers and stub files for software decoding using libstagefright on Android - r=cpearce
--HG--
extra : rebase_source : 0f5b9fed7dac3040a98af6dcc324407c4f8a9772
2012-08-10 20:15:20 +12:00
Chris Double
2e4abce09a Backed out changeset dcb9299974a0 due to audio issues on android and b2g
--HG--
extra : rebase_source : 7e2b937487c3df9a40406eadf250e6596b89664f
2012-08-10 17:30:01 +12:00
Robert O'Callahan
d53617a13e Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Aryeh Gregor
248f3b6fa5 Bug 782232 - Fix more cases where bool is returned instead of nsresult; r=josh 2012-08-13 14:41:53 +03:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jonathan Watt
3f4f4769c2 Bug 782141 - Don't mix signed and unsigned variables in nsSVGFEMorphologyElement::Filter(), and clamp radii to 100000. r=roc. 2012-08-14 10:12:52 +01:00
Peter Van der Beken
13f425b97c Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Justin Lebar
7649f5cc25 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Simon Montagu
4842b65418 Bug 562169. Add support for :dir(ltr/rtl) CSS selector, content part, r=bz 2012-04-17 07:03:10 +03:00
Simon Montagu
4d946e9779 Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz 2012-08-09 20:37:58 -07:00
Simon Montagu
f8086abda8 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Benoit Jacob
89784c667c Bug 777028 - WebGL: allow only 16 samplers per program on Mesa - r=jgilbert 2012-08-09 22:30:17 -04:00
Jan Beich
21c416a1bf Bug 781474 - Don't try to use FP_X_DNML on FreeBSD non-x86. r=bz 2012-08-09 17:35:53 -04:00
John Schoenick
013280620e Bug 334288 - Use early returns in nsObjectLoadingContent::IsSupportedDocument. r=bz 2012-08-09 13:57:54 -07:00
John Schoenick
a597c46f41 Bug 764480 - Don't try to instantiate plugins while not bound to tree. r=josh 2012-08-09 13:57:05 -07:00
Nicholas Cameron
d405b3166f Bug 773460; IsLinux should be false for Android. r=roc
--HG--
extra : rebase_source : ddc09bd2ad7b380d42fbefe34f2fc2e2fc9b5a39
2012-08-10 06:45:03 +12:00
Ed Morley
afd5340800 Merge mozilla-central to mozilla-inbound 2012-08-09 12:51:21 +01:00
Ed Morley
61bd42dc2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Robert O'Callahan
c686385674 Bug 779721. Part 6: Add a flag to track whether the main thread has called Destroy on a stream, and check that flag when sending a message to it. r=jesup 2012-08-09 23:30:09 +12:00
Robert O'Callahan
fd80974897 Bug 779721. Part 5: Add a comment explaining more about how MediaStream lifetimes are managed. r=jesup 2012-08-09 23:30:02 +12:00
Ms2ger
eb0692aef8 Bug 727547 - Add test. 2012-08-09 09:10:43 +02:00
Ms2ger
e2573fe71e Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz 2012-08-09 09:10:21 +02:00
Ms2ger
26217245c9 Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg 2012-08-09 09:10:13 +02:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Robert O'Callahan
e768bf4202 Bug 779721. Part 4: Fix lock ordering inversion when running control messages during a forced shutdown. r=jesup 2012-08-01 00:17:22 +12:00
Robert O'Callahan
59bc291b5c Bug 779721. Part 3: Don't clean up streams on the MediaGraph thread during a forced shutdown. r=jesup
This is actually a better fix for bug 774597. We can rely on main thread code to call
Destroy on all the MediaStreams normally. These Destroy calls can be handled even when the
MediaGraph thread has been shut down, since MediaStreamGraphImpl::AppendMessage will
call RunDuringShutdown on the Destroy messages.
2012-08-09 23:29:47 +12:00
Robert O'Callahan
8b8f22d97d Bug 779721. Part 2: Don't block a stream just because it has no consumers. r=jesup
There is actually no reason to do this.
2012-08-01 00:17:21 +12:00
Robert O'Callahan
dbd1d7313b Bug 779721. Part 1: Simplify MediaStreamGraph's invariants around when messages are processed. r=jesup
Rename mBlockingDecisionsMadeUntilTime to mStateComputedTime. The invariant is that
all graph state is known up to mStateComputedTime but not beyond it (except for some
stream contents that may be buffered beyond it).
Get rid of mMessageAffectedTime and all the code around computing "affected times" and "action times".
Instead, all messages take effect at mStateComputedTime.
Get rid of the two-phase execution of messages. Everything can just happen in a single Run() method.
2012-08-01 00:17:21 +12:00
Ed Morley
4c9a339aa1 Merge mozilla-central to mozilla-inbound 2012-08-08 19:13:29 +01:00
Ed Morley
969a047a7e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-08 17:18:26 +01:00
Kyle Huey
ed6c22b7cd Bug 754759: Unannotate tests now that Bug 774770 is fixed. 2012-08-07 13:54:46 -07:00
Ms2ger
5cd10c6422 Merge m-c to m-i. 2012-08-07 10:30:48 +02:00
Ms2ger
a45a0051cf Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00