Commit Graph

4933 Commits

Author SHA1 Message Date
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
michelou 0c6d11e973 - renamed _CPATH to _CLASSPATH
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5488 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:49:31 +00:00
michelou 8521ee1da7 - removed some blanks
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5487 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:39:39 +00:00
michelou 8df5ebf592 - removed some blanks
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5486 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:39:20 +00:00
dubochet a5c72ef870 The Scalac Ant task now supports a 'addparams' parameter for passing custom parameters to the compiler. Build script updated to use it too: set nsc.params to add custom parameters.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5485 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:28:11 +00:00
michelou c58059f2b0 - updated template for batch command on Windows
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5484 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:27:40 +00:00
michelou 3c3acf9f65 - updated template for batch command on Windows.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5483 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:27:13 +00:00
dubochet 5189356fea ant/ScalaTool is now compatible with Java 1.4.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5482 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:22:46 +00:00
odersky 0e82b4ef46 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5481 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-09 18:04:20 +00:00
michelou a300e06820 - replaced ":" by "requires"
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5480 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 18:01:43 +00:00
dubochet 37aab3939e Scalanstest updated to use new scala2 names for executables
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5479 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 17:42:34 +00:00
dubochet 3f498a8b93 Improved the ScalaTool Ant task to be more cross-platform.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5478 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 17:19:23 +00:00
dubochet 197f8e9462 New STARR release that adds new private qualifier and scalatool build script.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5471 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 14:54:34 +00:00
dubochet f844d4bf08 Updated jaco.jar to remove a small but annoying and useless message during compilation ("no files selected for compilation").
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5470 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 13:09:40 +00:00
dubochet 7e9d82c77c Updated the Ant build system:
1. Minor aesthetic changes to Scalac.
2. Added Ant task ScalaTool that automatically constructs wrappers for a tool. Wrapper templates are in ant/templates.
3. Modified build.xml to use ScalaTool.
4. Removed nsc/ant/NSC which is now obsolete (replaced by ant/Scalac).
5. Added a antlib.xml file that allows to load all ant tasks in one operation in an ant script.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5469 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-09 13:07:02 +00:00
odersky a0d722fd5e git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5466 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-07 18:55:52 +00:00
dubochet 98ec0e162b Modified the generation of scripts in build/ to work when linked to from a symbolic link.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5448 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-04 16:57:36 +00:00
dubochet b7932de1de Commited a new STARR version of the Compiler and the Library.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5447 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-01-04 16:25:14 +00:00
odersky 4f84531706 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5446 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-04 15:16:08 +00:00
odersky d1a6e0a62b git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5443 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-03 17:14:56 +00:00
odersky 3bd594c7d8 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5442 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-03 17:07:10 +00:00
odersky 0315fbfbed git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5441 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-01-03 13:34:58 +00:00
spoon 38a22f2196 If scala.boot.class.path is not set, then try to guess it
based on scala.home


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5427 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-29 01:40:30 +00:00
spoon 3712e597f4 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5426 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2005-12-28 22:07:19 +00:00
dubochet 2511ab5dbc 1. Moved the Scalac Ant task to a new location and updated it thorougly.
2. Modified the build script to use the new optional Ant tasks that have been added to 'lib/', which is much cleaner.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5410 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-23 18:17:24 +00:00
odersky 5ad578c968 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5409 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2005-12-23 18:12:51 +00:00
michelou 94cfad1f62 - added properties 'os.win', 'os.cygwin' and 'os.unix'
- Task 'symlink' is now called only if 'os.unix' is set



git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5408 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 18:21:56 +00:00
michelou 6ac413d0f2 - added property COPYRIGHT
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5407 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 01:52:19 +00:00
michelou ad6290fab9 - corrected generation of executables for Cygwin and Windows
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5406 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 01:50:44 +00:00
michelou f73e08ee6e - corrected Java properties
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5405 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 01:47:16 +00:00
michelou 4f0e7f7523 - corrected value of SCALA_HOME
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5404 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 01:46:15 +00:00
michelou 9b017b7d9c - corrected value of SCALA_HOME
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5403 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-22 01:45:39 +00:00
dubochet faca6374b5 1. Modified the way paths are used in NSC. Removed as much magic as possible from 'util.ClassPath' and 'nsc.Settings'.
2. Improved the generation of a distribution.
3. 'scalanstest' works again.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5402 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-21 20:31:59 +00:00
dubochet aa16450c92 Commited a new Starr version of Scala to lib/ that support compilation on Java 1.5.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5401 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-21 16:46:55 +00:00
odersky 7290ce5b9c git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5400 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2005-12-21 14:12:47 +00:00
odersky ea198b8da8 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5399 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2005-12-21 13:47:53 +00:00
dubochet 204fef47fc 1. Changed the generated scripts for UNIX so that they actually work.
2. Removed dead text in ant/NSC.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5397 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-20 13:43:47 +00:00
dubochet 84277c2c8c Actually really fixed the bug in NSC this time.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5396 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-20 12:56:25 +00:00
dubochet c128f6dadd Fixed a small bug in NSC that prevented compilation.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5395 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-20 12:29:20 +00:00
dubochet 840ec80d10 1. 'build.xml' now generates a simplified distribution.
2. Scripts no longer use the wrapper script but are self-contained.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5394 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-19 17:17:19 +00:00
odersky f227d2f814 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5393 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2005-12-19 15:47:50 +00:00
dubochet 37d9641eac First correction after the big jump: Scalac's symtab.Definition should no longer refer to scala.Type.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5391 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-19 14:14:22 +00:00
dubochet f677c469bd Switching to the new build system and to the new build system. This is a MAJOR commit, so be careful when updating.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5390 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-19 13:49:03 +00:00
mcdirmid ee6fdbc1d0 Updated parser to fix ref locations. Added way of computing a source file's signature.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5389 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-19 11:44:04 +00:00
dubochet ae54237710 1. Updated ignore patterns in various folders
2. Removed even more obsolete files in 'test/' and elsewhere.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5388 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-18 18:58:34 +00:00
dubochet 775567ff72 Removed old Scalac code in sources and various other obsolete elements.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5387 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2005-12-18 18:33:03 +00:00