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

4177 Коммитов

Автор SHA1 Сообщение Дата
Ms2ger fa606ce9b8 servo: Merge #6522 - Update some submodules (from Ms2ger:update); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e0c89390cced7ab55b83925c7c4130d7fd07753
2015-06-30 08:44:05 -06:00
Michael Wu 8b9a76f4c5 servo: Merge #6516 - Add JSAutoRequest/JSAutoCompartment to HTMLIFrameElement (from michaelwu:fix-mozbrowser); r=glennw
Fixes https://github.com/servo/servo/issues/6515

Source-Repo: https://github.com/servo/servo
Source-Revision: 836463b9e03f441aaf213ff48c99d50d8c1be5a5
2015-06-29 17:05:18 -06:00
Jesse Ruderman 8d20462052 servo: Merge #6495 - Add keyboard shortcuts to glutin browser (from jruderman:add_keyboard_shortcuts_2); r=metajack
Supersedes #6488. Changes since then:

* Fix a few places where we needed cfg(feature = "window") in order to compile without the feature.
* Zoom-in shortcut now works both with and without shift. (Uses a guard because I couldn't think of another way to do it without CTFE.)
* Back/forward shortcuts now correctly use Alt on non-Mac platforms.
* The back/forward shortcuts that use square brackets are now non-Windows, rather than Mac-only. This roughly matches XP_UNIX: http://hg.mozilla.org/mozilla-central/file/d4c4ce7f060c/browser/base/content/browser-sets.inc#l354

Source-Repo: https://github.com/servo/servo
Source-Revision: 420cf4c8dcbe4bba822bb6980b301416d9b5526e
2015-06-29 11:44:03 -06:00
Corey Farwell b40eedb1a8 servo: Merge #6512 - Prefer HTTPS when linking to GitHub Pages (from frewsxcv:https-github-pages); r=SimonSapin
This commit was generated using the following commands:

```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g'
```

```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)github.io/https:\1github.io/g'
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 342ea7a44b26f9cc701b2a10757c4ac0aec93aeb
2015-06-29 00:41:00 -06:00
Ms2ger d6126e9cf5 servo: Merge #6507 - Fix a bug in Node::pre_insert (from Ms2ger:node-insert); r=Manishearth
It was accidentally broken in 3ce368fa289bc4c6d09b23357350a37b861013f9.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6f25ecea3f3c1fc86c188447df18645ae6ea26f9
2015-06-28 14:01:47 -06:00
Michael Tremel 9d41cdae1b servo: Merge #6506 - notify_darwin should trap import errors (from mt2d2:darwin_notification_imports); r=metajack
notify_darwin should trap import errors and should provide the useful package name for the user to install. Fix for issue #6479.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3df35c2f42d7224560837a9ef63400e0e16829bf
2015-06-28 11:05:36 -06:00
Ms2ger 7190d1c94a servo: Merge #6499 - Stop using position_elem (from Ms2ger:slice_position_elem); r=nox
It is unstable and not really better than the stable alternative.

Source-Repo: https://github.com/servo/servo
Source-Revision: 46709edaf839eb77893eef3f4d01c568c46c98fe
2015-06-27 15:51:35 -06:00
Ms2ger 9bce277ddd servo: Merge #6497 - Remove the negate_unsigned feature gate from CEF (from Ms2ger:negate_unsigned); r=zmike
Source-Repo: https://github.com/servo/servo
Source-Revision: 53c04b33f00ac5fc25d7d98dbb2cf0b983ddd3bd
2015-06-27 13:09:24 -06:00
Ms2ger ab33a0f760 servo: Merge #6500 - Remove unused imports (from Ms2ger:warnings); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: dab4e73ee73a21e07ad73ec211b919a746a45624
2015-06-27 11:38:34 -06:00
Ms2ger 7cc66ff7a7 servo: Merge #6498 - Remove Deref and DerefMut implementations from WeakFlowRef (from Ms2ger:weak-deref); r=metajack
By definition of a weak pointer, these implementations cannot be safe.

Source-Repo: https://github.com/servo/servo
Source-Revision: 82be491fa318f742720dc0a31f6c1b24beb57a3d
2015-06-27 10:27:03 -06:00
Mukilan Thiyagarajan 54306745e4 servo: Merge #6496 - CGImports must consider special operations to generate required 'use' items (from mukilan:fix_import_codegen); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: b7923547a77a2d887805ba67f688d297e34647c1
2015-06-27 07:51:37 -06:00
Ms2ger 68fd504a24 servo: Merge #6494 - Use an atomic bool for EXPERIMENTAL_ENABLED (from Ms2ger:atomic); r=metajack
static mut smells, especially as it can be set and read from multiple threads
(for example in unit tests).

Source-Repo: https://github.com/servo/servo
Source-Revision: 8892f8175d84126f938965bc7256ba3f3f4c14d5
2015-06-27 02:10:50 -06:00
Martin Robinson 6b40c4ff1e servo: Merge #6493 - Update to latest rust-layers (from mrobinson:new-rust-layers); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 9c5eb162ae29b6653918406a9dc1c4aa1147d040
2015-06-27 01:30:33 -06:00
Michael Wu cc12b0bb95 servo: Merge #6491 - Remove unnecessary uses of MutHeap (from michaelwu:mutable); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: b73eca160cc5d35faf422a946ec1d0812af89d6e
2015-06-26 20:36:04 -06:00
Filip Szczepański b6e5766f0d servo: Merge #6489 - Update Cargo nightly version (from FreeFull:patch-1); r=metajack
Cargo nightly 2015-06-15 has an issue where downloading from crates.io fails due to an SSL certificate error. This issue doesn't occur with 2015-06-24.

Source-Repo: https://github.com/servo/servo
Source-Revision: 27b2ab45fa6659823d5f3fa9d6e1e6129f3b5c5b
2015-06-26 19:38:29 -06:00
Ms2ger 3ad453386f servo: Merge #6485 - Remove the unused thread_local feature gate (from Ms2ger:thread_local); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: ac566e90a255033933eff311611286bf0d02c9dc
2015-06-26 18:26:51 -06:00
Ms2ger 418336ea22 servo: Merge #6484 - Stop using deprecated boxed::into_raw in cef (from Ms2ger:raw-cef); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: ff979441210dd2f7037b565866446e755b5f3e24
2015-06-26 17:50:42 -06:00
Ms2ger 7041651898 servo: Merge #6482 - Stop using the deprecated Thunk API (from Ms2ger:thunk); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: f0dd71418e03945de8210c1dcf81e40f0c0ad5e1
2015-06-26 17:10:40 -06:00
Jesse Ruderman 79f8cc9c13 servo: Merge #6478 - Add space between sentences (from jruderman:patch-1); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: ec205555282ce7ce5ff0cdd25ff47b6c0960313e
2015-06-26 16:36:10 -06:00
Ms2ger 74212c63cb servo: Merge #6477 - Stop using Vec::from_raw_buf (from Ms2ger:vec_from_raw_buf); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: aed11dc22c5b56081ddae8f5be29a22afcb488c8
2015-06-26 16:01:23 -06:00
Ms2ger 8e614a31b9 servo: Merge #6474 - Use the heap module through its facade in libstd (from Ms2ger:alloc); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: e6db6ae61f3962b17b6e6b3af6249037484fdf0e
2015-06-26 15:26:25 -06:00
Simon Sapin 112f9f7675 servo: Merge #6468 - Update rust-selectors (from servo:update-selectors); r=Ms2ger
r? @Ms2ger

https://github.com/servo/rust-selectors/pull/33

Source-Repo: https://github.com/servo/servo
Source-Revision: c331db1623719774c3ead554bcdca0b9c02d90fe
2015-06-26 14:50:01 -06:00
Ms2ger 609f5bd7a7 servo: Merge #6461 - Use a dedicated type for the opaque type parameter to WorkQueue in layout (from Ms2ger:workqueuedata); r=pcwalton
Currently, we use UnsafeFlow and UnsafeLayoutNode, both of which are aliases
for (usize, usize) and thus interconvertible. This change should make it
clearer that the WorkQueue is not limited to one particular type.

Source-Repo: https://github.com/servo/servo
Source-Revision: 07a1e187f03484c5f326e48c4a5fed81c134d215
2015-06-26 14:10:07 -06:00
Ms2ger 5e8dd39d0e servo: Merge #6470 - Enable experimental features in the multiple_stylesheets_cascading test (fixes #6466) (from Ms2ger:6466-viewport); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 995985b9854823b013107381ca8431c0af238a2b
2015-06-26 13:35:11 -06:00
Ms2ger b7411f42ee servo: Merge #6473 - Stop using env::set_exit_code (from Ms2ger:args); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: b26818a7b09727a08bc3fa4af9fee02849b0dcdd
2015-06-26 12:55:23 -06:00
Ms2ger 4ac16d06ff servo: Merge #6469 - Use Rc::get_mut rather than deprecated rc::get_mut (from Ms2ger:rc-mut); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: ef97879c273e9eed3b4dece07813c2d4e6eb2c38
2015-06-26 09:26:55 -06:00
Ms2ger c5c2f568a3 servo: Merge #6463 - Reduce the scope of the unsafe block in ParallelPostorderDomTraversal (from Ms2ger:layout-reduce-unsafe); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: f812390d3a6f5097aa493313c6c90fd2fa320024
2015-06-26 06:45:48 -06:00
Ms2ger 99cf771646 servo: Merge #6464 - Use Box::into_raw rather than boxed::into_raw (from Ms2ger:into_raw); r=saneyuki
The latter is deprecated.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9eb3cc2a241dff4df57d644fa5257fcf3a52325f
2015-06-26 04:50:54 -06:00
Simon Sapin 951498d312 servo: Merge #6465 - Update to zero-copy* HTML parsing (from servo:tendril); r=pcwalton
html5ever now uses the Tendril string type to minimize copying internally, but Servo still converts from/to `String` at the boundary (which involves copying).

Source-Repo: https://github.com/servo/servo
Source-Revision: 2165c55d645f59ef413f09c2b023d511bc8c402e
2015-06-25 23:12:09 -06:00
Matt Brubeck 0df634fe82 servo: Merge #6449 - Slice TextRuns by byte range instead of char range (from mbrubeck:byte_range); r=pcwalton
Currently only the end of the byte range is used, but I plan to use the full range in some follow-up work.

Fixes #6431. r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 26982cb547f479e1fbe9395b7fd9207078a6d8ee
2015-06-25 22:25:36 -06:00
Michael Wu 08e308dea4 servo: Merge #6460 - Fix indentation in testbindingproxy.rs (from michaelwu:fix-indentation); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: ea06bebca9fab485485ce60bd3f464bc64bf1c36
2015-06-25 13:30:46 -06:00
Ms2ger 18fd8097a2 servo: Merge #6459 - Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0 (from servo:rustup_20150625); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 21b48fc44d0b32627918b4778fed16203eecdba5
2015-06-25 12:03:15 -06:00
Joel Teichroeb c23dfd93eb servo: Merge #6110 - Implement Named constructors and the Image constructor for HTMLImageElement (from klusark:NamedConstructor); r=Ms2ger
I'm not sure if I like how I mostly just duplicated the code in CodegenRust.py, so that might need to be refactored.

Instead of just calling it Image, we might want to call it ConstructorImage, to make it clear that it's a constructor. Anyone have an opinion on that?

There seems to be a bug in the HTMLImageElement getter/setter as the value is 0 regardless of what I do. This seems to be unrelated to my commits, so I'll investigate that separately.

Source-Repo: https://github.com/servo/servo
Source-Revision: 57cc84b2935c429c92774649275625a7fd63973c
2015-06-25 02:18:06 -06:00
Ms2ger 32c77990a8 servo: Merge #6456 - Some cleanup in layout (from Ms2ger:cleanup-layout); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 605b83da54dc7c33def4fb1e3162e377e1715d0b
2015-06-25 01:42:45 -06:00
Corey Farwell e17f736f88 servo: Merge #6458 - Remove unused js::JS_ARGV import in script component (from frewsxcv:unused-import); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 4c9afb2756e7f82f77a66cca3e8cd83462fcd661
2015-06-25 00:56:48 -06:00
Ms2ger 2cdcbb096b servo: Merge #6454 - Make {ThreadSafe,}LayoutNode::get_jsmanaged private (from Ms2ger:opaque); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: e02e7c517c30e87adcb61ef408d1ecddc7fb1458
2015-06-24 14:27:11 -06:00
Glenn Watson df40315592 servo: Merge #6457 - Trigger reflow after requestAnimationFrame callbacks (from glennw:raf-reflow); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 6889f5fb4ec618a949c1308ce58099e7fc139d44
2015-06-24 13:51:15 -06:00
Anthony Ramine e6ba88516e servo: Merge #6223 - Merge generic funs to share them across all bindings (fixes #2684) (from nox:merge-generic-functions); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 6247a96761279979412fb49fa4fbca2fd9a82e1b
2015-06-24 03:54:56 -06:00
Ms2ger e448407e4d servo: Merge #6443 - Various layout cleanup (from Ms2ger:cleanup-layout); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 469b9550f6feec56d87ea5c772cb76453c13036a
2015-06-24 03:00:32 -06:00
Hyowon Kim 423cdb8c21 servo: Merge #6410 - Create pattern from HTMLCanvasElement or CanvasRenderingContext2D (from hyowon:create_pattern); r=pcwalton
r? @nox @pcwalton
cc @yichoi

Source-Repo: https://github.com/servo/servo
Source-Revision: 95d643c995a271fac11ab3d9aac97f2d0aac8934
2015-06-24 00:39:48 -06:00
Pyfisch 9bacf73484 servo: Merge #6450 - Remove is_some() from mime_classifier.rs (from pyfisch:patch-1); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: b1021c36c53914a42bbc5c6e5ec7795dbf29f9d3
2015-06-23 15:14:30 -06:00
Ms2ger 28afc94297 servo: Merge #6446 - Fix some warnings (from Ms2ger:warnings); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: e4412be1b6c0bd5284b2e177b527a3140053f39c
2015-06-23 14:09:23 -06:00
Glenn Watson 5cd9134a2e servo: Merge #6425 - Implement enough of 3d transforms spec to run the CSS FPS demo (from glennw:3d-transforms); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: dcb1237bb5deb84cdf921bf7b145b07eb2bd1430
2015-06-23 12:13:25 -06:00
Maciej Skrzypkowski c6d1841eec servo: Merge #6405 - Refactoring, return an Atom from Element::parsed_name. #5774 (from mskrzypkows:element_parsed_name_refactor); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: e869e8ad08526bbbfffd390b52e423f58b8269f1
2015-06-23 03:17:46 -06:00
Matt Brubeck 9ec9b28f2c servo: Merge #6445 - Simplify next_fragment and fix obsolete docs (from mbrubeck:next_fragment); r=pcwalton
r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: d86c5879255ec9ced621412d4565a9a66ee4dc72
2015-06-22 16:23:27 -06:00
Robert Knight ca1885dff8 servo: Merge #6373 - Use a faster scroll speed under X11 (from robertknight:gh5660-rob-x11_scroll_speed); r=pcwalton
Platforms may report scroll deltas either in
chunks/lines/rows or pixels, depending on the
platform API and device capabilities.

If the platform reports a line/chunk-based delta
then the application needs to convert the delta
into a suitable number of pixels. Apple's documentation for example states
that the app should interpret the delta as a number of lines or rows to scroll,
depending on the type of view.

This commit just hardcodes it to 57 as
a starting point which matches the value that
Firefox calculates as the max char height
for the root frame on my system.

This depends on this Glutin PR: https://github.com/tomaka/glutin/pull/483

Fixes #5660

Source-Repo: https://github.com/servo/servo
Source-Revision: 7e0f1869984b6ddcbc91b6a8d53dc54e177aca5d
2015-06-22 13:46:56 -06:00
Ms2ger f7ccc39e1b servo: Merge #6444 - Remove some unnecessary clones (from Ms2ger:clone); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: c6ca389d546cbf3f3859a5549e3fc86d5381d680
2015-06-22 05:05:08 -06:00
Ms2ger fa69e55d66 servo: Merge #6440 - Update rust-mozjs (from Ms2ger:finalizeInBackground); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: d85afb744a5538135eca2a2b67c5be3ccc8373be
2015-06-21 23:40:46 -06:00
Simon Sapin 2e3cf397c7 servo: Merge #6427 - Update rust-selectors (from servo:selector-traits-refactor); r=Ms2ger
https://github.com/servo/rust-selectors/pull/30

r? @Ms2ger

This conflicts with the SpiderMonkey upgrade #6150. I’m happy to wait until that lands and rebase.

Source-Repo: https://github.com/servo/servo
Source-Revision: c119b59e82269a84925673236dd896101f27a6f3
2015-06-21 11:12:07 -06:00
Anthony Ramine 7a203febfd servo: Merge #6371 - Implement URL and trivially missing URLUtils members (from nox:url); r=Ms2ger
Fixes #6322.

Still no mutation whatsoever in URLUtils.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c784ceeea39014cdc79bb4c7f614948cc8beda1
2015-06-21 10:22:06 -06:00