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

Ingest dotnet/runtime master #385

Merged
merged 241 commits into from
Nov 26, 2020
Merged
Changes from 1 commit
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
d8715a8
Remove dead code in MarshalNative (#44506)
elinor-fung Nov 11, 2020
51ca5b4
Update buildtriage.md (#44538)
Nov 11, 2020
1923bba
Remove internal NuGet.config that is not needed anymore (#44507)
safern Nov 11, 2020
f56a56f
Convert aka.ms links to https (#44501)
GrabYourPitchforks Nov 11, 2020
905a367
Add signing information to asset manifest (port #41889 and #42688) (#…
mmitche Nov 11, 2020
c8c0790
Drop support for IID_ICorDebugProcess10 and fix thread suspend logic …
sdmaclea Nov 11, 2020
4a8cddb
Use fcntl(F_FLUSHFSYNC) on OSX and make FlushAsync() to behave like F…
jozkee Nov 11, 2020
e5eccd8
Add Type.GetMethod overload that takes Name, BindingFlags, and Parame…
eerhardt Nov 11, 2020
b2e5a89
Fix arm64 disasm failures (#44547)
BruceForstall Nov 12, 2020
8b3b1b5
A couple of R2RDump fixes (#44558)
cshung Nov 12, 2020
a207c7f
Fix StartInfo test (#44392)
danmoseley Nov 12, 2020
e33ba5d
Crossgen2 support for System.Private.CoreLib compilation in CoreCLR b…
trylek Nov 12, 2020
379003e
docs: fix MSBuild property InvariantGlobalization (#44572)
imba-tjd Nov 12, 2020
c22095f
Fix remote-unwind for TARGET_ARM crossdac (#44553)
sdmaclea Nov 12, 2020
65b1d3c
Remove unused Crst entries and regenerate header. (#44556)
AaronRobinsonMSFT Nov 12, 2020
cdf4b5e
Remove unused RCW/CCW code paths (#44121)
AaronRobinsonMSFT Nov 12, 2020
51393be
[RyuJIT] Unroll single-iteration loops (#43947)
EgorBo Nov 12, 2020
e1282c2
Fix RCS1049: Simplify boolean comparison (#44564)
xtqqczze Nov 12, 2020
1db961e
Santiago's suggestion (#44554)
Nov 12, 2020
26dba43
Fix race condition in Hosting test (#44548)
eerhardt Nov 12, 2020
5c3e0b1
Copy OpenSSL binaries (#44577)
fanyang-mono Nov 12, 2020
c6947e0
Use Dictionary for underlying cache of ResourceSet (#44521)
marek-safar Nov 12, 2020
3b5a94c
Fix 5-minute hang in Process tests (#44571)
stephentoub Nov 12, 2020
731dee4
Remove LazyInitializer usage from corelib (#44409)
stephentoub Nov 12, 2020
457ed11
Make PhysicalFilesWatcher exclusively use polling when pollForChanges…
ericstj Nov 12, 2020
a41e100
Remove dependency on System.Linq from debug build (#44531)
steveharter Nov 12, 2020
5af16f2
[Android] Use Android SDK instead of OpenSSL where possible (#43740)
EgorBo Nov 12, 2020
8ebd0d4
Validate ref/src parameter names (#43838)
ericstj Nov 12, 2020
a9f1ca4
Special-case SocketsHttpHandler.MaxResponseDrainTime == 0 (#44568)
stephentoub Nov 12, 2020
1393e83
Override Read/Write for spans on ConsoleStream (#44597)
stephentoub Nov 12, 2020
e5dd1a4
OSX Add option -no_code_signature_warning (#44604)
sdmaclea Nov 12, 2020
dcd63bb
Mark R2RDumpTests as incompatible with GC stress (#44586)
trylek Nov 12, 2020
2fc2311
Fix zh cultures parent chain (#44607)
tarekgh Nov 12, 2020
05ab615
Reduce Process test time (#44593)
stephentoub Nov 12, 2020
77ba2bd
Remove the experimental Utf8String type and tests from the runtime re…
trylek Nov 12, 2020
ce1d60f
[Android] Split android_security.c into multiple files (#44603)
EgorBo Nov 13, 2020
4c102bd
Fix trimming linker tests (#44613)
safern Nov 13, 2020
b86bcd5
Fix race conditions in CG2 runs (#44492)
trylek Nov 13, 2020
d8232a9
Subtle fixes for JIT build mode (#44615)
trylek Nov 13, 2020
86d5d16
Switch to new Microsoft.DotNet.SharedFramework.Sdk and refactor Host/…
jkoritzinsky Nov 13, 2020
21dc074
increase timeout on WebRequest timeout test (#44612)
wfurt Nov 13, 2020
a505c46
update assemblyVersion, packageIndex & resources data (#44373)
Anipik Nov 13, 2020
fcce160
Don't force unused reg arg to the stack. (#44555)
CarolEidt Nov 13, 2020
8de9e3b
Add example to test doc for generating Core_Root without building tes…
elinor-fung Nov 13, 2020
9f4650a
Doubly linked freelist fix (#44585)
PeterSolMS Nov 13, 2020
5c65d89
[master] Update dependencies from mono/linker (#44557)
dotnet-maestro[bot] Nov 13, 2020
ffbbd5b
Adjust method table pointer masks (#44637)
PeterSolMS Nov 13, 2020
6c1ae0d
Put the Crossgen2 assertion check in sync with actual intrinsic count…
trylek Nov 13, 2020
4a743ac
Fix race condition in TestExited_SynchronizingObject test (#44627)
stephentoub Nov 13, 2020
40cd998
Move PollingFileProviderShouldntConsumeINotifyInstances to outerloop …
ericstj Nov 13, 2020
85d2df8
Enable WASM AOT option in build and update MonoAOTCompiler (#44468)
akoeplinger Nov 13, 2020
8692967
RuntimeResourceSet improvements (#44454)
marek-safar Nov 13, 2020
8d81fb5
update version (#44478)
Anipik Nov 13, 2020
72eefe3
Don't build archives or installers for Mono builds. (#44656)
jkoritzinsky Nov 13, 2020
06411d1
Add link to github issues (#44650)
fanyang-mono Nov 13, 2020
fdf1494
Add feature switch for disabling startup hooks (#44050)
mateoatr Nov 13, 2020
57f2955
Support multi-buffer sends in WebAssembly WebSockets (#44611)
BrennanConroy Nov 13, 2020
0ae4399
Check args before asking runtime to resolve fqns to avoid assert (#44…
kg Nov 13, 2020
095adbd
Add allocation-free StringInfo APIs, improve unit tests (#44609)
GrabYourPitchforks Nov 13, 2020
3ed1747
Remove extraneous dependency ignore. (#44672)
jkoritzinsky Nov 14, 2020
6453852
Fix MONO exports not actually being callable through Module (#44634)
kg Nov 14, 2020
52d405e
Only sign in the official build pipeline, not in any other pipeline (…
jkoritzinsky Nov 14, 2020
7690431
Fix Android runtime tests to upload .apk per work item (#44662)
akoeplinger Nov 14, 2020
25260d1
Remove allocations from IsCustomAttributeDefined (#44694)
benaadams Nov 15, 2020
45f8a37
improve parsing network files on WSL (#44680)
wfurt Nov 15, 2020
630069d
Fixed various comments and minor refactor ServiceController. (#44014)
ShreyasJejurkar Nov 15, 2020
162b33e
Fix `-output_mch_path` argument to superpmi.py (#44693)
BruceForstall Nov 16, 2020
83d8561
Organize SendReceive tests and isolate non-parallel test collection (…
antonfirsov Nov 16, 2020
bb7e111
Delete unnecessary entry in global.json (#44709)
jkotas Nov 16, 2020
3c801a8
Support System.Type.Missing arguments for late bound calls to IDynami…
cston Nov 16, 2020
6a9a01e
Avoid MemoryMarshal.Cast unaligned accesses in Marvin (#44617)
GrabYourPitchforks Nov 17, 2020
6f376b2
Fix RCS1036: Remove redundant empty line (#44631)
xtqqczze Nov 17, 2020
43f63d7
Make System.Guid readonly (#44629)
GrabYourPitchforks Nov 17, 2020
fb598a2
System.Memory.Data (#44633)
ericstj Nov 17, 2020
7a83b32
Make DirectoryInfoWrapper better handle missing directories (#44671)
ericstj Nov 17, 2020
552da07
arm64 osx: support byte sizes from lowering to codegen. (#43024)
Nov 17, 2020
dddb12a
Harmonize pointer type handling (#44465)
MichalStrehovsky Nov 17, 2020
9583f73
Avoid MediaTypeHeaderValue.ToString allocation when no parameters (#4…
stephentoub Nov 17, 2020
886a014
Remove unnecessary closure / delegate allocation from CallSiteFactory…
stephentoub Nov 17, 2020
34cf28d
Drop ReadOnlyCollection dependency from TaskExceptionHolder (#44757)
marek-safar Nov 17, 2020
76db6cd
Special-case zero parameters in GetParameters (#44759)
stephentoub Nov 17, 2020
5943f09
Replace Tuples with ValueTuples (#44712)
stephentoub Nov 17, 2020
860eaf1
Remove ALT_JIT define and replace with runtime logic (#44565)
davidwrighton Nov 17, 2020
a5d6b30
Remove use of Tuple<> from corelib (#44706)
stephentoub Nov 17, 2020
f6bfec0
Adjust Mono EventPipe/DiagnosticServer C library to better support Co…
lateralusX Nov 17, 2020
69d6127
Avoid string/StringBuilder/char[] allocation in LogValuesFormatter's …
stephentoub Nov 17, 2020
583a536
Don't use interfaces for sharing Tuple implementation methods (#44684)
marek-safar Nov 17, 2020
184e5aa
Added condition of empty for concurrent dictionary (#44581)
ShreyasJejurkar Nov 17, 2020
223fd3a
Make ImmutableArray readonly (#44640)
huoyaoyuan Nov 17, 2020
9c1fde0
Fix full-aot support for unmanaged function pointers. (#44783)
vargaz Nov 17, 2020
8a6693a
Enables the interpreter on Android (#44649)
steveisok Nov 17, 2020
86580a3
Avoid unnecessary LINQ and string joins in JsonConfigurationFileParse…
stephentoub Nov 17, 2020
ed29578
Add workflow to update solution files with SlnGen and update them ini…
ViktorHofer Nov 17, 2020
7d6b73e
Use new CoreDisTools package (#44490)
echesakov Nov 17, 2020
e5c7168
Optimize HelloWorld usage (#44711)
cshung Nov 17, 2020
67a0b69
Fix the culture parent chain for zh-Han[s|t]-* (#44737)
tarekgh Nov 17, 2020
d2fc747
Signing cleanup (#44658)
jkoritzinsky Nov 17, 2020
951560c
Add the emscripten version to the wasm runtime pack and check it at a…
vargaz Nov 17, 2020
9d60485
Handle unicode and e-notation differences between S.T.J and J.N tests…
marcusturewicz Nov 17, 2020
909f092
[Android] Add ability to set env vars via command line (#44644)
EgorBo Nov 17, 2020
573f998
Remove HashProviderDispenser.Android.cs (#44814)
EgorBo Nov 17, 2020
38743da
Update archives package to fix zip/tar naming. (#44827)
jkoritzinsky Nov 17, 2020
ef2a187
Remove some overhead from Process.Start (#44691)
stephentoub Nov 17, 2020
c8494fc
Return pooled arrays in Regex.Replace when no replacements (#44833)
stephentoub Nov 17, 2020
1a6d27d
Fix non-thread-safe EntityTagHeaderValue.Any (#44802)
stephentoub Nov 17, 2020
eefecfc
Restore Snapcraft files. (#44812)
jkoritzinsky Nov 17, 2020
01215bb
Fix building host lineup packages. (#44839)
jkoritzinsky Nov 18, 2020
6f29f0b
[wasm] Use the functions in emscripten/stack.h to compute stack bound…
monojenkins Nov 18, 2020
181d646
Trigger SuperPMI collection pipeline if JIT-EE GUID changes (#44846)
BruceForstall Nov 18, 2020
7d7ef2c
Update nullability on some LINQ expression methods (#44844)
smitpatel Nov 18, 2020
08ee531
Make $(TargetOS) lowercase windows in eng/coredistools.target (#44845)
echesakov Nov 18, 2020
0d122b1
Fix NRE when default value is null and ServiceCallSite is not found (…
maryamariyan Nov 18, 2020
fa06656
Enable nullable annotations for M.E.L.Abstractions (#43892)
maryamariyan Nov 18, 2020
88ecbab
Fix decoding GC information in R2RDump (#44682)
AntonLapounov Nov 18, 2020
30769e8
[master] Update dependencies from dotnet/arcade (#44835)
dotnet-maestro[bot] Nov 18, 2020
65efefd
few minor MemoryCache perf improvements (#44797)
adamsitnik Nov 18, 2020
1e8adf2
Integrate misc fixes from dotnet/runtimelab:NativeAOT (#44851)
jkotas Nov 18, 2020
04ad427
Use read-only auto-implemented property (#44677)
xtqqczze Nov 18, 2020
6cb16e1
Remove unnecessary suppression (#44811)
RikkiGibson Nov 18, 2020
9765835
[browser][wasm] Cleanup debug statement (#44870)
kjpou1 Nov 18, 2020
35e535e
Fix a comment in the bundle marker (#44874)
vitek-karas Nov 18, 2020
57c14a2
Remove most LINQ usage from Microsoft.Extensions.Configuration (#44825)
stephentoub Nov 18, 2020
2d80101
GetUninitializedObject fixes & improved tests (#44843)
GrabYourPitchforks Nov 18, 2020
38259c8
Avoid string.Concat(params string[]) in SimpleConsoleFormatter.Create…
stephentoub Nov 18, 2020
eeba597
Restore the Microsoft.NETCore.DotNetAppHost package since the SDK tra…
jkoritzinsky Nov 18, 2020
7426c10
Remove closure allocations from ServiceCollectionDescriptorExtensions…
benaadams Nov 18, 2020
4204aa9
Avoid string.Split in LoggerRuleSelector.IsBetter (#44753)
stephentoub Nov 18, 2020
14c0440
Change SuperPMI collection to not use altjit mechanism (#44834)
BruceForstall Nov 18, 2020
a60137c
Fix ComponentDocumentDesigner references in DesignerAttribute to incl…
safern Nov 18, 2020
4e5463d
Fix nullable annotations on HttpClient.Post/Put/PatchAsync (#44880)
stephentoub Nov 18, 2020
e28dbe9
Remove some allocations from ManifestBuilder.CreateManifestString (#4…
stephentoub Nov 18, 2020
42ffc8f
Delete now unused target in crossgen2.csproj. (#44888)
jkoritzinsky Nov 18, 2020
0fad9d6
Remove unnecessary GetTypeInfo from Microsoft.Extensions. (#44891)
eerhardt Nov 18, 2020
722fb86
Add test for Timer.Elapsed DateTime (#44881)
stephentoub Nov 18, 2020
7e3b310
Fix discuss #44785:optimize constructor of ElapsedEventArgs (#44853)
LeaFrock Nov 18, 2020
514079d
Improve dumping GC info in R2RDump (#44857)
AntonLapounov Nov 18, 2020
cb3ecbb
Fix illumos managed build (#44386)
am11 Nov 18, 2020
21f32f0
Make minor change to corinfo.h to test SuperPMI AzDO job trigger (#44…
BruceForstall Nov 18, 2020
044ee8c
Change gtGetThisArg not to return nullptr. (#44398)
Nov 19, 2020
0cb3cfd
Verify that OCSP and CRL checks fall back.
vcsjones Nov 19, 2020
999785e
For x86/x64, call a stack probe helper for all frame sizes equal or o…
echesakov Nov 19, 2020
496bc88
Fix ListSeparator with ICU (#44732)
tarekgh Nov 19, 2020
1eb8d17
Sync SPC File.cs implementation with full the implementation in SIF (…
marek-safar Nov 19, 2020
ffc0b7a
Ensure Debugging assets are signed. (#44915)
hoyosjs Nov 19, 2020
a7040b0
Fix regression in XDocumentType (#44868)
krwq Nov 19, 2020
f2feed9
Use simple array for AggregateException inner exceptions storage (#44…
marek-safar Nov 19, 2020
1821d9c
Fix s390x unwinding and remove need for backchain pointer (#44927)
monojenkins Nov 19, 2020
88c4a46
Add AOT support for the EntryPoint property for UnmanagedCallersOnly.…
vargaz Nov 19, 2020
01c8d63
Move EventPipe C library into shared location. (#44791)
lateralusX Nov 19, 2020
cb8c8ec
Increment breaking change no for doubly linked freelists (#44800)
PeterSolMS Nov 19, 2020
b5dffeb
[mono] Unconditionally check llvm::Expected<T> for success (#44908)
imhameed Nov 19, 2020
eb7a815
[mono] Re-enable /JIT/HardwareIntrinsics/General/NotSupported_{r,ro}/…
imhameed Nov 19, 2020
c17ecbd
Delete coreconsole test hosts (#44933)
jkotas Nov 19, 2020
5b48cae
Speed up Crossgen2 by 10% (#44917)
nattress Nov 19, 2020
d3e5aa8
Fix issue 44646 - ILAsm incorrectly handles method .custom attribute …
briansull Nov 19, 2020
2b41889
Fix SoD input path (#44954)
DrewScoggins Nov 19, 2020
75c0b99
Consolidate RID and native file naming in MSBuild scripts (#43804)
am11 Nov 19, 2020
8bbbf6d
Delete NetEventSource.IsEnabled (#44901)
stephentoub Nov 19, 2020
cb035a3
Fix NRE on EmitCalli (#44452)
wzchua Nov 19, 2020
3c5b4a6
Remove temporary SuperPMI scripting code (#44962)
BruceForstall Nov 19, 2020
3f97ea6
Mark stress log critical section as compatible with shutdown (#44937)
trylek Nov 19, 2020
0897d4a
Use multibyte character path for bundle_probe (#44466)
am11 Nov 19, 2020
63923b5
Custom attribute properties were not always applied correctly (#44813)
steveharter Nov 19, 2020
3440021
Run class cctor in RuntimeHelpers.GetUninitializedObject(type). (#44898)
vargaz Nov 19, 2020
b58991b
Fix post build signing props and enable post build signing. (#44951)
jkoritzinsky Nov 19, 2020
705533e
Move xunit test harness to its own directory under core_root (#44921)
nattress Nov 19, 2020
20aa7ad
Use simple convert method for internal bool to ulong enum conversion …
marek-safar Nov 19, 2020
b851613
Enables the interpreter on iOS (#44911)
steveisok Nov 19, 2020
0f64477
Fix syntax error in Signing.props (#44971)
ViktorHofer Nov 19, 2020
cb80f85
Fix handling of \G in Regex.Split/Replace (#44975)
stephentoub Nov 20, 2020
3ecf9db
Build osx-x64 Crossgen2 package (#44984)
AntonLapounov Nov 20, 2020
e2312e1
Removed unwanted ManualResetEvent from ServiceController (#44716)
ShreyasJejurkar Nov 20, 2020
70c51bb
Fix pal cgroup v2 implementation (#44990)
tmds Nov 20, 2020
d85f060
Preserve symbols in dbgshim (#44970)
hoyosjs Nov 20, 2020
46b8b22
Increase Hosting test delay to fix flaky BackgroundServiceAsyncExcept…
eerhardt Nov 20, 2020
8df6fe7
Fix parsed RID condition for VS (#44998)
am11 Nov 20, 2020
a61b054
Use substitute SHA-1 implementation in wasm (#44982)
GrabYourPitchforks Nov 20, 2020
f22d7c5
Use TryParseUInt32HexNumberStyle directly from Guid.TryParse (#44918)
stephentoub Nov 20, 2020
38c9b98
Disable on Server Core a couple tests that use notepad (#44972)
danmoseley Nov 20, 2020
2f18501
Fix CFB8 with Zero padding
vcsjones Nov 20, 2020
5301748
Fix add user secrets (#44838)
galakt Nov 20, 2020
b9630c4
[mono] Define ENABLE_MONOTOUCH and MONOTOUCH when building iOS/tvOS A…
imhameed Nov 20, 2020
a6b3b23
Updated mono testing doc (#44360)
fanyang-mono Nov 20, 2020
2b6d79a
Add Linux ARM64 runs (#44887)
DrewScoggins Nov 20, 2020
aca7af9
Add chmod for the SoD tool (#45014)
DrewScoggins Nov 20, 2020
58667e7
Add missing XML docs to System.Security.* (#44461)
krwq Nov 20, 2020
07193b8
Register allocation cleanup (#44977)
kunalspathak Nov 20, 2020
c409a32
Fix buffer comparison in stream conformance tests (#45012)
geoffkizer Nov 20, 2020
f2e83d7
Remove Convert.ToByte usage from Enum (#45004)
stephentoub Nov 20, 2020
8d38285
Remove LINQ usage from EnvironmentVariablesConfigurationProvider (#44…
stephentoub Nov 20, 2020
f9a8abc
Remove more LINQ usage from various dotnet/runtime libraries (#44964)
stephentoub Nov 20, 2020
028cde2
Add GetCiphertextLength for CBC, CFB, and ECB.
vcsjones Nov 21, 2020
99e9cbc
Hide DispatchTailCalls helper in stacktraces (#45019)
jkotas Nov 21, 2020
0a14898
[browser][tests] Standup System.Net.WebSockets.Client.Tests in CI (#4…
kjpou1 Nov 21, 2020
6c80a3d
Use OutputRid for host packs (#45041)
am11 Nov 21, 2020
2f8959a
Correct nullability annotation for IDataRecord (#44938)
roji Nov 21, 2020
8a3dc16
Implement getMethodModule (#45046)
BruceForstall Nov 21, 2020
eb5df0d
Handle non-ASCII strings in GetNonRandomizedHashCodeOrdinalIgnoreCase…
EgorBo Nov 21, 2020
c4c3981
Use HexConverter directly when producing hex representation of enum v…
marek-safar Nov 21, 2020
bb492cb
Drop Convert static constructor dependency from RuntimeType (#45054)
marek-safar Nov 22, 2020
f67389f
Fix Typos (#45024)
Nov 22, 2020
12ae956
Delete unused WinRT related strings (#45067)
jkotas Nov 22, 2020
bf302de
Improve throughput of Environment.GetEnvironmentVariables() (#45057)
stephentoub Nov 22, 2020
7218577
Create cancellation token registration wrapper only when it's needed …
marek-safar Nov 23, 2020
e8c4f22
disable ReadWrite_Success_Large test for CryptoStream because it take…
geoffkizer Nov 23, 2020
8861c41
Skip Invariant initialization test for CultureData.Invariant (#45064)
benaadams Nov 23, 2020
65d42f0
[Android] Introduce AndroidApkFileReplacerTask task (#44993)
EgorBo Nov 23, 2020
e274015
Add support for stack walks on wasm for the reflection methods which …
vargaz Nov 23, 2020
78adc93
Use `argIsInvariant` instead of `argNode->OperIsConst()` for inlining…
Nov 23, 2020
e2099f6
Use Type.EmptyTypes consistently (#45112)
stephentoub Nov 23, 2020
202f6e1
Update ILVerify readme (#45123)
jkotas Nov 23, 2020
3f89665
Remove most uses of RuntimeTypeHandle.Allocate (#45085)
GrabYourPitchforks Nov 23, 2020
89383aa
Fix native build on arm and arm64. (#45131)
Nov 24, 2020
1fa2054
Fix CoreRT frozen strings handling. (#45095)
Nov 24, 2020
aebd598
Update nullability.md
stephentoub Nov 24, 2020
664b962
Reduce RuntimeType.MakeGenericType overheads (#45137)
stephentoub Nov 24, 2020
2e8c4c7
Handle inconsistent \0 in Pkcs9Document{Name|Description}
bartonjs Nov 24, 2020
d73c65e
add support for less standard serial port speeds on macOS (#44052)
wfurt Nov 24, 2020
f3acf03
Delay initialization of Task related properties which are rarely used…
marek-safar Nov 24, 2020
62f55e1
Fix Full Width Chars Casing (#45079)
tarekgh Nov 24, 2020
7031456
JIT: change basic block weight to float (#45052)
AndyAyersMS Nov 24, 2020
e04274e
Reduce SafeHandle allocation in CertEnumCertificatesInStore (#45166)
stephentoub Nov 24, 2020
50c4607
Fix work item exit code for helix tests (#45164)
alexperovich Nov 24, 2020
3e65d68
Keep precise argument sizes between import and morph. (#43130)
Nov 25, 2020
93cbc09
Remove ForceAsync from CryptoStream (#45150)
stephentoub Nov 25, 2020
fa367a3
Remove redundant ExecutionContext private ctor parameter (#45173)
marek-safar Nov 25, 2020
fe80a77
Fix Activity Start Time Precision (#45175)
tarekgh Nov 25, 2020
e08358f
Skip some PKCS9 tests on NetFx (#45199)
GrabYourPitchforks Nov 25, 2020
0262b49
Fix Socket telemetry outerloop test failures (#45170)
stephentoub Nov 25, 2020
837785f
Implement TCP Keep-Alive for WinHttpHandler (#44889)
antonfirsov Nov 25, 2020
2c155c2
Fix spelling of OverideEventProvider (#45113)
stephentoub Nov 25, 2020
96a49a1
[master] Update dependencies from dotnet/icu dotnet/llvm-project dot…
dotnet-maestro[bot] Nov 25, 2020
d6b9adb
[wasm] change filtering system timezones from zone.tab as a task para…
tqiu8 Nov 25, 2020
f066972
Remove unused Enum::InternalFlagsFormat parameter (#45196)
marek-safar Nov 25, 2020
23f7fbc
Mono: switch to CMake build on Windows (#44976)
akoeplinger Nov 25, 2020
854fde6
Fix ninja package name (#45217)
jkoritzinsky Nov 25, 2020
ffc141a
Disabled test, fixed some typos as well. (#45212)
ManickaP Nov 25, 2020
5a6c21c
Initial version of class profiling for PGO (#45133)
AndyAyersMS Nov 25, 2020
abc525d
Handle unsupported browser warnings (#43363)
buyaa-n Nov 25, 2020
f48c8d5
Disabled Http2_PingKeepAlive (#45214)
ManickaP Nov 25, 2020
ba0972c
Merge remote-tracking branch 'upstream/runtime-master' into MergeWith…
layomia Nov 25, 2020
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
Prev Previous commit
Next Next commit
add support for less standard serial port speeds on macOS (#44052)
* add support for less standard serial port speeds on macOS

* s/ifdef/if
wfurt authored Nov 24, 2020
commit d73c65ed402fad658c39d78773d181c4459b62c8
1 change: 1 addition & 0 deletions src/libraries/Native/Unix/Common/pal_config.h.in
Original file line number Diff line number Diff line change
@@ -113,6 +113,7 @@
#cmakedefine01 HAVE_CFMAKERAW
#cmakedefine01 HAVE_GETGROUPLIST
#cmakedefine01 HAVE_SYS_PROCINFO_H
#cmakedefine01 HAVE_IOSS_H

// Mac OS X has stat64, but it is deprecated since plain stat now
// provides the same 64-bit aware struct when targeting OS X > 10.5
37 changes: 33 additions & 4 deletions src/libraries/Native/Unix/System.IO.Ports.Native/pal_termios.c
Original file line number Diff line number Diff line change
@@ -11,6 +11,9 @@
#if HAVE_SYS_FILIO_H
#include <sys/filio.h>
#endif
#if HAVE_IOSS_H
#include <IOKit/serial/ioss.h>
#endif

/* This is dup of System/IO/Ports/NativeMethods.cs */
enum
@@ -352,6 +355,14 @@ int32_t SystemIoPortsNative_TermiosSetSpeed(intptr_t handle, int32_t speed)

if (brate == B0)
{
#if HAVE_IOSS_H
// Looks like custom speed out of POSIX. Let see if we can set it via specialized call.
brate = speed;
if (ioctl(fd, IOSSIOSPEED, &brate) != -1)
{
return speed;
}
#endif
errno = EINVAL;
return -1;
}
@@ -418,6 +429,7 @@ int32_t SystemIoPortsNative_TermiosReset(intptr_t handle, int32_t speed, int32_t
{
int fd = ToFileDescriptor(handle);
struct termios term;
speed_t brate;
int ret = 0;

if (tcgetattr(fd, &term) < 0)
@@ -503,24 +515,41 @@ int32_t SystemIoPortsNative_TermiosReset(intptr_t handle, int32_t speed, int32_t

if (speed)
{
speed_t brate = SystemIoPortsNative_TermiosSpeed2Rate(speed);
brate = SystemIoPortsNative_TermiosSpeed2Rate(speed);
if (brate == B0)
{
#if !HAVE_IOSS_H
// We can try to set non-standard speed after tcsetattr().
errno = EINVAL;
return -1;
#endif
}

else
{
#if HAVE_CFSETSPEED
ret = cfsetspeed(&term, brate);
ret = cfsetspeed(&term, brate);
#else
ret = cfsetispeed(&term, brate) & cfsetospeed(&term, brate);
ret = cfsetispeed(&term, brate) & cfsetospeed(&term, brate);
#endif
}
}

if ((ret != 0) || (tcsetattr(fd, TCSANOW, &term) < 0))
{
return -1;
}

#if HAVE_IOSS_H
if (speed && brate == B0)
{
// we have deferred non-standard speed.
brate = speed;
if (ioctl(fd, IOSSIOSPEED, &brate) == -1)
{
return -1;
}
}
#endif

return 0;
}
4 changes: 4 additions & 0 deletions src/libraries/Native/Unix/configure.cmake
Original file line number Diff line number Diff line change
@@ -836,6 +836,10 @@ check_include_files(
linux/can.h
HAVE_LINUX_CAN_H)

check_include_files(
IOKit/serial/ioss.h
HAVE_IOSS_H)

check_symbol_exists(
getpeereid
unistd.h