Commit graph

5890 commits

Author SHA1 Message Date
Simon Sapin
ce70a4afa1 Remove redundant git-submodule commands in configure. 2014-08-20 12:18:46 +01:00
Ms2ger
75bb92f384 Merge pull request #3103 from bfrohs/3025TitleText
Implement HTMLTitleElement.text (closes #3025); r=Ms2ger
2014-08-20 11:10:40 +02:00
Manish Goregaokar
80c001b2f0 Merge pull request #3082 from ChrisParis/atob
Implement window.atob/btoa; r=Manishearth
2014-08-20 01:56:02 +05:30
Ms2ger
024ae42dad Merge pull request #3116 from Ms2ger/format-reftests
Cleanup formatting in reftest.rs; r=jack
2014-08-19 21:06:35 +02:00
Ms2ger
b40e723a0d Merge pull request #3115 from Ms2ger/CGWrapMethod-doc
Add a documentation comment for CGWrapMethod; r=Manishearth
2014-08-19 19:42:57 +02:00
Ms2ger
1478fab5a5 Merge pull request #3114 from Ms2ger/gc-max-bytes
Stop artificially constraining the size of the GC heap; r=larsberg
2014-08-19 17:11:45 +02:00
Ms2ger
1c1216de5c Merge pull request #3099 from Ms2ger/attr-local_name-atom
Make Attr::local_name an Atom; r=abinader
2014-08-19 17:04:39 +02:00
Ms2ger
2123fb4238 Cleanup formatting in reftest.rs. 2014-08-19 16:43:33 +02:00
Ms2ger
5c3b8f99d1 Cleanup the File::open_mode call. 2014-08-19 16:42:03 +02:00
Ms2ger
ef357bbbb0 Add a documentation comment for CGWrapMethod. 2014-08-19 16:10:47 +02:00
Manish Goregaokar
30c66debb0 Merge pull request #3112 from Ms2ger/hasInterfacePrototypeObject
Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.
2014-08-19 19:38:09 +05:30
Manish Goregaokar
bbcd62397e Merge pull request #3113 from Ms2ger/update-webidl
Update WebIDL.py; r=Manishearth
2014-08-19 18:43:32 +05:30
Ms2ger
6dc9f52633 Stop artificially constraining the size of the GC heap. 2014-08-19 15:02:01 +02:00
Ms2ger
0bb0951265 Update WebIDL.py. 2014-08-19 11:01:05 +02:00
Ms2ger
eb6eee513f Add a script to update the WebIDL parser. 2014-08-19 11:00:16 +02:00
Ms2ger
ea3c2c243c Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.
Checking for callbacks directly makes it a lot clearer what's going on, and we
don't intend to take hasConcreteDescendant into consideration.

See also <https://bugzilla.mozilla.org/show_bug.cgi?id=1026720>.
2014-08-19 10:38:34 +02:00
Lars Bergstrom
3f17a49564 Merge pull request #3109 from larsbergstrom/doge_files
Add doge Servo files for testing and demos
2014-08-18 18:51:35 -05:00
Martin Robinson
d565eade88 Merge pull request #3107 from mrobinson/root-margin-collapse
Prevent margin collapse in the root flow
2014-08-18 14:27:10 -07:00
Lars Bergstrom
9bf8952686 Add doge Servo files for testing and demos 2014-08-18 16:21:43 -05:00
Lars Bergstrom
7b24d3e299 Merge pull request #3106 from zmike/librarian
add rpath back for library build
2014-08-18 15:47:57 -05:00
Mike Blumenkrantz
bef936c0cd add rpath back for library build
this broke library usage completely when it was removed
2014-08-18 16:43:03 -04:00
Martin Robinson
65fce97f51 Prevent margin collapse in the root flow
According to the CSS specification, section 8.3.1, margins of the root
element's box do not collapse. Ensure that root flow margins do not
collapse during the assign heights phase.
2014-08-18 12:16:09 -07:00
Patrick Walton
0e5d6dbac2 Merge pull request #3105 from glennw/block-replaced-content
Ensure that block elements with replaced content don't get their block s...
2014-08-18 11:51:11 -07:00
Glenn Watson
2ff7949775 Ensure that block elements with replaced content don't get their block size overwritten. 2014-08-18 10:43:53 +10:00
Martin Robinson
35b626e592 Merge pull request #3097 from mrobinson/pinch-zoom-delay
Update rust layers and fix delay in pinch zoom
2014-08-17 10:25:13 -07:00
Brandon Frohs
266f9f55e7 Implement HTMLTitleElement.text (closes #3025) 2014-08-17 04:02:39 -04:00
Jack Moffitt
ab5133665b Merge pull request #3102 from dotdash/fixup_azure_lifetime_bug
Update rust-azure to fix a dangling pointer bug
2014-08-16 22:55:22 -06:00
Björn Steinbrink
6ba21750af Update rust-azure to fix a dangling pointer bug
Fixes #3084
2014-08-17 05:18:19 +02:00
Manish Goregaokar
e9608a6560 Merge pull request #3098 from wenderen/HTMLTableElement.caption
implement GetCaption and SetCaption for HTMLTableElement; r=Manishearth
2014-08-16 20:27:51 +05:30
Simon Sapin
444ff84259 Merge pull request #3078 from SimonSapin/style-cleanup
Various refactoring and fixes in the style crate
2014-08-16 12:24:34 +01:00
Rohan Prinja
795fd68032 Implement HTMLTableElement.caption 2014-08-16 16:29:12 +05:30
Ms2ger
1b543144f1 Pass an Atom to before_remove_attr and after_set_attr. 2014-08-16 12:32:19 +02:00
Ms2ger
9501d2e451 Make Attr::local_name an Atom. 2014-08-16 12:13:02 +02:00
Ms2ger
ba592364b7 Merge pull request #3094 from Ms2ger/importScripts
Implement WorkerGlobalScope.importScripts; r=Manishearth
2014-08-16 12:11:14 +02:00
Ms2ger
aed642babe Implement WorkerGlobalScope.importScripts. 2014-08-16 12:09:09 +02:00
Simon Sapin
4ca385ba10 Take an iterator when parsing selectors. 2014-08-16 08:32:59 +01:00
Simon Sapin
5f3dc55f72 Make more things private to the style crate. 2014-08-16 08:32:47 +01:00
Simon Sapin
7e78e54c3f Refactor and fix src parsing in @font-face 2014-08-16 08:31:23 +01:00
Simon Sapin
6a5fed0471 Dissallow !important in @font-face 2014-08-16 08:31:23 +01:00
Simon Sapin
0945bd9fb4 Fix #2802: fix parsing of font-family in @font-face 2014-08-16 08:31:23 +01:00
Simon Sapin
639a6c51bf Fix case sensitivity of local name selectors. 2014-08-16 08:31:23 +01:00
Simon Sapin
06efa195e8 Move UA stylesheet to src/components/style 2014-08-16 08:31:23 +01:00
Simon Sapin
7e635946c2 Remove special treatment of UA stylesheet for parse errors.
CSS parse errors are now off by default anyway.
2014-08-16 08:31:23 +01:00
Simon Sapin
733e87eb2c Cloning DeclarationBlock is cheap, the declarations are in an Arc. 2014-08-16 08:31:23 +01:00
Simon Sapin
9ce519ba21 Have quicksort take a compare function rather than requires Ord and Eq. 2014-08-16 08:31:22 +01:00
Simon Sapin
1cbe73c583 Rename MatchedProperty to DeclarationBlock 2014-08-16 08:31:22 +01:00
Simon Sapin
58ed502b7f Fix parsing of text-decoration: none
It would previously accept and ignore garbage in the declaration value
after the `none` keyword.
2014-08-16 08:31:22 +01:00
Simon Sapin
9564d91b5e Use Result/Err(()) in Selector parsing.
… get rid of some custom `enum` types for parsing return values.
`Option<Option<T>>` was ridiculous, but `Result<Option<T>, ()>`
make perfect sense.

Also, we can now take advantage of the `try!()` macro.
2014-08-16 08:31:16 +01:00
Simon Sapin
d9278e3f6a Use Result/Err(()) instead of Option/None to indicate a CSS parse error. 2014-08-16 08:30:47 +01:00
Martin Robinson
96a813724f Mark all layers as having changed content during pinch zoom
This ensures that layers know that they need to re-issue buffer
requests immediately instead of waiting until another content change
happens.

Fixes #2988.
2014-08-15 18:08:00 -07:00