aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Root Temporary values for the duration of their lifetime.Josh Matthews2014-05-033-15/+30
|
* s/Unrooted/Temporary/gJosh Matthews2014-05-03104-565/+565
|
* Move stack roots into Root types instead of RootCollection, removing the ↵Josh Matthews2014-05-031-60/+23
| | | | aribtrary 10 roots per stack frame restriction.
* Allow controlling GC zeal via JS_GC_ZEAL environment variable.Josh Matthews2014-05-031-1/+5
|
* Move all methods on T to JSRef<T> or JS<T> as appropriate.Josh Matthews2014-05-0315-495/+548
|
* Remove abstract_self.Josh Matthews2014-05-0319-610/+483
|
* Move WebIDL methods to traits implemented by JSRef types.Josh Matthews2014-05-03106-1920/+3652
|
* Remove JS::get/get_mut to enforce sound rooting practices.Josh Matthews2014-05-0313-130/+113
|
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-03109-1327/+1569
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-03109-997/+1568
| | | | timers. Fix borrow errors during tracing.
* auto merge of #2302 : Manishearth/servo/attr, r=Ms2gerbors-servo2014-05-031-1/+1
|\
| * Use new attribute syntaxManish Goregaokar2014-05-031-1/+1
| |
* | auto merge of #2303 : Manishearth/servo/privtype, r=jdmbors-servo2014-05-031-2/+2
|\ \
| * | Fix some private type export warningsManish Goregaokar2014-05-031-2/+2
| |/
* | auto merge of #2297 : Ms2ger/servo/fail-owned-str, r=jdmbors-servo2014-05-0311-19/+19
|\ \ | | | | | | | | | The ~"string" expression is being removed in upstream rust.
| * | Stop passing owned strings to fail!().Ms2ger2014-05-0311-19/+19
| | | | | | | | | | | | The ~"string" expression is being removed in upstream rust.
* | | auto merge of #2301 : Manishearth/servo/xhr-bytestring, r=Ms2gerbors-servo2014-05-033-15/+17
|\ \ \ | |_|/ |/| | | | | | | | | | | I had used DOMString in place of ByteString while implementing the XHR webidl, now that we have ByteString, I'll switch to that. Blocks #2282
| * | Use ByteString in XHRManish Goregaokar2014-05-033-15/+17
| | |
* | | auto merge of #2295 : Ms2ger/servo/JSCLASS_DOM_GLOBAL, r=jdmbors-servo2014-05-032-7/+5
|\ \ \ | |/ / |/| | | | | | | | It seems unlikely that this will ever be hit, but potentially hard to figure out if it ever is hit.
| * | Add JSCLASS_DOM_GLOBAL to DOM global classes, and assert it is used.Ms2ger2014-05-032-7/+5
| |/ | | | | | | | | It seems unlikely that this will ever be hit, but potentially hard to figure out if it ever is hit.
* | auto merge of #2292 : Manishearth/servo/xhr-webidl, r=Ms2gerbors-servo2014-05-0310-17/+364
|\ \ | |/ |/| | | | | | | This just gets a working interface with dummy methods in place that can be built on. I'll implement stuff as we go along. Blocks #2282
| * Webidl and basic implementation of XHR objectManish Goregaokar2014-05-0310-17/+364
| |
* | auto merge of #2256 : pcwalton/servo/simple-block-formatting-contexts, ↵bors-servo2014-05-022-81/+144
|\ \ | | | | | | | | | | | | | | | r=larsbergstrom r? @SimonSapin
| * | layout: Guess the width of block formatting contexts so that we canPatrick Walton2014-05-022-81/+144
|/ / | | | | | | speculatively lay them out in parallel
* | auto merge of #2235 : pcwalton/servo/parallel-floats, r=larsbergstrombors-servo2014-05-0220-1038/+1485
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | layout: Rewrite display list building to be parallel and to handle overflow correctly, and opportunistically lay out blocks in parallel even if floats are present. This series of commits fixes the `inline-height-test` in Acid2 by implementing proper overflow as well as the inline "strut". (See CSS 2.1 § 10.8.1.) It was accidentally working before because tables' descendant flows were not being laid out properly. Display list building is now parallel and is done by bubbling up display items and layers from parent to child. Speedups of around 60%-70% are observed on Wikipedia with a 4-core HyperThreaded Core i7. More optimizations are possible; this is just a start. To minimize the amount of data that needs to be bubbled up, as well as to make proper handling of `overflow: hidden` clipping easier, the `StackingContext` abstraction is now purely internal to the display list. Instead of placing items into a stacking context directly, display items are placed into display lists with an explicit `StackingLevel` provided. The stacking level determines a display item's position within the stacking context. When a stacking context is finished, it is flattened with the the `flatten` method, which shuffles the display items that make up the context into their proper order while handling clipping properly. r? @SimonSapin and/or @larsbergstrom
| * | layout: Rewrite display list building to be parallel and to handlePatrick Walton2014-05-0220-1038/+1485
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | overflow correctly, and opportunistically lay out blocks in parallel even if floats are present. This commit fixes the `inline-height-test` in Acid2 by implementing proper overflow as well as the inline "strut". (See CSS 2.1 § 10.8.1.) Acid2 was accidentally being rendered properly before because tables' descendant flows were not being laid out properly. Display list building is now parallel and is done by bubbling up display items and layers from parent to child. Speedups of around 60%-70% are observed on Wikipedia with a 4-core HyperThreaded Core i7. More optimizations are possible; this is just a start. To minimize the amount of data that needs to be bubbled up, as well as to make proper handling of `overflow: hidden` clipping easier, the `StackingContext` abstraction is now purely internal to the display list. That is, instead of placing items into a stacking context directly, display items are placed into display lists alongside a stacking level. When a stacking context is complete, it is flattened with the the `flatten` method, which shuffles the display items that make up the context into their proper order while handling clipping properly.
* | auto merge of #2174 : pcwalton/servo/reparallelize, r=SimonSapinbors-servo2014-05-0224-1640/+1504
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | layout: Re-enable parallel layout by removing all `RefCell` instances from `Flow`s; in the process, remove `InlineInfo` in favor of the range-based design that was originally planned and halfway implemented. Now, the DOM tree structure for inline flows is reflected not by a series of arrays but instead by a flat list of ranges into the list of boxes. As part of this, the `border` and `padding` fields, which were incorrect in the case of inlines and necessitated separate `noncontent_inline_foo` methods, have been merged into a single `border_padding` field that is always guaranteed to be correct after width assignment, even for inlines. r? @SimonSapin and/or @larsbergstrom Closes #1280 Closes #1926 Closes #1999 Closes #2013 Closes #2018
| * | layout: Re-enable parallel layout by removing all `RefCell` instancesPatrick Walton2014-05-0224-1640/+1504
|/ / | | | | | | | | | | | | | | | | | | | | | | | | from `Flow`s; in the process, remove `InlineInfo` in favor of the range-based design that was originally planned and halfway implemented. Now, the DOM tree structure for inline flows is reflected not by a series of arrays but instead by a flat list of ranges into the list of boxes. As part of this, the `border` and `padding` fields, which were incorrect in the case of inlines and necessitated separate `noncontent_inline_foo` methods, have been merged into a single `border_padding` field that is always guaranteed to be correct after width assignment, even for inlines.
* | auto merge of #2289 : mbrubeck/servo/zero-geom, r=metajackbors-servo2014-05-028-38/+14
|\ \ | | | | | | | | | Depends on mozilla-servo/rust-geom#33.
| * | Replace Au::zero_* with generic methodsMatt Brubeck2014-05-028-38/+14
| | |
* | | auto merge of #2258 : Manishearth/servo/wptupdate, r=jdmbors-servo2014-05-022-7/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | Since the manifest is now checked in to the tree, we don't need html5lib unless we want to explicitly update the manifest. I've added the `--update-manifest` argument to the make target (`export WPTARGS=--update-manifest;make check-wpt`) which triggers the update, installing dependencies if necessary.
| * | | Make manifest updates/html5lib non mandatoryManish Goregaokar2014-04-292-7/+14
| | | |
* | | | auto merge of #2294 : Ms2ger/servo/update-wpt, r=jdmbors-servo2014-05-022-7/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | The first 11 tests in Event-constructors.html were fixed in #2194; the remaining failure is #2173. Node-normalize.html was fixed in #2221.
| * | | Update web-platform-tests expectations.Ms2ger2014-05-022-7/+2
|/ / / | | | | | | | | | | | | The first 11 tests in Event-constructors.html were fixed in #2194; the remaining failure is #2173. Node-normalize.html was fixed in #2221.
* | | auto merge of #2291 : saneyuki/servo/2287, r=jdmbors-servo2014-05-021-3/+1
|\ \ \ | | | | | | | | | | | | Fix #2287
| * | | Node::GetParentElement should use and_then instead of filtered/map.Tetsuharu OHZEKI2014-05-021-3/+1
|/ / /
* | | auto merge of #2290 : saneyuki/servo/export, r=jdmbors-servo2014-05-0198-107/+105
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | - Fix #2128 - Take over from #2220 I didn't change `InterfaceTypes.rs` to `type.rs` because `type` is very common name which might be troublesome.
| * | | Point it to InterfaceTypes.rs directly to export generated types.Tetsuharu OHZEKI2014-05-011-3/+2
| | | |
| * | | Remove the 'pub use self::BindingDeclarations::*;' export.Tetsuharu OHZEKI2014-05-0198-104/+103
| | | |
* | | | auto merge of #2257 : zmike/servo/embedding-base, r=larsbergstrombors-servo2014-05-015-7/+1968
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another attempt at the merginating of my long-dormant embedding work for #441 This adds the basics for the embedding crate: build rules and 1800+ lines of CEF types r? @larsbergstrom
| * | | | make base all: Makefile rule conditional, only build embedding on non-androidMike Blumenkrantz2014-05-011-1/+2
| | | | |
| * | | | fix/simplify embedding build and libservo buildLars Bergstrom2014-05-011-7/+3
| | | | |
| * | | | allow warnings in embedding crate, prevent constant rebuild of embedding crateMike Blumenkrantz2014-05-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the embedding crate contains 1800+ lines of types from an external library, most of which are not used or "rust"ically named. the former will change eventually, but we have no control over the naming.
| * | | | add MPL headerMike Blumenkrantz2014-05-011-0/+4
| | | | |
| * | | | add start of embedding crate: build system with CEF typesMike Blumenkrantz2014-05-015-2/+1961
|/ / / /
* | | | auto merge of #2286 : Ms2ger/servo/ByteString, r=jdmbors-servo2014-05-017-8/+117
|\ \ \ \
| * | | | Implement WebIDL codegen for ByteString.Ms2ger2014-05-016-2/+100
| | | | |
| * | | | Change some isString() checks in the WebIDL codegen to isDOMString() checks.Ms2ger2014-05-011-2/+2
| | | | |
| * | | | Add missing ByteString support in the WebIDL parser.Ms2ger2014-05-011-0/+11
| | | | |
| * | | | Change some isString() checks in the WebIDL parser to isDOMString() checks.Ms2ger2014-05-011-4/+4
|/ / / /