aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* auto merge of #5206 : Ms2ger/servo/pre-rustup-codegen-cleanup, r=jdm,SimonSapinbors-servo2015-03-132-17/+15
|\
| * Don't define empty FooMethods traits.Ms2ger2015-03-132-11/+9
| |
| * Remove unused lifetime parameters to dictionaries.Ms2ger2015-03-131-6/+6
| | | | | | | | They were used for Root members, but those no longer use lifetimes.
* | auto merge of #5204 : ehegnes/servo/squelch_contenttest, r=jdmbors-servo2015-03-121-4/+9
|\ \ | | | | | | | | | This actually fixes 5159.
| * | Further squelch warnings from contenttest.rsEric Hegnes2015-03-121-4/+9
| | | | | | | | | | | | This actually fixes 5159
* | | auto merge of #5177 : PeterReid/servo/issue5158, r=jdmbors-servo2015-03-121-13/+19
|\ \ \ | |/ / |/| | | | | | | | | | | Fixes #5158 Part of this involved switching to OsStrings for process arguments. Those now interface awkwardly with some remaining use old_io, but that will only be needed until rustc is newer.
| * | Fix warnings in tests/reftest.rsPeter Reid2015-03-121-13/+19
|/ /
* | auto merge of #4417 : pcwalton/servo/border-spacing, r=larsbergstrombors-servo2015-03-1226-208/+690
|\ \ | | | | | | | | | | | | | | | | | | | | | Table layout code has been refactored to push the spacing down to rowgroups and rows; this will aid the implementation of `border-collapse` as well. r? @SimonSapin
| * | layout: Implement `border-spacing` per CSS 2.1 § 17.6.1 and the legacyPatrick Walton2015-03-1226-208/+690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `cellspacing` attribute per HTML5 § 14.3.9. Table layout code has been refactored to push the spacing down to rowgroups and rows; this will aid the implementation of `border-collapse` as well. This commit also fixes two nasty issues in table layout: * In fixed layout, extra space would not be divided among columns that had auto width but had nonzero minimum width. * In automatic layout, extra space would be distributed to constrained columns as well even if unconstrained columns with percentage equal to zero were present.
* | | auto merge of #5194 : hirschenberger/servo/gif_alpha_background, r=larsbergstrombors-servo2015-03-126-1/+40
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | This is GIF specific. It's also done when the image is PNG but PNG is handled separately with the PNG crate, whereas GIFs are handled by the stb-image crate and the distinction between alpha and non-alpha-supporting images was missing.
| * | Add reftest for issue #5176hirschenberger2015-03-125-0/+27
| | |
| * | Fix #5176 by premultiplying the alpha channel to the color channelshirschenberger2015-03-111-1/+13
| | | | | | | | | | | | | | | | | | | | | This is GIF specific. It's also done when the image is PNG but PNG is handled separately with the PNG crate, whereas GIFs are handled by the stb-image crate and the distinction between alpha and non-alpha-supporting images was missing.
* | | auto merge of #5202 : doublec/servo/rename_unwrap, r=Ms2gerbors-servo2015-03-125-13/+13
|\ \ \ | | | | | | | | | | | | Fix for issue #2108. That issue mentions an `unwrap_object` which doesn't seem to exist so I renamed `unwrap` to `native_from_reflector` and `unwrap_jsmanaged` to `native_from_reflector_jsmanaged`. The latter is a bit unweildy - maybe a shorter name might be better?
| * | | Fix #2108 by renaming unwrap functions to native_from_reflectorChris Double2015-03-125-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted by @bholley. "unwrap" is confusing because we are both stripping off wrappers *and* getting a native from a reflector. Changing the "unwrap" usage to "native_from_reflector" for clarity. This renames 'unwrap' to 'native_from_reflector' and 'unwrap_jsmanaged' to 'native_from_reflector_jsmanaged'.
* | | | auto merge of #5201 : Ms2ger/servo/plugins, r=jdmbors-servo2015-03-111-2/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove plugin attributes from extern crates.Ms2ger2015-03-111-2/+0
|/ / /
* | | auto merge of #5198 : ienzam/servo/force_relayout_cleanup, r=jdmbors-servo2015-03-111-8/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | This is a cleanup for issue #3959 Do I need to inline force_relayout?
| * | | Remove redundant force_relayout calls.Md. Enzam Hossain2015-03-111-8/+0
|/ / /
* | | auto merge of #5192 : glennw/servo/remove-frame-id, r=Ms2gerbors-servo2015-03-114-38/+9
|\ \ \ | |/ / |/| | | | | This will be re-introduced in a follow up PR with a different usage, but I'm trying to create small, independent PRs that are easier to review than one large change.
| * | Remove unused subpage field from pageGlenn Watson2015-03-112-8/+3
| | |
| * | Remove now unused id field for frame tree.Glenn Watson2015-03-112-30/+6
|/ /
* | auto merge of #5189 : glennw/servo/page-url, r=larsbergstrombors-servo2015-03-103-6/+6
|\ \ | | | | | | | | | This doesn't have any effect on functionality, it just simplifies a few upcoming changes with how FrameIds work.
| * | Make change page url message consistent with other compositor messages.Glenn Watson2015-03-113-6/+6
| |/ | | | | | | This doesn't have any effect on functionality, it just simplifies a few upcoming changes with how FrameIds work.
* | auto merge of #5188 : glennw/servo/reflow-events, r=jdmbors-servo2015-03-102-2/+8
|\ \ | |/ |/| | | This fixes some test failures that begin occurring when other events (such as resize) are fixed to only occur when needed.
| * Perform reflow if load events dirty any nodes.Glenn Watson2015-03-112-2/+8
|/ | | | This fixes some test failures that begin occurring when other events (such as resize) are fixed to only occur when needed.
* auto merge of #5185 : mmatyas/servo/canvas_arc, r=pcwaltonbors-servo2015-03-1012-47/+19
|\ | | | | | | | | This patch enables the use of `arc()` on the canvas. I couldn't add reftest this time, as it involves some antialiasing issues, and so the reference doesn't match.
| * Canvas: added arc().Mátyás Mustoha2015-03-0912-47/+19
| |
* | auto merge of #5182 : zslayton/servo/master, r=jdmbors-servo2015-03-1025-262/+178
|\ \ | | | | | | | | | | | | | | | Opening this PR to invite feedback. Of the many `match` statement candidates for conversion to `if let`, several included `if` guards. Since `if let` doesn't support this syntax, I used nested if statements. If this is undesirable, say the word and I can revert those cases to `match`.
| * | Use new `if let` syntax wherever possible. Fixes #4153.Zack Slayton2015-03-1025-262/+178
| | |
* | | auto merge of #5160 : pcwalton/servo/counters-redux, r=SimonSapinbors-servo2015-03-0943-535/+1879
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases. Reconstructed from #5138 via raw diffing. r? @SimonSapin
| * | | Update WPT expectationsPatrick Walton2015-03-092-2/+2
| | | |
| * | | Add a Japanese Web fontPatrick Walton2015-03-095-3/+180
| | | |
| * | | layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1Patrick Walton2015-03-0939-533/+1700
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | § 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases.
* | | | auto merge of #5183 : aweinstock314/servo/master, r=saneyukibors-servo2015-03-093-13/+30
|\ \ \ \ | |/ / / |/| | | | | | | ...via introduction of Worker::WorkerErrorHandler (Closes #5171).
| * | | Subsume ScriptMsg::WorkerDispatchErrorEvent into ScriptMsg::RunnableMsg via ↵Avi Weinstock2015-03-093-13/+30
| | | | | | | | | | | | | | | | introduction of Worker::WorkerErrorHandler (Closes #5171).
* | | | auto merge of #5143 : mbrubeck/servo/rtl, r=pcwaltonbors-servo2015-03-098-27/+167
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | ...and vice-versa. This is not a complete fix for all mixed-direction layout cases, but it fixes enough problems to make some simple test cases pass, like tha attached reftest. There are FIXME comments for many of the remaining issues. In particular, this does not yet handle RTL layout of fixed/absolute elements, nor does it completely fix the overconstrained_block reftest. r? @SimonSapin or @pcwalton
| * | | Keep track of the containing block writing mode.Matt Brubeck2015-03-095-4/+38
| | | | | | | | | | | | | | | | | | | | This is necessary for correctly converting `relative_containing_block_size` to physical coordinates.
| * | | Layout fixes for RTL child flows in LTR parentsMatt Brubeck2015-03-097-25/+131
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | ...and vice-versa. This is not a complete fix for all mixed-direction layout cases, but it fixes enough problems to make some simple test cases pass, like tha attached reftest. There are FIXME comments for many of the remaining issues. In particular, this does not yet handle RTL layout of fixed/absolute elements.
* | | auto merge of #5184 : Ms2ger/servo/disable-flaky-canvas-reftest, r=jdmbors-servo2015-03-091-1/+1
|\ \ \ | |/ / |/| |
| * | Disable intermittently failing canvas_transformations_scale_001.htm.Ms2ger2015-03-091-1/+1
|/ /
* | Merge pull request #5179 from saneyuki/ignoreTetsuharu OHZEKI2015-03-091-1/+1
|\ \ | |/ |/| remove the trailing slash for consistence.
| * remove the trailing slash for consistence.Tetsuharu OHZEKI2015-03-091-1/+1
|/
* Merge pull request #5178 from saneyuki/ignoreSimon Sapin2015-03-081-1/+1
|\ | | | | Ignore /.cargo/
| * Ignore /.cargo/Tetsuharu OHZEKI2015-03-091-1/+1
|/
* auto merge of #5174 : ehegnes/servo/issue-5159, r=Manishearthbors-servo2015-03-081-5/+7
|\ | | | | | | | | Fix warnings and introduce usage of `std::env` over deprecated `std::os` functions.
| * Fixes #5159Eric Hegnes2015-03-081-5/+7
| | | | | | | | | | Fix warnings and introduce usage of `std::env` over deprecated `std::os` functions.
* | auto merge of #5168 : Manishearth/servo/cargo-home, r=SimonSapinbors-servo2015-03-082-3/+25
|\ \ | |/ |/|
| * Add support for $CARGO_HOME in servobuildManish Goregaokar2015-03-082-3/+25
| |
* | auto merge of #5170 : metajack/servo/update-cocoa-glutin, r=pcwaltonbors-servo2015-03-074-12/+13
|\ \ | | | | | | | | | This just requires updating glutin and cocoa to pick up some backported fixes.
| * | Fix scrolling on OS X.Jack Moffitt2015-03-064-12/+13
| | | | | | | | | | | | This just requires updating glutin and cocoa to pick up some backported fixes.