Tetsuharu OHZEKI
b5f73fb179
Rename RenderListener -> PaintListener, and its methods.
2014-12-08 14:05:50 +09:00
Tetsuharu OHZEKI
94071f6330
Rename compositor_task::Msg.
2014-12-08 14:05:50 +09:00
Tetsuharu OHZEKI
79722bdc03
Rename gfx::paint_task::Msg
2014-12-08 14:05:50 +09:00
Tetsuharu OHZEKI
7ff790d941
Rename RenderChan -> PaintChan
2014-12-08 14:05:50 +09:00
Tetsuharu OHZEKI
9b6faaf7f0
Rename RenderRequest -> PaintRequest
2014-12-08 14:05:50 +09:00
Tetsuharu OHZEKI
cee3d517e8
Rename RenderLayer -> PaintLayer
2014-12-08 14:05:49 +09:00
Tetsuharu OHZEKI
d87def0743
Rename RenderContext -> PaintContext
2014-12-08 14:01:07 +09:00
Tetsuharu OHZEKI
71257e6604
Rename CanvasRenderTask -> CanvasPaintTask.
2014-12-08 14:01:07 +09:00
Tetsuharu OHZEKI
062854b164
Rename canvas_render_task -> canvas_paint_task
2014-12-08 11:46:43 +09:00
Tetsuharu OHZEKI
cddb7fe7c5
Rename RenderTask -> PaintTask.
2014-12-08 11:46:43 +09:00
Tetsuharu OHZEKI
daba904302
Rename gfx/render_task.rs -> gfx/paint_task.rs
2014-12-08 11:46:43 +09:00
bors-servo
ccef723851
auto merge of #4207 : glennw/servo/fix-cef, r=larsbergstrom
2014-12-07 15:25:07 -07:00
Glenn Watson
ad9e76b04c
Update cargo.lock for CEF and fix left over line from libgreen removal.
2014-12-08 08:03:06 +10:00
Glenn Watson
b12311ada5
Fix path for CEF build.
2014-12-08 07:36:56 +10:00
Matthew Rasmus
e520cfd86b
servo.css: Style <button> like <input type=button>
2014-12-07 13:00:04 -08:00
bors-servo
a6768b6244
auto merge of #4269 : mttr/servo/mach_test_fix, r=mbrubeck
...
When running commands through Registrar.dispatch, mach does not behave
in the same way it would as if it were running through the command line.
Defaults normally provided through a combination of @CommandArgument and
argparse magic are ignored.
I have some ideas as to how to fix this, but until then, this will allow
`./mach test` to run through test-unit properly.
2014-12-06 13:49:03 -07:00
Emanuel Rylke
b5e7cba598
Fix bug of TextInput.adjust_horizontal causing stack overflow or wraparound
...
When the edit_point is in the first position of a multiline TextInput
adjust_horizontal(-1) moves the edit_point to the end of the first line.
When the first line is empty this causes a stack overflow. When the edit_point
is in the last position adjust_horizontal(1) causes a stack overflow.
2014-12-06 20:59:04 +01:00
Matthew Rasmus
2bdf84d5f7
Fix breakage of ./mach test
...
When running commands through Registrar.dispatch, mach does not behave
in the same way it would as if it were running through the command line.
Defaults normally provided through a combination of @CommandArgument and
argparse magic are ignored.
I have some ideas as to how to fix this, but until then, this will allow
`./mach test` to run through test-unit properly.
2014-12-06 09:23:10 -08:00
bors-servo
c68e2af0a7
auto merge of #4263 : Ms2ger/servo/or_init, r=jdm
2014-12-06 08:01:06 -07:00
Ms2ger
f0ef1f97ad
Use or_init where appropriate.
2014-12-06 15:59:17 +01:00
Emanuel Rylke
f99c0e2c15
Implement Page(Up|Down) functionality for TextInput.
2014-12-06 15:34:37 +01:00
Emanuel Rylke
2ec16a0e88
Fix bug of TextInput.adjust_vertical(1) always moving to the end of text.
2014-12-06 15:34:37 +01:00
bors-servo
b805e74fef
auto merge of #4265 : ProgramFOX/servo/issue-4251, r=Ms2ger
...
Resolves #4251
2014-12-06 07:31:01 -07:00
Ms2ger
10e39161f7
Create the root frame before evaluating the javascript URL.
...
This prevents a crash when the script in the javascript URL accesses the
document attribute.
2014-12-06 15:04:37 +01:00
bors-servo
2d0e96e133
auto merge of #4229 : mttr/servo/mach_unit_test_select_component, r=Manishearth
...
Example usage:
`./mach test-unit -c style`
2014-12-06 04:49:00 -07:00
bors-servo
3eec780c00
auto merge of #4262 : tamird/servo/4261, r=jdm
...
`self` is never used, so there's no need for this to be a method.
Fixes #4261 . @jdm
2014-12-06 04:28:01 -07:00
bors-servo
19c69b1625
auto merge of #4002 : Manishearth/servo/activation, r=jdm
...
Still need to impl `Activatable` on all activatable elements. I'll probably push those changes to this PR, however they can be made separately as well.
2014-12-06 03:55:04 -07:00
Manish Goregaokar
5511e02a78
Add Comparable trait to js.rs; fixups
2014-12-06 02:51:52 -08:00
Jonathan Hao
8b8eea15c7
Remove an expected failure from tests/wpt/metadata/dom/events/EventTarget-dispatchEvent.html.ini
2014-12-06 02:04:55 -08:00
bors-servo
507fdbeb6d
auto merge of #4264 : Ms2ger/servo/panic, r=jdm
2014-12-06 02:37:04 -07:00
Ms2ger
6322b0bfab
Clarify the panic in get_uint_attribute.
2014-12-06 10:19:05 +01:00
Tamir Duberstein
b916974f78
should_move_clip_rect
is a bare function
...
`self` is never used, so there's no need for this to be a method.
Fixes #4261 .
2014-12-05 20:11:02 -08:00
bors-servo
33836715a8
auto merge of #4254 : medopaw/servo/settimeout-on-sync-error, r=Manishearth
...
fix #4253
2014-12-05 20:13:02 -07:00
Manish Goregaokar
e7b3caa386
Add oninput/onchange so tests work
2014-12-05 18:49:34 -08:00
Manish Goregaokar
e7ac792ed6
Switch to NodeFlags (the footprint has not changed)
2014-12-05 18:34:53 -08:00
Manish Goregaokar
b20d7d89c1
Switch over to query_selector_iter
2014-12-05 18:34:52 -08:00
Manish Goregaokar
3ba4bba28b
Implement QuerySelectorIterator ( fixes #4082 )
2014-12-05 18:34:52 -08:00
Manish Goregaokar
a2f7e0fbd6
Address review comments
2014-12-05 18:34:51 -08:00
Manish Goregaokar
6482e313d6
Implement implicit form submission
2014-12-05 18:34:49 -08:00
Manish Goregaokar
c89ec3910f
Hook up synthetic click activation to script_task and <>.click()
2014-12-05 18:33:03 -08:00
Manish Goregaokar
e68119f82f
Move InputRadio to Activatable
2014-12-05 18:32:13 -08:00
Manish Goregaokar
a5180a473d
Refactor code for fetching radio siblings
2014-12-05 18:32:13 -08:00
Manish Goregaokar
14a6e54371
Move InputCheckbox to Activatable
2014-12-05 18:32:13 -08:00
Manish Goregaokar
d1547e3a7c
Move InputSubmit to Activatable
2014-12-05 18:32:13 -08:00
Manish Goregaokar
2ed9626f1a
Some reorganization of activation code:
...
- Make method name apply to trait implementor better (When a user agent is to run post-click activation steps on an element, it must run the activation behavior defined for that element)
- Mention invariants and conditions on authentic_click_activation
2014-12-05 18:32:12 -08:00
Manish Goregaokar
03207dea81
Hook up authentic click activation to the script task
2014-12-05 18:32:12 -08:00
Manish Goregaokar
ddfa0c7de7
Implement basic (unhooked) framework for element activation
2014-12-05 18:32:12 -08:00
Manish Goregaokar
c3fdd60adc
Add trusted setter to Event
2014-12-05 18:32:12 -08:00
Manish Goregaokar
e2376a64bf
Add stub Activatable trait
2014-12-05 18:32:11 -08:00
Manish Goregaokar
7d51a543d8
Implement form control mutability, rename FormOwner -> FormControl
2014-12-05 18:32:11 -08:00