Commit graph

6118 commits

Author SHA1 Message Date
Simon Sapin
db80b76d0a Make text decorations be independent display items.
The goal it to avoid having too much layout logic (which gets more complex in vertical text) in gfx code.
2014-08-29 17:50:51 +01:00
Josh Matthews
e40f54bfef Merge pull request #3183 from ChrisParis/callback-return
Support callback return types in codegen
2014-08-29 11:08:49 -04:00
Manish Goregaokar
343c3124b2 Merge pull request #3184 from Ms2ger/disable-workers-same-origin-test
Disable same-origin.html for intermittent failures (fixes #3180).; r=jgraham
2014-08-29 18:06:14 +05:30
Ms2ger
e0a36f3292 Disable same-origin.html for intermittent failures (fixes #3180).
We don't currently implement the same-origin restriction at all, so there's
little point in running this test.
2014-08-29 12:22:20 +02:00
Simon Sapin
1f2c5c0bcb Merge pull request #3178 from SimonSapin/canvas-crate
Add a canvas create, break script’s dependency on gfx.
2014-08-29 09:14:07 +01:00
Manish Goregaokar
ad6d22b2bf Merge pull request #3141 from Manishearth/fetch-stuff
Some more Fetch and CORS Cache stuff; r=jdm
2014-08-29 12:43:01 +05:30
Chris Paris
b2b3fbc6e0 Support callback return types in codegen 2014-08-28 17:03:34 -10:00
Simon Sapin
aea6f849a0 Merge pull request #3170 from SimonSapin/trait-object-transmute
Transmute std::raw::TraitObject rather than (some) custom tuples/structs
2014-08-29 00:35:55 +01:00
Matt Brubeck
49765d2bf5 Merge pull request #3147 from mbrubeck/tagname-upper
Uppercase element.tagName for HTML elements only r=Ms2ger
2014-08-28 15:27:45 -07:00
Matt Brubeck
e01569834c Uppercase element.tagName for HTML elements only
Fixes #3146
2014-08-28 15:25:04 -07:00
Bryan Bell
69a2dbc868 Remove RenderListener::set_layer_clip_rect
It is currently unused.
2014-08-28 11:35:15 -07:00
Ms2ger
9060772af9 Merge pull request #3177 from Ms2ger/ConstantSpec
Introduce ConstantSpec::get_value; r=jdm
2014-08-28 19:19:41 +02:00
Ms2ger
f925343552 Introduce ConstantSpec::get_value.
I'll need it for cross-origin wrappers as well.
2014-08-28 19:19:22 +02:00
Simon Sapin
aa1a5c479a Add a canvas create, break script’s dependency on gfx.
The build time on my laptop after touching gfx goes from 1m37s ot 46s.
2014-08-28 17:15:39 +01:00
Simon Sapin
99909de826 Transmute std::raw::TraitObject rather than (some) custom tuples/structs.
Context:
http://www.mail-archive.com/dev-servo@lists.mozilla.org/msg00867.html

This fixes the known issues, but there might be other places
where we do "bad" transmutes that I haven’t discovered.
2014-08-28 16:18:04 +01:00
Ms2ger
14d596c1bc Merge pull request #3175 from Ms2ger/propertyhooks
Introduce the NativePropertyHooks struct; r=jdm
2014-08-28 17:12:12 +02:00
Ms2ger
e7faa147a5 Merge pull request #3176 from Manishearth/more-macros
Use macro getters for input elements: r=Ms2ger
2014-08-28 16:21:15 +02:00
Ms2ger
cadc84319a Introduce the NativePropertyHooks struct.
This will be required for the cross-origin wrapper work.
2014-08-28 11:39:02 +02:00
Manish Goregaokar
8f47259d6e Use macro getters for input elements 2014-08-28 14:06:56 +05:30
Ms2ger
be538bcd23 Merge pull request #3169 from Ms2ger/update-manifest
Update MANIFEST.json to current web-platform-tests; r=jdm
2014-08-28 08:51:07 +02:00
Martin Robinson
cae18322e7 Start using more typed units in the compositor
Now that rust-layers is starting to support typed units, we can use
them more thoroughly in the compositor. This is a step toward removing
as many untyped units as possible.
2014-08-27 15:28:46 -07:00
Simon Sapin
31cc50f2eb Don’t show the githib token in Travis log 2014-08-27 19:51:19 +01:00
Simon Sapin
da146d1696 Renew the auth token for pushing to github pages
It’s been leaked in a Travis log
2014-08-27 19:48:41 +01:00
Matt Brubeck
9eba9b668a Fix comment syntax 2014-08-27 11:46:05 -07:00
Manish Goregaokar
d326ba0377 Some docs 2014-08-27 23:53:15 +05:30
Matt Brubeck
2aef2c3e58 Merge pull request #3163 from mbrubeck/br
Fix `<br>` support [r=SimonSapin]
2014-08-27 10:01:26 -07:00
Matt Brubeck
024ce539fd Fix <br> support 2014-08-27 10:00:23 -07:00
Ms2ger
5a6937f2f9 Update MANIFEST.json to current web-platform-tests.
This was forgotten in the last update. The README is also updated as a
reminder for future updates.
2014-08-27 17:52:25 +02:00
Matt Brubeck
f5ebd19c01 Merge pull request #3161 from mbrubeck/pub
Remove some unneeded pubs. r=Manishearth
2014-08-27 08:36:48 -07:00
Matt Brubeck
101f3ee35a Remove some unneeded pubs 2014-08-27 08:36:10 -07:00
Lars Bergstrom
7f8e8372e3 Merge pull request #3166 from mbrubeck/check
Run the same tests for make check on all platforms
2014-08-27 10:27:02 -05:00
Lars Bergstrom
370192451f Merge pull request #3134 from glennw/inline-background
Add support for backgrounds on inline elements. Fix fixup() by removing it.
2014-08-27 10:24:49 -05:00
Lars Bergstrom
1cea7223ec Merge pull request #3167 from LalehB/master
PowerMeasure and Readme in one commit
2014-08-27 10:23:05 -05:00
Manish Goregaokar
aa52b0a0cd Merge pull request #3145 from wenderen/NamespaceURI.None
return null from GetNamespaceURI, not the empty string; r=Manishearth, Ms2ger
2014-08-27 20:52:32 +05:30
Josh Matthews
e37023730f Merge pull request #3168 from Ms2ger/delete_property_by_id
Factor out code to call JS_DeletePropertyById2.
2014-08-27 11:09:50 -04:00
Jack Moffitt
b491f56e59 Merge pull request #3162 from SimonSapin/png-enum
Update to png::Image::pixels as an enum.
2014-08-27 08:49:40 -06:00
Ms2ger
a081b9a56f Merge pull request #3100 from Ms2ger/tests-html
Enable some of the HTML tests; r=jdm
2014-08-27 16:26:09 +02:00
Ms2ger
885a246635 Split up web-platform-tests on Travis. 2014-08-27 16:24:12 +02:00
Ms2ger
76ddacd6a5 Enable some of the HTML tests. 2014-08-27 16:24:12 +02:00
Ms2ger
3274071b2c Factor out code to call JS_DeletePropertyById2.
I'll need to write the same code again for cross-origin wrappers.
2014-08-27 12:56:53 +02:00
Rohan Prinja
32b7f5e136 return null from GetNamespaceURI, not the empty string
correctly mark tests
2014-08-27 12:25:13 +05:30
Glenn Watson
fa6b59901a Add support for backgrounds on inline elements. Fix fixup() by removing it.
The code that managed ranges was buggy - failing on edge cases
such as a span within a span. I have refactored the code so that the
context information for inline formatting can optionally be stored
within a fragment. This seems cleaner to me, and fixes the bugs
encountered when making these changes by removing the need for
the fixup() functionality (and ranges).
2014-08-27 13:03:08 +10:00
Matt Brubeck
f2373ceee7 Merge pull request #3153 from SimonSapin/bit-struct-tests
Add tests for the bit_struct! macro. r=mbrubeck
2014-08-26 19:58:18 -07:00
LalehB
34db70a191 power 2014-08-26 18:01:54 -07:00
Simon Sapin
15ae8d1eea Remove a .orig file left over from conflict resolution. 2014-08-27 01:26:43 +01:00
Matt Brubeck
283b316bc7 Run the same tests for make check on all platforms
This target is no longer run in automation; it's for developer convenience, so
it should really run everything.  Also ensure that `check-all` is a superset
of `check`.
2014-08-26 17:23:26 -07:00
Simon Sapin
a0d70c4cfd Merge pull request #3110 from SimonSapin/writing-modes-reftest
Add a basic CSS Writing Modes reftest
2014-08-27 01:07:45 +01:00
Simon Sapin
c24287808d Update to png::Image::pixels as an enum.
https://github.com/servo/rust-png/pull/42

This does *not* fix the issue in #3154, but makes it fail!()
instead of (maybe?) reading uninitalized memory.
2014-08-26 23:02:35 +01:00
Jack Moffitt
c1ec0b11e9 Merge pull request #3160 from mbrubeck/old-layout-comments
Remove obsolete TODO comments
2014-08-26 15:31:37 -06:00
Simon Sapin
58f1655c9b Merge pull request #3152 from SimonSapin/clean
Add missing clean-* make targets.
2014-08-26 21:36:04 +01:00