]>
git.lizzy.rs Git - rust.git/log
Luqman Aden [Tue, 23 Oct 2012 01:47:14 +0000 (21:47 -0400)]
Fix compare_and_swap to not break tests.
Luqman Aden [Mon, 22 Oct 2012 02:24:56 +0000 (22:24 -0400)]
Replace rust_atomic_increment/decrement and rust_compare_and_swap_ptr with intrinsics.
Luqman Aden [Mon, 22 Oct 2012 02:23:50 +0000 (22:23 -0400)]
rustc: add new intrinsics - atomic_cxchg{_acq,_rel}
Brian Anderson [Sun, 21 Oct 2012 02:44:36 +0000 (19:44 -0700)]
Merge pull request #3823 from paulstansifer/master
Talk about ends, rather than means, in macro tutorial introduction.
Paul Stansifer [Sun, 21 Oct 2012 01:54:25 +0000 (21:54 -0400)]
Talk about ends, rather than means, in macro tutorial introduction.
Brian Anderson [Sun, 21 Oct 2012 01:30:08 +0000 (18:30 -0700)]
std: Shuffle around test ports some more
Brian Anderson [Sun, 21 Oct 2012 01:06:01 +0000 (18:06 -0700)]
Long lines
Brian Anderson [Sun, 21 Oct 2012 00:40:21 +0000 (17:40 -0700)]
Remove obsolete fixed-length string test
Brian Anderson [Sat, 20 Oct 2012 23:59:20 +0000 (16:59 -0700)]
Remove remaining uses of old fixed-length vec syntax
Brian Anderson [Sat, 20 Oct 2012 23:33:59 +0000 (16:33 -0700)]
Parse and report obsolete fixed-length vector syntax
Ben Striegel [Fri, 12 Oct 2012 03:10:17 +0000 (23:10 -0400)]
...missed a merge marker on that last rebase
Ben Striegel [Fri, 12 Oct 2012 02:47:31 +0000 (22:47 -0400)]
No longer parse old fixed-length vec sytnax
Ben Striegel [Thu, 11 Oct 2012 03:43:02 +0000 (23:43 -0400)]
Fix a pprint test for fixed-length vecs
Ben Striegel [Wed, 10 Oct 2012 04:28:04 +0000 (00:28 -0400)]
Remove old fixed-length vector syntax
Philipp Brüschweiler [Tue, 9 Oct 2012 17:42:26 +0000 (19:42 +0200)]
libsyntax: adapt the pretty printer for the new fixed size array syntax
`[int]/5` -> `[int * 5]`
Brian Anderson [Sun, 21 Oct 2012 00:41:34 +0000 (17:41 -0700)]
Add new uv functions to rustrt.def.in
Brian Anderson [Sun, 21 Oct 2012 00:24:27 +0000 (17:24 -0700)]
std: Use unique ports in tcp tests
Luqman Aden [Sat, 20 Oct 2012 23:54:08 +0000 (19:54 -0400)]
std: rename getpeername to get_peer_addr
Brian Anderson [Sat, 20 Oct 2012 23:38:31 +0000 (19:38 -0400)]
std: Add test for getpeername
Luqman Aden [Sat, 20 Oct 2012 02:51:33 +0000 (22:51 -0400)]
uv: use just getpeername for both ipv4 and ipv6.
Luqman Aden [Fri, 19 Oct 2012 23:28:58 +0000 (19:28 -0400)]
uv: implement a way to get client's ip/port.
Brian Anderson [Sat, 20 Oct 2012 21:52:31 +0000 (14:52 -0700)]
Fix run-pass/issue-2895 for 32-bit archs
Brian Anderson [Sat, 20 Oct 2012 21:27:56 +0000 (14:27 -0700)]
Some tweaks to the valgrind makefile code
This reenables valgrinding of the compiler and prints a message
when the user _is_ valgrinding
Mahmut Bulut [Mon, 15 Oct 2012 20:30:06 +0000 (23:30 +0300)]
Valgrind check disable
Graydon Hoare [Fri, 19 Oct 2012 21:46:32 +0000 (14:46 -0700)]
core: add 3rd proposed interface (trap/in) to conditions.
Tim Chevalier [Fri, 19 Oct 2012 19:31:54 +0000 (12:31 -0700)]
Add Mahmut Bulut to AUTHORS
Mahmut Bulut [Mon, 15 Oct 2012 20:53:16 +0000 (23:53 +0300)]
Renaming trait name UniqueStr to Trimmable
Tim Chevalier [Fri, 19 Oct 2012 18:44:01 +0000 (11:44 -0700)]
Fix Windows breakage
Tim Chevalier [Fri, 19 Oct 2012 18:37:00 +0000 (11:37 -0700)]
Remove superfluous by-ref in option::get, option::get_default, option::expect
Superficial change, no review.
Graydon Hoare [Fri, 19 Oct 2012 02:47:19 +0000 (19:47 -0700)]
core: add potential "simpler interface" to core::condition, also reduce TLS hits.
Graydon Hoare [Fri, 19 Oct 2012 01:45:33 +0000 (18:45 -0700)]
core: Add type params to condition handling so interface is safe.
Tim Chevalier [Fri, 19 Oct 2012 02:17:04 +0000 (19:17 -0700)]
Add Luqman Aden to AUTHORS
Tim Chevalier [Fri, 19 Oct 2012 02:15:16 +0000 (19:15 -0700)]
Merge pull request #3811 from luqmana/incoming
configure: check for pandoc version properly.
Luqman Aden [Fri, 19 Oct 2012 00:58:57 +0000 (20:58 -0400)]
configure: check for pandoc version properly.
Graydon Hoare [Thu, 18 Oct 2012 20:05:02 +0000 (13:05 -0700)]
configure: note dep on head.
Graydon Hoare [Thu, 18 Oct 2012 20:04:52 +0000 (13:04 -0700)]
configure: fix use of bash-specific here strings (also awk, please no more deps).
Graydon Hoare [Thu, 18 Oct 2012 19:27:09 +0000 (12:27 -0700)]
core: add previous-handler save and restore for proper nesting.
Patrick Walton [Thu, 18 Oct 2012 20:29:34 +0000 (13:29 -0700)]
rustc: Implement intra-crate static methods on anonymous trait implementations. r=nmatsakis
Erick Tryzelaar [Thu, 18 Oct 2012 18:53:27 +0000 (11:53 -0700)]
Revert "Simplify str::to_managed"
This reverts commit
ac50046a111a1ef6fb58b7e5f368ff6b9b55f89c .
Tim Chevalier [Thu, 18 Oct 2012 21:05:09 +0000 (14:05 -0700)]
Merge pull request #3803 from tychosci/readclose
Make some string operations UTF-8 safe
Tim Chevalier [Thu, 18 Oct 2012 19:25:11 +0000 (12:25 -0700)]
Merge pull request #3802 from rfw/fix_pandoc_configure
Check pandoc's version correctly for >=1.10.
Tim Chevalier [Thu, 18 Oct 2012 19:09:44 +0000 (12:09 -0700)]
Remove dead type definition
Patrick Walton [Thu, 18 Oct 2012 19:08:52 +0000 (12:08 -0700)]
test: Fix failing tests. r=rustbot
Tim Chevalier [Thu, 18 Oct 2012 18:12:32 +0000 (11:12 -0700)]
Merge pull request #3805 from erickt/incoming
Variety of small cleanups
Erick Tryzelaar [Thu, 18 Oct 2012 18:04:59 +0000 (11:04 -0700)]
Rename str::to_unique to str::to_owned.
Erick Tryzelaar [Thu, 18 Oct 2012 18:04:32 +0000 (11:04 -0700)]
Simplify str::to_managed
Erick Tryzelaar [Thu, 18 Oct 2012 16:14:11 +0000 (09:14 -0700)]
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.
Erick Tryzelaar [Thu, 18 Oct 2012 16:10:37 +0000 (09:10 -0700)]
libcore: call [u8] values bytes, not bufs
Erick Tryzelaar [Thu, 18 Oct 2012 16:06:53 +0000 (09:06 -0700)]
Rewrite io::ByteBuf into a struct
Erick Tryzelaar [Thu, 18 Oct 2012 16:04:47 +0000 (09:04 -0700)]
Make with_bytes_reader/with_bytes_writer pure
Erick Tryzelaar [Thu, 18 Oct 2012 15:03:04 +0000 (08:03 -0700)]
rustc: optimize away some mallocs when building GEP args
Tycho Sci [Thu, 18 Oct 2012 13:13:01 +0000 (22:13 +0900)]
rustdoc: Make markdown_writer::pandoc_writer UTF-8 safe
Tycho Sci [Thu, 18 Oct 2012 13:11:03 +0000 (22:11 +0900)]
libcore: Make run::program_output UTF-8 safe
Tony Young [Thu, 18 Oct 2012 09:56:22 +0000 (22:56 +1300)]
Check pandoc's version correctly for >=1.10.
Tim Chevalier [Thu, 18 Oct 2012 01:44:58 +0000 (18:44 -0700)]
Merge pull request #3799 from paulstansifer/master
Add examples to the parsing limitations section of the macro tutorial.
Paul Stansifer [Thu, 18 Oct 2012 01:40:39 +0000 (21:40 -0400)]
Add examples to the parsing limitations section of the macro tutorial.
(Thanks to bstrie for pointing them out!)
Graydon Hoare [Wed, 17 Oct 2012 23:40:18 +0000 (16:40 -0700)]
core: first working sketch of a condition system.
Philipp Brüschweiler [Tue, 9 Oct 2012 09:59:03 +0000 (11:59 +0200)]
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.
Tim Chevalier [Wed, 17 Oct 2012 20:47:24 +0000 (13:47 -0700)]
Fix copy warnings in str
Tim Chevalier [Wed, 17 Oct 2012 20:47:24 +0000 (13:47 -0700)]
Fix copy warnings in str
Arkaitz Jimenez [Tue, 16 Oct 2012 22:12:07 +0000 (00:12 +0200)]
Enable configure to detect 32 bit systems on 64 bit kernels
These systems run 32 bit binaries so arch needs to be forced
to 32 bits.
Tim Chevalier [Wed, 17 Oct 2012 20:05:04 +0000 (13:05 -0700)]
Merge pull request #3739 from killerswan/usagemsg
Add a module to getopts for verbose option group declaration (and use it in rustc)
Tim Chevalier [Wed, 17 Oct 2012 19:59:10 +0000 (12:59 -0700)]
Fix whitespace
Daniel Patterson [Thu, 4 Oct 2012 22:18:02 +0000 (18:18 -0400)]
std::treemap - changing types to reflect constraints, adding equality check (space expensive)
Tim Chevalier [Wed, 17 Oct 2012 19:16:57 +0000 (12:16 -0700)]
Fix long lines
Kevin Cantu [Thu, 11 Oct 2012 23:54:31 +0000 (16:54 -0700)]
Add a module to getopts to support verbose option definition
This is built on top of the existing functionality, but
adds a `groups` module which defines functions allowing
the user to specify whole short/long/description groups
at once and provides a usage message.
Tim Chevalier [Wed, 17 Oct 2012 18:23:02 +0000 (11:23 -0700)]
Line length
Tim Chevalier [Wed, 17 Oct 2012 18:21:45 +0000 (11:21 -0700)]
word => word_space
Jyun-Yan You [Sun, 14 Oct 2012 16:19:54 +0000 (00:19 +0800)]
remove duplicate visibility and fix indentation
Jyun-Yan You [Mon, 8 Oct 2012 08:36:09 +0000 (16:36 +0800)]
fix the indentation of foreign constant
Ben Striegel [Sat, 13 Oct 2012 01:47:46 +0000 (21:47 -0400)]
Extraneous sigil patrol: turn &[] literals into []
Ben Striegel [Sat, 13 Oct 2012 00:48:45 +0000 (20:48 -0400)]
Sigil patrol: change fn@ fn& fn~ to @fn &fn ~fn
This also involves removing references to the old long-form closure
syntax, which pcwalton alleges is deprecated and which was never updated
for the new forms, e.g. `@fn() {}` is illegal.
Ben Striegel [Fri, 12 Oct 2012 23:41:16 +0000 (19:41 -0400)]
Extraneous sigil patrol: ~"string literals"
Tim Chevalier [Wed, 17 Oct 2012 18:07:01 +0000 (11:07 -0700)]
Merge pull request #3764 from lucab/lucab/to-upstream/pull-3
Use gpgv for signature verification in cargo
Tim Chevalier [Wed, 17 Oct 2012 18:04:50 +0000 (11:04 -0700)]
Merge pull request #3719 from lucab/lucab/to-upstream/pull-2
Fix #3701: rustllvm conditional build
Tim Chevalier [Wed, 17 Oct 2012 18:03:58 +0000 (11:03 -0700)]
Merge pull request #3706 from erickt/str-with-capacity
libcore: add a str::with_capacity to match the fn in vec
Tim Chevalier [Wed, 17 Oct 2012 18:00:36 +0000 (11:00 -0700)]
Merge pull request #3716 from Blei/fix-3656
rustc: fix size computation of structs for the FFI
Tim Chevalier [Wed, 17 Oct 2012 17:39:01 +0000 (10:39 -0700)]
Export std::net_url::encode_component
Tim Chevalier [Wed, 17 Oct 2012 05:13:55 +0000 (22:13 -0700)]
Remove integer suffixes
Tim Chevalier [Wed, 17 Oct 2012 05:13:41 +0000 (22:13 -0700)]
Change a use of map::get to map::find
Niko Matsakis [Wed, 17 Oct 2012 03:19:34 +0000 (20:19 -0700)]
add missing pub from multifile example in sec 12.3
Patrick Walton [Tue, 16 Oct 2012 01:04:15 +0000 (18:04 -0700)]
rustc: Implement intra-crate static methods on anonymous trait implementations.
Tim Chevalier [Tue, 16 Oct 2012 00:18:45 +0000 (17:18 -0700)]
In ty::normalize_ty, don't replace self_regions with None
Instead, replace with re_static. This was causing ty::subst to
fail when called from trans::type_of::type_of.
Already discussed with nmatsakis and it's a small change, so
no review.
Closes #3447
Tim Chevalier [Tue, 16 Oct 2012 00:12:42 +0000 (17:12 -0700)]
Add test for Issue 2823
Tim Chevalier [Tue, 16 Oct 2012 00:09:05 +0000 (17:09 -0700)]
Add test case for Issue 2895
Tim Chevalier [Mon, 15 Oct 2012 22:29:45 +0000 (15:29 -0700)]
Error out in resolve if structs try to capture type parameters
Closes #3214
Patrick Walton [Mon, 15 Oct 2012 21:56:42 +0000 (14:56 -0700)]
rustc: Merge module and type namespaces. r=brson
Tim Chevalier [Mon, 15 Oct 2012 21:33:32 +0000 (14:33 -0700)]
Add test cases for #3668
Previous commits fix the issue.
Closes #3668
Tim Chevalier [Mon, 15 Oct 2012 21:17:16 +0000 (14:17 -0700)]
Un-xfail test for #3521; it works now
Closes #3521
Patrick Walton [Mon, 8 Oct 2012 19:39:30 +0000 (12:39 -0700)]
rustc: Implement monomorphic default methods. r=nmatsakis
Niko Matsakis [Sun, 14 Oct 2012 20:39:17 +0000 (13:39 -0700)]
Check whether loans conflict with old loans or with themselves.
Along the way, convert from dvec-of-dvec representation to track loans in scope
to just a single flattened list. It's more convenient.
Fixes #3765. r+ pcwalton.
Tim Chevalier [Mon, 15 Oct 2012 20:14:23 +0000 (13:14 -0700)]
Fix whitespace
Tim Chevalier [Mon, 15 Oct 2012 19:27:09 +0000 (12:27 -0700)]
Allow enum discriminator exprs to refer to declared consts
Also some work towards #3521
Closes #2428
Tim Chevalier [Mon, 15 Oct 2012 19:00:32 +0000 (12:00 -0700)]
Add various test cases (xfailed)
Erick Tryzelaar [Sat, 13 Oct 2012 16:11:33 +0000 (09:11 -0700)]
libstd: make Serializer a trait-level typaram
Luca Bruno [Sun, 14 Oct 2012 12:45:21 +0000 (14:45 +0200)]
Use gpgv for signature verification in cargo
Parsing gpg output for signature verification is not recommended,
as it can break easily (and doesn't work with i18n).
This patch makes use of gpgv, as suggested by gpg authors:
http://lists.gnupg.org/pipermail/gnupg-users/2004-August/023141.html
This closes #3762.
Signed-off-by: Luca Bruno <lucab@debian.org>
Gareth Daniel Smith [Sat, 6 Oct 2012 10:11:06 +0000 (11:11 +0100)]
Implement to_managed without using an upcall function, as suggested by brson.
Gareth Daniel Smith [Thu, 4 Oct 2012 19:22:53 +0000 (20:22 +0100)]
Add an &str.to_managed method to allow creating non-constant @str values (for issue #3433).
Tim Chevalier [Sat, 13 Oct 2012 05:15:13 +0000 (22:15 -0700)]
Avoid repeating 'try adding a move' hint
Tim Chevalier [Sat, 13 Oct 2012 03:59:44 +0000 (20:59 -0700)]
Remove unneeded parens