Ms2ger
5149f0e953
Remove null_str_as_empty and null_str_as_empty_ref functions.
...
With just one caller between the two functions, there doesn't seem to be
much point in having the abstraction.
2015-06-10 13:36:51 +02:00
Manish Goregaokar
162ec5da5d
Audit and reduce unstable usage in script
...
Reasons behind existing unstable features:
alloc / OIBIT : For deque (which was just copied from rust's source)
collections:
- `[T].tail()`
- `to_lowercase()`
core:
- `FnBox`
- `intrinsics::breakpoint()`
exit_status: for setting exit status
path_ext: for `is_dir` and `exists()` (can be done in other ways)
step_by/step_trait
std_misc:
- Thunk
- DefaultState and other hasher stuff
zero_one: `num::One`
2015-06-10 01:43:44 +05:30
bors-servo
1c636dd2d0
Auto merge of #6310 - frewsxcv:rm-unused-file, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6310 )
<!-- Reviewable:end -->
2015-06-08 23:29:47 -05:00
Corey Farwell
cf20c89224
Remove unused file: components/util/fnv.rs
2015-06-08 19:22:38 -07:00
Eduard Burtescu
00e8e5f77d
Use the correct log crate and setup env_logger in main.
2015-06-06 23:20:40 +03:00
Matt Brubeck
76cf5bb45a
Give a useful error when passed a non-existant file
2015-06-04 13:52:22 -07:00
Manish Goregaokar
d347aeda38
fix rebase conflicts
2015-06-03 09:56:43 +05:30
Manish Goregaokar
13b4bcfbb7
Remove all Arc-less ignores, force reasons, ignore_heap_size_of
2015-06-03 07:14:21 +05:30
Manish Goregaokar
5447d2af3d
remove more heapsize ignores
2015-06-03 07:14:20 +05:30
Manish Goregaokar
a5975e8f33
use knownheapsize for geom stuff
2015-06-03 07:14:18 +05:30
Manish Goregaokar
c1daf889af
use HeapSizeOf plugin in gfx
2015-06-03 07:13:40 +05:30
Manish Goregaokar
f4bc92526a
Add #[heapsize]/#[derive(HeapSizeOf)] plugin to auto-derive HeapSizeOf
impls
...
(fixes #5914 )
2015-06-03 07:12:00 +05:30
Manish Goregaokar
f80f99fe1e
Move to latest hyper everywhere
2015-06-02 20:12:14 +05:30
Matt Brubeck
b78b33b7f5
Change not(ndebug) to debug_assertions
...
The name of this directive changed in rust-lang/rust#22980 .
2015-06-01 13:48:38 -07:00
Mátyás Mustoha
322fd5ad9d
Add disable-canvas-aa option to test runner.
2015-05-28 11:10:58 +02:00
Mike Blumenkrantz
b1ae5e7523
make Opts.url an Option<> type, only emit initial url load if url exists
...
this is a necessary change for embedded apps to prevent an initial about:blank
page load from overwriting whatever the app was actually trying to load
2015-05-27 14:45:57 -04:00
Corey Farwell
8e3f4bba85
Reduce max line length from 150 to 120 characters
...
Part of https://github.com/servo/servo/issues/6041
2015-05-24 00:01:49 -04:00
Patrick Walton
1a3395e077
script: Implement the width
and height
attributes for iframes per
...
HTML5 § 4.8.6.
Improves Amazon and Ars Technica.
2015-05-20 11:15:25 -07:00
bors-servo
c51e9f0455
Auto merge of #6131 - glennw:jquery-exit-fix, r=jdm
...
This fixes a hang found while testing the jQuery test suite.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6131 )
<!-- Reviewable:end -->
2015-05-19 21:44:45 -05:00
Glenn Watson
35a570ab66
Fix several hangs / panics during pipeline cleanup of in progress loads.
...
This fixes a hang found while testing the jQuery test suite.
2015-05-19 16:14:25 +10:00
Matt Brubeck
0048b4f2ab
Positioning fixes for RTL floats
2015-05-18 17:25:06 -07:00
Patrick Walton
a0980091cf
gfx: Implement paint flashing, which will be useful for debugging
...
invalidation.
2015-05-14 15:45:41 -07:00
Adenilson Cavalcanti
37b6eeddff
Removing unused start up parameter.
...
Seems to be a left over from quite some time ago.
2015-05-12 14:41:08 -07:00
Mike Blumenkrantz
ac6aa9b8b7
when finding resource_dir, try exe launch directory
...
external apps using servo may just have the resources/ in the same place
2015-05-12 13:45:49 -04:00
Brian Anderson
df9c132551
util: Set the experimental_enabled flag when options are set
2015-05-09 02:22:59 -07:00
Brian Anderson
f8bbc0a974
util: Rename ops::set_opts
to ops::set
, to match get
2015-05-09 02:12:23 -07:00
Brian Anderson
8975a3bd9b
Add an assert to opts::set_opts.
...
This function leaks if called more than once.
2015-05-09 02:11:18 -07:00
Brian Anderson
aa906a54d3
Remove call to env::current_dir from Browser
...
Put it in util::opts instead.
2015-05-09 00:48:25 -07:00
Simon Sapin
0d226722b7
Deduplicate some dependencies.
...
This uses some dependencies from crates.io instead of git
where the crates.io copy was already used in some other part
of the dependency tree, so we had two copies of the same library.
The `android_glue` crate is the only one left where we have two copies,
but solving that is more tricky since we hard-code a path in
`components/servo/.cargo/config`.
2015-05-07 01:56:49 +02:00
Simon Sapin
5f0c55cefb
Make most Au methods take self by value. (It’s a i32 wrapper.)
2015-05-05 18:43:12 +02:00
Simon Sapin
4f618c45a5
Used foo.0
tuple access notation instead of let Au(a) = a;
2015-05-05 18:42:31 +02:00
Simon Sapin
b1ecba9f3d
Use i32 instead of isize in Au methods.
2015-05-05 18:40:00 +02:00
Simon Sapin
8b522f2e7d
Rename Au methods with f32/f64 instead of frac32/frac/subpx
2015-05-05 18:23:29 +02:00
Simon Sapin
32d5e24922
Replace Au-related free functions in util::geometry with Au methods.
2015-05-05 17:36:03 +02:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Ms2ger
903305416a
Implement Clone for Copy types.
2015-04-28 23:31:10 +02:00
bors-servo
1cb012fc50
Auto merge of #5857 - Ms2ger:preshints, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5857 )
<!-- Reviewable:end -->
2015-04-28 03:24:14 -05:00
Ms2ger
ed052bc080
Move the sink into util::vec.
2015-04-27 23:44:22 +02:00
Patrick Walton
4d46d257cd
Address review comments
2015-04-27 17:12:08 +02:00
Patrick Walton
48299a53cb
layout: Implement most of border-collapse
per CSS 2.1 § 17.6.2.
...
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.
2015-04-27 17:12:07 +02:00
Ms2ger
6a55ae06d7
Remove some as_slice calls.
2015-04-24 17:44:47 +02:00
Ms2ger
4ee89363fb
Define the binary search methods on [T] rather than &[T].
2015-04-24 17:44:45 +02:00
Ms2ger
4d41f1c991
Stop using the deprecated range function.
2015-04-22 20:26:40 +02:00
Adenilson Cavalcanti
ad62ff599a
Allow dumping the optimized display list (DL).
...
This DL is created at paint time, per tile. To dump,
pass -Z dump-display-list-optimized at startup.
2015-04-16 17:10:39 -07:00
Corey Farwell
cc4a64e1fe
Add/update comments with links to spec
...
Extracted out of #5649
* add more hyperlinks to associated specification for structs/methods
* follow redirects and update links
* replace broken links
* removal of WHATWG multipage page name since the page name is not
guaranteed to be stable
2015-04-14 18:03:13 -04:00
Corey Farwell
5eaa922045
Update WHATWG links to use HTTPS
...
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
2015-04-13 21:34:27 -07:00
Peter
881112d34e
Adding cmdling argument for disabling style share cache, fix #5581
2015-04-09 21:42:41 -04:00
Patrick Walton
6d61468160
layout: Simplify and improve the correctness of whitespace stripping in
...
text layout, and unify the inline layout paths for pre- and
normally-formatted text.
This fixes a lot of "jumpiness" and removes the `new_line_pos` stuff.
Closes #2260 .
2015-04-08 14:29:23 -07:00
bors-servo
83d9ab3ba5
Auto merge of #5571 - jdm:gfx_uint, r=Ms2ger
...
r? @Ms2ger
2015-04-08 03:06:09 -05:00
bors-servo
df57af1fc4
Auto merge of #5527 - jagtalon:jag/multiple-urls, r=mbrubeck
...
Switched from opts.urls from being of type Vec to type String and changing the name to `url` as well. Changed the other files that are using opts.urls accordingly.
2015-04-07 22:08:33 -05:00