bors-servo
f3dfe04fa4
auto merge of #4657 : glennw/servo/cef-close, r=larsbergstrom
2015-01-19 07:57:47 -07:00
Ms2ger
05c4e3b9f5
Stop using Vec::from_elem.
...
It is obsolete on Rust master.
2015-01-19 14:42:30 +01:00
Ms2ger
394f816343
Disallow lines that span more than 160 columns.
...
The Rust style guide suggests 100, but we have too many violations in the
tree already. This check can be tightened over time.
2015-01-19 13:48:32 +01:00
bors-servo
60a901328a
auto merge of #4661 : Ms2ger/servo/wpt_20150119, r=Manishearth
2015-01-19 05:12:50 -07:00
Ms2ger
b6e5e823e6
Update web-platform-tests.
2015-01-19 13:06:43 +01:00
bors-servo
58c1b121a7
auto merge of #4654 : Ms2ger/servo/bindings-docs, r=jdm
2015-01-18 20:48:48 -07:00
Glenn Watson
8c3e3b66b3
Add basic support for closing cef tabs. Prevents crashes, but leaks memory for now.
2015-01-19 10:43:57 +10:00
Glenn Watson
36e151dc95
Add more key mappings.
2015-01-19 08:57:05 +10:00
Glenn Watson
db31b818bc
Switch CEF on screen build from glfw -> glutin.
2015-01-19 08:56:43 +10:00
Ms2ger
31edd21d68
Document global.rs.
2015-01-18 23:38:42 +01:00
Ms2ger
ecf0317bc0
Document error.rs.
2015-01-18 23:32:03 +01:00
bors-servo
9844ec907e
auto merge of #4648 : PeterReid/servo/issue4662, r=jdm
...
Fixes #4622
Previously, when the edit point was being clamped leftward by a shortened
line, it would be placed one one character too far to the left instead of
at the very end.
The "if" removed here was introduced in f686943eb4
to fix a crash, but the underlying reason for the crash was the incorrect "- 1", which has been there since the beginning ( 80764f65e3
).
2015-01-18 09:39:48 -07:00
bors-servo
ea83ffdb98
auto merge of #4621 : jimrhoskins/servo/closest, r=jdm
...
fixes #4603
- Add definition to the Element.webidl and implementation to element.rs.
- Create inclusive_ancestors helper in NodeHelpers
- Update test expectations
2015-01-18 08:09:43 -07:00
Peter Reid
2963caf708
Fix TextInput's edit point after set_content
...
Previously, when the edit point was being clamped leftward by a shortened
line, it would be placed one one character too far to the left instead of
at the very end.
2015-01-17 12:41:18 -05:00
Jim Hoskins
7759358e09
Implement Element#closest
...
fixes #4603
- Add definition to the Element.webidl and implementation to element.rs.
- Create inclusive_ancestors helper in NodeHelpers
- Update test expectations
2015-01-17 07:29:33 -08:00
bors-servo
2a9acdcb73
auto merge of #4540 : saneyuki/servo/internal, r=jdm
...
Fix #4504
2015-01-16 13:51:43 -07:00
bors-servo
efae66bccb
auto merge of #4625 : mrobinson/servo/surface-refactor, r=jdm
...
We no longer need to implement from_azure_surface in Servo, now that
rust-layers is handling more of the glue between rust-layers and Azure.
2015-01-16 12:57:44 -07:00
Simon Sapin
c70197b48d
Merge pull request #4642 from martine/patch-1
...
Minor fix to Arch developer setup instructions
2015-01-16 18:47:42 +00:00
bors-servo
6d7c4aac9c
auto merge of #4643 : mrobinson/servo/disable-util-doctests, r=jdm
...
Because of bug in rustdoc, a new rust-layers dependency on rust-azure
will cause linking issues. See
https://github.com/rust-lang/rust/issues/21246 for details.
2015-01-16 11:09:46 -07:00
Martin Robinson
09c9343294
Disable util crate doctests
...
Because of bug in rustdoc, a new rust-layers dependency on rust-azure
will cause linking issues. See
https://github.com/rust-lang/rust/issues/21246 for details.
2015-01-16 10:04:15 -08:00
Evan Martin
ee4a00ff4a
Minor fix to Arch developer setup instructions
...
Add the flag that says "Don't reinstall already-installed packages".
Otherwise the suggested command means "reinstall all these packages".
2015-01-16 09:48:16 -08:00
bors-servo
e7d79842a8
auto merge of #4569 : donaldpipowitch/servo/add-unit-tests-for-textinput, r=jdm
...
Please bear with me. This is the first Rust code I've ever written and the first systems programming language I've ever used.
I've added unit tests for all methods of TextInput ( - except `handle_keydown`). I probably didn't cover all cases - I don't know if this is a real requirement until we have some coverage tools which identify all missing cases easily.
If someone could show me how to create a `KeyboardEvent` easily I could add another test for `handle_keydown`.
Other questions:
1. Running `$ time ./mach test-unit -c script test_textinput` takes `3m29.536s` on my MacBook Pro (2012). Any hints on speeding this up?
2. Who is responsible for the feedback of the unit tests? It would be nice if the output could be colored (e.g. make `11 passed;` green, `0 failed;` red and so on.)
2015-01-16 08:18:46 -07:00
donaldpipowitch
d0cc280119
added unit tests for TextInput - fixes #4352
2015-01-16 12:14:20 +01:00
bors-servo
9fd675c266
auto merge of #4568 : gilles-leblanc/servo/issue-4556, r=Manishearth
...
Fixes #4556
2015-01-15 18:06:48 -07:00
Gilles Leblanc
9fe39951b0
Write a macro or syntax extension to generate OpenType tags
...
Fixes #4556
2015-01-15 20:01:40 -05:00
bors-servo
31627bdc9d
auto merge of #4641 : glennw/servo/update-hb, r=larsbergstrom
2015-01-15 15:09:47 -07:00
Glenn Watson
02b91994b3
Update harfbuzz module.
2015-01-16 11:03:46 +13:00
Martin Robinson
c3d23a0630
Update to latest rust-azure and rust-layers
...
We no longer need to implement from_azure_surface in Servo, now that
rust-layers is handling more of the glue between rust-layers and Azure.
2015-01-15 12:59:11 -08:00
bors-servo
772570d06b
auto merge of #4638 : akiss77/servo/pr-update-mozjs, r=jdm
...
As requested in https://github.com/servo/mozjs/pull/26
2015-01-15 09:48:48 -07:00
Akos Kiss
7773ecf2ba
Update to use latest mozjs-sys
2015-01-15 16:07:22 +00:00
bors-servo
d9d7fdf759
auto merge of #4637 : ebalint/servo/canvas, r=jdm
2015-01-15 08:39:45 -07:00
Edit Balint
1d91e9000c
Use DrawTarget::new instead of DrawTarget::new_with_data in CanvasPaintTask
2015-01-15 14:04:46 +01:00
bors-servo
ddf77a1cff
auto merge of #4635 : jdm/servo/updatemozjs, r=jdm
2015-01-14 16:24:46 -07:00
Josh Matthews
67423fbac4
Use latest mozjs.
2015-01-14 18:21:53 -05:00
bors-servo
4bb5822f91
auto merge of #4632 : jdm/servo/reporterr, r=Ms2ger
...
Rebased version of #4399 that addresses points 2 & 5 from https://critic.hoppipolla.co.uk/showcomment?chain=9848 . Introduction of an AutoJSAPI equivalent and setting the error reporter to null will come later, as they are much larger changes and we're currently blocking any further updates to rust-mozjs that are unrelated to error reporting.
2015-01-14 12:30:49 -07:00
Josh Matthews
66fee39045
Stop pretending to do anything except eagerly report pending exceptions after invoking a callback.
2015-01-14 13:05:32 -05:00
Josh Matthews
159235b3d0
Add handling for unreported exceptions when invoking callback objects.
2015-01-14 12:54:46 -05:00
bors-servo
dfad8763a8
auto merge of #4629 : servo/servo/wpt_20150113, r=abinader
2015-01-14 08:21:47 -07:00
Ms2ger
29e250d4ac
Update web-platform-tests and wptrunner.
2015-01-14 15:20:41 +01:00
bors-servo
6b86005601
auto merge of #4624 : Ms2ger/servo/update-wptrunner, r=Manishearth
...
Now with unexpected results causing failures.
2015-01-14 03:27:46 -07:00
Ms2ger
5eef78c6d8
Enable html/rendering.
2015-01-14 10:59:30 +01:00
Ms2ger
965dcda609
Update wptrunner and start running reftests.
2015-01-14 10:59:30 +01:00
bors-servo
221275267e
auto merge of #4626 : glennw/servo/hidpi, r=larsbergstrom
2015-01-13 17:48:46 -07:00
Glenn Watson
f74db53329
Update glutin and add hidpi methods.
2015-01-14 10:39:28 +10:00
bors-servo
432b89f60f
auto merge of #4616 : glennw/servo/update-png-hb, r=metajack
2015-01-13 14:06:48 -07:00
bors-servo
62d1761d2a
auto merge of #4598 : mttr/servo/table_percentage, r=pcwalton
...
Fixes #4421
2015-01-13 13:24:48 -07:00
bors-servo
9b6d979f19
auto merge of #4583 : glennw/servo/cef-tabs, r=pcwalton
2015-01-13 12:27:48 -07:00
Glenn Watson
c8e3d13821
Update png/harfbuzz, use prefixed symbol names.
2015-01-13 14:34:11 +10:00
bors-servo
8103bba19b
auto merge of #4619 : mbrubeck/servo/dead-top-margin, r=Ms2ger
...
Added in #1988 but never used. r? @pcwalton
2015-01-12 16:12:46 -07:00
bors-servo
151343cf3f
auto merge of #4618 : brunoabinader/servo/getElementsByClassName-quirksMode, r=Ms2ger
...
Fixes #4604 .
2015-01-12 14:42:47 -07:00