jfrijters
|
c42b19de9d
|
Interface methods must be public, so we ignore the @ikvm.lang.Internal annotation and emit a warning.
|
2011-02-17 12:43:18 +00:00 |
jfrijters
|
7f1f16f7cc
|
Treat unrecognized options as errors, instead of warnings.
|
2011-01-13 08:58:36 +00:00 |
jfrijters
|
1410ece953
|
- Added ModuleBuilder.__Save() to support -target:module option better.
- Changed ikvmc to use new ModuleBuilder.__Save() instead of workaround of deleting the manifest module after saving the assembly.
|
2010-11-29 08:16:54 +00:00 |
jfrijters
|
4e650270a5
|
Added -win32icon:<file> option to ikvmc.
|
2010-11-29 07:11:46 +00:00 |
jfrijters
|
8f84f639ef
|
Added ldftn/ldvirtftn/and opcodes.
|
2010-11-20 07:33:10 +00:00 |
jfrijters
|
4395037838
|
Empty sig attribute on call should be interpreted as zero length argument list.
|
2010-10-22 06:06:56 +00:00 |
jfrijters
|
5f9d6733fa
|
Fixed class name resolution for xml remapping instructions.
|
2010-10-21 10:58:57 +00:00 |
jfrijters
|
407ba98287
|
Added error handling for -remap file errors.
|
2010-10-14 15:48:11 +00:00 |
jfrijters
|
536540cf6e
|
Bug fix. Before saving any of the output assemblies, we should first finish all of them (because InternalsVisibleToAttributes may be added as a side effect of compiling code in another assembly).
|
2010-10-11 12:15:28 +00:00 |
jfrijters
|
88df63d615
|
Fix to make sure that ikvmc (and ikvmstub) can find assemblies that are part of a multi assembly (shared class loader) group (if the assembly is in the same directory as the main assembly of the group).
|
2010-10-06 07:39:59 +00:00 |
jfrijters
|
d44f1a2be8
|
Moved core assembly detection to the right place, to avoid problems when a non-main assembly of the core assembly set is explicitly referenced.
|
2010-10-06 04:27:38 +00:00 |
jfrijters
|
ede6f86062
|
Don't depend on leave/endfinally instructions being inserted automatically by ILGenerator.
|
2010-10-05 04:54:09 +00:00 |
jfrijters
|
8861870e10
|
Added endfinally opcode.
|
2010-10-05 04:49:12 +00:00 |
jfrijters
|
cec4f20c29
|
- Removed unnecessary methods from CodeEmitter.
- Removed "Lazy" prefixes in CodeEmitter.
|
2010-10-01 08:11:49 +00:00 |
jfrijters
|
390446e4c5
|
Build intermediate store of MSIL code in CodeEmitter to allow post-processing optimization steps.
|
2010-09-30 04:03:32 +00:00 |
jfrijters
|
3888406d95
|
Wrapped LocalBuilder in new CodeEmitterLocal class to allow CodeEmitter to encapsulate the ILGenerator fully.
|
2010-09-29 07:21:51 +00:00 |
jfrijters
|
c75b9ffb8c
|
Renamed StaticCompiler.GetType() that is used exclusively by map.xml processing to make it more obvious and added error message (and abort the compile). The remaining StaticCompiler.GetType() now behaves more like Type.GetType() in that it returns null if the type isn't found.
|
2010-09-20 15:08:45 +00:00 |
jfrijters
|
3a5fc585a9
|
Added extra indirection thru MethodWrapper for intrinsic method call emitting to allow .NET delegate constructor optimization to use instrinsic infrastructure instead of requiring EmitNewobj to pass a MethodAnalyzer and opcode index.
|
2010-09-14 12:29:22 +00:00 |
jfrijters
|
3797879e66
|
Moved local variable analysis from verifier.cs to new file LocalVars.cs.
|
2010-09-14 07:38:42 +00:00 |
jfrijters
|
0e80c2034a
|
Added explanatory message to Link Error is it is caused by a missing reference.
|
2010-09-10 08:14:42 +00:00 |
jfrijters
|
bc4db05d7c
|
Don't seal @Internal classes.
|
2010-08-18 07:17:30 +00:00 |
jfrijters
|
e5f4247e1c
|
Massive change to change resource handling. Java resources are now stored in jars that are stored as managed .NET resources. The jars are projected into VFS and the assembly class loaders know how to load resources from these jars.
|
2010-08-05 13:43:00 +00:00 |
jfrijters
|
c8f5ffec2d
|
Forgot to commit this change when the changes for the target specific warning handling went in.
|
2010-07-28 12:37:25 +00:00 |
jfrijters
|
6f443b4fc9
|
Added support for comment lines in ikvmc response files.
|
2010-07-16 09:08:20 +00:00 |
jfrijters
|
b19ac2ac06
|
Added -writeSuppressWarningsFile:<file> ikvmc option.
|
2010-07-16 08:56:13 +00:00 |
jfrijters
|
3fa99010ee
|
Made most static compiler warnings local to the target that is being compiled (in multi target mode), to allow warnings to be suppressed (or turned into an error) for a specific target.
|
2010-07-16 08:50:40 +00:00 |
jfrijters
|
20b0629491
|
Added the ability to nest response files and added error handling to response file reading.
|
2010-07-16 08:44:05 +00:00 |
jfrijters
|
cae5add927
|
Add feature to expand environment variables in system properties specified with -D ikvmc option.
|
2010-06-10 08:44:40 +00:00 |
jfrijters
|
23862ca0c5
|
Report FileFormatLimitationExceededException as a simple compiler error, not as a critical failure.
|
2010-06-09 04:55:52 +00:00 |
jfrijters
|
689a16e02d
|
Set type name as exception message.
|
2010-05-27 08:27:37 +00:00 |
jfrijters
|
873c7828da
|
When we're compiling with the -sharedclassloader option we can't do the "effectively final" optimization, because classes in another assembly can be part of the same package (and hence extend the packge private class).
|
2010-05-21 06:27:22 +00:00 |
jfrijters
|
d029e87abc
|
We don't need to use our own version of IsDefined to test for custom attributes, because there is no confusion about what runtime types to use anymore.
|
2010-05-20 06:00:48 +00:00 |
jfrijters
|
71ea18a0dc
|
Removed JVM.GetType().
|
2010-05-20 04:59:13 +00:00 |
jfrijters
|
2c28fc98a8
|
Custom attribute types in map.xml should be resolved via the referenced assemblies, not globally.
|
2010-05-20 04:58:12 +00:00 |
jfrijters
|
b105375099
|
Fixed regression introduced when ikvm.runtime.Startup.setProperties() signature was changed. It should also be changed here. Also changed to using Dictionary<string, string> instead of Hashtable.
|
2010-05-20 04:26:35 +00:00 |
jfrijters
|
aaaedb90a9
|
If the locations don't match, canonicalize them and compare them again to make sure.
|
2010-05-18 06:55:15 +00:00 |
jfrijters
|
8b6e49771b
|
Made all AssemblyResolver warnings into formal ikvmc warnings.
|
2010-05-18 06:48:40 +00:00 |
jfrijters
|
afd0317df2
|
Fix. Imported the wrong types.
|
2010-05-16 07:47:08 +00:00 |
jfrijters
|
b5625e2153
|
Changed StaticCompiler.GetType() to be multi-target aware. Instead of looking thru all assemblies currently loaded, only the relevant referenced assemblies are searched.
Note that this is a (minor) breaking change. Types referenced in -remap:map.xml file are now only resolved against directly referenced assemblies.
|
2010-05-16 06:31:20 +00:00 |
jfrijters
|
6bab77a5df
|
- Removed use of Universe.LoadMscorlib().
- Removed unncessary return value from Init().
|
2010-05-12 15:23:17 +00:00 |
jfrijters
|
6a2f0245c2
|
Moved resolver back to compiler from StaticCompiler, because messing with StaticCompiler.LoadFile isn't a good idea.
|
2010-05-12 15:15:25 +00:00 |
jfrijters
|
54763e3a6f
|
- Consolidated and improved error handling in LoadFile.
- Added warning when LoadFile returns previously loaded assembly, instead of the one specified.
|
2010-05-12 08:43:13 +00:00 |
jfrijters
|
9b58ae25ca
|
Base assembly ref/def matching on Universe.CompareAssemblyIdentity().
|
2010-05-11 15:22:15 +00:00 |
jfrijters
|
dcb2a61ca8
|
Added check to avoid loading assemblies that require a newer version of mscorlib than the one were using (to avoid weird exceptions and potential other problems).
|
2010-05-11 09:34:58 +00:00 |
jfrijters
|
0557143861
|
Don't ignore return code of AssemblyResolver.Init()
|
2010-05-11 07:53:37 +00:00 |
jfrijters
|
e358b6835e
|
Hookup AssemblyResolver's assembly version warning in ikvmc.
|
2010-05-11 06:12:12 +00:00 |
jfrijters
|
495e209de8
|
Added strong named assembly version "policy" support. Reject lower versions, accept higher versions with optional warning and prefer exact matches.
|
2010-05-11 06:11:03 +00:00 |
jfrijters
|
ac852b5dcc
|
We shouldn't use StaticCompiler, but our own universe reference.
|
2010-05-11 04:15:29 +00:00 |
jfrijters
|
c4a4ae3c12
|
Resolver should also resolve assemblies that have already been loaded.
|
2010-05-10 08:22:03 +00:00 |
jfrijters
|
69d207170f
|
Recognize mscorlib by its name, not by having a System.Object type.
|
2010-05-10 07:18:05 +00:00 |