Граф коммитов

3883 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 3691619deb Changed dynamic bytecode helper methods to be CallerID based instead of trusting the caller to provide the right context type handle. Also, use Java class loader to load classes, instead of directly going to the runtime. Currently this makes no difference, but if we are to allow dynamic code in statically compiled code this is necessary to respect custom assembly class loaders. 2013-01-30 12:20:07 +00:00
jfrijters cb54fbca2b Removed unused method. 2013-01-30 12:08:01 +00:00
jfrijters ec831d3bc1 Enable ldc <MethodType> to work for unloadable types in dynamic mode. 2013-01-29 16:43:52 +00:00
jfrijters ead034f0f5 Added another overload of the public API Module.__GetSectionInfo() that returns more information about the section. 2013-01-29 11:54:43 +00:00
jfrijters cad052fcaf Added new public API Module.__ResolveTypeSpecCustomModifiers() to resolve the (useless) custom modifiers that can be put on TypeSpecs. 2013-01-29 08:10:44 +00:00
smallsql 32ee764929 Fix TexturePaint bugs. The anchor rectangle of Java has nothing to do with C# dstRect. 2013-01-28 14:56:47 +00:00
jfrijters 5496d3ea4c Regression fix. The AssemblyNames returned by Module.__GetReferencedAssemblies() didn't have the ContentType set for windowruntime assembly references. 2013-01-28 07:18:51 +00:00
jfrijters bab8010805 Expose the Name and __ModuleHash for missing external Modules. 2013-01-28 07:17:27 +00:00
smallsql 71230e8bd1 Monitor must create before usage else it throw a NPE. This fix a NPE with usage of the not standard constructors of BufferedImage. 2013-01-26 11:52:59 +00:00
smallsql 30bee99c9b Fix a bug with Graphics.setComposite(x) before any color or paint was set. This fix the most artefacts of Nimbus L&F. 2013-01-24 20:12:50 +00:00
jfrijters da1e24cfef Updated accessibility checks to handle the fact that we can now inject dynamic classes in all assemblies. 2013-01-24 17:48:38 +00:00
smallsql 6166e37b95 Implements cycle of RadialGradientPaint in Graphics.setPaint 2013-01-24 15:14:17 +00:00
jfrijters 64977f441b Now that dynamically loaded classes in an assembly class loader have access to the internals of the assembly, we no longer need proxy helper interfaces and we can allow extending non-public base classes and implementing non-public interfaces. 2013-01-24 14:29:03 +00:00
jfrijters 84b74a6983 (Ab)use InternalsVisibleToAttribute to allow the runtime to dynamically inject classes into statically compiled assemblies. 2013-01-24 13:59:10 +00:00
jfrijters f1ec727642 Added AttributeHelper.SetInternalsVisibleToAttribute(). 2013-01-24 13:54:19 +00:00
smallsql 35a59490c6 First support fr RadialGradientPaint in Graphics.setPaint 2013-01-19 10:45:42 +00:00
jfrijters 2433855645 Suppress warnings after an error has occurred (to avoid obscuring the fact that compilation failed). 2013-01-16 09:49:01 +00:00
jfrijters 8add7277c9 Disabled automatic assembly loading for ikvmc. All dependencies must now be explicitly referenced (except for the stub jar loophole and secondary assemblies in a shared class loader group). 2013-01-15 15:33:50 +00:00
jfrijters 1629a3d754 Made EditorBrowsableAttribute construction fully symbolic, to avoid having to load System.dll. 2013-01-15 15:31:16 +00:00
jfrijters 43e38e943c Handle unloadable type in map.xml attribute values. 2013-01-15 15:29:57 +00:00
jfrijters 0598c86d95 Don't try to publish members for types that have a missing base type. 2013-01-15 15:20:53 +00:00
jfrijters 2823075d78 Corrected previous commit. 2013-01-15 15:19:52 +00:00
jfrijters 540d17ebfb Ignore MissingMemberException when looking for __<clinit> method. 2013-01-15 15:07:12 +00:00
jfrijters 58ebc40a93 Handle MissingMemberException during FinishRemappedTypes. 2013-01-15 15:02:37 +00:00
jfrijters cbf0c1c803 If a fatal compiler exception occurs during type initialization, unwrap the exception. 2013-01-15 15:01:19 +00:00
jfrijters 0a155fdaad Moved secondary assembly loading (from a shared class loader group) to an explicit step early in the compilation process. Referencing a secondary assembly is now an error, instead of a warning. 2013-01-15 14:55:50 +00:00
jfrijters 81f663b7de Fix previous commit. 2013-01-15 14:43:20 +00:00
jfrijters 26d42a966b Moved (legacy) stub class parsing from the guts of the class loader to an explicit upfront step. 2013-01-15 14:40:03 +00:00
jfrijters ca0f439a93 If the missing type is a constructed type, extract the real missing type from it. 2013-01-15 14:20:38 +00:00
jfrijters 0f2671c9df Fixed the base type check (if the immediate parent failed we didn't have a valid prev). 2013-01-15 14:17:42 +00:00
jfrijters 99c87eacc7 Bug fix. Local variable analysis for finally blocks was incorrect. Fixes bug #3600788. 2013-01-15 09:19:01 +00:00
jfrijters c2cf20fb38 Update copyright year. 2013-01-14 14:31:13 +00:00
jfrijters 2b43a7d7c8 Always rebuild implib. 2013-01-14 13:07:27 +00:00
jfrijters b4dd8f0df8 Implemented ARM unmanaged exports. 2013-01-12 12:07:40 +00:00
jfrijters c0728228d5 Implemented ARM startup stub. 2013-01-12 12:06:30 +00:00
jfrijters 425ceed1ab WoA requires 4K section alignment (not 8K). 2013-01-12 11:57:36 +00:00
jfrijters 818c99014c Added Is32Bit property to PEWriter to remove the need to check for different architectures with the same pointer size. 2013-01-12 11:44:02 +00:00
jfrijters 39277c8d3e Throw NotSupportedException instead of NotImplementedException for unsupported architectures. 2013-01-12 11:35:43 +00:00
jfrijters 34e413822f Throw NotSupportedException when processing unmanaged exports with an unsupported target architecture. 2013-01-12 11:30:48 +00:00
jfrijters 81e0969343 Restructured relocation writing to pack all relocation in a page in the same block, as WoA apparently requires this. 2013-01-12 11:08:59 +00:00
jfrijters a20108a7bf Bug fix. Don't add duplicate methods to attribute annotation interfaces. The primary cause of this was attributes with virtual properties where we would add the base class property as well as the derived class overridden property. 2013-01-09 12:57:47 +00:00
jfrijters f9abdd04cb Officially deprecated compiling with stubs. 2013-01-08 14:47:50 +00:00
jfrijters 134a1f1742 When generating a signature with a missing unloadable type, use the missing type instead of object with a custom modifier. 2013-01-08 07:58:38 +00:00
jfrijters 6d8828276c Give the appropriate error messages if trying to extend or implement a missing type. 2013-01-08 07:07:07 +00:00
jfrijters 15ea3bf863 Implemented Universe.ResolvedMissingMember event for fields, methods and properties. 2013-01-07 13:22:30 +00:00
jfrijters 575378c421 Fixed importing of CLR types with funny names (where we'd previously run into bugs in CLR's Type.Name and Type.Namespace). 2013-01-07 12:43:30 +00:00
jfrijters 60f12ab7b1 Made handling of __<Unloadable> type modifiers more explicit to avoid creating an unloadable in the wrong circumstances and to support missing unloadable modifier types. 2013-01-07 12:21:52 +00:00
jfrijters 9190908938 Enabled resolving missing members and added a warning for missing types. 2013-01-07 12:19:56 +00:00
jfrijters ad66552daf Added Universe.ResolvedMissingMember event. 2013-01-07 12:03:04 +00:00
jfrijters 3dad07d17b Changed type name parser to use Module as context, instead of Assembly. 2013-01-07 11:57:04 +00:00