aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Remove HTMLAnchorElement::handle_event.Ms2ger2015-07-031-9/+0
| | | | It is equivalent to the default implementation.
* Check the result of JS_Init.Ms2ger2015-07-021-1/+1
|
* Auto merge of #6510 - mintern:fix-worker-redirect-location, r=Ms2gerbors-servo2015-07-021-5/+7
|\ | | | | | | | | | | | | | | | | | | Update Worker location for redirects Fixes #4146 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6510) <!-- Reviewable:end -->
| * Update Worker location for redirectsBrandon Mintern2015-07-021-5/+7
| | | | | | | | Fixes #4146
* | Auto merge of #6529 - dwins:master, r=Manishearthbors-servo2015-07-0149-131/+91
|\ \ | |/ |/| | | | | | | | | | | | | | | Refactor #[jstraceable] to #[derive(JSTraceable)] fixes #6524. I had to make an additional change not mentioned in the ticket - adding the `#[feature]` to enable deriving custom traits but I assume that's expected at this time. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6529) <!-- Reviewable:end -->
| * Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-0149-131/+91
| | | | | | | | fixes #6524
* | Remove string_cache dependency from util.Matt Brubeck2015-07-015-16/+21
|/ | | | | Move `namespace::from_domstring` from util to script::dom, because it is used only in that crate.
* Remove gfx dependency from script crate.Matt Brubeck2015-07-011-3/+0
| | | | This dependency is not used anywhere.
* Auto merge of #6434 - yoava333:mouseover, r=noxbors-servo2015-06-301-18/+41
|\ | | | | | | | | | | | | | | | | | | Added support for mouseover and mouseout events fixes issue https://github.com/servo/servo/issues/6404 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6434) <!-- Reviewable:end -->
| * add support for mouseover and mouseout eventsYoav Alon2015-06-301-18/+41
| |
* | Auto-derive JSTraceable and Reflectable for ServoHTMLParserMichael Wu2015-06-301-25/+7
|/
* Add JSAutoRequest/JSAutoCompartment to HTMLIFrameElementMichael Wu2015-06-291-1/+4
|
* Prefer HTTPS when linking to GitHub PagesCorey Farwell2015-06-285-11/+11
| | | | | | | | | | | | This commit was generated using the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g' ```
* Auto merge of #6507 - Ms2ger:node-insert, r=Manishearthbors-servo2015-06-281-3/+6
|\ | | | | | | | | | | | | | | | | | | Fix a bug in Node::pre_insert. It was accidentally broken in 3ce368fa289bc4c6d09b23357350a37b861013f9. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6507) <!-- Reviewable:end -->
| * Fix a bug in Node::pre_insert.Ms2ger2015-06-281-3/+6
| | | | | | | | It was accidentally broken in 3ce368fa289bc4c6d09b23357350a37b861013f9.
* | Auto merge of #6499 - Ms2ger:slice_position_elem, r=noxbors-servo2015-06-272-4/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | Stop using position_elem. It is unstable and not really better than the stable alternative. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6499) <!-- Reviewable:end -->
| * Stop using position_elem.Ms2ger2015-06-272-4/+2
| | | | | | | | It is unstable and not really better than the stable alternative.
* | Remove unused imports.Ms2ger2015-06-273-6/+1
| |
* | CGImports must consider special operations to generate required 'use' itemsMukilan Thiyagarajan2015-06-271-0/+3
|/
* Don't use MutNullableHeap in InputActivationStateMichael Wu2015-06-261-4/+4
| | | | No internal mutability required here.
* Don't use MutHeap in BoundaryPointMichael Wu2015-06-261-5/+5
| | | | BoundaryPoint only requires external mutability, so MutHeap isn't necessary.
* Auto merge of #6477 - Ms2ger:vec_from_raw_buf, r=metajackbors-servo2015-06-263-12/+10
|\ | | | | | | | | | | | | | | | | | | Stop using Vec::from_raw_buf. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6477) <!-- Reviewable:end -->
| * Stop using Vec::from_raw_buf.Ms2ger2015-06-263-12/+10
| |
* | Auto merge of #6468 - servo:update-selectors, r=Ms2gerbors-servo2015-06-262-59/+57
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | Update rust-selectors r? @Ms2ger https://github.com/servo/rust-selectors/pull/33 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6468) <!-- Reviewable:end -->
| * Update rust-selectorsSimon Sapin2015-06-262-59/+57
| |
* | Use Rc::get_mut rather than deprecated rc::get_mut.Ms2ger2015-06-261-1/+2
|/
* Auto merge of #6464 - Ms2ger:into_raw, r=saneyukibors-servo2015-06-262-4/+2
|\ | | | | | | | | | | | | | | | | | | Use Box::into_raw rather than boxed::into_raw. The latter is deprecated. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6464) <!-- Reviewable:end -->
| * Use Box::into_raw rather than boxed::into_raw.Ms2ger2015-06-252-4/+2
| | | | | | | | The latter is deprecated.
* | Update to zero-copy* HTML parsingSimon Sapin2015-06-254-10/+15
|/ | | | | | html5ever now uses the Tendril string type to minimize copying internally, but Servo still converts from/to `String` at the boundary (which involves copying).
* Fix indentation in testbindingproxy.rsMichael Wu2015-06-251-22/+22
|
* Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0.Ms2ger2015-06-251-3/+17
|
* Auto merge of #6110 - klusark:NamedConstructor, r=Ms2gerbors-servo2015-06-254-26/+122
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Named constructors and the Image constructor for HTMLImageElement I'm not sure if I like how I mostly just duplicated the code in CodegenRust.py, so that might need to be refactored. Instead of just calling it Image, we might want to call it ConstructorImage, to make it clear that it's a constructor. Anyone have an opinion on that? There seems to be a bug in the HTMLImageElement getter/setter as the value is 0 regardless of what I do. This seems to be unrelated to my commits, so I'll investigate that separately. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6110) <!-- Reviewable:end -->
| * Implement the Image NamedConstructor for HTMLImageElementJoel Teichroeb2015-06-242-1/+18
| |
| * Add support for NamedConstructor in webidlsJoel Teichroeb2015-06-242-25/+104
| |
* | Remove unused js::JS_ARGV import in script componentCorey Farwell2015-06-241-1/+1
| |
* | Trigger reflow after rAF callbacks.Glenn Watson2015-06-252-0/+6
|/
* Auto merge of #6223 - nox:merge-generic-functions, r=Ms2gerbors-servo2015-06-244-197/+185
|\ | | | | | | | | | | | | | | | | | | Merge generic funs to share them across all bindings (fixes #2684) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6223) <!-- Reviewable:end -->
| * Merge generic funs to share them across all bindings (fixes #2684)Anthony Ramine2015-06-244-197/+185
| |
* | Auto merge of #6443 - Ms2ger:cleanup-layout, r=pcwaltonbors-servo2015-06-241-19/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Various layout cleanup. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6443) <!-- Reviewable:end -->
| * | Implement the LayoutData getters on LayoutJS<Node> rather than Node itself.Ms2ger2015-06-221-16/+25
| | |
| * | Add assertions to LayoutDataRef accessors.Ms2ger2015-06-221-3/+8
| | |
* | | Auto merge of #6410 - hyowon:create_pattern, r=pcwaltonbors-servo2015-06-241-31/+77
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create pattern from HTMLCanvasElement or CanvasRenderingContext2D. r? @nox @pcwalton cc @yichoi <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6410) <!-- Reviewable:end -->
| * | | Create pattern from HTMLCanvasElement or CanvasRenderingContext2D.Hyowon Kim2015-06-241-31/+77
| |/ /
* | | Auto merge of #6446 - Ms2ger:warnings, r=metajackbors-servo2015-06-232-5/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some warnings. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6446) <!-- Reviewable:end -->
| * | | Update 'traverse children' to the latest spec.Ms2ger2015-06-231-5/+5
| | | |
| * | | Silence a warning about BrowserContext.Ms2ger2015-06-231-0/+1
| |/ /
* | | Auto merge of #6425 - glennw:3d-transforms, r=pcwaltonbors-servo2015-06-231-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement enough of 3d transforms spec to run the CSS FPS demo. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6425) <!-- Reviewable:end -->
| * | | Implement enough of 3d transforms spec to run the CSS FPS demo.Glenn Watson2015-06-231-0/+4
| |/ /
* / / Refactoring, return an Atom from Element::parsed_name. #5774Maciej Skrzypkowski2015-06-232-8/+7
|/ /
* | Auto merge of #6427 - servo:selector-traits-refactor, r=Ms2gerbors-servo2015-06-212-57/+41
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update rust-selectors https://github.com/servo/rust-selectors/pull/30 r? @Ms2ger This conflicts with the SpiderMonkey upgrade #6150. I’m happy to wait until that lands and rebase. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6427) <!-- Reviewable:end -->