Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Throw MemberAccessException when abstract class is used with newobj instruction #902

Open
wants to merge 271 commits into
base: unity-main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
271 commits
Select commit Hold shift + click to select a range
02bd94f
Debugger Use IL2CPP Types 4 (#730)
mderoy Dec 6, 2017
c20990b
Merge pull request #732 from Unity-Technologies/unity-master-staging-…
Dec 6, 2017
9302500
[Debugger] Merge all MACRO and c struct changes (#746)
mderoy Dec 7, 2017
d405b5d
Remove VM_ASSEMBLY macros (#747)
mderoy Dec 11, 2017
2099330
Debugger Remove "C" versions of structs and instead use included vers…
mderoy Dec 12, 2017
e1d8189
Implementing step-to-catch for il2cpp debugger
Dec 12, 2017
9655708
Not setting tls->exception pointer to zero because gc alloc will do t…
Dec 12, 2017
450fd71
Merge pull request #760 from Unity-Technologies/unity-master-staging-…
Dec 12, 2017
a682954
Avoid using BSTR for conversion of a SecureString
joshpeterson Dec 14, 2017
1e60e61
Merge pull request #765 from Unity-Technologies/no-bstr-in-secure-string
joshpeterson Dec 14, 2017
d773c76
[unitytls] Added UnityTLS interface defintion
AndreasReich Dec 12, 2017
90d29d7
[unitytls] Added UnityTlsProvider stub + registration.
AndreasReich Dec 13, 2017
5ce647e
[unitytls] Added stubs for UnityTlsContext/Stream
AndreasReich Dec 13, 2017
b1e0d68
[unitytls] Activate SslStreamTest on Mac if we're building for unity
AndreasReich Dec 13, 2017
4d49d8b
[unitytls] size_t is now a struct instead of an alias. Change char* p…
AndreasReich Dec 13, 2017
8f1c80b
[unitytls] Implemented UnityTlsProvider.ValidateCertificate
AndreasReich Dec 13, 2017
5b0f3c4
[unitytls] fixed access modifies for some structs in UnityTls interface
AndreasReich Dec 14, 2017
1b25fe8
[unitytls] Added debug helper for handling unitytls_errorstate
AndreasReich Dec 14, 2017
598e0d4
[unitytls] Implemented UnityTlsContext init
AndreasReich Dec 14, 2017
98e940d
[unitytls] added checking method that evaluates unitytls_x509verify_r…
AndreasReich Dec 14, 2017
0b84cf2
[unitytls] size_t is now IntPtr and can convert to int implicitely. U…
AndreasReich Dec 14, 2017
74d5592
[unitytls] Implemented tracing, basic handshake and read/write method…
AndreasReich Dec 14, 2017
f7dac9e
[unitytls] Cleaned up CheckAndThrow methods.
AndreasReich Dec 14, 2017
ad45770
[unitytls] Implemented verify callback
AndreasReich Dec 14, 2017
f77b0c5
[unitytls] Use of CertHelper in TlsProvider
AndreasReich Dec 14, 2017
f6c2b75
[unitytls] Mono coding style compliance fixes
AndreasReich Dec 14, 2017
cfa1e04
[unitytls] Removed full mapping of ciphersuite enum since it is not n…
AndreasReich Dec 14, 2017
445e584
[sslstreamtest] Added check for correct certificates and no policy er…
AndreasReich Dec 15, 2017
594e2ac
[sslstreamtest] a few renamings for clarification
AndreasReich Dec 15, 2017
ca57238
[unitytls] Added exception handling for native callbacks as a safety …
AndreasReich Dec 15, 2017
af91c35
[unitytls] implemented data read/write
AndreasReich Dec 15, 2017
5bb3eb6
[unitytls] Filling out MonoTlsConnectionInfo now
AndreasReich Dec 15, 2017
9ea74ae
[unitytls] moved conversion functions into separate file
AndreasReich Dec 15, 2017
22b6ae9
[unitytls] Updated interfaces to newer mono version.
AndreasReich Dec 15, 2017
6ecb133
[sslstreamtest] Added separate test suite for BadSsl authentification…
AndreasReich Dec 15, 2017
32ca087
[sslstreamtest] SslStreamBadSslTest unpacks AggregateException now
AndreasReich Dec 15, 2017
af58b51
[unitytls] unitytls api update - changed callback names
AndreasReich Dec 18, 2017
4a0611c
[unitytls] removed unused & unnecessary handling of intermediate cert…
AndreasReich Dec 18, 2017
d282ba9
[unitytls] Fixed path casing for a couple of files
AndreasReich Dec 18, 2017
01d462a
[unitytls] use der instead of pem in NativeChainToManagedCollection
AndreasReich Dec 18, 2017
6492173
[unitytls] Improved wording of NotImplementedException for server-sid…
AndreasReich Dec 18, 2017
a898096
[unitytls] Brought back handling of intermediate certificates in AddC…
AndreasReich Dec 18, 2017
90d89ea
add editorconfig back, enable pmip via debug flag (#766)
mderoy Dec 18, 2017
e8d0652
Debugger suspend threads
Dec 18, 2017
048d08a
[unitytls] fixed internal read blocking handling
AndreasReich Dec 18, 2017
7f65773
[unitytls] Fixed UNITYTLS_X509VERIFY_FATAL_ERROR being translated to …
AndreasReich Dec 18, 2017
86c910f
[unitytls] Fixed serversided handshake errors being ignored
AndreasReich Dec 18, 2017
7cf1799
[unitytls] Fixed indentation of BadSslTest
AndreasReich Dec 18, 2017
3e58282
[unitytls] Added new (so far) unity specific test suite for ssl tests…
AndreasReich Dec 18, 2017
bc25f62
[unitytls] Fixed incorrect type in MonoPInvokeCallback attribute
AndreasReich Dec 19, 2017
afc9bb2
[unitytls] Cleanup of properties in UntyTlsProvider. Comment notes on…
AndreasReich Dec 19, 2017
d303e41
[unitytls] UnityTlsProvider no longer ignores validator.Settings.Trus…
AndreasReich Dec 19, 2017
92f3755
Merge pull request #768 from Unity-Technologies/unity-master-staging-…
Dec 19, 2017
2cb0c4c
[unitytls] Reverted mono's orginal SslStreamTest
AndreasReich Dec 19, 2017
9bd3b1a
[unitytls] TlsProvider validation fills out policy errors now
AndreasReich Dec 19, 2017
9dfe4d8
add embedding api lost in mono master merge (#769)
mderoy Dec 19, 2017
dbe0ae8
[unitytls] Added tests for correct policy errors
AndreasReich Dec 19, 2017
936a925
[unitytls] No longer keeping server certs and private key alive.
AndreasReich Dec 19, 2017
320954f
Merge pull request #770 from Unity-Technologies/unity-master-staging
joncham Dec 20, 2017
5778842
Fix TimeZoneInfo local time on platforms that do not have tzdata
joncham Dec 20, 2017
f938941
[unitytls] Emulating .net's behavior to call authentification even if…
AndreasReich Dec 21, 2017
39be2ef
[unitytls] Added tests for server client auth callback and getting co…
AndreasReich Dec 21, 2017
bf391b2
[unitytls] Added test for failing handshake via user exception
AndreasReich Dec 21, 2017
e7671c1
[unitytls] Added simple read write test
AndreasReich Dec 21, 2017
3b9f52d
[unitytls] Added test to verify properties of encryption after handshake
AndreasReich Dec 21, 2017
37431de
Ensure mono_gc_dllmain always returns a value.
joncham Dec 21, 2017
b7052c0
Disable incremental link for release builds. This causes native stack…
joncham Dec 21, 2017
97587c8
Merge commit '76d7ab2' into unity-master-staging-merge2
joncham Dec 28, 2017
cae4850
Merge pull request #774 from Unity-Technologies/unity-master-staging-…
joncham Jan 1, 2018
37ff3f5
IL2CPP debugger fixes for working with Unity players (#772)
Jan 2, 2018
29cbfa1
Merge pull request #776 from Unity-Technologies/unity-master-staging
joncham Jan 2, 2018
f9c524f
[unitytls] Reduced UnityTls interface to used functions
AndreasReich Jan 3, 2018
9d07185
[unitytls] UnityTls interface is now installed over a struct of callb…
AndreasReich Jan 3, 2018
4ebbe9a
Update README.md with simpler branching scheme
joncham Jan 3, 2018
008d862
Fix link
joncham Jan 3, 2018
bec1156
Remove unneeded *mono_arch_init_lmf_ext stub and fix call to mono_g_h…
joncham Jan 2, 2018
033f565
Fix error when DEBUG is enabled
joncham Jan 3, 2018
3492bb2
Sync more API changes from Mono
joncham Jan 3, 2018
4068aab
Enable IPv6 support in the settings files
joshpeterson Jan 4, 2018
f785be4
Always set GC_no_dls when using bdwgc (case 954427)
mderoy Jan 4, 2018
1382d28
[unitytls] Added missing MONO_API to mono_unity_get_unitytls_interfac…
AndreasReich Jan 5, 2018
c2401ef
Merge pull request #781 from Unity-Technologies/unity-master-fix-andr…
mderoy Jan 5, 2018
a83dfbb
Merge pull request #780 from Unity-Technologies/enable-ipv6-settings-…
joshpeterson Jan 5, 2018
62e7a52
[unitytls] Removed SslStream tests again since they are not passing w…
AndreasReich Jan 5, 2018
b990700
[unitytls] mono_unity_unitytls_interface exposes now invalid_handle, …
AndreasReich Jan 5, 2018
a47260d
[unitytls] Removed calls to UnityTls.GetInterface
AndreasReich Jan 5, 2018
7924b37
Reduce allocations and perform name calculation outside of lock.
joncham Jan 5, 2018
dc8d8fb
Avoid some code paths on IL2CPP on Mono to avoid test failures.
joncham Jan 5, 2018
3d1a1f7
Merge pull request #783 from Unity-Technologies/unity-master-il2cpp-o…
joncham Jan 5, 2018
acc623a
Merge pull request #782 from Unity-Technologies/unity-master-mixed-ca…
joncham Jan 5, 2018
b1a8eca
[unitytls] Making use of Settings.EnabledCiphers now
AndreasReich Jan 8, 2018
589f130
[unitytls] Native interface is retrieved via static property now inst…
AndreasReich Jan 8, 2018
ca2058f
[unitytls] Removed local caching of unitytls native interface again.
AndreasReich Jan 8, 2018
0a1e777
Merge branch 'unity-master' into unity-master-staging-unitytls
AndreasReich Jan 8, 2018
d90ff2f
[unitytls] Removed commented debug output in MonoTlsProviderFactory a…
AndreasReich Jan 8, 2018
f9e79da
[unitytls] Reverted remaining changes in system tests
AndreasReich Jan 8, 2018
9889bec
[unitytls] added comment explaining use of mono_unity_unitytls_interface
AndreasReich Jan 8, 2018
a5df54c
[unitytls] FinishHandshake no longer passes null for errorState when …
AndreasReich Jan 8, 2018
fe8bf68
[unitytls] Removed leftover from previous p/invoke based integration.
AndreasReich Jan 9, 2018
1165e17
[unitytls] User exceptions from read/write/handshake are now passed o…
AndreasReich Jan 9, 2018
8f7503b
[unitytls] Commented on UInt8/Int8 aliases
AndreasReich Jan 9, 2018
88d2f08
breakpoints_cleanup() in the debugger agent can be called multiple
Jan 9, 2018
02aa179
[unitytls] Implemented client->server authentification
AndreasReich Jan 10, 2018
3843d8e
[unitytls] Update of error code to newest version
AndreasReich Jan 10, 2018
f332f26
Add API to control behavior of thread abort within handler blocks (ca…
joncham Jan 10, 2018
601111c
[unitytls] Mono convention compliance fixes
AndreasReich Jan 10, 2018
4c76fc9
Fix instrumentation with legacy profiler APIs (case 979612)
joncham Jan 10, 2018
26c4caf
Fix Windows Socket.Send not blocking (case 984723)
joncham Jan 9, 2018
eb39683
Fix crash on startup when script debugging is enabled due to shared s…
mderoy Jan 10, 2018
cb363d5
Merge pull request #786 from Unity-Technologies/unity-master-win32-so…
joncham Jan 10, 2018
9d02a18
Merge pull request #788 from Unity-Technologies/add-embedding-api-han…
joncham Jan 10, 2018
daa5b79
Merge pull request #789 from Unity-Technologies/unity-master-fix-deep…
joncham Jan 10, 2018
3207b33
Merge pull request #790 from Unity-Technologies/fix-android-signal (c…
mderoy Jan 10, 2018
3191b8a
Merge pull request #787 from Unity-Technologies/il2cpp-debugger-misc-…
Jan 10, 2018
2e82f4d
Use new MonoBleedingEdge builds.zip for bootstrap Mono.
joncham Jan 11, 2018
d93250b
Add folder specifically for UnityScript and Boo assemblies.
joncham Jan 11, 2018
0940f04
Merge pull request #791 from Unity-Technologies/unity-master-fix-mono…
joncham Jan 11, 2018
07c1f14
Merge pull request #792 from Unity-Technologies/unity-master-us-and-b…
joncham Jan 11, 2018
52e347b
[unitytls] UnityTls.IsSupported no longer relies on exception handlin…
AndreasReich Jan 12, 2018
65af3e7
[unitytls] mono_unity_get_unitytls_interface is now called via icall
AndreasReich Jan 12, 2018
7162bf5
Various cleanups for the Il2cpp Debugger
mderoy Jan 8, 2018
22ca037
Merge pull request #793 from Unity-Technologies/unity-master-debugger…
mderoy Jan 12, 2018
9500a30
for some regions, specifically Asia/Singapore, the native icall retur…
mderoy Jan 16, 2018
5a28379
[unitytls] Renamed mono_unity_unitytls_interface to unitytls_interfac…
AndreasReich Jan 16, 2018
1e12465
Merge pull request #795 from Unity-Technologies/unity-master-tz-fix-b…
mderoy Jan 16, 2018
7356c31
* Changed IL2CPP specific sections in debugger-agent.c to use the
Jan 12, 2018
cdaebd8
Merge pull request #784 from Unity-Technologies/unity-master-unitytls
AndreasReich Jan 17, 2018
ce99638
Merge pull request #794 from Unity-Technologies/il2cpp-debugger-prepr…
Jan 17, 2018
7fa476f
Changing the CMD_TYPE_IS_INITIALIZED command for the il2cpp case in
Jan 17, 2018
4d85d0e
Merge pull request #800 from Unity-Technologies/il2cpp-debugger-type-…
Jan 17, 2018
eee354c
Support timezones without daylight savings time (case 988428) (case 9…
mderoy Jan 17, 2018
e01ef6d
Merge pull request #801 from Unity-Technologies/unity-master-tz-fix-b…
mderoy Jan 18, 2018
682e1af
[unitytls] Updated unitytls_interface_struct to newest version
AndreasReich Jan 19, 2018
d9dda45
Changing sequence point IDs to integers because they are array
Jan 19, 2018
3ea4ed4
[unitytls] Fixed type in interface: key_parse password is char/int8 n…
AndreasReich Jan 22, 2018
b122ffb
Merge pull request #802 from Unity-Technologies/unity-master-unitytls
AndreasReich Jan 22, 2018
712071d
Merge pull request #803 from Unity-Technologies/il2cpp-debugger-remov…
Jan 22, 2018
71ad545
Fixes an issue where a pipestream handle may be closed twice (Case 94…
Jan 22, 2018
1ad733d
Merge pull request #804 from Unity-Technologies/unity-master-fix-name…
mderoy Jan 22, 2018
79f86de
Reuse class unload cache filter logic from metadata in debugger (case…
joncham Jan 23, 2018
e2d3ddd
Merge pull request #809 from Unity-Technologies/unity-master-debugger…
joncham Jan 23, 2018
c7ff206
Add legacy profiler support for allocations (case 988906)
joncham Jan 23, 2018
4ca758f
Add out of process crash handler APIs.
PeteLewisUnity Jul 24, 2017
f26d7c9
adds the option to build android runtime with windows subsystem for l…
Jan 25, 2018
95ab5eb
Fixes for il2cpp debugger running with Visual Studio for Mac:
Jan 25, 2018
7c0dec0
Remove extra reference count on images loaded via byte array (case 92…
joncham Jul 28, 2017
5ef7ea5
Fix issue on android where HTTPClient.GetAsync will fail with libc er…
Jan 25, 2018
9c14da5
Merge pull request #822 from Unity-Technologies/unity-master-add-andr…
mderoy Jan 25, 2018
31039ff
Merge pull request #824 from Unity-Technologies/unity-master-load-ass…
joncham Jan 25, 2018
b117a3d
Merge pull request #815 from Unity-Technologies/unity-master-profiler…
joncham Jan 25, 2018
59240d1
Revert il2cpp as dependency of mono f16d00efca44d61f69450d5d9e45aef02…
Jan 25, 2018
ff33da9
Merge pull request #826 from Unity-Technologies/unity-master-fix-andr…
mderoy Jan 25, 2018
5d92128
Merge pull request #817 from Unity-Technologies/unity-master-oop-cras…
joncham Jan 25, 2018
155ca60
Implement path remapping support (case 992909)
joncham Jan 26, 2018
bb0c4f9
Merge pull request #830 from Unity-Technologies/unity-master-remove-i…
mderoy Jan 26, 2018
6922252
Merge pull request #834 from Unity-Technologies/unity-master-path-rem…
joncham Jan 26, 2018
9190155
Only call `waitpid` for processes that Mono tracks, rather than all c…
PeteLewisUnity Dec 19, 2017
0897c51
Merge pull request #836 from Unity-Technologies/unity-master-waitpid-…
joncham Jan 27, 2018
d476b39
[unitytls] Updated interface
AndreasReich Jan 29, 2018
0768508
[unitytls] Handling gracefully closed connections properly now. Sendi…
AndreasReich Jan 29, 2018
0541fdf
Merge pull request #838 from Unity-Technologies/unity-master-unitytls
AndreasReich Jan 29, 2018
454c8f0
Merge pull request #823 from Unity-Technologies/il2cpp-debugger-vs-fo…
Jan 29, 2018
2a3eb56
Sync IL2CPP changes to fix builds on older MSVC.
joncham Jan 31, 2018
2b30167
Merge pull request #844 from Unity-Technologies/unity-master-sync-il2…
joncham Jan 31, 2018
6e036ac
Improve MSVC check for inttypes.h
joncham Feb 2, 2018
16f0741
Avoid call to mono_gc_get_managed_allocator_types when running on IL2…
joncham Feb 2, 2018
d735272
Don't flush buffers explicitly. let the file cache do that since it s…
Feb 2, 2018
3bc9017
Merge pull request #845 from Unity-Technologies/unity-master-dont-flu…
mderoy Feb 5, 2018
237c030
[reference-assemblies] Fix public key for some newer v4.7.1 facades (…
akoeplinger Feb 8, 2018
4d5b659
Modify some defines so COM and Windows Runtime support works on Unity…
TautvydasZilys Feb 9, 2018
71f1c16
Synchronize changes debugger from the IL2CPP repo
joshpeterson Feb 12, 2018
dcb6577
Merge pull request #846 from Unity-Technologies/unity-master-windows-…
TautvydasZilys Feb 12, 2018
f0fe112
Merge pull request #847 from Unity-Technologies/il2cpp-debbuger-sync
joshpeterson Feb 13, 2018
eab4eb5
Changing debugger metadata to a format that will be faster to compile
Feb 13, 2018
aa8661a
Merge pull request #848 from Unity-Technologies/il2cpp-debugger-metadata
Feb 15, 2018
6b9a6f9
Initial changes to get the debugger to compile on PS4
Feb 14, 2018
18b971e
Add missing files to be copied from Mono.
Feb 15, 2018
6a05f5d
Merge pull request #850 from Unity-Technologies/il2cpp-debugger-ps4
joshpeterson Feb 16, 2018
415dc87
Work around an Android C++ compiler bug
joshpeterson Feb 16, 2018
9410509
Merge pull request #851 from Unity-Technologies/workaround-android-co…
joshpeterson Feb 20, 2018
4ff5d1e
Removing unneeded files from the IL2CPP external/mono/mono/mini
Feb 20, 2018
991e78a
Merge pull request #852 from Unity-Technologies/il2cpp-debugger-build
Feb 21, 2018
3aa9801
Poke various parts of Mono until libil2cpp with debugger compiles on
TautvydasZilys Feb 23, 2018
74d2477
Merge pull request #856 from Unity-Technologies/fix-uwp-and-xbox-one-…
TautvydasZilys Feb 24, 2018
58faedf
Use the Unity PAL for the IL2CPP debugger
Feb 23, 2018
7e21310
Merge pull request #855 from Unity-Technologies/il2cpp-debugger-unity…
joshpeterson Feb 27, 2018
2c936e0
Use proper sized integer for ioctlsocket on Win32 (case 990979)
joncham Feb 20, 2018
3d4bb39
[bcl] Allow conversion from enums and their basetypes in both directi…
vargaz Dec 17, 2017
bc0ff2f
[mcs] Support implicit user conversion from nullable type without unw…
marek-safar Dec 21, 2017
ecef34c
Add PointerValue.Value to dereference and access pointer value.
joncham Feb 7, 2018
e15b660
change first supported time to 1971 for ps4
Mar 1, 2018
6d1b992
Merge pull request #858 from Unity-Technologies/first-timezone-1971
mderoy Mar 1, 2018
14342b1
Remove the machine.config check for IPv6 support
joshpeterson Mar 7, 2018
ca762c2
Merge pull request #862 from Unity-Technologies/ipv6-normalize-profiles
joshpeterson Mar 7, 2018
fdd29ba
Set the frame ID for the debugger
Mar 8, 2018
a49c62a
Merge pull request #863 from Unity-Technologies/sync-il2cpp-debugger
joshpeterson Mar 8, 2018
af9f98c
Support pointer fields in ValueType Equals & GetHashCode (case 1005597)
joncham Mar 8, 2018
194102d
Merge pull request #865 from Unity-Technologies/unity-master-valuetyp…
joncham Mar 8, 2018
3bb0be9
[corlib] Fix Type.GetInterface() to find implemented interface when "…
KonH Mar 7, 2018
5c9428b
Swap bytes for port number (case 1006506)
joncham Mar 9, 2018
cb33cc6
Update README.md
joncham Mar 9, 2018
002915a
[Facades] Add missing Facades that exist in .NET 4.7.1 (#7541)
akoeplinger Mar 10, 2018
b6daf20
Sync changes from IL2CPP 85698322c225ff1be2bc71c65a00b64d67d71a24
joncham Mar 12, 2018
374a152
Sync changes from IL2CPP 7071db69fe79c82b32c928e94c61b8af145e7697
joncham Mar 12, 2018
70ff150
Don't fail constructing WebProxyData if retrieving proxy data from th…
TautvydasZilys Mar 12, 2018
7a9ba85
Merge pull request #870 from Unity-Technologies/fix-http-web-request-uwp
TautvydasZilys Mar 13, 2018
96c5d15
Fixed calling conventions for unitytls callbacks
AndreasReich Mar 13, 2018
2b3f8a5
Set calling convention to cdecl for all delegates in unitytls_interfa…
AndreasReich Mar 13, 2018
c328a85
Merge pull request #871 from Unity-Technologies/unity-master-unitytls…
AndreasReich Mar 13, 2018
3633b8e
Merge pull request #869 from Unity-Technologies/unity-master-sync-il2cpp
joncham Mar 14, 2018
2d68de1
[unitytls] Workaround for crash on Android when calling unitytls_tlsc…
AndreasReich Mar 14, 2018
e618bee
Merge pull request #872 from Unity-Technologies/unity-master-unitytls…
AndreasReich Mar 15, 2018
bbed2bf
Merge pull request #868 from Unity-Technologies/unity-master-missing-…
joncham Mar 15, 2018
5354438
Merge pull request #866 from Unity-Technologies/unity-master-fix-get-…
joncham Mar 15, 2018
f517be7
Remove mono specific reference assemblies
joncham Mar 9, 2018
562c6a0
Merge pull request #867 from Unity-Technologies/unity-master-remove-m…
joncham Mar 15, 2018
13ef9d1
Fix issue #7596 on Windows x64. (#7625)
lateralusX Mar 16, 2018
d37a5bf
Merge pull request #873 from Unity-Technologies/unity-master-win64-st…
joncham Mar 16, 2018
02e341b
unity_process_breakpoint_inner(), like its Mono counterpart, will
Mar 19, 2018
24a16c1
If a bad header is received from the client or the connection is broken,
Mar 13, 2018
9304fdd
Remove IL2CPP copy scripts. This is in IL2CPP repo now.
joncham Mar 19, 2018
51603c9
Merge pull request #876 from Unity-Technologies/debugger-dispose-on-c…
Mar 19, 2018
c3fbab9
Merge pull request #874 from Unity-Technologies/il2cpp-debugger-bp-st…
Mar 19, 2018
fd2dd4c
Merge pull request #878 from Unity-Technologies/unity-master-remove-i…
joncham Mar 20, 2018
e73093f
Sync with IL2CPP changes for memory mapped files
Mar 21, 2018
28a9910
This fixes an issue we are seeing with VSTU debgugging in Unity. (#7634)
Mar 21, 2018
18b5d68
Add .NET FW to beginning of path rather than end
joncham Mar 21, 2018
cfa536f
Raise marshaling exception rather than aborting when marshaling inval…
joncham Aug 15, 2017
929620b
Allow structure to pointer conversion for blittable multi-dimensional…
joncham Aug 15, 2017
6590226
Merge pull request #883 from Unity-Technologies/unity-master-fix-bare…
joncham Mar 23, 2018
01019fe
[object] mono_string_new should not assert on UTF conversion failures…
lambdageek Dec 25, 2017
f650db8
Forward mono_string_new_wrapper to mono_string_new for error handling.
joncham Mar 20, 2018
9c63172
Merge pull request #884 from Unity-Technologies/graft-marshal-changes
mderoy Mar 23, 2018
96d5379
Merge pull request #880 from Unity-Technologies/unity-master-invalid-…
joncham Mar 23, 2018
6de05ee
Merge pull request #882 from Unity-Technologies/mono-debugger-dispose…
Mar 23, 2018
0e083f5
[arm] fix stack alignment for structs (#7691)
lewurm Mar 21, 2018
14b7ebe
add boo to unityscript folder
Mar 23, 2018
2bcc421
Merge pull request #888 from Unity-Technologies/unity-master-package-…
mderoy Mar 23, 2018
d6f6688
Merge pull request #890 from Unity-Technologies/unity-master-fix-stac…
joncham Mar 24, 2018
1ff90f7
Merge pull request #881 from Unity-Technologies/il2cpp-implement-memo…
joshpeterson Mar 27, 2018
da417b7
Exposing MonoClass.has_cctor via a new unity-utils function. Need
Mar 27, 2018
c1fe038
Merge pull request #892 from Unity-Technologies/expose-klass-has-cctor
Mar 27, 2018
d889370
Revert "Remove mono specific reference assemblies"
joncham Mar 28, 2018
dab14a9
Use An AOT-friendly Linq implementation
joshpeterson Mar 29, 2018
83e3daa
Merge pull request #894 from Unity-Technologies/linq-unityaot-profile
joshpeterson Mar 30, 2018
e09ab04
Report the proper socket error
joshpeterson Mar 30, 2018
aafa4ac
File IO profile support
davidrogers-unity Apr 4, 2018
17a6516
Merge pull request #897 from Unity-Technologies/proper-socket-error
joshpeterson Apr 5, 2018
13e9761
Merge pull request #899 from Unity-Technologies/unity-master-fileio-p…
davidrogers-unity Apr 5, 2018
d1feca2
Throw MemberAccessException when abstract class is used with newobj i…
joncham Apr 5, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# see http://editorconfig.org/ for docs on this file

root = true

[*]
end_of_line = lf
trim_trailing_whitespace = false
insert_final_newline = false
indent_style = tab
indent_size = 4

# this VS-specific stuff is based on experiments to see how VS will modify a file after it has been manually edited.
# the settings are meant to closely match what VS does to minimize unnecessary diffs. this duplicates some settings in *
# but let's be explicit here to be safe (in case someone wants to copy-paste this out to another .editorconfig).
[*.{vcxproj,vcxproj.filters,csproj,props,targets}]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = false
[*.{sln,sln.template}]
indent_style = tab
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@
[submodule "external/api-snapshot"]
path = external/api-snapshot
url = git://github.com/mono/api-snapshot.git
[submodule "external/bdwgc"]
path = external/bdwgc
url = git://github.com/Unity-Technologies/bdwgc.git
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ else
support_dir =
endif

SUBDIRS = po $(libgc_dir) mono $(ikvm_native_dir) $(support_dir) data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
SUBDIRS = po $(libgc_dir) $(bdwgc_dir) mono $(ikvm_native_dir) $(support_dir) data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
# Keep in sync with SUBDIRS
DIST_SUBDIRS = m4 po $(libgc_dir) mono ikvm-native $(support_dir) data runtime scripts man samples tools msvc docs acceptance-tests llvm
DIST_SUBDIRS = m4 po $(libgc_dir) $(bdwgc_dir) mono ikvm-native $(support_dir) data runtime scripts man samples tools msvc docs acceptance-tests llvm

all: update_submodules

Expand Down
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
Unity
============================
This is Unity Technologies fork of the open source mono project.

### Versions
Each Unity release contains two versions of Mono. One older version (Mono) is embedded into the Editor and Players. Another newer version (MonoBleedingEdge) is used to run tools and tests.

In newer Unity versions (2017.1+) this MonoBleedingEdge version can be used in the Editor and Players via enabling an Experimental player setting.

### Branch Naming Convention
Branches for released Unity versions are of the form unity-\<version\>\[-mbe\][-staging\]. The '-staging' suffix is used as a branch for PRs to target with potential changes. The '-mbe' suffix indicates the branch is for the MonoBleedingEdge version of Mono mentioned above.

### Branches

#### Trunk
* [unity-trunk (PR to this branch for Mono)](https://github.com/Unity-Technologies/mono/tree/unity-trunk)
* [unity-master (PR to this branch for MonoBleedingEdge)](https://github.com/Unity-Technologies/mono/tree/unity-master)

#### 2018.1
* [unity-2018.1](https://github.com/Unity-Technologies/mono/tree/unity-2018.1)
* [unity-2018.1-mbe](https://github.com/Unity-Technologies/mono/tree/unity-2018.1-mbe)

#### 2017.3
* [unity-2017.3](https://github.com/Unity-Technologies/mono/tree/unity-2017.3)
* [unity-2017.3-mbe](https://github.com/Unity-Technologies/mono/tree/unity-2017.3-mbe)

#### 2017.2
* [unity-2017.2](https://github.com/Unity-Technologies/mono/tree/unity-2017.2)
* [unity-2017.2-mbe](https://github.com/Unity-Technologies/mono/tree/unity-2017.2-mbe)

#### 2017.1
* [unity-2017.1](https://github.com/Unity-Technologies/mono/tree/unity-2017.1)
* [unity-2017.1-mbe](https://github.com/Unity-Technologies/mono/tree/unity-2017.1-mbe)

#### 5.6
* [unity-5.6](https://github.com/Unity-Technologies/mono/tree/unity-5.6)
* [unity-5.6-mbe](https://github.com/Unity-Technologies/mono/tree/unity-5.6-mbe)




Mono
============================

Mono is a software platform designed to allow developers to easily
create cross platform applications. It is an open source
implementation of Microsoft's .NET Framework based on the ECMA
Expand Down
12 changes: 12 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,18 @@ automake --add-missing --gnu -Wno-portability -Wno-obsolete $am_opt ||
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }

# if test -d $srcdir/external/bdwgc/libatomic_ops; then
# echo Running external/bdwgc/libatomic_ops/autogen.sh ...
# (cd $srcdir/external/bdwgc/libatomic_ops ; ./autogen.sh)
# echo Done running external/bdwgc/libatomic_ops/autogen.sh ...
# fi

if test -d $srcdir/external/bdwgc; then
echo Running external/bdwgc/autogen.sh ...
(cd $srcdir/external/bdwgc ; ./autogen.sh)
echo Done running external/bdwgc/autogen.sh ...
fi

if test -d $srcdir/libgc; then
echo Running libgc/autogen.sh ...
(cd $srcdir/libgc ; NOCONFIGURE=1 ./autogen.sh "$@")
Expand Down
66 changes: 65 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,8 @@ AC_ARG_WITH(xammac, [ --with-xammac=yes,no If you w
AC_ARG_WITH(testing_aot_hybrid, [ --with-testing_aot_hybrid=yes,no If you want to build the testing_aot_hybrid assemblies (defaults to no)], [], [with_testing_aot_hybrid=default])
AC_ARG_WITH(testing_aot_full, [ --with-testing_aot_full=yes,no If you want to build the testing_aot_full assemblies (defaults to no)], [], [with_testing_aot_full=default])
AC_ARG_WITH(winaot, [ --with-winaot=yes,no If you want to build the Windows friendly AOT assemblies (defaults to no)], [], [with_winaot=default])
AC_ARG_WITH(unityjit, [ --with-unityjit=yes,no If you want to build the Unity JIT friendly assemblies (defaults to no)], [], [with_unityjit=default])
AC_ARG_WITH(unityaot, [ --with-unityaot=yes,no If you want to build the Unity AOT friendly assemblies (defaults to no)], [], [with_unityaot=default])
AC_ARG_WITH(orbis, [ --with-orbis=yes,no If you want to build the Orbis assemblies (defaults to no)], [], [with_orbis=default])
AC_ARG_WITH(unreal, [ --with-unreal=yes,no If you want to build the Unreal assemblies (defaults to no)], [], [with_unreal=default])
AC_ARG_WITH(wasm, [ --with-wasm=yes,no If you want to build the WebAssembly (defaults to no)], [], [with_wasm=default])
Expand All @@ -949,12 +951,15 @@ with_xammac_default=no
with_testing_aot_hybrid_default=no
with_testing_aot_full_default=no
with_winaot_default=no
with_unityjit_default=no
with_unityaot_default=no
with_orbis_default=no
with_unreal_default=no
with_wasm_default=no

with_bitcode_default=no
with_cooperative_gc_default=no
mono_feature_disable_com=yes

INVARIANT_AOT_OPTIONS=nimt-trampolines=2000,ntrampolines=9000,nrgctx-fetch-trampolines=256,ngsharedvt-trampolines=4000

Expand All @@ -972,6 +977,8 @@ elif test x$with_runtime_preset = xall; then
with_monotouch_tv_default=yes
with_xammac_default=yes
with_winaot_default=yes
with_unityjit_default=yes
with_unityaot_default=yes
with_orbis_default=yes
with_unreal_default=yes
with_wasm_default=yes
Expand Down Expand Up @@ -1034,6 +1041,25 @@ elif test x$with_runtime_preset = xwinaot; then
AOT_BUILD_FLAGS="--runtime=mobile --aot=full,$INVARIANT_AOT_OPTIONS"
AOT_RUN_FLAGS="--runtime=mobile --full-aot"
AOT_MODE="llvmonly"
elif test x$with_runtime_preset = xunityjit; then
DISABLE_MCS_DOCS_default=yes
with_unityjit_default=yes
TEST_PROFILE=unityjit

mono_feature_disable_remoting='yes'
elif test x$with_runtime_preset = xunityaot; then
DISABLE_MCS_DOCS_default=yes
with_unityaot_default=yes
TEST_PROFILE=unityaot

#mono_feature_disable_com='yes'
mono_feature_disable_remoting='yes'
mono_feature_disable_reflection_emit_save='yes'
mono_feature_disable_reflection_emit='yes'
mono_feature_disable_appdomains='yes'

AOT_BUILD_FLAGS="--aot=full,$INVARIANT_AOT_OPTIONS"
AOT_RUN_FLAGS="--full-aot"
elif test x$with_runtime_preset = xorbis; then
DISABLE_MCS_DOCS_default=yes
with_orbis_default=yes
Expand Down Expand Up @@ -1115,6 +1141,12 @@ fi
if test "x$with_winaot" = "xdefault"; then
with_winaot=$with_winaot_default
fi
if test "x$with_unityjit = "xdefault"; then
with_unityjit=$with_unityjit_default
fi
if test "x$with_unityaot = "xdefault"; then
with_unityaot=$with_unityaot_default
fi
if test "x$with_orbis" = "xdefault"; then
with_orbis=$with_orbis_default
fi
Expand All @@ -1136,6 +1168,8 @@ AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"])
AM_CONDITIONAL(INSTALL_TESTING_AOT_HYBRID, [test "x$with_testing_aot_hybrid" != "xno"])
AM_CONDITIONAL(INSTALL_TESTING_AOT_FULL, [test "x$with_testing_aot_full" != "xno"])
AM_CONDITIONAL(INSTALL_WINAOT, [test "x$with_winaot" != "xno"])
AM_CONDITIONAL(INSTALL_UNITYJIT, [test "x$with_unityjit" != "xno"])
AM_CONDITIONAL(INSTALL_UNITYAOT, [test "x$with_unityaot" != "xno"])
AM_CONDITIONAL(INSTALL_ORBIS, [test "x$with_orbis" != "xno"])
AM_CONDITIONAL(INSTALL_UNREAL, [test "x$with_unreal" != "xno"])
AM_CONDITIONAL(INSTALL_WASM, [test "x$with_wasm" != "xno"])
Expand All @@ -1161,6 +1195,12 @@ fi
if test -z "$INSTALL_WINAOT_TRUE"; then :
default_profile=winaot
fi
if test -z "$INSTALL_UNITYJIT_TRUE"; then :
default_profile=unityjit
fi
if test -z "$INSTALL_UNITYAOT_TRUE"; then :
default_profile=unityaot
fi
if test -z "$INSTALL_ORBIS_TRUE"; then :
default_profile=orbis
fi
Expand Down Expand Up @@ -1429,6 +1469,20 @@ AC_COMPILE_IFELSE([
AC_MSG_RESULT(no)
])

dnl BDWGC GC configuration
dnl

AC_ARG_ENABLE(bdwgc, [ --disable-bdwgc Disable the Bdwgc GC.], upport_bdwgc=$enableval,support_bdwgc=${support_bdwgc:-yes})
AM_CONDITIONAL(SUPPORT_BDWGC, test x$support_bdwgc = xyes)
bdwgc_dir=external/bdwgc
BDWGC_DEFINES='-DHAVE_BOEHM_GC -DHAVE_BDWGC_GC'
LIBGCBDWGC_CPPFLAGS='-I$(top_srcdir)/external/bdwgc/include -I$(top_srcdir)/external/bdwgc/libatomic_ops/src'
AC_SUBST(bdwgc_dir)
AC_SUBST(BDWGC_DEFINES)
AC_SUBST(LIBGCBDWGC_CPPFLAGS)

dnl

dnl
dnl Boehm GC configuration
dnl
Expand Down Expand Up @@ -1505,7 +1559,10 @@ if test "x$support_boehm" = "xyes"; then
AC_SUBST(LIBGC_STATIC_LIBS)
AC_SUBST(libgc_dir)
AC_SUBST(BOEHM_DEFINES)

else
if test "x$support_bdwgc" = "xyes"; then
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "External BDWGC (with typed GC)", [GC description])
fi
fi
AM_CONDITIONAL(SUPPORT_NULLGC, test "x$libgc" = "xnone")

Expand Down Expand Up @@ -4250,6 +4307,11 @@ case "x$libgc" in
if test "x$support_boehm" = "xyes"; then
AC_CONFIG_SUBDIRS(libgc)
fi
if test "x$support_bdwgc" = "xyes"; then
AC_CONFIG_SUBDIRS([external/bdwgc/libatomic_ops])
ac_configure_args="$ac_configure_args --enable-thread-local-alloc=no --enable-parallel-mark=no --enable-verify-defines=yes --enable-gc-threads=yes --with-libatomic-ops=no --enable-no-threads-discovery=yes --enable-single-obj-compilation=yes --enable-gcj-support=yes --enable-threads=$libgc_threads --enable-munmap=yes --enable-mmap=yes --enable-ignore-dynamic-loading=yes --enable-dont-register-main-static-data=yes"
AC_CONFIG_SUBDIRS([external/bdwgc])
fi
;;
esac

Expand Down Expand Up @@ -4925,6 +4987,8 @@ echo "
Xamarin.TVOS: $with_monotouch_tv
Xamarin.Mac: $with_xammac
Windows AOT: $with_winaot
Unity JIT: $with_unityjit
Unity AOT: $with_unityaot
Orbis: $with_orbis
Unreal: $with_unreal
WebAssembly: $with_wasm
Expand Down
3 changes: 3 additions & 0 deletions data/net_2_0/machine.config
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="ftp" type="System.Net.FtpRequestCreator, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="true"/>
</settings>
</system.net>

<system.runtime.remoting>
Expand Down
3 changes: 3 additions & 0 deletions data/net_4_0/machine.config
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="ftp" type="System.Net.FtpRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="true"/>
</settings>
</system.net>

<system.runtime.remoting>
Expand Down
3 changes: 3 additions & 0 deletions data/net_4_5/machine.config
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="ftp" type="System.Net.FtpRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="true"/>
</settings>
</system.net>

<system.runtime.remoting>
Expand Down
1 change: 1 addition & 0 deletions external/bdwgc
Submodule bdwgc added at 8440aa
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
. $(dirname $0)/mono-env

$MONO "$@"

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
SETLOCAL
set MONO_PREFIX=%~dp0..
set MONO=%MONO_PREFIX%\bin\mono
"%MONO%" %*
exit /b %ERRORLEVEL%
ENDLOCAL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
. $(dirname $0)/mono-env

arch -i386 $MONO "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
. $(dirname $0)/mono-env
exec $MONO $MONO_OPTIONS $MONO_PREFIX/lib/mono/4.5/ilasm.exe "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@"%~dp0cli.bat" %MONO_OPTIONS% "%~dp0..\lib\mono\4.5\ilasm.exe" %*
exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
. $(dirname $0)/mono-env
exec $MONO $MONO_OPTIONS $MONO_PREFIX/lib/mono/4.5/mcs.exe "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@"%~dp0cli.bat" %MONO_OPTIONS% "%~dp0..\lib\mono\4.5\mcs.exe" %*
exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
. $(dirname $0)/monobin-env

export MONO_PREFIX=$(dirname $0)/..
MONO=$MONO_PREFIX/$MONOBINDIR/mono
# remove //.. pattern as it causes problem on OSX High Sierra
MONO=${MONO/\/\/\./\/\.}
export LD_LIBRARY_PATH=$MONO_PREFIX/lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
MONOBINDIR=bin

os=$(uname -a)
variant=$(uname -m)

case "$os" in
*GNU/Linux* )
if [ "$variant" = "x86_64" ]; then
MONOBINDIR=bin-linux64
else
MONOBINDIR=bin-linux32
fi
;;
esac
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
. $(dirname $0)/mono-env

$MONO $MONO_PATH/monolinker.exe "$@"

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@"%~dp0cli.bat" %MONO_OPTIONS% "%~dp0..\lib\mono\2.0\monolinker.exe" %*
exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
. $(dirname $0)/mono-env

$MONO --debug $MONO_PREFIX/lib/mono/4.0/nunit-console.exe "$@"

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@"%~dp0cli.bat" %MONO_OPTIONS% --debug "%~dp0..\lib\mono\4.0\nunit-console.exe" %*
exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
. $(dirname $0)/mono-env

$MONO --debug $MONO_PREFIX/lib/mono/2.0/nunit-console.exe "$@"

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
. $(dirname $0)/mono-env

$MONO $MONO_PREFIX/lib/mono/4.5/resgen.exe "$@"

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@"%~dp0cli.bat" %MONO_OPTIONS% "%~dp0..\lib\mono\4.5\resgen.exe" %*
exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
. $(dirname $0)/mono-env

$MONO $MONO_PREFIX/lib/mono/4.5/xbuild.exe "$@"

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@"%~dp0cli.bat" %MONO_OPTIONS% "%~dp0..\lib\mono\4.5\xbuild.exe" %*
exit /b %ERRORLEVEL%
Loading