bors-servo
c338dbe947
auto merge of #4586 : Swatinem/servo/noderemove, r=Ms2ger
...
fixes #4562
2015-01-09 05:57:51 -07:00
bors-servo
3e8cab758e
auto merge of #4579 : mattnenterprise/servo/textinput-select-refactor, r=jdm
...
Fixes #4573 Replaces the boolean argument of TextInput::adjust[horizontal | vertical] with enum to self document the code
2015-01-09 05:24:50 -07:00
Arpad Borsos
322daccb42
Fix assertion trying to remove a Node that has no parent
...
fixes #4562
2015-01-09 12:47:28 +01:00
Ms2ger
8afc104d4b
Remove the NavigatorInfo struct.
...
It serves no purpose.
2015-01-09 12:10:08 +01:00
Ms2ger
edc1d89251
Deny unsafe blocks in script.
...
As a first start, this allows them indiscriminately where used.
2015-01-09 10:13:25 +01:00
Matt McCoy
64dda93242
Fixes #4573 Replaces the boolean argument of TextInput::adjust[horizontal|vertical] with enum to self document the code
2015-01-08 18:13:52 -05:00
bors-servo
0793137631
auto merge of #4575 : mttr/servo/warnings, r=jdm
...
Notes:
* This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary.
* This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to).
```
css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:72 this_as_query.equiv(other)
^~~~~~~~~~~~
css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> {
```
2015-01-08 16:03:55 -07:00
bors-servo
4cd9eb1253
auto merge of #4574 : Ms2ger/servo/if_let, r=Manishearth
...
This feature is now supported unconditionally.
2015-01-08 14:42:53 -07:00
bors-servo
7800d98728
auto merge of #4566 : mattnenterprise/servo/globalref-by-value, r=Ms2ger
2015-01-08 13:12:55 -07:00
Matthew Rasmus
020a767849
Fix Equiv related deprecation warnings
...
...except where we have our own implementations of Equiv.
2015-01-08 08:51:11 -08:00
Matthew Rasmus
7bbce60e43
Fix renamed to slice::from_raw_buf
warning
2015-01-08 08:51:11 -08:00
Matthew Rasmus
6364636693
Fix use Deref instead
warning
2015-01-08 08:51:11 -08:00
Matthew Rasmus
a3fc3a1581
Allow missing_copy_implementations
2015-01-08 08:51:11 -08:00
Matthew Rasmus
dc72119998
Fix non_upper_case_globals
warnings
2015-01-08 08:51:11 -08:00
Matthew Rasmus
01d4739d16
Fix variable does not need to be mutable
warning
2015-01-08 08:51:10 -08:00
bors-servo
ec474ae835
auto merge of #4541 : Manishearth/servo/ban-stuff, r=jdm
...
Didn't do the `Vec<Temporary<T>>` banning since we might want to whitelist something there. I'll work on that next.
2015-01-08 09:30:54 -07:00
Ms2ger
5f31da82bd
Remove if_let feature gates.
...
This feature is now supported unconditionally.
2015-01-08 17:26:06 +01:00
Matt McCoy
5a54843111
Fixes #4164 Make file.rs Constructor and new functions take GlobalRef by value
2015-01-08 11:18:16 -05:00
bors-servo
df6a7959df
auto merge of #4069 : guillaumebort/servo/fix/3936, r=jdm
2015-01-08 08:48:54 -07:00
Ms2ger
16c7060bc8
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
2015-01-08 09:58:46 -05:00
Matt McCoy
85df7f0d6f
Fixes #4164 Make Constructor and new functions take GlobalRef by value
2015-01-07 18:52:41 -05:00
Guillaume Bort
5fe3a3e54f
Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)
2015-01-07 11:39:15 +01:00
Ms2ger
e6b2715186
Remove spawn_named_native.
...
All threads are native now, so this was just an alias for spawn_named.
2015-01-05 09:20:40 +01:00
Ms2ger
c4e44b568a
Remove the unused native argument from spawn_named_with_send_on_failure.
2015-01-05 08:58:00 +01:00
Ms2ger
76b0e2d3c7
Simplify vtable_for.
2015-01-05 08:55:00 +01:00
bors-servo
ba8cf6b0e6
auto merge of #4542 : servo/servo/pre-rustup_20141221, r=saneyuki
...
In particular, this contains changes to qualify enums where rust will require it, and to stop using some features that will be removed.
2015-01-04 12:39:47 -07:00
bors-servo
2e17cae5d0
auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2ger
2015-01-04 12:12:48 -07:00
Ms2ger
6e027cda2d
Rename the ConstellationControlMsg variants.
2015-01-04 19:01:13 +01:00
Ms2ger
04eb923da9
Remove dependencies on the native crate.
2015-01-04 16:28:02 +01:00
Ms2ger
394508953e
Qualify compositor_msg::ReadyState.
2015-01-04 16:24:03 +01:00
Ms2ger
193c39294b
Qualify script_traits enums.
2015-01-04 16:19:54 +01:00
Ms2ger
b94140f55e
Qualify image_cache_task::Msg.
2015-01-04 16:10:04 +01:00
Ms2ger
986d2b822c
Qualify CanvasMsg.
2015-01-04 16:03:55 +01:00
Manish Goregaokar
6225bc6309
Mention MutHeap in DESIGN.md
2015-01-04 20:23:56 +05:30
Ms2ger
f689093d2b
Qualify JSGCTraceKind.
2015-01-04 15:53:21 +01:00
Ms2ger
323daffbf0
Qualify resource_task enums.
2015-01-04 15:47:46 +01:00
Ms2ger
b16f9cea09
Qualify hyper enums.
2015-01-04 15:26:40 +01:00
Ms2ger
76b8810a86
Disambiguate trait object reference syntax.
2015-01-04 11:59:51 +01:00
Ms2ger
121904dd89
Slice some fixed-size arrays.
2015-01-04 11:59:50 +01:00
Ms2ger
de0caf8761
Rename constellation_msg::Msg variants.
2015-01-04 11:59:21 +01:00
Bharath M R
50d53c9fa3
Issue 4497: Converts WorkerPostMessage into a Runnable.
...
Implements WorkerMessage handler implementing Runnable trait.
2015-01-04 12:26:27 +05:30
bors-servo
dd84ae6bfb
auto merge of #4539 : jimrhoskins/servo/default-view, r=jdm
...
Fixes: https://github.com/servo/servo/issues/4518
2015-01-03 15:51:45 -07:00
bors-servo
e8fac3681b
auto merge of #4535 : servo/servo/pre-rustup_20141221, r=jdm
...
This prepares for the rust upgrade currently being conducted.
2015-01-03 14:39:46 -07:00
Jim Hoskins
c10049327a
Implement Document.defaultView - fixes #4518
2015-01-03 12:08:58 -05:00
Ms2ger
fbf257f878
Remove obsolete attributes.
2015-01-03 10:06:17 +01:00
Martin Robinson
c0b397322f
Stall PaintTask exit until it can release all buffers
...
It is possible for a PaintTask to start exiting soon after sending new
buffers to the compositor. In that case, the compositor should return
the now unnecessary buffers to the PaintTask so that it can properly
free them.
To accomplish this, the compositor now keeps a hash map of paint task
channels per pipeline id. When a PaintTask exists, the constellation
informs the compositor that it can forget about it. Additionally, the
PaintTask should not wait for any buffers when the engine is doing a
complete shutdown. In that case, the compositor is already halted and
has simply let all buffers leak. We pipe through the shutdown type when
destroying the pipeline to make this decision.
Fixes #2641 .
2015-01-02 15:20:32 -08:00
Ms2ger
b51e83819d
Fix obsolete format traits.
...
They are to be removed from the language in the next rust upgrade.
2015-01-02 19:04:18 +01:00
Megha Gupta
5031096853
Fix inheritance enums for htmlmediaelement and htmltablecellelement
2015-01-02 23:10:32 +05:30
Megha Gupta
f85b9e37cc
Add HTMLElementTypeId enum ( fixes #3625 )
2015-01-02 23:10:31 +05:30
bors-servo
141b5d038f
auto merge of #4526 : servo/servo/deref-1, r=Manishearth
...
This is a start towards fixing #3868 . Not all callers have been fixed yet, so the `Deref` implementation remains for now.
2015-01-02 09:22:51 -07:00