Commit graph

11773 commits

Author SHA1 Message Date
bors-servo
e958d92be6 Auto merge of #6527 - mbrubeck:script_deps, r=larsbergstrom
Remove gfx dependency from script crate.

This dependency is not used anywhere.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6527)
<!-- Reviewable:end -->
2015-07-01 04:01:51 -06:00
bors-servo
ca5f033827 Auto merge of #6521 - servo:wpt_20150630, r=jdm
Update web-platform-tests to revision 87398b8448f699e3e324148795891658f2fa16dd



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6521)
<!-- Reviewable:end -->
2015-07-01 02:52:04 -06:00
bors-servo
61d5efc44c Auto merge of #6526 - jgraham:mach_update, r=Ms2ger
Update mach and fix behaviour of |mach test|



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6526)
<!-- Reviewable:end -->
2015-06-30 23:23:31 -06:00
James Graham
6797ac6b58 Improve |mach test|.
Make mach test work with wpt tests.
Allow specifying specific testsuites on the command line
Allow specifying paths to CSS tests on the command line
2015-07-01 12:14:23 +01:00
James Graham
f1641fde8f Update mach from gecko tree 2015-07-01 10:55:50 +01:00
bors-servo
9897125b34 Auto merge of #6434 - yoava333:mouseover, r=nox
Added support for mouseover and mouseout events

fixes issue https://github.com/servo/servo/issues/6404

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6434)
<!-- Reviewable:end -->
2015-06-30 20:05:06 -06:00
bors-servo
4674afe846 Auto merge of #6525 - mrobinson:simplify-display, r=glennw
Update to latest rust-layers

The compositing context, painting context and display metadata have all
been collapsed into a single NativeDisplay class.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6525)
<!-- Reviewable:end -->
2015-06-30 17:02:26 -06:00
Martin Robinson
0f27bd6c4b Update to latest rust-layers
The compositing context, painting context and display metadata have all
been collapsed into a single NativeDisplay class.
2015-06-30 21:58:54 -07:00
bors-servo
52f2c4dc5e Auto merge of #6523 - michaelwu:autoderive-servohtmlparser, r=nox
Auto-derive JSTraceable and Reflectable for ServoHTMLParser



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6523)
<!-- Reviewable:end -->
2015-06-30 08:45:39 -06:00
Michael Wu
de788e0529 Auto-derive JSTraceable and Reflectable for ServoHTMLParser 2015-06-30 15:53:04 -04:00
bors-servo
1e0c89390c Auto merge of #6522 - Ms2ger:update, r=jdm
Update some submodules.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6522)
<!-- Reviewable:end -->
2015-06-30 08:44:05 -06:00
Ms2ger
1d065d1804 Update smallvec. 2015-06-30 15:51:15 +02:00
Ms2ger
8bb802f726 Update azure. 2015-06-30 15:00:02 +02:00
Ms2ger
3fb5197361 Update web-platform-tests to revision 87398b8448f699e3e324148795891658f2fa16dd 2015-06-30 14:11:21 +02:00
Yoav Alon
3a44e143bc add support for mouseover and mouseout events 2015-06-30 14:42:38 +03:00
bors-servo
836463b9e0 Auto merge of #6516 - michaelwu:fix-mozbrowser, r=glennw
Add JSAutoRequest/JSAutoCompartment to HTMLIFrameElement

Fixes https://github.com/servo/servo/issues/6515

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6516)
<!-- Reviewable:end -->
2015-06-29 17:05:18 -06:00
Michael Wu
728ecc72b6 Add JSAutoRequest/JSAutoCompartment to HTMLIFrameElement 2015-06-29 18:59:50 -04:00
bors-servo
420cf4c8dc Auto merge of #6495 - jruderman:add_keyboard_shortcuts_2, r=metajack
Add keyboard shortcuts to glutin browser

Supersedes #6488. Changes since then:

* Fix a few places where we needed cfg(feature = "window") in order to compile without the feature.
* Zoom-in shortcut now works both with and without shift. (Uses a guard because I couldn't think of another way to do it without CTFE.)
* Back/forward shortcuts now correctly use Alt on non-Mac platforms.
* The back/forward shortcuts that use square brackets are now non-Windows, rather than Mac-only. This roughly matches XP_UNIX: http://hg.mozilla.org/mozilla-central/file/d4c4ce7f060c/browser/base/content/browser-sets.inc#l354

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6495)
<!-- Reviewable:end -->
2015-06-29 11:44:03 -06:00
Ms2ger
41da4fceee Remove the data field from WorkQueue.
It is only used in the run method.
2015-06-29 15:09:29 +02:00
Ms2ger
c214c03375 Pass shared_layout_context to run_queue_with_custom_work_data_type. 2015-06-29 15:07:50 +02:00
bors-servo
342ea7a44b Auto merge of #6512 - frewsxcv:https-github-pages, r=SimonSapin
Prefer HTTPS when linking to GitHub Pages

This commit was generated using the following commands:

```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g'
```

```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g'
```

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6512)
<!-- Reviewable:end -->
2015-06-29 00:41:00 -06:00
Corey Farwell
109e3219a4 Prefer HTTPS when linking to GitHub Pages
This commit was generated using the following commands:

```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g'
```

```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g'
```
2015-06-28 23:16:47 -07:00
bors-servo
525d483b82 Auto merge of #6448 - servo:wpt_20150623, r=Manishearth
Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6448)
<!-- Reviewable:end -->
2015-06-28 14:53:18 -06:00
Ms2ger
c66c6af0ba Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572 2015-06-28 22:52:24 +02:00
bors-servo
6f25ecea3f Auto merge of #6507 - Ms2ger:node-insert, r=Manishearth
Fix a bug in Node::pre_insert.

It was accidentally broken in 3ce368fa28.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6507)
<!-- Reviewable:end -->
2015-06-28 14:01:47 -06:00
bors-servo
0d236288cc Auto merge of #6508 - servo:dupe-canvas-tests, r=metajack
Duplicate some canvas tests in preparation for upstream changes.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6508)
<!-- Reviewable:end -->
2015-06-28 12:37:02 -06:00
Ms2ger
9b270f6238 Disable the upstream tests. 2015-06-28 20:36:33 +02:00
bors-servo
3df35c2f42 Auto merge of #6506 - mt2d2:darwin_notification_imports, r=metajack
notify_darwin should trap import errors.

notify_darwin should trap import errors and should provide the useful package name for the user to install. Fix for issue #6479.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6506)
<!-- Reviewable:end -->
2015-06-28 11:05:36 -06:00
Ms2ger
322a6977f9 Duplicate some canvas tests in preparation for upstream changes. 2015-06-28 17:40:39 +02:00
Ms2ger
b333501a46 Add a test for insertBefore(x, x), and move the test for replaceChild(x, x) to a better place. 2015-06-28 17:23:31 +02:00
Ms2ger
0b680dc9bd Fix a bug in Node::pre_insert.
It was accidentally broken in 3ce368fa28.
2015-06-28 15:59:01 +02:00
Michael Tremel
bb426d3575 notify_darwin should trap import errors and provide the useful package name for the user to install. 2015-06-27 17:13:36 -07:00
bors-servo
46709edaf8 Auto merge of #6499 - Ms2ger:slice_position_elem, r=nox
Stop using position_elem.

It is unstable and not really better than the stable alternative.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6499)
<!-- Reviewable:end -->
2015-06-27 15:51:35 -06:00
Ms2ger
c9f50f41b5 Stop using position_elem.
It is unstable and not really better than the stable alternative.
2015-06-27 23:39:21 +02:00
Ms2ger
b2c226afe6 Move back to using a labeled break in WorkQueue.
This was changed in 18a2050a64; it appears to
work fine now.
2015-06-27 22:10:40 +02:00
bors-servo
53c04b33f0 Auto merge of #6497 - Ms2ger:negate_unsigned, r=zmike
Remove the negate_unsigned feature gate from CEF.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6497)
<!-- Reviewable:end -->
2015-06-27 13:09:24 -06:00
Ms2ger
c5902bac93 Remove the negate_unsigned feature gate from CEF.
There's no real reason to use it.
2015-06-27 20:01:34 +02:00
bors-servo
dab4e73ee7 Auto merge of #6500 - Ms2ger:warnings, r=metajack
Remove unused imports.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6500)
<!-- Reviewable:end -->
2015-06-27 11:38:34 -06:00
Ms2ger
108c9b161c Remove unused imports. 2015-06-27 19:37:12 +02:00
bors-servo
82be491fa3 Auto merge of #6498 - Ms2ger:weak-deref, r=metajack
Remove Deref and DerefMut implementations from WeakFlowRef.

By definition of a weak pointer, these implementations cannot be safe.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6498)
<!-- Reviewable:end -->
2015-06-27 10:27:03 -06:00
Ms2ger
b37d9cc173 Remove Deref and DerefMut implementations from WeakFlowRef.
By definition of a weak pointer, these implementations cannot be safe.
2015-06-27 18:09:14 +02:00
bors-servo
b7923547a7 Auto merge of #6496 - mukilan:fix_import_codegen, r=Ms2ger
CGImports must consider special operations to generate required 'use' items



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6496)
<!-- Reviewable:end -->
2015-06-27 07:51:37 -06:00
Mukilan Thiyagarajan
8f5265c131 CGImports must consider special operations to generate required 'use' items 2015-06-27 19:01:17 +05:30
Jesse Ruderman
1ff4fe02d9 Add keyboard shortcuts to glutin browser 2015-06-27 03:06:18 -07:00
bors-servo
8892f8175d Auto merge of #6494 - Ms2ger:atomic, r=metajack
Use an atomic bool for EXPERIMENTAL_ENABLED.

static mut smells, especially as it can be set and read from multiple threads
(for example in unit tests).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6494)
<!-- Reviewable:end -->
2015-06-27 02:10:50 -06:00
bors-servo
9c5eb162ae Auto merge of #6493 - mrobinson:new-rust-layers, r=pcwalton
Update to latest rust-layers



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6493)
<!-- Reviewable:end -->
2015-06-27 01:30:33 -06:00
Ms2ger
0d0c8f2d42 Use an atomic bool for EXPERIMENTAL_ENABLED.
static mut smells, especially as it can be set and read from multiple threads
(for example in unit tests).
2015-06-27 09:06:45 +02:00
bors-servo
b73eca160c Auto merge of #6491 - michaelwu:mutable, r=metajack
Remove unnecessary uses of MutHeap



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6491)
<!-- Reviewable:end -->
2015-06-26 20:36:04 -06:00
bors-servo
27b2ab45fa Auto merge of #6489 - FreeFull:patch-1, r=metajack
Update Cargo nightly version

Cargo nightly 2015-06-15 has an issue where downloading from crates.io fails due to an SSL certificate error. This issue doesn't occur with 2015-06-24.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6489)
<!-- Reviewable:end -->
2015-06-26 19:38:29 -06:00
Martin Robinson
5f9c3b0b67 Update to latest rust-layers 2015-06-26 18:14:29 -07:00