Commit graph

5730 commits

Author SHA1 Message Date
Ms2ger
6219d5b24b Remove references to nullable any from testbinding.
'any' is inherently nullable, so nullable any doesn't exist.
2014-07-27 22:54:51 +02:00
Ms2ger
0ea0d1ae4b Introduce a PerformanceTimingHelpers trait for the NavigationStartPrecise method. 2014-07-27 22:54:51 +02:00
Ms2ger
3a68b9dbf2 Remove an unused argument to needCx and use it in CGCallGenerator. 2014-07-27 22:54:51 +02:00
Ms2ger
e34bcaaa5f Pass a non-nullable string to NamedGetter.
There is no actual reason to use a nullable string here; all callers have a
string they want to pass.

The issue dates back to the time that DOMString was inherently nullable
(before #1215); this API was not converted back to the non-nullable DOMString
type after that landed.
2014-07-27 22:54:01 +02:00
Josh Matthews
4b516c184d Merge pull request #2933 from Ms2ger/initialize_global
Assert that we're handed a DOM global in initialize_global.
2014-07-27 10:19:46 -04:00
Josh Matthews
7e7af3fca7 Merge pull request #2935 from Ms2ger/location-hash
Implement Location.hash.
2014-07-27 10:19:30 -04:00
Ms2ger
4225cdcac3 Implement Location.hash. 2014-07-27 13:47:54 +02:00
Cameron Zwarich
ecd816cdd6 Merge pull request #2930 from bjwbell/track-rerender-msgs
Track rerender msgs
2014-07-26 17:11:28 -07:00
Bryan Bell
8fd5739afc Track rerender msgs
If the compositor outputs to a file:
* Track rerender msgs sent from the compositor to the render tasks.
* Before outputting, wait until all rerender msgs are processed by the
  render tasks.

Fixes issue https://github.com/servo/servo/issues/2871.
2014-07-26 16:38:34 -07:00
Manish Goregaokar
9937b77dee Merge pull request #2932 from Ms2ger/fixme-347
Add pointers to the relevant issue for some bugs; r=jdm
2014-07-26 22:54:12 +05:30
Tetsuharu OHZEKI
4a0bb1be51 Move CanvasRenderTask to gfx crate. 2014-07-27 02:02:46 +09:00
Ms2ger
692d4e847d Assert that we're handed a DOM global in initialize_global. 2014-07-26 17:16:25 +02:00
Ms2ger
69c49bb764 Merge pull request #2931 from Ms2ger/dom-docs
Add documentation for the DOM; r=jdm
2014-07-26 17:15:12 +02:00
Ms2ger
2ddb32bd2f Add documentation for the DOM. 2014-07-26 17:14:34 +02:00
Ms2ger
875eda69e4 Add pointers to the relevant issue for some bugs. 2014-07-26 17:11:35 +02:00
Cameron Zwarich
5ed95e410b Merge pull request #2928 from zwarich/set-clipping-cleanup
Simplify set_clipping_rect and inline it into its only caller
2014-07-25 15:44:01 -07:00
Cameron Zwarich
32a3c14a1c Simplify set_clipping_rect and inline it into its only caller 2014-07-25 15:08:31 -07:00
Patrick Walton
bf046f753b Merge pull request #2919 from mbrubeck/layout-comments
Update comments about Node::layout_data
2014-07-25 14:36:38 -07:00
Simon Sapin
ce84adaa05 Merge pull request #2926 from servo/unnecessary_parens
Fix an unnecessary_parens warning.
2014-07-25 21:12:16 +01:00
Simon Sapin
8b910c9478 Fix an unnecessary_parens warning. 2014-07-25 20:21:15 +01:00
Simon Sapin
03ff79b872 Merge pull request #2922 from servo/rustdoc
Build rustdoc docs on Travis and upload them to GitHub Pages.
2014-07-25 20:09:39 +01:00
Simon Sapin
54773d3ccd Build docs on Travis and upload them to GitHub Pages.
http://servo.github.io/servo/servo/index.html
2014-07-25 20:09:20 +01:00
Manish Goregaokar
543874cb40 Merge pull request #2923 from Ms2ger/cors-escape
Escape HTML in the cors.rs documentation.
2014-07-26 00:11:08 +05:30
Ms2ger
bacae0e9bc Escape HTML in the cors.rs documentation.
Rustdoc passes the code straight through, leading to poor generated HTML.
2014-07-25 19:27:02 +02:00
Lars Bergstrom
df71ea8b08 Merge pull request #2918 from mbrubeck/size_t
Fix build errors for Android (and other 32-bit targets)
2014-07-25 11:02:38 -05:00
Josh Matthews
440b2a995f Merge pull request #2920 from Ms2ger/canvas
Implement very basic canvas rendering context logic. No visual display present.
2014-07-25 11:53:47 -04:00
Simon Sapin
205f1a847c Add doc and doc-$(crate) targets to the Makefile using rustdoc. 2014-07-25 16:27:12 +01:00
Manish Goregaokar
867c7bf0a3 Merge pull request #2794 from Manishearth/cors
Basic implementation of CORS; r=jdm
2014-07-25 14:18:34 +05:30
Ms2ger
287f6f35ab Merge pull request #2911 from glennw/atom-attr-name
Port attribute name to use atom; r=Ms2ger
2014-07-25 10:28:00 +02:00
Aalhad
f8ba2c1190 Implement very basic canvas rendering context logic. No visual display present. 2014-07-25 10:00:37 +02:00
Matt Brubeck
377bcb53b9 Update comments about Node::layout_data 2014-07-24 22:42:28 -07:00
Manish Goregaokar
a64dafd815 Basic implementation of CORS 2014-07-25 05:54:48 +05:30
Matt Brubeck
16421f03af Exclude host libs from Android package.
Fixes startup error caused by packaging the wrong libphf.so.
2014-07-24 17:19:05 -07:00
Matt Brubeck
c3f56476a0 Update to latest string-cache.
Includes fix for servo/string-cache#4.
2014-07-24 17:19:05 -07:00
Matt Brubeck
36b1cf4eba Fix compile error and warning on Android 2014-07-24 17:19:05 -07:00
Matt Brubeck
feae7d0b5d Add explicit cast from size_t to u64.
Fixes compile error on non-64-bit targets.
2014-07-24 17:19:05 -07:00
Glenn Watson
a270d40a21 Convert to atom earlier in SetAttributeNS 2014-07-25 08:04:10 +10:00
Lars Bergstrom
a14d3b2102 Merge pull request #2904 from glennw/linux-ref-test
Modify Linux travis config to run content and cpu ref tests.
2014-07-24 16:36:49 -05:00
Lars Bergstrom
9ab53ba44b Merge pull request #2912 from mrobinson/debug-borders
Add support for showing debug borders
2014-07-24 14:16:27 -05:00
Ms2ger
88027a95fd Merge pull request #2914 from Ms2ger/screen
Implement Window.screen; r=jdm
2014-07-24 18:48:55 +02:00
Manish Goregaokar
302480765b Merge pull request #2913 from Ms2ger/url-clone
Avoid an unnecessary clone of the base URL in parse_html(); r=jdm
2014-07-24 21:55:52 +05:30
Ms2ger
9bd1f0408b Remove some unnecessary uses of the serialize module. 2014-07-24 18:09:53 +02:00
Ms2ger
27f92239b0 Implement Window.screen. 2014-07-24 12:51:49 +02:00
Ms2ger
e363b6fcc4 Avoid an unnecessary clone of the base URL in parse_html(). 2014-07-24 12:36:53 +02:00
Patrick Walton
800b5e0f4a Merge pull request #2910 from kmcallister/charset
Add charset declarations to non-ASCII tests
2014-07-23 21:02:37 -07:00
Glenn Watson
a500099df6 Update font face to new url parser. 2014-07-24 13:45:19 +10:00
Glenn Watson
c76cd128a7 Don't rely on font hint for format detection. Handle parsing comma
separated format hints. Fix oversight in mac code dealing with
creating web fonts from memory.
2014-07-24 13:24:22 +10:00
Glenn Watson
40559d148a Address review comments. 2014-07-24 13:24:22 +10:00
Glenn Watson
6465bf6a85 Fix missing license header in new file. 2014-07-24 13:24:22 +10:00
Glenn Watson
4e949cb58c Add basic support for web fonts. Synchronous loading only
for now, and only deals with TTF format fonts.

For an example, try loading http://icons.marekventur.de
2014-07-24 13:24:22 +10:00