Commit graph

111 commits

Author SHA1 Message Date
Connor Brewster
fe61124c15 Add servo version to mac about servo window. 2016-08-19 18:55:27 -05:00
Anthony Ramine
03a0170c91 Update to webrender 0.4.0 2016-08-18 19:33:12 +02:00
Glenn Watson
1242a0df69 Update webrender + shaders. 2016-08-16 11:03:15 +10:00
Glenn Watson
3543cc6098 Copy updated WR shaders. 2016-08-13 05:50:31 +10:00
Glenn Watson
ce01120fb1 Remove some unused WR1 shaders, copy new shaders, update WR hash. 2016-08-09 07:26:38 +10:00
Mason Chang
7699380965 update servo to use webrender shaders 2016-08-04 17:57:19 -07:00
Glenn Watson
c349e4b1b8 Copy fixed box-shadow shader. 2016-08-03 10:14:46 +02:00
Glenn Watson
2ebf8618c0 Copy shaders from WR repo. 2016-08-03 10:14:42 +02:00
bors-servo
a3e8199c97 Auto merge of #12388 - kilobtye:textarea2, r=pcwalton
Let textarea wrap lines

<!-- Please describe your changes on the following line: -->
1. Change textarea's style from white-space: pre to white-space: pre-wrap.
2. Display insertion point when a line is wrapped.

---
<!-- 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 #10053 (github issue number if applicable).

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

<!-- 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/12388)
<!-- Reviewable:end -->
2016-07-26 08:31:49 -05:00
kilobtye
0a86543e6d Let textarea wrap lines 2016-07-26 20:38:11 +08:00
Jack Moffitt
d8c0b87eb2 Add Windows packaging to create an MSI installer 2016-07-25 14:58:33 -06:00
bors-servo
1e835e330d Auto merge of #12539 - johannhof:error-page, r=jdm
Improve page load error information

Fixes #8640.

This commit adds a neterror page that displays really really basic
information about what went wrong with your request, which is an
improvement over the current state of blank page.

It also fixes the problem of certificate validation errors not
triggering the cert error page, since for some reason the function
string seems to have turned lowercase.

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

- [x] These changes do not require tests because I'm not sure how to test this, suggestions welcome!

r?@jdm

<!-- 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/12539)
<!-- Reviewable:end -->
2016-07-21 13:27:06 -05:00
Johann Hofmann
8e3593aa67
Improve page load error information
Fixes #8640.

This commit adds a neterror page that displays really really basic
information about what went wrong with your request, which is an
improvement over the current state of blank page.

It also fixes the problem of certificate validation errors not
triggering the cert error page, since for some reason the function
string seems to have turned lowercase.
2016-07-21 16:06:13 +02:00
Emilio Cobos Álvarez
0b67b218d0
style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations. 2016-07-20 09:05:53 -07:00
kilobtye
b9f8df1776 Make textarea scrollable 2016-07-16 12:56:35 +08:00
Tetsuharu OHZEKI
09e6a7af54 resource: Remove the duplicated config from pref.json 2016-07-05 21:08:44 +09:00
Connor Brewster
50096c21b0 Use proper comment syntax in servo.css 2016-06-30 11:12:01 -06:00
bors-servo
461d7c4eeb Auto merge of #11801 - mbrubeck:snaptopix, r=pcwalton
webrender: Don't use OpenGL round() for snapping pixels

Fixes #11751. See servo/webrender#294 for some details. r? @pcwalton

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11801)
<!-- Reviewable:end -->
2016-06-29 22:35:54 -05:00
Matt Brubeck
6c00058c5d webrender: Don't use OpenGL round() for snapping pixels
Fixes #11751.
2016-06-29 17:55:31 -07:00
bors-servo
305eda66dd Auto merge of #11932 - jdm:servoorg-cert, r=asajeffrey
Print out useful SSL-related information on SSL error page.

Make certificate error pages more useful. Attempt to identify known cases where upgrading OpenSSL would be useful.

<img width="553" alt="screen shot 2016-06-29 at 12 29 30 pm" src="4d07d5e2-3df5-11e6-94ab-cf061c0e64cc.png">

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11932)
<!-- Reviewable:end -->
2016-06-29 16:47:57 -05:00
Josh Matthews
8422dac811 Use the I Tried star in place of a more accusatory meme. 2016-06-29 15:03:06 -04:00
Josh Matthews
94df389031 Print out useful SSL-related information on SSL error page. 2016-06-29 14:21:12 -04:00
bors-servo
7b2080c5b7 Auto merge of #11899 - ConnorGBrewster:app_packaging, r=larsbergstrom
Create Servo.app and dmg on mac package

<!-- Please describe your changes on the following line: -->
This creates Servo.app and puts it in a dmg along with a symlink to `/Applications`.

---
<!-- 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
- [X] These changes do not require tests because creating packager

<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11899)
<!-- Reviewable:end -->
2016-06-28 14:58:06 -05:00
Connor Brewster
96b7a19ca0 create an app bundle and package it in dmg
Fix resource lookup, add package prefs

fix tidy issues
2016-06-28 13:09:08 -06:00
Zhen Zhang
6a5a4f2de5 add button for file-type input element 2016-06-26 10:22:07 +08:00
mrmiywj
909f0da3c2 add reload keyboard shortcut
rename the preference to shell.builtin-key-shortcuts.enabled
2016-06-23 17:37:56 +08:00
bors-servo
9dbf7b413e Auto merge of #11814 - jdm:fancy-logo, r=metajack
Add a border to the logo to differentiate from background color.

By @zmike from https://github.com/servo/servo/pull/11473#issuecomment-223118097.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11814)
<!-- Reviewable:end -->
2016-06-21 10:43:11 -05:00
Josh Matthews
e7d0f04a88 Add a border to the logo to differentiate from background color. 2016-06-21 09:41:36 -04:00
Josh Matthews
99e436eb05 Add a test that forces a crash. This makes it easy to manually check the output of a segfault with a complicated backtrace; the actual automation doesn't help us except to verify that the crash continues to happen as excepted. 2016-06-20 18:32:48 -04:00
Lars Bergstrom
6beed30524 Add very simple Android browser page load support 2016-06-09 15:36:55 -05:00
Florian Duraffourg
dbef65129f Add mach command to update public domain list and use a HashSet instead of a Vec to lookup public domains 2016-06-09 09:14:01 +02:00
bors-servo
592842ccc3 Auto merge of #11540 - taravancil:input-text-size, r=mbrubeck
Change the font-size property for input and textarea

Change the `font-size` property for `input` and `textarea` from 0.7em to 0.8333em.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11529 (github issue number if applicable).

- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the issue has the label `C-has-test` Forgive me if I'm wrong; this is my first time contributing to Servo!

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11540)
<!-- Reviewable:end -->
2016-06-02 10:49:50 -05:00
Rahul Sharma
15a2064c0d implement related sw interface and register method 2016-06-02 04:09:39 +05:30
Tara
526e795f1c Change the font-size property for input and textarea
Change the `font-size` property for `input` and `textarea` from 0.7em
to 0.8333em.
2016-06-01 04:09:54 -05:00
fokinv
a920e6d54e Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
Manish Goregaokar
227bdfaeb2
Don't inherit text-transform on input elements 2016-05-24 17:00:28 +05:30
Paul Rouget
911a67b400 Make quit-on-escape optional 2016-05-16 17:39:25 +02:00
Patrick Walton
981ad2d89c glutin: On desktop, use the same app icon we use on Android.
This makes the app easier to pick out in Instruments.app and so forth.
2016-05-16 15:27:49 +02:00
Per Lundberg
d2469f0cde Reformatted servo.css
As discussed in #10553, we should consider splitting the long lines in this file onto separate lines (one per css attribute), to make it more readable and maintainable in general.

I also added blank lines where I felt it was applicable.
2016-05-15 00:27:49 +03:00
bors-servo
03465ad8c7 Auto merge of #11079 - Zaggy1024:label-cursor, r=pcwalton
Changed cursor for labels to "default" so their text doesn't use the text cursor.

The cursor in Firefox and Chrome for labels is always the default cursor rather than changing to the text cursor on text. In Edge, however, this only applies to the text of the actual label element.

This PR changes Servo to match Firefox and Chrome.

A convenient example of an element that this style applies to (and has different behavior between Firefox and Edge) is the "This repository" label for the search input at the top on Github.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11079)
<!-- Reviewable:end -->
2016-05-12 19:45:38 -07:00
Anthony Ramine
afd29b7c1e Support GC zeal 2016-05-12 16:44:40 +02:00
bors-servo
58a9b31de2 Auto merge of #11022 - notriddle:master, r=SimonSapin
Use tag names in all user-agent selectors.

Fixes #11004

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11022)
<!-- Reviewable:end -->
2016-05-09 07:34:08 -07:00
Zaggy1024
f3f1504003 Changed cursor for labels to "default" so their text doesn't use the text cursor. 2016-05-08 02:29:19 -05:00
Michael Howell
d98431ee45 Use tag names in all user-agent selectors.
Fixes #11004
2016-05-04 21:47:21 -07:00
Patrick Walton
91907f563b compositing: Send mouse events to the right pipeline when using
WebRender.

Fixes mouse events in browser.html.

Requires servo/webrender_traits#47 and servo/webrender#272.
2016-05-04 11:40:15 -07:00
bors-servo
8255e74a61 Auto merge of #10081 - jdm:interfacepref, r=nox
Support controlling interface and member visibility via preferences

This was easier to throw together than per-attribute/method support, and it gets rid of some nonstandard properties from our globals.

Fixes #7626.

r? @Ms2ger

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10081)
<!-- Reviewable:end -->
2016-05-02 11:35:38 -07:00
Josh Matthews
693d31d4ed Ensure bluetooth and testbinding are disabled by default. 2016-05-02 14:32:54 -04:00
bors-servo
e65009f317 Auto merge of #10809 - perlun:sendoushi-master, r=jdm
Fixed line-height for input and textarea + use correct font

Fixes #10532.

Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged.

(Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10809)
<!-- Reviewable:end -->
2016-05-01 16:22:17 -07:00
Per Lundberg
220722e321 Fixed test failures. 2016-05-01 22:37:40 +03:00
Emilio Cobos Álvarez
cf5c090576
layout: Don't force to overwrite display for pseudo-elements. 2016-04-29 22:54:49 +02:00