Commit graph

9247 commits

Author SHA1 Message Date
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
89c208d3e4 Update web-platform-tests expected data to revision 56db12eee9711048ea4c927a89b9e9e05fd97c1b 2015-03-24 18:03:06 +00: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
bors-servo
5ce7d8accf auto merge of #5327 : Ms2ger/servo/memory-explosion, r=Ms2ger 2015-03-23 13:39:53 -06:00
Adenilson Cavalcanti
1f6a93144f Squashing the remaining warnings in utils module. 2015-03-23 11:38:44 -07:00
Josh Matthews
48b151948f Fix double-panic when the script task panics. 2015-03-23 19:19:18 +01:00
bors-servo
b1a35f549b auto merge of #5324 : Ms2ger/servo/missing_copy_implementations, r=jdm
This is now the default.
2015-03-23 08:45:50 -06:00
bors-servo
ca79abe458 auto merge of #5321 : frewsxcv/servo/patch-1, r=Ms2ger 2015-03-23 07:57:50 -06:00
bors-servo
f9826c3ae8 auto merge of #5323 : Ms2ger/servo/script-warnings, r=Manishearth 2015-03-23 06:57:50 -06:00
bors-servo
ccac6a944e auto merge of #5319 : frewsxcv/servo/urlsearchparams, r=Ms2ger 2015-03-23 05:18:50 -06:00
bors-servo
092a6d6f10 auto merge of #5317 : Ms2ger/servo/cef, r=jdm 2015-03-23 04:15:50 -06:00
Ms2ger
2755ed6c58 Remove allow(missing_copy_implementations) attributes.
This is now the default.
2015-03-23 10:49:44 +01:00
Ms2ger
6b69fec7fe Fix warnings in script. 2015-03-23 10:37:49 +01:00
bors-servo
4c2ec083e8 auto merge of #5314 : Ms2ger/servo/warnings, r=jdm 2015-03-23 03:24:50 -06:00
bors-servo
1f682d878d auto merge of #5281 : glennw/servo/mozbrowser, r=jdm 2015-03-22 21:36:51 -06:00
Glenn Watson
bf9b8f7050 Experimental implementation of (a small subset of) mozbrowser APIs. 2015-03-23 13:26:55 +10:00
Corey Farwell
c0ea1e6330 Add TODO comments for a recently opened issue 2015-03-22 22:23:06 -04:00
bors-servo
dfb8929b00 auto merge of #5316 : frewsxcv/servo/no-format-abuse, r=jdm
In these cases for `format!`, we're just constructing a String of the
single argument with no special format.
2015-03-22 19:30:51 -06:00
Corey Farwell
5697095298 dom::urlsearchparams cleanup and documentation 2015-03-22 20:51:48 -04:00
Glenn Watson
0db6f857ad Make text input relayout when value is changed directly 2015-03-23 09:57:51 +10:00
Glenn Watson
918d64e6fc Fix a few warnings 2015-03-23 09:57:33 +10:00
Ms2ger
b45cf4ccf8 Fix some warnings in the CEF port. 2015-03-23 00:35:23 +01:00
Corey Farwell
5a780cb221 Stop abusing format! macro when construct a String
In these cases for `format!`, we're just constructing a String of the
single argument with no special format.
2015-03-22 18:54:56 -04:00
Ms2ger
f416a6a66e Update some feature gates. 2015-03-22 17:09:57 +01:00