Daniel Micay
|
7f0fa143bc
|
switch LinearMap to current constructor convention
|
2013-01-23 18:01:24 -05:00 |
|
Patrick Walton
|
54b2cad8b3
|
libsyntax: Remove fn() unsafe { ... } . r=graydon
|
2013-01-23 14:41:08 -08:00 |
|
Tim Chevalier
|
10e8ae852d
|
Merge pull request #4597 from Dretch/atvec-constructors
Oops - add the missing pubs!
|
2013-01-23 14:37:47 -08:00 |
|
gareth
|
ba2a3e8234
|
Oops - add the missing pubs!
|
2013-01-23 22:30:56 +00:00 |
|
Daniel Micay
|
591eefd740
|
improve hashmap/treemap documentation
|
2013-01-23 16:47:27 -05:00 |
|
Daniel Micay
|
988ce7180d
|
rm unnecessary usage of 'unsafe' from hashmap
|
2013-01-23 16:39:09 -05:00 |
|
Daniel Micay
|
8bf9bae303
|
remove cautionary wording in the hashmap docstring
it's pretty solid, at least relative to most of the other modules
|
2013-01-23 16:29:38 -05:00 |
|
Patrick Walton
|
6dbfb5da0b
|
libcore: Use LLVM intrinsics for floor; add a new Perlin noise benchmark. r=brson
|
2013-01-23 11:37:32 -08:00 |
|
Daniel Micay
|
dbeef1d657
|
remove the LinearMap get_copy method
This isn't simpler (or faster) than just doing the copy in the caller,
and it doesn't work for types that can be cloned but not copied.
|
2013-01-23 14:25:06 -05:00 |
|
Daniel Micay
|
45c9f6a099
|
add find method to the core::container::Map trait
|
2013-01-23 14:25:06 -05:00 |
|
Daniel Micay
|
ee0a8c68ab
|
rename hashmap find_ref/get_ref -> find/get
|
2013-01-23 14:25:06 -05:00 |
|
Daniel Micay
|
203fcbd0f3
|
rename hashmap find/get -> find_copy/get_copy
|
2013-01-23 14:25:06 -05:00 |
|
Daniel Micay
|
b7ef28c33a
|
rename send_map to hashmap
This makes the module much more discoverable, and is in line with the
'treemap' naming.
|
2013-01-23 14:25:01 -05:00 |
|
Trinick
|
9dc8e96c5f
|
core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut
|
2013-01-23 10:09:45 +00:00 |
|
Daniel Micay
|
8cff5c22c3
|
migrate task/spawn.rs to LinearSet
|
2013-01-22 21:28:28 -05:00 |
|
Daniel Micay
|
7de5e6c487
|
migrate gc.rs to LinearSet
|
2013-01-22 21:28:28 -05:00 |
|
gareth
|
9b27ec8684
|
Add more constructors for managed vectors (as proposed in issue #4553)
|
2013-01-22 22:52:20 +00:00 |
|
Tim Chevalier
|
e02449c41d
|
Merge pull request #4571 from thestinger/container
more work on container traits
|
2013-01-22 10:57:26 -08:00 |
|
Daniel Micay
|
6f4d86ed90
|
add a base Container trait
|
2013-01-22 08:10:08 -05:00 |
|
Daniel Micay
|
d635a6e506
|
add a container::Map trait
|
2013-01-22 08:10:08 -05:00 |
|
Daniel Micay
|
ffb9049274
|
add a Mutable container trait with clear
|
2013-01-22 08:09:53 -05:00 |
|
Tim Chevalier
|
143039ca43
|
docs: Fix typo
|
2013-01-21 19:50:38 -08:00 |
|
William Ting
|
60184d12b6
|
Update documentation with examples for various int, vec methods.
add int::range(), remainder() examples
add vec::foldl(), foldr() examples
tweak
|
2013-01-21 19:50:38 -08:00 |
|
William Ting
|
04d38f38e7
|
minor int-template.rs cleanup
|
2013-01-21 11:15:11 -06:00 |
|
Daniel Micay
|
1f85c711af
|
fix long lines
|
2013-01-20 17:07:57 -05:00 |
|
Tim Chevalier
|
b86c90b73a
|
Merge pull request #4554 from thestinger/set
add a Set trait
|
2013-01-20 13:45:42 -08:00 |
|
Daniel Micay
|
5320e132d1
|
add a LinearSet type (implementing the Set trait)
|
2013-01-20 15:12:52 -05:00 |
|
Daniel Micay
|
13d07ad0a6
|
add a Set trait and implement it for TreeSet
|
2013-01-20 14:58:19 -05:00 |
|
Simon Sapin
|
9788c41ce7
|
repr: represent char values as char literals rather than integers.
|
2013-01-20 12:03:02 +01:00 |
|
Tim Chevalier
|
b72ed5572f
|
core: Allow set_buffer_ to be referred to as set-buffer
After a snapshot, we can take out the set_buffer_ version (pipes
syntax exts use it).
As per #4421
|
2013-01-18 15:28:34 -08:00 |
|
Chris Peterson
|
a8ff9f2ef9
|
Rename copy_overlapping_memory() to copy_memory()
|
2013-01-18 14:38:46 -08:00 |
|
Tim Chevalier
|
9c1476e7a4
|
Comments: turn XXXes into FIXMEs
|
2013-01-18 14:21:31 -08:00 |
|
Brian Anderson
|
6b6acde972
|
Add a license check to tidy. #4018
|
2013-01-17 23:28:42 -08:00 |
|
Brian Anderson
|
1bf8e57943
|
Add finally method for deferred execution
|
2013-01-17 19:24:52 -08:00 |
|
Brian Anderson
|
db1abbec4c
|
core: Add private global data interface. #3915
|
2013-01-17 19:24:50 -08:00 |
|
Patrick Walton
|
f405e41d7a
|
librustc: Implement write guards for borrowing @mut to & or &mut . r=nmatsakis
|
2013-01-17 11:50:20 -08:00 |
|
Brian Anderson
|
ac435af73a
|
Add at_exit function #4450
|
2013-01-15 18:00:19 -08:00 |
|
Brian Anderson
|
090b247056
|
Spawn new tasks onto the primary scheduler by default. #3760
|
2013-01-15 18:00:19 -08:00 |
|
Graydon Hoare
|
84825ee310
|
librustc: Make the default sigil for block lambdas & instead of @ .
|
2013-01-15 17:57:45 -08:00 |
|
Nick Desaulniers
|
bb7d7204e2
|
Swap return value order in pipes::oneshot Issue #4496
|
2013-01-15 17:18:00 -08:00 |
|
Brian Anderson
|
0ca369e9dc
|
Merge pull request #4485 from sanxiyn/use-truncate
Use vec::truncate for vec::retain
|
2013-01-14 14:11:26 -08:00 |
|
Brian Anderson
|
e699058511
|
Merge pull request #4484 from sanxiyn/test-retain
Add a test for vec::retain
|
2013-01-14 14:09:17 -08:00 |
|
Brian Anderson
|
0e8490757f
|
Merge pull request #4477 from jld/char-repr
Reflect on char as u32, not uint (which may be u64).
|
2013-01-14 13:39:29 -08:00 |
|
Daniel Micay
|
d0751b6535
|
spelling fixes for iter module docstrings
|
2013-01-14 09:46:32 -05:00 |
|
Seo Sanghyeon
|
e368b16f82
|
Use vec::truncate for vec::retain
|
2013-01-14 19:45:08 +09:00 |
|
Seo Sanghyeon
|
23b130441a
|
Add a test for vec::retain
|
2013-01-14 17:38:15 +09:00 |
|
Jed Davis
|
0e1985eda6
|
Reflect on char as u32, not uint (which may be u64).
Fixes mozilla/rust#4473.
|
2013-01-13 19:08:30 -08:00 |
|
kyeongwoon
|
987f824f23
|
Support ARM and Android
Conflicts:
src/libcore/os.rs
src/librustc/back/link.rs
src/librustc/driver/driver.rs
src/librustc/metadata/loader.rs
src/librustc/middle/trans/base.rs
|
2013-01-13 16:43:39 -08:00 |
|
Tim Chevalier
|
62d1db1d6c
|
Long lines
|
2013-01-13 16:34:54 -08:00 |
|
Tim Chevalier
|
07c39b1436
|
Merge pull request #4474 from tychosci/readlink_safe
core: Use libc::readlink function properly
|
2013-01-13 15:10:33 -08:00 |
|