Граф коммитов

3856 Коммитов

Автор SHA1 Сообщение Дата
Dave Hodder a1bdf95d0e servo: Merge #5908 - Use canonical Servo GitHub URLs (from dhodder:master); r=jdm
Three URLs have changed from `github.com/mozilla/servo` to `github.com/servo/servo`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 826b7222027b7b8b5df417998a1e4826aecb019a
2015-04-30 13:00:42 -05:00
Peter 76e9e84846 servo: Merge #5725 - added dispatching for mousedown and mouseup events, fixes #5705 (from pgonda:dispatch-mousedown-mouseup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 88ed4e58e16e1ccf2957e1838175b5195c5d7950
2015-04-30 12:22:03 -05:00
Manish Goregaokar 043941dbf0 servo: Merge #5904 - Fix typo in mach gonk output (from Manishearth:spelling); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 0cb2644210cbefc4cc4d847a80ba6762091706c3
2015-04-30 09:56:50 -05:00
Anthony Ramine 421aa02eae servo: Merge #5839 - Implement base machinery of Range (from nox:range); r=Manishearth
The actual boundary points are behind a Rc<_> value to let nodes be able to store weak references to them in the future.

Source-Repo: https://github.com/servo/servo
Source-Revision: 15c4372a8be9c2b73d9e09bd7684484e48d220e8
2015-04-30 05:59:55 -05:00
Anthony Ramine 55930d5b87 servo: Merge #5896 - Properly generate proxy stringifiers (from nox:stringifier-proxy); r=jdm
The proxy stringifiers called through {}.toString.call() (obj_toString) shouldn't use the stringifier.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2c177794408bfbb5f8d6042f38639a5cba5eb2e5
2015-04-30 04:33:32 -05:00
Glenn Watson 59779eeaff servo: Merge #5898 - Handle gzip decompression failure (encountered during jquery test suite work) without panic (from glennw:corrupt-gz); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 738f006afe36a06c8ed4f668904c76ba84e9f1af
2015-04-29 20:03:38 -05:00
Prabhjyot Singh Sodhi 6b09a033e8 servo: Merge #5895 - Uniformise the various Msg types [#5882] (from psdh:uniformiseMsgTypes); r=jdm
Fixes #5882

Source-Repo: https://github.com/servo/servo
Source-Revision: 19a4a263645a643d3a3f79b41b816fe8b8727265
2015-04-29 15:51:39 -05:00
Matt Brubeck 1585980663 servo: Merge #5891 - Support `text-align: start` and `end` (from mbrubeck:text-align-rtl); r=SimonSapin
r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: 7ee605db117bfc96ef145a1c77d43b704baeacb2
2015-04-29 09:07:17 -05:00
Jinwoo Song 689e86231d servo: Merge #5879 - Make NodeTypeId include CharacterData variant (from Jinwoo-Song:character_data); r=jdm
NodeTypeId is supposed to reflect the WebIDL inheritance hierarchy.
All of Text/ProcessingInstruction/Comment inherit from CharacterData,
which inherits from Node. There should be a CharacterDataTypeId value
that differentiates between those, instead.

r? @jdm
cc @yichoi

Source-Repo: https://github.com/servo/servo
Source-Revision: 5b0c6c9d31973aabdb820f16237e1a7c2a6524ad
2015-04-29 02:35:26 -05:00
Simon Sapin 5d6d967ea0 servo: Merge #5480 - Preliminary steps for CSS Multi-column Layout (from SimonSapin:multicol); r=pcwalton
This add some properties to the style system and a new flow type, but the larger issues of dealing with fragmentation in the flow tree is still an open question.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1e150140bd12624ad357e3168fb496079fb8ec7c

--HG--
rename : servo/components/layout/table_caption.rs => servo/components/layout/multicol.rs
2015-04-28 19:48:45 -05:00
Patrick Walton 926e149b34 servo: Merge #5889 - layout: Remove `absolute_static_i_offset` and `fixed_static_i_offset` (from pcwalton:remove-absolute-static-i-offset); r=glennw
They haven't been used for hypothetical box calculation in quite some
time.

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 0a4db7ae0f581a959863bd5159766795c6caf8d8
2015-04-28 18:30:38 -05:00
Ms2ger 33e1b9c8ab servo: Merge #5888 - Prepare for the rustup (from Ms2ger:prepare-rustup); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: ab2d07db1fabd7ad9590aa7296038bbc91806c3f
2015-04-28 17:52:49 -05:00
Patrick Walton d8dcb44b42 servo: Merge #5887 - layout: Don't panic in border collapse when a row has fewer cells than its previous sibling (from pcwalton:border-collapse-missing-cells); r=mbrubeck
This was seen in Twitter and the Google SERPs (sometimes).

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: b6fc83cf2b4b426548bb9d10e9493f2b111bd617
2015-04-28 15:32:31 -05:00
Matt Brubeck 3e5f72c2ba servo: Merge #5885 - Ignore border-spacing for tables with zero cells (from mbrubeck:empty-table); r=pcwalton
r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: b5beebbc6280f5ff6397b6a9154b705d42d000e7
2015-04-28 13:53:59 -05:00
Patrick Walton cb206c9929 servo: Merge #5831 - layout: Make `margin: auto` work properly with tables (from pcwalton:amazon-table-sizing); r=mbrubeck
r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 32b9c0962b7e42ac6d298f5959f1e48d4cc99c5a
2015-04-28 11:44:39 -05:00
Dave Hodder 6b1ab0d800 servo: Merge #5883 - Add attributes to the HTMLDialogElement interface (from servo:dialog); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: ae98f76048559282421bd642c26d9ff4369a38bd
2015-04-28 10:56:06 -05:00
Glenn Watson 775aacef4b servo: Merge #5877 - Remove node dirty on img width/height that is no longer needed (from glennw:img-cache-tidy); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: ae99a17a1b1b6e51317c9a22e66bc6c166815c3b
2015-04-28 09:08:44 -05:00
snf 758d239681 servo: Merge #5845 - Fix defineProperty codegen (from snf:defineProperty_fix); r=jdm
This patch should get rid of #5223.

Source-Repo: https://github.com/servo/servo
Source-Revision: 01925f0f8f65be177e0c2d9bab14b091bf67b220
2015-04-28 07:51:31 -05:00
Patrick Walton b0e909be0c servo: Merge #5694 - layout: Generate anonymous table objects as necessary per CSS 2.1 § 17.2.1 (from pcwalton:anonymous-table-objects); r=mbrubeck
Improves Facebook Timeline.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 2fd5ecf3d7b93addb42d42d46e440451043a2f43
2015-04-28 07:13:53 -05:00
Patrick Walton 720d8f833e servo: Merge #5878 - layout: Make the style-specified width affect minimum width (from pcwalton:intrinsic-style-specified-width); r=mbrubeck
Improves the front page of Google.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: adec683333895a5112d3d8295fa01a6b06ff38ad
2015-04-28 05:02:32 -05:00
Anthony Ramine 39e9571d13 servo: Merge #5871 - Cleanup JS traits and methods (from nox:rootable); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: b8ae33e510ea30e3200834fc2f7fbc426b86701e
2015-04-28 04:23:05 -05:00
Ms2ger 32869be848 servo: Merge #5857 - Create a new infrastructure for presentational hints (from Ms2ger:preshints); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 1cb012fc5043dd978d118e49b2f76e9320090bba
2015-04-28 03:24:14 -05:00
Anthony Ramine 6aec292875 servo: Merge #5874 - Fix DOMImplementation.hasFeature() (from nox:hasfeature); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: cac6ef80777d2b64b800366831f460f01462e0ce
2015-04-28 01:30:51 -05:00
Manish Goregaokar e158f4fca9 servo: Merge #5855 - Add move protection to `Root` and friends (from Manishearth:nomove); r=kmc,munksgaard
fixes #5724, #5737


uses https://github.com/Manishearth/rust-tenacious (can be moved in-tree if needed)

I can make it `Deny` by default too (I'll add a cargo feature to tenacious), though we might want it on
`Warn` until we get some mileage on it.

Source-Repo: https://github.com/servo/servo
Source-Revision: d7987e43c944eb9b156bf3244c08fce4cb570db4
2015-04-27 23:14:25 -05:00
Peter fdd263ff72 servo: Merge #5692 - Switched Element::Get_attributes to use a RootedVec (from pgonda:get_attributes-memory-safety); r=jdm
Changes Element::get_attributes to use a `&mut Rooted<JS<Attr>>` param instead of returning a `Vec<Temporary<Attr>>`, fixes  #5684.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8ecb9d681c385995b082d67874fdfa7f1e929e1f
2015-04-27 15:25:30 -05:00
Ms2ger 4613dbd87d servo: Merge #5777 - Make Attr::prefix an Atom (from tamird:ICE-attr-prefix-atom); r=jdm
Rebase of https://github.com/Ms2ger/servo/commits/ICE-attr-prefix-atom

Some of the changes weren't necessary since the internals had been refactored some in the interim. In any case, I was unable to reproduce the ICE reported in https://github.com/rust-lang/rust/issues/18957.

@Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: b0a7d1bf865eff7b6ca3bae874004a61c19b3c27
2015-04-27 14:37:38 -05:00
Anthony Ramine a90c678c68 servo: Merge #5872 - Fix CanvasGradient.addColorStop() (from nox:canvasgradient); r=saneyuki
The argument should be a double.

Source-Repo: https://github.com/servo/servo
Source-Revision: eefa3eba256d48bc24189417c3bb8d3a9a77d979
2015-04-27 13:45:17 -05:00
Anthony Ramine 23e99e3703 servo: Merge #5868 - Implement Body.bgColor and Document.bgColor (from nox:document-legacy); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 9ec2ce0decff852f24280a59c779220f243bcff6
2015-04-27 13:06:29 -05:00
Simon Sapin 524056a01d servo: Merge #5870 - layout: Implement most of `border-collapse` per CSS 2.1 § 17.6.2 (from SimonSapin:border-collapse); r=SimonSapin
Fixes #5300, which it is a rebase of.

Known issues:

* Collapsed borders do not correctly affect the border-box of the table
  itself.

* The content widths of all cells in a column and the content height of
  all cells in a row is the same in this patch, but not in Gecko and
  WebKit.

* Corners are not painted well. The spec does not say what to do here.

* Column spans are not handled well. The spec does not say what to do
  here either.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8a4555cc53bc1bbb21a08eb6f010cb1215034419
2015-04-27 12:29:15 -05:00
Anthony Ramine ba829d0432 servo: Merge #5850 - Fix generation of nullary callbacks (from nox:nullary-callbacks); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 92359c7b9addfe7ee161760aad20368bafd76c26
2015-04-27 08:42:42 -05:00
Tim Cuthbertson 5f9aa8c53b servo: Merge #5865 - Implement implicit form submission from input elements (from timbertson:implicit-submit); r=Manishearth
With submission-blocking rules from https://html.spec.whatwg.org/multipage/forms.html#implicit-submission.

I wasn't sure if/where it would be relevant to add new tests (I couldn't find any existing tests in wpt to enable), so just let me know if this needs tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: 56105e9f2fb390b431416473a616000636ad409c
2015-04-27 08:05:25 -05:00
Ms2ger 5f2b2d61e1 servo: Merge #5867 - Factor out a handle_parsing_complete function from ScriptTask::Load (from Ms2ger:load-end); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0cd0abb7186c4a67458f5b3af825502a6709a21c
2015-04-27 07:28:33 -05:00
Anthony Ramine 293fcb77e2 servo: Merge #5862 - Change MutNullableJS<T> to MutNullableHeap<JS<T>> (from nox:mutnullableheap); r=jdm
This is useful for union types, in cases where we need MutNullableHeap&lt;NodeOrString&gt;.

Source-Repo: https://github.com/servo/servo
Source-Revision: b0ddd8149b04db6bceba0c0b8de852acc1086838
2015-04-27 03:50:08 -05:00
Brandon DeRosier 478a939a2f servo: Merge #5424 - Add Accept header to HTTP loader (from bdero:bdero/accept-header); r=jdm
The value of the header is: `text/html;q=0.9,*/*;q=0.8`

Closes #5399

Source-Repo: https://github.com/servo/servo
Source-Revision: 21c38d0de8e82e29d187929535a73bfd297538b8
2015-04-26 22:13:30 -05:00
ecoal95 086acefea5 servo: Merge #5863 - Refactor WebGL implementation (reopens #5769) (from emilio:webgl-refactor); r=jdm
GitHub doesn't allow me to reopen #5769, so I created this.

Sorry about the merge fail, my bad :/

cc/ @jdm @dmarcos

---

This PR uses customized GL context creation code, right now only working under Linux, so I expect the clearcolor test to fail on other platforms.

It addresses some other problems:

* Propagates context creation error to the top, returning null if not found.
* Uses GLContextAttributes, which will allow us to write WebGLContextAttributes easily.
* Doesn't allow a 2d context and a WebGL context coexist.
* Panics when resizing the context to larger dimensions (to be fixed soon, but better than blindly allowing it).
    Removes some unused dependencies

Source-Repo: https://github.com/servo/servo
Source-Revision: 9f2ad9376eaf598898387ea2c26f48c3ceb0330d
2015-04-26 21:28:35 -05:00
Jacob Taylor-Hindle 32cc0bb8fb servo: Merge #5860 - Remove #[jstraceable] annotation for the RootedVec type [Issue #5849] (from GlassAndOneHalf:remove-jstraceable); r=jdm
This PR solves Issue #5849.

Source-Repo: https://github.com/servo/servo
Source-Revision: ea00e949a45ca2e8842882b1b8a6ad7970890c00
2015-04-26 19:00:06 -05:00
Anthony Ramine d4b6a6316e servo: Merge #5852 - Remove unsafe transmute functions in JS and LayoutJS (from nox:rm-unsafe-transmute); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 56a7981c9c9c6df30fbb3add3d8d0085916fe313
2015-04-26 14:40:31 -05:00
Ms2ger 126ec4d408 servo: Merge #5847 - Avoid as_slice() / at_mut_slice() (from Ms2ger:slice); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 1389be37823fccf4108f4e79d0a3a793f0bbe93e
2015-04-26 05:30:28 -05:00
Peter 3258d57cd4 servo: Merge #5844 - Removed unessary poping in dispatch_event, fixes #5843 (from pgonda:removing-poping-dispatch_event); r=Ms2ger
fixes for #5843

Source-Repo: https://github.com/servo/servo
Source-Revision: aef48baeb4a67d003c8a88d91d01d3a33ac3620d
2015-04-26 02:53:45 -05:00
Dhananjay Nakrani 1aecca591a servo: Merge #5842 - Add a `./mach grep` command (from dhananjay92:i5838); r=Manishearth
Solves Issue #5838.

Source-Repo: https://github.com/servo/servo
Source-Revision: ef536372cdf26e5fd2ac7728e76482dc5d702cd0
2015-04-25 12:50:19 -05:00
Ms2ger 05a836bb95 servo: Merge #5840 - Replace the Str implementation for AttrValue by a Deref implementation (from Ms2ger:attrvalue-slice); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: b22a6c8095f03fda6e8901dea768af18d474fb31
2015-04-25 08:59:26 -05:00
Anthony Ramine 6c157bacf0 servo: Merge #5779 - Implement the CSS interface (from nox:css-escape); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 1f9de5ee2ce4dc039b01e575d60a4fee41a0b8b8
2015-04-25 05:42:41 -05:00
Patrick Walton 27d72a281c servo: Merge #5836 - style: Disregard the `size` attribute for input elements other than text or password fields (from pcwalton:input-size); r=mbrubeck
HTML5 § 4.10.5.3.2 doesn't explicitly say to do this, but all other
browser engines seem to do it.

Improves the Google home page.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: f010c8331304dcdd40f40fe844087399078532d0
2015-04-24 20:06:41 -05:00
Patrick Walton ef6fbba28f servo: Merge #5816 - layout: Don't strip trailing newlines from fragments, since we use their presence to determine the line flush mode (from pcwalton:more-jumpiness); r=mbrubeck
Fixes the "jumpiness" seen on the Google home page, Wikipedia, and many
other places.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 211ee668fae7f619ac7e09abd776a6f45fc40052
2015-04-24 15:17:07 -05:00
Ms2ger 374d18472e servo: Merge #5827 - Use as_slice less (from Ms2ger:slice); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 79be3b967668e46a4289f4fc8fce2b4f457cab23
2015-04-24 12:12:53 -05:00
Dhananjay Nakrani bc8bd45484 servo: Merge #5823 - Implement HTMLMetaElement.{name,content} (fixes #5663) (from servo:meta); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 88d9c1b257d7519e43d36bcaef67588b9fa54c7e
2015-04-24 08:28:47 -05:00
Adenilson Cavalcanti e26228693b servo: Merge #5817 - Squashing a warning on WebDriver (from Adenilson:squashWarning); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 471ce46f57bd905034c856d0136ef31047eba69c
2015-04-24 07:44:51 -05:00
Matt Brubeck 508a7deaff servo: Merge #5819 - Change notification threshold from 300s to 30s (from mbrubeck:notify-more); r=jdm
The 300 second threshold was originally from the Gecko/Firefox build system. It doesn't fit Servo builds, which are shorter, and often hover right around the 300 second mark (making the notification unpredictable).

Source-Repo: https://github.com/servo/servo
Source-Revision: 07aa6306f58b5d575a65ebaf5c71f510423ed8ca
2015-04-23 23:24:06 -05:00
Jinwoo Song 0f664b02fd servo: Merge #5818 - Remove unused ScriptDevtoolControlMsg enum (from Jinwoo-Song:removeUnused); r=mbrubeck
Simple patch to remove unused enum, ScriptDevtoolControlMsg.

r? @jdm
cc @yichoi

Source-Repo: https://github.com/servo/servo
Source-Revision: ef1e50aa770e48018ae32ea5f6f2c0ad2056ad44
2015-04-23 22:50:32 -05:00
Adenilson Cavalcanti 142c46c6d7 servo: Merge #5782 - Fix inline filtered elements (from Adenilson:fixInlineFiltered01); r=pcwalton
It will create a StackingContext for inline elements that may need it, I'm looking for feedback on this.

Not for commit, as there are some tests failing.

Source-Repo: https://github.com/servo/servo
Source-Revision: e66f761cbad9aeee852abb7129037f9848fde1af
2015-04-23 14:38:05 -05:00