Commit graph

5232 commits

Author SHA1 Message Date
bors-servo
4caf2b5431 auto merge of #1272 : evilpie/servo/formdata, r=jdm 2013-11-24 15:04:11 -08:00
Isabelle Carter
9886135b43 unrendered content uses doc's background color
uses html's background color, or body's.
2013-11-24 16:50:12 -06:00
Tom Schuster
f9433e357c trace window.location and window.navigator 2013-11-24 23:11:11 +01:00
Tom Schuster
ccc7fa7be0 basic location 2013-11-24 22:40:24 +01:00
Tom Schuster
73e67568c1 Add FormData constructor 2013-11-24 22:37:28 +01:00
bors-servo
94df5d1cba auto merge of #1302 : saneyuki/servo/getid, r=jdm
#740
2013-11-23 17:46:15 -08:00
Tetsuharu OHZEKI
4e4eb10ffc Use 'DOMString' to define the type insteand of '~str'.
At now, 'DOMString' is equal to '~str'.
155befe10d/src/components/script/dom/bindings/utils.rs (L119)
2013-11-23 22:24:52 +09:00
Tetsuharu OHZEKI
aa72c413ed Enable to update id attribute for Document.getElementById(). (#740) 2013-11-23 11:53:45 +09:00
Tetsuharu OHZEKI
072ff20140 Use 'match' instead of 'if'. 2013-11-23 11:53:45 +09:00
bors-servo
ad45bd509e auto merge of #1299 : pradeep90/servo/rule-hash-optimize, r=pcwalton
Issue #1274

Also:
+ Reduce number of clones of Rule
+ Make Rule have Arc<Selector>
2013-11-22 11:43:15 -08:00
S Pradeep Kumar
ae1f16887d Use push instead of referring to the last element. 2013-11-22 17:24:32 +09:00
S Pradeep Kumar
cae74b4f86 Make Rule have Arc<Selector> to eliminate allocation while cloning. 2013-11-22 11:26:36 +09:00
S Pradeep Kumar
1d1a2597ca Avoid unnecessary cloning of Rule in SelectorMap code.
Do this by receiving a borrowed pointer in get_id_name(), etc..
Also, move the received argument in insert() method (instead of cloning it).
2013-11-22 11:26:36 +09:00
S Pradeep Kumar
92f4a430ea Eliminate use of map by using a for loop. 2013-11-22 11:26:36 +09:00
S Pradeep Kumar
7d90cc01b6 Insert rules in SelectorMap manually to avoid unnecessary allocation. 2013-11-22 11:26:36 +09:00
bors-servo
df7ec2613b auto merge of #1297 : SimonSapin/servo/last-child, r=SimonSapin
Same as #1296, with a fixed commit message.
2013-11-21 08:58:10 -08:00
Daniel Glazman
3f441934c9 Implement :list-child and :only-child pseudo-classes. Fix #1295, fix #1296 2013-11-21 16:54:41 +00:00
bors-servo
97fd66a6fd auto merge of #1294 : metajack/servo/isolate-backup, r=larsbergstrom
This will prevent Makefile errors from affecting backups. This happens when
different branches include Makefile helpers other branches don't have. This
should be more reliable.
2013-11-20 11:28:16 -08:00
Jack Moffitt
9fc122380a Move backup related stuff to its own Makefile.
This will prevent Makefile errors from affecting backups. This happens when
different branches include Makefile helpers other branches don't have. This
should be more reliable.
2013-11-20 12:24:48 -07:00
bors-servo
eabee53076 auto merge of #1293 : SimonSapin/servo/root, r=SimonSapin
Rebase/squash of @therealglazou’s #1265
2013-11-20 09:01:30 -08:00
Daniel Glazman
9b691611ff Implement :root pseudo-class. Fix #1263, fix #1265 2013-11-20 16:41:12 +00:00
bors-servo
eb9b82fed8 auto merge of #1292 : metajack/servo/not-parallel, r=larsbergstrom
Sub-builds are still parallelized. This is a workaround for rustpkg
issues. See https://github.com/mozilla/rust/issues/9650
2013-11-20 08:34:09 -08:00
Jack Moffitt
45cd09cab9 Disable parallel builds at top level.
Sub-builds are still parallelized. This is a workaround for rustpkg
issues. See https://github.com/mozilla/rust/issues/9650
2013-11-20 09:30:21 -07:00
bors-servo
052a543f14 auto merge of #1288 : ryanhc/servo/transparent_png, r=larsbergstrom
Modified to use libpng to read .png files. We use stb_image to read all other image files.
This requires updated submodule: https://github.com/mozilla-servo/rust-png/pull/13

This patch is for:
https://github.com/mozilla/servo/issues/1279
2013-11-20 05:31:12 -08:00
bors-servo
7d7f89c509 auto merge of #1291 : sammykim/servo/unused-file, r=jdm 2013-11-19 20:13:28 -08:00
Sangeun Kim
a8e3f54384 Remove unused files 2013-11-20 11:52:47 +09:00
Ryan Choi
589530c289 submodule updated 2013-11-20 11:36:39 +09:00
bors-servo
d2cfb65127 auto merge of #1260 : metajack/servo/kmcallister-rustpkg, r=metajack,me
Rebased from @kmcallister's branch to fix mac platform issues.
2013-11-19 15:25:48 -08:00
Jack Moffitt
e4d9db6ae8 Set cfg flags on all rust packages. 2013-11-19 16:04:17 -07:00
Jack Moffitt
4e1afca6bd Port gfx crate to new CF bindings. 2013-11-19 14:03:22 -07:00
Jack Moffitt
a6e0157401 Update dependencies. 2013-11-19 14:03:06 -07:00
Jack Moffitt
00c023aa20 Fix clean-servo to include clean-style. 2013-11-19 13:52:01 -07:00
Ryan Choi
d82114007f add support for transparant png 2013-11-19 16:25:00 +09:00
bors-servo
45c0d0e17d auto merge of #1287 : june0cho/servo/master, r=pcwalton
Upload acid2 file
2013-11-18 18:04:18 -08:00
bors-servo
1dd80b9a6c auto merge of #1277 : Adenilson/servo/implementingHelp, r=pcwalton
Executing servo browser for the first time doesn't make evident that it already supports several different flags.

This patch implements a help message displaying the available options and a brief explanation on them, based on comments in source code (opts.rs).

I implemented both short hand/long hand options using getopts::groups.
2013-11-18 15:58:28 -08:00
Adenilson Cavalcanti
adaa6435ed Following suggestion in the merge request, reuse the parameter passed to the
function that has the application name (so in future, if the browser no longer
is named 'servo', the code will continue to work fine).

Signed-off-by: Adenilson Cavalcanti <a.cavalcanti@sisa.samsung.com>
2013-11-18 12:52:03 -08:00
bors-servo
736a258c26 auto merge of #1271 : pcwalton/servo/incremental-reflow, r=larsbergstrom
This replaces flow construction with a strict bottom-up tree traversal,
allowing for parallelism. Each step of the traversal creates a flow or
a `ConstructionItem`, similar to how Gecko works. {ib} splits are
handled by not creating `InlineFlow`s until the containing block is
reached.

This should be able to be incrementalized by storing the `Flow` from
layout to layout, and performing fixups during flow construction
and/or wiping containing blocks in a previous pass.

r? @larsbergstrom
2013-11-18 11:54:00 -08:00
Patrick Walton
155befe10d Rewrite flow construction to be incrementalizable and parallelizable.
This replaces flow construction with a strict bottom-up tree traversal,
allowing for parallelism. Each step of the traversal creates a flow or
a `ConstructionItem`, similar to how Gecko works. {ib} splits are
handled by not creating `InlineFlow`s until the containing block is
reached.

This should be able to be incrementalized by storing the `Flow` from
layout to layout, and performing fixups during flow construction
and/or wiping containing blocks in a previous pass.
2013-11-18 11:24:11 -08:00
bors-servo
01667ef22b auto merge of #1261 : recrack/servo/add_overflow_testfile, r=pcwalton
Thanks @metajack @ksh8281, @jaeminMoon
2013-11-18 11:17:10 -08:00
bors-servo
37f9427b6c auto merge of #1278 : saneyuki/servo/rm_box, r=pcwalton 2013-11-18 10:18:02 -08:00
Tetsuharu OHZEKI
bce462a1d5 Integrate 'BoxModel' into 'RenderBoxBase'. (#1257) 2013-11-18 22:43:34 +09:00
Adenilson Cavalcanti
b2adac0cf3 Implemeting help message for servo browser app using groups::opts module.
Signed-off-by: Adenilson Cavalcanti <a.cavalcanti@sisa.samsung.com>
2013-11-18 03:22:46 -08:00
bors-servo
426d18ffb1 auto merge of #1219 : ksh8281/servo/impl_window_self, r=jdm
in order to Implement window.self
#868
2013-11-17 19:19:24 -08:00
bors-servo
c5ecc0da39 auto merge of #1273 : sammykim/servo/issue-1197, r=jdm
Fix #1197
2013-11-17 18:55:31 -08:00
Sangeun Kim
120284d186 Fix use of display().to_str in find_tests 2013-11-18 11:50:48 +09:00
bors-servo
9a7ded729c auto merge of #1266 : Ms2ger/servo/double-root, r=jdm
This removes the duplicate html element.
2013-11-17 06:29:33 -08:00
Ms2ger
dc6dbc63af Make the HTML parser parse into the document rather than an element.
This removes the duplicate html element.
2013-11-17 13:58:24 +01:00
bors-servo
800c2b3c0f auto merge of #1267 : evilpie/servo/blob, r=jdm
I was going to add the Constructor overload, but that requires implementing that fallthrough case in CGCase, which I didn't feel like doing. At least we can compile the dict now.
2013-11-16 14:43:20 -08:00
Tom Schuster
586dd6aed6 Add some more Blob methods/types 2013-11-15 17:56:11 +01:00
bors-servo
8880419a76 auto merge of #1250 : Ms2ger/servo/event-new, r=jdm 2013-11-15 07:34:25 -08:00