Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Introduce VirtualMethods::children_changed() | Anthony Ramine | 2015-07-25 | 1 | -8/+7 | |
| | | | | | | | | | This virtual method mimics the behaviour of mutation observers and make it more viable than the older child_inserted(), which didn't cover removed nodes and was called as many times as there were inserted nodes. A few other shortcomings where remove_child() was called directly instead of Node::remove() were also fixed while at it. | |||||
* | Remove some more unnecessary let bindings | David Zbarsky | 2015-07-14 | 1 | -3/+1 | |
| | ||||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -38/+37 | |
| | ||||||
* | Reduce max line length from 150 to 120 characters | Corey Farwell | 2015-05-24 | 1 | -4/+11 | |
| | | | | Part of https://github.com/servo/servo/issues/6041 | |||||
* | Auto merge of #5800 - aweinstock314:x11-clipboard, r=jdm | bors-servo | 2015-05-06 | 1 | -2/+3 | |
|\ | | | | | | | | | | | | | | | ...ed test_clipboard_paste to the "test-unit" suite. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5800) <!-- Reviewable:end --> | |||||
| * | Made the clipboard-related functionality in TextInput more testable. Added ↵ | Avi Weinstock | 2015-05-06 | 1 | -2/+3 | |
| | | | | | | | | test_clipboard_paste to the "test-unit" suite. | |||||
* | | Improve support of limited unsigned long attributes | Anthony Ramine | 2015-05-06 | 1 | -10/+6 | |
|/ | ||||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -1/+2 | |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | |||||
* | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -2/+2 | |
| | ||||||
* | Make the channel argument to TextInput::new be optional, to support the ↵ | Avi Weinstock | 2015-04-21 | 1 | -1/+1 | |
| | | | | signature expected by the unit tests. | |||||
* | Moved clipboard integration from textinput to constellation, to facilitate ↵ | Avi Weinstock | 2015-04-21 | 1 | -1/+3 | |
| | | | | sandboxing. | |||||
* | Update some URLs. | Ms2ger | 2015-04-14 | 1 | -23/+23 | |
| | | | | | The HTML spec's division into pages is not stable, so it is safer to use the URL without a specific page (which will redirect). | |||||
* | Update WHATWG links to use HTTPS | Corey Farwell | 2015-04-13 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | Extracted this out of #5649 This commit was created with the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` | |||||
* | Hold a Temporary in AncestorIterator | Anthony Ramine | 2015-04-07 | 1 | -1/+1 | |
| | ||||||
* | Replace unsafe_blocks by unsafe_code. | Manish Goregaokar | 2015-03-21 | 1 | -0/+6 | |
| | ||||||
* | Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. | Ms2ger | 2015-03-18 | 1 | -1/+3 | |
| | ||||||
* | #4508 Adding simple test and actually getting the event to dispatch | Matt McCoy | 2015-03-17 | 1 | -4/+4 | |
| | ||||||
* | #4508 Ranaming the runnable and making sure the event is trusted | Matt McCoy | 2015-03-17 | 1 | -13/+15 | |
| | ||||||
* | #4508 Only dispatching input event when the textarea receives keyboard input ↵ | Matt McCoy | 2015-03-17 | 1 | -2/+12 | |
| | | | | and not for javascript | |||||
* | #4508 Fixing issues related to dispatching input event at HTMLTextareaElement | Matt McCoy | 2015-03-17 | 1 | -14/+13 | |
| | ||||||
* | Fixes #4508 dispatching input event at HTMLTextareaElement | Matt McCoy | 2015-03-17 | 1 | -3/+31 | |
| | ||||||
* | Use new `if let` syntax wherever possible. Fixes #4153. | Zack Slayton | 2015-03-10 | 1 | -22/+12 | |
| | ||||||
* | formcontrol trait to element trait | yodalee | 2015-02-03 | 1 | -12/+18 | |
| | | | | | | mutable function and reset function in formcontrol move into trait of single element currently only TextArea element and Input element | |||||
* | LayoutJS<T> implements Layout*Helpers instead of JS<T>. | Tetsuharu OHZEKI | 2015-02-01 | 1 | -2/+2 | |
| | ||||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -1/+1 | |
| | | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there. | |||||
* | Don't shadow lifetimes in script. | Ms2ger | 2015-01-28 | 1 | -1/+1 | |
| | ||||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -16/+16 | |
| | ||||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -2/+3 | |
| | | | | into_string has been removed from Rust. | |||||
* | auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2ger | bors-servo | 2015-01-04 | 1 | -4/+5 | |
|\ | ||||||
| * | Add HTMLElementTypeId enum (fixes #3625) | Megha Gupta | 2015-01-02 | 1 | -4/+5 | |
| | | ||||||
* | | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -2/+2 | |
|/ | | | | This changes those calls that were already sound. | |||||
* | auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister | bors-servo | 2014-12-27 | 1 | -7/+0 | |
|\ | | | | | | | | | | | Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later. | |||||
| * | Ensure that Reflectors are the first field | Manish Goregaokar | 2014-12-27 | 1 | -0/+17 | |
| | | ||||||
| * | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -24/+0 | |
| | | | | | | | | | | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports | |||||
* | | script: to_string() -> into_string() | Manish Goregaokar | 2014-12-27 | 1 | -2/+2 | |
|/ | ||||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -16/+16 | |
| | ||||||
* | auto merge of #4133 : mttr/servo/form_resetting, r=jdm | bors-servo | 2014-12-16 | 1 | -5/+32 | |
|\ | | | | | | | | | | | | | | | We can reset `<input type=text>` fields! I wish I could've done something with checkboxes, but unfortunately, that's it for now. In addition to that, this PR implements `HTMLInputAttribute.defaultValue`, updates wpt-test to expect passing tests as a result of that implementation, and fixes an index error crash with text inputs. edit: also includes an html example where one may lazily watch form resets in action: ` tests/html/form_reset_handsfree.html` | |||||
| * | Implements :indeterminate pseudo-class | Matthew Rasmus | 2014-12-16 | 1 | -27/+3 | |
| | | | | | | | | Addresses reviews | |||||
| * | Implements dirty value/checked flags for input | Matthew Rasmus | 2014-12-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | And modifies test-inputs.html to test. Fixes wpt breaking mistake | |||||
| * | htmltextarea: Fixed some value_changed issues | Matthew Rasmus | 2014-12-16 | 1 | -2/+4 | |
| | | | | | | | | | | Also modified tests/html/textarea.html to allow for the testing of the textarea's dirty value flag. | |||||
| * | Implements FormControl for HTMLTextAreaElement | Matthew Rasmus | 2014-12-16 | 1 | -4/+53 | |
| | | ||||||
* | | Makes layout respect <textarea> rows attribute | Matthew Rasmus | 2014-12-16 | 1 | -0/+17 | |
| | | | | | | | | review addresssing | |||||
* | | Makes layout respect <textarea> cols attribute | Matthew Rasmus | 2014-12-16 | 1 | -1/+23 | |
|/ | ||||||
* | script: Improve dirty propagation and fix script-layout synchronization. | Patrick Walton | 2014-12-15 | 1 | -2/+3 | |
| | | | | | This fixes race conditions whereby layout and script could be running simultaneously. | |||||
* | Handle default uint attributes properly | Matthew Rasmus | 2014-12-05 | 1 | -1/+12 | |
| | | | | ...and passing a whole bunch of new tests. | |||||
* | HTMLTextArea: Implements a dirty value flag | Matthew Rasmus | 2014-12-05 | 1 | -10/+24 | |
| | ||||||
* | Updates WPT to expect newly passing tests | Matthew Rasmus | 2014-12-05 | 1 | -3/+3 | |
| | | | | | | Addresses reviews More review addressing | |||||
* | Implements multi line text input for TextArea | Matthew Rasmus | 2014-12-05 | 1 | -5/+87 | |
| | ||||||
* | Implements some HTMLTextAreaElement attributes | Matthew Rasmus | 2014-12-05 | 1 | -0/+52 | |
| | | | | | | | | These attributes all reflect their own related content values, with the exception of defaultValue, which acts as an alias for its IDL textContent attribute. Many of these do have default values and constraints which are currently unimplemented. | |||||
* | Usage of JSRef<Attr> in before_remove_attr & after_set_attr | Bruno de Oliveira Abinader | 2014-10-22 | 1 | -12/+14 | |
| | | | | | JSRef<Attr> does not require allocating a DOMString for value, which are unused in most cases. It also provides more access to Attr data. |