aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/formdata.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add Unrooted::from_js.Ms2ger2015-02-121-3/+1
| | | | | There should not be a JS here; that is #2661. Until that's fixed, though, it's better to encapsulate it.
* Implement an Unrooted smart pointer to replace JS when it is not traced.Ms2ger2015-02-061-2/+5
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-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.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-4/+4
|
* Move to to_owned rather than into_string.Ms2ger2015-01-201-1/+3
| | | | into_string has been removed from Rust.
* auto merge of #4575 : mttr/servo/warnings, r=jdmbors-servo2015-01-081-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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-081-2/+2
| | | | | | | | ...except where we have our own implementations of Equiv.
* | Fixes #4164 Make file.rs Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-081-1/+1
| |
* | Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-5/+5
|/
* Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency.Ms2ger2015-01-011-1/+1
|
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-9/+3
|\ | | | | | | | | | | 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 fieldManish Goregaokar2014-12-271-2/+2
| |
| * Remove extra spacesManish Goregaokar2014-12-271-1/+0
| | | | | | | | Command: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/}\\n\\n\\n/}\\n\\n/"`
| * Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-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
* | script: to_string() -> into_string()Manish Goregaokar2014-12-271-1/+1
|/
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-8/+9
|
* Issue #1820 - Improve the Blob implementationShing Lyu2014-12-091-1/+1
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-2/+2
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-5/+14
|
* Use DOMRefCell for FormData.Tetsuharu OHZEKI2014-10-221-3/+3
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize FileTim Taubert2014-10-131-1/+1
|
* Simple privatizationsTim Taubert2014-10-131-0/+1
|
* Remove Traceable from formdata.rsManish Goregaokar2014-10-051-11/+10
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-2/+3
|
* Eliminate warningsKeegan McAllister2014-09-201-1/+1
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-7/+7
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-8/+8
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Add unrooted_must_root lint for usages of JS<T> in let/for bindingsManish Goregaokar2014-09-161-1/+2
|
* Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵Manish Goregaokar2014-09-161-0/+2
| | | | | | | as functions with JS<T> in their parameter list For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)]. For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
* Cargoify servoJack Moffitt2014-09-081-0/+115