about summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-11-25Add improvements to insert_with_keyKevin Cantu-16/+122
This commit adds a lower-level implementation of the generic `insert_with_key` which I expect to be faster. Now insert could be defined with insert_with_key, too, although I'm not sure we want to do that. This also clarifies the tests a bit and adds an `insert_with` function.
2012-11-25Test insert_with_key...Kevin Cantu-0/+21
2012-11-25Add an insert_with_key function to the Map traitKevin Cantu-1/+31
2012-11-24Long linesTim Chevalier-8/+16
2012-11-24Split EBML module into a reader and a writer moduleTim Chevalier-466/+474
Minor refactoring, no review. Closes #2739
2012-11-24[libstd] getopts, now with fewer copiesTim Chevalier-39/+39
Change the opt_ functions in getopts to take a reference to a Matches, instead of taking a Matches by-value, as suggested in
2012-11-22std: try to fix breakage.Graydon Hoare-8/+6
2012-11-22std: initial sketch of workcache, barely does anything.Graydon Hoare-0/+312
2012-11-21change json::Deserializer to take a json enumErick Tryzelaar-8/+2
This allows the deserializer to be used on an already parsed json object.
2012-11-20libstd: fix warnings in sortErick Tryzelaar-14/+14
2012-11-20Remove parentheses from closure argument typesErick Tryzelaar-7/+7
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-5/+527
2012-11-18WhitespaceBrian Anderson-1/+1
2012-11-18Merge pull request #3998 from jesse99/feature/getoptsTim Chevalier-0/+75
Added support for options that take no arguments and may be repeated.
2012-11-18Fixing warnings for long and blank linesJesse Jones-10/+11
2012-11-18Made merge_sort pureJesse Jones-2/+2
2012-11-18Made more stuff pure.Jesse Jones-95/+97
escape functions in char, io.with_str_reader, base64 and md5sum, cell.empty_cell and is_empty.
2012-11-18Made most of the URL functions pure.Jesse Jones-34/+40
This closes #3782.
2012-11-18Made the time to string functions pure as well as empty_tm.Jesse Jones-10/+14
This closes #3919.
2012-11-18Replace TmMut with inherited mutabilityJesse Jones-30/+16
2012-11-18Moved strptime and strftime into private helper functions.Jesse Jones-76/+84
Makes the public API much easier to see and prepares the way for making them pure.
2012-11-18Made Map.contains_key, contains_key_ref, and get pure.Jesse Jones-13/+13
2012-11-17Added support for options that take no arguments and may be repeated.Jesse Jones-0/+75
Closes #3568.
2012-11-15Rename thread_pool to task_poolTim Chevalier-10/+10
Minor change, no review. Closes #3972
2012-11-14std: Don't use Drop trait in thread_poolBrian Anderson-4/+1
2012-11-14Convert libstd to use the Drop traitBen Striegel-52/+107
2012-11-14Revert "Convert libstd to use the Drop trait"Brian Anderson-107/+52
This reverts commit 28c7a251514919a2d7bdf6c67b8edf5eed9043db.
2012-11-14Convert libstd to use the Drop traitBen Striegel-52/+107
2012-11-13cleanup: convert some remaining #foo invocations to foo! form.Graydon Hoare-1/+1
2012-11-08std: Eliminate copy warningBrian Anderson-1/+1
2012-11-08Merge pull request #3923 from am0d/masterBrian Anderson-5/+63
Fixes issue #3891
2012-11-07Fix whitespace issues from previous commits.a_m0d-2/+48
Also added test for #3891.
2012-11-07libstd: Implement a thread pool. r=brsonPatrick Walton-0/+86
2012-11-06Fix trailing whitespace issuesa_m0d-3/+3
2012-11-06Add end_of_file handling to TcpBufferedSocket.a_m0d-4/+16
This fixes #3891. Also removed debug!(...) statement from socket destructor which causes a crash when the logging level is set to debug.
2012-11-05Make std::rl unsafe. #3921Brian Anderson-6/+9
2012-11-04Merge remote-tracking branch 'brson/repl'Brian Anderson-0/+70
Conflicts: mk/install.mk src/rt/rustrt.def.in
2012-11-04Use a linenoise with win32 supportBrian Anderson-6/+0
2012-11-04Move rusti::rl to std::rlZack Corr-0/+76
2012-11-03Remove stage0 stuff that was awaiting snapshotTim Chevalier-501/+0
and re-register snapshots Just removing unneeded code, no review
2012-10-29std: disable timsort crash-test on windows.Graydon Hoare-0/+1
2012-10-25std: Fix build errors in sortBrian Anderson-4/+4
2012-10-25Merge remote-tracking branch '14427/incoming'Brian Anderson-26/+853
Conflicts: src/libstd/sort.rs
2012-10-25Remove some unused MergeState code, add a Fixme and remove a workaround ↵Simon BD-8/+5
involving pure code not being considered pure
2012-10-24Move binarysort out of MergeStateSimon BD-36/+36
2012-10-24Remove commented out codeSimon BD-28/+0
2012-10-24Remove and comment out more MergeState codeSimon BD-28/+28
2012-10-24Remove some code that MergeState used to prevent double freesSimon BD-33/+1
2012-10-24Fix tests for Copy boundSimon BD-45/+9
2012-10-24Add copy bound to sortSimon BD-104/+52