Tim Chevalier
|
26334b64a2
|
Merge pull request #4411 from wting/4203_rename_memcpy
Rename memcpy, memmove, memset
|
2013-01-13 14:58:24 -08:00 |
|
Jed Davis
|
1b01629f18
|
Make vectors (& old ports) of zero-size types allocate one byte each.
|
2013-01-13 14:37:59 -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 |
|
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 |
|
Graydon Hoare
|
6644da5805
|
core: fix crashing vec methods due to non-working moved self.
|
2013-01-09 17:21:21 -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 |
|
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 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 |
|
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 |
|
Tim Chevalier
|
89acd1f57f
|
Rename option::get_default => get_or_default, get_zero => get_or_zero
|
2013-01-04 16:01:26 -08:00 |
|
Tim Chevalier
|
cef153947d
|
Long lines
|
2012-12-28 13:35:15 -08:00 |
|
Tim Chevalier
|
7af1080f5e
|
Merge pull request #4308 from steveklabnik/patch-1
Improve documentation for each.
|
2012-12-28 11:52:16 -08:00 |
|
Steve Klabnik
|
5ec3aba8cc
|
Improve documentation for each.
Add description of arguments, and an example.
|
2012-12-28 01:12:28 -05:00 |
|
Patrick Walton
|
e26ca35b08
|
librustc: Fix the test runner, the condition system, and core test. rs=bustage
|
2012-12-27 17:53:04 -08:00 |
|
Patrick Walton
|
57c599914a
|
librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon
|
2012-12-27 10:02:54 -08:00 |
|
Erick Tryzelaar
|
938058b004
|
Fix vec::flat_map_to_vec method
|
2012-12-18 20:48:51 -08:00 |
|
Erick Tryzelaar
|
85bb1fc2c4
|
Change iter::find's closure to take a ref
|
2012-12-17 22:01:38 -08:00 |
|
Erick Tryzelaar
|
88962eeed8
|
core: Add &self to core::iter methods
|
2012-12-17 22:01:38 -08:00 |
|
Brian Anderson
|
309cdfd835
|
Remove more uses of 'move' from core::vec
|
2012-12-14 17:12:41 -08:00 |
|
Brian Anderson
|
2c21f348a4
|
Rewrite core::vec::shift to not allocate
|
2012-12-14 17:09:44 -08:00 |
|
Brian Anderson
|
0d59e86d80
|
core: Remove some uses of 'move'
|
2012-12-12 19:15:18 -08:00 |
|
Brian Anderson
|
9723d3ac2f
|
Remove transitional code
|
2012-12-09 17:59:21 -08:00 |
|
Patrick Walton
|
d1ebdbeb6c
|
librustc: Implement explicit self for Add and Index; add a hack in the borrow checker to support this. r=nmatsakis
|
2012-12-04 14:51:31 -08:00 |
|
Graydon Hoare
|
94be145169
|
core: rename box to managed. Close #4079.
|
2012-12-03 17:45:19 -08:00 |
|
Graydon Hoare
|
00c856c0b1
|
Update license, add license boilerplate to most files. Remainder will follow.
|
2012-12-03 17:12:14 -08:00 |
|
Brian Anderson
|
b52a4b412e
|
core: Make core.rc more readable. Cleanup
|
2012-11-30 01:32:53 -08:00 |
|
Brian Anderson
|
8179e268ef
|
Register snapshots
|
2012-11-28 12:33:00 -08:00 |
|
Brian Anderson
|
917ee7e5b1
|
Ignore two failure tests on windows
|
2012-11-26 14:48:48 -08:00 |
|
Gareth Daniel Smith
|
689f6ce5d0
|
Add insert and remove methods to vecs - as proposed in issue #4028.
|
2012-11-26 14:34:50 -08:00 |
|
Erick Tryzelaar
|
9539724e8b
|
Remove parentheses from closure argument types
|
2012-11-20 16:39:30 -08:00 |
|
Patrick Walton
|
318e534895
|
rustc: Implement explicit self for Eq and Ord. r=graydon
|
2012-11-19 15:33:11 -08:00 |
|
Tim Chevalier
|
a006608276
|
Remove stage0 stuff that was awaiting snapshot
and re-register snapshots
Just removing unneeded code, no review
|
2012-11-03 14:04:32 -07:00 |
|
Patrick Walton
|
ad02510258
|
libcore: Implement a memory-safe "each_val" for data in aliasable, mutable locations
|
2012-11-02 10:17:32 -07:00 |
|
Niko Matsakis
|
1a3a70760b
|
Implement proper subtyping for region fn types (part of #2263)
|
2012-10-24 18:56:31 -07:00 |
|
Tim Chevalier
|
11e92f37c1
|
Remove uses of binary move - <- - from tests and libraries
|
2012-10-23 12:10:03 -07:00 |
|
Tim Chevalier
|
30a62793fa
|
Make moves explicit in core tests
|
2012-10-12 20:43:37 -07:00 |
|
Tim Chevalier
|
945d57a6ff
|
Export VecUnboxedRepr from vec so a test case can use it
|
2012-10-11 17:58:45 -07:00 |
|
Tim Chevalier
|
66cea3700e
|
Fix from_buf in test cases
|
2012-10-11 16:45:57 -07:00 |
|
Tim Chevalier
|
6854265161
|
Remove comment that is now false
|
2012-10-11 16:00:30 -07:00 |
|
Tim Chevalier
|
05999290e2
|
Finally removing all uses of by-mut-ref
The code for the mode itself is still there.
|
2012-10-05 21:03:40 -07:00 |
|