summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* In the same way that raw Trees are giving way t...Paul Phillips2009-10-114-83/+88
| | | | | | | | | In the same way that raw Trees are giving way to Patterns, raw Symbols (and accompanying ValDef trees) are being replaced by PatternVars. Once these are both used consistently a number of bugs will vanish with a puff of smoke, as they are caused by inconsistencies which need not ever be allowed to occur.
* Improving tracing output, and more code organiz...Paul Phillips2009-10-117-151/+185
| | | | | | Improving tracing output, and more code organization to hide the uninteresting bits.
* reverted changes from r19034 due to jvm/sync-va...Tiark Rompf2009-10-102-497/+492
| | | | | reverted changes from r19034 due to jvm/sync-var.scala failing
* made scala.collection.Vector create immutable v...Tiark Rompf2009-10-102-492/+497
| | | | | made scala.collection.Vector create immutable vectors by default
* Finished the additions to RuleApplication.Paul Phillips2009-10-103-47/+47
| | | | | | | | | | bits into the SequencePattern class, which took me an eternity because the current logic only worked because of bugs in the pattern matcher which allowed a non-matching case to match anyway. Trust me, you do not want to debug that sort of thing. I wonder how much of the compiler would stop working if I magically fixed all the matcher bugs at once, and long dormant logic suddenly lurched to life...
* Further centralized all temporary variable crea...Paul Phillips2009-10-103-90/+79
| | | | | | | | Further centralized all temporary variable creation. Tracked down multiple places where var allocation and assignment had been fragilely divorced and arranged for reconciliation. Almost have every Rule using the cond/success/failure interface.
* fixed another npe in VectorIteratorTiark Rompf2009-10-101-2/+2
|
* fixed npe when iterating over empty vectorTiark Rompf2009-10-101-0/+5
|
* fixed WrappedString issue from last commitTiark Rompf2009-10-101-26/+37
|
* Starting the process of properly encapsulating ...Paul Phillips2009-10-103-49/+82
| | | | | | Starting the process of properly encapsulating the temporary variables created during pattern match translation.
* initial checkin of new immutable vectorsTiark Rompf2009-10-101-19/+1024
|
* Breaking down the matcher's various Mix* classe...Paul Phillips2009-10-092-67/+60
| | | | | | Breaking down the matcher's various Mix* classes into direct expressions of condition/success/failure.
* Don't fold List.apply() to Nil in presentation ...Miles Sabin2009-10-091-1/+1
| | | | | Don't fold List.apply() to Nil in presentation mode.
* Amazing how much code becomes unnecessary when ...Paul Phillips2009-10-092-104/+117
| | | | | | | Amazing how much code becomes unnecessary when you use immutable data wherever you can. Continuing to break down the last few environments inside the pattern matcher which bugs find hospitable.
* Fix for a race condition when starting an Actor...Philipp Haller2009-10-093-6/+21
| | | | | | Fix for a race condition when starting an Actor while its ForkJoinScheduler is shutting down.
* merging msil (r19001) compiler changes to trunkLukas Rytz2009-10-092-2/+8
|
* removing jvm5 stuff from trunk, now in branches...Lukas Rytz2009-10-0911-5641/+0
| | | | | removing jvm5 stuff from trunk, now in branches/jvm5
* Moved yet more stuff out of ParallelMatching, a...Paul Phillips2009-10-084-193/+213
| | | | | | | Moved yet more stuff out of ParallelMatching, and began the painful process of peeling away the variable bindings code far enough to see what is going wrong down there.
* Make the positions of the children of an Import...Miles Sabin2009-10-081-0/+2
| | | | | | | Make the positions of the children of an Import transparent so that the interactive compiler will always find the Import rather than the children.
* Reworked exhaustiveness checking yet further, a...Paul Phillips2009-10-084-117/+145
| | | | | | Reworked exhaustiveness checking yet further, and moved it and some other pieces into their own file.
* 1) Removed a bunch of unnecessary calls to the ...Paul Phillips2009-10-084-93/+77
| | | | | | | 1) Removed a bunch of unnecessary calls to the typer. 2) Reworked exhaustiveness checking so I can tell what it's doing. 3) Cruft falls away left, right, and center.
* Definite fix for #2060; fix for #2392.Martin Odersky2009-10-087-49/+81
| | | | | Added aliases for Vector and Traversable to scala package object.
* Renamed identifier pats to pmatch to reduce amb...Paul Phillips2009-10-082-45/+54
| | | | | | | | | Renamed identifier pats to pmatch to reduce ambiguity, and implemented generic precondition machinery for testing whether a pattern should even be attempted. This is like a complement to guards (though not user expressable) and is a key to fixing some of the longer standing matcher bugs.
* Looked through the .disabled tests which are st...Paul Phillips2009-10-085-768/+33
| | | | | | | Looked through the .disabled tests which are still under files (as opposed to those moved to disabled.) Brought some back to life, put a stake through the heart of others, left two as they were.
* removing msil from trunk.Lukas Rytz2009-10-08211-5754/+3
|
* Switched to using .narrow where possible instea...Paul Phillips2009-10-083-18/+19
| | | | | | Switched to using .narrow where possible instead of constructing singleton types by hand.
* scalap re-added to distribution packaging section.Antonio Cunei2009-10-081-1/+1
|
* Fixed #2425Martin Odersky2009-10-083-8/+12
|
* Finishing up a bit of treegen I had left in mid...Paul Phillips2009-10-081-23/+20
| | | | | Finishing up a bit of treegen I had left in mid-refactor.
* Mostly, a pile of pattern matcher tracing code.Paul Phillips2009-10-074-123/+165
|
* Disabling another test trying to unhang the tes...Paul Phillips2009-10-072-0/+0
| | | | | Disabling another test trying to unhang the test suite.
* Retains Import nodes until the typers phase so ...Miles Sabin2009-10-0710-51/+79
| | | | | | | Retains Import nodes until the typers phase so that they are available to interactive compiler clients and other AST users. Adds position information to imported names and renames.
* Accidentally checked in a not-quite-working test.Paul Phillips2009-10-073-9/+1
|
* Daily switch of optimised nightly.Iulian Dragos2009-10-071-1/+1
|
* Moved a pile of passing tests from pending to f...Paul Phillips2009-10-0719-70/+17
| | | | | | Moved a pile of passing tests from pending to files, fixed some untesty tests, and will now close the associated tickets.
* Fixed #1000, #2060Martin Odersky2009-10-076-67/+171
|
* More revealing error message for the crasher in...Paul Phillips2009-10-071-4/+9
| | | | | More revealing error message for the crasher in #2433.
* "Fix" and test case for #1333.Paul Phillips2009-10-073-2/+12
|
* Getting variable binding bits into appropriate ...Paul Phillips2009-10-075-147/+124
| | | | | | Getting variable binding bits into appropriate places. Waved goodbye to PatternNodes.
* Pattern matcher starting to look like code you ...Paul Phillips2009-10-062-86/+122
| | | | | | Pattern matcher starting to look like code you might take home to meet your parents.
* Exceptions are part of the protocol between the...Miles Sabin2009-10-061-3/+10
| | | | | | Exceptions are part of the protocol between the interactive compiler and its clients, so ensure that none are lost.
* Disabled an actor test which is hanging the tes...Paul Phillips2009-10-062-0/+0
| | | | | Disabled an actor test which is hanging the test suite.
* Restored type of receiver in OutputChannel and ...Philipp Haller2009-10-0610-26/+155
| | | | | | | Restored type of receiver in OutputChannel and Channel to Actor. ReplyReactor inherits from ReplyableReactor. ReplyableReactor is now private.
* Reactor uses Executor-based scheduler that does...Philipp Haller2009-10-064-20/+20
| | | | | | Reactor uses Executor-based scheduler that does not attempt to resize thread pool.
* ForkJoinScheduler only adjusts pool size when a...Philipp Haller2009-10-061-22/+8
| | | | | | ForkJoinScheduler only adjusts pool size when an actor calls receive/receiveWithin.
* Debugging code - pattern matcher activity tracing.Paul Phillips2009-10-063-52/+79
|
* Set encoding to UTF-8 regardless of system defa...Paul Phillips2009-10-063-11/+18
| | | | | | Set encoding to UTF-8 regardless of system default, and applied patch from jython trac to improve cursor handling on OSX.
* Importing the jline sources, since it seems to ...Paul Phillips2009-10-0654-0/+7636
| | | | | | | | | Importing the jline sources, since it seems to have been abandoned and we are slowly diverging. This checkin differs from the version in the CVS repo[*] only in having been generified by ricky clarkson. [*] See http://jline.sourceforge.net/source-repository.html
* Restored original project filesIulian Dragos2009-10-062-18/+8
|
* Fixed stability issues for optimisedIulian Dragos2009-10-067-13/+27
|