Commit Graph

4207 Commits

Author SHA1 Message Date
Matthew Gregan
85be2a335c Bug 920870 - Normalize TimeRanges returned by HTMLMediaElement Seekable and Buffered. r=cpearce 2013-09-27 17:22:38 +12:00
Matthew Gregan
e44caba3d4 Bug 905513 - Rework MediaSource/MediaElement integration and implement limited initial multiple-decoder support. r=doublec 2013-09-27 17:22:37 +12:00
Blake Kaplan
bf6062b284 Fix bug 916404. r=mccr8 2013-09-24 11:01:15 +02:00
Ryan VanderMeulen
57f4628f1d Merge the last PGO-green inbound changeset to m-c. 2013-09-25 14:51:55 -04:00
Masayuki Nakano
ee772d1cbc Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
2f532b885b Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
18aa9b09b2 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
715f30b959 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Benoit Jacob
0f90257361 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Masayuki Nakano
224a14c928 Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc 2013-09-24 19:04:16 +09:00
Masayuki Nakano
295704279b Bug 912956 part.9 Rename nsMutationEvent.h to mozilla/MutationEvent.h r=smaug
--HG--
rename : content/events/public/nsMutationEvent.h => content/events/public/MutationEvent.h
2013-09-24 19:04:16 +09:00
Rick Eyre
8dc8c232d6 Bug 868611 - Implement HTMLTrackElement::UnbindFromTree. r=rillian
Update HTMLTrackElement::UnbindFromTree to remove its TextTrack from
its HTMLMediaElement's list of TextTracks.
2013-06-24 11:35:58 -04:00
Ehsan Akhgari
a2b69d5030 Bug 919296 - Minimize the #includes in netwerk/ IDL files; r=mcmanus 2013-09-22 23:35:05 -04:00
Ehsan Akhgari
09a6579b72 Bug 919325 - Minimize the #includes in content/ IDL files; r=bzbarsky
--HG--
extra : rebase_source : 923a665eadc62046c9d5398a25187a3331fd8d25
2013-09-22 19:23:30 -04:00
Ed Morley
6648264757 Merge latest green b2g-inbound changeset and mozilla-central 2013-09-20 10:20:58 +01:00
JW Wang
c2ec690c06 Bug 894249 - Add ability to associate video with a channel so that it can interrupt the background content channel. r=mchen, r=kinetik, r=bent 2013-09-18 11:46:22 +08:00
Trevor Saunders
d6c2b40c7a bug 915566 - rm Makefiles in content/ r=ted 2013-09-12 03:52:58 -04:00
Andrew Quartey
5c3bb55d7c Bug 850364 - Implement setRangeText for HTMLInputElement. r=ehsan 2013-09-18 01:29:04 -04:00
Phil Ringnalda
afee847b66 Backed out changeset 505e8f8480d2 (bug 913597) for Android failure
--HG--
extra : rebase_source : d9ffe836559fb5a63d895d40b4f89324c2932216
2013-09-17 20:45:48 -07:00
Dan Glastonbury
c3402e1573 Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2013-09-17 20:45:48 -04:00
Ehsan Akhgari
d2564b10a0 Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Robert Longson
4bc18dc4e1 Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert 2013-09-17 13:52:39 +01:00
Olli Pettay
d2504e072c Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Rick Eyre
aa35aad13b Bug 895091 - Part 2: Add WebVTT parser and wrapper IDls r=rillian, ted, gwagner, khuey
- Added vtt.js, a JS WebVTT parser, to Gecko.
- Added a wrapper to interface between it and Gecko.
- Updated TextTrackCue and WebVTTListener to work with it.

--HG--
rename : content/media/WebVTTLoadListener.cpp => content/media/WebVTTListener.cpp
rename : content/media/WebVTTLoadListener.h => content/media/WebVTTListener.h
2013-09-19 08:26:00 -07:00
Benoit Jacob
b268087442 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
818ff844d4 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Benoit Jacob
18df240efb Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Ralph Giles
aad03166c6 Backed out changeset e110a9187bb1 (bug 895091)
--HG--
rename : content/media/WebVTTListener.cpp => content/media/WebVTTLoadListener.cpp
rename : content/media/WebVTTListener.h => content/media/WebVTTLoadListener.h
2013-09-18 13:47:07 -07:00
Rick Eyre
ba5b9da05c Bug 895091 - Add WebVTT parser and wrapper IDLs r=rillian, ted, gwagner, khuey
- Added vtt.js, a JS WebVTT parser, to Gecko.
- Added a wrapper to interface between it and Gecko.
- Updated TextTrackCue and WebVTTListener to work with it.

--HG--
rename : content/media/WebVTTLoadListener.cpp => content/media/WebVTTListener.cpp
rename : content/media/WebVTTLoadListener.h => content/media/WebVTTListener.h
2013-09-10 06:59:00 -07:00
Rick Eyre
5939f3d97a Bug 883173 - Part 3: Implement TextTrack::ActiveCues. r=cpearce, r=rillian
- Active cues now returns the subset of cues in mCueList that are valid
for the current playback time.
- Introduces new code in media element, when seeking, and in TextTrack, when
adding and removing cues, to mark the active cue list as dirty so that we know
when we might need to rebuild the list completely.
2013-06-14 16:10:36 -04:00
Ryan VanderMeulen
b2393cd728 Merge m-c to b2g-inbound. 2013-09-14 23:07:59 -04:00
Marco Chen
c57f2db6d5 Bug 823273 - Part 3: Music volume should be faded when notification sound is on going - Media element. a=kinetik 2013-09-02 17:45:44 +08:00
Stephen Pohl
06ac3a989e Backout bug 817700 for causing various regressions. r=me 2013-09-13 14:14:36 -04:00
Jonathan Watt
46bb966226 Bug 915794 - Remove the pref for <input type=range>. r=mounir 2013-09-12 19:15:48 +01:00
Jonathan Watt
0420c8e230 Bug 915758 - Split out <input type=number> to be behind its own pref. r=mounir 2013-09-12 19:11:00 +01:00
Stephen Pohl
896265ffe7 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc,bz 2013-09-12 17:04:10 -04:00
Ryan VanderMeulen
982559c42b Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
b2d6edce8e Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Bobby Holley
f5caa39230 Bug 856437 - Remove LookupMethod test coverage. r=gabor 2013-09-11 11:28:20 -07:00
Martijn Wargers
a053abedf1 Bug 914940 - Remove some enablePrivilige calls. r=jgriffin 2013-09-11 10:51:09 +02:00
David Zbarsky
d72b3f16e2 Bug 911575 - Convert canvas callbacks to WebIDL r=bz 2013-09-11 18:35:51 -04:00
Andrew McCreight
dbad6e68d0 Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Jonathan Watt
b3000c5198 Bug 907767 - Make HTMLInputElement::OpenDirectoryPicker dispatch progress events. r=smaug 2013-09-04 15:21:32 +01:00
Ms2ger
877a9a719d Bug 913923 - Part c: Stop including BindingUtils.h in UnionTypes.h; r=dzbarsky 2013-09-10 09:03:38 +02:00
Ms2ger
8e0e691623 Merge backout. 2013-09-09 16:56:18 +02:00
Ms2ger
7cc7e62ccd Backout changesets 194d051724a8:89e680f30d31 (bug 817700) for insufficient review. 2013-09-09 16:56:00 +02:00
Stephen Pohl
1e6232e229 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-09-06 12:30:21 -04:00
Bobby Holley
0fcc3886ab Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Ms2ger
5be71d35ad Bug 909953 - Introduce a HTMLAllCollection class; r=smaug 2013-09-06 08:41:42 +02:00
Ms2ger
ae5e9e46b9 Bug 910238 - Part a: Remove some includes from HTMLInputElement.h; r=bz 2013-09-06 08:40:45 +02:00
Nicholas Nethercote
8b1341d991 Bug 910771 (part 1) - Create js/Tracer.h and gc/Tracer.cpp. r=terrence. 2013-09-02 22:01:18 -07:00
Kyle Huey
a53f6f80b6 Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Ehsan Akhgari
61d8f84eb7 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Benoit Jacob
5479e2b22e Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Ehsan Akhgari
3956f8e1f5 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Jeff Gilbert
40da9960b1 Bug 912606 - Warn on webgl context requests with mismatched ids. - r=bjacob 2013-09-06 11:48:18 -07:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
cf2028664c Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Bobby Holley
e903e0f569 Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Wes Kocher
10df022340 Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Wes Kocher
8ccb104e0e Merge fx-team to m-c on a CLOSED TREE 2013-09-04 17:02:06 -07:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
aceman
b968953397 Bug 677912 - Follow-up to bug 136556 - change the string ID for localizers. r=bz 2013-09-04 12:52:25 -04:00
Robert O'Callahan
f19415be79 Bug 877135. Remove leftover test. r=doublec 2013-09-04 16:43:10 +12:00
Andrea Marchesini
3660c403e6 Bug 887364 - Update URLUtils interface. r=ehsan 2013-09-04 13:05:10 -04:00
Masatoshi Kimura
216f76200c Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Jonathan Watt
27f311b7c8 Bug 912385 - Include a trailing slash in File.path. r=sicking 2013-08-27 09:30:28 +01:00
Reuben Morais
46d967b6c3 Bug 596681 - Implement HTMLSelectElement.selectedOptions attribute. r=smaug 2013-09-02 14:23:27 -03:00
Jonathan Watt
97b5d660ad Bug 907428 - Include the file path in the 'filename' field in the MIME headers for files in multipart form submissions. r=sicking 2013-08-23 08:44:11 +01:00
Jonathan Watt
45037ed8c8 Bug 894840, part 5 - Add a 'path' property to the File objects in the input.files FileList, and set it when a directory is picked. r=khuey 2013-08-23 08:41:17 +01:00
Jonathan Watt
ab0a778af7 Bug 894840, part 4 - Add an openDirectoryPicker() method to HTMLInputElement. r=mounir, r=khuey 2013-08-22 10:43:26 +01:00
Jonathan Watt
3f2a76a517 Bug 894840, part 3 - Convert HTMLInputElement to use nsTArray<nsCOMPtr<T> >. r=mounir 2013-08-16 11:11:29 +01:00
Nicholas Nethercote
d74157039d Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Cameron
a958a793b4 Bug 910158. Don't include BasicLayers.h unnecessarily. r=roc 2013-09-02 10:20:45 +12:00
Ehsan Akhgari
dc804b0ed5 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Birunthan Mohanathas
4bfb9fb099 Bug 884332 - Part 2: Limit domain labels to 63 chars in HTMLInputElement::IsValidEmailAddress. r=mounir 2013-08-30 08:13:35 -04:00
Ed Morley
00b0b7167e Bug 900453 - Disable test_fullscreen-api.html on OS X since it intermittently breaks the slaves & means they need a reboot 2013-08-30 12:07:58 +01:00
Guillaume Abadie
c981a4bb3a Bug 645792 - Replace throwing an exception by returning null on HTMLCanvasElement::GetContext. r=bjacob
CLOSED TREE
2013-08-29 10:14:22 -04:00
Ryan VanderMeulen
c8c1dbcab7 Backed out changeset a58d895d8197 (bug 645792) for OSX leaks. 2013-08-29 13:46:10 -04:00
Guillaume Abadie
894d5bc932 bug 645792 - replace throwing an exception by returning null on HTMLCanvasElement::GetContext - r=bjacob 2013-08-29 10:14:22 -04:00
Ryan VanderMeulen
1d7bdba295 Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Kan-Ru Chen
e6af0b6e4b Bug 879214 and bug 881443 - Use 'playing' event instead of 'progress' in test_audio_wakelock and test_video_wakelock. r=baku 2013-08-28 12:05:06 -04:00
Ehsan Akhgari
c48e2a86be Bug 910237 - Get rid of the nsIEditor.h #include in nsTextControlFrame.h; r=mats,ehsan 2013-08-28 19:06:00 +00:00
Nicholas Nethercote
3c9a9235c5 Bug 909623 (part 5) - Remove |#include "jsapi.h"| from jsfriendapi.h. r=luke.
--HG--
extra : rebase_source : 2a7f0f65f3e08bb15ade23f4c556340650b48c71
2013-08-21 22:28:12 -07:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Trevor Saunders
4191fce68e bug 908347 - rename CloseContainer() to CloseBody() r=mrbkap 2013-08-17 15:26:48 -04:00
Trevor Saunders
16d3b0d967 bug 908347 - remove logging stuff for html content sink r=mrbkap
It hardly seems useful to have debug logging for creating about:blank
2013-08-17 15:18:03 -04:00
Trevor Saunders
e829370329 bug 908347 - remove AddLeaf() r=mrbkap 2013-08-17 14:48:06 -04:00
Trevor Saunders
9e89d5473a bug 908347 - remove text handling from html content sink r=mrbkap 2013-08-17 14:42:20 -04:00
Trevor Saunders
b9be66f90f bug 908347 - make a bunch of html content sink stuff explicitly only deal with html:body r=mrbkap 2013-08-17 11:39:34 -04:00
Trevor Saunders
0725c40515 bug 908347 - rm nsIDebugDumpContent r=mrbkap 2013-08-17 10:46:38 -04:00
Trevor Saunders
451919578d bug 908347 - remove OpenHeadContext() r=mrbkap 2013-08-17 09:11:18 -04:00
Trevor Saunders
8a1030ed0e bug 908347 - make Open / Close Container() take an enum with only html and body elements r=mrbkap 2013-08-17 08:06:23 -04:00
Trevor Saunders
916b264dfc bug 908347 - remove nsIHTMLCOntentSink::IsEnabled r=mrbkap 2013-08-17 07:45:46 -04:00
Trevor Saunders
9b7a5a0081 bug 908347 - rm the bits of nsIHTMLContentSink nobody calls r=mrbkap 2013-08-16 22:02:26 -04:00
Trevor Saunders
5c394b9fd5 bug 908347 - HTMLContentSink::OpenContainer() doesn't need a parser node either r=mrbkap 2013-08-16 21:20:57 -04:00
Trevor Saunders
5b2e6ee3e2 bug 908347 - OpenBody() doesn't need a parser node r=mrbkap 2013-08-16 21:00:33 -04:00
Trevor Saunders
bef3c298f9 bug 908347 - SinkContext::OpenContainer() only needs a tag r=mrbkap 2013-08-16 20:45:39 -04:00
Trevor Saunders
b13117d008 bug 908347 - CreateContentObject() doesn't need a parser node r=mrbkap 2013-08-16 20:29:23 -04:00