about summary refs log tree commit diff
path: root/src/libcore/extfmt.rs
AgeCommit message (Collapse)AuthorLines
2013-02-21Moved core::extfmt to core::private::extfmtMarvin Löbel-676/+0
Needs a snapshot to remove stage0 extfmt export in core
2013-02-15libcore: Get rid of `move`.Luqman Aden-9/+9
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-1/+1
2013-02-07core: Remove structural records from the rest of core, except pipesTim Chevalier-8/+5
That will, sadly, require one more snapshot.
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-05MergeTim Chevalier-3/+3
2013-02-03Converted the floating point types to the new string conversion functions.Marvin Löbel-1/+1
Also fixed all conflicting calls of the old functions in the rest of the codebase. The set of string conversion functions for each float type now consists of those items: - to_str(), converts to number in base 10 - to_str_hex(), converts to number in base 16 - to_str_radix(), converts to number in given radix - to_str_exact(), converts to number in base 10 with a exact number of trailing digits - to_str_digits(), converts to number in base 10 with a maximum number of trailing digits - implementations for to_str::ToStr and num::ToStrRadix - from_str(), parses a string as number in base 10 including decimal exponent and special values - from_str_hex(), parses a string as a number in base 16 including binary exponent and special values - from_str_radix(), parses a string as a number in a given base excluding any exponent and special values - implementations for from_str::FromStr and num::FromStrRadix
2013-02-03Converted libcore/uint-template.rs to the new string functions.Marvin Löbel-1/+1
- 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-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-31core: Remove transitional codeTim Chevalier-6/+0
2013-01-28core: Allow legacy records in in a few modulesTim Chevalier-0/+3
Because of macros, #[allow(structural_records]] in extfmt, gc, os, pipes, and run. Will need a snapshot.
2013-01-24Convert extfmt::rt::Conv into a structErick Tryzelaar-4/+25
2013-01-24Fix a typoErick Tryzelaar-1/+1
2013-01-09core: ignore recent should_fail tests on windowsGraydon Hoare-0/+2
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-2/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2013-01-07fmt: add unit testsAndrew Paseltiner-0/+122
2013-01-07fmt: derive Eq for all typesAndrew Paseltiner-0/+8
2013-01-07fmt: fix formatting and styleAndrew Paseltiner-64/+75
2013-01-07fmt: simplify parse_fmt_stringAndrew Paseltiner-22/+24
2013-01-07fmt: simplify parse_conversionAndrew Paseltiner-5/+7
2013-01-07fmt: simplify parse_parameterAndrew Paseltiner-11/+5
2013-01-07fmt: simplify parse_precisionAndrew Paseltiner-4/+2
2013-01-07fmt: simplify parse_countAndrew Paseltiner-4/+3
2013-01-07fmt: simplify parse_flagsAndrew Paseltiner-24/+17
2013-01-07fmt: simplify parse_typeAndrew Paseltiner-26/+15
2013-01-07fmt: replace parse_* structural records with struct Parsed<T>Andrew Paseltiner-40/+51
2013-01-07fmt: replace Conv record with struct ConvAndrew Paseltiner-3/+3
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-1/+11
contain at least two components. r=graydon
2012-12-13Replace some Eq impls with deriving_eqBrian Anderson-16/+1
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Register snapshotsBrian Anderson-19/+0
2012-11-19Merge pull request #4001 from jesse99/features/docsGraydon Hoare-1/+46
Features/docs
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+19
2012-11-18Fixed lint problemsJesse Jones-10/+16
2012-11-18Documented fmt! expression syntax.Jesse Jones-1/+40
Closes #3280
2012-11-07rustc: Support irrefutable patterns in function arguments. r=nmatsakisPatrick Walton-8/+8
2012-11-03Remove stage0 stuff that was awaiting snapshotTim Chevalier-65/+0
and re-register snapshots Just removing unneeded code, no review
2012-11-02Fix #1996 (pending snapshot)Tim Chevalier-13/+76
Change int to uint in some extfmt code. Remove the #[cfg(stage0)] code after a snapshot.
2012-10-18Rename str::to_unique to str::to_owned.Erick Tryzelaar-2/+2
2012-10-12Make moves explicit in core testsTim Chevalier-7/+7
2012-10-04Remove code that was waiting for a snapshotTim Chevalier-196/+3
extfmt is now demoded
2012-10-04De-export extfmt. Part of #3583.Graydon Hoare-69/+69
2012-10-02Removing explicit uses of + modeTim Chevalier-5/+5
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-10-01Call 'new' instead of 'old' extfmt code, preparing for snapshotTim Chevalier-8/+11
2012-09-28Demode extfmtTim Chevalier-39/+44
Needs a snapshot before this can be completed, because I changed the mode for conv_poly.
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-2/+2
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-36/+0
2012-09-21Revert "core: De-export at_vec and extfmt"Brian Anderson-56/+52
This reverts commit 6267d8a94a7a215be446f5a431a1aae029a4e357.