summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* Some much needed housecleaning regarding system...Paul Phillips2010-02-233-38/+66
| | | | | | | | | Some much needed housecleaning regarding system properties. If you can possibly resist the temptation, it'd be great if people could try to go through the properties classes to get and set them, and also to set property values somewhere fixed rather than using strings directly. Review by community.
* Some repl cleanups and debugging conveniences.Paul Phillips2010-02-211-11/+16
|
* Made NumericRange invariant again, plus test case.Paul Phillips2010-02-181-14/+17
|
* Array copy method fixed, Fixes #3065.Aleksandar Pokopec2010-02-171-3/+6
|
* Some prestidigitation improving the repl startu...Paul Phillips2010-02-161-2/+8
| | | | | | Some prestidigitation improving the repl startup time. The prompt is quicker than the eye! No review.
* Fixes #3046 once more. No review is necessary.Aleksandar Pokopec2010-02-121-1/+1
|
* More work on classpaths.Paul Phillips2010-02-101-1/+5
| | | | | | | | to have command line options following source files, at the price of temporarily breaking tools/pathResolver. Working my way through all the usages of classpath in trunk zeroing in on fully consistent handling. Review by community.
* fixes #3046Aleksandar Pokopec2010-02-101-1/+1
|
* No double-processing format strings.Paul Phillips2010-02-091-1/+1
|
* `replaceSomeIn` method added.Aleksandar Pokopec2010-02-091-14/+8
|
* Discovered that List's deprecated removeDuplica...Paul Phillips2010-02-051-0/+3
| | | | | | Discovered that List's deprecated removeDuplicates didn't survive the renaming of unique to distinct. No review.
* Made a whole WithFilter class for Option after ...Paul Phillips2010-02-041-0/+17
| | | | | | | | | | | | | Made a whole WithFilter class for Option after discovering this bug: scala> def f(x: AnyRef) = for (p <- Option(x)) yield p f: (x: AnyRef)Option[AnyRef] scala> def f(x: AnyRef) = for (p <- Option(x) ; if true) yield p f: (x: AnyRef)Iterable[AnyRef] The for comprehension logic apparently prefers to convert Option to Iterable to get at the withFilter method over using Option's filter.
* Some hardening in the repl, and removing some f...Paul Phillips2010-02-041-1/+0
| | | | | | Some hardening in the repl, and removing some functions which now exist in the standard library. No review.
* Some minor cleanups in reflect.Paul Phillips2010-02-043-28/+26
| | | | | | into the compiler so Traversers can define whatever apply is relevant to them. No review.
* Unique's seeming victory is overruled by commit...Paul Phillips2010-02-045-8/+5
| | | | | | Unique's seeming victory is overruled by committee. It is "distinct", not "unique", wherein lies the nub. No review.
* Noticed that all the system properties were bei...Paul Phillips2010-02-041-16/+16
| | | | | | | Noticed that all the system properties were being read into vals so they didn't notice changes. Determined this was not correct, and changed them into defs. No review.
* Fixed XML Utility.escape method to conform to X...David Pollak2010-02-031-5/+23
| | | | | Fixed XML Utility.escape method to conform to XML spec. Closes #3014
* Striking while the iron is hot, renamed removeD...Paul Phillips2010-02-035-5/+8
| | | | | | | | | Striking while the iron is hot, renamed removeDuplicates to unique and deprecated removeDuplicates. The debate between distinct and unique was vigorous but unique won by a freckle. (Dark horse 'nub' was disqualified for taking performance enhancers.) The only thing which might need review is the choice of name, but review by odersky.
* Made sliding/grouped throw an exception when re...Paul Phillips2010-02-031-0/+2
| | | | | | Made sliding/grouped throw an exception when read past the end. Closes #3017.
* It was pointed out that sorted and the 1-arg ve...Paul Phillips2010-02-021-36/+22
| | | | | | | | It was pointed out that sorted and the 1-arg version of sortWith are the same method, one with implicit argument, one without. Since sortWith has never exist in a release, we can un-overload it (which is a win anyway) and route everything through sorted. Review by moors.
* Took a swing at sorting out sorting.Paul Phillips2010-02-022-16/+29
| | | | | | | | | | | | rewriting the Sorting methods to accept Orderings and adding a sorted method to SeqLike, because we should all be pretty tired of writing ".sortWith(_ < _)" by now. I think it should be called "sort", not "sorted", but that refuses to coexist gracefully with the deprecated sort in List. Review by moors (chosen pretty arbitrarily, someone at epfl should review it but I don't know who deserves the nomination.)
* Hid some AST nodes from the prying eyes of refl...Paul Phillips2010-02-022-77/+42
| | | | | | | | | Hid some AST nodes from the prying eyes of reflectors. Now Parens, AssignOrNamedArg, and DocDef are known only to scalac. Also some cosmetic arranging in the new reflect.generic package, because there's never a better time than when the code is still warm from the compiler. Review by odersky.
* Continuing the fine work creating an abstract i...Paul Phillips2010-02-011-1/+162
| | | | | | | Continuing the fine work creating an abstract interface to the compiler in scala.reflect.generic, promoted Trees#Traverser and made the associated changes. Review by odersky.
* Removed scala.util.NameTransformer (it moved to...Paul Phillips2010-02-011-156/+0
| | | | | | Removed scala.util.NameTransformer (it moved to reflect.) We don't have to @deprecate it since it's never been in a released version. No review.
* missing bits of r20746.Martin Odersky2010-02-013-1/+4
|
* lifted out core compiler data structures into r...Martin Odersky2010-02-0116-1/+2902
| | | | | | lifted out core compiler data structures into reflect.generic package. Made Unpickler work on generic data.
* Unbroke the build.Paul Phillips2010-02-011-1/+4
| | | | | Seq[Node]" means never having to meet your base case. No review.
* Solidified the logic of stringOf for repl resul...Paul Phillips2010-01-311-8/+6
| | | | | | Solidified the logic of stringOf for repl results printing. Closes #726. Review by community.
* A few compiler IO lib bits I have been needing:...Paul Phillips2010-01-291-2/+4
| | | | | | | A few compiler IO lib bits I have been needing: some basic conveniences for directories and sockets, and some cleanups in CompileSocket. Review by community.
* Implemented rompf's suggested improvement to th...Paul Phillips2010-01-291-5/+11
| | | | | | | Implemented rompf's suggested improvement to the tail recursive combinators, avoiding re-evaluation of by-name argument. Score one for code review. No review. (Ironic.)
* Added hashCode implementations to Manifest type...Paul Phillips2010-01-292-0/+7
| | | | | | Added hashCode implementations to Manifest types where necessary. Closes #2838. No review.
* Fixed a number of faulty Scaladoc comments in l...Gilles Dubochet2010-01-2632-148/+106
| | | | | | Fixed a number of faulty Scaladoc comments in library and compiler sources. No review.
* Access modifiers added for certain members and ...Aleksandar Pokopec2010-01-261-7/+14
| | | | | | Access modifiers added for certain members and some refactoring in Regex.
* Fixes #2766. Review by phaller.Aleksandar Pokopec2010-01-251-0/+5
|
* Replacement in matching can now be done by prov...Aleksandar Pokopec2010-01-251-1/+51
| | | | | | Replacement in matching can now be done by providing function arguments for replacement. Fixes #2761. Review by phaller.
* Another big REPL patch.Paul Phillips2010-01-232-1/+27
| | | | | | | | | | | | a proper commit message, I will just say it adds a couple of pretty frabjous features, in addition to cleaning up a whole bunch of questionable code. * Tab-completion now chains through intermediate results on fields and 0-arg methods * You can now define custom Completors which define their own contents. Details and demos to come in a wiki document about the repl.
* Un-overloaded StringLike.format.Paul Phillips2010-01-201-1/+1
|
* Fix for #2927. No review.Paul Phillips2010-01-202-8/+14
|
* Iterators created with duplicate compare equal ...Paul Phillips2010-01-191-1/+10
| | | | | | Iterators created with duplicate compare equal if they are positioned at the same element. Review by community.
* More work consolidating the XML code needlessly...Paul Phillips2010-01-182-166/+192
| | | | | | | More work consolidating the XML code needlessly duplicated between the compiler and the library. Having to fix #2354 in two completely different places was I found very motivating.
* Tail-recursive implementations of parser combin...Paul Phillips2010-01-181-29/+23
| | | | | | | Tail-recursive implementations of parser combinators rep1 and repN, which covers all of them since the others go through those. Review by rompf.
* some more performance tunings. No review.Martin Odersky2010-01-181-1/+1
|
* cleaned up explicit tailcallsMartin Odersky2010-01-182-24/+56
|
* Adjectified some parts of speech as discussed o...Paul Phillips2010-01-1868-184/+223
| | | | | | | Adjectified some parts of speech as discussed on the mailing list. The methods to call on FunctionN are "curried" and "tupled" with "curry" deprecated and "tuple" gone. Closes #2907. Review by community.
* Fix and test case for #408. Review by community.Paul Phillips2010-01-181-6/+9
|
* Made Iterator consistent with Iterable by addin...Paul Phillips2010-01-161-0/+32
| | | | | | Made Iterator consistent with Iterable by adding grouped and sliding to IterableLike. Closes #2837. Review by community.
* Exposed native Array clone() method.Paul Phillips2010-01-164-1/+41
| | | | | Review by dragos.
* Reverted over-zealous replacement of 'PartialFu...Antonio Cunei2010-01-1511-31/+29
| | | | | Reverted over-zealous replacement of 'PartialFunction' with '=>?'.
* Fix and test for #2354. Review by community.Paul Phillips2010-01-153-19/+61
|
* ConcurrentMap trait added to collection.mutable.Aleksandar Pokopec2010-01-142-2/+148
| | | | | | | | JavaConversions now include conversions between Java ConcurrentMap objects and Scala ConcurrentMap objects. review by odersky