Marvin Löbel
eb19462104
Converted libcore/uint-template.rs to the new string functions.
...
- Moved ToStr implementation of unsigned integers to uint-template.rs.
- Marked the `str()` function as deprecated.
- Forwarded all conversion functions to `core::num::to_str_common()`
and `core::num::from_str_common()`.
- Fixed most places in the codebase where `to_str()` is being used.
- Added uint-template to_str and from_str overflow tests.
2013-02-03 15:37:24 -08:00
Marvin Löbel
26e72bf92b
Converted libcore/int-template.rs to the new string functions.
...
- Moved ToStr implementation of integers to int-template.rs.
- Marked the `str()` function as deprecated.
- Forwarded all conversion functions to `core::num::to_str_common()`
and `core::num::from_str_common()`.
- Fixed most places in the codebase where `to_str()` is being used.
- Added int-template to_str and from_str overflow tests.
2013-02-03 15:37:24 -08:00
Marvin Löbel
5b0335ec8e
Added generic string <-> number conversion functions to core::num.
...
They unify the different implementations that exists in int-template.rs, uint-template.rs and float.rs into one pair of functions, which are also in principle usable for anything that implements the necessary numeric traits. Their usage is somewhat complex due to the large amount of arguments each one takes, but as they're not meant to be used directly that shouldn't be a problem.
2013-02-03 15:37:24 -08:00
Marvin Löbel
bb9c3ed876
Added some generic number functions to core::num
...
Also fixes previous commit not compiling due to not finding Option.
2013-02-03 15:37:24 -08:00
Marvin Löbel
05d83017ec
Added char::from_digit(), char::is_digit_radix() and an argument check to char::to_digit().
2013-02-03 15:37:24 -08:00
Marvin Löbel
d13b23f37e
Added ToStrRadix and FromStrRadix traits
2013-02-03 15:37:24 -08:00
Marvin Löbel
96f0512a45
Added Round trait to core
2013-02-03 15:37:23 -08:00
Marvin Löbel
40f0b45f8e
Moved all numeric modules in core into own directory
...
Reason: Better grouping of related modules, future-proving for a more extensive math library.
2013-02-03 15:37:23 -08:00
bors
2846e033d7
automated merge
2013-02-02 16:08:40 -08:00
Brian Anderson
8ebdb1a11b
rt: Remove some unused upcalls
2013-02-01 21:58:33 -08:00
Brian Anderson
a50d1fdbda
rt: Remove get_frame_glue_fns. Unused
2013-02-01 21:22:49 -08:00
Brian Anderson
02fbd5a164
rt: Remove circular_buffer
2013-02-01 21:22:49 -08:00
Brian Anderson
4f6516969e
rt: Remove ports
2013-02-01 21:22:49 -08:00
Brian Anderson
542bf20414
core: Remove oldcomm
2013-02-01 21:22:49 -08:00
Brian Anderson
5633783f47
rustdoc: Convert to pipes
2013-02-01 21:22:49 -08:00
Brian Anderson
90f00a1c37
rustdoc: Remove stray mode
2013-02-01 21:22:49 -08:00
Brian Anderson
b80d711912
rustdoc: Remove another use of oldcomm
2013-02-01 21:22:49 -08:00
Brian Anderson
65f711a617
rustdoc: Fix some search-and-replace fallout
2013-02-01 21:22:49 -08:00
Brian Anderson
c6e8af446f
rustdoc: Remove definitions of spawn_listener and spawn_conversation
2013-02-01 21:22:49 -08:00
Graydon Hoare
89c8ef792f
check-fast fallout from removing export, r=burningtree
2013-02-01 19:43:17 -08:00
bors
e5e52d2437
automated merge
2013-02-01 17:41:20 -08:00
Graydon Hoare
0bc13a2401
Tweak the CONTRIBUTING.md file.
2013-02-01 17:34:09 -08:00
bors
d854112cf2
automated merge
2013-02-01 17:13:42 -08:00
Graydon Hoare
3c4e30becd
README.md, mention curl not wget.
2013-02-01 17:10:36 -08:00
Daniel Micay
dffc3f82b2
vim: 'fail' is no longer a keyword
2013-02-01 19:32:03 -05:00
bors
b2c01b5892
automated merge
2013-02-01 16:26:35 -08:00
Brian Anderson
04f93be158
Fix breakage
2013-02-01 15:24:16 -08:00
Graydon Hoare
f6c84129b4
README.txt: Mention linenoise
2013-02-01 15:00:12 -08:00
Daniel Micay
6052d67474
vim: pub is just a plain old token keyword
2013-02-01 14:21:32 -05:00
Daniel Micay
00201c969d
vim: use StorageClass for mut and const
2013-02-01 14:21:32 -05:00
Daniel Micay
1c3cca8a57
vim: 'be' is a reserved keyword
2013-02-01 14:21:32 -05:00
Daniel Micay
5b47c551b9
vim: unsafe:: namespaces were renamed to raw::
2013-02-01 14:21:32 -05:00
Daniel Micay
405b868ae7
vim: add Self type
2013-02-01 14:21:25 -05:00
Brian Anderson
9dc6938292
Merge remote-tracking branch 'nickdesaulniers/issue4524' into nocomm1
2013-02-01 11:18:58 -08:00
Brian Anderson
a05bbb2013
Merge pull request #4720 from jbclements/syntactic-cleanup
...
Syntactic cleanup
2013-02-01 11:18:21 -08:00
Daniel Micay
0c1a345d01
vim: export is no longer a keyword
2013-02-01 13:20:03 -05:00
Brian Anderson
959e382377
Revert "DO NOT COMMIT"
...
This reverts commit 76679c1f91
.
2013-02-01 00:17:56 -08:00
Brian Anderson
e30388f682
Long lines
2013-02-01 00:17:07 -08:00
Brian Anderson
c1a1722ca1
rustdoc: Convert page_pass to pipes
2013-02-01 00:16:14 -08:00
Nick Desaulniers
7868b6bf55
Remove fail keyword from lexer & parser and clean up remaining calls to
...
fail
Fix merge conflicts - Issue 4524
2013-02-01 00:15:42 -08:00
Brian Anderson
76679c1f91
DO NOT COMMIT
2013-02-01 00:00:17 -08:00
Brian Anderson
63c16e9e79
rustdoc: Convert astsrv to pipes
2013-02-01 00:00:17 -08:00
John Clements
a2839246be
cleanup for make check
2013-01-31 23:05:12 -08:00
John Clements
4af7c643f2
more cleanup
2013-01-31 23:05:12 -08:00
John Clements
53688addaa
test cases, cleanup
2013-01-31 23:05:12 -08:00
Nick Desaulniers
6fb4239bb3
Replace most invocations of fail keyword with die! macro
2013-01-31 22:25:12 -08:00
Brian Anderson
e343abd0ed
mk: Remove USE_SNAPSHOT_RT, etc. Obsolete. #4713 r=graydon
2013-01-31 21:07:28 -08:00
Tim Chevalier
adb9d0e8a1
Merge pull request #4733 from thestinger/smallintmap
...
modernize smallintmap module
2013-01-31 20:23:45 -08:00
Daniel Micay
74b317ddc2
modernize smallintmap
...
* switch to explicit self
* get rid of the @ box
* replace DVec with ~[] (to get rid of the mutable field)
* implement the new container::Map trait
2013-01-31 23:22:51 -05:00
Daniel Micay
348d770fed
copy oldsmallintmap.rs to smallintmap.rs
2013-01-31 23:13:56 -05:00