Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -4/+4 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -8/+10 |
| | |||||
* | Hold stderr lock when using stdout through Console APIs. | Josh Matthews | 2017-06-16 | 1 | -37/+65 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -19/+18 |
| | |||||
* | Make Console::send_to_devtools take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -17/+17 |
| | |||||
* | Introduce GlobalScope::pipeline_id | Anthony Ramine | 2016-10-06 | 1 | -2/+3 |
| | |||||
* | Introduce GlobalScope::devtools_chan | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Move console timers to GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -39/+2 |
| | |||||
* | Remove GlobalRef::get_worker_id | Anthony Ramine | 2016-10-04 | 1 | -1/+6 |
| | |||||
* | More code refactoring (exampleVar to example_var) | Arthur Marble | 2016-09-18 | 1 | -2/+2 |
| | |||||
* | Use fn pipeline_id consistently, not fn pipeline | Aneesh Agrawal | 2016-09-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Consistently use the name 'pipeline_id' to refer to a function that returns an (optional) PipelineId. This was prompted by discovering both fn pipeline and fn pipeline_id doing the same job in htmliframeelement.rs. Note that there is fn pipeline in components/compositing/compositor.rs, but that actually returns an Option<&CompositionPipeline>, not any kind of PipelineId. | ||||
* | Make console a namespace (fixes #13010) | Anthony Ramine | 2016-09-10 | 1 | -44/+21 |
| | |||||
* | Store Console timers in globals | Anthony Ramine | 2016-09-07 | 1 | -18/+38 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implement console#time and console#timeEnd methods | Joshua Holmer | 2016-01-25 | 1 | -0/+39 |
| | | | | Fixes #9325 | ||||
* | Add global default method for Reflectable trait | Chad Kimes | 2016-01-11 | 1 | -3/+3 |
| | |||||
* | Introduce Console::send_to_devtools | Anthony Ramine | 2016-01-09 | 1 | -17/+19 |
| | | | | This replaces propagate_console_msg and wraps prepare_message. | ||||
* | Remove the global field from Console | Anthony Ramine | 2016-01-09 | 1 | -6/+4 |
| | | | | We can just go through the reflector. | ||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -5/+9 |
| | |||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -2/+2 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | ||||
* | Make DOMString a newtype around String, rather than a typedef. | Ms2ger | 2015-11-04 | 1 | -7/+4 |
| | | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type. | ||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -7/+7 |
| | |||||
* | Remove helper traits | Anthony Ramine | 2015-08-27 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -1/+0 |
| | | | | closes #7357 | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Fix existing syntactics nits. | Josh Matthews | 2015-08-16 | 1 | -1/+1 |
| | |||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+1 |
| | |||||
* | Rename SendConsoleMessage to ConsoleAPI | Brandon Fairchild | 2015-08-10 | 1 | -1/+1 |
| | | | | Fixes #7131. | ||||
* | Fixes issue #6866 | Harrison G | 2015-08-02 | 1 | -13/+5 |
| | |||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -0/+1 |
| | |||||
* | devtools: Convert the developer tools to run over IPC. | Patrick Walton | 2015-07-27 | 1 | -2/+2 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -4/+4 |
| | |||||
* | fixes #5232, more console log levels sent to devtools | Jacob Parker | 2015-06-01 | 1 | -8/+18 |
| | |||||
* | Use a struct variant for clarity | Tamir Duberstein | 2015-05-23 | 1 | -1/+6 |
| | |||||
* | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -1/+1 |
| | |||||
* | Add/update comments with links to spec | Corey Farwell | 2015-04-14 | 1 | -0/+6 |
| | | | | | | | | | | Extracted out of #5649 * add more hyperlinks to associated specification for structs/methods * follow redirects and update links * replace broken links * removal of WHATWG multipage page name since the page name is not guaranteed to be stable | ||||
* | Support any number of arguments to console methods (fixes #5495). | Bogdan Cuza | 2015-04-04 | 1 | -12/+22 |
| | |||||
* | Fix ConsoleMsg in ConsoleAPICall for log messages in the Developer Tools web ↵ | Himaja | 2015-03-19 | 1 | -1/+2 |
| | | | | console. | ||||
* | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 1 | -2/+3 |
| | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. | ||||
* | Do not glob-export DevtoolsControlMsg variants. | Ruud van Asseldonk | 2015-02-13 | 1 | -2/+3 |
| | |||||
* | Add console message support to devtools. Does not actually cause logging to ↵ | Sagar Muchhal | 2015-02-05 | 1 | -5/+24 |
| | | | | occur in the remote console. | ||||
* | 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. | ||||
* | Fix obsolete format traits. | Ms2ger | 2015-01-02 | 1 | -6/+6 |
| | | | | They are to be removed from the language in the next rust upgrade. | ||||
* | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -6/+1 |
| | | | | | | | | | 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 | ||||
* | Updated reflect_dom_object to be passed by value | Michael Booth | 2014-11-30 | 1 | -1/+1 |
| | |||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 |
| |