summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* One of those "$.05 for the bolt, $50,000 for kn...Paul Phillips2010-01-281-9/+3
| | | | | | | | | One of those "$.05 for the bolt, $50,000 for knowing where to put it" commits. Closes #425, #816, #2310, #2691. All credit for this patch goes to me for having the genius to know when new eyes were needed (although if you're feeling generous some could also go to walter korman for the actual debugging and code writing part.)
* Some hardening of repl generated code. No review.Paul Phillips2010-01-271-5/+6
|
* Fix for #2563. Review by mharrah.Paul Phillips2010-01-271-10/+9
|
* now correctly fix #2868. no reviewLukas Rytz2010-01-271-20/+21
|
* Forgot to commit the change. No review.Hubert Plociniczak2010-01-271-0/+2
|
* Closes #2966. Review by milessabin.Hubert Plociniczak2010-01-273-7/+14
|
* reverting r20688 for now, no reviewLukas Rytz2010-01-271-20/+19
|
* fix pickle format doc. no reviewLukas Rytz2010-01-271-1/+1
|
* close #2868.Lukas Rytz2010-01-271-19/+20
|
* Cleaning up. No review.Hubert Plociniczak2010-01-261-3/+1
|
* Refactored some of the code from r20624 thanks ...Hubert Plociniczak2010-01-262-34/+12
| | | | | Refactored some of the code from r20624 thanks to Iulian's review.
* Refinements to the recent repl patches.Paul Phillips2010-01-2615-192/+445
| | | | | | | | | | | | | | | | few more things, like literals (1.<tab>, "abc".<tab>). A completion aware case class walker which leverages the names of the case fields for completion. For instance: :power val x = new ProductCompletion(mkTree("def f(x: Int, y: Int) = f(5, 10) + f(10, 20)") x.<tab> mods name rhs tparams tpt vparamss x.rhs.fun.<tab> name qualifier scala> x.rhs.fun.qualifier res3: scala.tools.nsc.ast.Trees$Apply = f(5, 10)
* Fixed a number of faulty Scaladoc comments in l...Gilles Dubochet2010-01-2638-393/+222
| | | | | | 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.
* Hack for the refined build manager to print inf...Hubert Plociniczak2010-01-261-4/+13
| | | | | | Hack for the refined build manager to print info in a deterministic way. No review.
* Changed the info statements in refined build ma...Hubert Plociniczak2010-01-261-2/+9
| | | | | | | | Changed the info statements in refined build manager to print the information in more consistent way, so that we can test it using partest. Added more tests for build manager, more to follow... No review.
* Fixes #2766. Review by phaller.Aleksandar Pokopec2010-01-251-0/+5
|
* Fixed stability problem with build.Martin Odersky2010-01-254-4/+4
|
* 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.
* Use file paths for equality and hashCode to dea...Miles Sabin2010-01-253-6/+6
| | | | | | Use file paths for equality and hashCode to deal with mixed-type file equality test issues in the IDE. Fixes #2931.
* [scaladoc] Classes `FunctionX`, `ProductX`, and...Gilles Dubochet2010-01-251-1/+9
| | | | | | | [scaladoc] Classes `FunctionX`, `ProductX`, and `TupleX`, for `X` greater than 2, are not listed. Contributed by Pedro Furlanetto, checked by dubochet, no review.
* close #2929.Lukas Rytz2010-01-251-1/+1
|
* Fixed #2497: replaceInstruction now uses refere...Iulian Dragos2010-01-251-1/+1
| | | | | | Fixed #2497: replaceInstruction now uses reference equality. No review necessary.
* [scaladoc] Deprecated methods are striked-out.Gilles Dubochet2010-01-254-4/+21
|
* Fix ant task for build manager partest. no review.Hubert Plociniczak2010-01-251-1/+1
|
* Added new target for partest for testing Build ...Hubert Plociniczak2010-01-249-105/+286
| | | | | | | | | | | Added new target for partest for testing Build Manager behaviour. Updated Refined Build Manager for consistency. --buildmanager requires the test file that describes actions to be done on the refined build manager (compiling files, making changes to the classes), sources of changes, the check file and the initial scala source files. Cleaned up some code in partest, refactored some obvious code duplication. Tests to follow... Review by phaller.
* Fixed dead code elimination to satisfy YourKit'...Iulian Dragos2010-01-241-3/+15
| | | | | | | Fixed dead code elimination to satisfy YourKit's instrumentation: a drop for a newly initialized object is always added after the constructor call, instead of immediately after a DUP
* Removing a stray paren to unbreak build.Paul Phillips2010-01-241-1/+1
|
* renamed notCompiles ==> canRedefine.Martin Odersky2010-01-243-19/+25
|
* Some minor polishing to the previous repl compl...Paul Phillips2010-01-244-51/+132
| | | | | | Some minor polishing to the previous repl completion patch, plus a few new features and improvements.
* Another big REPL patch.Paul Phillips2010-01-2314-505/+753
| | | | | | | | | | | | 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.
* Closes 2926. Review by milesabin.Martin Odersky2010-01-233-9/+24
|
* fix several issues in .net backend / type parsing.Lukas Rytz2010-01-223-44/+97
|
* Second attempt to fix #2926.Martin Odersky2010-01-222-14/+5
|
* It's a big REPL patch. And it contains:Paul Phillips2010-01-217-147/+309
| | | | | | | | | | | | | | | | | | | | * Eliminated a bug which was causing all repl lines to be parsed twice * Removed reference to JLine from InterpreterLoop which was causing someone trouble in eclipse * Enriched the repl compile/reflect mechanism to allow retrieving the value as well as the String describing it * Utilized said enrichment to write an eval[T] method which is exposed in the repl in :power mode * Added ability to turn off string unwrapping in repl: settings.unwrapStrings = false * Created interface presently called Completion.Special which lets objects define their own contents * As minor demonstration of above, in :power mode variable "repl" implements Special and completes with all repl identifiers * As more interesting demonstration of above, try a repl session like... import scala.tools.nsc.interpreter.Completion.Special import scala.tools.nsc.io.Process val connections = new Special { def tabCompletions() = Process("netstat -p tcp").toList drop 2 map (_ split "\\s+" apply 4) } connections.<tab> Review by community!
* Fix for #2867 undone, review by extempore.Martin Odersky2010-01-211-0/+8
|
* Attempt to fix #2926 (companion object of case ...Martin Odersky2010-01-202-1/+13
| | | | | Attempt to fix #2926 (companion object of case class problem in Eclipse)
* Closes #2653, #2652, #2556.Hubert Plociniczak2010-01-203-3/+79
|
* [scaladoc] Default values of parameters are doc...Gilles Dubochet2010-01-204-8/+80
| | | | | | | | [scaladoc] Default values of parameters are documented. Tags "@author", "@see", "@since", "@version", and "@deprecated" are displayed in documentation. Contributed by Pedro Furlanetto, checked by dubochet, no review.
* fixed bugs in .NET bytecode generation (branchi...Lukas Rytz2010-01-203-50/+150
| | | | | | | fixed bugs in .NET bytecode generation (branching out of try / catch / finally blocks is not allowed). predef.dll now almost passes PEVerify. no review
* Removed static state from global object ClassPa...Paul Phillips2010-01-207-54/+59
| | | | | | | | Removed static state from global object ClassPath object, and some minor repositioning while in there. Closes #2928, but the intentions behind -optimise being intertwined with ClassPath could really use some source comments. Review by rytz.
* No longer are there more IDE-specific junk file...Paul Phillips2010-01-209-0/+1717
| | | | | | | | | | No longer are there more IDE-specific junk files in the root directory of the official scala repository than actual scala files and directories put together. It's a truly awful first impression to give potential developers so I'm interpreting the non-response regarding the need for them as quiet encouragement to put them in src/intellij. Review by ilyas.
* Un-overloaded StringLike.format.Paul Phillips2010-01-201-1/+1
|
* Fix for #2927. No review.Paul Phillips2010-01-202-8/+14
|
* Made some cosmetic but clarity-increasing chang...Paul Phillips2010-01-2011-88/+84
| | | | | | | | | Made some cosmetic but clarity-increasing changes to a few files. Primarily, used corresponds where possible rather than zipped.forall. Added isImplicit and isJava to MethodType so the relevant subtypes could be determined without the hideous isInstanceOf checks. Review by odersky.
* 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 performance improvements; eliminated mk......Martin Odersky2010-01-1913-149/+194
| | | | | more performance improvements; eliminated mk...Type function in Types.
* Fixed isClosureClass in inliner and removed it ...Iulian Dragos2010-01-192-19/+4
| | | | | | Fixed isClosureClass in inliner and removed it from CopyPropagation (was dead code). See #2893.
* [scaladoc] Search tool will ignore case for low...Gilles Dubochet2010-01-192-12/+23
| | | | | | | | [scaladoc] Search tool will ignore case for lowercase-only queries. Type return when search tool is active to immediately search and display the first result. Contributed by Johannes Rudolph. Also: removed useless `DocProvider` class. No review, checked by dubochet.
* Digging into why the repl is so slow, discovere...Paul Phillips2010-01-195-62/+68
| | | | | | | | | | | | | | | | | | Digging into why the repl is so slow, discovered that fsc is once again never reusing compiler instances (but for a different reason than #1683.) Small changes break equality and the little troopers are so darn quiet about it. Steady state, hot fsc repl startup times before this patch: 0m1.747s 0m1.789s 0m1.842s 0m1.690s After this patch: 0m1.139s 0m1.148s 0m1.090s 0m1.091s No review. Could use a test case but I have trouble coaxing partest this far outside the box.