Brian Anderson
f3df50f67f
Parse and report obsolete fixed-length vector syntax
2012-10-20 17:50:46 -07:00
Ben Striegel
41c37d9d0f
...missed a merge marker on that last rebase
2012-10-20 17:50:46 -07:00
Ben Striegel
614624a34c
No longer parse old fixed-length vec sytnax
2012-10-20 17:50:46 -07:00
Ben Striegel
684d945ab7
Fix a pprint test for fixed-length vecs
2012-10-20 17:50:46 -07:00
Ben Striegel
ac81fff229
Remove old fixed-length vector syntax
2012-10-20 17:50:46 -07:00
Philipp Brüschweiler
4174688dd4
libsyntax: adapt the pretty printer for the new fixed size array syntax
...
`[int]/5` -> `[int * 5]`
2012-10-20 17:50:46 -07:00
Brian Anderson
55e40a1674
Add new uv functions to rustrt.def.in
2012-10-20 17:41:34 -07:00
Brian Anderson
8dd8136f91
std: Use unique ports in tcp tests
2012-10-20 17:24:27 -07:00
Luqman Aden
9555ee790f
std: rename getpeername to get_peer_addr
2012-10-20 17:17:10 -07:00
Brian Anderson
781f8cbe4e
std: Add test for getpeername
2012-10-20 17:17:10 -07:00
Luqman Aden
79e538d32a
uv: use just getpeername for both ipv4 and ipv6.
2012-10-20 17:17:10 -07:00
Luqman Aden
0e2437bf5d
uv: implement a way to get client's ip/port.
2012-10-20 17:17:10 -07:00
Brian Anderson
15777de957
Fix run-pass/issue-2895 for 32-bit archs
2012-10-20 14:52:31 -07:00
Brian Anderson
55d134d29a
Some tweaks to the valgrind makefile code
...
This reenables valgrinding of the compiler and prints a message
when the user _is_ valgrinding
2012-10-20 14:32:44 -07:00
Mahmut Bulut
c05d96c191
Valgrind check disable
2012-10-20 13:57:47 -07:00
Graydon Hoare
89de49cecd
core: add 3rd proposed interface (trap/in) to conditions.
2012-10-19 14:46:49 -07:00
Tim Chevalier
0243d86e19
Add Mahmut Bulut to AUTHORS
2012-10-19 12:31:54 -07:00
Mahmut Bulut
81e66ae1fb
Renaming trait name UniqueStr to Trimmable
2012-10-19 11:59:40 -07:00
Tim Chevalier
8492a029e8
Fix Windows breakage
2012-10-19 11:44:01 -07:00
Tim Chevalier
10612ee30c
Remove superfluous by-ref in option::get, option::get_default, option::expect
...
Superficial change, no review.
2012-10-19 11:38:28 -07:00
Graydon Hoare
c97944fbf8
core: add potential "simpler interface" to core::condition, also reduce TLS hits.
2012-10-18 20:08:14 -07:00
Graydon Hoare
6c4ad31f76
core: Add type params to condition handling so interface is safe.
2012-10-18 20:08:14 -07:00
Tim Chevalier
34aabe5051
Add Luqman Aden to AUTHORS
2012-10-18 19:17:57 -07:00
Tim Chevalier
c81953cb2d
Merge pull request #3811 from luqmana/incoming
...
configure: check for pandoc version properly.
2012-10-18 19:15:16 -07:00
Luqman Aden
3d76a75193
configure: check for pandoc version properly.
2012-10-18 20:58:57 -04:00
Graydon Hoare
e0b71dd6b3
configure: note dep on head.
2012-10-18 14:51:20 -07:00
Graydon Hoare
33795bc4d3
configure: fix use of bash-specific here strings (also awk, please no more deps).
2012-10-18 14:51:20 -07:00
Graydon Hoare
acf2d208d6
core: add previous-handler save and restore for proper nesting.
2012-10-18 14:51:20 -07:00
Patrick Walton
754704ea94
rustc: Implement intra-crate static methods on anonymous trait implementations. r=nmatsakis
2012-10-18 14:29:18 -07:00
Erick Tryzelaar
eeae55208c
Revert "Simplify str::to_managed"
...
This reverts commit ac50046a11
.
2012-10-18 14:26:06 -07:00
Tim Chevalier
7dda889056
Merge pull request #3803 from tychosci/readclose
...
Make some string operations UTF-8 safe
2012-10-18 14:05:09 -07:00
Tim Chevalier
55f043d256
Merge pull request #3802 from rfw/fix_pandoc_configure
...
Check pandoc's version correctly for >=1.10.
2012-10-18 12:25:11 -07:00
Tim Chevalier
b03c71f629
Remove dead type definition
2012-10-18 12:19:43 -07:00
Patrick Walton
fa38c12901
test: Fix failing tests. r=rustbot
2012-10-18 12:09:40 -07:00
Tim Chevalier
141ef23aa7
Merge pull request #3805 from erickt/incoming
...
Variety of small cleanups
2012-10-18 11:12:32 -07:00
Erick Tryzelaar
fe41ccec64
Rename str::to_unique to str::to_owned.
2012-10-18 11:04:59 -07:00
Erick Tryzelaar
ac50046a11
Simplify str::to_managed
2012-10-18 11:04:32 -07:00
Erick Tryzelaar
a7ecde3323
libcore: minor code cleanup.
...
This is minor and probably completely inconsequential to performance,
but I find vec::map to be more clear than vec::each and a push.
2012-10-18 10:09:57 -07:00
Erick Tryzelaar
95423d28f2
libcore: call [u8] values bytes, not bufs
2012-10-18 10:09:42 -07:00
Erick Tryzelaar
e3b1471acd
Rewrite io::ByteBuf into a struct
2012-10-18 09:06:53 -07:00
Erick Tryzelaar
b18a15171b
Make with_bytes_reader/with_bytes_writer pure
2012-10-18 09:04:47 -07:00
Erick Tryzelaar
4e03ffdb65
rustc: optimize away some mallocs when building GEP args
2012-10-18 08:03:04 -07:00
Tycho Sci
6ce4cf769f
rustdoc: Make markdown_writer::pandoc_writer UTF-8 safe
2012-10-18 23:27:55 +09:00
Tycho Sci
c0cee3ebe4
libcore: Make run::program_output UTF-8 safe
2012-10-18 23:27:55 +09:00
Tony Young
2c1ed186fc
Check pandoc's version correctly for >=1.10.
2012-10-19 00:30:17 +13:00
Tim Chevalier
e28a161b72
Merge pull request #3799 from paulstansifer/master
...
Add examples to the parsing limitations section of the macro tutorial.
2012-10-17 18:44:58 -07:00
Paul Stansifer
0f2fc71d79
Add examples to the parsing limitations section of the macro tutorial.
...
(Thanks to bstrie for pointing them out!)
2012-10-17 21:40:39 -04:00
Graydon Hoare
fdd7b4d8f4
core: first working sketch of a condition system.
2012-10-17 16:40:34 -07:00
Philipp Brüschweiler
e7e1bab27f
libsyntax: refactor the parser to consider foreign items as items
...
parse_item_or_view_item() would drop visibility if none of the conditions
following it would hold. This was the case when parsing extern {} blocks,
where the function was only used to parse view items, but discarded the
visibility of the first not-view item.
2012-10-17 15:34:55 -07:00
Tim Chevalier
7dde840dc6
Fix copy warnings in str
2012-10-17 15:34:54 -07:00