aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/file.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-7/+6
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-5/+9
|
* Replace typeString with type_string.Arthur Marble2016-09-171-2/+2
|
* Patches of File APIZhen Zhang2016-07-211-1/+4
|
* Fix Blob type-stringZhen Zhang2016-07-131-3/+3
|
* Refactor FileAPI implementationZhen Zhang2016-07-131-1/+2
|
* Remove DataSlice, fix #12249Zhen Zhang2016-07-051-3/+2
|
* Integration and improvements of File API backendsZhen Zhang2016-07-041-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 StringsAchal Shah2016-06-171-1/+1
|
* Add file backend support for Blob and relatedZhen Zhang2016-06-011-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 Matthews2016-05-271-1/+0
|
* Auto merge of #11368 - izgzhen:fix-filemanager-exit, r=asajeffreybors-servo2016-05-241-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 improvementsZhen Zhang2016-05-241-2/+0
| | | | | | | | | | - Add shut down logic for FileManager thread - Add an unit test for filemanager_thread
* | Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
|/ | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Implement file-type functionalities in htmlinputelement and relatedZhen Zhang2016-05-231-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 objectZhen Zhang2016-05-111-9/+42
|
* Fixes related to file input and File APIZhen Zhang2016-05-021-5/+6
|
* Remove global field from BlobChad Kimes2016-01-101-4/+3
|
* Changed blob to use DataSlice with Arc in order to limit wasteful copying of ↵David Raifaizen2016-01-061-1/+2
| | | | byte vector
* more refactoringrohan.prinja2015-10-301-1/+1
|
* Generate the TypeId enums in codegenAnthony Ramine2015-10-141-4/+4
|
* Elide most 'a lifetimesManish Goregaokar2015-09-041-1/+1
|
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-2/+2
|
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-2/+0
| | | | closes #7357
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Add spec linksBogdan Cuza2015-07-281-0/+1
|
* Upgrade to SM 39Michael Wu2015-06-191-4/+4
|
* 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.
* Fixes #4164 Make file.rs Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-081-4/+4
|
* Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-1/+1
|
* Bug #1820, add the optional "type" parameter to BlobShing Lyu2015-01-011-1/+2
|
* 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
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-3/+3
|
* Correctly set the BlobType for File objects.Ms2ger2014-12-151-5/+4
|
* Issue #1820 - Improve the Blob implementationShing Lyu2014-12-091-5/+5
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-1/+1
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize FileTim Taubert2014-10-131-3/+8
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-2/+2
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-2/+2
| | | | | | | | | 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.
* Make Reflector #[must_root], propagate to non-HTMLElementsManish Goregaokar2014-09-171-0/+1
|
* Cargoify servoJack Moffitt2014-09-081-0/+48