Commit graph

5531 commits

Author SHA1 Message Date
Glenn Watson
3f010907ad Partial fix for footer layout issues on wikipedia, ref #2554. 2014-07-17 14:30:29 +10:00
Cameron Zwarich
49d2bd741d Merge pull request #2858 from zwarich/scene-new
Rename Scene constructor to Scene::new
2014-07-16 20:38:22 -07:00
Cameron Zwarich
f073d28c75 Rename Scene constructor to Scene::new 2014-07-16 16:57:44 -07:00
Cameron Zwarich
27e87e58be Merge pull request #2856 from mrobinson/tile-cleanup
Changes reflecting the latest version of rust-layers
2014-07-16 16:09:44 -07:00
Glenn Watson
560e380767 Fix comments and variable names for atom wrapper. 2014-07-17 08:31:31 +10:00
Martin Robinson
4d6613c72e Changes reflecting the latest version of rust-layers
The Tile trait has been removed and TileGrid now keeps Tile structs with
Textures embedded instead of simply buffers. rust-layers now creates
its own textures instead of relying on Servo to do it.
2014-07-16 15:04:46 -07:00
Lars Bergstrom
718ddde1f8 Merge pull request #2845 from glennw/update-cg
Update submodule pointer for core-graphics
2014-07-16 10:05:57 -05:00
Ms2ger
39d2c0cb2c Merge pull request #2835 from brunoabinader/bind_to_tree_fix
Added 'parent is/was in tree' param to bind_to_tree/unbind_from_tree; r=Ms2ger
2014-07-16 15:55:36 +02:00
Manish Goregaokar
b70053006e Merge pull request #2852 from Ms2ger/MessageEvent
Implement MessageEvent.
2014-07-16 18:55:50 +05:30
Bruno de Oliveira Abinader
113bc48d6e Use tree_in_doc on Style elem to parse its own CSS, if needed 2014-07-16 09:03:30 -04:00
Bruno de Oliveira Abinader
aea4ccf849 Added 'parent is/was in tree' param to bind_to_tree/unbind_from_tree
According to a talk with Ms2ger, both bind_to_tree / unbind_from_tree
should be called regardless if the tree is part of a Document. This
information is now passed as a parameter to their respective virtual
methods.
2014-07-16 08:59:56 -04:00
Ms2ger
d40b97ea73 Implement MessageEvent. 2014-07-16 14:53:22 +02:00
Ms2ger
c40ad756e6 Create Worker objects. 2014-07-16 11:54:05 +02:00
Edit Balint
0b5a1b2ad9 Move timer firing implemention into Window #1992 2014-07-16 11:36:18 +02:00
Ms2ger
1fbf9f7749 Implement WorkerGlobalScope.self. 2014-07-16 11:26:50 +02:00
Cameron Zwarich
e8996d5ce5 Merge pull request #2849 from zwarich/disable-borders-test
Temporarily disable the 'borders' test
2014-07-15 23:08:57 -07:00
Cameron Zwarich
0e294a235f Temporarily disable the 'borders' test
This test has been failing locally on OS X for me for quite some time,
although since #2843 this started affecting the Travis builders as well.
Getting to the root of this problem is tracked by #2848.
2014-07-15 21:49:57 -07:00
Cameron Zwarich
cc30a99fb4 Merge pull request #2843 from mrobinson/tilegrid
Changes to support latest rust-layers
2014-07-15 18:39:11 -07:00
Martin Robinson
71173d7ae8 Respond to review comments 2014-07-15 16:15:35 -07:00
Glenn Watson
dc7abc6976 Update submodule pointer for core-graphics 2014-07-16 08:21:55 +10:00
Glenn Watson
dddd3346a6 Convert element name to be stored as atom instead of string. 2014-07-16 07:33:29 +10:00
Martin Robinson
d9540475f0 Changes to support latest rust-layers
Now tiles are stored in TileGrid and layer methods are simple instance
methods.
2014-07-15 14:06:16 -07:00
Ms2ger
f403135d9e Support Worker globals in global_object_for_js_object. 2014-07-15 22:29:04 +02:00
Ms2ger
747bfc6f15 Implement global.console in workers. 2014-07-15 22:29:04 +02:00
Ms2ger
3074b4747a Store the JSContext in a field on the worker global scope. 2014-07-15 22:29:04 +02:00
Ms2ger
b11440750b Load scripts in workers. 2014-07-15 22:29:03 +02:00
Ms2ger
7b7303e6bc Add a constructor for DedicatedWorkerGlobalScope. 2014-07-15 22:29:03 +02:00
Ms2ger
2d74f4d8d8 Spawn a thread for workers. 2014-07-15 22:29:03 +02:00
Ms2ger
25abe8b289 Parse the URL passed to the Worker constructor. 2014-07-15 22:29:03 +02:00
Ms2ger
d8152646f3 Add worker scope variants to the Global enums. 2014-07-15 22:29:03 +02:00
Ms2ger
a345f413cb Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope.
Part of #2811.
2014-07-15 22:29:03 +02:00
Ms2ger
712955e96a Implement a stub Worker interface.
Part of #2811.
2014-07-15 22:29:03 +02:00
Ms2ger
d97ec69957 Merge pull request #2839 from Ms2ger/globals
Introduce abstractions for global scopes; r=Manishearth,larsberg
2014-07-15 22:28:43 +02:00
Ms2ger
df9d063b36 Add newlines in global.rs. 2014-07-15 20:09:07 +02:00
Ms2ger
350a6080d7 Support FormData outside Window scopes. 2014-07-15 20:08:11 +02:00
Lars Bergstrom
f816a92c72 Merge pull request #2825 from Ms2ger/wpt-expectations
Update web-platform-tests expectations.
2014-07-15 09:07:37 -05:00
Ms2ger
829259fb79 Introduce abstractions for global scopes.
Part of #2811.
2014-07-15 15:33:57 +02:00
Ms2ger
a14bb68c3f Remove some Cells for immutable members. 2014-07-15 15:33:57 +02:00
Ms2ger
e8d013794b Make some DOM fields private.
Relevant to #2242.
2014-07-15 15:33:56 +02:00
Ms2ger
a665fec9d0 Put some 'use' statements in alphabetical order. 2014-07-15 15:33:56 +02:00
Ms2ger
954ab7a2e3 Simplify the implementation of cx_for_dom_reflector. 2014-07-15 15:33:56 +02:00
Ms2ger
f963ed99ac Rename variables that refer to global objects.
This clarifies whether those variables will point to a Window object or an
arbitrary global object.

Note in particular that all IDL Constructors will accept an arbitrary global
object.
2014-07-15 15:33:56 +02:00
Lars Bergstrom
ab1a188e95 Merge pull request #2838 from Ms2ger/text-clone
Remove an unnecessary string copy in the Text constructor.
2014-07-15 08:30:37 -05:00
Ms2ger
054ab27e3b Remove an unnecessary string copy in the Text constructor. 2014-07-15 14:19:33 +02:00
Ms2ger
cd87775d4e Merge pull request #2826 from Ms2ger/get_attribute_parts-slices
Return slices from get_attribute_parts; r=Manishearth
2014-07-15 10:57:20 +02:00
Ms2ger
46c906ccd6 Merge pull request #2830 from Ms2ger/constructor-unused-variable
Remove the unused 'obj' local from the construct hook; r=Manishearth
2014-07-15 10:56:47 +02:00
Ms2ger
d0a3619cd9 Merge pull request #2836 from zwarich/image-cache-comment
Fix comments in image_cache_task; r=Ms2ger
2014-07-15 10:30:39 +02:00
Matt Brubeck
ad08a11fa2 Merge pull request #2837 from mbrubeck/comment-fix
Fix comment about "impossible" render messages. r=zwarich
2014-07-14 18:09:51 -07:00
Matt Brubeck
7b79cb4092 Comment spelling fix 2014-07-14 17:30:00 -07:00
Matt Brubeck
dc4709dfde Fix comment about "impossible" render messages.
These messages are not impossible; they happen when a page contains iframes.
2014-07-14 17:07:24 -07:00