-
Couldn't load subscription status.
- Fork 1.4k
.NET Core resx support #4420
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
Merged
benvillalobos
merged 72 commits into
dotnet:master
from
rainersigwald:core-resx-understanding
Jun 25, 2019
Merged
.NET Core resx support #4420
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
f772498
Make folder for GenerateResource tests
rainersigwald f5829d3
Teach Entry to add itself to an IResourceWriter
rainersigwald f7661c3
AddResource overload that takes an Entry
rainersigwald e312d52
Introduce IResource
rainersigwald 17c476c
Skeleton for TDD
rainersigwald af5f714
Simple string-only tests
rainersigwald 4836229
Refactor parsing to be more general
rainersigwald f30bc63
Special case further into strings
rainersigwald 979a0a6
start thinking about resxfileref
rainersigwald ba8fb47
take a stab at aliases
rainersigwald b28a931
Work toward RESXFILEREF
rainersigwald 4b0c530
Simplify StringResource testing
rainersigwald fc18a86
Support reading text files as strings via ResXFileRef
rainersigwald 96d5c0b
Assert presence of reference files
rainersigwald e039ab2
Generalize resource adding to IResource
rainersigwald 0144a73
Add IResource.Name
rainersigwald 9ea929f
extract GetResourcesFromFile
rainersigwald b986bc8
test todos
rainersigwald c942c28
Generalize AddResource to IResource
rainersigwald 5fbd4b0
Use MSBuildResXReader in .NET Core
rainersigwald 81e94bc
support shift_jis on core
rainersigwald b756b34
Disable tests smarter for #4094
rainersigwald 3384a41
Be more tolerant resolving types in the non-aliased case (ResXResourc…
rainersigwald 54fe22a
ParsesSingleStringWithPartialTypeName
rainersigwald dd42273
Super general ResXFileRef support
rainersigwald 2252f5c
Handle underqualified string typename
rainersigwald d56ff86
extract AddLinkedResource
rainersigwald 38143a6
Throw on unrecognized data
rainersigwald c66b71c
Handle tiny bitmap (test passes, no real use yet)
rainersigwald ed1d832
Switch to static method entirely
rainersigwald 0fad86b
Use new writer on core (should be 'when building for core' but isn't …
rainersigwald 618c82f
Stop trying to load types at build time
rainersigwald 0d63056
Add StringTypeName const
rainersigwald 5dd44c1
Port MimeType consts from ResxResourceWriter
rainersigwald f4aeb19
Switch for mimetype
rainersigwald f91fc56
Streamline string handling
rainersigwald b791612
BinaryFormatter, type specified (doesn't seem to be a real case)
rainersigwald 5b0b04e
Extract Entry to LiveObjectResource
rainersigwald 41f5117
Special case for array[], mirroring ResXResourceReader
rainersigwald 5e75e14
TypeConverterString test
rainersigwald b005648
Support packing value directly into the <data> tag
rainersigwald 7073bac
Plumb through filestream refs
rainersigwald bd9fe49
plumb through path-relative-to-file-or-CWD option
rainersigwald 2980e98
TODO for binaryformatter byte[]
rainersigwald 9bfba40
Register encodings in the dev code
rainersigwald 527b267
Switch System.Resources.Extensions version reference to a maestro-fri…
rainersigwald e0db4a8
System.Resources.Extensions 4.6.0-preview1.19306.4
rainersigwald 7f6739b
xplat paths for tests
rainersigwald 94f1b5b
Change slash direction for ResXFileRef paths
rainersigwald 5b11a04
Detailed error message for unknown mimetype
rainersigwald f3ef876
Better alias handling
rainersigwald 5ed837b
Stricter recognition of System.String
rainersigwald 0740f06
Remove vestigial Resources property
rainersigwald a32077e
Allow and ignore unrecognized resx elements
rainersigwald 4c44a99
Update to approved S.Resources.Extension API
rainersigwald 4eebca2
MSBUILDUSEMINIMALRESX escape hatch
rainersigwald 579543a
Reflow arguments to ProcessResourceFiles.Run (style change only)
rainersigwald cbb0a96
Explicit opt-in to new resx
rainersigwald b027d2f
Doc comments for FileStreamResource
rainersigwald 0793f01
Use new ResX reader when finding linked files
rainersigwald 3ed0e31
Improved diagnosability for ForceOutOfDateLinked tests
rainersigwald c712f08
Don't uppercase paths on non-Windows (as a proxy for case sensitive)
rainersigwald ac0800c
Artificially increment timestamp in test
rainersigwald 98e84cd
Discover linked resources for Core
rainersigwald 8065d64
Dispose test env in RequiredTransformations
rainersigwald a4c3e7e
Update LiveObjectResource.Value to modern style
rainersigwald 0b26127
Extract AddResourcesUsingMinimalCoreResxParsing
rainersigwald 3a50b6f
Generate shift-JIS file at test time to avoid the vagaries of VCS enc…
rainersigwald 0213926
GetResourcesFromString should be relative to path by default if one i…
rainersigwald 6ec1255
Shouldly in TransientTestFolder
rainersigwald 255de24
Remove bogus Equals/GetHashCode for StringResource
rainersigwald 221eb77
Introduce MSBuildResXException
rainersigwald File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.