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

[Preview][Memory] Reintegrate allocation callbacks mechanism #1242

Open
wants to merge 800 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
800 commits
Select commit Hold shift + click to select a range
a9f1c21
Bokken runner for mac and android builds
ashwinimurt Dec 5, 2018
3d1c004
Remove when: manual trigger
ashwinimurt Dec 5, 2018
aed2255
Remove manual from bareminimum
ashwinimurt Dec 6, 2018
b808f84
Merge pull request #1095 from Unity-Technologies/use-stevedore-produc…
ashwinimurt Dec 6, 2018
26aa0ea
Implement a ReadString overload (case 1106236)
Dec 11, 2018
87c2158
Set exe bit on bee
ashwinimurt Dec 11, 2018
764f57f
Merge pull request #1102 from Unity-Technologies/set-exe-bit
ashwinimurt Dec 11, 2018
27b913e
Set using stevedoreBuildDeps as default
ashwinimurt Dec 11, 2018
41258eb
Add missing write barriers
jechter Dec 12, 2018
85e0af0
Better check for Boehm then using mono_gc_is_moving
jechter Dec 12, 2018
e1b2f98
Merge pull request #1101 from Unity-Technologies/implement-read-string
joshpeterson Dec 12, 2018
9f4d362
Merge pull request #1103 from Unity-Technologies/set-default-build-deps
ashwinimurt Dec 13, 2018
2a5c864
Added ability to continue domain unload when an exception is encountered
UnityAlex Dec 18, 2018
f2f6a87
Merge pull request #1105 from Unity-Technologies/unity-master-excepti…
UnityAlex Dec 19, 2018
645c3f3
Run simplified finalizer logic when gc is disabled to allow child pro…
jechter Dec 20, 2018
402a0df
Fix assert
jechter Dec 21, 2018
7fdc97c
Add API to disable incremental mode
jechter Jan 2, 2019
2a02e22
Allow namespace-agnostic class lookup by passing NULL namespace.
Tak Jan 11, 2013
5ff4deb
Merge pull request #1113 from Unity-Technologies/fix-null-str-assert
jechter Jan 2, 2019
9761b3e
Update bdwgc
jechter Jan 2, 2019
c9e69e0
Merge pull request #1114 from Unity-Technologies/incremental-gc-edito…
jechter Jan 2, 2019
0a730c8
Fix html5 build by adding forward declares to referenced APIs
juj Sep 27, 2018
fce7192
Use mono_gc_wbarrier_set_field instead of il2cpp_gc_wbarrier_set_fiel…
jechter Oct 16, 2018
f0fcf2e
Use mono_gc_wbarrier_generic_store instead of mono_gc_wbarrier_set_field
jechter Oct 17, 2018
c1ebb8f
Reduce codegen overhead for debugger to single check. Avoid retrievin…
joncham Oct 23, 2018
3b831f7
Store method pointer, invoker indices, and reverse pinvoke indices in…
joncham Nov 14, 2018
31422d0
Make the global break check volatile
Nov 16, 2018
7c74147
Remove Class From Codegen headers
Nov 27, 2018
afa21ce
Don't shutdown in mono_runtime_try_shutdown
Nov 30, 2018
c1aa297
Fix a build error in Tiny debugger tests
Dec 1, 2018
6871e3d
Remove all UNITY_TINY #if statements from il2cpp-stubs.cpp
Nov 21, 2018
4bd7064
Tiny debugger tests
Nov 26, 2018
894596a
Remove a stray # character
Dec 3, 2018
0bd828b
Move the exit code setting back after try_shutdown
Dec 3, 2018
dc5f82b
Don't shutdown in mono_runtime_try_shutdown
Nov 30, 2018
359132d
Shutdown the runtime properly for Tiny with the debugger
Dec 3, 2018
2188d96
Produce debugger information per assembly.
joncham Nov 21, 2018
f60719b
Remove the <limits> and <vector> headers from being included in codegen
Dec 10, 2018
44ce5b7
Rename UNITY_TINY defines to IL2CPP_TINY
Dec 12, 2018
0e2663d
Don't attempt to stop threads on exit
Dec 14, 2018
c39d8e9
cache pause point active state
jechter Dec 4, 2018
a782c27
Inline Sequence Point checks; hard code sequence point reference into…
jechter Dec 4, 2018
0299a6b
Remove no longer needed debugger check code
jechter Dec 17, 2018
46ed83e
Use gboolean rather than C++ bool type in Mono C code.
joncham Jan 2, 2019
d2a7e14
Report status to github
ashwinimurt Jan 3, 2019
9696779
Merge pull request #1116 from Unity-Technologies/report-status-to-github
ashwinimurt Jan 3, 2019
14c1736
Merge pull request #1115 from Unity-Technologies/unity-master-sync-il…
joncham Jan 4, 2019
b9afea1
Extend mono_profile with more functions to work with coverage data
richard-fine Apr 17, 2018
d9d025e
Fix compile
richard-fine Apr 17, 2018
df4a8a4
Change struct definition to a typedef, because this is C
richard-fine Apr 17, 2018
2a962ad
Fix prototype to be compliant C
richard-fine Apr 17, 2018
a8cab47
Free coverage data when unloading a method
richard-fine Apr 19, 2018
65b4be4
Report column information for sequence points when using portable PDBs
richard-fine Apr 19, 2018
34a7589
Revert free of coverage data, it's in the wrong place
richard-fine Apr 19, 2018
04d0eb7
Store a separate coverage hashtable per MonoDomain and init/cleanup w…
richard-fine Apr 19, 2018
8d5e782
Expose mono_debug_lookup_source_location_by_il
richard-fine Apr 23, 2018
a1597e0
Merge pull request #909 from Unity-Technologies/feature/coverage
joncham Jan 9, 2019
2a5df50
Attempt to use Win32 APIs first to retreive current timezone. Registr…
joncham Jan 9, 2019
eacaa81
[Android] Fix the issue that Environment.TickCount returns wrong valu…
vincent-unity Jan 10, 2019
0690d4c
Merge branch 'unity-master' of https://github.com/Unity-Technologies/…
dbuckley3d Jan 11, 2019
933f49d
Tweak scripts to allow Linux to find correct binaries, config and lib…
dbuckley3d Jan 11, 2019
0219c20
Don't use exceptions for time zones (case 1100856)
Jan 15, 2019
80428dd
Merge pull request #1123 from Unity-Technologies/avoid-timezone-excep…
joshpeterson Jan 15, 2019
78e2de2
Merge pull request #1121 from Unity-Technologies/linux-mono-scripts
dbuckley3d Jan 16, 2019
9fe14c1
Fix reentrant exception handling.
joncham Dec 20, 2018
cd56f3c
Merge pull request #1119 from Unity-Technologies/unity-master-reentra…
joncham Jan 17, 2019
7998c18
Merge pull request #1118 from Unity-Technologies/unity-master-fix-win…
joncham Jan 17, 2019
b2bd7f4
get_shared_type now handles situation where enum types are also gener…
UnityAlex Jan 23, 2019
59db324
Don't use thread pinning in Boehm
jechter Jan 24, 2019
f8c22b6
Fix build
jechter Jan 24, 2019
171f2ec
Fix build
jechter Jan 24, 2019
081f213
Merge pull request #1125 from Unity-Technologies/unity-master-fix-111…
UnityAlex Jan 24, 2019
a38bdc6
Add comment
jechter Jan 25, 2019
e20ed29
[jit] Avoid extending the size of Vector2/Vector3 to 16 bytes. Disabl…
vargaz Feb 2, 2018
88289dc
Merge pull request #1126 from Unity-Technologies/fix-boehm-thread-pin…
jechter Jan 28, 2019
b4b9a3e
Implement marshaling for generic struct fields (case 1106422)
joncham Jan 28, 2019
e596d3c
Merge pull request #1127 from Unity-Technologies/unity-master-system-…
joncham Jan 29, 2019
de35c1f
Merge pull request #1128 from Unity-Technologies/unity-master-ptr-to-…
joncham Jan 29, 2019
0db09f6
Throw ArgumentNullException if null method is passed to delegate cont…
joncham Jan 29, 2019
b04ac91
Merge pull request #1129 from Unity-Technologies/unity-master-delegat…
joncham Jan 29, 2019
3deacb2
Windows support to abort blocking system calls. (#12654)
lateralusX Jan 30, 2019
fd56b02
Sync debugger agent changes from the IL2CPP repo
Feb 6, 2019
614705d
Merge pull request #1133 from Unity-Technologies/sync-debugger-from-i…
joshpeterson Feb 6, 2019
547555d
Grow StackSlotInfo array rather than asserting (case 1103205)
joncham Feb 6, 2019
e5c856b
Merge pull request #1131 from Unity-Technologies/unity-master-fix-win…
UnityAlex Feb 8, 2019
712afc7
Remove IL2CPP files that are now in the IL2CPP repo
Feb 8, 2019
22db94b
Sync the debugger-agent.c with the IL2CPP repo
Feb 8, 2019
fde6b4d
Use wrapped method if available (case 1093274)
joncham Feb 8, 2019
e8eb145
Don't include the IL2CPP file when building for Mono
Feb 8, 2019
d2fa9e8
Merge pull request #1136 from Unity-Technologies/unity-master-fix-109…
joncham Feb 8, 2019
e334ffe
Add the Mono version of the common defines used in the debugger
Feb 8, 2019
98e7978
Merge pull request #1135 from Unity-Technologies/il2cpp-sync-debugger…
joshpeterson Feb 8, 2019
6fe6e2f
Merge pull request #1134 from Unity-Technologies/unity-master-fix-110…
joncham Feb 11, 2019
084bac8
Merge pull request #1120 from Unity-Technologies/unity-master-fix-and…
joncham Feb 11, 2019
b504480
Fix issue where TLS requests would reallocate a buffer when it could …
Feb 12, 2019
15b7795
Merge pull request #1138 from Unity-Technologies/unity-master-tls-all…
mderoy Feb 12, 2019
dbede6d
Fix interrupting blocking file IO on Windows.
joncham Feb 13, 2019
488df1b
graft of upstream fix https://github.com/mono/mono/pull/9342/files fo…
Feb 13, 2019
d6f42ee
Merge pull request #1140 from Unity-Technologies/unity-master-dataser…
mderoy Feb 13, 2019
5fddd4e
Merge pull request #1139 from Unity-Technologies/unity-master-fix-rea…
joncham Feb 13, 2019
c289c23
Bump bdwgc submodule to get fix for GetThreadContext (case 1114668)
joncham Feb 18, 2019
4014684
Merge pull request #1143 from Unity-Technologies/unity-master-bdwgc-g…
joncham Feb 20, 2019
0e9abd0
Update bdwgc
jechter Feb 22, 2019
43bfeda
Merge pull request #1151 from Unity-Technologies/avoid-full-gc-in-tab…
jechter Feb 25, 2019
232e639
Upgrade automake to 1.16.1
ashwinimurt Feb 26, 2019
fd435a6
Merge pull request #1153 from Unity-Technologies/automake-1.16.1
ashwinimurt Feb 27, 2019
6025066
Change stevedore repo to public
ashwinimurt Feb 27, 2019
23517a3
Merge pull request #1154 from Unity-Technologies/change-to-public
ashwinimurt Feb 27, 2019
43d87f5
Break out of outter loop once file is found. (case 1118285)
joncham Mar 6, 2019
70df696
Update bdwgc for memory snapshot crash fix
netizen539 Mar 6, 2019
6138727
Merge pull request #1155 from Unity-Technologies/unity-master-bug-111…
joncham Mar 8, 2019
05e67e3
[corlib] Allow DM with an extra param to have the first one bound to …
kumpera Jun 7, 2018
67c73d2
Merge pull request #1157 from Unity-Technologies/unity-master-bug-110…
joncham Mar 8, 2019
0cfc4bb
Fix a possible crash while printing a warning
Mar 11, 2019
acf432a
Merge pull request #1163 from Unity-Technologies/fix-warning-crash
joshpeterson Mar 11, 2019
5000ae3
Fallback to runtime implemented OS specific synchronization context i…
TautvydasZilys Apr 19, 2019
b022c9b
"Implement" OSSpecificSynchronizationContext icalls.
TautvydasZilys Apr 20, 2019
4b9c1a2
Expose an icall to report unhandled exceptions in mscorlib.
TautvydasZilys Apr 22, 2019
59ce130
Merge pull request #1169 from Unity-Technologies/os-synchronization-c…
TautvydasZilys May 1, 2019
66b8772
Update to latest bee (be3d27e00f2f)
ashwinimurt May 8, 2019
7fabfce
Merge pull request #1173 from Unity-Technologies/update-bee
ashwinimurt May 8, 2019
40286ca
Switch windows to bokken
ashwinimurt May 8, 2019
a88b14c
Merge pull request #1174 from Unity-Technologies/bokken
ashwinimurt May 8, 2019
0b341d0
Hello World Yamato
joncham Feb 14, 2019
a046492
Merge pull request #1172 from Unity-Technologies/unity-master-yamato
ashwinimurt May 9, 2019
aa0c5d4
Remove old mono artifact
ashwinimurt May 9, 2019
0574dd7
Remove unnecessary check for extra build tools
ashwinimurt May 9, 2019
b41442c
Merge pull request #1175 from Unity-Technologies/remove-old-mono-stev…
ashwinimurt May 9, 2019
36f6805
Fix typo
ashwinimurt May 10, 2019
b833324
Merge pull request #1177 from Unity-Technologies/typo
ashwinimurt May 10, 2019
d2dddb1
Add stevedore conf
ashwinimurt May 16, 2019
a69e92f
Merge pull request #1181 from Unity-Technologies/add-stevedore-conf
ashwinimurt May 17, 2019
0e66d19
Compile ProcessImportedType in IDataContractSurrogate for unityaot
May 20, 2019
9f684e0
Merge pull request #1183 from Unity-Technologies/add-mising-codedom-u…
May 21, 2019
8d86df9
Sync the debugger agent code from IL2CPP
May 21, 2019
6a9100d
Add yamato trigger
ashwinimurt May 22, 2019
04ff174
Merge pull request #1184 from Unity-Technologies/sync-debugger-from-i…
May 22, 2019
2ff182b
Merge pull request #1186 from Unity-Technologies/yamato-checks
ashwinimurt May 23, 2019
6ae9b7c
Update RSP with fault address for stack overflow (case 1148592)
joncham Apr 29, 2019
e18dad3
Fix liveness recursion issue (case 1137077). Cherry-pick of https://g…
joncham May 22, 2019
56ea90e
Initial work to allow debugger attaching without performance impact.
joncham Mar 9, 2019
2eb6c52
Do not zip artifact
ashwinimurt May 28, 2019
cc64ebd
Merge pull request #1189 from Unity-Technologies/fix-builds-zip-permi…
ashwinimurt May 29, 2019
c46f990
Initial work to allow debugger attaching without performance impact.
joncham Mar 9, 2019
a269b9d
[debugger-agent] modify mono_debugger_disconnect method so the transp…
eneko-unity May 29, 2019
243d0eb
Merge branch 'unity-master-debugger-perf' of github.com:Unity-Technol…
eneko-unity May 29, 2019
f41e565
Use the non-server default connection limit for unityaot (case 1156607)
May 28, 2019
98e0344
Fix crash during async debugging (case 1153078). Apply partial patch …
joncham May 29, 2019
48242a6
Merge pull request #1188 from Unity-Technologies/change-default-conne…
May 29, 2019
f2dfa4c
Merge pull request #1185 from Unity-Technologies/unity-master-livenes…
joncham May 30, 2019
cfa578d
Merge pull request #1190 from Unity-Technologies/unity-master-debugge…
joncham May 30, 2019
f5bd600
Merge pull request #1171 from Unity-Technologies/unity-master-stack-o…
joncham May 30, 2019
f93c597
Merge pull request #1158 from Unity-Technologies/unity-master-debugge…
joncham May 31, 2019
6ea53bf
Implement NamedPipeClientStream in the unityaot profile (case 1159863)
Jun 5, 2019
273de1b
Merge pull request #1192 from Unity-Technologies/named-pipes-unityaot
Jun 5, 2019
173c688
Add default FileSystemWatcher support in unityaot profile (case 10667…
joncham Jun 7, 2019
532565a
Correct call to bootstrap script for wsl build
joncham Jun 12, 2019
479a964
Do not zip yamato artifacts
ashwinimurt Jun 13, 2019
8a3fd40
Merge pull request #1195 from Unity-Technologies/dont-zip
ashwinimurt Jun 13, 2019
93569f7
Merge pull request #1194 from Unity-Technologies/unity-master-fix-wsl
joncham Jun 13, 2019
9eba563
Return non-zero exit code on error
ashwinimurt Jun 13, 2019
876c538
Merge pull request #1196 from Unity-Technologies/fail-on-error
ashwinimurt Jun 14, 2019
b831e4d
Put dummy types used in ProcessImportedType in the proper namespace
Jun 21, 2019
fbed6eb
Merge pull request #1197 from Unity-Technologies/fix-add-mising-coded…
Jun 21, 2019
283390a
Fix typo
ashwinimurt Jun 27, 2019
1bc3c9a
Merge pull request #1198 from Unity-Technologies/fix-typo-eq
ashwinimurt Jun 27, 2019
5174f7e
Handle the empty file inode on macOS and FAT32
joshpeterson Sep 21, 2017
cded925
Merge pull request #1200 from Unity-Technologies/macos-fat32-empty-fi…
Jul 8, 2019
011165d
Fixing odbc library lookup on windows. Tested OSX and it still appear…
UnityAlex Jul 8, 2019
dde1d2f
Automate creating stevedore mbe artifact
ashwinimurt Jul 8, 2019
e638bc8
Merge pull request #1201 from Unity-Technologies/case1156912_Fix_ODBC…
UnityAlex Jul 9, 2019
bab11be
Merge pull request #1202 from Unity-Technologies/stevedore-7z
ashwinimurt Jul 10, 2019
798c060
set permissions
ashwinimurt Jul 10, 2019
ab58980
Update branch info
ashwinimurt Jul 10, 2019
f1f0587
Merge pull request #1204 from Unity-Technologies/doc
ashwinimurt Jul 10, 2019
5157eba
Replace some problematic platform specific codepaths with intrinsics …
joncham Jul 2, 2019
d9e7a86
Merge pull request #1193 from Unity-Technologies/unity-master-unityao…
joncham Jul 10, 2019
928bc59
Merge pull request #1199 from Unity-Technologies/unity-master-avoid-l…
joncham Jul 10, 2019
40b4870
Merge pull request #1203 from Unity-Technologies/chmod-again
ashwinimurt Jul 10, 2019
8e3be05
[sdb] Avoid stack overflows caused by recursive calls between suspend…
vargaz Mar 8, 2019
2a118ed
Merge pull request #1205 from Unity-Technologies/unity-master-debugge…
joncham Jul 11, 2019
9eb4ec7
Install required 32 bit libs and set UNITY_THISISABUILDMACHINE on linux
ashwinimurt Jul 22, 2019
874d2e8
Merge pull request #1208 from Unity-Technologies/fix-linux-x86
ashwinimurt Jul 23, 2019
7d51af7
Use netcore verions of ETW EventSource API
TautvydasZilys Jul 11, 2019
d6d76cb
Make ETW event registering AOT friendly.
TautvydasZilys Jul 12, 2019
0463f86
Catch DllNotFoundException if P/Invoke into EnumerateTraceGuidsEx fails.
TautvydasZilys Jul 13, 2019
7a3ac72
Merge pull request #1207 from Unity-Technologies/fix-etw
TautvydasZilys Jul 23, 2019
073f0d1
Fix memory leak
UnityAlex Jul 24, 2019
610a9ac
[Memoryprofiler] Exposing required mono API for backend migration (#1…
realek Jul 29, 2019
1da3d5f
Merge pull request #1209 from Unity-Technologies/fix-icall-memory-leak
UnityAlex Jul 30, 2019
7df88d5
Handle the empty file inode on macOS and FAT32 (with the proper define)
Jul 30, 2019
0295d49
Merge pull request #1210 from Unity-Technologies/macos-fat32-empty-fi…
Jul 30, 2019
8e9be33
[metadata] Fields whose types are gparams with a reference type const…
lambdageek Jul 25, 2019
d8025cb
Swap bytes for tcp port number (case 1165578)
UnityAlex Jul 31, 2019
fe06630
Merge pull request #1212 from Unity-Technologies/fix-windows-tcp-port…
UnityAlex Aug 1, 2019
f032f53
Mono debugger agent memory leak fix, case 1170031
Aug 1, 2019
cd72ae2
Merge pull request #1213 from Unity-Technologies/mono-debugger-memory…
Aug 1, 2019
069f8a2
Download dependencies based on platform
ashwinimurt Aug 2, 2019
0fe7bad
Merge pull request #1214 from Unity-Technologies/bee-stuff
ashwinimurt Aug 2, 2019
8478689
Fixing a corner case where an invalid timezone on windows would throw a
UnityAlex Aug 5, 2019
d349677
Merge pull request #1215 from Unity-Technologies/fix-windows-invalid-…
UnityAlex Aug 6, 2019
3af2b9f
Merge pull request #1211 from Unity-Technologies/fix-recursive-type-e…
UnityAlex Aug 7, 2019
63f6bbe
[Android] Getting current locale using JNI
BorisShir Aug 12, 2019
2370e8a
Merge pull request #1216 from Unity-Technologies/android-locale
BorisShir Aug 13, 2019
cb35df1
[debugger-agent]
eneko-unity Aug 13, 2019
bf8cb32
[debugger-agent]
eneko-unity Aug 14, 2019
7c87ac0
Merge pull request #1217 from Unity-Technologies/unity-master-debugge…
eneko-unity Aug 15, 2019
5f01b5b
Split up the large method that initializes error messages
Aug 21, 2019
f0fa97b
Run weekly
ashwinimurt Aug 21, 2019
041358e
Merge pull request #1219 from Unity-Technologies/run-weekly
ashwinimurt Aug 21, 2019
03b6860
Merge pull request #1218 from Unity-Technologies/split-up-error-messages
Aug 22, 2019
af746cd
Handle locales with the same daylight savings time start and end
Aug 23, 2019
b73fd4a
Merge pull request #1220 from Unity-Technologies/timezone-dst-same-st…
Aug 23, 2019
c847b46
New PR for the new web stack (#6125)
Dec 14, 2017
0a75474
[System]: Use new `WebCompletionSource` instead of `TaskCompletionSou…
Feb 28, 2018
211f7c5
[System]: Make sure `HttpWebRequest` observes exceptions on timeout. …
Sep 21, 2018
196336a
Fixing issue with debugger CREATE_BOXED_VALUE command. case 1169306.
Sep 5, 2019
d1dbf0d
[System]: WebConnection.Connect() needs to probe all IP addresses.
Feb 9, 2018
2c8d50e
[System]: Fix another `SocketAsyncEventArgs` issue for #8871. (#8938)
Jun 13, 2018
7c4cf94
Make Process.Start() not throw exception when Windows path contains '.
ignas2 Sep 11, 2019
bd75534
Scan arrays precisely for references (case 1054493)
joncham Feb 11, 2019
87f312a
Merge pull request #1223 from Unity-Technologies/unity-master-fix-win…
ignas2 Sep 17, 2019
6fbd22b
Merge pull request #1137 from Unity-Technologies/unity-master-precise…
joncham Sep 17, 2019
5fca739
Increase max size of localloc and localloc_imm on amd64. (#15374)
lateralusX Jun 25, 2019
d7070cc
Merge pull request #1221 from Unity-Technologies/fix-webrequest-aggre…
UnityAlex Sep 19, 2019
aa7343f
Use slough macs
ashwinimurt Sep 24, 2019
dc8d53c
Use new linux image with pre-installed things
ashwinimurt Sep 24, 2019
3023108
Merge pull request #1227 from Unity-Technologies/test-yamato
ashwinimurt Sep 25, 2019
17790f1
Don't use mono_gc_is_moving for incremental gc (#1228)
jechter Sep 26, 2019
095c003
Bump bdwgc submodule
joncham Sep 26, 2019
94f6f13
Merge pull request #1226 from Unity-Technologies/unity-master-fix-117…
joncham Sep 26, 2019
d772865
Merge pull request #1222 from Unity-Technologies/unity-master-debugge…
joncham Sep 26, 2019
09a4615
Merge pull request #1231 from Unity-Technologies/unity-master-bump-bdwgc
joncham Sep 26, 2019
66d3d6d
Bump bdwgc submodule to fix precise array marking (case 1188407)
joncham Oct 3, 2019
a6a4240
Merge pull request #1232 from Unity-Technologies/unity-master-fix-pre…
joncham Oct 4, 2019
e087279
[Android] Fixing problem with toLanguageTag for API < 21
BorisShir Oct 8, 2019
c8a7ab0
Merge pull request #1233 from Unity-Technologies/android_locale_fix
BorisShir Oct 9, 2019
8b604d1
Wait for debugger thread to exit (case 1180399, case 1189077)
joncham Oct 9, 2019
9483fa1
Merge pull request #1234 from Unity-Technologies/unity-master-fix-deb…
joncham Oct 10, 2019
e03c8ef
Switch powershell to cmd
ashwinimurt Oct 18, 2019
07057aa
Merge pull request #1235 from Unity-Technologies/cmd
ashwinimurt Oct 21, 2019
d496518
Fix case 1044454: Stopwatch does not track time when an app is in the…
davidrogers-unity Oct 21, 2019
cbd6944
Merge pull request #1236 from Unity-Technologies/android-stopwatch-fix
joncham Oct 28, 2019
cef85f2
Avoid caching of System.dll image and types as they may be unloaded w…
joncham Oct 29, 2019
ef2b8b2
Merge pull request #1237 from Unity-Technologies/unity-master-case-11…
joncham Oct 31, 2019
f7f4de7
Fix vcxproj by removing non-existent file.
joncham Nov 1, 2019
90852c6
Revert "Fix case 1044454: Stopwatch does not track time when an app i…
joncham Nov 4, 2019
7eed659
Merge pull request #1240 from Unity-Technologies/unity-master-fix-lib…
joncham Nov 5, 2019
6552a32
fix MonoMemoryCallbacks struct structure and remove the installation …
realek Nov 20, 2019
b833664
added callback instalation hook into unity utils for binding into the…
realek Nov 20, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 49 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This is a minimal clang-format file for Mono code. The code is not consistent
# in its formatting, so this file is most often useful with git-clang-format [1],
# which formats only changed lines.
#
# Usage:
# * Make some changes to Mono C code or headers
# * Run `git clang-format` (maybe add -f if there are line ending issues from git)
# * Your changed code should meet the formatting guidelines for Mono
#
# Installation:
# * Install LLVM tools (including clang-format) for your OS [2]
# * Install Pythong on your OS
#
# Code style:
# Our goal is to match the Mono code style, not define a new one. The style
# options [3] are many. Here we try to capture only a few. If you find something
# is missing, feel free to add configuration options.
#
# [1] https://github.com/llvm-mirror/clang/blob/master/tools/clang-format/git-clang-format
# [2] http://releases.llvm.org/
# [3] https://clang.llvm.org/docs/ClangFormatStyleOptions.html

# All function declarations and calls should have a space after the name
SpaceBeforeParens: Always

# Use four space tabs
UseTab: Always
TabWidth: 4
IndentWidth: 4

# Handle curly braces, basically: functions get a line break, nothing else does
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: false
AfterStruct: false
AfterFunction: true
AfterEnum: false
AfterStruct: false
AfterUnion: false
BeforeElse: false

# Keep function return types on a different line from the function name
# Note that often static function forward declarations don't follow this
# approach, and have the return type on the same line. I'm not sure
# clang-format can handle these two cases differently.
AlwaysBreakAfterReturnType: TopLevel

# Don't warp any long lines
ColumnLimit: 0
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
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ GTAGS
docs/doxygen*
docs/perlmod*

# Bee
artifacts
.vs
external/buildscripts/build.gen*
stevedore

# Allow
!external/buildscripts/bee.exe

##############################################################################
# Mono-specific patterns
Expand Down
291 changes: 291 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,291 @@
stages:
- runall-and-report-to-github-pending
- build
- collate
- report-to-github-done

###############################################################################
# report result to github
###############################################################################
runall-and-report-to-github-pending:
image: python:2.7
stage: runall-and-report-to-github-pending
script:
- python reportCiResult.py "gitlab-ci" "pending"
when: manual
allow_failure: false

# Build
build_osx_runtime:
stage: build
tags:
- bokken-job
variables:
BOKKEN_VM: build_osx_runtime_vm
BOKKEN_JOB: |
resources:
- name: build_osx_runtime_vm
image: buildfarm/mac:latest
flavor: m1.mac
type: Unity::VM::osx
num_instances: 1
config:
env_vars:
- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
script:
- git submodule update --init --recursive
- cp .yamato/config/Stevedore.conf ~/Stevedore.conf
- cd external/buildscripts
- ./bee
- cd ../..
- perl external/buildscripts/build_runtime_osx.pl --stevedorebuilddeps=1
- mkdir -p incomingbuilds/osx-i386
- cp -r builds/ incomingbuilds/osx-i386/
artifacts:
paths:
- incomingbuilds/osx-i386
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- /opt/post_build_script.sh

build_osx_classlibs:
stage: build
tags:
- bokken-job
variables:
BOKKEN_VM: build_osx_classlibs_vm
BOKKEN_JOB: |
resources:
- name: build_osx_classlibs_vm
image: buildfarm/mac:latest
flavor: m1.mac
type: Unity::VM::osx
num_instances: 1
config:
env_vars:
- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
script:
- git submodule update --init --recursive
- cp .yamato/config/Stevedore.conf ~/Stevedore.conf
- cd external/buildscripts
- ./bee
- cd ../..
- perl external/buildscripts/build_classlibs_osx.pl --stevedorebuilddeps=1
- mkdir -p incomingbuilds/classlibs
- cp -r ZippedClasslibs.tar.gz incomingbuilds/classlibs/
- cd incomingbuilds/classlibs
- tar -pzxf ZippedClasslibs.tar.gz
- rm -f ZippedClasslibs.tar.gz
- cd ../..
artifacts:
paths:
- incomingbuilds/classlibs
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- /opt/post_build_script.sh

build_android:
stage: build
tags:
- bokken-job
variables:
BOKKEN_VM: build_android_vm
BOKKEN_JOB: |
resources:
- name: build_android_vm
image: buildfarm/mac:latest
flavor: m1.mac
type: Unity::VM::osx
num_instances: 1
config:
env_vars:
- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
script:
- git submodule update --init --recursive
- cp .yamato/config/Stevedore.conf ~/Stevedore.conf
- cd external/buildscripts
- ./bee
- cd ../..
- perl external/buildscripts/build_runtime_android.pl --stevedorebuilddeps=1
- mkdir -p incomingbuilds/android/
- cp -r builds/* incomingbuilds/android/
artifacts:
paths:
- incomingbuilds/android
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- /opt/post_build_script.sh

build_win:
stage: build
tags:
- bokken-job
variables:
BOKKEN_VM: build_win_vm
BOKKEN_JOB: |
resources:
- name: build_win_vm
image: platform-foundation/windows-mono-bokken:latest
flavor: b1.xlarge
type: Unity::VM
script:
- git submodule update --init --recursive
- perl external/buildscripts/build_runtime_win64.pl --stevedorebuilddeps=1
- powershell mkdir -p incomingbuilds/win64
- powershell cp -r builds/* incomingbuilds/win64/
artifacts:
paths:
- incomingbuilds/win64
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- C:\Users\builduser\post_build_script.bat

build_win_x86:
stage: build
tags:
- bokken-job
variables:
BOKKEN_VM: build_win_x86_vm
BOKKEN_JOB: |
resources:
- name: build_win_x86_vm
image: platform-foundation/windows-mono-bokken:latest
flavor: b1.xlarge
type: Unity::VM
script:
- git submodule update --init --recursive
- perl external/buildscripts/build_runtime_win.pl --stevedorebuilddeps=1
- powershell mkdir -p incomingbuilds/win32
- powershell cp -r builds/* incomingbuilds/win32/
artifacts:
paths:
- incomingbuilds/win32
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- C:\Users\builduser\post_build_script.bat

build_win_bare_minimum:
stage: build
tags:
- bokken-job
variables:
BOKKEN_VM: build_win_bare_minimum
BOKKEN_JOB: |
resources:
- name: build_win_bare_minimum
image: platform-foundation/windows-mono-bokken:latest
flavor: b1.xlarge
type: Unity::VM
script:
- git submodule update --init --recursive
- perl external/buildscripts/build_unityscript_bareminimum_win.pl
- powershell mkdir -p incomingbuilds/bareminimum
- powershell cp -r builds/* incomingbuilds/bareminimum/
artifacts:
paths:
- incomingbuilds/bareminimum
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- C:\Users\builduser\post_build_script.bat

build_linux_x64:
stage: build
tags:
- buildfarm
- linux
script:
- git submodule update --init --recursive
- cd external/buildscripts
- ./bee
- cd ../..
- perl external/buildscripts/build_runtime_linux.pl -build64=1 --stevedorebuilddeps=1
- mkdir -p incomingbuilds/linux64
- cp -r builds/* incomingbuilds/linux64/
artifacts:
paths:
- incomingbuilds/linux64
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- /opt/post_build_script.sh

build_linux_x86:
stage: build
tags:
- buildfarm
- linux
script:
- git submodule update --init --recursive
- cd external/buildscripts
- ./bee
- cd ../..
- perl external/buildscripts/build_runtime_linux.pl --stevedorebuilddeps=1
- mkdir -p incomingbuilds/linux32
- cp -r builds/* incomingbuilds/linux32/
artifacts:
paths:
- incomingbuilds/linux32
expire_in: 1 week
# Important! Do not remove this after_script!!
after_script:
- /opt/post_build_script.sh

collate_builds:
stage: collate
tags:
- bokken-job
variables:
BOKKEN_VM: collate_ubuntu
BOKKEN_JOB: |
resources:
- name: collate_ubuntu
image: cds-ops/ubuntu-18.04-agent:v1.0.11-765607
flavor: b1.large
type: Unity::VM
dependencies:
- build_android
- build_osx_runtime
- build_osx_classlibs
- build_win
- build_win_x86
- build_win_bare_minimum
- build_linux_x86
- build_linux_x64
before_script:
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -qy && sudo DEBIAN_FRONTEND=noninteractive apt-get -qy upgrade
- sudo apt-get install -qy zip unzip
- sudo apt-get install -qy p7zip-full p7zip-rar
script:
- perl external/buildscripts/collect_allbuilds.pl
- pwd
- ls -al
artifacts:
paths:
- collectedbuilds/builds.7z
- stevedore/MonoBleedingEdge.7z
- stevedore/artifactid.txt
expire_in: 1 week


###############################################################################
# report result to github
###############################################################################
report-to-github-done:failure:
image: python:2.7
when: on_failure
stage: report-to-github-done
script:
- python reportCiResult.py "gitlab-ci" "failure"

report-to-github-done:success:
image: python:2.7
when: on_success
stage: report-to-github-done
script:
- python reportCiResult.py "gitlab-ci" "success"
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
Loading