Commit Graph

483 Commits

Author SHA1 Message Date
Joseph Crail c42680d21e Replace deprecated int references with i32/isize.
I replaced most int refs with i32, and I used isize to hold the number
of default digits.
2015-01-11 23:51:02 -05:00
Alex Crichton cbf04cf664 Bump to 0.1.8 2015-01-09 14:02:01 -08:00
Alex Crichton 45f5cc39bd s/bigusize/biguint/ 2015-01-09 13:54:32 -08:00
Huon Wilson 139cf8cf66 Bump to 0.1.7. 2015-01-09 22:36:03 +11:00
Alex Crichton bfa91ee92a Bump to 0.1.6 2015-01-07 12:09:44 -08:00
Alex Crichton 431dd18aff Bump version number 2015-01-04 10:57:00 -08:00
Alex Crichton c1ad386c08 Merge pull request #45 from gifnksm/master
update to rust mater
2015-01-04 12:57:33 -06:00
gifnksm 8219095e39 update to rust mater 2015-01-05 01:59:44 +09:00
Alex Crichton ce93a10ed0 Finish update and bump version number 2015-01-03 13:52:06 -08:00
Sven Nilsen ae3bb3619c Upgrade to latest Rust
A `_0` test fails, but don’t know why
2015-01-03 19:30:05 +01:00
Alex Crichton 522c97f3b8 Update travis config 2015-01-01 22:09:50 -08:00
Alex Crichton c11ff27994 Update to rust master 2015-01-01 09:07:52 -08:00
Alex Crichton 82d44da2d7 Update documentation links 2014-12-23 09:54:56 -08:00
Alex Crichton 5d4b921537 Fix build warnings 2014-12-23 09:51:08 -08:00
Alex Crichton e0e63cf241 Merge pull request #43 from zsiciarz/master
Update to latest rustc
2014-12-23 11:45:00 -06:00
Zbigniew Siciarz a006968185 Fix Ordering import 2014-12-23 17:12:57 +01:00
Zbigniew Siciarz 22c50901ff Convert Result to Option in parse_bytes.
`str::from_utf8` changed its return type to `Result`, but
`num::FromStrRadix::from_str_radix` still returns an `Option`. In this case
discarding the `Err` variant with `ok()` seems fine to me.
2014-12-23 17:09:22 +01:00
Alex Crichton f95afeb57e Bump version number 2014-12-22 09:21:37 -08:00
Alex Crichton 62f37e35de Merge pull request #42 from gifnksm/master
update to latest rustc
2014-12-21 11:34:41 -06:00
gifnksm 9316be3bc1 update to latest rustc 2014-12-21 19:41:03 +09:00
Alex Crichton 146410c918 Merge pull request #41 from code0100fun/master
Add semicolons to macro lines
2014-12-19 10:06:17 -06:00
Chase McCarthy a7e9e79049 Add semicolons to macro lines 2014-12-18 21:01:24 -05:00
Alex Crichton 5f829e7fd3 Bump version number 2014-12-16 12:45:29 -08:00
Alex Crichton 9428f0f100 Merge pull request #40 from gifnksm/master
update to latest rustc
2014-12-16 10:37:52 -05:00
gifnksm a325a566c6 update to latest rustc
Now, arithmetic binary operator traits take operands by value,
but non-copyable types such as `BigUint` should not always moved out when
applying operators.

This commit implements these operators not only for bare structs also
these references.
By-value implementations are forwarded to by-reference implementations
for now. In the future, by-value implementations may be replaced with
more efficient implementations (for example, the implementation that
reuses moved buffers.)
2014-12-16 23:44:16 +09:00
Alex Crichton 32ae02d87d Bump version number 2014-12-13 11:08:51 -08:00
Alex Crichton d6d668bf30 Merge pull request #38 from gifnksm/master
Add `deriving(Copy)` for `Copy`able structs/enums
2014-12-09 10:13:07 -05:00
gifnksm 1533fe2017 fix deperecation warning 2014-12-09 23:48:37 +09:00
gifnksm d89fbbf044 Add `deriving(Copy)` for `Copy`able structs/enums/ 2014-12-09 23:46:39 +09:00
Alex Crichton 01cc022174 Merge pull request #36 from steveklabnik/license
remove license attribute
2014-12-07 20:48:25 -05:00
Alex Crichton a237157629 Merge pull request #37 from steveklabnik/deprecated
don't allow deprecated items.
2014-12-07 20:48:18 -05:00
Steve Klabnik 253f0bd3f3 don't allow deprecated items.
We don't actually use any.
2014-12-07 13:22:01 -05:00
Steve Klabnik ecc2e5fab7 remove license attribute 2014-12-07 13:20:39 -05:00
Huon Wilson 16787045e5 Bump to 0.0.5. 2014-11-28 22:20:21 +11:00
Alex Crichton bc9f83e7d8 Merge pull request #34 from gifnksm/master
Update to iter stabilization.
2014-11-27 14:15:32 -06:00
gifnksm b20dda2307 Update to iter stabilization.
`AdditiveIterator::sum` and `MultiplicativeIterator::product` now take bare self.
2014-11-27 23:06:06 +09:00
Huon Wilson 8f8530fc00 Add keywords to cargo metadata. 2014-11-21 16:03:58 +11:00
Alex Crichton 39acd8f2fb Update tests to rust master 2014-11-20 12:21:06 -08:00
Alex Crichton 3e28201b00 Merge pull request #33 from steveklabnik/master
use crates.io in README
2014-11-20 14:13:56 -06:00
Steve Klabnik 104ccb4b03 use crates.io in README 2014-11-20 15:07:56 -05:00
Huon Wilson c7757ce7d9 Bump to 0.0.3. 2014-11-19 16:32:46 +11:00
Huon Wilson 712a4ae8b4 Add crates.io metadata to Cargo.toml. 2014-11-19 16:29:01 +11:00
Alex Crichton a8013fc60f Bump to 0.0.2 2014-11-18 21:26:43 -08:00
Alex Crichton d9fee8b585 Merge pull request #31 from gifnksm/master
Fix for namespaced enums.
2014-11-18 10:17:20 -06:00
gifnksm 233c02030d Fix for namespaced enums. 2014-11-18 21:09:53 +09:00
Alex Crichton c0df55e470 Merge pull request #30 from gifnksm/master
Add numeric functions and traits that provide numeric traits for generic mathematics.
2014-11-17 10:25:35 -06:00
gifnksm 29011d14d9 std::from_str::FromStr -> std::str::FromStr 2014-11-17 22:38:12 +09:00
gifnksm 3568298a22 Add `iter` modules for generic number iteration.
The codes are imported from the standard library.
2014-11-16 19:37:53 +09:00
gifnksm 2155e7d2ee Add numeric functions and `traits` module that provide numeric traits for generic
mathematcs.

Import numeric traits and functions that were removed from the standard library.
This also implements `AdditiveIterator` and `MultiplicativeIterator` for
`BigUint` and `BigInt`.

closes #28
2014-11-16 19:37:49 +09:00
Alex Crichton aec75185e5 Merge pull request #29 from gifnksm/master
Implements `Encodable` and `Decodable`
2014-11-13 10:44:46 -06:00