summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Settings.scala
Commit message (Collapse)AuthorAgeFilesLines
* Brings all copyrights (in comments) up-to-date, from 2011/12 to 2013Heather Miller2012-11-021-1/+1
|
* update and normalize copyright noticeAdriaan Moors2012-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are the regexp replacements performed: Sxcala -> Scala Copyright (\d*) LAMP/EPFL -> Copyright $1-2012 LAMP/EPFL Copyright (\d*)-(\d*)(,?) LAMP/EPFL -> Copyright $1-2012 LAMP/EPFL Copyright (\d*)-(\d*) Scala Solutions and LAMP/EPFL -> Copyright $1-2012 Scala Solutions and LAMP/EPFL \(C\) (\d*)-(\d*) LAMP/EPFL -> (C) $1-2012 LAMP/EPFL Copyright \(c\) (\d*)-(\d*)(.*?)EPFL -> Copyright (c) $1-2012$3EPFL The last one was needed for two HTML-ified copyright notices. Here's the summarized diff: Created using ``` git diff -w | grep ^- | sort | uniq | mate git diff -w | grep ^+ | sort | uniq | mate ``` ``` - <div id="footer">Scala programming documentation. Copyright (c) 2003-2011 <a href="http://www.epfl.ch" target="_top">EPFL</a>, with contributions from <a href="http://typesafe.com" target="_top">Typesafe</a>.</div> - copyright.string=Copyright 2002-2011, LAMP/EPFL - <meta name="Copyright" content="(C) 2002-2011 LAMP/EPFL"/> - * Copyright 2002-2011 LAMP/EPFL - * Copyright 2004-2011 LAMP/EPFL - * Copyright 2005 LAMP/EPFL - * Copyright 2005-2011 LAMP/EPFL - * Copyright 2006-2011 LAMP/EPFL - * Copyright 2007 LAMP/EPFL - * Copyright 2007-2011 LAMP/EPFL - * Copyright 2009-2011 Scala Solutions and LAMP/EPFL - * Copyright 2009-2011 Scxala Solutions and LAMP/EPFL - * Copyright 2010-2011 LAMP/EPFL - * Copyright 2012 LAMP/EPFL -# Copyright 2002-2011, LAMP/EPFL -* Copyright 2005-2011 LAMP/EPFL -/* NSC -- new Scala compiler -- Copyright 2007-2011 LAMP/EPFL */ -rem # Copyright 2002-2011, LAMP/EPFL ``` ``` + <div id="footer">Scala programming documentation. Copyright (c) 2003-2012 <a href="http://www.epfl.ch" target="_top">EPFL</a>, with contributions from <a href="http://typesafe.com" target="_top">Typesafe</a>.</div> + copyright.string=Copyright 2002-2012 LAMP/EPFL + <meta name="Copyright" content="(C) 2002-2012 LAMP/EPFL"/> + * Copyright 2002-2012 LAMP/EPFL + * Copyright 2004-2012 LAMP/EPFL + * Copyright 2005-2012 LAMP/EPFL + * Copyright 2006-2012 LAMP/EPFL + * Copyright 2007-2012 LAMP/EPFL + * Copyright 2009-2012 Scala Solutions and LAMP/EPFL + * Copyright 2010-2012 LAMP/EPFL + * Copyright 2011-2012 LAMP/EPFL +# Copyright 2002-2012 LAMP/EPFL +* Copyright 2005-2012 LAMP/EPFL +/* NSC -- new Scala compiler -- Copyright 2007-2012 LAMP/EPFL */ +rem # Copyright 2002-2012 LAMP/EPFL ```
* Reflection toolboxes now respect settings that ...Eugene Burmako2011-11-281-0/+6
| | | | | | | | | | | Reflection toolboxes now respect settings that are provided to them. Before the fix CompilerCommand lacked the (args, settings, errorFn) ctor. I added it and provided means to augment passed settings with custom errorFn. Closes SI-5239. Review by odersky.
* Updated copyright notices to 2011Antonio Cunei2011-01-201-1/+1
|
* Removed more than 3400 svn '$Id' keywords and r...Antonio Cunei2010-05-121-1/+0
| | | | | Removed more than 3400 svn '$Id' keywords and related junk.
* One minute too many trying to figure out where ...Paul Phillips2010-03-071-956/+4
| | | | | | | | | One minute too many trying to figure out where some partest classpath mutation was disappearing on me, and I snapped and started the process of creating an immutable Settings. This commit is for the most part infrastructure to enable its smooth and uneventful entrance. Review by community.
* Added -Xmigration option and @migration annotat...Paul Phillips2010-03-051-0/+1
| | | | | | | | | | | | Added -Xmigration option and @migration annotation. At present it will warn about the following changes from 2.7 to 2.8: Stack iterator order reversed mutable.Set.map returns a Set and thus discards duplicates A case 'x @ Pattern' matches differently than 'Pattern' Review by odersky.
* Created -Yfatal-warnings, as otherwise I can't ...Paul Phillips2010-02-251-0/+1
| | | | | | | | | | | | | Created -Yfatal-warnings, as otherwise I can't see how to make partest fail on the presence of an unchecked warning. It'll come in handy anyway. Now we have a real tough guy's command line for those who want it: % scalac -unchecked -deprecation -Yfatal-warnings `find . -name '*.scala'` Not for the timid. Review by community.
* Removed now redundant function splitParams.Paul Phillips2010-02-231-4/+2
|
* More fun with ClassPaths.Paul Phillips2010-02-231-0/+3
| | | | | Review by community.
* More laboring on Settings, ClassPaths, Ant Task...Paul Phillips2010-02-221-25/+56
| | | | | | More laboring on Settings, ClassPaths, Ant Tasks, Partest, and similar epicenters of thrilldom. No review.
* Some repl cleanups and debugging conveniences.Paul Phillips2010-02-211-0/+1
|
* Lowering the noise level in the classpath debug...Paul Phillips2010-02-201-2/+1
| | | | | | | Lowering the noise level in the classpath debugging output. Try ant -Dscalac.args="-Ylog-classpath" if you would like the rare joy of having a fair idea what is being used to compile what. No review.
* The first reasonably satisfying classpath commit.Paul Phillips2010-02-181-40/+20
| | | | | there with this one. Documentation to come. Review by community.
* Added a copy() method to Settings. No review.Paul Phillips2010-02-171-2/+16
|
* Unix scripts pass -D options to the underlying ...Paul Phillips2010-02-161-2/+5
| | | | | | Unix scripts pass -D options to the underlying JVM invocation. Closes #1222. Review by community.
* More classpath work, and cleanups in the vicini...Paul Phillips2010-02-141-14/+29
| | | | | | | More classpath work, and cleanups in the vicinities of everything manipulating classpaths. Review by anyone willing to slog through the approximately dozen different ways the classpath can be influenced.
* Reducing the amount of low-level classpath mani...Paul Phillips2010-02-141-10/+15
| | | | | | Reducing the amount of low-level classpath manipulation going on around town. No review.
* More work on classpaths.Paul Phillips2010-02-111-60/+25
| | | | | | | | | which we must have no test cases at all. In the short term there will probably be a few more minor disruptions since with classpaths constructed a half dozen different ways, achieving consistency requires flushing out the undocumented accidents upon which any given island might depend. Review by community.
* More work on classpaths.Paul Phillips2010-02-101-2/+11
| | | | | | | | to have command line options following source files, at the price of temporarily breaking tools/pathResolver. Working my way through all the usages of classpath in trunk zeroing in on fully consistent handling. Review by community.
* Some work on classpaths.Paul Phillips2010-02-081-69/+58
| | | | | | | | | | | | | | | | | | | | | | | | at https://lampsvn.epfl.ch/trac/scala/wiki/Classpath modulo some minor details which remain to be investigated. It is not entirely integrated, and should not involve any behavioral changes. The patch also contains a number of small improvements targetting widely duplicated code. PathResolver offers a main method. If run with no arguments it will output a pile of information about classpath relevant environment vars and properties. If given arguments, it will output the classpath info that any scala runner script would use if given the same args. There is a wrapper in the tools directory. Example: tools/pathResolver -extdirs /foo -sourcepath /bar | egrep "sourcePath|scalaExtDirs" scalaExtDirs = /foo sourcePath = /bar There is also a (probably temporary) command line option -Ylog-classpath which will print out the settings.classpath value anytime it changes. Review by community.
* Some code duplication removal as I inch us towa...Paul Phillips2010-02-071-1/+3
| | | | | | Some code duplication removal as I inch us toward consistent classpath handling. No review.
* Taking a swing at fixing -optimise. No review.Paul Phillips2010-02-041-1/+2
|
* Some hardening in the repl, and removing some f...Paul Phillips2010-02-041-4/+3
| | | | | | Some hardening in the repl, and removing some functions which now exist in the standard library. No review.
* Took a swing at sorting out sorting.Paul Phillips2010-02-021-2/+1
| | | | | | | | | | | | rewriting the Sorting methods to accept Orderings and adding a sorted method to SeqLike, because we should all be pretty tired of writing ".sortWith(_ < _)" by now. I think it should be called "sort", not "sorted", but that refuses to coexist gracefully with the deprecated sort in List. Review by moors (chosen pretty arbitrarily, someone at epfl should review it but I don't know who deserves the nomination.)
* Great moments in typos: somehow the "decodeUni"...Paul Phillips2010-01-311-1/+0
| | | | | | | | Great moments in typos: somehow the "decodeUni" in CharArrayReader had transmogrified into "decodeUnit" in UnitScanner, thus causing -Xno-uescape to be ignored. Also, removed a now unused -X option. Review by community.
* A compact tree printer, for primitives like mys...Paul Phillips2010-01-301-0/+1
| | | | | | | | | A compact tree printer, for primitives like myself who do all their debugging in the console and need extraneous information filtered out. New option: -Ycompact-trees. Supply that in conjunction with -Xprint:all and suddenly the output is a (relative) masterpiece of concision. Review by anyone who is game to review such a thing. Community?
* Added a command line option for desugaring matc...Paul Phillips2010-01-281-0/+1
| | | | | | Added a command line option for desugaring match blocks differently for debugging purposes. No review.
* Forgot to commit the change. No review.Hubert Plociniczak2010-01-271-0/+2
|
* Digging into why the repl is so slow, discovere...Paul Phillips2010-01-191-4/+3
| | | | | | | | | | | | | | | | | | 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.
* Adjectified some parts of speech as discussed o...Paul Phillips2010-01-181-10/+10
| | | | | | | Adjectified some parts of speech as discussed on the mailing list. The methods to call on FunctionN are "curried" and "tupled" with "curry" deprecated and "tuple" gone. Closes #2907. Review by community.
* Fixed #2889. No review necessary.Miles Sabin2010-01-141-1/+1
|
* scalac portion of fix for #2689.Miles Sabin2010-01-061-0/+31
|
* Another round of deprecation warning elimination.Paul Phillips2009-12-151-10/+10
|
* Updated copyright notices to 2010Antonio Cunei2009-12-071-1/+1
|
* Don't add empty paramdcaoyuan2009-12-051-1/+1
|
* Split command line parameters by space, properl...dcaoyuan2009-12-051-5/+61
| | | | | | Split command line parameters by space, properly process quoted parameter
* Some minor cleanups found while cleaning up.Paul Phillips2009-12-021-1/+0
|
* closes #1904Antonio Cunei2009-11-301-3/+8
|
* Added -make option transitivenocp which won't c...dcaoyuan2009-11-271-1/+1
| | | | | | Added -make option transitivenocp which won't check classpath, so some build tools such as maven can manage this by itself
* More deprecation soothing.Paul Phillips2009-11-181-1/+2
| | | | | warning count.
* Corrected help syntax for -Ybuilder-debug.Miles Sabin2009-11-151-1/+2
|
* fixed #2454Adriaan Moors2009-11-121-1/+0
|
* Breaks down the hash function in BoxesRunTime b...Paul Phillips2009-11-091-10/+0
| | | | | | | | | | | | | | | | Breaks down the hash function in BoxesRunTime by type so we can do as much as possible at compile time. Documents various trouble points I've identified with trying to get the hashCodes aligned. Test case exercises the hashCode functions. Deleted all the code associated with previous equality adventures. Don't worry, I can put anything back if it turns out we have to change course again, but for now it's noise. Also, gives return types to the box and unbox methods which are added to the primitive companions, so e.g. Int.box(5) now returns a j.l.Integer instead of an Object.
* Scala implementation of fancier hashCode algori...Paul Phillips2009-11-041-0/+1
| | | | | | | | Scala implementation of fancier hashCode algorithm. At the moment it isn't used unless you supply -Yjenkins-hashCodes to scalac. Without the flag, the supplied test case generates 12559 unique hashCodes among 90000 case class instances; with the flag it generates 89999.
* Added -Ybuilder-debug:[none,simple,refined] opt...Miles Sabin2009-10-301-0/+1
| | | | | | | Added -Ybuilder-debug:[none,simple,refined] option for testing the interactive build manager; added support for reporting comments during compilation; unbroke the test.positions build target.
* added -Yhigher-kinded-raw switch as temporary w...Adriaan Moors2009-10-291-0/+1
| | | | | added -Yhigher-kinded-raw switch as temporary workaround for #2454
* Whole bunch of code for people interested in eq...Paul Phillips2009-10-281-2/+10
| | | | | | | | Whole bunch of code for people interested in equality. This includes four command line options you can use to alter equality semantics and the various levels of babbling and panicking which the runtime has to offer when confronted with a boxed primitive comparison.
* new classpaths.Lukas Rytz2009-10-261-2/+8
|
* Another warning for -Xstrict-warnings.Paul Phillips2009-10-221-4/+11
| | | | | | | beloved try/catch blocks which swallow all comers. Realized that two warnings are already one too many to combine under a single option, and broke them out into individual options.