Zhen Zhang
43ad4ba585
Add file backend support for Blob and related
...
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
2016-06-01 09:47:07 +08:00
Anthony Ramine
056bdc5514
Implement window.openURLInDefaultBrowser() ( fixes #11292 )
2016-05-27 16:16:02 +02:00
Anthony Ramine
cdc7bca944
Move DOMString back to script
...
This entirely removes the 'non-geckolib' feature of the util crate.
2016-05-24 10:54:57 +02:00
Connor Brewster
cbc5ca65a8
remove page and move functionality to browing context
...
Allow for adding history items
Fixed nested iframe test failure
Cleanup and small refactors
fixup
2016-05-11 12:46:59 -06:00
Josh Matthews
293d465c59
Make debug logging for tracing JS objects more informative.
2016-05-11 08:34:48 -04:00
Connor Brewster
dc85be4be5
Implement alert dialogs
...
Fixed conflict
Fixed merge issue
Finished implementation
Disable tinyfiledialogs on Windows
addressed comments
Use ancestor's SubpageId
Move display alert from method to function
Add extra test for nested iframes
Addressed comments
Updated tinyfiledialogs
2016-05-03 22:09:35 -06:00
Prabhjyot Singh Sodhi
cfde40e225
Support form submission of multipart/form-data
2016-04-30 21:42:50 -04:00
Matt Brubeck
c4872d9544
Replace range::Range with std::ops::Range in script
2016-04-28 14:54:07 -07:00
Ms2ger
40fdf450c8
Update rustc.
2016-04-26 09:52:09 +02:00
bors-servo
0a3a50a129
Auto merge of #10706 - zwn:unused-extern-crates, r=nox
...
Turn on unused-extern-crates warning.
As discussed in #9256 . It should solve second half of the issue.
<!-- 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/10706 )
<!-- Reviewable:end -->
2016-04-22 13:40:38 -07:00
Zbynek Winkler
b021874ba0
Silence unused-extern-crates false positives.
...
Added #[allow(unused_extern_crates)] to silence false positives
* bitflags, lazy_static and matches because macro_use
* alloc_jemalloc because builtin crate
See https://github.com/rust-lang/rust/issues/30849
2016-04-22 22:20:05 +02:00
Ms2ger
03d4bacc05
Use num-traits in script.
2016-04-20 15:23:43 +02:00
Josh Matthews
a8233a135e
Implement origin concept.
2016-04-13 10:37:55 +02:00
Rahul Sharma
2caa9a2a76
refactors entities from script_thread into script_runtime
2016-04-06 12:46:49 +05:30
Matt Brubeck
deca979967
TextInput::max_length should be in code units, not bytes
2016-04-02 07:33:53 -07:00
Jan-Fabian Humann
d778562844
#10211 : Stop re-exporting webrender_traits WebGL types from canvas_traits
2016-03-30 20:05:16 +02:00
Matt Brubeck
6171000875
Highlight selected text in input fields
...
Fixes #9993 . This does not yet allow stylesheets to set the selection colors;
instead it uses a hard-coded orange background and white foreground.
2016-03-24 18:33:26 -07:00
bors-servo
37574065e0
Auto merge of #9838 - szeged:webbluetooth, r=jdm
...
WebBluetooth API classes
Basic implementation of WebBluetooth API
API spec.: https://webbluetoothcg.github.io/web-bluetooth/
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9838 )
<!-- Reviewable:end -->
2016-03-16 21:01:18 +05:30
Attila Dusnoki
e7d70cfabf
WebBluetooth API classes
2016-03-16 10:34:48 +01:00
Keith Yeung
3f2cbf0025
Add task_source directory
...
Use DOMManipulationTaskSource whenever possible
2016-03-10 01:05:53 -05:00
Suvish Varghese Thoovamalayil
de68820e76
Remove unused cell_extras feature gates. Fixes #9912
2016-03-08 16:56:13 +05:30
bors-servo
b6e469cbde
Auto merge of #9903 - servo:ref-filter-map, r=nox
...
Replace usage of deprecated std::cell::Ref::filter_map
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9903 )
<!-- Reviewable:end -->
2016-03-08 08:52:45 +05:30
Simon Sapin
62034b956e
Replace usage of deprecated std::cell::Ref::filter_map
2016-03-07 18:53:38 +01:00
Arpad Borsos
c880c97b1b
rename deprecated utf16_units to encode_utf16
2016-03-07 16:14:04 +01:00
Anthony Ramine
1559f5a39f
Lazily define interface objects on globals ( fixes #6419 )
2016-02-25 15:56:47 +01:00
bors-servo
87aaa5ffe0
Auto merge of #9523 - ruud-v-a:hasher, r=Wafflespeanut
...
Upgrade to new Hasher API
This fixes #9494 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9523 )
<!-- Reviewable:end -->
2016-02-05 07:32:13 +05:30
Anthony Ramine
cb5cd8d881
Say farewell to in-tree HeapSizeOf
2016-02-04 22:03:32 +01:00
Ruud van Asseldonk
95be0b9a25
Upgrade to new Hasher API
2016-02-03 20:06:39 +01:00
Emilio Cobos Álvarez
a1c830f1c1
Update rust-selectors
...
This commits updates rust-selectors to use the generic parser, and as
such it moves the element state into the style crate.
2016-02-03 02:11:31 +01:00
Simon Sapin
c7b51e7aa1
Update html5ever and xml5ever for API changes.
2016-01-27 12:25:16 +01:00
Ms2ger
86d3c576f2
Remove some unused extern crates.
2016-01-13 09:37:28 +01:00
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00
Johannes Linke
6b215f38ee
Fix a bunch of clippy lints
2016-01-02 23:27:15 +01:00
bors-servo
89ab368258
Auto merge of #8506 - nox:finish-ranges, r=dzbarsky
...
Properly propagate changes when range or trees are mutated
Does the same thing as #6817 , but storing Range instances directly in their start and end containers.
Cc @dzbarsky
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8506 )
<!-- Reviewable:end -->
2015-12-26 04:08:15 +05:30
Anthony Ramine
3c76835615
Properly propagate changes when range or trees are mutated
2015-12-25 23:35:57 +01:00
Brandon Fairchild
637afecec9
Move LayerKind and ScrollPolicy enums to gfx_traits
...
This also moves LayerId and LayerProperties to gfx_traits.
Fixes #8836 .
2015-12-20 20:43:31 -05:00
Tetsuharu OHZEKI
e8c12c1c6d
Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all
2015-12-10 16:49:29 -05:00
Alex Gaynor
fa694f5f4b
Remove two "#![feature]" that are now stable
2015-12-09 19:25:04 -05:00
Ms2ger
cfa18bc2e6
Update rustc to the 2015-12-09 nightly.
2015-12-09 13:53:06 -05:00
jsharda
a840a23990
Prepare infrastructure for XML parser.
2015-12-04 16:32:53 -05:00
Jason Williams
1a8db9a07a
now using external ref_slice instead of the std version
2015-12-03 07:32:07 +00:00
Guillaume Gomez
6e7de62b38
Add check up on extern crate order and sort extern crates alphabetically
2015-11-28 03:11:08 +01:00
GauriGNaik
996e9e06b2
Defined new trait ParseErrorReporter and added error_reporter member to ParserContext
2015-11-25 18:28:30 -05:00
Alan Jeffrey
3dec6edd10
Update string_cache to 0.2.
...
Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock.
Removed references to string_cache_plugin.
Import atom! and ns! from string_cache.
Replaced ns!("") by ns!().
Replaced ns!(XML) and co by ns!(xml) and co.
Replaced atom!(foo) by atom!("foo").
Replaced Atom::from_slice by Atom::from.
Replaced atom.as_slice() by &*atom.
2015-11-25 10:13:21 -06:00
Rizky Luthfianto
1c9ce04320
refactor(script): move SetDOMProxyInformation() call to lib.rs
2015-11-21 01:46:10 +07:00
Ms2ger
6d2ae85c1f
Use the conversion traits from js.
2015-11-12 10:48:58 +01:00
Bobby Holley
79ac365a68
Move EventState to rust-selectors.
2015-10-30 21:02:35 -07:00
David Zbarsky
a63c98c24a
Implement HTMLCanvasElement#toDataURL
2015-10-26 21:24:21 -07:00
bors-servo
9a34decec2
Auto merge of #8086 - froydnj:premultiply-tables, r=jdm
...
add (un)premultiply tables for canvas {Get,Put}ImageData operations
Pretty straightforward use of lookup tables to replace a bunch of expensive float operations.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8086 )
<!-- Reviewable:end -->
2015-10-21 17:48:49 -06:00
benshu
553a0dbefd
Timers are scheduled by a dedicated per-constellation thread.
2015-10-21 16:40:49 +02:00