bors-servo
8998edb912
auto merge of #5282 : gfxmonk/servo/finalize_global, r=Ms2ger
...
Fixes #1871
I thought I'd take a look at this for a first contribution to servo. A couple of things I'm not 100% sure on are:
1) `get_proto_or_iface_array` returns a `*mut *mut JSObj`, which I'm assuming is really an array of pointers to `JSObj`s. So dropping its return value will drop the memory for the array of pointers. Do we also need to drop each element, or is that handled by GC?
2) Are there any tests I need to add for this? I don't know if there are existing leak tests, or if leaks are mostly discovered by profiling.
2015-03-20 07:54:48 -06:00
Ms2ger
dce11222ba
Update some feature gates.
...
CC #5286 .
2015-03-20 13:55:11 +01:00
Tim Cuthbertson
0052a27b1a
Free the interface prototype array when Window is finalized
...
Fixes #1871
2015-03-20 22:14:14 +11:00
bors-servo
2c85c1d312
auto merge of #5251 : mmatyas/servo/canvas_quadratic, r=jdm
...
Yet another small canvas patch.
2015-03-20 04:27:47 -06:00
bors-servo
dea36f9816
auto merge of #4891 : mmatyas/servo/canvas_gradient, r=jdm
...
Based on [ebalint](https://github.com/ebalint )'s original patch, this commit implements the linear and radial gradients for the canvas. The PR also includes test cases.
Depends on #4623 and servo/rust-azure#136 .
2015-03-20 03:12:47 -06:00
bors-servo
459c354416
auto merge of #4819 : mskrzypkows/servo/document_activeElement, r=jdm
...
#4770
2015-03-19 22:30:49 -06:00
bors-servo
ab8d43910c
auto merge of #5229 : hsvalava/servo/m1503, r=jdm
...
Fixing ConsoleMsg for console.log messages in the Developer Tools web console.
2015-03-19 21:48:48 -06:00
Matt Brubeck
970f275b94
Use the same version of rand everywhere
2015-03-19 16:32:38 -07:00
Maciej Skrzypkowski
7da356cd05
Added document.activeElement attribute.
2015-03-19 23:00:13 +01:00
bors-servo
fef439726a
auto merge of #5270 : glennw/servo/hit-test-stacking-context, r=pcwalton
2015-03-19 15:18:53 -06:00
Himaja
3830d8e3e1
Fix ConsoleMsg in ConsoleAPICall for log messages in the Developer Tools web console.
2015-03-19 16:08:27 -04:00
bors-servo
e845695b66
auto merge of #5276 : metajack/servo/fix-idle-loop, r=pcwalton
...
This fixes 100% CPU usage during idle.
2015-03-19 12:03:52 -06:00
Jack Moffitt
331c7030d9
Fix overflowed arithmetic.
...
This uses wrapping_add, which was always the intended operation.
Fixes #5275 .
2015-03-19 09:31:40 -06:00
Mátyás Mustoha
d3199aef74
Implement gradient fill styles for canvas.
2015-03-19 15:59:08 +01:00
Jack Moffitt
f02c5500a3
Switch from poll_events to wait_events.
...
This fixes 100% CPU usage during idle.
2015-03-19 08:15:41 -06:00
bors-servo
34950418ea
auto merge of #5269 : Manishearth/servo/old_impl, r=jdm
...
Brings us to zero old impls. \o/
Feel free to add this to a larger warning fix PR
2015-03-18 22:33:47 -06:00
bors-servo
646f821479
auto merge of #5268 : mbrubeck/servo/append, r=jdm
...
The new `Vec::append` method is clearer and potentially faster.
2015-03-18 21:39:49 -06:00
bors-servo
0b1c2a1798
auto merge of #5267 : Adenilson/servo/squashWarnings02, r=jdm
2015-03-18 20:54:48 -06:00
Glenn Watson
ad0ffac81b
Fix hit testing with stacking contexts (apparent since transforms landed).
2015-03-19 11:58:36 +10:00
Manish Goregaokar
0d7afc37e3
rm unnecessary old_impl_check
2015-03-19 07:16:03 +05:30
bors-servo
e0ead84781
auto merge of #5254 : glennw/servo/ib-stacking-context, r=pcwalton
2015-03-18 19:45:47 -06:00
Matt Brubeck
94a7563aea
Use append
instead of extend
where possible
...
The new `Vec::append` method is clearer and potentially faster.
2015-03-18 17:17:33 -07:00
bors-servo
1236280bea
auto merge of #5029 : ChrisParis/servo/h5e-serialize, r=jdm
...
Fixes https://github.com/servo/servo/issues/3713 . Depends on https://github.com/servo/html5ever/pull/100 and https://github.com/servo/html5ever/pull/101 .
2015-03-18 18:06:49 -06:00
Adenilson Cavalcanti
375dbeff1e
Squashing a few warnings.
2015-03-18 16:26:16 -07:00
bors-servo
b2fb06d6e2
auto merge of #4888 : ChrisParis/servo/innerhtml, r=jdm
...
This addresses #849 . This PR cannot land until the corresponding PR (https://github.com/servo/html5ever/pull/91 ) in html5ever lands. I've done some simple testing of this code, but I don't consider it thorougly tested yet. I wanted to start getting feedback about the overall design before I spend more time polishing the details, and testing.
2015-03-18 17:12:49 -06:00
bors-servo
2346c9b940
auto merge of #5266 : mbrubeck/servo/linked_list, r=metajack
...
Fixes deprecation warnings. Also removes a workaround for a fixed bug in Rust.
2015-03-18 16:28:09 -06:00
Chris Paris
a5d6c6a1fc
Serialize using html5ever
2015-03-18 12:17:56 -10:00
Matt Brubeck
6ef9cb4e18
Remove workaround for rust-lang/rust#22244
2015-03-18 14:44:34 -07:00
Matt Brubeck
1ead92b474
Rename dlist to linked_list.
2015-03-18 14:44:34 -07:00
Glenn Watson
d61d3ad4ba
Fixes positioning of inline blocks that generate stacking contexts.
2015-03-19 07:38:33 +10:00
bors-servo
124a78fb2e
auto merge of #5262 : servo/servo/fix-warnings, r=metajack
2015-03-18 15:21:49 -06:00
Chris Paris
99286e4b4f
Implement Element.innerHTML setter
2015-03-18 11:20:47 -10:00
Simon Sapin
6a58cbd118
Fix more warnings everywhere.
2015-03-18 22:11:20 +01:00
Simon Sapin
5ffd71cd5e
Fix some warnings in gfx.
2015-03-18 22:08:00 +01:00
Simon Sapin
2f6951af0b
Fix some warnings in net.
2015-03-18 21:56:31 +01:00
Simon Sapin
fef279a8f5
Fix build scripts warnings.
2015-03-18 21:53:48 +01:00
Simon Sapin
1e858ecbc6
Fix some warnings in util.
2015-03-18 21:35:06 +01:00
Adenilson Cavalcanti
814283321d
Adding geometry information on DisplayList items while dumping.
2015-03-18 12:52:14 -07:00
Simon Sapin
d553bfefbb
Fix warnings in style.
2015-03-18 19:29:48 +01:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
bors-servo
65d4b12bf2
auto merge of #4736 : mattnenterprise/servo/dispatch_input_event, r=jdm
2015-03-17 22:27:47 -06:00
Matt McCoy
0bd717e470
#4508 Adding simple test and actually getting the event to dispatch
2015-03-17 19:54:05 -04:00
bors-servo
755581ff54
auto merge of #5249 : glennw/servo/iframe-navigate, r=jdm
...
This allows iframes to navigate their own history.
2015-03-17 16:21:48 -06:00
Glenn Watson
3fb3e66ada
Add support for selecting which frame is requesting a navigation.
...
This allows iframes to navigate their own history.
2015-03-18 07:50:46 +10:00
Matt McCoy
5938a4c0f5
#4508 Ranaming the runnable and making sure the event is trusted
2015-03-17 17:05:41 -04:00
Matt McCoy
a481c8f28a
#4508 Only dispatching input event when the textarea receives keyboard input and not for javascript
2015-03-17 17:05:41 -04:00
Matt McCoy
bfa4fe762b
#4508 Fixing issues related to dispatching input event at HTMLTextareaElement
2015-03-17 17:05:41 -04:00
Matt McCoy
7cb851dda1
Fixes #4508 dispatching input event at HTMLTextareaElement
2015-03-17 17:05:21 -04:00
bors-servo
29b158e985
auto merge of #5252 : nnethercote/servo/system-reporter, r=jdm
...
Currently the system memory measurements ("resident", "vsize", etc.) are
not reported through the generic memory reporting mechanism, simply
because they pre-date that mechanism. This changeset removes that
special-casing.
One consequence of this is that previously if a platform didn't
implement one of the basic measurements, a '???' entry would be printed.
Now nothing will be printed. This is no great loss and matches what
Firefox does.
Another consequence is that the order in which the measurements are
printed is changed. I plan to fix this soon so that reports are sorted
in a more sensible fashion.
2015-03-17 14:31:10 -06:00
bors-servo
203240c1d8
auto merge of #5134 : pcwalton/servo/transforms, r=SimonSapin
...
r? @SimonSapin
2015-03-17 13:39:51 -06:00