Francesc Bautista
4ada1e9421
added TestBindingProxy.webidl and testbindingproxy.rs files
...
added testbindingproxy to dom/mod.rs and fixed unused variable warning of testingbindingproxy.rs
removed useless GlobalField, removed brackets use statements with only 1 element and changed the description of TestBindingProxy.webidl
renamed reflector to reflector_ and removed unused import in testbinding.rs
2015-06-09 23:14:05 +02:00
bors-servo
713f18a58d
Auto merge of #6201 - glennw:jquery-runner, r=metajack
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6201 )
<!-- Reviewable:end -->
2015-05-31 21:20:57 -05:00
bors-servo
1d19338a93
Auto merge of #6232 - frewsxcv:update-submodules-dry, r=jdm
...
This might allow us to merge #5648
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6232 )
<!-- Reviewable:end -->
2015-05-31 20:40:21 -05:00
bors-servo
ce3debbc82
Auto merge of #6234 - frewsxcv:patch-2, r=metajack
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6234 )
<!-- Reviewable:end -->
2015-05-31 19:08:45 -05:00
Glenn Watson
be7ae0c732
Add jQuery test runner and mach integration.
2015-06-01 09:36:24 +10:00
bors-servo
cdc0b88f69
Auto merge of #6235 - frewsxcv:rm-python-unused-imports, r=metajack
...
Found using flake8
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6235 )
<!-- Reviewable:end -->
2015-05-31 18:28:29 -05:00
Corey Farwell
7bddb1185f
Remove unused imports in the Python files
...
Found using flake8
2015-05-31 19:15:32 -04:00
Corey Farwell
372ef7cd5b
Clarify Python version checking conditional
2015-05-31 18:34:52 -04:00
Corey Farwell
9708a386fc
DRY submodule updating by utilizing existing update-submodules command
...
This might allow us to merge #5648
2015-05-31 17:25:26 -04:00
bors-servo
591614347f
Auto merge of #6218 - asbaker:update-dependencies-for-6088, r=SimonSapin
...
Fixes servo/servo#6088
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6218 )
<!-- Reviewable:end -->
2015-05-31 16:04:22 -05:00
Tony Baker
262e0efbe1
Update libfontconfig
2015-05-31 17:02:07 -04:00
bors-servo
c63fc4dc13
Auto merge of #6225 - larsbergstrom:linuxcon_test, r=metajack
...
r? @metajack @mbrubeck @glennw
(or anybody, really)
This is just a simple version of summit3.html that has only the spinning rust logo and matrix multiplication calculator. Longcat currently has regressed and has both some rendering issues (margins have reappeared between the segments) and it only works as a standalone page and no longer within an iframe. I'll look into those enough to fix or at least log bugs when I get back.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6225 )
<!-- Reviewable:end -->
2015-05-30 20:21:42 -05:00
Lars Bergstrom
d569b3c197
Add a simpler concurrency demo for linuxcon
2015-05-30 20:12:33 -05:00
bors-servo
99b79fc248
Auto merge of #6222 - Ms2ger:characterdata, r=nox
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6222 )
<!-- Reviewable:end -->
2015-05-30 06:20:57 -05:00
Tony Baker
2ab1051bd9
Update dependencies for js, fontconfig-sys and mozjs_sys
2015-05-29 17:44:00 -04:00
Ms2ger
18ebdf059c
Add a test for non-ASCII strings in CharacterData#substringData.
2015-05-29 19:36:23 +02:00
bors-servo
bf4fc6f388
Auto merge of #5972 - pgonda:remove-children-from-doc, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5972 )
<!-- Reviewable:end -->
2015-05-29 12:03:28 -05:00
bors-servo
ab1ba0239d
Auto merge of #6216 - Ms2ger:wpt_20150529, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6216 )
<!-- Reviewable:end -->
2015-05-29 11:06:04 -05:00
Ms2ger
881fe95cd1
Update web-platform-tests to revision 075802c1d3387d07e31cd5887459d539b1297c8d.
2015-05-29 17:53:09 +02:00
bors-servo
10127d6b5a
Auto merge of #6199 - nnethercote:instrument-paint-task-buffer-map, r=pcwalton
...
Example output from the memory profiler:
```
| 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page )
| 0.26 MiB -- display-list
| 0.78 MiB -- paint-task # new output line
| 0.78 MiB -- buffer-map # new output line
```
The buffer maps aren't huge, but they're worth measuring, and it's good
to get the memory profiler plumbing into PaintTask.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6199 )
<!-- Reviewable:end -->
2015-05-28 22:45:34 -05:00
bors-servo
15c40d788c
Auto merge of #6212 - jgraham:css_meta_buildbot, r=larsbergstrom
...
Using data from run on buildbot
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6212 )
<!-- Reviewable:end -->
2015-05-28 18:54:46 -05:00
James Graham
93da3cc179
Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
...
Using data from run on buildbot
2015-05-28 22:52:44 +01:00
bors-servo
09f2977cc9
Auto merge of #6209 - zmike:rendersizing, r=mbrubeck
...
ensure that the output render size matches the desired size
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6209 )
<!-- Reviewable:end -->
2015-05-28 15:41:44 -05:00
Mike Blumenkrantz
2a55a91b9a
force cef browser resize check on initial load
...
ensure that the output render size matches the desired size
2015-05-28 16:04:06 -04:00
bors-servo
c97c0a9f94
Auto merge of #6065 - mmatyas:canvas_antialias, r=jdm
...
This patch turns on antialiasing for the canvas, and updates the painting code to use the updated Azure DrawOptions defined in servo/rust-azure#158 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6065 )
<!-- Reviewable:end -->
2015-05-28 14:59:36 -05:00
bors-servo
952e953237
Auto merge of #6208 - Ms2ger:warning, r=larsbergstrom
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6208 )
<!-- Reviewable:end -->
2015-05-28 12:45:13 -05:00
Ms2ger
ee65647ee1
Avoid a build warning in the glutin port without the window feature enabled.
2015-05-28 19:35:42 +02:00
Mátyás Mustoha
f4c0bd3b80
Turn off default antialiasing for most DrawOptions.
2015-05-28 18:42:16 +02:00
bors-servo
1d9b5ced38
Auto merge of #6200 - nnethercote:sort-memory-sub-trees, r=pcwalton
...
This puts the larger sub-trees first. E.g. this:
```
| 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page )
| 0.26 MiB -- display-list
| 0.78 MiB -- paint-task
| 0.78 MiB -- buffer-map
```
becomes this:
```
| 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page )
| 0.78 MiB -- paint-task
| 0.78 MiB -- buffer-map
| 0.26 MiB -- display-list
```
This matches how Firefox's about:memory works.
Now that this is done for all sub-trees, the ad hoc sorting done for
Linux segments is no longer necessary, and has been removed.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6200 )
<!-- Reviewable:end -->
2015-05-28 11:11:27 -05:00
bors-servo
dddd222d29
Auto merge of #6202 - nnethercote:freetype-fixes, r=jack
...
Because #6198 wasn't quite right.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6202 )
<!-- Reviewable:end -->
2015-05-28 09:04:08 -05:00
bors-servo
df74ed136c
Auto merge of #6206 - nox:typeerror-for-unions, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6206 )
<!-- Reviewable:end -->
2015-05-28 06:24:00 -05:00
Anthony Ramine
2c6d2d3abe
Make throw_not_in_union() throw a TypeError ( fixes #6194 )
2015-05-28 13:03:28 +02:00
bors-servo
2b52006b1c
Auto merge of #5981 - Jinwoo-Song:nodeiterator, r=Manishearth
...
Implement NodeIterator's basic functionality. (Fixes #1235 ) But the cases for node removals are not implemented yet.
r? @jdm
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5981 )
<!-- Reviewable:end -->
2015-05-28 05:14:08 -05:00
Jinwoo Song
db25be7bf6
Update NodeIterator code to apply review comments.
2015-05-28 18:37:27 +09:00
Mátyás Mustoha
322fd5ad9d
Add disable-canvas-aa option to test runner.
2015-05-28 11:10:58 +02:00
Mátyás Mustoha
adef44183d
Enable antialiasing for the canvas.
2015-05-28 11:10:57 +02:00
Nicholas Nethercote
e8fc406520
Reduce unsafe-ness in FontContextHandle::new().
...
Because `box + boxed::into_raw() + boxed::from_raw` is nicer than
`libc::malloc() + mem::transmute() + ptr::write() + libc::free()`.
2015-05-27 21:50:09 -07:00
Nicholas Nethercote
16ba32521b
Don't leak the struct_FT_MemoryRec_.
...
We libc::malloc() a struct_FT_MemoryRec_ and pass it to FreeType. We
need to libc::free() it as well when FreeType is done with it.
2015-05-27 21:22:11 -07:00
bors-servo
af81db5479
Auto merge of #6198 - Jinwoo-Song:freetype, r=metajack
...
It is recommended to use FT_Done_Library with FT_New_Library
from freetype document.
Fixes #6191 .
r? @jdm @nnethercote
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6198 )
<!-- Reviewable:end -->
2015-05-27 21:06:12 -05:00
Nicholas Nethercote
640e68bbbd
Recursively sort memory report sub-trees.
...
This puts the larger sub-trees first. E.g. this:
```
| 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page )
| 0.26 MiB -- display-list
| 0.78 MiB -- paint-task # new output line
| 0.78 MiB -- buffer-map # new output line
```
becomes this:
```
| 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page )
| 0.78 MiB -- paint-task # new output line
| 0.78 MiB -- buffer-map # new output line
| 0.26 MiB -- display-list
```
This matches how Firefox's about:memory works.
Now that this is done for all sub-trees, the ad hoc sorting done for
Linux segments is no longer necessary, and has been removed.
2015-05-27 18:57:13 -07:00
Nicholas Nethercote
a21f6c407c
Measure paint task buffer maps in the memory profiler.
...
Example output from the memory profiler:
```
| 1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page )
| 0.26 MiB -- display-list
| 0.78 MiB -- paint-task # new output line
| 0.78 MiB -- buffer-map # new output line
```
The buffer maps aren't huge, but they're worth measuring, and it's good
to get the memory profiler plumbing into PaintTask.
2015-05-27 18:27:18 -07:00
Jinwoo Song
557bb11bde
Use FT_Done_Library instead of FT_Done_Freetype
...
It is recommended to use FT_Done_Library with FT_New_Library
from freetype document.
Fixes #6191 .
2015-05-28 10:17:06 +09:00
bors-servo
2ce7b78907
Auto merge of #6197 - jgraham:css_expected_update, r=larsbergstrom
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6197 )
<!-- Reviewable:end -->
2015-05-27 17:59:58 -05:00
James Graham
1f25a2972a
Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
2015-05-27 22:42:17 +01:00
bors-servo
b1a773a15b
Auto merge of #6196 - mbrubeck:metadata, r=SimonSapin
...
#6088 . r? @SimonSapin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6196 )
<!-- Reviewable:end -->
2015-05-27 14:57:41 -05:00
bors-servo
94ebfe81e4
Auto merge of #6175 - zmike:embedding-REVENGE_OF_CARGO, r=larsbergstrom
...
Adds a bunch more embedding interfaces/callbacks/functionality
@larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6175 )
<!-- Reviewable:end -->
2015-05-27 14:17:32 -05:00
Mike Blumenkrantz
8c278d30a6
fix glutin headless compile errors
2015-05-27 14:45:59 -04:00
Mike Blumenkrantz
ca1f49aaa3
spawn a task for cef async browser creation to kick the main loop awake
...
without this, the initial url loading message will never be sent to the
constellation, preventing the engine from ever doing anything
2015-05-27 14:45:59 -04:00
Mike Blumenkrantz
81eb426b04
when creating a cef browser, setup the url to load but don't load it
...
cef apps will expect to enter their main loops before this happens due to
various callbacks being hit, so it's necessary to punt this loading off until
a later time
2015-05-27 14:45:58 -04:00
Mike Blumenkrantz
b1ae5e7523
make Opts.url an Option<> type, only emit initial url load if url exists
...
this is a necessary change for embedded apps to prevent an initial about:blank
page load from overwriting whatever the app was actually trying to load
2015-05-27 14:45:57 -04:00