Dan Luu
78bc10d94b
Doc review, as requested :-).
...
Mostly just phrasing things differently, which is a matter of taste. Feel free to use or not use any of the changes I'm suggesting.
I would say this one thing should be changed, though, not necessarily the way I changed it here.
* Convert any string (literal, `@`, `&`, `~`)
* that contains a base64 encoded value, to the byte values it encodes.
If this structure is going to be used, either the entire clause, 'that contains a base64 encoded value', should be bracketed by commas, or the comma at the end of the clause should be removed.
2013-04-13 16:17:30 -04:00
Leah Hanson
8e64b61df9
move rustdoc comments so that they attach to the functions rather than the impl blocks.
2013-04-13 08:11:39 -04:00
Leah Hanson
27a0269501
Add comments for the implementations of from_base64 and to_base64 for .
2013-04-12 22:15:56 -04:00
Leah Hanson
2ec2d99bbd
add rustdoc comments with examples for the string versions of to_base64 and from_base64
2013-04-12 09:41:07 -04:00
bors
5f13e9ccc2
auto merge of #5678 : Thiez/rust/no-Mut, r=thestinger
...
This pull request completely removes Mut<T> and the associated file (libcore/mutable.rs). Some minor changes were made to workcache (libstd/workcache.rs) as it was using Mut.
r?
2013-04-02 13:36:51 -07:00
Matthijs Hofstra
f43e6af38d
Removed libcore/mutable.rs, Mut<T> is now dead.
2013-04-02 21:15:23 +02:00
Matthijs Hofstra
f2bc28c24f
Removed all uses of Mut from workcache, replaced with @mut
2013-04-02 21:15:11 +02:00
Matthijs Hofstra
ca52d08c4b
Removed mut-fields from Mut, removed borrow_const from Mut
2013-04-02 20:47:29 +02:00
Graydon Hoare
00dbbd01c2
Update COPYRIGHT
2013-04-02 11:07:11 -07:00
bors
2815742ba5
auto merge of #5669 : graydon/rust/tweaks, r=thestinger
...
Just some minor cleanup of version strings and copyrights.
2013-04-01 18:00:43 -07:00
bors
78b53718a8
auto merge of #5667 : graydon/rust/remove-a-mode, r=catamorphism
...
It seems nobody can figure out whether this is _supposed to_ make a difference anymore, and in testing it seems to work either way, so I removed it. One less alarming warning during a fresh build.
2013-04-01 17:00:42 -07:00
Graydon Hoare
951f460aa8
tidy version numbers and copyright dates
2013-04-01 16:15:49 -07:00
bors
d1935898ed
auto merge of #5662 : catamorphism/rust/docs, r=catamorphism
...
r? @brson
2013-04-01 16:03:47 -07:00
Tim Chevalier
ce09645591
docs: Xfail test, it's just for illustration anyway
2013-04-01 15:21:22 -07:00
bors
dc60788215
auto merge of #5660 : brson/rust/doc, r=catamorphism
2013-04-01 15:12:43 -07:00
Brian Anderson
243e601e51
doc: Update tutorial description of core
2013-04-01 14:30:14 -07:00
Brian Anderson
37634f3363
core: Update libc docs to clarify usage
2013-04-01 14:29:09 -07:00
Graydon Hoare
0647a0fc28
remove stray mode on callback, seems to not change anything
2013-04-01 14:18:07 -07:00
Tim Chevalier
dbeea18fc5
docs: Document language items, as per #3342
2013-04-01 14:05:03 -07:00
bors
8e9fd72d05
auto merge of #5655 : thestinger/rust/arm, r=brson
...
Turns out @ isn't valid for the ARM assembler.
2013-03-31 21:54:41 -07:00
Daniel Micay
26fc76acb6
rt/arch/arm: fix syntax used for noexec stack
2013-04-01 00:31:22 -04:00
bors
bd7eb7e0f9
auto merge of #5653 : brson/rust/warnings, r=brson
2013-03-31 20:36:40 -07:00
Brian Anderson
e3327d3833
Fix warnings
2013-03-31 20:22:47 -07:00
bors
be792589d0
auto merge of #5651 : luqmana/rust/incoming, r=thestinger
...
Change fn() -> &fn().
2013-03-31 19:33:40 -07:00
Luqman Aden
d617030d63
Update tutorial.md
...
Change fn() -> &fn().
2013-03-31 18:34:51 -07:00
bors
686f448b0c
auto merge of #5649 : thestinger/rust/lib, r=brson
...
There's no reason to make them executable, and this throws a warning
with the Arch Linux package lint tool (namcap) for .a files.
2013-03-31 18:15:40 -07:00
bors
b9c7ee5cfa
auto merge of #5647 : thestinger/rust/execstack, r=brson
...
Closes #5643
2013-03-31 17:06:42 -07:00
Daniel Micay
431380f011
install.mk: use INSTALL_LIB for all libraries
...
There's no reason to make them executable, and this throws a warning
with the Arch Linux package lint tool (namcap) for .a files.
2013-03-31 19:14:02 -04:00
bors
f336afd459
auto merge of #5648 : luqmana/rust/incoming, r=thestinger
...
Fix typo and add fixed length vec changes.
2013-03-31 16:09:40 -07:00
Daniel Micay
c0be7df5de
mark the assembly object stacks as non-executable
...
Closes #5643
This also removes the need to pass noexecstack to gcc, but that wasn't
actually working anymore.
2013-03-31 18:23:05 -04:00
bors
fb5f020cc2
auto merge of #5611 : Kimundi/rust/incoming, r=catamorphism
2013-03-31 15:21:42 -07:00
Luqman Aden
4c58903454
Update RELEASES.txt
...
Fix typo and add fixed length vec changes.
2013-03-31 15:00:09 -07:00
Marvin Löbel
df66e8d4a1
Fix underflow in char_range_at_reverse
...
Added char_range_at_reverse underflow test
2013-03-31 10:03:52 +02:00
bors
75d615d6f6
auto merge of #5637 : luqmana/rust/5423, r=brson
...
Fixes #5423 .
2013-03-30 22:06:41 -07:00
bors
042a66514d
auto merge of #5638 : luqmana/rust/5405, r=brson
...
#5405
Also, renames the confusingly named `use_new_rt` in `libcore/unstable/lang.rs`
2013-03-30 20:45:42 -07:00
Luqman Aden
74d20b46c5
Rename confusing var, use_new_rt -> use_old_rt.
2013-03-30 20:00:19 -07:00
Luqman Aden
eadd358b2a
Correct type signature for start lang item.
2013-03-30 19:59:21 -07:00
bors
bd7ba1fa62
auto merge of #5634 : thestinger/rust/dlist, r=brson,thestinger
...
Closes #3549
The issue report has some reasoning, but I'd like to add that I don't think managed pointers belong in core. It's *possible* to write a safe doubly-linked list on top of `unsafe`, but it would be much more limited and I don't think there's much of a use case - it would lose a lot of flexibility. You're probably better off using a vector, hash table, tree, heap or ring buffer in almost every case.
2013-03-30 19:51:40 -07:00
Luqman Aden
02700e0e8d
libsyntax: Update abi constants. Fixes #5423 .
2013-03-30 19:28:50 -07:00
Daniel Micay
258a36738e
move dlist from core -> std
...
Closes #3549
2013-03-30 21:06:26 -04:00
bors
8e30d3fc0b
auto merge of #5636 : thestinger/rust/vim, r=luqmana
2013-03-30 16:33:41 -07:00
bors
6dd20c8186
auto merge of #5630 : erickt/rust/serial, r=erickt
...
@nikomatsakis and I were talking about how the serializers were a bit too complicated. None of the users of With the `emit_option` and `read_option` functions, the serializers are now moving more high level. This patch series continues that trend. I've removed support for emitting specific string and vec types, and added support for emitting mapping types.
2013-03-30 15:42:43 -07:00
Daniel Micay
47011e3b71
vim: use Operator group for 'as'
2013-03-30 18:19:47 -04:00
Daniel Micay
6442b1c0e7
vim: separate the conditional keywords
2013-03-30 18:17:13 -04:00
Daniel Micay
b0f66c4732
vim: mark Todo as contained and rm unsafe from it
...
It's nice to make unsafe stand out, but this way isn't correct because it
highlights it in comments.
2013-03-30 18:17:13 -04:00
Daniel Micay
7142cdef1e
vim: highlight ref + static as storage specifiers
...
lifetimes and globals are now the only two places static is used, and
'static isn't matched by this
2013-03-30 18:16:53 -04:00
Erick Tryzelaar
810c4d8a1e
rustc: fix astencode test
2013-03-30 15:04:24 -07:00
Daniel Micay
0224eb3d32
vim: assert and pure keywords were removed
2013-03-30 17:54:24 -04:00
Erick Tryzelaar
5b7d608bf6
std: add more json decoder tests.
2013-03-30 13:31:03 -07:00
Erick Tryzelaar
f364cf5463
syntax: fix auto_encode test.
2013-03-30 13:24:52 -07:00