summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Addresses the issues swirling around Double.Eps...Paul Phillips2011-03-1514-66/+94
| | | | | | | | | | | Addresses the issues swirling around Double.Epsilon and friends which were battled out in more than one venue and then aptly summarized by retronym in #3791. Thanks to Simon Ochsenreither for submitting a patch; I wasn't able to use too much of it because the source code for these types is generated, but effort is always appreciated. Closes #3791, and I'm tired and I'd hate to blow this one at this late date: review by rytz.
* Various chronic annoyances with the repl addres...Paul Phillips2011-03-152-106/+97
| | | | | | | | | | | | | | | | Various chronic annoyances with the repl addressed. Much improved transcript pasting. Now goes back in time to fix the transcript if it contains self-referential "res0, res1" etc. so that it works as it originally did. Shows which commands it is running, and places the commands with their result in a manner suitable for framing. Also, a new :paste command which accepts input up to ctrl-D, so you can enter companions without gyrations, or code from people who write in a repl unfriendly fashion by putting their curly braces on the next line (I'm looking at you mark harrah) or you name it, it's not picky. No review.
* Fix for a jline/history bug when the history fi...Paul Phillips2011-03-152-40/+19
| | | | | | | Fix for a jline/history bug when the history file didn't already exist. Also expunged a bunch of history code which didn't get where it was going, including everything involving shutdown hooks. No review.
* Closes #4163. no reviewHubert Plociniczak2011-03-141-1/+4
|
* Applied second patch by asloane.Hubert Plociniczak2011-03-141-3/+6
|
* Fixing the build.Martin Odersky2011-03-141-2/+7
|
* Removing everything in trait Dynamic.Martin Odersky2011-03-141-12/+2
|
* Closes #4300. No review.Martin Odersky2011-03-141-1/+6
|
* Changed Super to fix #4300Martin Odersky2011-03-1426-102/+131
|
* A small addition to the library to address some...Paul Phillips2011-03-124-6/+187
| | | | | | | | | | | A small addition to the library to address something bugging me forever. It's a light interface to system properties. It's not intended to solve all property issues for all time, only to greatly improve on the overly ad-hoc ways things are presently done. Feedback welcome. Sorry it's coming in this late but it arises from writing the tools to fix the bugs to allow that release to happen. That's nature's circle of bugs. Review by community.
* Fixed up the regression I slipped in with slice.Paul Phillips2011-03-122-4/+16
| | | | | for pointing me toward the problem. No review.
* Fixes the broken test, introduced in the view p...Aleksandar Pokopec2011-03-111-2/+3
| | | | | | | Fixes the broken test, introduced in the view patch commit. No review.
* Added a callback to Global.Run for fine-grain p...Donna Malayeri2011-03-111-1/+9
| | | | | | Added a callback to Global.Run for fine-grain progress reporting, to used by e.g., the Eclipse plugin.
* A patch for views. Most relevant change:Paul Phillips2011-03-1120-384/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Almost all view classes now list parents like trait Appended[B >: A] extends super.Appended[B] with Transformed[B] instead of the former trait Appended[B >: A] extends Transformed[B] with super.Appended[B] because as it was, the implementation of foreach in TraversableViewLike#Transformed was repeatedly trumping overrides found in e.g. IterableLike. This change was not without its own consequences, and much of the rest of the patch is dealing with that. A more general issue is clearly revealed here: there is no straightforward way to deal with trait composition and overrides when some methods should prefer B over A and some the reverse. (It's more like A through Z in this case.) That closes #4279, with some views being five orders of magnitude slower than necessary. There is a test that confirms they'll stay performance neighbors. In the view classes (Zipped, Mapped, etc.) I attended to them with comb and brush until they were reasonably consistent. I only use "override" where necessary and throw in some "final" in the interests of trying to anchor the composition outcome. I also switched the newSliced, newZipped, etc. methods to use early init syntax since a number have abstract vals and I found at least one bug originating with uninitialized access. There was a piece of a parallel collections scalacheck test failing, which I disabled out of expedience - am emailing prokopec. There is plenty of work left to do but paulp must get back to other 2.9 issues. This is the Zurich->SF airplane patch. No review.
* Added askStructure method.Martin Odersky2011-03-101-0/+11
|
* Added assert that deferring cases of askLoadedT...Martin Odersky2011-03-101-1/+6
| | | | | | Added assert that deferring cases of askLoadedTyped and askParsedEntered are not called from within an ask, as this would cause a deadlock.
* Removed the `par` method from numeric ranges.Aleksandar Pokopec2011-03-101-3/+1
| | | | | No review.
* Adding special take and drop for numeric ranges...Aleksandar Pokopec2011-03-103-2/+148
| | | | | | | | Adding special take and drop for numeric ranges, and a test. Parallel numeric ranges are added, but currently disabled. Review by extempore.
* Fixes and closes #4328.Aleksandar Pokopec2011-03-091-0/+12
| | | | | No review.
* Avoids continuous background compiler runningMartin Odersky2011-03-091-4/+9
|
* closes #3446 and improves parsing speed by enco...Adriaan Moors2011-03-081-13/+39
| | | | | | | | closes #3446 and improves parsing speed by encoding lazy arguments using CBN args and lazy vals. should avoid needlessly recomputing parsers review by plocinic (so you can include a version that uses the direct support for lazy args in your branch)
* Cleaned up PC logix dealing with waiting respon...Martin Odersky2011-03-082-19/+33
| | | | | Cleaned up PC logix dealing with waiting responses.
* Moved SeqDerived into an Ordering.Implicits obj...Paul Phillips2011-03-081-15/+27
| | | | | | Moved SeqDerived into an Ordering.Implicits object. Closes #3152 (only mopping up), no review.
* Reverted r24388.Paul Phillips2011-03-081-1/+1
| | | | | decent Array/specialization solution. Reopens #2996, no review.
* Fixed possible unsynchronized access to getEnte...Martin Odersky2011-03-082-16/+19
| | | | | | Fixed possible unsynchronized access to getEnteredParsed which might lead to sticky PC errors.
* Added StringLike to the list of things the repl...Paul Phillips2011-03-081-3/+3
| | | | | | Added StringLike to the list of things the repl lets print themselves. No review.
* Added documentation in annotation.unique packag...Philipp Haller2011-03-081-0/+10
| | | | | Added documentation in annotation.unique package object. No review.
* An overhaul of slice and related implementation...Paul Phillips2011-03-0813-170/+127
| | | | | | | | | | | An overhaul of slice and related implementations (primarily that is drop and take.) In the course of trying to get it working consistently (mostly with respect to negative indices, which were dealt with arbitrarily differently across the 25+ concrete implementations) I fixed various bugs. Closes #4288, no review.
* Fix for drop bug in parallel collections iterat...Paul Phillips2011-03-081-17/+15
| | | | | | Fix for drop bug in parallel collections iterator revealed during slice work. Review by prokopec.
* Closes #2239.Philipp Haller2011-03-081-0/+16
|
* One more attempt at fixing the windows build.Iulian Dragos2011-03-081-1/+1
|
* Closes #4314Ingo Maier2011-03-081-1/+2
|
* Added few lines of clarification in the docs of...Aleksandar Pokopec2011-03-081-0/+3
| | | | | | | Added few lines of clarification in the docs of ParallelIterableLike. No review.
* Modify BufferedSource to use a BufferedLineIter...Donna Malayeri2011-03-071-2/+15
| | | | | | | Modify BufferedSource to use a BufferedLineIterator to speed up line-by-line reads on large files. Updated testfile which used this class. Closes #4186. Review (of fft.check) by prokopec.
* Rename io.Code.toUTF8 and io.Code.fromUTF8 so t...Donna Malayeri2011-03-079-23/+26
| | | | | | | Rename io.Code.toUTF8 and io.Code.fromUTF8 so that the names match what the methods do, with an added migration warning. Closes #4203. No review.
* Made the .opts file in presentation compiler te...Iulian Dragos2011-03-071-0/+19
| | | | | | Made the .opts file in presentation compiler tests be 'platform independent'. Paths are given in Unix notation. no review.
* Better workflow + debug logs in presentation co...Martin Odersky2011-03-073-17/+34
| | | | | | Better workflow + debug logs in presentation compiler. Ask is non-interruptable. Responses can't be dropped anymore.
* Clarify documentation of Position.includes, clo...Donna Malayeri2011-03-071-2/+2
| | | | | Clarify documentation of Position.includes, closes #2874. No review.
* Fixes and closes #4013.Aleksandar Pokopec2011-03-072-10/+11
| | | | | No review.
* More signature fixes and tests and generally be...Paul Phillips2011-03-072-8/+15
| | | | | | | More signature fixes and tests and generally being more sophisticated about our primitive squashing. These signatures belong in world-class museums but we are their shepherds for now. Closes #4317, no review.
* Raised the scariness of the case class deprecat...Paul Phillips2011-03-071-5/+6
| | | | | | | Raised the scariness of the case class deprecation message. (I hope you don't mind, hubert, I like writing scary messages.) Closes #4109 I suppose, no review.
* More signature work arising from actually looki...Paul Phillips2011-03-072-3/+17
| | | | | | More signature work arising from actually looking at the signatures. Slightly improved the coverage of the tests. No review.
* Closes #3987. Review by extempore.Martin Odersky2011-03-071-1/+1
|
* One more log in presentation compilerMartin Odersky2011-03-071-1/+5
|
* And extempore's original plan carries the day: ...Paul Phillips2011-03-069-22/+16
| | | | | | | And extempore's original plan carries the day: null.## no longer throws an NPE. Took advantage of feature to simplify a bunch of sharp-sharp calculations. Closes #4311, no review.
* Another corner involving generic signatures and...Paul Phillips2011-03-061-2/+7
| | | | | | | | Another corner involving generic signatures and java interop flushed out by seth tisue. Keep that detector fired up seth or the rebel alliance will surely be crushed. (In fact, I nominate you to write a test suite!) Closes #4317, no review.
* Re-enabling the disabled signature test along w...Paul Phillips2011-03-062-22/+28
| | | | | | | Re-enabling the disabled signature test along with changes which allow it to pass. Closes #4238 again, no review. (But would anyone like to expand the signature tests? Great idea, extempore!)
* Some naming clarifications and a test rewrite.Paul Phillips2011-03-062-3/+9
|
* Specialized ArraySeq. Closes #2996, no review.Paul Phillips2011-03-061-1/+1
|
* Fixes underlying "...Martin Odersky2011-03-051-6/+11
|