Commit graph

8300 commits

Author SHA1 Message Date
bors-servo
1a2a08aa50 auto merge of #4717 : Ms2ger/servo/doc-proxy, r=saneyuki 2015-01-28 01:48:52 -07:00
bors-servo
e122d76fa9 auto merge of #4737 : glennw/servo/poll-events, r=kmcallister 2015-01-27 22:51:55 -07:00
Glenn Watson
e936349cdf Temporary workaround for change in wait_events behaviour in glutin 2015-01-28 15:40:34 +10:00
bors-servo
3f9012864a auto merge of #4719 : servo/servo/rustup_20150109, r=jdm 2015-01-27 18:15:50 -07:00
Josh Matthews
7fec73a432 Fix crash due to address significance for JSAPI things. 2015-01-28 01:13:32 +00:00
Josh Matthews
95fc29fa0d Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
Ms2ger
238f3e2d91 Require documentation for all code in dom::bindings (excluding dom::bindings::codegen). 2015-01-25 22:01:04 +01:00
Ms2ger
1cf7441c61 Document proxyhandler.rs. 2015-01-25 21:42:10 +01:00
Ms2ger
46e4ac280f Panic if JS_NewObjectWithGivenProto fails. 2015-01-25 21:42:07 +01:00
Ms2ger
5f5381e4c1 Don't create an expando holder to delete an expando.
If there is no expando object, there will be no expando to delete.
2015-01-25 21:42:07 +01:00
bors-servo
ff8cbff810 auto merge of #4713 : Ms2ger/servo/unsafe_get-const, r=jdm 2015-01-24 08:48:48 -07:00
Ms2ger
801949556d Return *const T from JS::unsafe_get() (fixes #4712). 2015-01-24 16:43:19 +01:00
bors-servo
4c9d7ce5d0 auto merge of #4711 : Ms2ger/servo/transmute, r=jdm
It hasn't had borrow flags for quite a while.
2015-01-24 08:03:47 -07:00
Ms2ger
dfbf83a8ac Don't call transmute_copy in JS::unsafe_get.
It hasn't had borrow flags for quite a while.
2015-01-24 15:57:09 +01:00
bors-servo
d9c2bfae87 auto merge of #4710 : servo/servo/untrusted, r=Manishearth
This will allow us to make it Send after the Rust upgrade.
2015-01-24 04:57:48 -07:00
Josh Matthews
d2f0aac5ce Make UntrustedNodeAddress a newtype.
This will allow us to make it Send after the Rust upgrade.
2015-01-24 11:40:21 +01:00
bors-servo
1b496d80de auto merge of #4707 : glennw/servo/split-headless, r=larsbergstrom
The majority of this change is simply re-arranging the code in the glutin port so that the windowed/headless code is configured at build time rather than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-22 14:48:48 -07:00
Glenn Watson
0f525d908d Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both.
The majority of this change is simply re-arranging the code in the glutin port
so that the windowed/headless code is configured at build time rather
than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-23 06:09:25 +10:00
bors-servo
55fbf1f2b6 auto merge of #4708 : Ms2ger/servo/rustup-prepare, r=SimonSapin 2015-01-22 08:06:50 -07:00
Ms2ger
13c7cf928a Stop calling deref() and deref_mut() explicitly. 2015-01-22 16:04:21 +01:00
Ms2ger
ee4c56bd8b Remove rtinstrument (fixes #4600).
The code has been disabled during the last rust upgrade, and has not found an
owner. Since the next rust upgrade will bitrot it even more, it is better to
remove it for now. If anyone wishes to restore it, the code remains in version
history.
2015-01-22 14:49:26 +01:00
Ms2ger
024571dfa3 Use chars().count() rather than char_len().
The latter is obsolete in current Rust.
2015-01-22 14:49:26 +01:00
Ms2ger
faefb27f3e Use std::sync::atomic::Ordering explicitly. 2015-01-22 14:49:25 +01:00
Ms2ger
524966e3af Use std::cmp::Ordering explicitly. 2015-01-22 14:49:25 +01:00
bors-servo
59bca2962c auto merge of #4689 : servo/servo/newnewnewcss, r=larsbergstrom
https://github.com/servo/rust-cssparser/pull/68

r? @larsbergstrom
2015-01-21 14:27:48 -07:00
Simon Sapin
d034a6c6bc Port to the new cssparser.
https://github.com/servo/rust-cssparser/pull/68
2015-01-21 22:23:46 +01:00
bors-servo
ad328fda65 auto merge of #4705 : Ms2ger/servo/refcounted, r=larsbergstrom
This will allow us to make them Send in the future.
2015-01-21 12:09:56 -07:00
Ms2ger
7d1b567744 Encapsulate to-be-cleaned-up refcounted pointers.
This will allow us to make them Send in the future.
2015-01-21 20:04:51 +01:00
bors-servo
8df0ee2bb5 auto merge of #4703 : servo/servo/task, r=saneyuki
IntoString has been removed from Rust, and named() will take a String, so
there is no good reason to do otherwise here.
2015-01-21 03:48:49 -07:00
Ms2ger
808315926c Pass a String to spawn_named.
IntoString has been removed from Rust, and named() will take a String, so
there is no good reason to do otherwise here.
2015-01-21 11:23:19 +01:00
bors-servo
94ebc7c32d auto merge of #4682 : servo/servo/to_owned, r=jdm
into_string has been removed from Rust.
2015-01-20 07:54:46 -07:00
bors-servo
89645391bf auto merge of #4678 : Ms2ger/servo/doc-clone, r=jdm 2015-01-20 07:21:48 -07:00
Ms2ger
01ed338746 Move to to_owned rather than into_string.
into_string has been removed from Rust.
2015-01-20 14:49:07 +01:00
bors-servo
2d5b0e0855 auto merge of #4679 : Ms2ger/servo/is_not_null, r=larsbergstrom
It has been removed from Rust.
2015-01-20 06:00:47 -07:00
Ms2ger
7eb659371d Stop calling is_not_null.
It has been removed from Rust.
2015-01-20 13:08:49 +01:00
bors-servo
2629445748 auto merge of #4674 : Ms2ger/servo/doc-js, r=jdm 2015-01-20 04:13:01 -07:00
Ms2ger
cf0652812c Document structuredclone.rs. 2015-01-20 11:40:40 +01:00
bors-servo
9e78116b77 auto merge of #4677 : Ms2ger/servo/lastmodified, r=Manishearth
It has been failing in automation very frequently.
2015-01-20 03:36:45 -07:00
Ms2ger
6694fd4379 Disable document-lastModified-01.html.
It has been failing in automation very frequently.
2015-01-20 10:41:20 +01:00
bors-servo
0c87faae64 auto merge of #4676 : glennw/servo/iframe-src-fix, r=mrobinson 2015-01-20 00:09:45 -07:00
Glenn Watson
797658fb3a Fix change of src attributes on iframe (prevents SetLayerOrigin crash). 2015-01-20 15:38:58 +10:00
bors-servo
49c949803a auto merge of #4668 : mrobinson/servo/constellation-cleanup, r=glennw
The set_ids name is a holdover from a previous design and no longer
reflects what this method does. Instead move the content into
grant_paint_permission and rename it to
send_frame_tree_and_grant_paint_permission. Also move out the handling of
evicted iframes into its own method.
2015-01-19 20:33:45 -07:00
bors-servo
ccf5f96fa9 auto merge of #4672 : glennw/servo/make-glutin-default, r=larsbergstrom
This change makes glutin the default windowing system on mac/linux.

If you run into any issues with the glutin system, you can temporarily
build the GLFW system with the following command:

cd components/servo
../../mach cargo build --no-default-features --features=glfw

Once any glutin related issues have been sorted out, the GLFW
port will be removed.
2015-01-19 16:30:47 -07:00
Glenn Watson
a2a74cbb4f Switch linux reftests on glutin to use osmesa software rendering. 2015-01-20 09:09:45 +10:00
Ms2ger
e239bd9644 Document js.rs. 2015-01-19 23:09:00 +01:00
Ms2ger
8a08fff0b4 Remove OptionalSettable.
It was obsoleted by MutNullableJS.
2015-01-19 23:08:11 +01:00
bors-servo
1e85bb67b2 auto merge of #4667 : brunoabinader/servo/share-css-properties-style-script, r=SimonSapin
Avoids duplicated code when implementing the CSS properties accessors in
CSSStyleDeclaration WebIDL. Servo internal CSS properties are not
accessible.

CSS property "float" is unnacessible because we currently lack support
for BinaryName IDL annotation (#4435).

Fixes #4429, #4430.
2015-01-19 14:54:46 -07:00
Glenn Watson
6dd12855ac Android doesn't need to explicitly specify glutin now. 2015-01-20 07:53:47 +10:00
Glenn Watson
a7d18f9c03 Switch the default windowing system to glutin. See below for details.
This change makes glutin the default windowing system on mac/linux.

If you run into any issues with the glutin system, you can temporarily
build the GLFW system with the following command:

cd components/servo
../../mach cargo build --no-default-features --features=glfw

Once any glutin related issues have been sorted out, the GLFW
port will be removed.
2015-01-20 07:07:16 +10:00
bors-servo
0a787ddb67 auto merge of #4669 : servo/servo/glennw-patch-1, r=larsbergstrom
Needs to be updated for arch / fedora too, but I'm not sure what the relevant packages are.
2015-01-19 13:30:47 -07:00