Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove seekable flag | Fernando Jiménez Moreno | 2018-10-26 | 1 | -21/+1 | |
| | ||||||
* | Byte range request for HTMLMediaElement seeking | Fernando Jiménez Moreno | 2018-10-26 | 1 | -52/+118 | |
| | ||||||
* | HTMLMediaElement seeking | Fernando Jiménez Moreno | 2018-10-26 | 1 | -5/+106 | |
| | ||||||
* | Setter and getter for HTMLMediaElement.currentTime | Fernando Jiménez Moreno | 2018-10-26 | 1 | -6/+55 | |
| | ||||||
* | Update servo-media to fix intermittent timeouts | Fernando Jiménez Moreno | 2018-10-24 | 1 | -1/+3 | |
| | ||||||
* | Updated servo-media | Alan Jeffrey | 2018-10-22 | 1 | -0/+3 | |
| | ||||||
* | Implement basic <source> support for HtmlMediaElement | est31 | 2018-10-12 | 1 | -3/+22 | |
| | | | | | | | | | | | | | | | The spec has a complicated algorithm for selecting a <source> element among multiple <source> children of a HtmlMediaElement where it loops over all of them, tries each and takes the first where "everything works out". This commit implements a much simpler and restricted approach by just taking the first <source> child, and if that fails, failing altogether, without looking at any further children. This is an improvement over the current status and makes gifv items on imgur playable, although it doesn't mean full <source> support. | |||||
* | Add task source for media element | chansuke | 2018-10-10 | 1 | -14/+11 | |
| | ||||||
* | Make sure we do not skip the HaveMetadata state. Fixes a bunch of tests | Fernando Jiménez Moreno | 2018-10-08 | 1 | -0/+5 | |
| | ||||||
* | Handle Player errors | Fernando Jiménez Moreno | 2018-10-08 | 1 | -14/+26 | |
| | ||||||
* | Update servo-media: handle decoder errors and use safer/nicer player API | Fernando Jiménez Moreno | 2018-10-08 | 1 | -4/+1 | |
| | ||||||
* | Move player setup to common path, deal with setup error and clean debug msgs | Fernando Jiménez Moreno | 2018-10-08 | 1 | -12/+10 | |
| | ||||||
* | Network EOF does't imply media processing EOS | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -27/+10 | |
| | | | | | | | | Since media processing is highly asynchronous, there is no need to match one event with the other. Then error handling is done when the player emits the EOS event. The have_metadata attribute is not required anymore. | |||||
* | Fix HAVE_METADATA and HAVE_CURRENT_DATA state transitions | Fernando Jiménez Moreno | 2018-10-08 | 1 | -37/+46 | |
| | ||||||
* | Do not set metadata until we have enough data | Fernando Jiménez Moreno | 2018-10-08 | 1 | -1/+1 | |
| | ||||||
* | Set input size | Fernando Jiménez Moreno | 2018-10-08 | 1 | -1/+9 | |
| | ||||||
* | Rustfmt and make tidy happy | Fernando Jiménez Moreno | 2018-10-08 | 1 | -33/+37 | |
| | ||||||
* | Media element duration param | Fernando Jiménez Moreno | 2018-10-08 | 1 | -9/+26 | |
| | ||||||
* | videoWidth and videoHeight params | Fernando Jiménez Moreno | 2018-10-08 | 1 | -3/+35 | |
| | ||||||
* | Cancel fetch in some media data processing steps | Fernando Jiménez Moreno | 2018-10-08 | 1 | -3/+6 | |
| | ||||||
* | Player pause | Fernando Jiménez Moreno | 2018-10-08 | 1 | -2/+1 | |
| | ||||||
* | Add show poster flag | Fernando Jiménez Moreno | 2018-10-08 | 1 | -5/+21 | |
| | ||||||
* | Abort in-progress fetching process during load algorithm | Fernando Jimenez Moreno | 2018-10-08 | 1 | -5/+10 | |
| | ||||||
* | Clarify some FIXMEs and bail out if we fail pushing data to player | Fernando Jiménez Moreno | 2018-10-08 | 1 | -5/+14 | |
| | ||||||
* | Move unsafe_no_jsmanaged_fields to trace | Fernando Jiménez Moreno | 2018-10-08 | 1 | -4/+1 | |
| | ||||||
* | Do not share entire FrameRenderer with layout, only current frame | Fernando Jiménez Moreno | 2018-10-08 | 1 | -12/+78 | |
| | ||||||
* | Player does not need to go inside a mutexed Arc | Fernando Jiménez Moreno | 2018-10-08 | 1 | -21/+13 | |
| | ||||||
* | dom: media: implement LayoutHTMLMediaElementHelpers trait for LayoutDom | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -1/+19 | |
| | ||||||
* | dom: add mediaframewebrenderer | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -2/+13 | |
| | ||||||
* | HACK: don't call media_source_failure_steps when eos | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -2/+2 | |
| | | | | | Because gstreamer's appsrc queue might be big enough to swallow the whole video holding the metadata extraction until EOS. | |||||
* | dom: htmlmediaelement: add initial player bits | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -28/+101 | |
| | | | | Also removes the usage of audio-video-metadata crate (?) | |||||
* | add a fixme message of not implemented mode | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -0/+1 | |
| | ||||||
* | htmlmediaelement: typo | Víctor Manuel Jáquez Leal | 2018-10-08 | 1 | -1/+1 | |
| | ||||||
* | Format script component | chansuke | 2018-09-19 | 1 | -85/+81 | |
| | ||||||
* | implement window.stop, improve aborting document load | Gregory Terzian | 2018-07-29 | 1 | -1/+1 | |
| | ||||||
* | introduce "per task source" ignoring of tasks | Gregory Terzian | 2018-07-10 | 1 | -2/+2 | |
| | ||||||
* | Remove gecko-media dependency | Fernando Jiménez Moreno | 2018-01-19 | 1 | -24/+0 | |
| | ||||||
* | Use GeckoMedia and only that on platforms that support it | Anthony Ramine | 2017-11-24 | 1 | -13/+20 | |
| | ||||||
* | Implement HTMLMediaElement::canPlayType using gecko-media | Philippe Normand | 2017-11-23 | 1 | -0/+17 | |
| | ||||||
* | Merge request type and destination | Keith Yeung | 2017-10-23 | 1 | -6/+5 | |
| | ||||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`. | |||||
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -16/+16 | |
| | | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments. | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax. | |||||
* | Change AttrValue::Url to AttrValue::ResolvedUrl | Anthony Ramine | 2017-10-15 | 1 | -9/+1 | |
| | | | | | There is actually only one attribute that can use that, the one for <body background>. | |||||
* | Fix URL attributes | Anthony Ramine | 2017-10-11 | 1 | -1/+10 | |
| | | | | | URL attributes should always use AttrValue::Url, and the input should be resolved against the document's base URL at setting time always. | |||||
* | Implement a bit more of the "object" path when loading media | Anthony Ramine | 2017-10-10 | 1 | -4/+19 | |
| | ||||||
* | Properly abort any ongoing resource selection on loading a new media | Anthony Ramine | 2017-10-10 | 1 | -8/+10 | |
| | ||||||
* | Set have_metadata for audio elements too | Anthony Ramine | 2017-10-04 | 1 | -32/+4 | |
| | | | | | We don't store video-specific metadata anymore, and we don't ignore audio-specific metadata anymore. We now just acknowledge that we received some metadata. | |||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -8/+8 | |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | |||||
* | Rename DOMRefCell<T> to DomRefCell<T> | Anthony Ramine | 2017-09-26 | 1 | -8/+8 | |
| | | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things. |