Commit graph

3553 commits

Author SHA1 Message Date
Paul Rouget
8e94bfe0bd Fix zoom keybindings 2018-08-22 04:44:46 +02:00
Paul Rouget
296b76070c pinch to zoom 2018-08-16 13:51:57 +02:00
bors-servo
e855973e2b
Auto merge of #21405 - paulrouget:suspend, r=jdm
Behave properly when app is suspended

Fix #21329

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21405)
<!-- Reviewable:end -->
2018-08-15 02:07:05 -04:00
Paul Rouget
ae407e9a65 Behave properly when app is suspended 2018-08-14 16:52:36 +02:00
Paul Rouget
bfb76f6fcc Use info instead of debug 2018-08-14 20:52:01 +08:00
Gregory Terzian
e784f5a9f7 Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
Gregory Terzian
96f75465cf rudimentary handling of tabs 2018-08-11 01:13:11 +02:00
Gregory Terzian
f408b798c4 implement window.open, create auxiliary browsing context 2018-08-11 01:12:55 +02:00
bors-servo
0b35a67260
Auto merge of #21367 - servo:rustup, r=mbrubeck
Work around a rustc regression in macro name resolution

https://github.com/rust-lang/rust/issues/53205

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21367)
<!-- Reviewable:end -->
2018-08-09 13:34:45 -04:00
Josh Matthews
5b36f82c74 jni: Add stop API stub. 2018-08-09 10:21:20 -04:00
Simon Sapin
b6b925e509 Move a comment back next to what it was documenting 2018-08-08 23:16:05 +02:00
Simon Sapin
73ba85f3e8 Work around a rustc regression in macro name resolution
https://github.com/rust-lang/rust/issues/53205
2018-08-08 23:16:05 +02:00
bors-servo
e363d579fa
Auto merge of #21302 - paulrouget:res, r=mbrubeck
Fix page size when device-pixel-ratio is set manually

Fix #21277

We were using the user-define pixel ratio to get the device values of the winit coordinates.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21302)
<!-- Reviewable:end -->
2018-08-07 06:51:09 -04:00
Paul Rouget
0d9161dd7b WR update 2018-08-06 07:22:24 +02:00
bors-servo
88f3c8e158
Auto merge of #21301 - paulrouget:stickykeys, r=Manishearth
Do not manually keep the modifiers state

Fix #21294

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21301)
<!-- Reviewable:end -->
2018-08-01 13:53:27 -04:00
bors-servo
733552d997
Auto merge of #21234 - paulrouget:surface, r=MortimerGoro
Android: Introduce ServoSurface

(WIP as it depends on 2 other PRs)

Depends on #21199. Only last commit matters.

r? @MortimerGoro

Please look at ServoSurface.java. The rest is mostly some refactoring to share as much code as possible with ServoView.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21234)
<!-- Reviewable:end -->
2018-08-01 12:04:32 -04:00
Paul Rouget
fb8d8b33ac Android: Fix JSON error when no arguments are passed 2018-08-01 21:01:49 +08:00
Paul Rouget
4dfe617d3f Fix page size when device-pixel-ratio is set manually 2018-08-01 11:52:31 +02:00
Paul Rouget
8c4d4a3aaa Do not manually keep the modifiers state 2018-08-01 11:07:56 +02:00
Paul Rouget
c36b16546e Introduce ServoSurface 2018-08-01 16:35:22 +08:00
Paul Rouget
02983ef39a Add make_current to libsimpleservo 2018-08-01 16:33:46 +08:00
bors-servo
78e90d6358
Auto merge of #21282 - felixrabe:patch-2, r=jdm
Code style: Use canonical naming and formatting

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21282)
<!-- Reviewable:end -->
2018-07-31 18:28:31 -04:00
Paul Rouget
76d394eca8 new android port: update fakeld 2018-07-31 22:39:45 +08:00
Paul Rouget
baf6635a4c new android port: introduce a simple servo library 2018-07-31 22:33:51 +08:00
Paul Rouget
cbaf19c65c new android port: Remove Android code from /ports/servo/ 2018-07-31 22:08:54 +08:00
bors-servo
1bd34e7c55
Auto merge of #21250 - paulrouget:fixkeys, r=jdm
Refactor winit key handling

This should improve keys input on Linux and Windows.
Should fix #17146 and fix #21161

Tested Mac, Windows and Linux. Basic typing works, combo work, text navigation works. I hit some strange issues where sometimes the text would be displayed late, but I believe it is unrelated to this PR.

If we land that now, we will hit a regression on Mac, we need a winit update that includes https://github.com/tomaka/winit/pull/610.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21250)
<!-- Reviewable:end -->
2018-07-30 13:02:41 -04:00
Felix Rabe
be31081ca2
Update browser.rs 2018-07-30 11:34:09 +02:00
Felix Rabe
290341a499
Code style: Use canonical naming and formatting 2018-07-30 11:16:37 +02:00
Simon Sapin
4306336a5b run_in_headless_android_emulator: add support for $HOST_FILE 2018-07-26 15:36:46 +02:00
Paul Rouget
3c7bb87e6d Refactor winit key handling 2018-07-26 14:39:52 +02:00
Anthony Ramine
20714bd08c Update to gleam 0.6 2018-07-18 18:31:51 +02:00
Bastien Orivel
9e446971a8 Update euclid to 0.18 2018-07-18 09:27:24 +02:00
Josh Matthews
b260052753 Convert logical glutin coordinates to physical coordinates for input events. 2018-07-16 22:55:45 -04:00
OJ Kwon
e0699492db refactor(window): get hidpi factor from winit across platform 2018-07-01 14:13:26 +02:00
OJ Kwon
679af055e2 refactor(window): update to latest winit, glutin interface 2018-07-01 14:13:26 +02:00
UK992
2bc1fc8b3b Update to glutin 0.17 and winit 0.16 2018-07-01 13:31:19 +02:00
UK992
4225cd52a8 Add window icon on X11 and Windows 2018-07-01 13:31:18 +02:00
UK992
a3767de9fe Update to glutin 0.16 and winit 0.15 2018-07-01 13:31:18 +02:00
Gregory Terzian
2753e5efab improve spec compliance of window.close 2018-06-04 15:02:23 +08:00
bors-servo
f6762d54e2
Auto merge of #20707 - gterzian:embedder_handling_of_prompts_and_alerts_2, r=payl
Embedder handling of prompts and alerts

<!-- Please describe your changes on the following line: -->

Allow embedder to allow alerts and prompts, but via constellation forwarding messages from script.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach build-geckolib` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #19992  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20707)
<!-- Reviewable:end -->
2018-05-24 10:34:48 -04:00
Gregory Terzian
a5dc1b6764 fix url input for android 2018-05-24 21:01:54 +08:00
Josh Matthews
d6b8aaf576 Support i686-linux-android target. 2018-05-23 11:06:19 -04:00
Gregory Terzian
2812b3cf4a send message to embedder in prompt_to_unload 2018-05-23 21:46:05 +08:00
Gregory Terzian
4234b1252a move top_level_browsing_context_id out of embedder msg 2018-05-23 21:46:05 +08:00
Gregory Terzian
d438240772 move msg to embedder_traits, use in script, handle send error in embedder 2018-05-23 21:45:57 +08:00
Emilio Cobos Álvarez
66ff70dd3e Remove ports/geckolib. 2018-05-17 11:24:59 -05:00
Emilio Cobos Álvarez
16815bf97f
style: Remove code that is no longer called.
Au revoir!

Bug: 1458814
Reviewed-by: hiro
MozReview-Commit-ID: DjqszUSIzXs
2018-05-05 18:53:53 +02:00
Emilio Cobos Álvarez
56688121d3
style: Remove a bit of trivially dead code.
Bug: 1458814
Reviewed-by: hiro
MozReview-Commit-ID: GG41v4TejBU
2018-05-05 18:53:53 +02:00
Emilio Cobos Álvarez
83cb0992db
style: Make SMIL values not roundtrip through strings.
Bug: 1458814
Reviewed-by: hiro
MozReview-Commit-ID: DpbFSutIv3t
2018-05-05 18:53:53 +02:00
Emilio Cobos Álvarez
39169ad92e
style: Fix tidy issues. 2018-05-05 16:24:36 +02:00