Commit graph

3667 commits

Author SHA1 Message Date
Josh Matthews
854a4bdbf4 Redirect stdout/stderr to logcat. 2018-09-25 15:25:16 -04:00
Simon Sapin
6842553923 Fix default-except-unstable build 2018-09-25 19:21:59 +02:00
bors-servo
c576412f83
Auto merge of #21794 - paulrouget:jni-update, r=nox
jni-rs update

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

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21656 (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/21794)
<!-- Reviewable:end -->
2018-09-24 04:31:37 -04:00
Paul Rouget
95d660e077 jni-rs update 2018-09-24 16:24:50 +08:00
Paul Rouget
96cf1e2da3 Get the right pixel density on Android 2018-09-24 07:45:15 +02:00
bors-servo
f313847b6b
Auto merge of #21767 - jdm:androidlog, r=paulrouget
Enable use of RUST_LOG with mach run --android.

This allows running `RUST_LOG=layout_thread ./mach run --android` and seeing the appropriate logging output appear in `./adb logcat`.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21764

<!-- 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/21767)
<!-- Reviewable:end -->
2018-09-21 06:18:58 -04:00
Josh Matthews
9d52fb88ab
Remove unnecessary sysroot and platform configuration from build script. 2018-09-20 15:42:04 -04:00
Josh Matthews
f7516f57a7 Enable use of RUST_LOG with mach run --android. 2018-09-20 14:14:41 -04:00
bors-servo
ed86bc7ec6
Auto merge of #21688 - paulrouget:rm-clipboard, r=jdm
Let the clipboard crate handle the lack of clipboard support

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (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/21688)
<!-- Reviewable:end -->
2018-09-13 03:08:53 -04:00
Paul Rouget
ec6cc56299 Let the clipboard crate handle the lack of clipboard support 2018-09-12 11:24:55 +02:00
Simon Sapin
2a996fbc8f Replace mpsc with crossbeam/servo channel, update ipc-channel
Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
2018-09-12 13:33:32 +08:00
bors-servo
030d797e33
Auto merge of #21676 - chansuke:format_ports_servo, r=jdm
Format ports/servo

<!-- Please describe your changes on the following line: -->
Format `ports/servo` with:

`rustfmt ports/servo/*.rs`

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix part of #23137.
- [x] These changes do not require tests because they format the code only.

<!-- 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/21676)
<!-- Reviewable:end -->
2018-09-11 20:30:52 -04:00
chansuke
bde84aed22 Format ports/servo 2018-09-11 23:00:41 +09:00
chansuke
0f90d985ac Format ports/libsimpleservo 2018-09-11 22:31:56 +09:00
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