Commit graph

2018 commits

Author SHA1 Message Date
Rohan Prinja
9c26cf7ea9 allow deleting last char 2014-12-05 17:06:34 +05:30
bors-servo
6bd9bf979b auto merge of #4198 : Manishearth/servo/hyper-droid, r=Manishearth
This is the Hyper pull request, plus the set up for OpenSSL on Android to make it merge.

Sean's commits have been reviewed in #4065 (My Android changes were reviewed by Glenn)
2014-12-05 04:16:11 -07:00
bors-servo
66d4acef8d auto merge of #4245 : Ms2ger/servo/lazy-getters, r=Manishearth 2014-12-05 03:46:07 -07:00
bors-servo
0065c230da auto merge of #4230 : jdm/servo/errorreporter, r=jdm
Rebased from #3822.
2014-12-05 02:28:09 -07:00
Manish Goregaokar
00a0f1527c Set up openssl on Android 2014-12-05 01:03:43 -08:00
Matt Brubeck
cddc6923d4 Implement the HTMLScriptElement.src setter
Fixes #1113.
2014-12-04 21:27:34 -08:00
Ronak Nisher
cbed366bea added ErrorEvent WebIDL and errorevent.rs 2014-12-04 21:22:15 -08:00
Eduard Burtescu
b328c57caa devtools: handle script task panics gracefully in ConsoleActor. 2014-12-05 02:57:32 +02:00
Sean McArthur
b7de46970f adjust WPT since hyper fixed some 2014-12-04 10:12:04 -08:00
Sean McArthur
4ee8c3a60b convert script crate to use hyper 2014-12-04 10:06:41 -08:00
Sean McArthur
1dc67f0c76 convert msg crate to use hyper 2014-12-04 10:06:41 -08:00
Sean McArthur
12727d4dd0 convert net crate to use hyper 2014-12-04 10:06:39 -08:00
Ms2ger
d9993ebcc3 Use MutNullableJS::or_init in Window. 2014-12-04 15:57:05 +01:00
Ms2ger
c66cefa313 Use MutNullableJS::or_init in Document. 2014-12-04 15:50:13 +01:00
Ms2ger
d26283c065 Implement MutNullableJS::or_init.
This will make it easier to implement lazy getters.
2014-12-04 15:49:29 +01:00
Ms2ger
9416e9b11a Cleanup Document::GetElementsByName. 2014-12-04 11:40:44 +01:00
Ms2ger
d22964792a Cleanup Document::SetBody. 2014-12-04 11:38:54 +01:00
Ms2ger
2ce4c6c529 Cleanup Document::GetDocumentElement. 2014-12-04 09:44:01 +01:00
Ms2ger
41395412eb Cleanup Document::GetDoctype. 2014-12-04 09:43:40 +01:00
bors-servo
90b0369cdf auto merge of #4217 : cmr/servo/issue/4196, r=jdm
Closes  #4196.

r? @jdm
2014-12-04 00:06:55 -07:00
bors-servo
28a132a8f4 auto merge of #4213 : jdm/servo/sepreadwrite, r=jdm
Rebased from #4211.
2014-12-03 22:48:59 -07:00
Corey Richardson
4d55ab8157 Don't categorize HTMLInputElement as a TableCellFragment
Closes  #4196.
2014-12-03 21:44:18 -08:00
bors-servo
0b5cc3f4aa auto merge of #4214 : jdm/servo/modifyattr, r=jdm
Rebased from #4197.
2014-12-03 20:28:00 -07:00
Shanil Puri
72a5ae7210 Implemeneted ModifyAttribute handler to update DOM elements. 2014-12-03 18:58:44 -08:00
Sagar Muchhal
75ffda9fb8 Support for Separated Read Write 2014-12-03 18:45:05 -08:00
Glenn Watson
f2100ec676 Update skia submodule to get android build fix. 2014-12-03 17:59:23 -08:00
bors-servo
92cc423709 auto merge of #4202 : zwarich/servo/remove-libgreen, r=larsbergstrom 2014-12-03 18:27:57 -07:00
bors-servo
736d542beb auto merge of #4187 : cgaebel/servo/issue-4127, r=SimonSapin
This will avoid drawing Arcs if there's no border-radius property set.

Fixes #4127
2014-12-03 17:48:56 -07:00
Cameron Zwarich
e3b7aeb531 Remove libgreen support. 2014-12-03 15:32:15 -08:00
nkdalmia
f6fb9f862d Implement Window.sessionStorage: Storage Task, Storage Methods (excluding Storage event, QuotaExceededError) 2014-12-03 18:31:50 -05:00
Patrick Walton
1c1c507c03 layout: Implement opacity per CSS-COLOR § 3.2.
This adds the infrastructure necessary to support stacking contexts that
are not containing blocks for absolutely-positioned elements. Our
infrastructure did not support that before. This minor revamp actually
ended up simplifying the logic around display list building and
stacking-relative position computation for absolutely-positioned flows,
which was nice.
2014-12-03 14:17:16 -08:00
Clark Gaebel
d3e4d29368 Fixed #4170 - Incremental reflow wasn't being aggressive enough when nodes get reparented.
When inserting a node that was already dirtied, the dirtying logic
would short circuit: "This node is already dirty? Great! Then its
parents must be HAS_DIRTY_DESCENDANTS, too! Let's skip that step."

This isn't appropriate when nodes move around the tree. In that case,
the node may be marked HAS_CHANGED, but ancestors may not yet have
the HAS_DIRTY_DESCENDANTS flag set.

This patch adds a `content_and_heritage_changed` hook in the document,
to deal with these cases appropriately.
2014-12-03 11:17:38 -08:00
Simon Sapin
2f413c8937 Move the servo crate from root to components/servo 2014-12-02 18:03:39 -08:00
Clark Gaebel
85856d0072 code review 2014-12-02 17:30:54 -08:00
Clark Gaebel
7d1e85f774 Fixed #4127: Added a fast path to border-radius.
This will avoid drawing Arcs if there's no border-radius property set.
2014-12-02 16:28:26 -08:00
bors-servo
ed45aa9efd auto merge of #4156 : Michael03/servo/master, r=Ms2ger
This fixes issue #4122
2014-12-02 05:24:49 -07:00
Clark Gaebel
ffcf0bf394 [gfx/style] Implement border-radius.
This patch is a first stab at implementing border-radius. It looks fine as long as
the border isn't an ellipse (that might not even parse yet), and the border-widths
around a border-radius are the same.

Here's a cool screenshot!

![](https://www.dropbox.com/s/gdtmgjrlnf82gzz/Screenshot%202014-11-12%2018.03.29.png?dl=0)

r? @pcwalton @SimonSapin
2014-12-01 16:10:35 -08:00
bors-servo
9afdce4405 auto merge of #4162 : pcwalton/servo/text-align-flags, r=kmcallister
Fixes the blank spaces showing up in Wikipedia.

r? @kmcallister
2014-12-01 12:12:55 -07:00
Patrick Walton
803624c51e layout: Stop having text alignment stomp on layerization flags.
Fixes the blank spaces showing up in Wikipedia.
2014-12-01 10:55:13 -08:00
Michael Booth
2cbf5a3671 Updated reflect_dom_object to be passed by value 2014-11-30 19:47:52 +00:00
bors-servo
9541dcdee2 auto merge of #4149 : aakashjain/servo/MovingElementGetters, r=Manishearth
Moved all getters from Element to ElementHelpers. Existing ElementHelpers getters `get_namespace` and `get_local_name` were replaced by `namespace` and `local_name`. Callers were updated accordingly. Also the getters are no longer inlined.
3 of the getters needed to be added to RawLayoutElementHelpers as well, to accomodate existing calls directly from Element objects.
2014-11-29 04:42:41 -07:00
aakashjain
fab09a5137 Fixes #4123 2014-11-29 15:06:17 +05:30
bors-servo
e9aec8b9a7 auto merge of #4141 : SimonSapin/servo/style-cleanup, r=jdm 2014-11-29 00:51:43 -07:00
bors-servo
9c3b2ae8a5 auto merge of #4147 : jdm/servo/devtoolspanic, r=Manishearth
...ets resolved since the last rustc upgrade.
2014-11-29 00:00:48 -07:00
Josh Matthews
13fe502cd6 Don't abort the sniffer task whenever an error occurs. Also, switch to blocking recv_opt vs. non-blocking try_recv. 2014-11-29 00:40:03 -05:00
Josh Matthews
9242d1a1a3 Fix the panic on runnig with --devtools due to a change in how type_id gets resolved since the last rustc upgrade. 2014-11-29 00:17:35 -05:00
bors-servo
1ac79c64da auto merge of #4000 : t29/servo/mime-sniffing, r=jdm
Issue: #3144

This PR addresses the second step of the ticket. i.e. move from a 1:1 sniffer:request task model to a shared sniffer task.
2014-11-28 10:51:44 -07:00
Simon Sapin
c6ff02199d Remove dead code 2014-11-28 17:44:00 +00:00
Simon Sapin
18de4dd75d style::properties::longhand shouldn’t be public. 2014-11-28 17:43:14 +00:00
Kshitij Parajuli
f5e9ae17cf Shared Sniffer Task
- Added TargetedLoadResponse and ResponseSenders
- LoadData constructor contains the next consumer which means
  SnifferManager doesn't need the next consumer to start
- New SnifferTask is created at new resource_task creation
- Update Unit Tests
2014-11-28 12:35:49 -05:00