bors-servo
04d78b6fdb
auto merge of #5362 : Ms2ger/servo/layout-old-path, r=jdm
2015-03-25 17:03:49 -06:00
Ms2ger
b9c4ab6882
Remove old_path usage from layout.
2015-03-25 22:36:01 +01:00
bors-servo
7f587f6cb5
auto merge of #5360 : snf/servo/main_thread_runnable, r=jdm
2015-03-25 14:48:50 -06:00
snf
e1f34b827d
implementing MainThreadRunnable in ScriptTask
2015-03-25 19:31:36 +00:00
Glenn Watson
7163a3c580
Add mozbrowser events for location + title change.
2015-03-26 05:19:03 +10:00
bors-servo
da2231a8fa
auto merge of #5358 : Ms2ger/servo/android-path-ext, r=jdm
2015-03-25 10:36:57 -06:00
Ms2ger
56af6a6568
Fix warnings related to std::fs::PathExt on Android.
2015-03-25 16:54:34 +01:00
bors-servo
06d3fc719c
auto merge of #5356 : servo/servo/devtools, r=jdm
2015-03-25 09:03:51 -06:00
bors-servo
f29ea4e4ef
auto merge of #5302 : mmatyas/servo/canvas_stroke, r=jdm
...
This is the servo side patch of servo/rust-azure#149 .
2015-03-25 07:54:50 -06:00
Ms2ger
638ce20e6f
Move devtools to std::net ( fixes #5355 ).
2015-03-25 14:40:21 +01:00
Mátyás Mustoha
698b88f71d
Canvas: added stroke() support.
2015-03-25 12:52:05 +01:00
Ms2ger
6113dd42b1
Pass a slice to write_pixels.
2015-03-25 09:49:15 +01:00
Ms2ger
cb46a5788d
Stop using the deprecated range function in canvas_paint_task.
2015-03-25 09:48:59 +01:00
Ms2ger
86ce20dca3
Fix indentation in canvas_paint_task.
2015-03-25 09:48:32 +01:00
bors-servo
e77c4e2d76
auto merge of #5346 : saneyuki/servo/binding, r=jdm
...
- Fix #707
- Take over from #5106
2015-03-25 01:09:47 -06:00
Tetsuharu OHZEKI
bc06526610
Add guards to almost CanvasRenderingContext2D methods according to the spec.
...
http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR/ says
"Except where otherwise specified, for the 2D context interface,
any method call with a numeric argument whose value is infinite or a
NaN value must be ignored."
We might define the annotation to generate this behavior in glue code.
However, at now, I use this workaround way.
2015-03-25 15:13:34 +09:00
Tetsuharu OHZEKI
05c6d046dd
Enable unrestricted
types for CanvasRenderingContext2D
.
2015-03-25 15:13:33 +09:00
bors-servo
8b5df113f0
auto merge of #5351 : frewsxcv/servo/window-docs, r=jdm
2015-03-24 23:54:48 -06:00
Corey Farwell
605e21c406
Add links for script::dom::window to whatwg HTML spec
2015-03-24 23:34:22 -04:00
Glenn Watson
a3b1fac503
Fixes #4964 and #4965 .
2015-03-25 13:26:23 +10:00
Tetsuharu OHZEKI
9cd1b2c158
Use Finite<T> for our dom code (excluding CanvasRenderingContext2D)
2015-03-25 10:45:30 +09:00
Tetsuharu OHZEKI
4c96732077
Support the conversion behavior from ECMAScript value to restricted float.
...
This is defined by WebIDL spec:
- http://heycam.github.io/webidl/#es-float
- http://heycam.github.io/webidl/#es-double
2015-03-25 10:45:30 +09:00
Tetsuharu OHZEKI
f7fd34c0aa
Introduce Finite<T: Float> for restricted values defined in WebIDL.
2015-03-25 10:45:30 +09:00
Tetsuharu OHZEKI
2bf2c0020b
Add bindings support for unrestricted float/double values.
2015-03-25 10:45:30 +09:00
bors-servo
1f0291c4db
auto merge of #5345 : aweinstock314/servo/master, r=jdm
2015-03-24 16:39:49 -06:00
Avi Weinstock
5d444fe16d
Create a seperate thread for devtools' TCP acceptor ( Closes #5294 ).
2015-03-24 18:28:28 -04:00
bors-servo
2ab1ece765
auto merge of #5231 : dmarcos/servo/issue4784, r=jdm
...
...ce
2015-03-24 14:01:06 -06:00
Diego Marcos
e3f5a76baa
Implementing canvas drawImage API for HTML Canvas elements as image source
2015-03-24 12:23:15 -07:00
bors-servo
2c51d0ef53
auto merge of #5306 : snf/servo/storage_event, r=jdm
...
Needed for #5196
2015-03-24 12:52:00 -06:00
snf
db6aeef2ef
implementing StorageEvent interface
2015-03-24 18:03:06 +00:00
bors-servo
2a9f29f382
auto merge of #5344 : pcwalton/servo/dont-copy-style-guts, r=mbrubeck
...
50% layout improvement in a photo gallery demo I'm working on.
r? @mbrubeck
2015-03-24 11:42:55 -06:00
bors-servo
1432b630d2
auto merge of #5343 : frewsxcv/servo/script-dom-window, r=jdm
2015-03-24 10:33:55 -06:00
Patrick Walton
3d1a5eb8ab
layout: Stop copying the guts of style objects when calculating replaced
...
widths and heights.
50% layout improvement in a photo gallery demo I'm working on.
2015-03-24 09:16:53 -07:00
Corey Farwell
0f2fd77bb1
Clean up a few things in script::dom::window
2015-03-24 09:43:50 -04:00
bors-servo
8f45268420
auto merge of #5334 : frewsxcv/servo/cleanup-document, r=Ms2ger
2015-03-24 06:54:48 -06:00
bors-servo
d1268ec9c6
auto merge of #5335 : nnethercote/servo/profile-crate, r=glennw
...
- Most of util::memory has been moved into profile::mem, though the
`SizeOf` trait and related things remain in util::memory. The
`SystemMemoryReporter` code is now in a submodule
profile::mem::system_reporter.
- util::time has been moved entirely into profile::time.
2015-03-24 03:15:49 -06:00
Nicholas Nethercote
52447ccd9b
Move profiler code from util
into a new crate profile
.
...
- Most of util::memory has been moved into profile::mem, though the
`SizeOf` trait and related things remain in util::memory. The
`SystemMemoryReporter` code is now in a submodule
profile::mem::system_reporter.
- util::time has been moved entirely into profile::time.
2015-03-24 02:09:31 -07:00
bors-servo
2f85c5bb50
auto merge of #5333 : glennw/servo/fix-iframe-subpage, r=jdm
...
This fixes the case of clicking a link in an iframe, going back, then clicking the link again.
2015-03-23 23:03:45 -06:00
bors-servo
cad58b3bec
auto merge of #5332 : glennw/servo/fix-root-window-rect, r=jdm
2015-03-23 21:45:46 -06:00
bors-servo
be68ea0d81
auto merge of #5328 : aweinstock314/servo/master, r=jdm
2015-03-23 20:36:47 -06:00
Corey Farwell
e770f05e0c
Cleanup and modernize script::dom::document
2015-03-23 21:43:53 -04:00
bors-servo
7f60feef77
auto merge of #5326 : Adenilson/servo/squashingWarnings03, r=jdm
2015-03-23 19:27:46 -06:00
Glenn Watson
06a79243a7
Ensures that iframe navigation updates the parent iframe element subpage id.
...
This fixes the case of clicking a link in an iframe, going back, then clicking the link again.
2015-03-24 10:14:49 +10:00
Glenn Watson
30ac159721
Fixes a bug where the window size may not get passed to a new root pipeline.
2015-03-24 10:08:44 +10:00
bors-servo
b7e66c5349
auto merge of #5318 : glennw/servo/input-relayout, r=jdm
2015-03-23 18:03:45 -06:00
bors-servo
bfb80f20b5
auto merge of #5284 : nnethercote/servo/treeify-reports, r=jdm
...
Memory reports are much nicer to read when grouped into trees, which requires giving each report a path instead of a name.
Sample output:
```
Begin memory reports
|
| 2.51 MiB -- pages
| 2.51 MiB -- url(file:///home/njn/moz/servo/../servo-static-suite/wikipedia/Guardians%20of%20the%20Galaxy%20(film)%20-%20Wikipedia,%20the%20free%20encyclopedia.html)
| 2.51 MiB -- display-list
|
| 238.89 MiB -- resident-according-to-smaps
| 188.31 MiB -- anonymous (rw-p)
| 27.29 MiB -- /home/njn/moz/servo/components/servo/target/debug/servo (r-xp)
| 7.82 MiB -- other
| 6.65 MiB -- [heap] (rw-p)
| 3.55 MiB -- /usr/lib/x86_64-linux-gnu/dri/i965_dri.so (r-xp)
| 1.42 MiB -- /lib/x86_64-linux-gnu/libc-2.19.so (r-xp)
| 1.13 MiB -- /home/njn/moz/servo/components/servo/target/debug/servo (r--p)
| 0.74 MiB -- /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 (r-xp)
| 0.73 MiB -- /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 (r-xp)
| 0.65 MiB -- /lib/x86_64-linux-gnu/libm-2.19.so (r-xp)
| 0.60 MiB -- /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1 (r-xp)
|
| 71.08 MiB -- jemalloc-heap-active
| 59.11 MiB -- jemalloc-heap-allocated
| 180.00 MiB -- jemalloc-heap-mapped
| 232.87 MiB -- resident
| 54.43 MiB -- system-heap-allocated
| 3130.11 MiB -- vsize
|
End memory reports
```
2015-03-23 16:33:47 -06:00
Avi Weinstock
cf0657a403
Fixed some deprecation errors in components/net.
2015-03-23 18:28:44 -04:00
Nicholas Nethercote
fe3e93225b
Print trees in the memory profiler's output.
...
Memory reports are much nicer to read when grouped into trees, which requires giving each report a path instead of a name.
Sample output:
```
Begin memory reports
|
| 2.51 MiB -- pages
| 2.51 MiB -- url(file:///home/njn/moz/servo/../servo-static-suite/wikipedia/Guardians%20of%20the%20Galaxy%20(film)%20-%20Wikipedia,%20the%20free%20encyclopedia.html)
| 2.51 MiB -- display-list
|
| 238.89 MiB -- resident-according-to-smaps
| 188.31 MiB -- anonymous (rw-p)
| 27.29 MiB -- /home/njn/moz/servo/components/servo/target/debug/servo (r-xp)
| 7.82 MiB -- other
| 6.65 MiB -- [heap] (rw-p)
| 3.55 MiB -- /usr/lib/x86_64-linux-gnu/dri/i965_dri.so (r-xp)
| 1.42 MiB -- /lib/x86_64-linux-gnu/libc-2.19.so (r-xp)
| 1.13 MiB -- /home/njn/moz/servo/components/servo/target/debug/servo (r--p)
| 0.74 MiB -- /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 (r-xp)
| 0.73 MiB -- /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 (r-xp)
| 0.65 MiB -- /lib/x86_64-linux-gnu/libm-2.19.so (r-xp)
| 0.60 MiB -- /lib/x86_64-linux-gnu/libglib-2.0.so.0.4200.1 (r-xp)
|
| 71.08 MiB -- jemalloc-heap-active
| 59.11 MiB -- jemalloc-heap-allocated
| 180.00 MiB -- jemalloc-heap-mapped
| 232.87 MiB -- resident
| 54.43 MiB -- system-heap-allocated
| 3130.11 MiB -- vsize
|
End memory reports
```
2015-03-23 15:17:04 -07:00
bors-servo
0c3615ced1
auto merge of #5312 : frewsxcv/servo/cleanup-view-source, r=jdm
...
Fixes #5304
2015-03-23 15:42:48 -06:00
bors-servo
f62ab247fc
auto merge of #5311 : frewsxcv/servo/handle-message-str, r=jdm
...
Fixes #5305
2015-03-23 14:42:50 -06:00