Commit Graph

550 Commits

Author SHA1 Message Date
Michael Sullivan ad5c4ed351 Make push_str overallocate. Use it in some places that were still doing +=. 2012-07-13 16:37:27 -07:00
Lindsey Kuper 5a63b2100e More consistent use of backticks and "expected" in error messages.
Got some of the debug messages, here, too.  I figure it doesn't hurt
to get used to doing this even in places where users won't ever see
it.
2012-07-13 15:31:39 -07:00
Eric Holk aba665da32 Fix the signature on vec::view.
Due to limitations in region inference, this has the effect of making vec::view pretty much entirely unusable.
2012-07-12 18:16:00 -07:00
Graydon Hoare 18da7fef88 Merge remote-tracking branch 'origin/dist-snap' into incoming 2012-07-12 17:14:55 -07:00
Michael Sullivan 2ea9c8df0f Accept prefix notation for writing the types of str/~ and friends. 2012-07-12 16:52:26 -07:00
Michael Sullivan 1c62f5ff74 Get rid of all of the remaining /~s in the code base. 2012-07-12 15:13:18 -07:00
Michael Sullivan 120773b2a7 Change the interface of placement new to take a tydesc as part of Issue #2831. 2012-07-11 11:42:49 -07:00
Graydon Hoare aa7b3cc929 Fix some version numbers. 2012-07-11 09:09:08 -07:00
Brian Anderson ccee8cb4f9 std: Fix deadlock by unsupervising the global I/O task 2012-07-10 15:10:13 -07:00
Erick Tryzelaar 1972ae23e5 libcore: add a task::set_sched_mode fn 2012-07-10 08:45:08 -07:00
Graydon Hoare c26d02557e Switch 'cont' to 'again' everywhere. Close #2229. 2012-07-09 14:37:48 -07:00
Brian Anderson aa232a5269 Merge pull request #2846 from gwillen/1c882842e06431767676887f97f9dcc0ee50a7b9
Add map::clear
2012-07-09 13:26:48 -07:00
Patrick Walton e41029d236 rustc: Switch to the new resolution pass 2012-07-09 10:27:13 -07:00
Glenn Willen 1c882842e0 Add clear() to the map interface.
Add clear to the map interface, and implement it in hashmap and smallintmap.
2012-07-08 16:06:48 -07:00
Niko Matsakis a856bccdc6 Revert "rustc: Switch to the new resolution pass"
This reverts commit c4af6e92fb.

Branch was burning...many, many unresolved imports.
2012-07-06 20:45:06 -07:00
Patrick Walton c4af6e92fb rustc: Switch to the new resolution pass 2012-07-06 19:07:26 -07:00
Tim Chevalier 889be71cb4 Comments only: change TODOs to FIXMEs and annotate them 2012-07-05 16:10:29 -07:00
Tim Chevalier 50d2e7e07e Mostly change TODOs to FIXMEs and annotate them
But, one change in io to implement a TODO suggestion (using a
const u8)
2012-07-05 15:06:33 -07:00
Brian Anderson 7babcf55d7 std: Actually buildbase64 2012-07-05 14:40:51 -07:00
Brian Anderson 73f1f686e9 std: Export base64 2012-07-05 14:39:08 -07:00
Gareth Daniel Smith be0141666d convert doc-attributes to doc-comments using ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498 2012-07-04 19:18:13 -07:00
Ben Striegel f2e2a14f36 Remove empty argument lists from do expressions 2012-07-04 17:21:29 -07:00
Brian Anderson a52135f5a7 Tidy 2012-07-04 15:01:24 -07:00
Brian Anderson 34660f099e Merge pull request #2798 from erickt/incoming
adding base64 and to_bytes to stdlib
2012-07-04 14:36:03 -07:00
Josh Matthews 10fd19580e When getopts encounters an option that takes an argument, it should treat the remainder of the current option string as the argument if it is non-empty. Fix #2791. 2012-07-04 14:23:22 -07:00
Erick Tryzelaar abee158945 Add a basic base64 module 2012-07-03 21:29:45 -07:00
Ben Blum aa909dc60a oops, fix option.expect() and use it in libstd/map.rs 2012-07-03 21:03:51 -04:00
Brian Anderson 41bca84dd9 core: Convert iter::repeat to the for protocol 2012-07-03 17:31:31 -07:00
Patrick Walton af38333f75 rustc: Speed up def ID parsing in the metadata 2012-07-03 17:12:02 -07:00
Graydon Hoare be2c92078b Change crust -> extern. 2012-07-03 16:49:46 -07:00
Graydon Hoare dc98165443 Mop up a few extra native -> foreign changes. 2012-07-03 16:49:46 -07:00
Graydon Hoare debb7e4641 Switch 'native' to 'extern' (or 'foreign' in some descriptions) 2012-07-03 16:11:00 -07:00
Patrick Walton 1c2843c8ad core: Eliminate some overloading of the name "future" in future.rs 2012-07-03 11:24:01 -07:00
Michael Sullivan c854d6ebdb Remove some bogus exports. 2012-07-03 10:52:32 -07:00
Brian Anderson 2ea8922b8a Merge remote-tracking branch 'brson/uv' 2012-07-02 21:39:08 -07:00
Patrick Walton f093d374ed rustc: Implement a new resolve pass behind a compile flag 2012-07-02 18:30:12 -07:00
Brian Anderson 18ac4eee3b std: Ignore a test that doesn't terminate on windows 2012-07-02 16:50:47 -07:00
Brian Anderson 3c6a5385d6 std: Add missing cfg attr for freebsd 2012-07-02 14:32:15 -07:00
Brian Anderson 6d411342c6 Merge remote-tracking branch 'brson/uv'
Conflicts:
	src/libstd/net_ip.rs
	src/libstd/net_tcp.rs
2012-07-02 14:03:38 -07:00
Ben Blum 5b41592f21 Make list::from_vec take a slice, not a ~. 2012-07-02 15:49:46 -04:00
Brian Anderson d1fc2b5995 Convert to new closure syntax 2012-07-01 19:19:32 -07:00
Brian Anderson a3382b6f26 Eliminate usages of old sugared call syntax 2012-06-30 16:01:49 -07:00
Michael Sullivan 98e161f00e Switch the compiler over to using ~[] notation instead of []/~. Closes #2759. 2012-06-29 17:41:45 -07:00
Brian Anderson 483aee8dc4 Ignore various uv tests that fail 2012-06-29 17:16:16 -07:00
Jeff Olson a3c933e0a0 std: uv::ll fixes for 32bit linux 2012-06-29 15:41:56 -07:00
Jeff Olson 087c4244b1 std: adding some basic docs for net::ip::get_addr 2012-06-29 15:41:56 -07:00
Jeff Olson a696193bab std: cleanups, post-rebase 2012-06-29 15:41:56 -07:00
Jeff Olson cfcd3e683b std/rt: cleanup and adding sockaddr_in6 mapping for win32 2012-06-29 15:41:56 -07:00
Jeff Olson b074774232 rename net::ip tests en masse 2012-06-29 15:41:56 -07:00
Jeff Olson b0c4b8ba18 std: fix errors from recent rebase and vec expr/type syntax update 2012-06-29 15:41:56 -07:00