aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* auto merge of #4674 : Ms2ger/servo/doc-js, r=jdmbors-servo2015-01-205-17/+40
|\
| * Document js.rs.Ms2ger2015-01-191-0/+36
| |
| * Remove OptionalSettable.Ms2ger2015-01-195-17/+4
| | | | | | | | It was obsoleted by MutNullableJS.
* | Share supported CSS properties between style and CSSStyleDeclarationBruno de Oliveira Abinader2015-01-193-89/+20
| | | | | | | | | | | | | | | | | | | | | | Avoids duplicated code when implementing the CSS properties accessors in CSSStyleDeclaration WebIDL. Servo internal CSS properties are not accessible. CSS property "float" is unnacessible because we currently lack support for BinaryName IDL annotation (#4435). Fixes #4429, #4430.
* | auto merge of #4664 : Ms2ger/servo/from_elem, r=larsbergstrombors-servo2015-01-191-3/+4
|\ \ | |/ |/| | | It is obsolete on Rust master.
| * Stop using Vec::from_elem.Ms2ger2015-01-191-3/+4
| | | | | | | | It is obsolete on Rust master.
* | Disallow lines that span more than 160 columns.Ms2ger2015-01-191-1/+3
|/ | | | | The Rust style guide suggests 100, but we have too many violations in the tree already. This check can be tightened over time.
* auto merge of #4654 : Ms2ger/servo/bindings-docs, r=jdmbors-servo2015-01-182-2/+30
|\
| * Document global.rs.Ms2ger2015-01-181-0/+10
| |
| * Document error.rs.Ms2ger2015-01-181-2/+20
| |
* | auto merge of #4648 : PeterReid/servo/issue4662, r=jdmbors-servo2015-01-181-9/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4622 Previously, when the edit point was being clamped leftward by a shortened line, it would be placed one one character too far to the left instead of at the very end. The "if" removed here was introduced in f686943eb40aa25e0a06837eeae6a907d9617d2b to fix a crash, but the underlying reason for the crash was the incorrect "- 1", which has been there since the beginning ( 80764f65e3e4895d3a012d6bc1d3bb8183ae15da ).
| * | Fix TextInput's edit point after set_contentPeter Reid2015-01-171-9/+2
| |/ | | | | | | | | | | Previously, when the edit point was being clamped leftward by a shortened line, it would be placed one one character too far to the left instead of at the very end.
* / Implement Element#closestJim Hoskins2015-01-173-0/+27
|/ | | | | | | | fixes #4603 - Add definition to the Element.webidl and implementation to element.rs. - Create inclusive_ancestors helper in NodeHelpers - Update test expectations
* auto merge of #4540 : saneyuki/servo/internal, r=jdmbors-servo2015-01-161-3/+36
|\ | | | | | | Fix #4504
| * fixup! Make script load event asynchronous for internal scriptsTetsuharu OHZEKI2015-01-111-1/+1
| |
| * Make script load event asynchronous for internal scriptsTetsuharu OHZEKI2015-01-111-0/+28
| |
| * Add the enum to describe the script origin.Tetsuharu OHZEKI2015-01-111-3/+8
| |
* | added unit tests for TextInput - fixes #4352donaldpipowitch2015-01-161-3/+165
| |
* | Stop pretending to do anything except eagerly report pending exceptions ↵Josh Matthews2015-01-141-27/+3
| | | | | | | | after invoking a callback.
* | Add handling for unreported exceptions when invoking callback objects.Josh Matthews2015-01-144-15/+55
| |
* | Check quirks mode in {Document,Element}::getElementsByClassNameBruno de Oliveira Abinader2015-01-121-3/+14
| | | | | | | | Fixes #4604.
* | Implement most of the important WindowProxy trapsTom Schuster2015-01-123-11/+123
| |
* | Remove RethrowContentExceptions and related infrastructure.Ms2ger2015-01-102-35/+13
|/ | | | We do not intend to implement the DOM in JS, so this code isn't necessary.
* auto merge of #4609 : Ms2ger/servo/runnable-self-by-value, r=jdmbors-servo2015-01-104-10/+10
|\
| * Make StructuredCloneData an opaque struct.Ms2ger2015-01-101-4/+2
| |
| * Make Runnable::handler take self by value.Ms2ger2015-01-103-6/+8
| | | | | | | | | | With my thanks to kimundi and eddyb for their help in making this approach work.
* | auto merge of #4608 : Ms2ger/servo/ReverseChildrenIterator, r=jdmbors-servo2015-01-101-10/+12
|\ \ | |/ |/|
| * Rewrite ReverseChildrenIterator to return Temporary.Ms2ger2015-01-101-10/+12
| |
* | Implement StructuredCloneData::read.Ms2ger2015-01-103-28/+21
| |
* | Implement StructuredCloneData::write.Ms2ger2015-01-103-36/+33
| |
* | Create a StructuredCloneData struct to encapsulate the result of a ↵Ms2ger2015-01-105-14/+35
|/ | | | structured clone.
* Update FrameTree pipelines when appropriateMartin Robinson2015-01-091-34/+29
| | | | | | Instead of simply creating a new FrameTree when an iframe starts a load, update the existing FrameTree's pipeline. This prevents the FrameTree from accumulating many extra children.
* auto merge of #4596 : jimrhoskins/servo/sandbox-tokenlist, r=jdmbors-servo2015-01-091-11/+13
|\ | | | | | | | | | | | | | | | | | | | | Fixes #3758 Store the sandbox attribute of HTMLIFrameElement as a TokenList internally. Use .tokens() to iterate over the tokens instead of splitting on the string value. The external interface for sandbox remains a DOMString, which will need to be fixed when DOMSettableTokenList is implemented (#1717).
| * Store HTMLIFrameElement sandbox attr as TokenListJim Hoskins2015-01-091-11/+13
| | | | | | | | | | | | | | | | | | | | | | Fixes #3758 Store the sandbox attribute of HTMLIFrameElement as a TokenList internally. Use .tokens() to iterate over the tokens instead of splitting on the string value. The external interface for sandbox remains a DOMString, which will need to be fixed when DOMSettableTokenList is implemented (#1717).
* | auto merge of #4532 : saneyuki/servo/event, r=jdmbors-servo2015-01-091-12/+63
|\ \ | | | | | | | | | Fix #4505
| * | Make DOMContentLoaded and load asynchronous with using Runnable.Tetsuharu OHZEKI2015-01-101-12/+63
| |/
* / CanvasRenderTask connected to LayoutEdit Balint2015-01-092-2/+34
|/ | | | Update rust-azure to f4a02f3f621b0a994a20d42e438371a87c62f898.
* auto merge of #4585 : Ms2ger/servo/NavigatorInfo, r=jdmbors-servo2015-01-093-37/+33
|\ | | | | | | It serves no purpose.
| * Remove the NavigatorInfo struct.Ms2ger2015-01-093-37/+33
| | | | | | | | It serves no purpose.
* | auto merge of #4584 : Ms2ger/servo/unsafe, r=jdmbors-servo2015-01-0914-0/+27
|\ \ | | | | | | | | | As a first start, this allows them indiscriminately where used.
| * | Deny unsafe blocks in script.Ms2ger2015-01-0914-0/+27
| |/ | | | | | | As a first start, this allows them indiscriminately where used.
* | auto merge of #4586 : Swatinem/servo/noderemove, r=Ms2gerbors-servo2015-01-091-0/+1
|\ \ | | | | | | | | | fixes #4562
| * | Fix assertion trying to remove a Node that has no parentArpad Borsos2015-01-091-0/+1
| |/ | | | | | | fixes #4562
* | auto merge of #4579 : mattnenterprise/servo/textinput-select-refactor, r=jdmbors-servo2015-01-091-11/+24
|\ \ | |/ |/| | | Fixes #4573 Replaces the boolean argument of TextInput::adjust[horizontal | vertical] with enum to self document the code
| * Fixes #4573 Replaces the boolean argument of ↵Matt McCoy2015-01-081-11/+24
| | | | | | | | TextInput::adjust[horizontal|vertical] with enum to self document the code
* | auto merge of #4575 : mttr/servo/warnings, r=jdmbors-servo2015-01-0811-31/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: * This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary. * This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to). ``` css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default css/matching.rs:72 this_as_query.equiv(other) ^~~~~~~~~~~~ css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> { ```
| * | Fix Equiv related deprecation warningsMatthew Rasmus2015-01-083-6/+6
| | | | | | | | | | | | ...except where we have our own implementations of Equiv.
| * | Fix `renamed to slice::from_raw_buf` warningMatthew Rasmus2015-01-081-11/+10
| | |
| * | Fix `use Deref instead` warningMatthew Rasmus2015-01-081-1/+1
| | |
| * | Allow `missing_copy_implementations`Matthew Rasmus2015-01-081-0/+1
| | |