summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2014-01-08std::trie: use macros to share code between the iterator implementations.Huon Wilson-129/+126
2014-01-08std::trie: remove some obsolete internal iterators.Huon Wilson-113/+11
2014-01-08std::trie: add an mutable-values iterator.Huon Wilson-0/+168
2014-01-07auto merge of #11347 : alexcrichton/rust/issue-11346, r=brsonbors-1/+8
This ends up causing weird errors like those seen in #11346 Closes #11346
2014-01-07auto merge of #11329 : fhahn/rust/unused-cast-lint2, r=alexcrichtonbors-26/+93
Updates as mentioned in #11135
2014-01-06auto merge of #11355 : alexcrichton/rust/read-waits-forever, r=brsonbors-29/+47
All the fun is down below.
2014-01-06Fix parallel makefile buildsAlex Crichton-24/+20
All the copying of files amongst one another was apparently causing something to get corrupted. Instead of having files fly around, just update the directories to link to.
2014-01-06auto merge of #11296 : brson/rust/anti-cond, r=alexcrichtonbors-34/+48
In preparation for removing conditions.
2014-01-06auto merge of #11356 : brson/rust/0.9relnotes, r=alexcrichtonbors-1/+14
2014-01-06doc: Fix tests in pointer guideBrian Anderson-51/+58
2014-01-06Add Pointer tutorial, rename borrowed pointer tutorial.Steve Klabnik-13/+497
2014-01-06doc: Update style of index, organization and trim out some excess.Brian Anderson-144/+32
2014-01-06Added in Clone/TotalEq/TotalOrd/ToStr traits to all parts of btree.Nif Ward-115/+256
Equals is now compact and uses vec's equals method. Cmp compares all elements on branches and leaves (Nodes).
2014-01-06mk: Fix formatting of docs.mkBrian Anderson-2/+2
2014-01-06Don't read forever on a file descriptorAlex Crichton-5/+27
Similarly to the recent commit to do this for networking, there's no reason that a read on a file descriptor should continue reading until the entire buffer is full. This makes sense when dealing with literal files, but when dealing with things like stdin this doesn't make sense.
2014-01-06auto merge of #11354 : brson/rust/versionwin, r=alexcrichtonbors-2/+2
The makefiles and the windows installer disagree on the name of this file. In practical terms this change only means that the '-pre' installers will be named 'rust-0.9-pre-install.exe' instead 'rust-0.9-install.exe'.
2014-01-06Update AUTHORS.txtBrian Anderson-0/+2
2014-01-06More 0.9 release notesBrian Anderson-1/+12
2014-01-06auto merge of #11123 : alan-andrade/rust/move_wiki_to_internal_docs, r=brsonbors-46/+848
This is not done yet but I'm posting it to get feedback. The wiki has a ton of different tutorials/manuals/faq and so forth. Instead of migrating all of them right now, I just migrated the following: * The general main wiki page * Language FAQ * Project FAQ If this feels reasonable, please comment so that I can continue with confidence.
2014-01-06Delete the installer exe when cleaningBrian Anderson-1/+1
2014-01-06Use the full version string for the windows installer exeBrian Anderson-1/+1
2014-01-06rust_version.html is a HTML_DEPS and every html has it as dependecyAlan Andrade-34/+29
2014-01-06First phase of migrating the wiki to the internal docs #11078Alan Andrade-16/+823
2014-01-06Support arbitrary stdout/stderr/logger handlesAlex Crichton-159/+329
This will allow capturing of common things like logging messages, stdout prints (using stdio println), and failure messages (printed to stderr). Any new prints added to libstd should be funneled through these task handles to allow capture as well. Additionally, this commit redirects logging back through a `Logger` trait so the log level can be usefully consumed by an arbitrary logger. This commit also introduces methods to set the task-local stdout handles: * std::io::stdio::set_stdout * std::io::stdio::set_stderr * std::io::logging::set_logger These methods all return the previous logger just in case it needs to be used for inspection. I plan on using this infrastructure for extra::test soon, but we don't quite have the primitives that I'd like to use for it, so it doesn't migrate extra::test at this time. Closes #6369
2014-01-06auto merge of #10826 : SimonSapin/rust/str-insert, r=brsonbors-0/+42
I could not run the tests because of unrelated building issue, sorry about that.
2014-01-06Remove some unnecessary type castsFlorian Hahn-25/+25
Conflicts: src/librustc/middle/lint.rs
2014-01-06Add lint for unnecessary castsFlorian Hahn-1/+68
2014-01-06auto merge of #11335 : rlane/rust/fix-vector-doc, r=alexcrichtonbors-2/+1
2014-01-06auto merge of #11334 : alexcrichton/rust/fix-native-tcp, r=pcwaltonbors-4/+25
libnative erroneously would attempt to fill the entire buffer in a call to `read` before returning, when rather it should return immediately because there's not guaranteed to be any data that will ever be received again. Close #11328
2014-01-06Fix formatting of some code blocks in pdf docsMick Koch-0/+18
Code blocks apparently need to be surrounded by whitespace to be output correctly when generating pdfs
2014-01-06Register new snapshotsAlex Crichton-42/+11
2014-01-06Don't attempt duplicate outputsAlex Crichton-1/+8
This ends up causing weird errors like those seen in #11346 Closes #11346
2014-01-06auto merge of #11333 : cmr/rust/triage2, r=alexcrichtonbors-44/+95
2014-01-06auto merge of #11332 : sfackler/rust/de-at-se, r=huonwbors-61/+60
This is necessary for #11151 to make sure dtors run before the libraries are unloaded.
2014-01-06auto merge of #11327 : nielsle/rust/rustpkg_argparse, r=alexcrichtonbors-274/+331
Rearrange some code in rustpkg: * Move command line argument parsing to parse_args.rs * Introduce an enum to descibe commands such as Build, Install, and Clean. * Move sysroot from Context to BuildContext, to make parse_args more modular. This is my first pull request, so please tell me if there is anything I need to do.
2014-01-06auto merge of #11161 : eddyb/rust/de-at-visitor, r=huonwbors-1141/+1038
The primary user of `@T`/`P<T>` references from `Visitor` was `ast_map`, which in turn had two users (phase 3 in rustc and a step in loading items from metadata). Both of them have been rewritten to use `ast_map` as a folder (this might speed up the compilation time of stage2 rustc by 100-200ms just because a fold + a visit are merged together).
2014-01-06Disowned the Visitor.Eduard Burtescu-1141/+1038
2014-01-06auto merge of #11321 : huonw/rust/treemap-mut, r=alexcrichtonbors-155/+343
This requires a single `*mut` pointer to implement; I've justified its existence & correctness in the code. Also, converts the mutable and immutable iterators to share code with some macro ~~madness~~ manipulation.
2014-01-06auto merge of #11118 : jhasse/rust/patch-rustlibdir, r=alexcrichtonbors-14/+53
...stlib. Fixes #3319
2014-01-06auto merge of #11315 : alexcrichton/rust/issue-11309, r=huonwbors-1/+33
There was a scheduling race where a child may not increment the global task count before the parent exits, and the parent would then think that there are no more tasks left. Closes #11039
2014-01-06Don't wait for a full buffer when reading TCPAlex Crichton-4/+25
libnative erroneously would attempt to fill the entire buffer in a call to `read` before returning, when rather it should return immediately because there's not guaranteed to be any data that will ever be received again. Close #11328
2014-01-05doc: update reference to new vector size syntaxRich Lane-2/+1
2014-01-05Guarantee that native tasks wait for childrenAlex Crichton-1/+33
There was a scheduling race where a child may not increment the global task count before the parent exits, and the parent would then think that there are no more tasks left.
2014-01-05auto merge of #11106 : alan-andrade/rust/convert_tutorials_to_guides, r=cmrbors-51/+55
* Moved every the tutorial-*.md into its own directory `/doc/guides/` * Makefile is aware
2014-01-05auto merge of #10900 : yichoi/rust/mac_android_cross, r=alexcrichtonbors-6/+31
this patch should be followed by https://github.com/alexcrichton/libuv/pull/2
2014-01-05Convert sub tutorials into Guides #10838Alan Andrade-51/+55
Ensure configure creates doc/guides directory Fix configure makefile and tests Remove old guides dir and configure option, convert testing to guide Remove ignored files Fix submodule issue prepend dir in makefile so that bor knows how to build the docs S to uppercase
2014-01-06librustc: tidy cleanupYoung-il Choi-1/+1
2014-01-06librustc: add get_system_tools for target specific environmentYoung-il Choi-17/+24
2014-01-06librustc: move target dependent logic to back::linkYoung-il Choi-8/+18
2014-01-06librustc: ar call fix to support android cross compile on macYoung-il Choi-1/+9