Commit Graph

152 Commits

Author SHA1 Message Date
Katy Coe
c8497a0d7f PS: Fix MapFileParser path expansion bug 2020-11-25 16:34:36 +01:00
Katy Coe
3a6b690c88 PS: Make il2cpp.ps1 compatible with PowerShell 7.x (#92) 2020-11-25 15:17:21 +01:00
Katy Coe
2428060522 Tests: Update expected results 2020-10-13 08:33:25 +02:00
Katy Coe
c94ce7d80e Tests: Output Python scripts for all targets 2020-10-13 08:32:12 +02:00
Katy Coe
76825f231b C++: Include IL2CPP intrinsics of .NET managed types (#79) 2020-10-07 08:00:42 +02:00
Katy Coe
188eb37d9a Tests: Update expected results 2020-09-14 21:19:49 +02:00
Katy Coe
84a3530556 PS: Fix two regressions with Unity version wildcards 2020-09-07 06:06:11 +02:00
Katy Coe
658896f6d6 PS: il2cpp.ps1 support for Unity 2017.1.0f3 - 2018.1.9f2 2020-09-06 03:48:34 +02:00
Katy Coe
90e9ce6b83 PS: il2cpp.ps1 working for Unity >= 2020.1.0f1 2020-09-05 20:49:39 +02:00
Katy Coe
aa9f3974fa PS: Run bytecode stripper before il2cpp 2020-09-05 19:09:34 +02:00
Katy Coe
795989180d PS: Force IL2CPP cache to same folder as output 2020-09-05 18:46:02 +02:00
Katy Coe
3ee3a7f887 PS: Refactor generate-binaries.ps1 (now il2cpp.ps1) 2020-09-05 18:40:21 +02:00
Katy Coe
d358acdfd4 PS: Do single transpile from DLL to C++ before all IL2CPP builds 2020-09-05 17:43:20 +02:00
lifeengines
b91ba5b4f7 PS: Allow full Unity path as version argument (#65) 2020-09-05 17:23:51 +02:00
Katy Coe
ed91f2a3e0 Tests: Add Enums field offsets test (#62) 2020-09-03 08:31:02 +02:00
Katy Coe
af3aa4eed2 Tests: TestRunner once again generates IDA Python script 2020-09-03 07:11:23 +02:00
Katy Coe
d72d8df113 PS: Only invoke Roslyn compiler for specified assemblies
Assemblies should now be specified by stem names rather than with ".dll" at the end
A comma-separated list can be specified including wildcards
Version requirements clarified in comments
Attempting to delete a non-existing Cpp folder will no longer throw an error
2020-09-03 06:55:54 +02:00
Katy Coe
6e301030ea Tests: Tidy up copyright messages 2020-09-03 06:46:28 +02:00
Katy Coe
f590ee3def PS: Suppress Cpp directory deletion error if folder is in use by another process 2020-08-20 05:33:12 +02:00
Katy Coe
604c44aea7 PS: Fix bug finding Unity path 2020-08-20 05:31:18 +02:00
Katy Coe
086c066cc3 PS: Skip Android builds if toolchain unavailable rather than aborting 2020-08-20 05:18:31 +02:00
Katy Coe
e705bcac6b PS: Allow specifying Unity build target as an argument 2020-08-20 05:12:35 +02:00
Katy Coe
c884d2a770 PS: Wipe Cpp folder before re-building IL2CPP application 2020-08-20 05:09:20 +02:00
Katy Coe
0d2f5b71c2 Tests: Update expected results 2020-08-17 06:12:58 +02:00
Katy Coe
95d88e60d7 AppModel: Build model by default in constructor 2020-08-15 02:34:19 +02:00
Katy Coe
f12d4bb98f Tests: Add AppModel Il2CppType* lookup tests 2020-08-14 03:12:02 +02:00
Katy Coe
9fd64fabf9 Tests: Update expected results 2020-08-13 09:14:53 +02:00
Katy Coe
a659c429b0 Tests: Add TestAppModelQueries 2020-08-13 08:01:03 +02:00
Katy Coe
d1aafee184 Tests: Update incorrect CppTypeDeclaration test and add alignment tests 2020-08-13 06:57:41 +02:00
Katy Coe
5abc20dc7a Tests: Updated expected results 2020-08-08 05:27:47 +02:00
Katy Coe
86dec121e5 Tests: Remove .py expected results; update .h expected results 2020-08-04 04:27:44 +02:00
Katy Coe
e4911c9d7d Tests: Add JSON expected results 2020-08-04 04:27:03 +02:00
Katy Coe
6823e37e83 Tests: Remove .py generation from TestRunner and update-expected-results 2020-08-04 04:25:55 +02:00
Katy Coe
5c2e06daee IDA: Refactor to use universal script and JSON metadata 2020-08-04 02:32:16 +02:00
Katy Coe
19a5b3735b Update TestRunner and update-expected-results.ps1 2020-08-02 22:19:31 +02:00
Katy Coe
5c97202d8e C++: Significant iteration of scaffolding output (see commit description)
Generate pre-compiled headers for IL2CPP types and functions
Resolved naming conflicts with functions and macros from windows.h
IL2CPP app functions and TypeInfos were incorrectly placed in global namespace instead of 'app'
Added /MP compiler option (multi-processor compilation)
Split source files into folders
Move GetBaseAddress() into helpers.cpp
Add NewConsole() to helpers.cpp
Move init_il2cpp() from IL2CPP declarations header to own source file
Refactor some header files for consistency and duplicate elimination
2020-08-01 05:23:44 +02:00
Katy Coe
7b9c28fdf3 IDA: Don't produce C type header file if it's already available 2020-07-28 19:23:53 +02:00
Katy Coe
8b2c254235 Tests: Update expected results 2020-07-25 17:24:39 +02:00
Katy Coe
dd5a4a29e7 Tests: Update expected results 2020-07-25 16:04:43 +02:00
Katy Coe
cdc02cb475 Tests: Update UnityVersions test 2020-07-25 15:30:57 +02:00
Katy Coe
d09d53cc67 Tests: Target MSVC for C++ projects 2020-07-24 17:24:37 +02:00
Katy Coe
deeb8daa97 Unity/C++: Significant re-factoring of Unity header management (see description)
Extract resource handling to UnityResource
Add API header resource helpers
Fix UnityVersion ToString() when Min == Max
Replace fixed list of Il2Cpp header reserved names with parsed names from actual selected headers (solves TypeInfo/MemberInfo problems in 5.3.0-5.3.4 (metadata v16-20))
Use CppDeclarationGenerator when initializing CppTypeCollection to ensure all Il2Cpp header symbols are reserved
Process API headers in CppTypeCollection.FromUnityHeaders
Move #define IS_32BIT handling to UnityHeaders
Update tests
2020-07-22 19:01:33 +02:00
Katy Coe
a4d3ae8dc9 Tests: Update expected results 2020-07-20 20:19:33 +02:00
Katy Coe
64fbee92b0 Tests: Fix copy il2cpp-types.h from wrong location in update-expected-results.ps1 2020-07-20 20:18:45 +02:00
Katy Coe
58309b9943 Tests: Provide more detailed mismatch reporting in TestRunner 2020-07-20 17:12:55 +02:00
Katy Coe
632d1d2d9b C++: Generate output in a folder 2020-07-18 19:18:08 +02:00
Katy Coe
43085eb6f2 Tests: Update expected results 2020-07-18 04:56:32 +02:00
Katy Coe
5e69095e89 Tests: Update expected results 2020-07-12 19:32:28 +02:00
Katy Coe
a9606f5c9e Tests: Make TestRunner show the line number of first mismatch 2020-07-12 19:32:03 +02:00
Katy Coe
d8d4f55d3a Tests: Update expected results 2020-07-09 03:49:45 +02:00