Brian Anderson
f99d6cab43
Long lines
2013-01-11 17:59:35 -08:00
Brian Anderson
1b1700f44b
Add core::private::run_in_bare_thread
...
This begins executing Rust code in a fresh context with no runtime environment
2013-01-11 14:53:28 -08:00
Andrew Paseltiner
0de7aa5506
allow logical negation operator (!) to be overloaded
2013-01-11 14:31:44 -05:00
William Ting
9fd970ad13
Adds priv qualifiers where they have been commented out before implementation.
...
Updates #4386 .
2013-01-11 02:30:10 -06:00
Patrick Walton
ad2fc50ca1
libcore: Fix core test more. rs=broken
2013-01-10 23:08:17 -08:00
Patrick Walton
c6fe93d9b5
libcore: Fix core test. rs=broken
2013-01-10 22:36:54 -08:00
Patrick Walton
83675895af
libcore: Fix windows bustage. rs=bustage
2013-01-10 21:58:30 -08:00
Patrick Walton
b71381dcc9
libcore: Fix linux/windows bustage. rs=fire
2013-01-10 21:49:31 -08:00
Patrick Walton
ca71c6ec5b
librustc: Make all external functions unsafe. r=tjc
2013-01-10 21:24:08 -08:00
Tim Chevalier
90a0dd4008
core: Change XXXs into proper FIXMEs with issue numbers
2013-01-10 15:35:41 -08:00
Tim Chevalier
603e13cc02
Use deriving_eq for Task
2013-01-10 15:35:41 -08:00
Niko Matsakis
737e115646
mode: reset mode on entry to fn body.
...
This is an interim fix to address the "Beware!" unsoundness. I have a
more comprehensive rewrite of mode.rs in the pipeline.
r=pcwalton
2013-01-10 13:17:25 -08:00
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
6644da5805
core: fix crashing vec methods due to non-working moved self.
2013-01-09 17:21:21 -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
Graydon Hoare
d0fa688f56
rustc: more arch-specific fallout from 2db3abd
2013-01-09 10:43:16 -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
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
Graydon Hoare
f6dd2d219e
core: fix libc linux fallout from 2db3abddcd67
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
Patrick Walton
44ab00ee37
Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"
...
This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
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
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
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
Andrew Paseltiner
1d4c5d90bd
fmt: add unit tests
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
73649f36e8
fmt: derive Eq for all types
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
0429493363
fmt: fix formatting and style
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
428abb3d97
fmt: simplify parse_fmt_string
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
9e5a4166d5
fmt: simplify parse_conversion
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
af298deff7
fmt: simplify parse_parameter
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
4550cb0562
fmt: simplify parse_precision
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
9c383deaa6
fmt: simplify parse_count
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
f4bc9e6d57
fmt: simplify parse_flags
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
51b141e3e4
fmt: simplify parse_type
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
0a17ab2a9c
fmt: replace parse_* structural records with struct Parsed<T>
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
1a2a8975bc
fmt: replace Conv record with struct Conv
2013-01-07 17:22:01 -05:00