Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Steve Maillet b7970d2b06 - Added more DeviceVendorEnum values based on non-conforming real world description files
- Added current (1.4.6) Pack.XSD to repository for reference
- Updated FileDownloadProgress to take advantage of C# 6 language features
- renamed several methods to use xxxAsync standard naming
- Added IDisposable to IRepository
- Added IRepositoryProvider to abstract information about respository locations from applications.
- Added MDK specific repository provider
- removed PackIndex.DefaultIndexUriPath it is now part of the provider
- removed APIs that assumed the default index URI
- Added support for downloading missing PDSC files from the index URI
- updated PackRepository.LastUpdatedTimeUTC so that if the index file doesn't exist it will provide a default constructed DateTime so it will be earlier than DateTime.Now
- Added new test/debug app to parse all the PDSC files and validate them against the "official" schemas to log errors in the official released and apparently "sanctioned" PDSC files that are not in conformance with the schema. This includes some workarounds and is helping to point to additional new workarounds.
2016-09-02 21:37:40 -07:00
Steve Maillet fb88df26e0 Update README.md 2016-04-10 08:49:02 -07:00
Steve Maillet 1bf0a6ea05 -Moved CMSIS-PAck specific version parsing out of SemanticVersion classes to keep SemanticVersion clean and conformant, while still handling the lrelaxed parsing needs of CMSIS
- refactored more of the XSD generated classes
- Added Support to the SemanticVersion Grammar and parser to handle superset of valid syntax. All Valid Semantic versions parse, and a number of officially invalid ones do. This allows re-use of the primary parsing with other variants that have more lax syntax constraints.
- Added VersionQualifier to handle special cases of optional leading character in some forms of relaxed syntax
2016-04-07 22:02:15 -07:00
Steve Maillet 0f64195066 Update README.md 2016-04-05 09:52:48 -07:00
Steve Maillet 2df380f511 Update README.md 2016-04-05 09:51:40 -07:00
Steve Maillet 16c7b5cebf Update README.md 2016-04-05 09:50:42 -07:00
Steve Maillet bc0c7f9bda - removed use of partial keyword from classes originally generated by XSD
- Continued refactoring and making XSD generated classes more .NETcoding style friendly
 - reduced use of non-conformant Semantic version parsing to those cases where real world pack indeces fail to parse.
- multiple doc comment cleanups
2016-04-05 08:43:32 -07:00
Steve Maillet e79e739a46 - Split out grammar and ParseResluts to separate files and made them public to allow for greater flexibility
- added new tests for gramar parser monads (Still nee tests for full SemanticVersion parser )
2016-04-04 22:17:35 -07:00
Steve Maillet 4e96df1821 - Moved SemanticVersion type into isolated assembly for release as a standalone component (Single responsibility principle) 2016-04-04 18:21:11 -07:00
Steve Maillet cc42b0b6ae - Added test to verify that non-standard major.minor only version will fail to parse if the PatchOptional option is not set. 2016-04-04 11:05:36 -07:00
Steve Maillet 825d9acbc2 - Simplified semantic version internals to handle optional release and build parts directly in ParseResult so that he ParseResult PreReelase and BuildMetadata are now just IEnumerable<string> that may be an empty enumerable 2016-04-04 10:59:39 -07:00
Steve Maillet 087084369e - added use of Semantic Version for multiple parsed XML types
- Major internal refactoring of the SemanticVersion parser. It is now based on officially published BNF grammar description.
- Renamed SemanticVersionParseOptions to SemanticVersionOptions to allow for furhter extension in behavioral modifications (especially with custom precedence rules to handle special cases or CSemVer etc...) WHile that isn't implemented yet changing the option name so it doesn't imply parsing only prevents confusion later.
2016-04-04 10:39:48 -07:00
Steve Maillet 7cba1becf8 - more refactoring.cleanup of the generated XML parsing
- Reworked SemanticVersion to use Sprache parsers since Sprache is already being used in parsing nonconformant XML docs
- Added additional tests for SemanticVersion
2016-04-03 22:51:20 -07:00
Steve Maillet c7476ae3db minor updates to use expression bodies 2016-04-02 22:27:27 -07:00
Steve Maillet 1db7e7b670 Allow full parsing of Pack descriptions with manually moidified classes originally generated from XSD.EXE. The manual edits include naming nad splitting to multiple files as well as handling of real world violations of the officially specified 2016-04-02 22:06:42 -07:00
Steve Maillet bedd7ec782 - moved hard coded string names into common static class as XName instances to minimize redundant implicit construction of XName instances.
- moved ParseElements() method to extension method so that it can be reused for mlutiple element parsing methods
- Added parsing of release elements
- Added parsing taxonomy descriptions
- added parsing Api elements
2016-03-29 22:09:06 -07:00
Steve Maillet b44a82547a - Fixed ParseElements() callsin Package constructor
- Added release element parsing
- Converted PackIndexEntry to modern C#(6) syntax
2016-03-28 20:29:12 -07:00
Steve Maillet bf578ca490 Initial commit of basic pack library and test application to show contents and state of local repo 2016-03-28 08:06:15 -07:00
Steve Maillet 40f08cd399 Initial commit 2016-03-28 07:50:48 -07:00