1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 03:27:04 +09:00
Commit graph

145 commits

Author SHA1 Message Date
Aaron Robinson
7134e1e6a4
Update docs for ByRefLike with generics for work in .NET 10 (#103318)
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2024-07-25 13:31:36 -07:00
Dan Moseley
b252fa50ad
remove corefx from md (#105275) 2024-07-22 14:55:00 -06:00
Elinor Fung
d123560a23
Enable embedding install location options in apphost (#104749)
- Add placeholder value in `apphost` for .NET install search options. Format:
  - `<search_location_flags> /0 <app_relative_dotnet_path>`
- Make `apphost` conditionally look at app-local, app-relative, environment variables, and global locations based on configured behaviour
  - Default (placeholder not changed) is to look at app-local, environment variables, and global locations.
- Update error and tracing messages to include information about any configured search options
- Allow specifying search options in `HostWriter.CreateAppHost`
- Add unit/integration tests

Part of https://github.com/dotnet/designs/blob/main/proposed/apphost-embed-install-location.md.
There still needs to be a corresponding change on the SDK side to allow configuration via `AppHostDotNetSearch` and `AppHostRelativeDotNet` properties.
2024-07-18 15:17:35 -07:00
Steve Pfister
dfa7dc5cc1
Update dotnet-pgo.md (#103923)
Updates the instructions on how to install and use dotnet-pgo.

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2024-06-24 18:33:54 -04:00
David Mason
7934e64492
Add user_events support for the native runtime events (#102523) 2024-06-19 09:41:10 -07:00
Noah Falk
7c0f62fabc
Add standalone GC out-of-date doc warning (#103023) 2024-06-04 00:27:51 -07:00
Ken Dale
59f2833b98
Update docs.microsoft.com usages to learn.microsoft.com (#102881)
* Update https://docs.microsoft.com to https://learn.microsoft.com

* Update http://docs.microsoft.com/ to https://learn.microsoft.com (removes trailing slash)

* Update docs.microsoft.com to https://learn.microsoft.com

* Update docs.microsoft.com to learn.microsoft.com

* Replace learn.microsoft.com/en-us/ with learn.microsoft.com/ to remove locale from urls
2024-05-31 11:27:45 -07:00
Sven Boemer
a8f3862ac8
Move Y2038 doc into docs/design/features (#102854) 2024-05-29 16:20:05 -07:00
Aaron Robinson
d58c5417f6
[CoreCLR and native AOT] UnsafeAccessorAttribute supports generic parameters (#99468)
* Generic type support

Instance and static fields on generic types
Re-enable and add to field tests
Generic types with non-generic methods.
Generic static methods

* Native AOT support

* Add design document
Add strict check for precisely matched Generic constraints
2024-03-20 13:25:43 -07:00
Aaron Robinson
06e3fe4297
Update design document (#99916) 2024-03-19 10:31:43 -07:00
Ilona Tomkowicz
fa55ff6fde
Custom ICU build does not require IcuTracing. (#99346) 2024-03-06 14:13:53 +01:00
Aaron Robinson
2ab51c6ef3
CoreCLR NativeAOT - ByRef generics and ByRef implementing interfaces (#98070)
* ByRefLike generic/interface follow-up work

* Create negative tests

* Apply API review feedback.
Add FeatureFlag.
2024-03-01 19:53:48 -08:00
Ilona Tomkowicz
993b23fc10
Limit PNSE by using Invariant HashCode in HybridGlobalization (#96354)
* Unblock all tests.

* SortKey is Invariant now.

* Missing SortKey changes + fix HashCode.

* Typo

* Revert unbocking tests connected with CompareOptions PNSE.

* Hashing uses Invariant mode -these tests should be skipped.

* Add active issue.

* feedback

* Feedback

* Better documentation.

* Add new tests + sanitize string before invariant comparison.

* Comment + more cases.

* Clean CI.

* Missing change for clean CI commit.

* `SortKey` not supported for non-invariant cultures, `HashCode` supported for non-invariant cultures only with `IgnoreCase` or `None` options.

* Feedback.

* Fix build, add docs.

* Feedback @matouskozak @pavelsavara

* Added tests + fixed algo.

* Block failing tests for a follow-up PR.

* Add more details to PNSE.

* Feedback - correct comment
2024-01-19 22:24:02 +01:00
Meri Khamoyan
4f1a138c80
[iOS][non-icu] HybridGlobalization clean up the code (#96974)
Clean up the code
2024-01-18 13:21:25 +01:00
Meri Khamoyan
2987aba166
[iOS][non-icu] HybridGlobalization support IgnoreKanaType (#96002)
Implement IgnoreKanaType on hybrid mode
2023-12-15 11:04:39 +01:00
Ilona Tomkowicz
2df188cd66
[doc] HybridGlobalization, add not supported APIs (#95920) 2023-12-12 18:34:25 +01:00
Egor Bogatov
4e183ab055
Fix typos in NonGC-heap.md (#95731) 2023-12-07 13:34:09 +01:00
Meri Khamoyan
b345e2dbd6
[iOS][non-icu] HybridGlobalization implement GetSortKey on hybrid mode (#95260)
Implement GetSortKey on hybrid mode
2023-12-06 11:50:53 +01:00
Alexander Köplinger
77619b84b1
Fix link to xliff-tasks in localization-options.md (#94911) 2023-11-17 13:24:37 +01:00
Kevin Jones
7473a2963c
Delete docs/design/features/cross-platform-cryptography.md 2023-10-09 21:22:26 -07:00
Elinor Fung
da5bd2bc91
Stop setting separate properties for BUNDLE_PROBE, HOSTPOLICY_EMBEDDED, PINVOKE_OVERRIDE (#92448) 2023-09-26 19:54:26 -07:00
Theodore Tsirpanis
f61d3c70e7
Store pinned static fields in the Pinned Object Heap. (#89895)
* Add an overload of `AllocateObject` that accepts a `GC_ALLOC_FLAGS`.

* Allocate pinned static boxes in the POH.

* Stop tracking pinning handles in `ThreadLocalBlock`.
Now that we don't pin `FixedAddressValueType` fields, this mechanism is unused.

* Support `FixedAddressValueTypeAttribute` in unloadable assemblies.
We remove the check that blocked it, enable a test and update a design document.

* Fix compile errors.

* Remove another check.
2023-09-21 21:03:56 -07:00
Steve Gordon
44f82cdfcf
Fix typo in host-runtime-information.md (#92217) 2023-09-18 06:46:22 -07:00
Elinor Fung
b41b63973b
Add comment about support for null context in hostfxr_get_runtime_delegate (#91479) 2023-09-01 13:35:40 -07:00
Egor Bogatov
9f24667d4e
Add NonGC documentation (#90206) 2023-08-14 10:01:24 +02:00
Meri Khamoyan
c83324d393
[iOS][non-icu] HybridGlobalization implement calendar data (#90004)
Implement calendar info for hybrid mode on iOS
2023-08-08 19:53:11 +04:00
Ilona Tomkowicz
a9363bf0b8
[browser][non-icu] HybridGlobalization calendar data (#89255)
* Calendar WIP.

* Genitive months.

* Short pattern.

* NativeCalendarName does not exist on WebAPI - use EnglishCalendarName.

* Fix failures in Locales caused by calendars data removal.

* Fix to previous commit.

* Whitespace.

* Implemented Eras.

* Populate NativeName with EnglishName.

* Fix tests.

* Typos + comments removal + block failing test.

* AM/PM designators are not in ICU anymore.

* ShortTimePattern is ready.

* Fix some failing tests.

* LongTimePatterns is ready.

* Ask about all culture info from JS at once.

* Fix remaining tests.

* Calendar Globalization tests fixed.

* Adding test files to projects.

* Build fix.

* Fix the fix.

* .

* Fix tests.

* Load locale info on request + fix Browser scenario tests.

* Fix test on v8.

* Forgotten clean-up.

* Small cleanup in ts.

* V8 11 is behaves more like browser.

* Fixed skipped failing tests.

* Syntax

* V8 returns the same as Browser.

* This API is not affected, no need to test. + Add documentation.

* Revert unintentional change.

* Feedback.

* @radical's feedback + fix after removing unnecessary set.

* Fix.

* Feedback.

* Fix tests.
2023-08-07 22:51:42 +02:00
Meri Khamoyan
f8cb3c7600
[OSX] HybridGlobalization Workaround for insufficiently sized destination buffer (#88184)
Workaround for insufficiently sized dest buffer
2023-07-04 10:20:43 +04:00
Pavel Savara
d388585aa4
[wasm] Introduce <InvariantTimezone> build flag (#87284) 2023-07-01 09:50:21 +02:00
Meri Khamoyan
67b1ede8cb
[OSX] HybridGlobalization Implement casing functions (#87919)
Implement GlobalizationNative_ChangeCaseNative , GlobalizationNative_ChangeCaseInvariantNative for OSX
2023-06-29 12:23:59 +04:00
Meri Khamoyan
eccc410253
Implement collation native functions functions (#86895)
Implemented IndexOf, LastIndexOf, IsSuffix, IsPrefix functions
2023-06-21 12:19:06 +04:00
Ilona Tomkowicz
71dd370b7e
[browser][non-icu] HybridGlobalization set flag in SDK (#85245)
* Initial change.

* Filename update.

* WBT for WASM.

* Updated docs.

* Run Hybrid wbt on CI.

* Feedback + hierarchy compatible with #86255.

* Feedback. Test program code to assets.
2023-06-05 16:02:32 +02:00
Ilona Tomkowicz
8154757175
[wasm][globalization] HybridGlobalization fix bug in change case (#86799)
* Fix + test.

* Fix surrogates problem, document final sigma.

* Update change-case.ts

* Fix NLS
2023-05-30 08:54:51 +02:00
Meri Khamoyan
f345a70611
[OSX] HybridGlobalization implement compare native function (#85965)
Implemented CompareStringNative for OSX platforms
Added changes done by @ilonatommy in #86305
2023-05-24 15:08:56 +04:00
Ilona Tomkowicz
6022b3e0c3
[browser][non-icu] HybridGlobalization indexing (#85254)
* A bit faster version of indexing. WIP

* Tiny speedup.

* Fixed IndexOf, ToDo: LastIndexOf.

* All tests pass.

* Updated docs.

* Update docs.

* Slicing + saving previous absolute index instead of pushing the iterator to the start position.

* Refactored.

* Fixed tests on browser.

* Str1 and str2 was confusing.

* Fix CI- correctly trimming Hybrid properties.

* Previous commit should target only Browser.

* Applied @mkhamoyan's suggestion to avoid code duplication.

* Applied @pavelsavara's review.

* Get rid of build errors.

* Revert.
2023-05-18 14:39:34 +02:00
Ilona Tomkowicz
fa5d12e583
[browser][non-icu] HybridGlobalization checking for prefix/suffix (#85093)
* Implementation.

* HG does not belong to legacy code.

* No need to create new instance when existing one is exported.

* TextEncoder's behavior varies between hosts.

* Nit

* Cutting prevents us from using IgnoreSymbols.

* Fixed asserts.

* Fix.

* Match platform with behavior.

* Missing changes to prev commit.
2023-04-22 15:30:57 +02:00
Ilona Tomkowicz
907cc1c1c0
[browser][non-icu] HybridGlobalization SortKey (#84621)
* Throw on SortKey.

* Fix NLS tests.

* Do not add these files for WASI.

* Removed WASI from targets.

* Run tests with HG only on browser, rename.

* Missing WASI removal.

* General docs fix.

* Storing exception text as resource string.
2023-04-18 09:32:31 +02:00
Ilona Tomkowicz
722e19b0ca
[browser][non-icu] HybridGlobalization not supported on WASI (#84629)
* Remove WASI targets from HybridGlobalization.

* Update docs.

* Run tests only on browser.

* Do not add these files for WASI.

* Tests run only on browser.

* Missing removal.
2023-04-12 08:21:10 +02:00
Andy Ayers
e641efb93d
JIT: scalable profile counter mode (#84427)
Add an config option to use a "scalable" profile helper for edge counters,
where we try and avoid contention by probablistic updates once the counter
value exceeds some threshold (currently 8192). Using the current xorshift
RNG this gives the counter a two-sigma accuracy of around +/- 2%.

The idea is loosely based on "Scalable Statistics Counters" by Dice, Lev,
and Moir (SPAA’13).

Also allow the scalable and interlocked profile modes to operate at the same
time, recording two sets of counts per probe, so we can verify that this new mode
is sufficiently accurate.
2023-04-09 14:22:58 -07:00
Ilona Tomkowicz
d34a2a29e9
[browser][non-icu] HybridGlobalization compare (#84249)
* Added support for hybrid globalization comparison.

* Clean-up. Added exception test cases to docs.

* Nit changes from @kg's review.

* Applied @kg's review.

* Revert unintentional change.

* Refactor: all hybrid globalization js methods in one file.

* Color the syntax.

* Undeline the fact that this PR is only for WASM.

* Move interop functions to proper location.
2023-04-07 09:04:32 +02:00
Ilona Tomkowicz
9afb7d4244
[browser][non-icu] HybridGlobalization change case (#84019)
* Enabled `HybridGlobalization` mode.

* Enabled non-icu change case.

* Tests.

* Revert not connected changes.

* Fix: Add the new file to the project.

* Fix: this PR is for Browser, so add it to condition.

* Fixed calls to js.

* Trying to fix CI.

* False is default, redundant lines.

* Trying to fix the CI.

* Remove redundant code.

* This PR is partial solution, this file will be added in a follow-up.

* Fix for EAT lib tests.

* We do not trim anything for Hybrid currently.

* Check if functions invoked only in specific modes.

* Change confusing name + move the common property to the main part of the class.

* Applied @mkhamoyan's suggestion.

* Fix previous commit: missing directive.

* Fix previous commit: missing directive.

* It's not IOS-connected.

* Move hybrid tests to correct dir + separate ios and wasm + update sln.

* Invariant and hybrid cannot be both true.

* Remove old version of hybrid tests proj.

* Applied @kg's review.
2023-04-04 09:07:04 +02:00
Ilona Tomkowicz
5b47cd7520
Documentation for loading custom files in Blazor. (#83925)
* How to load custom icu files in Blazor.

* Specify the path form.

Specify how the path should look like for both: Blazor and WASM app.

* Nit
2023-03-27 17:00:45 +02:00
Elinor Fung
7ab00bbca0
Add note to doc about not specifying hostfxr_initialize_parameters::dotnet_root (#83802) 2023-03-24 10:11:43 -07:00
Adeel Mujahid
3b63eb1346
Replace remaining instances of COMPlus with DOTNET (#82985)
* Replace remaining instances of COMPlus with DOTNET

* Fix heading in RyuJIT tutorial
2023-03-05 08:40:20 -08:00
Ilona Tomkowicz
4227487f9b
Update keywords. (#82896) 2023-03-02 15:30:30 +01:00
Ilona Tomkowicz
5415cd1e4e
[wasm][icu] ICU files sharding + custom icu data loading for WASM (#80421)
* User can set `GlobalizationShard`.

* Sample for sharding, might be transformed into a test.

* Option of custom shard file upload.

* Replaced sample with WBT.

* Remove unnecessary change.

* Fixed invariantMode + full custom path + nit.

* Draft of documentation.

* Rename to reflect usage better.

* Fix full path file loading to the Browser.

* Fixed WBT build errors.

* Docs: only one ICU file can be used.

* Fixed NodeJs: `navigator` is not defined.

* Paritial fix of sharding tests.

* RuntimePack can differ for AOT and Release.

* Fix `ja-JP` culture not found in CheckDateTimeLocale.

* Fixedculture not found in SatelliteAssemblyTests.

* Fixed culture not found in System.Runtime tests.

* `icudt.dat` should not be loaded when <IcuFileName> empty + EFIGS contains only some specific locales + `IsIcuFilePredefined` is not necessary.

* Improved doc readability using @radical's suggestions.

* Forgot to remove comments.

* Missing change for 5df3c9ccc851c45fbdbc3acfd96162c3237973c1.

* WBT: Applied review.

* Applied @pavelsavara's suggestion.

* Added `WasmIncludeFullIcuData` to work like Blazor.

* Another missing change for 5df3c9ccc851c45fbdbc3acfd96162c3237973c1.

* Missing change for b5a1308372ed00f1dea08dadd647e97dffe57e27.

* Fix debugger failures for real, previous flag was in the wrong place.

* Fixed most libraries that require full ICU.

* WBT should load full icu only when invariant off.

* Applied @radical's idea.

* Missing change for the last commit.

* Build args should not be edited inside of `BuildProject()` + Identity on a property does not exist.

* One flag for all lib tests instead of multiple changes.

* Revert comments for the prev commit.

* Fix for trimming tests.

* Rename + throwing when file not found.

* Fixed NoopNativeRebuildTest WBT.

* Forgotten logging.

* Tests with custom shard.

* Added more complex tests.

* Should fix wasm tests on helix.

* Fix WBT.

* [wasm] Update eng/testing/scenarios/BuildWasmAppsJobsList.txt

* [wasm] fix testassets path

* Default mode for tests should be the same as default mode for template apps.

* Checking preferred icu when assets are still not populated was incorrect.

* DataTimeFormat does not work well for browser + wrong condition.

* Removed empty space changes.

* WBT for automatic icu selection based on locale.

* Moved the full icu flag from libs to lib tests.

* Flag in tests.wasm.targets should be enough for trimming tests.

* Debugger tests in default globalization mode unless CJK needed. Firefox does not respect UILocale.

* Removing forgotten comment.

* Fixed sharding wbt.

* This should not be commented out.

* Sharding WBT do not make sense on v8 + fixed debugger tests on Linux + fixed WBT on Chrome on Windows.

* Fix test to have sense.

* Fixed tests to reflect expected behavior after removing predefinedCulturesOnly=true from WASM + added en-US to custom ICU.

* Fixed merge errors, removed redundant comment.

* Update docs, disable NodeJS in tests.

* @radical's review part 1: embedded comments.

* Test clean-up by @radical.

* Fix arg order in debugger + revert wasi sharding.
---------

Co-authored-by: Ankit Jain <radical@gmail.com>
2023-02-24 13:59:32 +01:00
Tlakaelel Axayakatl Ceja
18e20d84fd
Update ILLink wording (#82050)
Update linker wording to disambiguate the term from native linker, switched to illink
Deleted illink steps-explained document since is no longer accurate
This change did not change attribute justification messages
Add changes to use same wording between shared files
2023-02-23 10:44:50 -08:00
Elinor Fung
35d83757f4
Proposed host runtime delegate for loading an assembly (#82138)
Doc for proposed hosting API for loading an assembly - two new delegate types:
- `hdt_load_assembly`: load assembly from path
- `hdt_load_assembly_bytes`: load assembly from byte array
2023-02-22 17:44:03 -08:00
Egor Bogatov
27341c2fb3
Promote Tier0 methods with loops to InstrumentedTier0 (#81051) 2023-02-04 09:57:42 +01:00
Andrew Au
ec06321141
Fix x86 clrgc loading (#81176)
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2023-01-27 15:43:56 -08:00