aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/devtools.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove helper traitsAnthony Ramine2015-08-271-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that JSRef<T> is gone, there is no need to have helper traits. On components/script/*.rs: # Remove imports. /^ *use dom::[a-z]+::\{.*Helpers/ { s/\{(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers, /\{/ s/, (Raw[^L]|[^L][^a])[a-zA-Z]+Helpers([,}])/\2/g s/\{([a-zA-Z]+)\}/\1/ /\{\}/d s/::self;$/;/ } /^ *use dom::[a-z]+::\{?(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers\}?;$/d On components/script/dom/*.rs: # Ignore layout things. /^(pub )?(impl|trait).*Layout.* \{/,/^}$/ { P; D; } # Delete helpers traits. /^(pub )?trait ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? \{$/,/^\}$/D # Patch private helpers. /^impl.*Private.*Helpers/,/^\}$/ { s/^impl<'a> Private([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for &'a ([^ ]+) \{$/impl \3 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn /s/\(self([,)])/\(\&self\1/ } # Patch public helpers. /^impl.*Helpers/,/^\}$/ { s/^impl(<'a>)? ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for (&'a )?([^ ]+) \{$/impl \5 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn .*\(&?self[,)]/s/(unsafe )?fn/pub &/ /^ *pub (unsafe )?fn /s/\(self([,)])/\(\&self\1/ } The few error cases were then fixed by hand.
* sort all usesJohann Tuffe2015-08-201-10/+10
|
* Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()`João Oliveira2015-08-151-1/+1
| | | | closes #7197
* Improve documentation for devtools messages a bit more.Josh Matthews2015-08-131-3/+6
|
* fixup! Simplify devtools frame marker notification. Record each frame tick ↵Josh Matthews2015-08-121-4/+3
| | | | based on a single message sent from the script task that ticked.
* Simplify devtools frame marker notification. Record each frame tick based on ↵Josh Matthews2015-08-121-3/+6
| | | | a single message sent from the script task that ticked.
* Closes #6724 (Allows object evaluation in devtools)Harrison G2015-08-091-3/+14
| | | | | | | | | | | | | | The purpose of this is to fix how objects were previously evaluated in the developer tools. - Before this, evaluating an object such as the `window` would `panic!` - After this, evaluating an object such as the `window` outputs `[object Window]` A few things to note: - This commit contains `unsafe` code. - This does not contain a test because the developer tools cannot be properly tested until #5971 lands.
* Warning police.Josh Matthews2015-08-041-1/+0
| | | | Closes #6949.
* Auto merge of #6920 - Wafflespeanut:NIT, r=jdmbors-servo2015-08-031-1/+0
|\ | | | | | | | | | | | | | | | | | | Removed an invalid FIXME and fixed some doc comments... There are some bad module-level doc comments in `flow.rs` which has directly affected [Servo's docs](http://doc.servo.org/layout/flow/index.html) and so, this fixes that. Oh, and #6728 is having a hard time getting closed and so I've also removed the `FIXME` comment related to it. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6920) <!-- Reviewable:end -->
| * Removed an invalid FIXME and fixed a doc commentRavi Shankar2015-08-031-1/+0
| |
* | [FIX] Bug fix #6756Kayo Hamid2015-08-021-3/+2
|/ | | | Signed-off-by: Kayo Hamid <kayo@bvcupons.com.br>
* Persuading devtools to communicate with the workers; r=jdmRavi Shankar2015-08-011-17/+7
|
* devtools: Convert the developer tools to run over IPC.Patrick Walton2015-07-271-10/+12
|
* Eval'ing int32's in devtools panic'dSam Gibson2015-07-241-3/+10
|
* Make cached messages appear in FF's devtools.Josh Matthews2015-07-031-16/+19
|
* Upgrade to SM 39Michael Wu2015-06-191-33/+34
|
* Implemented `GetCachedMessages`Tamir Duberstein2015-05-261-0/+41
|
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-2/+6
| | | | Part of https://github.com/servo/servo/issues/6041
* Start using on_refresh_driver_tick #5681Guro Bokum2015-05-061-1/+7
| | | | Final
* Uniformise root() methodsAnthony Ramine2015-04-281-1/+1
| | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* Firefox timeline integration #4957Guro Bokum2015-04-131-2/+35
|
* Use a simple Temporary value in TreeIteratorAnthony Ramine2015-04-131-2/+2
|
* Rewrite NodeChildrenIterator to return Temporary.Ms2ger2015-04-021-1/+4
|
* Remove some unnecessary uses of `as_slice`Corey Farwell2015-03-291-2/+2
| | | | | | | | | | | For the majority of these cases, `as_slice` can be removed due to `Deref`. In particular, `Deref` for: * `String` -> `str` * `Atom` -> `str` The latter of those two requires, a bump of the locked `string-cache` library
* Use Finite<T> for our dom code (excluding CanvasRenderingContext2D)Tetsuharu OHZEKI2015-03-251-1/+3
|
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-10/+7
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Do not glob-export EvaluateJSReply variants.Ruud van Asseldonk2015-02-131-6/+5
| | | | This closes #4921.
* Import msg as msg rather than servo_msg.Ms2ger2015-02-101-1/+1
|
* Add flag to send live updates to devtools.Sagar Muchhal2015-02-051-0/+5
|
* add `unwrap` to `send/recv` callsAlexandru Cojocaru2015-02-031-5/+5
|
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-0/+2
|
* Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)Guillaume Bort2015-01-071-2/+2
|
* Fix obsolete format traits.Ms2ger2015-01-021-1/+1
| | | | They are to be removed from the language in the next rust upgrade.
* Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-10/+10
| | | | This changes those calls that were already sound.
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-2/+2
|
* handle null for evaluating JS value. #4235Jerry Shih2014-12-161-1/+3
|
* Implemeneted ModifyAttribute handler to update DOM elements.Shanil Puri2014-12-031-0/+106