Commit Graph

8057 Commits

Author SHA1 Message Date
michelou e636b69ef1 removed tabs
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13063 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-12 12:28:02 +00:00
dragos 1cb8737950 Removed or guarded not-critical asserts.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13062 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-12 12:12:04 +00:00
michelou 5c9779be27 oups! added missing override modifier
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13054 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-11 15:36:37 +00:00
dragos 43acb00c80 - Improved tail call elimination to handle calls on a different instance.
- Improved tail calls by skipping trivial arguments (when the argument to the call is the parameter itself)
- added preliminary support for incremental DFA.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13053 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-11 14:39:17 +00:00
michelou d2d4f887af added method partition to Iterable (#171)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13052 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-11 12:17:55 +00:00
dragos 9a9e33a37a Added "-target 1.5" to javac options.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13048 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 14:55:16 +00:00
dragos ed4f3c844b Updated annotations jar to contain 1.5-compatible classfiles.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13047 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 13:23:44 +00:00
michelou 859422e9d4 updated man pages with new scala options
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13046 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 09:31:37 +00:00
dragos 101538320f Removed outdated comment w.r.t. icode reader.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13045 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 08:05:15 +00:00
spoon 46055f3462 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13044 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2007-10-10 01:17:21 +00:00
spoon 82dd0a9bdd support the -e option for executing a command specified on the
command line


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13043 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:16:51 +00:00
spoon 35fb936fa4 updated the help output for the -i and -e options
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13042 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:07:49 +00:00
spoon ee0c850140 Annotations with embedded annotations are now
parsed but quietly discarded (trac issue #14)


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13041 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:07:30 +00:00
spoon cb19fffcff added support for -e option
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13040 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:06:24 +00:00
spoon b0727312d7 fixed a (sometimes) off-by-one error with CompoundSourceFile
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13039 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:04:46 +00:00
spoon 6dda97a205 1. Pre-load any files specified with the -i option
2. When replaying a :load, replay the :load itself, not
   the list of commands in the loaded file


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13038 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:04:07 +00:00
spoon 564e1f1ce8 removed hook for using different ScriptRunner's
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13037 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:02:26 +00:00
spoon 803676e184 support executing a command in addition
to executing a file


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13036 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 01:01:23 +00:00
spoon ee9ab47f27 added -i and -e options
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13035 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 00:59:37 +00:00
spoon 303e261de2 with multi-string arguments, allow the
layout "-opt argument" in addition to "-opt:argument"


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13034 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-10 00:56:40 +00:00
michelou 9d3bdb3984 removed type aliases, update svn:keywords
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13032 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-09 16:28:22 +00:00
michelou 7dfbb12010 added node info for blocks
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13018 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-08 16:09:53 +00:00
dragos f0f5208617 One last file missing.. smartSVN shows out-of-date info in the file panel :(
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13016 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-08 14:55:19 +00:00
dragos d6eefa9434 Forgot two files from previous commit.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13015 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-08 14:35:42 +00:00
dragos 51c0427d05 Improved/refactored parts of the optimization phases, removed option Ybytecode-read (enabled now by -optimise).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13014 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-08 14:34:59 +00:00
michelou 3ba2eb1ae8 added length test to run/stream.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13012 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-08 10:22:30 +00:00
spoon f7fa957555 - tweaked the warning for ClassfileAnnotation's so it
does not apply to ClassfileAnnotation itself
- commented out a debug print string in typedAssign


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13009 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-07 10:44:23 +00:00
michelou 356a133e1d fixed ticket #153
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13007 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-05 16:48:02 +00:00
michelou 18d075722b updated Scala comments
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13006 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-05 14:19:12 +00:00
spoon a33501cbba *** empty log message ***
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13003 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-05 10:54:26 +00:00
spoon bbacd5298f git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13002 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2007-10-05 10:42:21 +00:00
spoon f1ed93fb83 fixes two little problems with :replay
1. the "Replaying <some-command>" message
     gets flushed before <some-command> is replayed

  2. the class loaders are more thoroughly flushed,
     so that recompiled code will take effect better


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13001 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-05 10:15:25 +00:00
mcdirmid aee3b1dc71 fixing broken build. Someday I'll understand how module class works.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12999 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-04 17:35:24 +00:00
michelou f8bcc18c44 fixed error in batch file
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12997 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-04 16:10:13 +00:00
mcdirmid 9d330f73f6 Fixing a bug with long lists in GenerateIDESyms and a fresh name problem in ETA expansion with respect to the IDE.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12996 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-04 12:24:50 +00:00
spoon 0976df4fa6 made Stream.length not be recursive
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12994 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-04 07:44:01 +00:00
mcdirmid 0ff3259ac9 Downgraded randomAccessSeq[Char] => String implicit to RichString => String
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12993 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-04 07:40:29 +00:00
michelou c9016998fc enums can't be serialized
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12990 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-03 16:52:05 +00:00
spoon 2e0781d079 Updated the attributes test because there is a warning when
subclassing ClassfileAnnotation


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12986 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 23:31:46 +00:00
spoon b2f98712cf added a test for multi-line strings
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12985 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 23:29:26 +00:00
mcdirmid a3d3f2a2e3 Settings.scala - added mode to eliminate : between name and choice
Array.scala/BoxedObjectArray - boxing fixes

Set.scala - deprecated **, added * to collection.Set.scala

Predef.scala - added an implicit coercion from RandomAccessSeq[Char] (including RichString) to String

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12984 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 19:51:33 +00:00
spoon b6ea32bdd6 use the word "shell" more often
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12980 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 17:15:03 +00:00
spoon 491b9fafa2 Emit a warning if a user tries to define
their own subclass of ClassfileAnnotation


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12979 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 16:58:39 +00:00
spoon 165caae717 Minor changes to improve the output when
there are type errors in the user's code


git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12978 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 16:57:28 +00:00
spoon 9e1105463f do not emit attributes unless they came from Java code
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12977 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 16:53:57 +00:00
michelou 697a71d225 corrected typo
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12976 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 16:49:14 +00:00
dragos ffdde2fe58 Fixed method freshName to return distinct names. Fixes failing tcparsers_idioms test.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12975 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 16:06:58 +00:00
michelou 58d3f1866c fixed ticket #142
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12974 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 15:40:31 +00:00
michelou 18efacf094 fixed ticket #141
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12973 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 15:40:17 +00:00
phaller a03fc45496 Made unary constructor of Channel class public.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12972 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-10-02 12:17:09 +00:00