Jan Andre Ikenmeyer
a1a14459c1
Update MPL license to https (part 3)
2018-11-19 14:47:12 +01:00
Simon Sapin
9f977c5287
Remove useless use crate_name;
imports.
...
A `crate_name::foo` path always works in 2018
2018-11-08 09:29:52 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
Simon Sapin
45f7199eee
cargo fix --edition
2018-11-06 15:26:02 +01:00
chansuke
c37a345dc9
Format script component
2018-09-19 17:40:47 -04:00
Alan Jeffrey
74c1e00d81
Upgraded to SM 60
2018-08-20 18:22:29 -04:00
Marcin Mielniczuk
356c57e628
Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393
2018-03-28 21:28:30 +02:00
Igor Matuszewski
64dc0c4b9e
Root any
members in dictionaries
2018-03-16 16:53:38 +01:00
Simon Sapin
52eda6082f
Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject>
2018-01-22 17:41:25 +01:00
Matt Brubeck
efc3683cc7
Fix commonmark Markdown warnings in docs, part 1
...
Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is
passed to rustdoc.
This is mostly a global find-and-replace for bare URIs on lines by
themselves in doc comments.
2017-10-17 11:24:57 -07:00
Simon Sapin
bffec1c1a1
Make usage of unstable feature on_unimplemented optional.
2017-10-16 20:20:18 +02:00
Simon Sapin
e2fafd2dfc
Replace NonZero<*mut JSObject> with a wrapper to enable local trait impls.
2017-10-16 20:19:56 +02:00
Anthony Ramine
f87c2a8d76
Rename Root<T> to DomRoot<T>
...
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.
2017-09-26 09:49:10 +02:00
Anthony Ramine
0e3c54c191
Rename dom::bindings::js to dom::bindings::root
2017-09-26 02:19:05 +02:00
Josh Matthews
b169689f32
Store rootable dictionary members of dictionaries in RootedTraceableBox.
2017-09-25 16:10:58 -04:00
Emilio Cobos Álvarez
6edefb829c
script: remove unused function.
2017-09-18 09:15:13 +02:00
Emilio Cobos Álvarez
5281fc1a44
script: Add a comment about some conversion that looks fishy.
2017-09-17 18:42:24 +02:00
Clément DAVID
c5fe235112
order derivable traits lists
...
Ignoring :
- **generated**.rs
- python/tidy/servo_tidy_tests/rust_tidy.rs
2017-08-23 21:38:44 +02:00
Alan Jeffrey
3db4761767
Implemented paint worklets invoking worklet scripts.
2017-06-29 17:32:21 -05:00
Simon Sapin
7af5a7fd54
Untry script
2017-06-18 13:21:49 +02:00
Ian
cb3f8c9e86
The ArrayBufferViewContents trait was removed
2017-02-19 21:01:56 +03:00
Ms2ger
f1605ab149
Introduce RootedTraceableBox.
2017-02-16 11:03:25 +01:00
Anthony Ramine
5aba878227
Kill dead code
2017-02-12 09:44:10 +01:00
deror1869107
2d99f7f995
Remove slice_to_array_buffer_view and update_array_buffer_view
2017-02-11 23:25:14 +08:00
deror1869107
6c4ce7247f
Use TypedArray
2017-02-10 16:33:57 -05:00
Dexter Haslem
94f0ceb4aa
squash: convert less interesting debug! logs to traces
2017-01-18 22:21:41 -07:00
Imanol Fernandez
c5705bff50
WebVR API Implementation, r=larsbergstrom
2017-01-09 12:44:39 +01:00
Alan Jeffrey
9be4fd56ce
Removed util.
2016-12-14 18:04:37 -06:00
Corey Farwell
449f6337d4
Rename Reflectable
to DomObject
.
...
Fixes https://github.com/servo/servo/issues/8473 .
2016-12-08 08:50:35 -10:00
Anthony Ramine
445701d138
Update js, AGAIN
2016-11-27 12:19:19 +01:00
Ms2ger
558afe1786
Update js.
2016-11-02 13:25:49 +01:00
Emilio Cobos Álvarez
d7e2b40484
webgl: Honor ArrayBuffer or ArrayBufferView in bufferData and bufferSubData.
2016-10-09 13:23:39 +02:00
Emilio Cobos Álvarez
602246a14c
script: Mark as unsafe multiple array_buffer_view_to_xxx functions that take a raw JSObject pointer.
2016-10-09 12:32:37 +02:00
Emilio Cobos Álvarez
ea8f115b8c
webgl: A few fixes regarding the nullability of WebGL parameters.
2016-10-09 12:32:37 +02:00
Ms2ger
2d83e5a788
Implement the MozMap type.
...
Fixes #13144 .
2016-09-21 14:03:34 +02:00
Ms2ger
6023560863
Improve jsid_to_str's name and documentation.
2016-09-21 13:17:03 +02:00
Ms2ger
6ef5894f01
Remove the throw_type_error call from FromJSValConvertible::from_jsval.
2016-08-24 15:15:40 +02:00
Guillaume Gomez
2f3f4a5bd6
Update rust-mozjs dependency
2016-08-24 12:56:49 +02:00
Josh Matthews
7539eb496b
Avoid unnecessary JS_WrapValue calls for DOM reflectors.
2016-07-12 08:22:50 -04: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
Anthony Ramine
eb94f1a918
Update SpiderMonkey
2016-05-03 18:36:11 +02:00
Ms2ger
03d4bacc05
Use num-traits in script.
2016-04-20 15:23:43 +02:00
Matt Brubeck
6882ce8ec1
Lower the logging level of a really chatty fn
2016-04-19 12:16:43 -07:00
Peter
3e78b54d46
Fixed compile error in generated code, when webidl constructors have same number of args
...
Edited test webidl to show issue, and fix
2016-03-03 20:21:48 +00:00
Anthony Ramine
71092e142d
Bump js to get fix from servo/rust-mozjs#237
2016-02-12 17:15:09 +01:00
Emilio Cobos Álvarez
3327f00bce
script: Implement FromJSValConvertible for Root<T>
2016-01-15 13:51:05 +01:00
Bobby Holley
dec296ddbc
Use features to prevent the util component from entraining the world in GeckoLib builds.
2016-01-11 19:38:43 -08:00
Emilio Cobos Álvarez
d30f05554b
conversions: Make a is_type_compatible
method for ArrayBufferViews.
2016-01-04 15:51:01 +01:00
Emilio Cobos Álvarez
43d395a682
conversions: Add a checked version to array_buffer_view_data
2016-01-04 15:29:24 +01:00
Emilio Cobos Álvarez
9ad49c8aa1
conversion: Extrapolate array_buffer_view_data
...
And use it instead of the raw jsapi calls.
2016-01-04 15:19:29 +01:00