summaryrefslogtreecommitdiff
path: root/src/msil
Commit message (Collapse)AuthorAgeFilesLines
* Fix documentation stutters.Blair Zajac2011-12-062-4/+4
|
* Reversed the values of "is" and "is not" in rec...Paul Phillips2011-08-103-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Reversed the values of "is" and "is not" in recent for comprehension deprecation. DO NOT BLOW HATCH REPEAT DO NOT BLOW HATCH "Roger! Hatch blown." Events reveal it was all baby, no bathwater. It turns out that the specification is merely a document, not infallible holy writ as we had all previously believed. So it is not the ABSENCE of val in a for comprehension assignment which is deprecated, it is the PRESENCE of val. Summarizing again, more accurately perhaps: for (x <- 1 to 5 ; y = x) yield x+y // THAT's the one for (val x <- 1 to 5 ; y = x) yield x+y // fail for (val x <- 1 to 5 ; val y = x) yield x+y // fail for (x <- 1 to 5 ; val y = x) yield x+y // deprecated No review.
* Fixes #4490 and #4467.Kato Kazuyoshi2011-06-181-1/+1
|
* [MSIL] finer-grain debugging (steps one sub-exp...Miguel Garcia2011-04-203-24/+19
| | | | | [MSIL] finer-grain debugging (steps one sub-expression at time).
* [MSIL] handling of volatile fields.Miguel Garcia2011-04-0811-52/+198
|
* (1) The msil library can now parse modreq and m...Miguel Garcia2011-03-284-49/+160
| | | | | | (1) The msil library can now parse modreq and modopt, (2) bug fix in GenMSIL. review by rytz. Updated msil.jar coming soon.
* Who knew system was such a popular sentence end...Paul Phillips2011-01-181-1/+1
| | | | | | Who knew system was such a popular sentence ending choice. Fixes some doc comments caught up in the s/// net, no review.
* Imported sbt.Process into trunk, in the guise o...Paul Phillips2011-01-121-1/+1
| | | | | | | | | | | | | | | | | | | Imported sbt.Process into trunk, in the guise of package scala.sys.process. It is largely indistinguishable from the version in sbt, at least from the outside. Also, I renamed package system to sys. I wanted to do that from the beginning and the desire has only grown since then. Sometimes a short identifier is just critical to usability: with a function like error("") called from hundreds of places, the difference between system.error and sys.error is too big. sys.error and sys.exit have good vibes (at least as good as the vibes can be for functions which error and exit.) Note: this is just the first cut. I need to check this in to finish fixing partest. I will be going over it with a comb and writing documentation which will leave you enchanted, as well as removing other bits which are now redundant or inferior. No review.
* Improvements forMSIL: Miguel Garcia2010-11-1811-152/+195
| | | | | | | | | | (1) the Scala types in ch.epfl.lamp.compiler.msil.emit now use Scala collections instead of Java's, (2) a few bug fixes regarding metadata parsing, (3) GenMSIL emits output useful for IDE debugging, (4) TypeParser now enters symbols for generics in case the assemblies being linked sport them, (5) a few fixes for bytecode verif in GenMSIL. review by rytz
* for MSIL: Miguel Garcia2010-08-247-42/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (a) The bytecode that Scala.NET emitted had a tough time in passing peverify due to valuetypes (aka structs) and their related managed-pointer types. With these changes (details in [1] and [2]) external APIs exposing valuetypes can be used, yet the extra step of supporting defining valuetypes in Scala programs has been left for later. Supporting the unsigned integral valuetypes (used, among others, by IKVM) is also pending. (b) A very first step towards generics can be found in TypeParser.parseClass, for the time being commented out (search for the label "TODO CLR generics"). It's commented out because without CLRManifests codegen won't work as expected. Details in [3]. review by rytz Refs: [1] http://lamp.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/2010Q3/Bootstr apping3.pdf [2] http://lamp.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/2010Q3/Bootstr apping4.pdf [3] http://lamp.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/2010Q2/SigToTy pe.pdf
* for MSIL: Previous changesets were applied more...Miguel Garcia2010-08-1315-51/+880
| | | | | | | | | | for MSIL: Previous changesets were applied more-or-less incrementally to scala-msil, this changeset brings them all together to scala trunk. Next stop will be supporting CLR valuetypes (another big one). Afterwards (once emitted .NET bytecode passes peverify) changesets will become more manageable in size. Well, no, there's generics coming. But believe me, soon MSIL changesets will get smaller in size.
* Reverted my brainless introduction of ## to a j...Paul Phillips2010-08-031-1/+1
| | | | | | Reverted my brainless introduction of ## to a java file. Closes #3716, no review.
* Altered a bunch of places which call hashCode t...Paul Phillips2010-05-211-1/+1
| | | | | | Altered a bunch of places which call hashCode to call ## instead. No review.
* Removed more than 3400 svn '$Id' keywords and r...Antonio Cunei2010-05-1257-57/+0
| | | | | Removed more than 3400 svn '$Id' keywords and related junk.
* As a brief diversion from real work, implemente...Paul Phillips2010-04-067-10/+10
| | | | | | | | | As a brief diversion from real work, implemented Damerau–Levenshtein and ran it on trunk to elicit obvious misspellings. Unfortunately they're mostly in places like compiler comments which real people never see, but I fixed them anyway. All those English Lit majors who peruse our sources are sure to be pleased. No review.
* fix msil build (nested classes in particular).Lukas Rytz2010-02-081-6/+10
|
* fix several issues in .net backend / type parsing.Lukas Rytz2010-01-222-6/+23
|
* fix msil code generation for exception handlers.Lukas Rytz2009-12-011-4/+4
|
* More world-shaking deprecation work.Paul Phillips2009-11-201-1/+1
| | | | | | | object, updating some @deprecated messages to give realistic alternatives, properly resolving the semantic mismatch between List.-- and diff, its once-recommended but inequivalent alternative.
* Finally completed the incredibly tedious task o...Paul Phillips2009-11-1811-95/+95
| | | | | | Finally completed the incredibly tedious task of removing the lower case primitive aliases from Predef. Had to rebuild msil.jar along the way.
* The preferred way to convert between primitives...Paul Phillips2009-11-111-3/+3
| | | | | | | The preferred way to convert between primitives is to call .toInt etc, but there were lots of casts for historical reasons. This patch remedies that.
* renamed Vector to IndexedSeqTiark Rompf2009-10-211-1/+1
|
* Removed dead code, some useless Id tags removed.Gilles Dubochet2009-09-243-432/+0
|
* [no content change] Fixed all SVN properties: m...Gilles Dubochet2009-09-2421-21/+21
| | | | | | | | [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
* In "Iterable" and in all its subclasses, "itera...Gilles Dubochet2009-05-271-8/+8
| | | | | | In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
* MSIL is built as part of Sabbus, take 3.Gilles Dubochet2009-05-063-432/+0
|
* MSIL is built as part of Sabbus, take 2.Gilles Dubochet2009-05-0663-0/+14772