bors-servo
99fc4ab634
auto merge of #3947 : zmike/servo/embedding-string_map, r=jdm
...
implements a string map which is 100% identical to CEF
r+ @larsbergstrom @jdm
2014-11-13 17:06:30 -07:00
bors-servo
1773198e8d
auto merge of #3946 : zmike/servo/embedding-fixups, r=jdm
...
adds a missing string api function and renames an existing string_list function
r+ @larsbergstrom @jdm ?
2014-11-13 16:00:40 -07:00
Mike Blumenkrantz
2df8125985
embedding: fix conflicts from rustup
2014-11-13 16:35:38 -05:00
bors-servo
8cb2b922ef
auto merge of #3971 : SimonSapin/servo/cargo-https, r=Ms2ger
...
Download from https://static-rust-lang-org.s3.amazonaws.com , which apparently does not require SNI? This bypasses the CloudFront CDN and goes to directly to S3.
CC @brson
2014-11-13 14:24:45 -07:00
Manish Goregaokar
cdddf6465c
Remove unused arguments from LoadComplete and LoadCompleteMsg
2014-11-14 02:14:00 +05:30
Manish Goregaokar
d5f1bb2df5
Don't overwrite redirected URL in script_task ( fixes #3970 )
2014-11-14 02:10:04 +05:30
Mike Blumenkrantz
2d4c6a1d1c
embedding: address most recent critic review
2014-11-13 15:07:41 -05:00
Mike Blumenkrantz
19c80b1741
embedding: replace all occurrences of slicing to &str with slice_to_str()
2014-11-13 14:41:13 -05:00
Mike Blumenkrantz
7ba1150943
embedding: add eutil::slice_to_str() convenience function
...
converts a *u8+length to &str and returns c_int
2014-11-13 14:38:54 -05:00
Mike Blumenkrantz
c813df777e
embedding: address various review nitpicks for string_map
2014-11-13 14:37:56 -05:00
Mike Blumenkrantz
3d0d004887
embedding: replace transmutes with manual casts in cef_string_utf8_cmp()
2014-11-13 13:49:12 -05:00
bors-servo
c713bf4724
auto merge of #3969 : mbrubeck/servo/android-html5-cargo, r=larsbergstrom
...
Fixes a build error.
2014-11-13 11:30:35 -07:00
Matt Brubeck
b879fb30b8
Update html5ever ref in Android Cargo.lock
2014-11-13 10:17:56 -08:00
Simon Sapin
1a684f8279
Download Cargo over HTTPS. Fix #3582 .
2014-11-13 18:13:39 +00:00
Kshitij Parajuli
7472564bf6
M1456, Implement MIME sniffing initial Step
2014-11-13 13:07:19 -05:00
bors-servo
2ffa845cf4
auto merge of #3585 : jdm/servo/input, r=gw
...
This attempts to implement a bunch of the DOM Level 3 Events spec by implementing the KeyboardEvent interface, the document focus context, and dispatching keyup/keydown/keypress events appropriately. There's also some support for multiline text input that's untested.
2014-11-13 10:57:33 -07:00
Josh Matthews
c23edf6f5a
Short-circuit initFooEvent while dispatching events.
2014-11-13 12:53:54 -05:00
Keegan McAllister
642a3592c7
Fix interfaces test
2014-11-13 12:53:54 -05:00
Josh Matthews
89a27dd11a
More documentation.
2014-11-13 12:53:54 -05:00
Josh Matthews
cbed5da9fa
Flush layout after executing timers.
2014-11-13 12:53:54 -05:00
Josh Matthews
80764f65e3
Add single-line text input with no visible cursor.
2014-11-13 12:53:54 -05:00
Josh Matthews
84bc17e7ad
Implement document focus context and hook it up to click events.
2014-11-13 11:27:15 -05:00
Josh Matthews
329ba56fca
Dispatch keydown, keyup, and keypress events at appropriate times.
2014-11-13 11:27:15 -05:00
Josh Matthews
e999843183
Fill in KeyboardEvent.
2014-11-13 11:24:14 -05:00
Josh Matthews
bb7074698a
Add KeyboardEvent stub.
2014-11-13 11:24:14 -05:00
Josh Matthews
1c64dabb15
Pass all key events to the current constellation frame.
2014-11-13 11:24:14 -05:00
bors-servo
c5e1b0d32e
auto merge of #3948 : servo/servo/rustup-20141105_2, r=Manishearth
2014-11-12 20:48:31 -07:00
Glenn Watson
167a01edc0
Disable event-timeout for rustc upgrade. See #3396 .
2014-11-13 13:06:54 +10:00
Glenn Watson
0a0b4c657c
Rebase and fix up compile errors for rust upgrade.
2014-11-13 11:25:19 +10:00
Glenn Watson
fe662bbf23
Disable cors tests for now as they break the rust upgrade.
2014-11-13 11:17:44 +10:00
Glenn Watson
532be69cef
Fix CEF build cargo.lock file
2014-11-13 11:17:43 +10:00
Glenn Watson
f823186345
Fix unit test compile error.
2014-11-13 11:17:43 +10:00
Jack Moffitt
d1b433a3b3
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
2014-11-13 11:17:43 +10:00
bors-servo
26045d7fcb
auto merge of #3809 : mrobinson/servo/display-list-optimization, r=pcwalton
...
Instead of creating a display list for the entire page, only create one
for an area that expands around the viewport. On my machine this makes
incremental layout of http://timecube.com 50% faster.
2014-11-12 17:36:32 -07:00
bors-servo
668d9217d8
auto merge of #3938 : guillaumebort/servo/fix/3933, r=jdm
...
Implement HTMLOptionElement.{label,value}
2014-11-12 15:15:38 -07:00
bors-servo
88ff8c61f0
auto merge of #3955 : thiagopnts/servo/devtools-refactoring, r=jdm
...
I was messing around devtools code and saw some TODOs, is anyone working on it? I took one of them:
```// TODO: this really belongs in the protocol module.```
I would be glad to help with this if no one is on it already, just let me know.
2014-11-12 14:42:35 -07:00
Martin Robinson
4f1bda0c36
Remove some code duplication in the Compositor
...
It is possible to share the code which creates root layers.
2014-11-12 12:01:36 -08:00
Guillaume Bort
09766511b5
Fix #3933
2014-11-12 17:02:47 +01:00
thiagopnts
4c1a89544e
Move code related to json packet reading to JsonPacketSender trait
...
fixup! Move code related to json packet reading to JsonPacketSender trait
2014-11-12 10:30:49 -02:00
bors-servo
ccdd2910a2
auto merge of #3951 : mrobinson/servo/iframes, r=jdm
...
This is the first step to allowing incremental iframe creation and destruction. This should eliminate task failures when an iframe is added to the frame tree lazily via script.
2014-11-11 18:48:34 -07:00
Martin Robinson
fbb1e0c6b8
Send incremental frame tree updates to the compositor
...
This allows the compositor to add frames after the call to SetIds,
where the initial frame tree is created. There are still some issues
preventing proper late frame creation, but this prevents crashes when
it happens.
Fixes #3738 .
2014-11-11 17:36:19 -08:00
Martin Robinson
750bedab81
Add some factory methods for frame tree types
2014-11-11 17:36:19 -08:00
Martin Robinson
a10e261ffd
Small fix to variable name
...
This is a more accurate name for the script pipeline.
2014-11-11 17:36:19 -08:00
Martin Robinson
6e06a1353c
Rename LoadIframeUrlMsg to CreateIFrameAndLoadUrlMsg
...
This better reflects what the message does.
2014-11-11 17:36:18 -08:00
bors-servo
b94f20c7c1
auto merge of #3934 : guillaumebort/servo/fix/84, r=jdm
...
Actually `<img>` elements in `<noscript>` are not prefetched anymore.
Probably because html5ever already parses the `<noscript>` content as raw
text data if `scripting_enabled` is activated.
See https://github.com/servo/html5ever/blob/servo/src/tree_builder/rules.rs#L126
Also, added a test to the images cache.
2014-11-11 14:30:39 -07:00
Martin Robinson
c7327450ef
Clip display list based on frame viewport
...
Instead of creating a display list for the entire page, only create one
for an area that expands around the viewport. On my machine this makes
incremental layout of http://timecube.com 50% faster.
2014-11-11 08:46:16 -08:00
bors-servo
e8edbe0240
auto merge of #3952 : andrewguertin/servo/wpt-cors, r=Manishearth
...
Fixes #3781
I had to make a small fix to wptrunner's wptupdate, but otherwise the instructions at https://github.com/servo/servo/blob/master/tests/wpt/README.md#updating-test-expectations were good and this was very straightforward.
2014-11-11 09:36:38 -07:00
Andrew Guertin
468fae8914
Change /cors/remote-origin.htm.ini to CRASH
2014-11-11 09:40:51 -05:00
bors-servo
f4471f0602
auto merge of #3958 : zwarich/servo/remove-libgreen, r=Ms2ger
2014-11-11 03:18:38 -07:00
Cameron Zwarich
91be7443df
Remove unnecessary import of libgreen
2014-11-10 16:18:10 -08:00