Commit Graph

5178 Commits

Author SHA1 Message Date
odersky 7c510f0fa7 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5584 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-19 15:47:54 +00:00
dubochet 992c0eebc4 Updated Scalac to support a mode (triggered by setting 'scalacdebugging' to true) that prints the compiled files and any stack trace generated by the compiler.
Use it in SABBUS for quick and strap.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5583 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 15:32:26 +00:00
spoon 233eea8ad3 Three things to be friendly with Scala Bazaars:
1. Generate three sbp packages, not just one
  2. Fix the name of the bin scripts, e.g. scala22 --> scala2
  3. Do not include a Main-Class in the scalac jar file


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5582 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 15:22:54 +00:00
spoon a99af70769 Renamed the man pages with "2" at the end, i.e. scala2.1 and scalac2.1 .
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5581 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 15:20:47 +00:00
dubochet 9f2e3501e6 Changed the product name in SABBUS to 'scala2'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5578 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 09:52:23 +00:00
dubochet c5f3ec19a4 Added the Scala Bazaar archive generation Ant task. Modified the SABBUS build script to use it.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5575 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-19 09:35:35 +00:00
mcdirmid 977ef82b06 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5574 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-18 18:49:01 +00:00
mcdirmid e88471c2e6 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5572 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-18 17:13:01 +00:00
mcdirmid b1bdb43724 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5568 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-18 13:32:11 +00:00
mihaylov 5bbffdedfd Made anonymous functions serializable
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5567 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-18 12:12:48 +00:00
mcdirmid 18c405478c Fixing empty list bug in ClassPath.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5566 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-18 11:49:44 +00:00
mcdirmid abf80dca9a git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5565 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-18 11:44:50 +00:00
michelou c9db58779d added entries to svn:ignore
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5558 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 16:44:58 +00:00
michelou f5b5ce6d29 added explicit type for partial function in test/files/run/bugs.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5557 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 16:37:03 +00:00
michelou d0ee8e20cb added parenthis around boolean expression in test/files/pos/traits.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5556 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 16:29:58 +00:00
michelou 12e7547d59 adapted code to new Scala syntax in test/files/run/regularpatmat.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5554 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 16:04:57 +00:00
mihaylov fb16a66d0a Generate static methods for inherited methods of objects; solves the
problem of inherited main method (bug contrib #107)


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5553 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 15:40:39 +00:00
michelou b2330b9acf added explicit type for partial functions in test/files/pos/eta.scala, ..
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5552 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 15:29:35 +00:00
michelou 0115e07b61 replaced ':' (deprecated) by 'requires' in test/files/pos/bug372.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5551 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 15:27:50 +00:00
michelou c391ae1064 replaced ':' (deprecated) by 'requires' in test/files/pos/bug360.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5550 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 15:10:44 +00:00
michelou 7436e14d55 replaced ':' (deprecated) by 'requires' in test/files/pos/bug360.scala, ..
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5549 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 15:07:00 +00:00
michelou 74142fe4f7 - replaced ':' (deprecated) by 'requires' in test/files/pos/philippe4.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5548 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 13:15:06 +00:00
michelou ad3317acbc - replaced ':' (deprecated) by 'requires' in test/files/pos/bug211.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5547 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 13:13:38 +00:00
michelou 797104f761 - replaced ':' (deprecated) by 'requires' in test/files/pos/scoping1.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5546 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 13:11:51 +00:00
odersky 257db7980f git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5545 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-17 13:11:32 +00:00
michelou 8c5d263950 - replaced ':' (deprecated) by 'requires' in test/files/pos/bug39.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5544 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 13:10:27 +00:00
michelou 875b131bd3 - replaced ':' (deprecated) by 'requires' in test/files/run/ctor-order.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5543 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 11:56:56 +00:00
michelou bf0bebcf8c - replaced ':' (deprecated) by 'requires' in test/files/pos/bug267.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5542 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 09:59:43 +00:00
michelou e29f843c93 - renamed scalanstest to scalatest
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5541 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 09:12:01 +00:00
michelou 471714d3db - scalanstest now also prints out JVM version
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5540 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 09:11:22 +00:00
michelou 58988814e2 - rolled back to scalanstest for restoring history
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5539 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 09:10:20 +00:00
michelou 94dbd09868 Resurrecting scalanstest from revision 5532
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5538 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-17 09:07:09 +00:00
michelou 41e4bb9856 - updated svn:ignore entries
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5535 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-16 17:41:34 +00:00
michelou a447fd2d38 - renamed test/scalanstest to test/scalatest
- also prints out version of Java runtime



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5534 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-16 17:13:34 +00:00
michelou ea52e835e5 - renamed test/scalanstest to test/scalatest
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5533 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-16 17:06:08 +00:00
dubochet e8991e1090 Cleaned-up all keyword-substitution, executable flag and end-of-line properties of files in 'scala/trunk'
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5531 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 19:54:01 +00:00
dubochet e0743a48d0 Removed 'src/exec'. These scripts are now obsolete and have been replaced by scripts in 'compiler/scala/tools/ant/templates'.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5530 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 19:39:45 +00:00
dubochet 8b87e64702 Cleaned-up ignore patterns in scala/trunk folder.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5529 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 18:17:21 +00:00
dubochet 2fa85b481e Updated Codification to actually work in presence of functions and block. Printer has been improved a little too.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5528 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 18:15:38 +00:00
mcdirmid 5151b0eb97 Tried to fix sourcepath, but they still have some issues that need to be resolved deeper inside the compiler.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5519 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 15:18:24 +00:00
mcdirmid 1480eb4f76 not sure if this was fixed already, but changed sourcepath default to "." so it wouldn't crash the classpath class anymore.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5510 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 11:27:57 +00:00
michelou 5e00d0b862 - added missing $Id tag
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5509 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 09:40:15 +00:00
michelou 5adaf83318 - corrected $Id tag
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5508 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-13 09:37:49 +00:00
dubochet dd5f16778b The build file only creates symbolic links on UNIX platforms, copies otherwise.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5507 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-12 09:55:02 +00:00
mcdirmid a5f97d9ce9 Accidentally broke the build.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5498 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-11 13:23:54 +00:00
mcdirmid 9607f607e0 Getting rid of some unused Java files in scala/tools/util because they now have scala equivalents in scala/tools/nsc/util.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5497 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-11 11:02:36 +00:00
mcdirmid 32e2b6239f More stuff to support hte eclipse plugin.
* Added symbol positions to to the pickler.
* Deprecated util/ClassPath.java to use ClassPath.scala, which allows for source attachments.
-- maybe we should remove ClassPath.java since it is no longer used.
* Added support for content outline.


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5494 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-11 08:04:06 +00:00
michelou 8ca231a842 - corrected error with _PREFIX in template for batch command
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5491 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 19:15:06 +00:00
dubochet 1c27b623a3 Add new STARR release that adds a small bug fix and minor imrpovement in the ant scripts.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5490 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:49:57 +00:00
michelou 8065c6750d - renamed _CPATH to _CLASSPATH
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5489 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:49:51 +00:00