platform/upstream/dotnet/runtime.git
7 years agoMove Syndication to root/src
Xing Mao [Thu, 21 Sep 2017 23:36:46 +0000 (16:36 -0700)]
Move Syndication to root/src

Commit migrated from https://github.com/dotnet/corefx/commit/c7b485f7867f60055cba7c1d395581711f0a7077

7 years agoFix ServiceModel.SyndicationFeed project dependencies
Zhenlan Wang [Wed, 13 Sep 2017 07:57:25 +0000 (00:57 -0700)]
Fix ServiceModel.SyndicationFeed project dependencies
- Change M.SM.SyndicationFeed to be a .NET Standard 2.0 library
- Change tests to use official .NET Core 2.0 release from preview

Commit migrated from https://github.com/dotnet/corefx/commit/594afa6f4da13616e226c3e02399603314528962

7 years agoFixed bug from ServiceModel.Syndication
Gerardo Hurtado Lozano [Thu, 17 Aug 2017 00:11:54 +0000 (17:11 -0700)]
Fixed bug from ServiceModel.Syndication

Commit migrated from https://github.com/dotnet/corefx/commit/1752cc96248342a7c48a66e58d676a62c8463e10

7 years agoRemoved unnecesary variables from Wrappers.
Gerardo Hurtado Lozano [Mon, 31 Jul 2017 20:27:52 +0000 (13:27 -0700)]
Removed unnecesary variables from Wrappers.

Commit migrated from https://github.com/dotnet/corefx/commit/755906be453bea41ec92e8535a2b4ade8a4584d2

7 years agoEdited XmlReaderWrapper, moved methods to extension methods.
Gerardo Hurtado Lozano [Mon, 31 Jul 2017 20:14:50 +0000 (13:14 -0700)]
Edited XmlReaderWrapper, moved methods to extension methods.

Commit migrated from https://github.com/dotnet/corefx/commit/2f16e8880d6b7c850fb2b847a0cb90a9448a9ef7

7 years agoFixed sync method exposed GetReader.
Gerardo Hurtado Lozano [Mon, 31 Jul 2017 17:48:45 +0000 (10:48 -0700)]
Fixed sync method exposed GetReader.

Commit migrated from https://github.com/dotnet/corefx/commit/8df46f7ada8c51108d15705780fc257ee732b407

7 years agoChanged ReadCategoryFromAsync to return a SyndicationCategory
Gerardo Hurtado Lozano [Wed, 19 Jul 2017 01:34:03 +0000 (18:34 -0700)]
Changed ReadCategoryFromAsync to return a SyndicationCategory

Commit migrated from https://github.com/dotnet/corefx/commit/813cd550b20013af499b78ad327dea4a88a97f6c

7 years agoAdd XmlWriterWrapper method extensions
Gerardo Hurtado Lozano [Tue, 18 Jul 2017 22:35:33 +0000 (15:35 -0700)]
Add XmlWriterWrapper method extensions

Commit migrated from https://github.com/dotnet/corefx/commit/7cd87fc6777d2eff93ccf9c127dd3242119cf122

7 years agoAdded async extension methods for XmlReader
Gerardo Hurtado Lozano [Tue, 18 Jul 2017 20:33:38 +0000 (13:33 -0700)]
Added async extension methods for XmlReader

Commit migrated from https://github.com/dotnet/corefx/commit/14c5c59ee57de401dd9c773f0531e078af93901f

7 years agoFixed warnings on some unawaited methods.
Gerardo Hurtado Lozano [Mon, 17 Jul 2017 18:57:32 +0000 (11:57 -0700)]
Fixed warnings on some unawaited methods.

Commit migrated from https://github.com/dotnet/corefx/commit/68e73ff6808338b7107c1b385e0487b20b74de50

7 years agoFixing code review
Gerardo Hurtado Lozano [Wed, 12 Jul 2017 20:50:24 +0000 (13:50 -0700)]
Fixing code review

Commit migrated from https://github.com/dotnet/corefx/commit/12175b653a5833da9ad56100256ad8bc5d26289f

7 years agoAdd wrong dates example
Gerardo Hurtado Lozano [Mon, 10 Jul 2017 17:04:26 +0000 (10:04 -0700)]
Add wrong dates example

Commit migrated from https://github.com/dotnet/corefx/commit/3557125354689d39611f2636fa6f404b9877a327

7 years agoImproved flexibility for Default dateparser
Gerardo Hurtado Lozano [Sat, 8 Jul 2017 00:43:32 +0000 (17:43 -0700)]
Improved flexibility for Default dateparser

Commit migrated from https://github.com/dotnet/corefx/commit/0ed721cbbbe998390868493f6016d097ea757047

7 years agoAdded check for skip days to allow only accepted days.
Gerardo Hurtado Lozano [Fri, 7 Jul 2017 20:37:57 +0000 (13:37 -0700)]
Added check for skip days to allow only accepted days.

Commit migrated from https://github.com/dotnet/corefx/commit/3f9cc1de75406a86d548b7c5e54329533a7ee07d

7 years agoFixing code for PR
Gerardo Hurtado Lozano [Thu, 6 Jul 2017 23:06:11 +0000 (16:06 -0700)]
Fixing code for PR

Commit migrated from https://github.com/dotnet/corefx/commit/ed909e0e23106c7609ed74a64e8032671287c860

7 years agoFixing code for PR
Gerardo Hurtado Lozano [Thu, 6 Jul 2017 21:06:29 +0000 (14:06 -0700)]
Fixing code for PR

Commit migrated from https://github.com/dotnet/corefx/commit/362f4835d85f3d333cc9a8de2d59129958c498f6

7 years agoAdding Extension Methods for XmlReader
Gerardo Hurtado Lozano [Thu, 6 Jul 2017 02:02:47 +0000 (19:02 -0700)]
Adding Extension Methods for XmlReader

Commit migrated from https://github.com/dotnet/corefx/commit/3795edabc99a09171b7ab5a455de55e81f7f5526

7 years agoadded nameof() to all exceptions when needed.
Gerardo Hurtado Lozano [Wed, 5 Jul 2017 22:17:11 +0000 (15:17 -0700)]
added nameof() to all exceptions when needed.

Commit migrated from https://github.com/dotnet/corefx/commit/c4abc363fe278be641805b4490a87c988c7b3399

7 years agoAdded custom parsing for Atom feed formatter, added test
Gerardo Hurtado Lozano [Wed, 5 Jul 2017 21:31:05 +0000 (14:31 -0700)]
Added custom parsing for Atom feed formatter, added test

Commit migrated from https://github.com/dotnet/corefx/commit/9e0f815a751c78136a294c842ac30558afd7844a

7 years agoImproved custom parsing for RSS
Gerardo Hurtado Lozano [Mon, 3 Jul 2017 23:20:24 +0000 (16:20 -0700)]
Improved custom parsing for RSS

Commit migrated from https://github.com/dotnet/corefx/commit/7a992b18215469e4153453944cfea07ac6c2a934

7 years agoFixed some warnings
Gerardo Hurtado Lozano [Mon, 3 Jul 2017 18:09:47 +0000 (11:09 -0700)]
Fixed some warnings

Commit migrated from https://github.com/dotnet/corefx/commit/71d89934dc8b45b0855b7556b42f6e0d55b0efe3

7 years agoAdded Icon writing on Arom Writer
Gerardo Hurtado Lozano [Mon, 3 Jul 2017 17:23:06 +0000 (10:23 -0700)]
Added Icon writing on Arom Writer

Commit migrated from https://github.com/dotnet/corefx/commit/ddc0a71a9da429151e927670b1f7dbef14600f84

7 years agoMerge branch async into lab
Gerardo Hurtado Lozano [Sat, 1 Jul 2017 00:29:55 +0000 (17:29 -0700)]
Merge branch async into lab

Commit migrated from https://github.com/dotnet/corefx/commit/7756539a4775369bb9e3bc8dffb49517c5ad02ab

7 years agoAdding Async Writing
Gerardo Hurtado Lozano [Thu, 29 Jun 2017 01:41:04 +0000 (18:41 -0700)]
Adding Async Writing
RssFormater writes new optional spec elements

Commit migrated from https://github.com/dotnet/corefx/commit/e9344e6927de59daf95c373ef65412f1e08489ad

7 years agoAdded Icon parsing to Atom10 feedFormatter. Added unit test
Gerardo Hurtado Lozano [Wed, 28 Jun 2017 23:05:52 +0000 (16:05 -0700)]
Added Icon parsing to Atom10 feedFormatter. Added unit test

Commit migrated from https://github.com/dotnet/corefx/commit/c7e2224712ea466784b7ad1282a9d326fb2ea40e

7 years agoAdding parsing to optional elements int the spec
Gerardo Hurtado Lozano [Wed, 28 Jun 2017 00:32:47 +0000 (17:32 -0700)]
Adding parsing to optional elements int the spec
added unittesting

Commit migrated from https://github.com/dotnet/corefx/commit/0b75b8613444d79133807fe649914474866b0204

7 years agoRun codeFormatter
Gerardo Hurtado Lozano [Wed, 28 Jun 2017 19:15:16 +0000 (12:15 -0700)]
Run codeFormatter

Commit migrated from https://github.com/dotnet/corefx/commit/a8a8dfe4eba6c0db936dd385badcf712462e3a48

7 years agoFixed disjoint items in atom
Gerardo Hurtado Lozano [Tue, 27 Jun 2017 21:32:25 +0000 (14:32 -0700)]
Fixed disjoint items in atom

Commit migrated from https://github.com/dotnet/corefx/commit/0f514e53073abe8c1370bec313a079d93557715e

7 years agoFixed image and items issue
Gerardo Hurtado Lozano [Tue, 27 Jun 2017 20:27:29 +0000 (13:27 -0700)]
Fixed image and items issue

Commit migrated from https://github.com/dotnet/corefx/commit/52a29fd42276c1ac86cff0345c0c71ac2b8fb3a7

7 years agoSave changes
Gerardo Hurtado Lozano [Tue, 27 Jun 2017 02:17:00 +0000 (19:17 -0700)]
Save changes

Commit migrated from https://github.com/dotnet/corefx/commit/28b6ef63a6e81c9f23deb76c6b171e981d5897cc

7 years agosaving changes
Gerardo Hurtado Lozano [Tue, 27 Jun 2017 00:09:50 +0000 (17:09 -0700)]
saving changes

Commit migrated from https://github.com/dotnet/corefx/commit/77738fd57b3310327affdadc5679e166b3dac244

7 years agoInitial Jorge
Gerardo Hurtado Lozano [Mon, 26 Jun 2017 16:53:28 +0000 (09:53 -0700)]
Initial Jorge

Commit migrated from https://github.com/dotnet/corefx/commit/5dacea0b6c262e90e952ba298a57c2c6467fbd86

7 years agoSave changes with Jorge cass
Gerardo Hurtado Lozano [Mon, 26 Jun 2017 16:48:47 +0000 (09:48 -0700)]
Save changes with Jorge cass

Commit migrated from https://github.com/dotnet/corefx/commit/21f972ffd713cd48b407492a40602c465e57bec3

7 years agoTest clase jorge
Gerardo Hurtado Lozano [Sat, 24 Jun 2017 01:04:28 +0000 (18:04 -0700)]
Test clase jorge

Commit migrated from https://github.com/dotnet/corefx/commit/b4d2d1b5cdfe4f9e8d2046638d2d6b3c74040fbc

7 years agoFixed image issue where image tag was using original title and url, for RSS formatting
Gerardo Hurtado Lozano [Fri, 23 Jun 2017 21:51:45 +0000 (14:51 -0700)]
Fixed image issue where image tag was using original title and url, for RSS formatting
Image issue fixed and added some tests

Commit migrated from https://github.com/dotnet/corefx/commit/25309a265bacfed92effe57a13c6bfd1f9c46986

7 years agoMerge branch 'CustomParser' into InitialSyndicationFeed
Gerardo Hurtado Lozano [Fri, 23 Jun 2017 20:58:02 +0000 (13:58 -0700)]
Merge branch 'CustomParser' into InitialSyndicationFeed
Added custom parsing for RSS formats.
Cleaned the code.
Executed CodeFormatter tool.
Added test for custom parsing.

Commit migrated from https://github.com/dotnet/corefx/commit/ae107387f98c18a129d67df42f79970af91e8ec0

7 years agoTest using custom parsers
Gerardo Hurtado Lozano [Thu, 22 Jun 2017 23:04:32 +0000 (16:04 -0700)]
Test using custom parsers

Commit migrated from https://github.com/dotnet/corefx/commit/681f0fbda210cf490c6c566597b4590389d949f2

7 years agoMoved the call of itemParser to be called with each item
Gerardo Hurtado Lozano [Thu, 22 Jun 2017 21:51:05 +0000 (14:51 -0700)]
Moved the call of itemParser to be called with each item

Commit migrated from https://github.com/dotnet/corefx/commit/ab8c7ae4e3c5ba09670cc2df6071c746027951b4

7 years agoFormatted the code with CodeFormatter Tool
Gerardo Hurtado Lozano [Thu, 22 Jun 2017 00:49:17 +0000 (17:49 -0700)]
Formatted the code with CodeFormatter Tool

Commit migrated from https://github.com/dotnet/corefx/commit/8d9968fa7cbfc742796b502017f88a07c9855c4c

7 years agoCleaned code from most of the unnecesary comments
Gerardo Hurtado Lozano [Thu, 22 Jun 2017 00:34:26 +0000 (17:34 -0700)]
Cleaned code from most of the unnecesary comments

Commit migrated from https://github.com/dotnet/corefx/commit/709a1ab1907af42c88c0401f64dee91949583386

7 years agoCleaned the code, deleted Diagnostics, fixed throwing resources
Gerardo Hurtado Lozano [Wed, 21 Jun 2017 23:53:46 +0000 (16:53 -0700)]
Cleaned the code, deleted Diagnostics, fixed throwing resources

Commit migrated from https://github.com/dotnet/corefx/commit/c7be03081e5c800534b06e8bcaf88f0bf7fb3d26

7 years agoRemoved the dependence of the old SR class
Gerardo Hurtado Lozano [Wed, 21 Jun 2017 17:40:44 +0000 (10:40 -0700)]
Removed the dependence of the old SR class

Commit migrated from https://github.com/dotnet/corefx/commit/6f2b69bf7acd6f6696b3d27fba5c13661e97b391

7 years agoInitial SyndicationFeed
Gerardo Hurtado Lozano [Thu, 8 Jun 2017 21:59:12 +0000 (14:59 -0700)]
Initial SyndicationFeed

Commit migrated from https://github.com/dotnet/corefx/commit/898bff5889139c557dba8c0c8a6bcc75fea39c3f

7 years agoSave changes
Gerardo Hurtado Lozano [Wed, 21 Jun 2017 16:32:21 +0000 (09:32 -0700)]
Save changes

Commit migrated from https://github.com/dotnet/corefx/commit/7ece44939982c21a7346ccf47ce8ab85718c5b6c

7 years agoAdded custom parser delegates
Gerardo Hurtado Lozano [Wed, 21 Jun 2017 00:41:24 +0000 (17:41 -0700)]
Added custom parser delegates

Commit migrated from https://github.com/dotnet/corefx/commit/01e52b96474a932d200923319fa8b02cd96dfe66

7 years agoAdded more delegates as parsers
Gerardo Hurtado Lozano [Tue, 20 Jun 2017 02:26:38 +0000 (19:26 -0700)]
Added more delegates as parsers

Commit migrated from https://github.com/dotnet/corefx/commit/adcb15ba0fd04e096bce9350c894e8e506c01348

7 years agoInitial changes to add custom parsers
Gerardo Hurtado Lozano [Mon, 19 Jun 2017 18:25:36 +0000 (11:25 -0700)]
Initial changes to add custom parsers

Commit migrated from https://github.com/dotnet/corefx/commit/91a06a43cd7710adfea5c0b43db84af2730feff3

7 years agoAdded correct testnames and Copyright
Gerardo Hurtado Lozano [Sat, 17 Jun 2017 21:11:54 +0000 (14:11 -0700)]
Added correct testnames and Copyright

Commit migrated from https://github.com/dotnet/corefx/commit/62f2980090d5aca36b9e5bc27adc27112051a679

7 years agoAdded the posibility that the user creates his own date parser when reading a feed...
Gerardo Hurtado Lozano [Fri, 16 Jun 2017 21:30:02 +0000 (14:30 -0700)]
Added the posibility that the user creates his own date parser when reading a feed from outside, also as part of our default date parser, if it can't parse the date it will just assign a default date to avoid the crash

Commit migrated from https://github.com/dotnet/corefx/commit/37bf505927c3aad98e24872bc12dc3cebd6b5510

7 years agoDeleted some unused files
Gerardo Hurtado Lozano [Thu, 15 Jun 2017 17:23:45 +0000 (10:23 -0700)]
Deleted some unused files

Commit migrated from https://github.com/dotnet/corefx/commit/9f6c78e5c2a3937a08e40ca154e3628458a903e8

7 years agoCleaning code for PR
Gerardo Hurtado Lozano [Tue, 13 Jun 2017 00:59:30 +0000 (17:59 -0700)]
Cleaning code for PR

Commit migrated from https://github.com/dotnet/corefx/commit/0594affe5dd1de97a879f5bc5eaaa2fc0e814470

7 years agoFixed errors when reading feeds and replaced some buffers
Gerardo Hurtado Lozano [Mon, 12 Jun 2017 22:06:24 +0000 (15:06 -0700)]
Fixed errors when reading feeds and replaced some buffers

Commit migrated from https://github.com/dotnet/corefx/commit/398649d0317fadc6c7c59c476954c27fb91b6af7

7 years agoChanged some namespaces
Gerardo Hurtado Lozano [Thu, 8 Jun 2017 21:59:12 +0000 (14:59 -0700)]
Changed some namespaces

Commit migrated from https://github.com/dotnet/corefx/commit/aa05946d8ff8640f31d5f762d52ccd05a7fe76e3

7 years agoAdded the needed references to get the code to compile
Gerardo Hurtado Lozano [Thu, 8 Jun 2017 20:37:32 +0000 (13:37 -0700)]
Added the needed references to get the code to compile

Commit migrated from https://github.com/dotnet/corefx/commit/9c278a1dcb45f7039af2794795e2c2339c1d0842

7 years agoAdding the existing classes of SyndicationFeed from .net fx
Gerardo Hurtado Lozano [Thu, 8 Jun 2017 17:18:43 +0000 (10:18 -0700)]
Adding the existing classes of SyndicationFeed from .net fx

Commit migrated from https://github.com/dotnet/corefx/commit/1d9f27f5641d55badeaeffa20a730fb3f9e7dd74

7 years agoMicrosoft.ServiceModel.Syndication skeleton project
Matt Connew [Wed, 7 Jun 2017 16:51:48 +0000 (09:51 -0700)]
Microsoft.ServiceModel.Syndication skeleton project

Commit migrated from https://github.com/dotnet/corefx/commit/e48777c5e64b749cb85cd23270f58ec29ac6a41c