Commit graph

995 commits

Author SHA1 Message Date
David Zbarsky
1a552b51ee servo: Merge #7151 - Make CSSStyleDeclaration setters rethrow errors instead of unwrapping (from dzbarsky:style-setters); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: b8d464f5dc44bdf8382bf6d7b6a5814bf440bbad
2015-08-10 23:04:34 -06:00
Brandon Fairchild
e3a0517b8d servo: Merge #7136 - Rename SendConsoleMessage to ConsoleAPI (from nerith:consoleapi); r=jdm
Fixes #7131.

Source-Repo: https://github.com/servo/servo
Source-Revision: 41166fdb5bd16e96827118b9ab5543c65418c200
2015-08-10 15:10:57 -06:00
Anthony Ramine
6660f5b499 servo: Merge #6778 - Optimise Node.childNodes (from nox:childnodes); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2b9590c5a53f273c13c6fb36f95fbf593bbffd8b
2015-08-10 14:05:02 -06:00
Harrison G
214a812229 servo: Merge #7101 - Allows object evaluation in devtools -- Closes #6724 (from HarryLovesCode:master); r=jdm
The purpose of this is to fix how objects were previously evaluated in
the developer tools.

- Before this, evaluating an object such as the `window` would `panic!`
- After this, evaluating an object such as the `window` outputs `[object
  Window]`

A few things to note:

- This commit contains `unsafe` code.
- This does not contain a test because the developer tools cannot be properly tested until #5971 lands.

Source-Repo: https://github.com/servo/servo
Source-Revision: f77973c903a3e08067feed3ba39cff3c6bf8ac11
2015-08-09 18:27:53 -06:00
David Zbarsky
a2c040a617 servo: Merge #7089 - Implement HTMLTableElement#createTBody (from dzbarsky:createtbody); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 44d93bc37aa8226554fc73bba20421a150b002de
2015-08-09 13:56:47 -06:00
Ms2ger
5da0b90ed4 servo: Merge #7114 - Introduce a follow_hyperlink function to implement the "follow a hyperlink" algorithm (from Ms2ger:follow-hyperlink); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a74f3d1d9c09b40a81fa4410797e8c4920225c78
2015-08-09 12:10:08 -06:00
David Zbarsky
4db3b420d2 servo: Merge #7092 - Clean up and fix PutImageData (from dzbarsky:putimagedata); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 6a8bc8528498c0cbb2e50567d765a989cde2d115
2015-08-09 07:00:56 -06:00
David Zbarsky
68cd6176d8 servo: Merge #6975 - Fix getImageData with sizes < 1 pixel (from dzbarsky:get-tiny); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: dbce4c5bd8ec005ba78ac8c2f8754bd137c87f25
2015-08-09 06:32:30 -06:00
David Zbarsky
84a4dca5a6 servo: Merge #7063 - Implement createCaption and deleteCaption on HTMLTableElement (from dzbarsky:caption); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: f41834e3217bb571ead68e870ab0b1e88c4b5764
2015-08-09 04:45:28 -06:00
Adrián Arroyo Calle
8e9df46934 servo: Merge #7107 - Removed unused object_to_string method (from AdrianArroyoCalle:master); r=Ms2ger
Closes #7100

Source-Repo: https://github.com/servo/servo
Source-Revision: 28abc55d9b55ce8488cbcba9730a0b0ff5badcee
2015-08-09 04:16:55 -06:00
Patrick Walton
6025b53803 servo: Merge #7099 - servo: Update ipc-channel to pick up bincode support (from pcwalton:bincode); r=jdm
Large improvement in page load times, especially in debug builds.

r? @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: d4d4d6dc013ee322282de7ec0effa54c8827a775
2015-08-08 10:55:00 -06:00
Ms2ger
b7fff47f1a servo: Merge #7046 - Implement a base_url getter and use it for style attributes (from Ms2ger:base-url); r=dzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: 530d4547c945fbf120d546d6e9a31b8f3bacc78f
2015-08-08 06:53:32 -06:00
Ms2ger
4963436268 servo: Merge #7075 - Improve code around Window::load_url (from Ms2ger:load_url); r=dzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: a0af7a1581ffaa6b40149affdd5519caa2be015f
2015-08-08 06:09:13 -06:00
Ms2ger
099b2bd2fe servo: Merge #7066 - Dispatch message events for WebSocket (from Ms2ger:ws-event); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: d8b4611a79fbb8c4675d9de763280ada34e63b13
2015-08-08 03:00:50 -06:00
Lars Bergstrom
aac2bcf1eb servo: Merge #7051 - Update submodules and don't call setrlimit on Android (from larsbergstrom:android_updates); r=mbrubeck
r? @mbrubeck

Fixes #6432.

Source-Repo: https://github.com/servo/servo
Source-Revision: c528039a5324ffccc620bb49ad30823a1afab013
2015-08-07 19:54:27 -06:00
Harrison G
163eb94e9f servo: Merge #7073 - Fix requestAnimationFrame timestamps in queue (from HarryLovesCode:master); r=SimonSapin
This resolves #7044 which involved callbacks in a queue not receiving the same timestamp despite the specification saying they should. An extra test was added to verify the correct behavior.

Source-Repo: https://github.com/servo/servo
Source-Revision: d36a10023a9d37a24e2eb182918d790a4b8f55e3
2015-08-07 17:14:48 -06:00
Connor Imes
d598f44b6b servo: Merge #7009 - Remove typedefs DevtoolsControlChan and DevtoolsControlPort (from connorimes:remove-confusing-typedefs); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: a5c7508fabb36f9f5bc14e84b5f481cf7036e5f7
2015-08-07 14:41:37 -06:00
James Graham
f689852d1b servo: Merge #6415 - Add DOMLoad message to constellation that is sent after the DOM Load event is dispatched (from jgraham:dom_load); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 361d94d23ebf2897a240763d28fbb77b3d831b34
2015-08-07 11:30:33 -06:00
Ms2ger
9e7d051c1e servo: Merge #7000 - Remove some stray whitespace (from Ms2ger:space); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 29c12dfc56b9d2398fd2b4d26404a850b99d73dd
2015-08-07 09:40:50 -06:00
Michael Howell
76df875017 servo: Merge #7003 - GC pause reporting (from notriddle:master); r=Ms2ger
Closes #6968.

Source-Repo: https://github.com/servo/servo
Source-Revision: b4e30da3dbf58c16703864f4bec4b0b0132084fa
2015-08-07 06:14:12 -06:00
Corey Farwell
975ba6831a servo: Merge #6993 - Remove dead Python code in binding generating code (from frewsxcv:rm-dead-codegen); r=Ms2ger
Fixes #6956

Source-Repo: https://github.com/servo/servo
Source-Revision: 9ed2df3de704261399942b82a047a6a757501d53
2015-08-07 04:51:31 -06:00
Patrick Walton
2eb8f4c179 servo: Merge #7043 - script: Make the legacy presentational attributes on <td> apply to <th> too (from pcwalton:th-width); r=Ms2ger
Makes the Google SERPs not so narrow.

r? @Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: 17263a525b316d1d02b1cc3181ec9aef3b7001e6
2015-08-07 00:40:54 -06:00
Manish Goregaokar
f5870d2f32 servo: Merge #7054 - Rollup of 3 pull requests (from Manishearth:rollup); r=Manishearth
- Successful merges: #7028, #7034, #7039
- Failed merges:

Source-Repo: https://github.com/servo/servo
Source-Revision: 76b4bae6ee45317f2ca0aefbc48b89169d2450c8
2015-08-06 17:43:09 -06:00
Ms2ger
1dc4f2b93a servo: Merge #7027 - Lock stderr while printing the alert() message (from Ms2ger:lock-stderr); r=jdm
2a7f262b7df8761261a0fa618394f4e991733a5e was unsufficient for the case where
the interleaved output was actually on stderr rather than stdout, such as
output from the error macro.

Source-Repo: https://github.com/servo/servo
Source-Revision: 522ebe7a3bd55d4572b670fa32ffc9979b3f7a74
2015-08-06 12:46:31 -06:00
Ms2ger
d7b9cc2d8f servo: Merge #7002 - Remove the unused WorkerGlobalScope::eventtarget method (from Ms2ger:eventtarget); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0a8ea98183ec813e490096b20e2c04db425d7b0b
2015-08-06 10:31:58 -06:00
James Graham
7df5331219 servo: Merge #6451 - Add onkey* global event handler attributes (from jgraham:onkey_attributes); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 106361443d58f57ac140e4b4033b60e98fdaad2b
2015-08-06 07:44:51 -06:00
farodin91
104d12b7cd servo: Merge #7001 - Remove Unnecessary Code in FileReader #6753 (from farodin91:filereader); r=Ms2ger
@jdm r?

Source-Repo: https://github.com/servo/servo
Source-Revision: ddd2840eed6a9c119b188c7c3aa7258f25702697
2015-08-06 06:13:56 -06:00
David Zbarsky
406ae48819 servo: Merge #6970 - GetImageData should return un-premultiplied alpha values (from dzbarsky:getimagedata); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 4726f58d15a6bfed9614b7ceaaab7765a5c01d03
2015-08-06 04:34:20 -06:00
David Zbarsky
1aa0c42fef servo: Merge #6985 - Refactor DrawImage implementations to avoid code duplication (from dzbarsky:drawimage_refactor); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1b54e9c30c12b42d2a6eaf5b81b88a0f4e02ebb9
2015-08-06 00:24:02 -06:00
Ms2ger
b8e80e6cc9 servo: Merge #6990 - Update Animation Timing links and terminology to the HTML specification (from Ms2ger:update-animatiom-timimg); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: afe3d7e747ca75afd8b641e2e4ab99f280a32e26
2015-08-05 14:55:55 -06:00
David Zbarsky
37af7f07c4 servo: Merge #6974 - Fix createImageData with sizes < 1 pixel (from dzbarsky:tiny-create); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: debd7d87d61e6e6d772181a1076ee29519e479c7
2015-08-05 11:40:20 -06:00
David Zbarsky
868cce00b8 servo: Merge #6971 - Make createRadialGradient throw for negative radii (from dzbarsky:negative-radius); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 95269bba39313e7a221947a6b20fecc92e87a201
2015-08-05 10:42:57 -06:00
Ms2ger
11ef44d7d1 servo: Merge #6964 - Cleanup DedicatedWorkerGlobalScope::run_worker_scope (from Ms2ger:dwgs-eventloop); r=jdm
It was getting overcrowded.

Source-Repo: https://github.com/servo/servo
Source-Revision: b3d61878dc28418e5427e965f26a06766f47358c
2015-08-05 09:21:10 -06:00
James Graham
a77654c4c2 servo: Merge #6416 - Use hosts-replaced URL only when loading resources (from jgraham:hosts_replaced); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 8602d01af2b2081ea1e9d600abdb1ea609a65038
2015-08-05 08:01:03 -06:00
Josh Matthews
7a2b43ae8d servo: Merge #6959 - Fix warnings (from servo:warnings_); r=jdm
Adds on top of #6949.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0d8825c25c6eed4dc22b10e668b03fc79056702b
2015-08-05 03:44:22 -06:00
r0e
f1ca75c83b servo: Merge #6944 - Fix for issue #6768. Refactor ReadData and BlobBody (from r0e:testing); r=jdm
Fix for issue #6768.

Merge common fields of ReadData and BlobBody to avoid passing redundant information to functions.

Source-Repo: https://github.com/servo/servo
Source-Revision: ac533b146660922d7d4e6f1836f189a63334df65
2015-08-04 20:21:35 -06:00
David Zbarsky
8b5d35a4ff servo: Merge #6943 - Clean up some methods in CanvasRendeingContext2D (from dzbarsky:context); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 447c991ebb8cca1601d7c5ecde5dffb14199ddca
2015-08-04 00:46:09 -06:00
Josh Matthews
2f1aaef81d servo: Merge #6874 - Start reporting memory usage for Window and all nodes in all DOM tree… (from jdm:domreporting); r=njn
…s for frame treese in script tasks.

This underreports by a significant amount, since only Document, Window and CharacterData (ie. text) nodes are fully represented. That being said, every HTML element in the tree is measured, but only counted as a Node. It's easy to improve this, it just requires adding the appropriate HeapSizeOf derives and increasing the granularity of `measure_memory_for_eventtarget`. google.com shows a dom-tree value of 0.24 MB for me at the moment.

r? @nnethercote

Source-Repo: https://github.com/servo/servo
Source-Revision: 84e25befdd97cf74fb00707dbe150d59d980e977
2015-08-03 21:24:41 -06:00
Glenn Watson
b4bfd1bd03 servo: Merge #6784 - Implement offsetParent/Top/Left/Width/Height (from glennw:offset-ext); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: d66c59a15213dec17f38af0653e9e7e1bf579a95
2015-08-03 18:39:43 -06:00
Ms2ger
9cb8f6d6fa servo: Merge #6926 - Implement a WorkerGlobalScopeInit struct to pass arguments to WorkerGlobalScope::new_inherited more easily (from Ms2ger:dwgs-args); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3c5d24dbf43e22176d382b6f8bd9a88805c1d8b2
2015-08-03 17:42:15 -06:00
Ravi Shankar
142f47ff7e servo: Merge #6920 - Removed an invalid FIXME and fixed some doc comments (from Wafflespeanut:NIT); r=jdm
There are some bad module-level doc comments in `flow.rs` which has directly affected [Servo's docs](http://doc.servo.org/layout/flow/index.html) and so, this fixes that. Oh, and #6728 is having a hard time getting closed and so I've also removed the `FIXME` comment related to it.

Source-Repo: https://github.com/servo/servo
Source-Revision: ae3aadd6567e15b5fb4da6c85fc4cdba9fcc2eb2
2015-08-03 16:46:12 -06:00
Matt Brubeck
9312160d09 servo: Merge #6721 - Implement the unicode-bidi CSS property (from mbrubeck:unicode-bidi); r=pcwalton
r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 5922ac606c63b91fdbd8c84fd0abb35450bee547
2015-08-03 15:37:12 -06:00
Ms2ger
d66f8c44ec servo: Merge #6917 - Lock and flush stdout in Window#alert (from Ms2ger:lock-alert); r=metajack
We use alert() to communicate test results to wptrunner. Unfortunately,
sometimes the alert output is interleaved with other output on stdout,
causing wptrunner to classify the test result as a timeout. I hope this will
avoid that scenario.

Source-Repo: https://github.com/servo/servo
Source-Revision: 86476804cac668133b6964c8f551918163aa66d7
2015-08-03 13:17:47 -06:00
Glenn Watson
38ace83751 servo: Merge #6903 - Fix percentage height calculation, absolute containing block height calculations (from glennw:fix-height-again); r=pcwalton
It's not possible to correctly determine during the css cascade whether the container height
is explicitly specified. Additionally, the spec https://drafts.csswg.org/css2/visudet.html#the-height-property says this should affect the *used* height, rather than the computed height.

This significantly improves the layout in #6643.

Source-Repo: https://github.com/servo/servo
Source-Revision: 028707f5cd3263fd1476669207f67d5b9d5d4806
2015-08-03 10:38:21 -06:00
Kayo Hamid
c7c0062e0b servo: Merge #6902 - [FIX] Bug fix #6756 (from khflab:master); r=jdm
fixes #6756 waiting for review.

Signed-off-by: Kayo Hamid <kayo@bvcupons.com.br>

Source-Repo: https://github.com/servo/servo
Source-Revision: 2ce811ffb809971cc87adf1f2f21ad2526085964
2015-08-03 09:18:05 -06:00
Harrison G
b53f75c1eb servo: Merge #6893 - Fixes Issue #6866 (from HarryLovesCode:master); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1809748dc12ec63e3179b66109c91983f744c235
2015-08-02 16:05:14 -06:00
Patrick Walton
e69b59f7ca servo: Merge #6896 - script: Use Arc::make_unique instead of Arc::get_mut when updating inline styles (from pcwalton:fix-particles-crash); r=SimonSapin
Transitions make the reasoning in the comment in the relevant sections
not true.

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: 0c6e271cd3d5e2a7f141cae811d92b8fd6370b18
2015-08-02 10:10:39 -06:00
Patrick Walton
9fc5bcecfb servo: Merge #6894 - style: Switch animation timestamps to be doubles instead of floats (from pcwalton:double-precision-timestamps); r=metajack
32-bit floats are not enough to hold timestamps since the epoch and
result in jank.

r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: 92cbb9368471d12f0d5492abd7e04b16df549366
2015-08-01 22:01:39 -06:00
Bogdan Cuza
fa993d4367 servo: Merge #6714 - Implement a FileList (from boghison:filelist); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: b7261a2073dcb66473907dbb25282f05f9bfe3d3
2015-08-01 20:16:14 -06:00
Simon Sapin
17b790db18 servo: Merge #6741 - Fix CSSStyleDeclaration::setPropertyPriority and some refactoring (from servo:fix-setpropertypriority); r=pcwalton
r? @Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: c6b043582b41434c59a21eed5c9258ae3c0fb437
2015-08-01 15:00:06 -06:00