William Ting
5cfde77bca
Rename memcpy, memmove, memset to prevent any confusion with the C equivalents.
...
Closes #4203 .
2013-01-10 01:24:41 -06:00
Patrick Walton
349e772bc5
libcore: Fix missing off_t
import on Mac. rs=bustage
2013-01-09 21:15:27 -08:00
Patrick Walton
bea3a7a14c
libcore: Some more fixes to Windows libc stuff. rs=bustage
2013-01-09 21:14:28 -08:00
Patrick Walton
bd737d41a1
libcore: Fix Windows resolve errors. rs=bustage
2013-01-09 20:39:37 -08:00
Patrick Walton
1cc22a35df
libcore: Fix import in libc. rs=bustage
2013-01-09 19:25:33 -08:00
Graydon Hoare
1f03ba134f
std: fix net::tcp::test fallout from 2db3abd
harder
2013-01-09 19:12:51 -08:00
Graydon Hoare
6644da5805
core: fix crashing vec methods due to non-working moved self.
2013-01-09 17:21:21 -08:00
Brian Anderson
6a2e495d67
rt: Remove unused command line parsing
2013-01-09 15:26:15 -08:00
Niko Matsakis
2b92962aa2
A collection of refactorings that I found it hard/tiresome to divide:
...
- Make `extern fn()` assignable to any closure type, rather than
a subtype.
- Remove unused int_ty_set and float_ty_set
- Refactor variable unification and make it more DRY
- Do fn sub/lub/glb on the level of fn_sig
- Rename infer::to_str::ToStr to infer::to_str::InferStr
- Capitalize names of various types
- Correct hashing of FnMeta
- Convert various records-of-fns into structs-of-fns. This is both
eliminating use of deprecated features and more forwards compatible
with fn reform.
r=pcwalton
2013-01-09 14:59:07 -08:00
Graydon Hoare
11a307294a
rustc: yet more arch-specific fallout from 2db3abd
2013-01-09 14:11:55 -08:00
Brian Anderson
fa55778f9c
Add Ilyong Cho to AUTHORS
2013-01-09 11:33:13 -08:00
Graydon Hoare
d0fa688f56
rustc: more arch-specific fallout from 2db3abd
2013-01-09 10:43:16 -08:00
Graydon Hoare
dd5734d487
rustc: more fallout from 2db3abd
2013-01-09 09:49:11 -08:00
Graydon Hoare
896dcd4eb3
compiletest: more win32 fallout from 2db3abd
2013-01-09 09:48:17 -08:00
Graydon Hoare
8436a4460e
core: try to fix arch- and platform-specific fallout from 2db3abd
2013-01-09 09:26:59 -08:00
Graydon Hoare
aebbd6bb46
std: fix net::tcp::test fallout from 2db3abd
2013-01-09 09:26:59 -08:00
Graydon Hoare
9b8c04e236
core: ignore recent should_fail tests on windows
2013-01-09 09:26:59 -08:00
Erick Tryzelaar
c766924f44
core: add vec.filter that moves elems out of the vector
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
2891a49f0d
core: rename vec.filter to vec.filtered
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
9a7e261562
core: add vec.partition and vec.partitioned
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
c55787d009
core: add a vec.consume method
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
8f9a507973
core: add self to all vec methods
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
dc7183ed0e
core: rename MutableVector to OwnedVector
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
d1b7d44b8c
core: inline all vec methods and add whitespace
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
93c2ebf994
syntax: convert ast::spanned into a struct
2013-01-09 08:55:36 -08:00
Graydon Hoare
b75550af5c
AUTHORS: add Sebastian N. Fernandez
2013-01-09 08:04:41 -08:00
Graydon Hoare
f6dd2d219e
core: fix libc linux fallout from 2db3abddcd
2013-01-09 08:04:18 -08:00
Patrick Walton
2db3abddcd
librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
2013-01-08 22:02:35 -08:00
Brian Anderson
3a5b641720
Only ignore failing bigint tests on 32-bit platforms
2013-01-08 19:46:03 -08:00
Patrick Walton
44ab00ee37
Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"
...
This reverts commit a8d37af247
.
2013-01-08 19:29:16 -08:00
Patrick Walton
a8d37af247
librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
2013-01-08 19:27:57 -08:00
Brian Anderson
fd872284bb
Ignore some failing bigint tests
2013-01-08 17:47:41 -08:00
Niko Matsakis
c3a74d87bd
Implement GLB algorithm. (Issue #2263 )
...
r=brson
2013-01-08 15:41:53 -08:00
Brian Anderson
3b71d14442
Inject std when --test. #1127 , #3241
2013-01-08 14:58:39 -08:00
ILyoan
2d3c22ae59
arrange core::os::consts
2013-01-08 14:35:28 -08:00
Niko Matsakis
9f7dc1cb33
Remove ret_style and instead check whether fn return type is bot
...
cc #3681
2013-01-08 14:21:06 -08:00
Tim Chevalier
80435ad429
Make self
visible when typechecking nested functions
...
Necessary to allow supertrait methods to be called in default methods.
r=nikomatsakis
2013-01-08 13:56:26 -08:00
Tim Chevalier
2d1ce01a8a
Suppress error messages about function types whose result is ty_err
...
Ideally we would suppress error messages involving any types that
contain ty_err, but that's awkward to do right now.
2013-01-08 13:56:26 -08:00
Brian Anderson
b43e639bf6
Remove unused bigint from runtime
2013-01-08 13:53:45 -08:00
Tim Chevalier
2791877009
Merge pull request #4388 from lkuper/alt-to-match
...
Rename identifiers that still use 'alt' to use 'match'
2013-01-08 13:49:21 -08:00
asdf
dd73dd0e37
removing checks from vec::bytes::memcpy and memmove as are duplicated from raw::
2013-01-08 13:25:23 -08:00
asdf
4096c9f25f
adding bound checks for raw::memcpy and memmove
2013-01-08 13:25:23 -08:00
Lindsey Kuper
816cb8c535
Rename identifiers that still use 'alt' to use 'match'
...
This'll be less confusing for anyone who works on match in future.
2013-01-08 14:31:58 -05:00
Brian Anderson
2d9b1fee8f
Merge remote-tracking branch 'gifnksm/bigint' into kind-names
2013-01-08 11:28:56 -08:00
Patrick Walton
722d670c85
test: Fix botched regex. rs=bustage
2013-01-08 10:35:20 -08:00
Patrick Walton
1f667e7995
test: Regular expression mistake. rs=bustage
2013-01-07 22:13:34 -08:00
Patrick Walton
fcc470c0ee
test: Fix check-fast for resolve changes. rs=bustage
2013-01-07 18:55:12 -08:00
Niko Matsakis
16ec9aa6e7
Support assignability for struct fields. r=pcwalton
2013-01-07 18:46:37 -08:00
Tim Chevalier
4557f70487
Revert "Suppress type error message involving a function type whose result is ty_err"
...
This reverts commit e45312e5a0
.
2013-01-07 18:27:20 -08:00
Tim Chevalier
7b433d098a
Revert "Change the self def_id to a self_info in typeck, and inherit"
...
This reverts commit 921393c568
.
2013-01-07 18:18:22 -08:00