bors-servo
78665336e6
Auto merge of #6297 - brson:inline, r=jdm
...
This results in a 14% compile time improvement.
See https://gist.github.com/brson/b48dd03b06c406be68e6
I'm not suggesting you merge this as-is, but you might consider whether removing some of these is worth pursuing.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6297 )
<!-- Reviewable:end -->
2015-06-06 08:25:29 -05:00
Brian Anderson
172fbcad27
Convert inline(always) to inline in CodegenRust and jstraceable.
...
This results in a 14% compile time improvement.
See https://gist.github.com/brson/b48dd03b06c406be68e6
2015-06-05 14:56:11 -07:00
Manish Goregaokar
d2496a45c3
fix rebase issues
2015-06-03 07:14:53 +05:30
Manish Goregaokar
2551cce51e
address review comments
2015-06-03 07:14:23 +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
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
f94eced1f5
Upgrade to rustc 1.2.0-dev (474c6e0ae 2015-05-30)
2015-06-01 22:03:27 +05:30
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
Manish Goregaokar
8394b82350
Fix deprecated plugin APIs
2015-05-21 23:10:54 +05:30
Lars Bergstrom
fd4afc93a8
Update plugins API
2015-05-21 10:13:48 -05:00
Manish Goregaokar
4bc9445b9e
Upgrade rust to 716f920b7e234b450f272346fea961832505c06e (Tue May 19 05:39:29 2015 +0000)
2015-05-20 15:39:02 -07:00
Peter
717b443eec
fixes #6069
2015-05-20 10:58:30 -04:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Manish Goregaokar
63714ebc5f
Add the rust-tenacious move-protection lint, use it for Root<T>
( fixes #5724 )
2015-04-28 04:20:40 +05:30
Ms2ger
6a55ae06d7
Remove some as_slice calls.
2015-04-24 17:44:47 +02:00
Utkarsh Kukreti
a934da80aa
Use quasiquotes for attributes in plugins
crate.
...
Fixes #5157 .
2015-04-04 17:37:06 +02:00
Ms2ger
2755ed6c58
Remove allow(missing_copy_implementations) attributes.
...
This is now the default.
2015-03-23 10:49:44 +01:00
Ms2ger
ba87666cdb
Update some code that's feature-gated under core.
2015-03-21 18:44:39 +01:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
Ms2ger
8223f695fb
Remove plugin attributes from extern crates.
2015-03-11 23:45:16 +01:00
bors-servo
736c580670
auto merge of #4914 : Ms2ger/servo/match_lang_ty, r=saneyuki
2015-02-13 23:21:49 -07:00
Ms2ger
efbbe22630
Fix warnings in plugins.
2015-02-13 14:57:52 +01:00
Ms2ger
542f62ae94
Cleanup match_lang_ty a bit.
2015-02-13 00:02:18 +01:00
Simon Sapin
d5dd1d658e
Upgrade to rustc ba2f13ef0 2015-02-04
2015-02-11 14:48:34 -08:00
Josh Matthews
446f0f447e
Allow unused variables, imports, and mutable.
2015-02-09 17:41:57 -05:00
Arpad Borsos
02d750adba
Lowercase DOM getters at compile time, fixes #4728
...
The implementation was copied directly from
https://github.com/rust-lang/rust/pull/16636
and updated for rust changes, so the credit goes to @Manishearth
2015-02-03 19:58:47 +01:00
Josh Matthews
95fc29fa0d
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
2015-01-28 10:16:49 +10:00
Ms2ger
01ed338746
Move to to_owned rather than into_string.
...
into_string has been removed from Rust.
2015-01-20 14:49:07 +01:00
bors-servo
0793137631
auto merge of #4575 : mttr/servo/warnings, r=jdm
...
Notes:
* This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary.
* This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to).
```
css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:72 this_as_query.equiv(other)
^~~~~~~~~~~~
css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> {
```
2015-01-08 16:03:55 -07:00
bors-servo
4cd9eb1253
auto merge of #4574 : Ms2ger/servo/if_let, r=Manishearth
...
This feature is now supported unconditionally.
2015-01-08 14:42:53 -07:00
Matthew Rasmus
a3fc3a1581
Allow missing_copy_implementations
2015-01-08 08:51:11 -08:00
bors-servo
ec474ae835
auto merge of #4541 : Manishearth/servo/ban-stuff, r=jdm
...
Didn't do the `Vec<Temporary<T>>` banning since we might want to whitelist something there. I'll work on that next.
2015-01-08 09:30:54 -07:00
Ms2ger
5f31da82bd
Remove if_let feature gates.
...
This feature is now supported unconditionally.
2015-01-08 17:26:06 +01:00
Ms2ger
16c7060bc8
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
2015-01-08 09:58:46 -05:00
Manish Goregaokar
077bd840a3
Ban Cell<JS<T>> and Cell<JSVal<T>> (partial #4336 )
2015-01-04 15:22:11 +05:30
Ms2ger
a55e1d1974
Remove spurious spaces from lints/mod.rs.
2015-01-01 21:25:31 +01:00
Rohan Prinja
7ac58f202f
break up lints.rs into separate files
2015-01-01 13:50:55 +05:30
Manish Goregaokar
0410d3d9b2
plugins: Add seanmonstar's to_string() lint
2014-12-31 10:34:44 +01:00
Simon Sapin
a29cb0e5d0
Move the define_css_keyword_enum macro to the style crate.
2014-12-29 21:52:12 +01:00
Simon Sapin
2e35d4e987
Add a match_ignore_ascii_case! macro that does not allocate.
...
It should replace `match foo.to_ascii_lower().as_slice() { ...}`
@Manishearth I changed map.get to map.find in the lint to work around an ICE:
task 'rustc' panicked at 'couldn't find node id 0 in the AST map'
Does this look OK?
2014-12-29 16:19:10 +01:00
Simon Sapin
45a08c94a4
Implement ToCss for types in style::properties::common_values::specified
2014-12-29 16:19:09 +01:00
bors-servo
56d1b16d1b
auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister
...
Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector.
A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
2014-12-27 22:12:45 -07:00
Manish Goregaokar
93c350e6e3
plugins: Fix transmute lint message
2014-12-27 21:35:49 +05:30
Manish Goregaokar
50c246bdc5
Fix warnings post-upgrade
2014-12-27 03:28:35 +05:30
Manish Goregaokar
21a888341d
Ensure that Reflectors are the first field
2014-12-27 02:53:36 +05:30
Manish Goregaokar
d761877ef6
Add inheritance-checking lint
2014-12-27 02:53:35 +05:30
Manish Goregaokar
21607f066c
Add internal plugin for creating Reflectable implementations
2014-12-27 02:43:13 +05:30
Manish Goregaokar
dd8360fb10
Use inline(always) for trace()
2014-12-27 02:43:12 +05:30
Simon Sapin
e689f9c160
Remove usage of deprecated HashMap::get_copy
2014-12-18 11:17:09 +00:00