Commit Graph

6118 Commits

Author SHA1 Message Date
vis2k
fb895d4297 comment 2021-08-27 22:55:35 +08:00
vis2k
1fa6830b69 make tests work again 2021-08-27 22:55:34 +08:00
vis2k
55fb41ee0c disable log 2021-08-27 22:55:25 +08:00
vis2k
e844050d24 fix self referencing Mirror.dll assembly 2021-08-27 22:55:25 +08:00
vis2k
93704025b6 write 2021-08-27 22:55:25 +08:00
vis2k
26d9e802f5 rebase 2021-08-27 22:55:25 +08:00
vis2k
71d19aaff3 forgot to save 2021-08-27 22:55:25 +08:00
vis2k
9d812051a6 syntax 2021-08-27 22:55:25 +08:00
vis2k
5f359ca54b readability 2021-08-27 22:55:25 +08:00
vis2k
8608a59056 comments 2021-08-27 22:55:25 +08:00
vis2k
5edcdaf074 syntax 2021-08-27 22:55:25 +08:00
vis2k
c8b4e64c69 comments 2021-08-27 22:55:25 +08:00
vis2k
fb1af29e87 fix Mirror.dll resolving Mirror.dll types NullReferenceException 2021-08-27 22:55:25 +08:00
vis2k
62fd06d2d5 pass resolver to weaver 2021-08-27 22:55:25 +08:00
vis2k
b822529b3f check mirror assembly resolve result 2021-08-27 22:55:25 +08:00
vis2k
ec6e7281bc fix comment 2021-08-27 22:55:25 +08:00
vis2k
489e55e0b7 fix Mirror.dll Resolve() issues in ReaderWriterProcessor when resolving from the passed Mirror.dll.
DefaultAssemblyResolver doesn't work with ILPostProcessor.
2021-08-27 22:55:25 +08:00
vis2k
d44b98395d comment 2021-08-27 22:55:25 +08:00
vis2k
ab5b27909c add TODO 2021-08-27 22:55:25 +08:00
vis2k
2fc649322f fix: ILPostProcessorReflectionImporter to fix System.Private.CoreLib not being found in Resolver 2021-08-27 22:55:25 +08:00
vis2k
6a2bf0a2be use the custom resolver 2021-08-27 22:55:25 +08:00
vis2k
633dcde64d rename 2021-08-27 22:55:25 +08:00
vis2k
a0168976c6 better warning 2021-08-27 22:55:25 +08:00
vis2k
8874c392a7 comments 2021-08-27 22:55:25 +08:00
vis2k
3ed9be3155 ILPostProcessorAssemblyResolver: add warnings on why Resolve() failed 2021-08-27 22:55:25 +08:00
vis2k
177f1c4e46 ILPostProcessorAssemblyResolver: add logging 2021-08-27 22:55:25 +08:00
vis2k
53be22c2f0 comments, ifdef, syntax 2021-08-27 22:55:25 +08:00
vis2k
cd4380fd7c ILPostProcessorAssemblyResolver from paul 2021-08-27 22:55:25 +08:00
vis2k
3a469aa5f7 pass Mirror.dll to Weave() 2021-08-27 22:55:25 +08:00
vis2k
551d37a153 syntax 2021-08-27 22:55:25 +08:00
vis2k
47de5bf191 fix rocks nto found exception 2021-08-27 22:55:25 +08:00
vis2k
a9b6f9d278 fix file not found cecilx exception 2021-08-27 22:55:25 +08:00
vis2k
0019d7b52f readability 2021-08-27 22:55:25 +08:00
vis2k
4b768ad4db better 2021-08-27 22:55:25 +08:00
vis2k
04ea14a071 fix: show strack trace 2021-08-27 22:55:25 +08:00
vis2k
b09fa0c76e adjust to weaver preparations changes 2021-08-27 22:55:25 +08:00
vis2k
b2e4d40796 rebase squashed previous ilpostprocessor branch 2021-08-27 22:55:25 +08:00
vis2k
2f5ed7efe3 process reader/writer extensions 2021-08-27 22:55:05 +08:00
vis2k
030c173d07 WeaverTypes: import WriterExtensions too 2021-08-27 22:55:05 +08:00
vis2k
1704e24933 WeaverTypes: make imported ReaderExtensions public 2021-08-27 22:55:00 +08:00
vis2k
aff6a8a9c9 fix: WeaverTests 'type was declared in both UnityEngine.dll and UnityEngine.CoreModule.dll' 2021-08-27 22:38:18 +08:00
vis2k
851ad16a17
breaking: Weaver: add ReaderWriterProcessor [Runtime/InitializeOnLoad] Attributes without Reflection (#2893)
* breaking: Weaver: [InitializeOnLoad] attribute is now added without using Reflection.
(possibly a breaking change according to the comment, although it's not obvious why it would break)

* breaking: Weaver: [RuntimeInitializeOnLoad] attribute is now added without using Reflection.
(possibly a breaking change according to the comment, although it's not obvious why it would break)

* comments

* fix builds
2021-08-27 21:06:22 +08:00
vis2k
e87f1cb6eb Weaver: IsEditorAssembly moved into Helpers 2021-08-26 15:38:24 +08:00
vis2k
67418620fc Weave: WeaveFromFile simplified 2021-08-26 13:16:05 +08:00
vis2k
bf5b0e36ec Weaver: FindMirrorRuntime changed to FindCompilationPipelineAssembly 2021-08-26 13:08:31 +08:00
vis2k
6d1a13fc27 syntax 2021-08-26 13:06:59 +08:00
vis2k
bb8268dd06 typo 2021-08-26 13:05:02 +08:00
vis2k
391613b244
Update README.md 2021-08-25 13:00:52 +08:00
Shaun He
56910a1f70
* fix: The type or namespace name 'Exception' could not be found (#2889) 2021-08-25 12:17:02 +08:00
vis2k
95b009a126 Weaver WeaveFromFile: remove unused parameter 2021-08-24 23:15:36 +08:00