about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2013-05-20getting rid of interner_key! macroJohn Clements-125/+60
2013-05-20hygiene infrastructure.John Clements-110/+194
- added a hash table to memoize rename and mark operations. - added rename, mark, and resolve fold fns
2013-05-20detect unused attrs in one more place, allow parsing to continue for allJohn Clements-28/+57
changed a bunch of fatal()'s into err()'s, to allow parsing to proceed.
2013-05-20parser commentJohn Clements-0/+1
2013-05-20refactoring test functionsJohn Clements-70/+105
2013-05-20auto merge of #6644 : steveklabnik/rust/remove_unsafe_warning, r=bstriebors-6/+2
Since a snapshot was done last night, these are good to go.
2013-05-20auto merge of #6643 : sanxiyn/rust/legacy-modes, r=bstriebors-16/+3
2013-05-20Remove two warnings about unneccesary safe blocks.Steve Klabnik-6/+2
Since a snapshot was done last night, these are good to go.
2013-05-21Remove legacy_modesSeo Sanghyeon-16/+3
2013-05-20Remove outdated function transmute_for_stage0Björn Steinbrink-19/+15
The function was a workaround for bootstrapping that isn't required anymore and just degrades hashmap performance, as it doesn't get inlined cross-crate and turns a no-op into a call.
2013-05-20auto merge of #6635 : brson/rust/snapshot, r=brsonbors-9844/+24
2013-05-20auto merge of #6632 : steveklabnik/rust/remove_more_warnings, r=thestingerbors-18/+7
With this, the build is almost 100% warning free. One more can be fixed after the next snapshot, and there's one other that I filed an issue about already.
2013-05-20auto merge of #6629 : steveklabnik/rust/remove_uvio_warnings, r=catamorphismbors-8/+1
Mostly of the 'unused imports' kind. I'm unsure about the 'no unsafe' bit, but that's what it says...
2013-05-19Register snapshotsBrian Anderson-9844/+24
2013-05-19auto merge of #6621 : steveklabnik/rust/expand_reader_docs, r=thestingerbors-3/+13
Had a conversation with @cmr in IRC about some places that these docs were confusing. The functions that advance the stream now say so. In addition, I think that calling out the similarities to familliar C functions should help people coming from other languages.
2013-05-19auto merge of #6627 : steveklabnik/rust/remove_warnings, ↵bors-5/+0
r=thestinger,catamorphism These imports were not being used.
2013-05-19Add a few 'function's.Steve Klabnik-2/+2
This is now 100% consistent. Whoops!
2013-05-19Fix many warnings.Steve Klabnik-18/+7
2013-05-19auto merge of #6624 : steveklabnik/rust/io_prelude, r=catamorphismbors-1/+31
Let's actually give a top-level description of what's in here, eh?
2013-05-19Remove more warnings.Steve Klabnik-8/+1
Mostly of the 'unused imports' kind.
2013-05-19auto merge of #6625 : cmr/rust/constops, r=Aatchbors-14/+177
2013-05-19Removing some warnings from logging.rsSteve Klabnik-5/+0
These imports were not being used.
2013-05-19Fix wording per feedbackSteve Klabnik-2/+2
Thanks @catamorphism!
2013-05-19Test fixes, use LLVMConstFCmp in ConstFCmpCorey Richardson-12/+12
2013-05-19Fix LLVMConst{I,F}CmpCorey Richardson-20/+30
2013-05-19Implement unimplemented const binopsCorey Richardson-12/+165
2013-05-19Add a better introduction for the io module.Steve Klabnik-1/+31
Let's actually give a top-level description of what's in here, eh?
2013-05-19auto merge of #6619 : steveklabnik/rust/stdout_docs, r=thestingerbors-0/+44
Added docs for stdout, stderr, print, and println.
2013-05-19Explain an odd conditional check.Tom Lee-0/+11
2013-05-19Remove unused variable.Tom Lee-1/+0
2013-05-19Reexport static trait methods on traits in the same module.Tom Lee-2/+16
2013-05-19Fix trailing whitespaceSteve Klabnik-2/+2
2013-05-19Elaborate a bit in the Reader docs regarding stream position.Steve Klabnik-3/+13
Had a conversation with @cmr in IRC about some places that these docs were confusing. The functions that advance the stream now say so. In addition, I think that calling out the similarities to familliar C functions should help people coming from other languages.
2013-05-19Added note about prelude inclusion.Steve Klabnik-2/+4
2013-05-19Add docs for stdin in core::io.Steve Klabnik-0/+10
2013-05-19Add additional documentation in core::io.Steve Klabnik-0/+42
Added docs for stdout, stderr, print, and println.
2013-05-19auto merge of #6106 : thestinger/rust/iter, r=bstriebors-53/+27
I don't have a strong opinion on the function vs. method, but there's no point in having both. I'd like to make a `repeat` adaptor like Python/Haskell for turning a value into an infinite stream of the value, so this has to at least be renamed.
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-2831/+2831
2013-05-19auto merge of #6595 : bjz/rust/core-tuple, r=thestingerbors-278/+293
2013-05-19Correct tuple Ord impl, add Total{Eq,Ord} impls and add some tests.Huon Wilson-19/+87
2013-05-18auto merge of #6603 : thestinger/rust/whitespace, r=thestingerbors-15/+4
2013-05-18auto merge of #6606 : thestinger/rust/vers, r=brsonbors-27/+26
I don't see a reason to encode this information in all the `extern mod` statements, it's not a precise enough version to actually provide any sort of robustness.
2013-05-19reduce the usage of explicit version markersDaniel Micay-27/+26
2013-05-18auto merge of #6589 : thestinger/rust/iterator, r=thestingerbors-76/+27
2013-05-18minor automated whitespace fixesDaniel Micay-15/+4
2013-05-18fix stage0 compileDaniel Micay-0/+2
2013-05-18auto merge of #6577 : brson/rust/io-upstream, r=pcwaltonbors-1413/+4138
r? This is all of my scheduler work on #4419 from the last 3 weeks or so. I've had a few failed pull requests so far but I think the problems are ironed out. * TCP * The beginnings of runtime embedding APIs * Porting various corners of core to be compatible with both schedulers * libuv timer bindings * Further refinement of I/O error handling, including a new, incomplete, `read_error` condition * Incomplete refactoring to make tasks work without coroutines and user-space scheduling * Implementations of Reader/Writer extension methods * Implementations of the most important part of core::comm I'm particularly happy with how easy the [comm types on top of the scheduler](https://github.com/brson/rust/blob/io-upstream/src/libcore/rt/comm.rs). Note that these implementations do not use pipes. If anything here needs careful review though it's this code. This branch passes 95% of the run-pass tests (with `TESTARGS=--newrt`) In the next week I'll probably spend some time adding preliminary multithreading and seeing how close we are to removing the old runtime.
2013-05-18xfail-fast run-pass/core-rt-smokeBrian Anderson-0/+2
2013-05-19Use `///` style doc-comments and add missing headingsBrendan Zabarauskas-72/+83
2013-05-19Code modernisation and cleanupBrendan Zabarauskas-64/+100