Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -4/+5 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Rename reflect_dom_object2. | Josh Matthews | 2023-05-31 | 1 | -2/+2 |
| | |||||
* | Support arbitrary protos when wrapping DOM objects with constructors. | Josh Matthews | 2023-05-28 | 1 | -4/+18 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -1/+0 |
| | |||||
* | Modify `script` to prevent further violations of snake_case | Kunal Mohan | 2020-01-18 | 1 | -0/+1 |
| | |||||
* | re-structure blob, structured serialization | Gregory Terzian | 2019-12-11 | 1 | -17/+17 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -1/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -11/+11 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -21/+45 |
| | |||||
* | Blobs support typed arrays now | Christian Poveda | 2018-03-21 | 1 | -2/+2 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -4/+4 |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | ||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -7/+6 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -5/+9 |
| | |||||
* | Replace typeString with type_string. | Arthur Marble | 2016-09-17 | 1 | -2/+2 |
| | |||||
* | Patches of File API | Zhen Zhang | 2016-07-21 | 1 | -1/+4 |
| | |||||
* | Fix Blob type-string | Zhen Zhang | 2016-07-13 | 1 | -3/+3 |
| | |||||
* | Refactor FileAPI implementation | Zhen Zhang | 2016-07-13 | 1 | -1/+2 |
| | |||||
* | Remove DataSlice, fix #12249 | Zhen Zhang | 2016-07-05 | 1 | -3/+2 |
| | |||||
* | Integration and improvements of File API backends | Zhen Zhang | 2016-07-04 | 1 | -0/+2 |
| | | | | | | 1. More complete origin check in FileManagerThreadMsg 2. Add reference counting logic to file manage store and script API 3. Integrate the support of slicing | ||||
* | Update Blob::{new, new_inherited} to take Strings | Achal Shah | 2016-06-17 | 1 | -1/+1 |
| | |||||
* | Add file backend support for Blob and related | Zhen Zhang | 2016-06-01 | 1 | -13/+13 |
| | | | | | | | | Changes include: - Add BlobImpl to Blob, and related caching mechanism - Expose ResourceThreads to document_loader, workerglobalscope, worker, and global - Fix encode_multipart_form_data - Other small fixes to accommodate the above changes | ||||
* | Remove empty lines following braces. | Josh Matthews | 2016-05-27 | 1 | -1/+0 |
| | |||||
* | Auto merge of #11368 - izgzhen:fix-filemanager-exit, r=asajeffrey | bors-servo | 2016-05-24 | 1 | -2/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix FileManager thread panic and other misc improvements - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] There are tests for these changes Changes: - Add shut down logic for FileManager thread - Add an unit test for filemanager_thread <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11368) <!-- Reviewable:end --> | ||||
| * | Fix FileManager thread panic and other misc improvements | Zhen Zhang | 2016-05-24 | 1 | -2/+0 |
| | | | | | | | | | | - Add shut down logic for FileManager thread - Add an unit test for filemanager_thread | ||||
* | | 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 file-type functionalities in htmlinputelement and related | Zhen Zhang | 2016-05-23 | 1 | -1/+15 |
| | | | | | | | | Changes include: - Implement file selection and other DOM behaviours in htmlinputelement - Integrate IpcSender<FileManagerThreadMsg> into ResourceThreads - Improve filemanager_thread, including adding type_string field to SelectedFile - Improve interfaces in FileList/File/Blob to accommodate the above changes | ||||
* | Implement missing interfaces of File DOM object | Zhen Zhang | 2016-05-11 | 1 | -9/+42 |
| | |||||
* | Fixes related to file input and File API | Zhen Zhang | 2016-05-02 | 1 | -5/+6 |
| | |||||
* | Remove global field from Blob | Chad Kimes | 2016-01-10 | 1 | -4/+3 |
| | |||||
* | Changed blob to use DataSlice with Arc in order to limit wasteful copying of ↵ | David Raifaizen | 2016-01-06 | 1 | -1/+2 |
| | | | | byte vector | ||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | Generate the TypeId enums in codegen | Anthony Ramine | 2015-10-14 | 1 | -4/+4 |
| | |||||
* | Elide most 'a lifetimes | Manish Goregaokar | 2015-09-04 | 1 | -1/+1 |
| | |||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -2/+2 |
| | |||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -2/+0 |
| | | | | closes #7357 | ||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+1 |
| | |||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -0/+1 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | Fixes #4164 Make file.rs Constructor and new functions take GlobalRef by value | Matt McCoy | 2015-01-08 | 1 | -4/+4 |
| | |||||
* | Fixes #4164 Make Constructor and new functions take GlobalRef by value | Matt McCoy | 2015-01-07 | 1 | -1/+1 |
| | |||||
* | Bug #1820, add the optional "type" parameter to Blob | Shing Lyu | 2015-01-01 | 1 | -1/+2 |
| | |||||
* | 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 | ||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -3/+3 |
| | |||||
* | Correctly set the BlobType for File objects. | Ms2ger | 2014-12-15 | 1 | -5/+4 |
| |