Commit graph

3647 commits

Author SHA1 Message Date
Patrick Walton
7eb4097dc9 layout: Make the LocalImageCache on_image_available callback not use
`@`.

This is one small step toward parallel layout.
2013-11-26 11:55:15 -08:00
patrick kim
9b4b414abe fix ContentBoxQuery 2013-11-26 11:49:44 +09:00
sh8281.kim
af80c57029 modify to displaylist to tree & add cliping 2013-11-26 11:49:44 +09:00
Jaemin Moon
b42f9eec48 push/pop clip 2013-11-26 11:49:44 +09:00
Youngmin Yoo
9d0958f91c Add overflow property 2013-11-26 11:49:37 +09:00
bors-servo
0d15310db1 auto merge of #1306 : kmcallister/servo/cleanup, r=jdm 2013-11-25 14:37:06 -08:00
bors-servo
b4c0020492 auto merge of #1307 : pcwalton/servo/disable-manage-submodules, r=kmcallister
r? @kmcallister
2013-11-25 14:16:19 -08:00
Patrick Walton
be357f37fe mk: Don't error out on dirty submodules if --disable-manage-submodules is on 2013-11-25 14:12:09 -08:00
bors-servo
bf146fb8c4 auto merge of #1305 : pradeep90/servo/rule-hash-optimize, r=kmcallister
Changing as per comment in #1274
2013-11-25 13:55:12 -08:00
Keegan McAllister
5157eac238 Warning police
And fix some formatting.
2013-11-25 13:29:34 -08:00
Keegan McAllister
3f1051022a rustpkg.mk: Defer shell commands until after 'define' expansion
This way the uname -s check will prevent us from invoking nonexistent sw_vers
on Linux.
2013-11-25 13:16:26 -08:00
S Pradeep Kumar
e0c33fa88c Make PropertyDeclarationBlock have Arcs. 2013-11-25 14:56:51 +09:00
S Pradeep Kumar
318a1a380f Use iter().map() instead of for loop. 2013-11-25 12:08:41 +09:00
bors-servo
f6646e17bf auto merge of #1270 : evilpie/servo/url, r=jdm
I wasn't sure how to store @window in Location, so I just made it use @Page for now. I was going to implement stringifier, but sadly some of the webidl stuff is like 1 year out of sync.
2013-11-24 15:52:04 -08:00
bors-servo
010b8cd4c3 auto merge of #1210 : ibnc/servo/resizing_background_color, r=jdm
fixes #140

This shouldn't be merged until the appropriate change is made in rust layers (https://github.com/mozilla-servo/rust-layers/pull/37). I'm making a pull request anyway to start getting some feedback.
2013-11-24 15:31:09 -08:00
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