Commit graph

43835 commits

Author SHA1 Message Date
Brian Anderson
082e476361 Bump to .6 2015-08-03 14:10:26 -07:00
Steve Klabnik
879358a1a8 small fix in RELEASES
this grammar isn't correct
2015-08-03 14:09:51 -07:00
Brian Anderson
3d997a8e93 Bump to .5 2015-08-03 11:21:20 -07:00
Alex Crichton
0a07d8bb17 Merge pull request #27494 from barosl/beta
Backport new LLVM version check logic to beta
2015-08-03 11:01:43 -07:00
Ryan Pendleton
8d4703d214 verify Apple LLVM versions independently, since the "based on LLVM" version is no longer reported 2015-08-03 22:52:34 +09:00
Brian Anderson
089f99c1c4 Another backport fix 2015-07-31 10:01:39 -07:00
Brian Anderson
3a75d0e335 Fix tests
Conflicts:
	src/test/compile-fail/associated-types-overridden-default.rs
	src/test/compile-fail/issue-23595-1.rs
	src/test/compile-fail/issue-23595-2.rs
2015-07-30 15:21:08 -07:00
Alex Crichton
4d16047e99 Merge pull request #27407 from brson/beta-next
More 1.2 relnotes (backport)
2015-07-30 14:35:21 -07:00
Brian Anderson
1f7f158b43 More 1.2 relnotes 2015-07-30 14:33:33 -07:00
Brian Anderson
a3bcfe8e45 Merge pull request #27387 from brson/beta-next
Beta next
2015-07-30 17:10:08 -04:00
Brian Anderson
6e6d5b1ba0 Feature gate associated type defaults
There are multiple issues with them as designed and implemented.

cc #27364

Conflicts:
	src/libsyntax/feature_gate.rs
	src/test/auxiliary/xcrate_associated_type_defaults.rs
2015-07-29 15:11:28 -07:00
Alex Crichton
e6b2f0cbaf std: Fix sub-second Condvar::wait_timeout_ms
The API we're calling requires us to pass an absolute point in time as an
argument (`pthread_cond_timedwait`) so we call `gettimeofday` ahead of time to
then add the specified duration to. Unfortuantely the current "add the duration"
logic forgot to take into account the current time's sub-second precision (e.g.
the `tv_usec` field was ignored), causing sub-second duration waits to return
spuriously.
2015-07-29 10:49:13 -07:00
Lee Jeffery
4fcb19dda9 Fix typo in stability attribute. 2015-07-29 10:47:42 -07:00
Brian Anderson
58d7340b57 Bump to .4 2015-07-29 10:17:47 -07:00
Brian Anderson
2b45108ecb Bump prerelesae to .3 2015-07-27 14:07:02 -07:00
Alex Crichton
361a27f0e3 Merge pull request #27334 from brson/beta-next
Beta next
2015-07-27 14:03:39 -07:00
Brian Anderson
2ce9750db5 Mention that removal of #[packed] was a breaking change in 1.2 2015-07-27 13:15:14 -07:00
Brian Anderson
4a4fd1cb2d Update RELEASES.md for 1.2 2015-07-27 13:15:01 -07:00
Brian Anderson
e95a2d8602 Update AUTHORS.txt for 1.2 2015-07-27 13:14:54 -07:00
bluss
c8bab9d06a Merge pull request #26921 from brson/beta
Bump prerelease to .2
2015-07-09 21:54:52 +02:00
Brian Anderson
da00d747fb Bump prerelease to .2 2015-07-09 12:48:50 -07:00
Brian Anderson
ca44af2235 Merge pull request #26901 from alexcrichton/beta-backport
Backporting accepted PRs to beta
2015-07-09 15:46:37 -04:00
Cruz Julian Bishop
fc131b3f16 Initial documentation for 1.2.0, uploading to test markdown 2015-07-08 14:39:50 -07:00
Alex Crichton
8dff253d24 std: Fix formatting flags for chars
This recently regressed in #24689, and this updates the `Display` implementation
to take formatting flags into account.

Closes #26625
2015-07-08 14:39:02 -07:00
Alex Crichton
ebf0c83cb9 Merge pull request #26829 from nikomatsakis/better-object-defaults-warn-beta
Better object defaults warn beta
2015-07-08 10:39:07 -07:00
Brian Anderson
18adf6230e Merge pull request #26700 from alexcrichton/beta-backport
Backport accepted PRs to beta
2015-07-06 12:04:39 -07:00
Niko Matsakis
b229195339 rebase onto beta branch 2015-07-06 13:42:38 -04:00
Niko Matsakis
973193b7cc Fix some merge conflicts 2015-07-06 10:06:18 -04:00
Niko Matsakis
db75b07d59 Now that I made the warning smarter, these tests no longer require modification 2015-07-06 10:06:18 -04:00
Niko Matsakis
9cdaa1fc25 Adjust tests to silence warnings (or record them, as appropriate). 2015-07-06 10:06:18 -04:00
Niko Matsakis
8c662eb910 After inferring regions, scan for any bounds that are due to a lifetime
bound that is likely to change. In that case, it will change to 'static,
so then scan down the graph to see whether there are any hard
constraints that would prevent 'static from being a valid value
here. Report a warning.
2015-07-06 10:06:18 -04:00
Niko Matsakis
840e7743a6 Add a boolean flag to ExistentialBounds tracking whether the
region-bound is expected to change in Rust 1.3, but don't use it for
anything in this commit. Note that this is not a "significant" part of
the type (it's not part of the formal model) so we have to normalize
this away or trans starts to get confused because two equal types wind
up with distinct LLVM types.
2015-07-06 10:06:18 -04:00
Niko Matsakis
2be61079f1 Code up the new lifetime default rules, but leave them disabled
for now.
2015-07-06 10:06:17 -04:00
Huon Wilson
22946db133 core: fix deprecation since version of align_of_min.
These will first be deprecated in 1.2.0, not 1.1.0.
2015-06-30 19:33:23 -07:00
Steven Fackler
8d26dedecb Avoid overflow in Vec::from_iter
Closes #26550
2015-06-30 19:33:19 -07:00
Huon Wilson
07a9c53533 Make align_of behave like min_align_of.
This removes a footgun, since it is a reasonable assumption to make that
pointers to `T` will be aligned to `align_of::<T>()`. This also matches
the behaviour of C/C++. `min_align_of` is now deprecated.

Closes #21611.
2015-06-30 19:33:15 -07:00
bors
2ad26e850e Auto merge of #26490 - alexcrichton:fix-msvc-again, r=brson
This commit ensures that the modifications made in #26382 also apply to the
archive commands run in addition to the linker commands.
2015-06-23 18:59:00 +00:00
bors
27ecbba388 Auto merge of #26508 - tshepang:stray-code-block, r=bluss 2015-06-23 17:27:07 +00:00
bors
d54ab412ef Auto merge of #26503 - GuillaumeGomez:patch-4, r=Manishearth
r? @Manishearth
2015-06-23 15:55:19 +00:00
bors
3223c885b9 Auto merge of #26367 - tshepang:patch-1, r=bluss 2015-06-23 14:24:10 +00:00
bors
997bd334fb Auto merge of #26354 - jroesch:remove-param-bounds-take-n, r=nikomatsakis
This pull request removes `ParamBounds` a old holdover in the type checker that we (@nikomatsakis and I) had wanted to remove. I'm not sure if the current form is the best possible refactor but I figured we can use this as a place to discuss it.

r? @nikomatsakis
2015-06-23 12:52:59 +00:00
bors
699315e4f5 Auto merge of #26519 - oli-obk:camel_case_const_val, r=eddyb 2015-06-23 11:20:51 +00:00
bors
4ffeb2e32d Auto merge of #26517 - nrc:fix-parallel-codegen, r=arielb1
Closes #26420

r? @nikomatsakis
2015-06-23 09:49:03 +00:00
Oliver Schneider
88b03f349e change const_val enum and its variants to camel-case 2015-06-23 10:31:32 +02:00
bors
17450192d9 Auto merge of #26513 - shunyata:master, r=alexcrichton
I'm currently reading the rust book and this variable name tripped me up.
Because it was called "input", I thought at first it might contain the line
read by read_line(). This new variable name will be more instructive to rust
beginners.
2015-06-23 08:18:14 +00:00
Jared Roesch
81e5c1ff06 Remove the mostly unecessary ParamBounds struct 2015-06-23 00:10:19 -07:00
Guillaume Gomez
3ff12223dc Comment E0222 instead of removing it 2015-06-23 08:14:49 +02:00
Nick Cameron
19645c4e21 Test for a particular parallel codegen corner case 2015-06-22 23:08:44 -07:00
Nick Cameron
ce0c2572ec Fix parallel codegen regression
Regressed by #26326
2015-06-22 22:34:12 -07:00
bors
e749f724b0 Auto merge of #26514 - tshepang:repetition, r=Gankro 2015-06-23 02:32:44 +00:00