From 723ae00a47632b8d97a3ef9619aabac2cc3d69c0 Mon Sep 17 00:00:00 2001 From: Zou Wei Date: Mon, 6 Feb 2023 16:13:33 +0800 Subject: [PATCH] Removed web-related projects and upgrade to dotnet7 Merged Ivony.Html.Parser.Regulars.dll into Ivony.Html.Parser. --- APITest/APITest.csproj | 84 +- BindingTest/BindingExpressionParserTest.cs | 83 - BindingTest/BindingTest.csproj | 135 - BindingTest/DynamicTest.cs | 28 - BindingTest/EvalExpressionTest.cs | 57 - BindingTest/ExpressionBinderTest.cs | 33 - BindingTest/ListTest.cs | 115 - BindingTest/ListTest1.html | 15 - BindingTest/ListTest2.html | 20 - BindingTest/ListTest3.html | 21 - BindingTest/LiteralBinderTest.cs | 25 - BindingTest/Properties/AssemblyInfo.cs | 34 - BindingTest/ScriptBinderTest.cs | 32 - BindingTest/StyleBinderTest.cs | 25 - BindingTest/StyleTest1.html | 12 - BindingTest/Test1.html | 14 - BindingTest/packages.config | 4 - FormsTest/FormValidationTest.html | 42 - FormsTest/FormsTest.cs | 109 - FormsTest/FormsTest.csproj | 112 - FormsTest/FormsTest1.html | 18 - FormsTest/Properties/AssemblyInfo.cs | 36 - FormsTest/TextControlTest.html | 16 - HtmlTranslater/App.xaml | 8 - HtmlTranslater/App.xaml.cs | 16 - HtmlTranslater/CandidateTermsConverter.cs | 40 - HtmlTranslater/HtmlTranslater.csproj | 122 - HtmlTranslater/MainWindow.xaml | 46 - HtmlTranslater/MainWindow.xaml.cs | 120 - HtmlTranslater/Properties/AssemblyInfo.cs | 55 - .../Properties/Resources.Designer.cs | 63 - HtmlTranslater/Properties/Resources.resx | 117 - .../Properties/Settings.Designer.cs | 26 - HtmlTranslater/Properties/Settings.settings | 7 - HtmlTranslater/TranslateDictionary.cs | 115 - HtmlTranslater/TranslateTask.cs | 272 - HtmlTranslater/TranslationTerm.cs | 56 - Ivony.Core/Ivony.Core.csproj | 150 +- Ivony.Html.Binding/BindingExpression.cs | 211 - Ivony.Html.Binding/BindingExpressionParser.cs | 116 - Ivony.Html.Binding/DataBinder.cs | 93 - Ivony.Html.Binding/DynamicBinder.cs | 93 - Ivony.Html.Binding/ElementExpression.cs | 64 - Ivony.Html.Binding/EvalExpressionBinder.cs | 161 - .../EvalListExpressionBinder.cs | 54 - .../ExpressionBinderCollection.cs | 44 - Ivony.Html.Binding/ExpressionElementBinder.cs | 80 - Ivony.Html.Binding/HtmlBinding.cs | 221 - Ivony.Html.Binding/HtmlBindingContext.cs | 456 - .../HtmlElementBinderCollection.cs | 43 - Ivony.Html.Binding/HtmlListBindingContext.cs | 161 - .../IBindingExpressionEvaluator.cs | 31 - .../IBindingExpressionValueObject.cs | 37 - .../ICustomBindingContextModel.cs | 24 - .../IElementExpressionBinder.cs | 15 - Ivony.Html.Binding/IExpressionBinder.cs | 32 - Ivony.Html.Binding/IHtmlBinder.cs | 22 - Ivony.Html.Binding/IHtmlElementBinder.cs | 27 - Ivony.Html.Binding/Ivony.Html.Binding.csproj | 103 - Ivony.Html.Binding/ListBindingMode.cs | 23 - Ivony.Html.Binding/ListDataModel.cs | 71 - Ivony.Html.Binding/LiteralBinder.cs | 64 - Ivony.Html.Binding/Properties/AssemblyInfo.cs | 36 - Ivony.Html.Binding/ScriptBinder.cs | 66 - Ivony.Html.Binding/StyleBinder.cs | 140 - Ivony.Html.Binding/packages.config | 4 - Ivony.Html.Dynamic/DynamicElement.cs | 97 - Ivony.Html.Dynamic/DynamicExtension.cs | 11 - Ivony.Html.Dynamic/ElementDynamic.cs | 12 - Ivony.Html.Dynamic/Ivony.Html.Dynamic.csproj | 154 - Ivony.Html.Dynamic/Properties/AssemblyInfo.cs | 36 - .../DataAnnotationMeatadataProvider.cs | 90 - Ivony.Html.Forms/FormButtonGroup.cs | 73 - Ivony.Html.Forms/FormButtonGroupItem.cs | 105 - Ivony.Html.Forms/FormConfiguration.cs | 77 - Ivony.Html.Forms/FormControl.cs | 119 - Ivony.Html.Forms/FormControlCollection.cs | 52 - Ivony.Html.Forms/FormControlException.cs | 37 - Ivony.Html.Forms/FormExtensions.cs | 38 - Ivony.Html.Forms/FormFieldMetadata.cs | 140 - .../FormFieldValidatorCollection.cs | 48 - Ivony.Html.Forms/FormGroupControl.cs | 75 - Ivony.Html.Forms/FormGroupControlBase.cs | 150 - Ivony.Html.Forms/FormGroupControlItem.cs | 58 - Ivony.Html.Forms/FormMetadata.cs | 103 - Ivony.Html.Forms/FormPresenter.cs | 127 - Ivony.Html.Forms/FormTextControl.cs | 106 - Ivony.Html.Forms/FormValidationError.cs | 54 - .../FormValidationErrorCollection.cs | 35 - Ivony.Html.Forms/FormValidationResult.cs | 74 - Ivony.Html.Forms/FormValidator.cs | 45 - Ivony.Html.Forms/FormValueFormatException.cs | 39 - Ivony.Html.Forms/HtmlForm.cs | 131 - Ivony.Html.Forms/HtmlInputText.cs | 69 - Ivony.Html.Forms/HtmlSelect.cs | 149 - Ivony.Html.Forms/HtmlTextArea.cs | 40 - Ivony.Html.Forms/IFormControl.cs | 45 - Ivony.Html.Forms/IFormFieldValidator.cs | 29 - Ivony.Html.Forms/IFormMetadataProvider.cs | 21 - Ivony.Html.Forms/IFormPresenter.cs | 29 - Ivony.Html.Forms/IFormProvider.cs | 23 - Ivony.Html.Forms/IFormValidationResult.cs | 30 - Ivony.Html.Forms/IFormValidationRule.cs | 37 - Ivony.Html.Forms/IFormValidator.cs | 18 - Ivony.Html.Forms/Ivony.Html.Forms.csproj | 225 - Ivony.Html.Forms/Properties/AssemblyInfo.cs | 36 - Ivony.Html.Forms/StandardFormProvider.cs | 82 - Ivony.Html.JQuery/Ivony.Html.JQuery.csproj | 155 - Ivony.Html.JQuery/Properties/AssemblyInfo.cs | 36 - Ivony.Html.JQuery/jQuery.cs | 306 - Ivony.Html.LegacyDomModel/FreeComment.cs | 32 - Ivony.Html.LegacyDomModel/FreeElement.cs | 47 - Ivony.Html.LegacyDomModel/FreeNode.cs | 56 - Ivony.Html.LegacyDomModel/FreeTextNode.cs | 31 - Ivony.Html.LegacyDomModel/HtmlFragment.cs | 231 - Ivony.Html.LegacyDomModel/HtmlNodeFactory.cs | 56 - Ivony.Html.LegacyDomModel/IFreeNode.cs | 40 - Ivony.Html.LegacyDomModel/IHtmlNodeFactory.cs | 62 - .../Ivony.Html.LegacyDomModel.csproj | 164 - .../LegacyDomExtensions.cs | 687 - .../Properties/AssemblyInfo.cs | 36 - Ivony.Html.Parser/Ivony.Html.Parser.csproj | 196 +- .../Regulars/Ivony.Html.Parser.Regulars.dll | Bin 28672 -> 0 bytes Ivony.Html.Parser/Regulars/Regulars.cs | 111 + Ivony.Html.Styles/Ivony.Html.Styles.csproj | 6 +- Ivony.Html.Templates/HtmlTemplate.cs | 11 - Ivony.Html.Templates/IHtmlTemplate.cs | 14 - .../Ivony.Html.Templates.csproj | 63 - .../Properties/AssemblyInfo.cs | 36 - Ivony.Html.Templates/TemplateExtensions.cs | 106 - Ivony.Html.Web.Binding/Binding.cs | 114 - Ivony.Html.Web.Binding/BindingContext.cs | 98 - Ivony.Html.Web.Binding/BindingExpression.cs | 50 - Ivony.Html.Web.Binding/BindingManager.cs | 219 - .../DefaultBindingProvider.cs | 47 - Ivony.Html.Web.Binding/IBindingProvider.cs | 17 - Ivony.Html.Web.Binding/IBindingTarget.cs | 104 - Ivony.Html.Web.Binding/IValueBinder.cs | 16 - Ivony.Html.Web.Binding/IValueConverter.cs | 16 - .../Ivony.Html.Web.Binding.csproj | 83 - .../Properties/AssemblyInfo.cs | 36 - Ivony.Html.Web.Binding/Regulars.cs | 15 - .../TextElementBindingTarget.cs | 55 - Ivony.Html.Web.Mvc/ActionUrlBinder.cs | 149 - Ivony.Html.Web.Mvc/CachableAttribute.cs | 117 - Ivony.Html.Web.Mvc/CacheFilterBase.cs | 273 - Ivony.Html.Web.Mvc/ContentAdapter.cs | 139 - .../ControllerCachePolicyProvider.cs | 90 - .../FallbackCachePolicyProvider.cs | 25 - Ivony.Html.Web.Mvc/HtmlViewHandlerWrapper.cs | 47 - Ivony.Html.Web.Mvc/ICachableResult.cs | 79 - Ivony.Html.Web.Mvc/IContentView.cs | 28 - Ivony.Html.Web.Mvc/IMasterView.cs | 30 - Ivony.Html.Web.Mvc/IMvcCachePolicy.cs | 26 - Ivony.Html.Web.Mvc/IMvcCachePolicyProvider.cs | 26 - Ivony.Html.Web.Mvc/IViewFilter.cs | 143 - Ivony.Html.Web.Mvc/IViewFilterProvider.cs | 23 - Ivony.Html.Web.Mvc/IViewHandler.cs | 38 - Ivony.Html.Web.Mvc/IViewHandlerProvider.cs | 23 - Ivony.Html.Web.Mvc/IViewProvider.cs | 28 - Ivony.Html.Web.Mvc/Ivony.Html.Web.Mvc.csproj | 286 - Ivony.Html.Web.Mvc/JumonyMasterView.cs | 120 - Ivony.Html.Web.Mvc/JumonyUrlHelper.cs | 222 - Ivony.Html.Web.Mvc/JumonyView.cs | 442 - Ivony.Html.Web.Mvc/JumonyViewEngine.cs | 299 - Ivony.Html.Web.Mvc/JumonyViewHandler.cs | 177 - Ivony.Html.Web.Mvc/JumonyViewLocationCache.cs | 40 - .../MvcCachePolicyProviderWrapper.cs | 45 - Ivony.Html.Web.Mvc/MvcConfiguration.cs | 93 - Ivony.Html.Web.Mvc/MvcEnvironment.cs | 190 - Ivony.Html.Web.Mvc/MvcFormExtensions.cs | 66 - Ivony.Html.Web.Mvc/MvcFormValidationResult.cs | 77 - Ivony.Html.Web.Mvc/PartialViewAdapter.cs | 154 - Ivony.Html.Web.Mvc/Properties/AssemblyInfo.cs | 38 - Ivony.Html.Web.Mvc/ViewBase.cs | 263 - Ivony.Html.Web.Mvc/ViewHandler.cs | 232 - Ivony.Html.Web.Mvc/ViewHandlerProvider.cs | 137 - Ivony.Html.Web.Mvc/packages.config | 7 - Ivony.Html.Web/DefaultProviders.cs | 80 - Ivony.Html.Web/HtmlBuildProvider.cs | 154 - Ivony.Html.Web/HtmlHandler.cs | 176 - Ivony.Html.Web/HtmlHandlerBase.cs | 107 - Ivony.Html.Web/HtmlHandlerProvider.cs | 138 - Ivony.Html.Web/HtmlRequestContext.cs | 62 - Ivony.Html.Web/HtmlServices.cs | 361 - Ivony.Html.Web/HttpHandlerBase.cs | 88 - Ivony.Html.Web/IHandlerWrapper.cs | 21 - Ivony.Html.Web/IHtmlContentProvider.cs | 103 - Ivony.Html.Web/IHtmlDocumentProvider.cs | 25 - Ivony.Html.Web/IHtmlFilter.cs | 41 - Ivony.Html.Web/IHtmlFilterProvider.cs | 24 - Ivony.Html.Web/IHtmlHandler.cs | 40 - Ivony.Html.Web/IHtmlHandlerProvider.cs | 22 - Ivony.Html.Web/IHtmlParserProvider.cs | 34 - Ivony.Html.Web/IHtmlRequestRoute.cs | 18 - Ivony.Html.Web/Ivony.Html.Web.csproj | 234 - Ivony.Html.Web/JumonyHandler.cs | 455 - Ivony.Html.Web/JumonyPartialHandler.cs | 99 - Ivony.Html.Web/JumonyRequestRoute.cs | 132 - Ivony.Html.Web/JumonyRouteHandler.cs | 39 - Ivony.Html.Web/JumonyWebConfiguration.cs | 45 - Ivony.Html.Web/PartialExecutor.cs | 107 - Ivony.Html.Web/PartialRenderAdapter.cs | 283 - Ivony.Html.Web/PartialResponse.cs | 31 - Ivony.Html.Web/Properties/AssemblyInfo.cs | 36 - Ivony.Html.Web/ResourceManager.cs | 119 - Ivony.Html.Web/StaticFileContentProvider.cs | 97 - Ivony.Html.Web/WebExtenions.cs | 24 - Ivony.Html.Web/WebFormPageContentProvider.cs | 42 - Ivony.Html.Web/WebParser.cs | 32 - Ivony.Html.Xml/Ivony.Html.Xml.csproj | 67 - Ivony.Html.Xml/Properties/AssemblyInfo.cs | 36 - Ivony.Html.Xml/XLINQExtensions.cs | 52 - Ivony.Html/Ivony.Html.csproj | 233 +- Ivony.Web.Mvc/ExtController.cs | 74 - Ivony.Web.Mvc/Ivony.Web.Mvc.csproj | 104 - Ivony.Web.Mvc/MvcRouteExtensions.cs | 208 - Ivony.Web.Mvc/Properties/AssemblyInfo.cs | 36 - Ivony.Web.Mvc/SimpleAreaRouteTable.cs | 144 - Ivony.Web.Mvc/WebSocketOnlyAttribute.cs | 29 - Ivony.Web.Mvc/WebSocketResult.cs | 52 - Ivony.Web.Mvc/packages.config | 7 - Ivony.Web/AspNetTraceService.cs | 62 - Ivony.Web/CacheExtensions.cs | 200 - Ivony.Web/CacheHelper.cs | 158 - Ivony.Web/CacheItem.cs | 217 - Ivony.Web/CachePolicy.cs | 83 - Ivony.Web/CacheToken.cs | 547 - Ivony.Web/ClientCachePolicy.cs | 381 - Ivony.Web/ClientCachePolicyModule.cs | 44 - Ivony.Web/ConflictCheckList.cs | 50 - Ivony.Web/ICacheDependency.cs | 61 - Ivony.Web/ICachePolicyProvider.cs | 52 - Ivony.Web/ICacheStorageProvider.cs | 86 - Ivony.Web/ICachedResponse.cs | 37 - Ivony.Web/IClientCachePolicy.cs | 29 - Ivony.Web/ITraceService.cs | 25 - Ivony.Web/Ivony.Web.csproj | 86 - Ivony.Web/PersistentCacheStorageProvider.cs | 274 - Ivony.Web/Properties/AssemblyInfo.cs | 37 - Ivony.Web/RawResponse.cs | 154 - Ivony.Web/SimpleRouteRule.cs | 533 - Ivony.Web/SimpleRouteTable.cs | 436 - Ivony.Web/StandardCachePolicy.cs | 259 - Ivony.Web/VirtualPathBasedProviders.cs | 138 - Ivony.Web/VirtualPathHelper.cs | 90 - Ivony.Web/WebExtensions.cs | 52 - Ivony.Web/WebServiceLocator.cs | 270 - Jumony.sln | 326 +- MSHTML.Adapter/AttributeAdapter.cs | 62 - MSHTML.Adapter/CommentAdapter.cs | 31 - MSHTML.Adapter/ConvertExtensions.cs | 52 - MSHTML.Adapter/DocumentAdapter.cs | 107 - MSHTML.Adapter/ElementAdapter.cs | 103 - MSHTML.Adapter/MSHTML.Adapter.csproj | 77 - MSHTML.Adapter/NodeAdapter.cs | 57 - MSHTML.Adapter/Properties/AssemblyInfo.cs | 36 - MSHTML.Adapter/TextNodeAdapter.cs | 35 - MhtCreator/MhtCreator.csproj | 67 - MhtCreator/Program.cs | 122 - MhtCreator/Properties/AssemblyInfo.cs | 36 - RegularsAssemblyBuilder/Program.cs | 39 - .../Properties/AssemblyInfo.cs | 34 - RegularsAssemblyBuilder/Regulars.cs | 50 - .../RegularsAssemblyBuilder.csproj | 58 - RegularsAssemblyBuilder/app.config | 3 - SelectorTest/CssSelectorTest.cs | 2 +- SelectorTest/CssTest.csproj | 75 +- SpeficationTest/SpeficationTest.csproj | 82 +- TestConsole/App.config | 6 +- TestConsole/TestConsole.csproj | 111 +- UpgradeReport.sarif | 154 + WebBrowser/App.xaml | 9 - WebBrowser/App.xaml.cs | 16 - WebBrowser/MainWindow.xaml | 29 - WebBrowser/MainWindow.xaml.cs | 92 - WebBrowser/Properties/AssemblyInfo.cs | 55 - WebBrowser/Properties/Resources.Designer.cs | 63 - WebBrowser/Properties/Resources.resx | 117 - WebBrowser/Properties/Settings.Designer.cs | 26 - WebBrowser/Properties/Settings.settings | 7 - WebBrowser/TranslateTask.cs | 199 - WebBrowser/TranslationTerm.cs | 60 - WebBrowser/WebBrowser.csproj | 152 - WebSite/JumonyGuide/Global.asax | 41 - .../JumonyGuide/Scripts/jquery-1.4.1-vsdoc.js | 8061 ---- WebSite/JumonyGuide/Scripts/jquery-1.4.1.js | 6111 --- .../JumonyGuide/Scripts/jquery-1.4.1.min.js | 167 - WebSite/JumonyGuide/Styles/Site.css | 294 - WebSite/JumonyGuide/Web.config | 10 - WebSite/JumonyGuide/index.htm | 9 - WebSite/JumonyGuide/index.htm.ashx | 18 - WebSite/JumonyGuide/links.aspx | 12 - WebSite/JumonyGuide/links.aspx.ashx | 37 - WebSite/JumonyGuide/links.aspx.cs | 42 - WebSite/JumonyGuide/ranks.htm | 65 - WebSite/JumonyGuide/ranks.htm.ashx | 40 - WebSite/JumonyPage.zip | Bin 1142 -> 0 bytes .../PartialTest/App_Code/TestController.cs | 18 - WebSite/PartialTest/Global.asax | 37 - WebSite/PartialTest/Views/Test/Test.html | 11 - WebSite/PartialTest/Views/Test/Test.html.ashx | 23 - WebSite/PartialTest/Web.config | 26 - WebTest/ActionUrlTest/Test1.html | 10 - WebTest/App_Code/ActionUrlTest.cs | 65 - WebTest/App_Code/DefaultProviderTest.cs | 21 - WebTest/App_Code/HandlerProviderTest.cs | 41 - WebTest/App_Code/HtmlHandlerTest.cs | 49 - WebTest/App_Code/PartialTest.cs | 62 - WebTest/App_Code/TestJumonyHandler.cs | 34 - WebTest/App_Code/WebServiceTest.cs | 91 - WebTest/Bin/Ivony.Web.Test.dll.refresh | Bin 142 -> 0 bytes WebTest/Bin/System.Web.Helpers.dll.refresh | Bin 154 -> 0 bytes WebTest/Bin/System.Web.Mvc.dll.refresh | 1 - WebTest/Bin/System.Web.Razor.dll.refresh | Bin 144 -> 0 bytes ...System.Web.WebPages.Deployment.dll.refresh | Bin 178 -> 0 bytes .../Bin/System.Web.WebPages.Razor.dll.refresh | 1 - WebTest/Bin/System.Web.WebPages.dll.refresh | 1 - WebTest/Global.asax | 41 - WebTest/HandlerTest/Test1.html | 10 - WebTest/HandlerTest/Test1.html.ashx | 17 - WebTest/PartialTest/Partial1.html | 1 - WebTest/PartialTest/Partial2.html | 12 - WebTest/PartialTest/Partial2.html.ashx | 17 - WebTest/PartialTest/Test1.html | 12 - WebTest/PartialTest/Test1.html.ashx | 11 - WebTest/PartialTest/Test2.html | 10 - WebTest/PartialTest/Test2.html.ashx | 19 - WebTest/PartialTest/Test3.html | 16 - WebTest/PartialTest/Test3.html.ashx | 12 - WebTest/RouteTest/DefaultHandler/Test1.html | 10 - .../RouteTest/DefaultHandler/_handler.ashx | 11 - .../RouteTest/NonDefaultHandler/Test1.html | 10 - .../NonDefaultHandler/Test1.html.ashx | 11 - .../RouteTest/NonDefaultHandler/Test2.html | 10 - WebTest/Web.Debug.config | 32 - WebTest/Web.config | 39 - WebTest/packages.config | 8 - .../DbUtility2.2.1.0/DbUtility2.2.1.0.nupkg | Bin 18562 -> 0 bytes .../DbUtility2.2.1.0/DbUtility2.2.1.0.nuspec | 16 - .../lib/net40/DbUtility.v2.dll | Bin 27136 -> 0 bytes .../lib/net40/DbUtility.v2.xml | 713 - .../DbUtility3.3.1.0-beta.nupkg | Bin 28323 -> 0 bytes .../lib/net45/DbUtility.v3.dll | Bin 49152 -> 0 bytes .../lib/net45/DbUtility.v3.xml | 982 - .../Ivony.Core.1.0.1/Ivony.Core.1.0.1.nupkg | Bin 26394 -> 0 bytes packages/Ivony.Core.1.0.1/lib/Ivony.Core.XML | 560 - packages/Ivony.Core.1.0.1/lib/Ivony.Core.dll | Bin 19968 -> 0 bytes .../Ivony.Web.Test.1.2.5083.43046.nupkg | Bin 13438 -> 0 bytes .../lib/net45/Ivony.Web.Test.dll | Bin 25088 -> 0 bytes .../Microsoft.AspNet.Mvc.3.0.20105.1.nupkg | Bin 176144 -> 0 bytes .../lib/net40/System.Web.Mvc.dll | Bin 445280 -> 0 bytes .../Microsoft.AspNet.Mvc.5.1.1.nupkg | Bin 290278 -> 0 bytes .../Microsoft.AspNet.Mvc.5.1.1.nuspec | 23 - .../lib/net45/System.Web.Mvc.dll | Bin 554704 -> 0 bytes .../lib/net45/System.Web.Mvc.xml | 11126 ------ .../Microsoft.AspNet.Mvc.5.2.3.nupkg | Bin 298971 -> 0 bytes .../lib/net45/System.Web.Mvc.dll | Bin 566472 -> 0 bytes .../lib/net45/System.Web.Mvc.xml | 11485 ------ ...Microsoft.AspNet.Razor.1.0.20105.408.nupkg | Bin 74806 -> 0 bytes .../lib/net40/System.Web.Razor.dll | Bin 178536 -> 0 bytes .../Microsoft.AspNet.Razor.3.2.3.nupkg | Bin 149332 -> 0 bytes .../lib/net45/System.Web.Razor.dll | Bin 272072 -> 0 bytes .../lib/net45/System.Web.Razor.xml | 5742 --- ...rosoft.AspNet.WebPages.1.0.20105.408.nupkg | Bin 149543 -> 0 bytes .../lib/net40/System.Web.Helpers.dll | Bin 130408 -> 0 bytes .../net40/System.Web.WebPages.Deployment.dll | Bin 25960 -> 0 bytes .../lib/net40/System.Web.WebPages.Razor.dll | Bin 37224 -> 0 bytes .../lib/net40/System.Web.WebPages.dll | Bin 136552 -> 0 bytes .../Microsoft.AspNet.WebPages.3.1.1.nupkg | Bin 214845 -> 0 bytes .../Microsoft.AspNet.WebPages.3.1.1.nuspec | 23 - .../lib/net45/System.Web.Helpers.dll | Bin 139984 -> 0 bytes .../lib/net45/System.Web.Helpers.xml | 587 - .../net45/System.Web.WebPages.Deployment.dll | Bin 41680 -> 0 bytes .../net45/System.Web.WebPages.Deployment.xml | 231 - .../lib/net45/System.Web.WebPages.Razor.dll | Bin 39632 -> 0 bytes .../lib/net45/System.Web.WebPages.Razor.xml | 111 - .../lib/net45/System.Web.WebPages.dll | Bin 211664 -> 0 bytes .../lib/net45/System.Web.WebPages.xml | 1039 - .../Microsoft.AspNet.WebPages.3.2.3.nupkg | Bin 228931 -> 0 bytes .../lib/net45/System.Web.Helpers.dll | Bin 139976 -> 0 bytes .../lib/net45/System.Web.Helpers.xml | 839 - .../net45/System.Web.WebPages.Deployment.dll | Bin 41672 -> 0 bytes .../net45/System.Web.WebPages.Deployment.xml | 60 - .../lib/net45/System.Web.WebPages.Razor.dll | Bin 39624 -> 0 bytes .../lib/net45/System.Web.WebPages.Razor.xml | 292 - .../lib/net45/System.Web.WebPages.dll | Bin 211656 -> 0 bytes .../lib/net45/System.Web.WebPages.xml | 2706 -- .../tools/Microsoft.Bcl.Build.Tasks.dll | Bin 37104 -> 0 bytes ...Microsoft.Web.Infrastructure.1.0.0.0.nupkg | Bin 24921 -> 0 bytes .../net40/Microsoft.Web.Infrastructure.dll | Bin 45416 -> 0 bytes .../Newtonsoft.Json.6.0.8.nupkg | Bin 1562036 -> 0 bytes .../lib/net20/Newtonsoft.Json.dll | Bin 503296 -> 0 bytes .../lib/net20/Newtonsoft.Json.xml | 9327 ----- .../lib/net35/Newtonsoft.Json.dll | Bin 439296 -> 0 bytes .../lib/net35/Newtonsoft.Json.xml | 8470 ---- .../lib/net40/Newtonsoft.Json.dll | Bin 504320 -> 0 bytes .../lib/net40/Newtonsoft.Json.xml | 8777 ----- .../lib/net45/Newtonsoft.Json.dll | Bin 513536 -> 0 bytes .../lib/net45/Newtonsoft.Json.xml | 8777 ----- .../lib/netcore45/Newtonsoft.Json.dll | Bin 457216 -> 0 bytes .../lib/netcore45/Newtonsoft.Json.xml | 8302 ---- .../Newtonsoft.Json.dll | Bin 400896 -> 0 bytes .../Newtonsoft.Json.xml | 7955 ---- .../Newtonsoft.Json.dll | Bin 477696 -> 0 bytes .../Newtonsoft.Json.xml | 8302 ---- .../Newtonsoft.Json.6.0.8/tools/install.ps1 | 112 - packages/jQuery.1.9.1/Tools/common.ps1 | 117 - packages/jQuery.1.9.1/Tools/install.ps1 | 41 - .../Tools/jquery-1.9.1.intellisense.js | 2657 -- packages/jQuery.1.9.1/Tools/uninstall.ps1 | 41 - packages/jQuery.1.9.1/jQuery.1.9.1.nupkg | Bin 240271 -> 0 bytes packages/jQuery.1.9.1/jQuery.1.9.1.nuspec | 18 - upgrade-assistant.clef | 32079 ++++++++++++++++ 414 files changed, 32443 insertions(+), 141214 deletions(-) delete mode 100644 BindingTest/BindingExpressionParserTest.cs delete mode 100644 BindingTest/BindingTest.csproj delete mode 100644 BindingTest/DynamicTest.cs delete mode 100644 BindingTest/EvalExpressionTest.cs delete mode 100644 BindingTest/ExpressionBinderTest.cs delete mode 100644 BindingTest/ListTest.cs delete mode 100644 BindingTest/ListTest1.html delete mode 100644 BindingTest/ListTest2.html delete mode 100644 BindingTest/ListTest3.html delete mode 100644 BindingTest/LiteralBinderTest.cs delete mode 100644 BindingTest/Properties/AssemblyInfo.cs delete mode 100644 BindingTest/ScriptBinderTest.cs delete mode 100644 BindingTest/StyleBinderTest.cs delete mode 100644 BindingTest/StyleTest1.html delete mode 100644 BindingTest/Test1.html delete mode 100644 BindingTest/packages.config delete mode 100644 FormsTest/FormValidationTest.html delete mode 100644 FormsTest/FormsTest.cs delete mode 100644 FormsTest/FormsTest.csproj delete mode 100644 FormsTest/FormsTest1.html delete mode 100644 FormsTest/Properties/AssemblyInfo.cs delete mode 100644 FormsTest/TextControlTest.html delete mode 100644 HtmlTranslater/App.xaml delete mode 100644 HtmlTranslater/App.xaml.cs delete mode 100644 HtmlTranslater/CandidateTermsConverter.cs delete mode 100644 HtmlTranslater/HtmlTranslater.csproj delete mode 100644 HtmlTranslater/MainWindow.xaml delete mode 100644 HtmlTranslater/MainWindow.xaml.cs delete mode 100644 HtmlTranslater/Properties/AssemblyInfo.cs delete mode 100644 HtmlTranslater/Properties/Resources.Designer.cs delete mode 100644 HtmlTranslater/Properties/Resources.resx delete mode 100644 HtmlTranslater/Properties/Settings.Designer.cs delete mode 100644 HtmlTranslater/Properties/Settings.settings delete mode 100644 HtmlTranslater/TranslateDictionary.cs delete mode 100644 HtmlTranslater/TranslateTask.cs delete mode 100644 HtmlTranslater/TranslationTerm.cs delete mode 100644 Ivony.Html.Binding/BindingExpression.cs delete mode 100644 Ivony.Html.Binding/BindingExpressionParser.cs delete mode 100644 Ivony.Html.Binding/DataBinder.cs delete mode 100644 Ivony.Html.Binding/DynamicBinder.cs delete mode 100644 Ivony.Html.Binding/ElementExpression.cs delete mode 100644 Ivony.Html.Binding/EvalExpressionBinder.cs delete mode 100644 Ivony.Html.Binding/EvalListExpressionBinder.cs delete mode 100644 Ivony.Html.Binding/ExpressionBinderCollection.cs delete mode 100644 Ivony.Html.Binding/ExpressionElementBinder.cs delete mode 100644 Ivony.Html.Binding/HtmlBinding.cs delete mode 100644 Ivony.Html.Binding/HtmlBindingContext.cs delete mode 100644 Ivony.Html.Binding/HtmlElementBinderCollection.cs delete mode 100644 Ivony.Html.Binding/HtmlListBindingContext.cs delete mode 100644 Ivony.Html.Binding/IBindingExpressionEvaluator.cs delete mode 100644 Ivony.Html.Binding/IBindingExpressionValueObject.cs delete mode 100644 Ivony.Html.Binding/ICustomBindingContextModel.cs delete mode 100644 Ivony.Html.Binding/IElementExpressionBinder.cs delete mode 100644 Ivony.Html.Binding/IExpressionBinder.cs delete mode 100644 Ivony.Html.Binding/IHtmlBinder.cs delete mode 100644 Ivony.Html.Binding/IHtmlElementBinder.cs delete mode 100644 Ivony.Html.Binding/Ivony.Html.Binding.csproj delete mode 100644 Ivony.Html.Binding/ListBindingMode.cs delete mode 100644 Ivony.Html.Binding/ListDataModel.cs delete mode 100644 Ivony.Html.Binding/LiteralBinder.cs delete mode 100644 Ivony.Html.Binding/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Binding/ScriptBinder.cs delete mode 100644 Ivony.Html.Binding/StyleBinder.cs delete mode 100644 Ivony.Html.Binding/packages.config delete mode 100644 Ivony.Html.Dynamic/DynamicElement.cs delete mode 100644 Ivony.Html.Dynamic/DynamicExtension.cs delete mode 100644 Ivony.Html.Dynamic/ElementDynamic.cs delete mode 100644 Ivony.Html.Dynamic/Ivony.Html.Dynamic.csproj delete mode 100644 Ivony.Html.Dynamic/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Forms/DataAnnotationMeatadataProvider.cs delete mode 100644 Ivony.Html.Forms/FormButtonGroup.cs delete mode 100644 Ivony.Html.Forms/FormButtonGroupItem.cs delete mode 100644 Ivony.Html.Forms/FormConfiguration.cs delete mode 100644 Ivony.Html.Forms/FormControl.cs delete mode 100644 Ivony.Html.Forms/FormControlCollection.cs delete mode 100644 Ivony.Html.Forms/FormControlException.cs delete mode 100644 Ivony.Html.Forms/FormExtensions.cs delete mode 100644 Ivony.Html.Forms/FormFieldMetadata.cs delete mode 100644 Ivony.Html.Forms/FormFieldValidatorCollection.cs delete mode 100644 Ivony.Html.Forms/FormGroupControl.cs delete mode 100644 Ivony.Html.Forms/FormGroupControlBase.cs delete mode 100644 Ivony.Html.Forms/FormGroupControlItem.cs delete mode 100644 Ivony.Html.Forms/FormMetadata.cs delete mode 100644 Ivony.Html.Forms/FormPresenter.cs delete mode 100644 Ivony.Html.Forms/FormTextControl.cs delete mode 100644 Ivony.Html.Forms/FormValidationError.cs delete mode 100644 Ivony.Html.Forms/FormValidationErrorCollection.cs delete mode 100644 Ivony.Html.Forms/FormValidationResult.cs delete mode 100644 Ivony.Html.Forms/FormValidator.cs delete mode 100644 Ivony.Html.Forms/FormValueFormatException.cs delete mode 100644 Ivony.Html.Forms/HtmlForm.cs delete mode 100644 Ivony.Html.Forms/HtmlInputText.cs delete mode 100644 Ivony.Html.Forms/HtmlSelect.cs delete mode 100644 Ivony.Html.Forms/HtmlTextArea.cs delete mode 100644 Ivony.Html.Forms/IFormControl.cs delete mode 100644 Ivony.Html.Forms/IFormFieldValidator.cs delete mode 100644 Ivony.Html.Forms/IFormMetadataProvider.cs delete mode 100644 Ivony.Html.Forms/IFormPresenter.cs delete mode 100644 Ivony.Html.Forms/IFormProvider.cs delete mode 100644 Ivony.Html.Forms/IFormValidationResult.cs delete mode 100644 Ivony.Html.Forms/IFormValidationRule.cs delete mode 100644 Ivony.Html.Forms/IFormValidator.cs delete mode 100644 Ivony.Html.Forms/Ivony.Html.Forms.csproj delete mode 100644 Ivony.Html.Forms/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Forms/StandardFormProvider.cs delete mode 100644 Ivony.Html.JQuery/Ivony.Html.JQuery.csproj delete mode 100644 Ivony.Html.JQuery/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.JQuery/jQuery.cs delete mode 100644 Ivony.Html.LegacyDomModel/FreeComment.cs delete mode 100644 Ivony.Html.LegacyDomModel/FreeElement.cs delete mode 100644 Ivony.Html.LegacyDomModel/FreeNode.cs delete mode 100644 Ivony.Html.LegacyDomModel/FreeTextNode.cs delete mode 100644 Ivony.Html.LegacyDomModel/HtmlFragment.cs delete mode 100644 Ivony.Html.LegacyDomModel/HtmlNodeFactory.cs delete mode 100644 Ivony.Html.LegacyDomModel/IFreeNode.cs delete mode 100644 Ivony.Html.LegacyDomModel/IHtmlNodeFactory.cs delete mode 100644 Ivony.Html.LegacyDomModel/Ivony.Html.LegacyDomModel.csproj delete mode 100644 Ivony.Html.LegacyDomModel/LegacyDomExtensions.cs delete mode 100644 Ivony.Html.LegacyDomModel/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Parser/Regulars/Ivony.Html.Parser.Regulars.dll create mode 100644 Ivony.Html.Parser/Regulars/Regulars.cs delete mode 100644 Ivony.Html.Templates/HtmlTemplate.cs delete mode 100644 Ivony.Html.Templates/IHtmlTemplate.cs delete mode 100644 Ivony.Html.Templates/Ivony.Html.Templates.csproj delete mode 100644 Ivony.Html.Templates/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Templates/TemplateExtensions.cs delete mode 100644 Ivony.Html.Web.Binding/Binding.cs delete mode 100644 Ivony.Html.Web.Binding/BindingContext.cs delete mode 100644 Ivony.Html.Web.Binding/BindingExpression.cs delete mode 100644 Ivony.Html.Web.Binding/BindingManager.cs delete mode 100644 Ivony.Html.Web.Binding/DefaultBindingProvider.cs delete mode 100644 Ivony.Html.Web.Binding/IBindingProvider.cs delete mode 100644 Ivony.Html.Web.Binding/IBindingTarget.cs delete mode 100644 Ivony.Html.Web.Binding/IValueBinder.cs delete mode 100644 Ivony.Html.Web.Binding/IValueConverter.cs delete mode 100644 Ivony.Html.Web.Binding/Ivony.Html.Web.Binding.csproj delete mode 100644 Ivony.Html.Web.Binding/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Web.Binding/Regulars.cs delete mode 100644 Ivony.Html.Web.Binding/TextElementBindingTarget.cs delete mode 100644 Ivony.Html.Web.Mvc/ActionUrlBinder.cs delete mode 100644 Ivony.Html.Web.Mvc/CachableAttribute.cs delete mode 100644 Ivony.Html.Web.Mvc/CacheFilterBase.cs delete mode 100644 Ivony.Html.Web.Mvc/ContentAdapter.cs delete mode 100644 Ivony.Html.Web.Mvc/ControllerCachePolicyProvider.cs delete mode 100644 Ivony.Html.Web.Mvc/FallbackCachePolicyProvider.cs delete mode 100644 Ivony.Html.Web.Mvc/HtmlViewHandlerWrapper.cs delete mode 100644 Ivony.Html.Web.Mvc/ICachableResult.cs delete mode 100644 Ivony.Html.Web.Mvc/IContentView.cs delete mode 100644 Ivony.Html.Web.Mvc/IMasterView.cs delete mode 100644 Ivony.Html.Web.Mvc/IMvcCachePolicy.cs delete mode 100644 Ivony.Html.Web.Mvc/IMvcCachePolicyProvider.cs delete mode 100644 Ivony.Html.Web.Mvc/IViewFilter.cs delete mode 100644 Ivony.Html.Web.Mvc/IViewFilterProvider.cs delete mode 100644 Ivony.Html.Web.Mvc/IViewHandler.cs delete mode 100644 Ivony.Html.Web.Mvc/IViewHandlerProvider.cs delete mode 100644 Ivony.Html.Web.Mvc/IViewProvider.cs delete mode 100644 Ivony.Html.Web.Mvc/Ivony.Html.Web.Mvc.csproj delete mode 100644 Ivony.Html.Web.Mvc/JumonyMasterView.cs delete mode 100644 Ivony.Html.Web.Mvc/JumonyUrlHelper.cs delete mode 100644 Ivony.Html.Web.Mvc/JumonyView.cs delete mode 100644 Ivony.Html.Web.Mvc/JumonyViewEngine.cs delete mode 100644 Ivony.Html.Web.Mvc/JumonyViewHandler.cs delete mode 100644 Ivony.Html.Web.Mvc/JumonyViewLocationCache.cs delete mode 100644 Ivony.Html.Web.Mvc/MvcCachePolicyProviderWrapper.cs delete mode 100644 Ivony.Html.Web.Mvc/MvcConfiguration.cs delete mode 100644 Ivony.Html.Web.Mvc/MvcEnvironment.cs delete mode 100644 Ivony.Html.Web.Mvc/MvcFormExtensions.cs delete mode 100644 Ivony.Html.Web.Mvc/MvcFormValidationResult.cs delete mode 100644 Ivony.Html.Web.Mvc/PartialViewAdapter.cs delete mode 100644 Ivony.Html.Web.Mvc/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Web.Mvc/ViewBase.cs delete mode 100644 Ivony.Html.Web.Mvc/ViewHandler.cs delete mode 100644 Ivony.Html.Web.Mvc/ViewHandlerProvider.cs delete mode 100644 Ivony.Html.Web.Mvc/packages.config delete mode 100644 Ivony.Html.Web/DefaultProviders.cs delete mode 100644 Ivony.Html.Web/HtmlBuildProvider.cs delete mode 100644 Ivony.Html.Web/HtmlHandler.cs delete mode 100644 Ivony.Html.Web/HtmlHandlerBase.cs delete mode 100644 Ivony.Html.Web/HtmlHandlerProvider.cs delete mode 100644 Ivony.Html.Web/HtmlRequestContext.cs delete mode 100644 Ivony.Html.Web/HtmlServices.cs delete mode 100644 Ivony.Html.Web/HttpHandlerBase.cs delete mode 100644 Ivony.Html.Web/IHandlerWrapper.cs delete mode 100644 Ivony.Html.Web/IHtmlContentProvider.cs delete mode 100644 Ivony.Html.Web/IHtmlDocumentProvider.cs delete mode 100644 Ivony.Html.Web/IHtmlFilter.cs delete mode 100644 Ivony.Html.Web/IHtmlFilterProvider.cs delete mode 100644 Ivony.Html.Web/IHtmlHandler.cs delete mode 100644 Ivony.Html.Web/IHtmlHandlerProvider.cs delete mode 100644 Ivony.Html.Web/IHtmlParserProvider.cs delete mode 100644 Ivony.Html.Web/IHtmlRequestRoute.cs delete mode 100644 Ivony.Html.Web/Ivony.Html.Web.csproj delete mode 100644 Ivony.Html.Web/JumonyHandler.cs delete mode 100644 Ivony.Html.Web/JumonyPartialHandler.cs delete mode 100644 Ivony.Html.Web/JumonyRequestRoute.cs delete mode 100644 Ivony.Html.Web/JumonyRouteHandler.cs delete mode 100644 Ivony.Html.Web/JumonyWebConfiguration.cs delete mode 100644 Ivony.Html.Web/PartialExecutor.cs delete mode 100644 Ivony.Html.Web/PartialRenderAdapter.cs delete mode 100644 Ivony.Html.Web/PartialResponse.cs delete mode 100644 Ivony.Html.Web/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Web/ResourceManager.cs delete mode 100644 Ivony.Html.Web/StaticFileContentProvider.cs delete mode 100644 Ivony.Html.Web/WebExtenions.cs delete mode 100644 Ivony.Html.Web/WebFormPageContentProvider.cs delete mode 100644 Ivony.Html.Web/WebParser.cs delete mode 100644 Ivony.Html.Xml/Ivony.Html.Xml.csproj delete mode 100644 Ivony.Html.Xml/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Html.Xml/XLINQExtensions.cs delete mode 100644 Ivony.Web.Mvc/ExtController.cs delete mode 100644 Ivony.Web.Mvc/Ivony.Web.Mvc.csproj delete mode 100644 Ivony.Web.Mvc/MvcRouteExtensions.cs delete mode 100644 Ivony.Web.Mvc/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Web.Mvc/SimpleAreaRouteTable.cs delete mode 100644 Ivony.Web.Mvc/WebSocketOnlyAttribute.cs delete mode 100644 Ivony.Web.Mvc/WebSocketResult.cs delete mode 100644 Ivony.Web.Mvc/packages.config delete mode 100644 Ivony.Web/AspNetTraceService.cs delete mode 100644 Ivony.Web/CacheExtensions.cs delete mode 100644 Ivony.Web/CacheHelper.cs delete mode 100644 Ivony.Web/CacheItem.cs delete mode 100644 Ivony.Web/CachePolicy.cs delete mode 100644 Ivony.Web/CacheToken.cs delete mode 100644 Ivony.Web/ClientCachePolicy.cs delete mode 100644 Ivony.Web/ClientCachePolicyModule.cs delete mode 100644 Ivony.Web/ConflictCheckList.cs delete mode 100644 Ivony.Web/ICacheDependency.cs delete mode 100644 Ivony.Web/ICachePolicyProvider.cs delete mode 100644 Ivony.Web/ICacheStorageProvider.cs delete mode 100644 Ivony.Web/ICachedResponse.cs delete mode 100644 Ivony.Web/IClientCachePolicy.cs delete mode 100644 Ivony.Web/ITraceService.cs delete mode 100644 Ivony.Web/Ivony.Web.csproj delete mode 100644 Ivony.Web/PersistentCacheStorageProvider.cs delete mode 100644 Ivony.Web/Properties/AssemblyInfo.cs delete mode 100644 Ivony.Web/RawResponse.cs delete mode 100644 Ivony.Web/SimpleRouteRule.cs delete mode 100644 Ivony.Web/SimpleRouteTable.cs delete mode 100644 Ivony.Web/StandardCachePolicy.cs delete mode 100644 Ivony.Web/VirtualPathBasedProviders.cs delete mode 100644 Ivony.Web/VirtualPathHelper.cs delete mode 100644 Ivony.Web/WebExtensions.cs delete mode 100644 Ivony.Web/WebServiceLocator.cs delete mode 100644 MSHTML.Adapter/AttributeAdapter.cs delete mode 100644 MSHTML.Adapter/CommentAdapter.cs delete mode 100644 MSHTML.Adapter/ConvertExtensions.cs delete mode 100644 MSHTML.Adapter/DocumentAdapter.cs delete mode 100644 MSHTML.Adapter/ElementAdapter.cs delete mode 100644 MSHTML.Adapter/MSHTML.Adapter.csproj delete mode 100644 MSHTML.Adapter/NodeAdapter.cs delete mode 100644 MSHTML.Adapter/Properties/AssemblyInfo.cs delete mode 100644 MSHTML.Adapter/TextNodeAdapter.cs delete mode 100644 MhtCreator/MhtCreator.csproj delete mode 100644 MhtCreator/Program.cs delete mode 100644 MhtCreator/Properties/AssemblyInfo.cs delete mode 100644 RegularsAssemblyBuilder/Program.cs delete mode 100644 RegularsAssemblyBuilder/Properties/AssemblyInfo.cs delete mode 100644 RegularsAssemblyBuilder/Regulars.cs delete mode 100644 RegularsAssemblyBuilder/RegularsAssemblyBuilder.csproj delete mode 100644 RegularsAssemblyBuilder/app.config create mode 100644 UpgradeReport.sarif delete mode 100644 WebBrowser/App.xaml delete mode 100644 WebBrowser/App.xaml.cs delete mode 100644 WebBrowser/MainWindow.xaml delete mode 100644 WebBrowser/MainWindow.xaml.cs delete mode 100644 WebBrowser/Properties/AssemblyInfo.cs delete mode 100644 WebBrowser/Properties/Resources.Designer.cs delete mode 100644 WebBrowser/Properties/Resources.resx delete mode 100644 WebBrowser/Properties/Settings.Designer.cs delete mode 100644 WebBrowser/Properties/Settings.settings delete mode 100644 WebBrowser/TranslateTask.cs delete mode 100644 WebBrowser/TranslationTerm.cs delete mode 100644 WebBrowser/WebBrowser.csproj delete mode 100644 WebSite/JumonyGuide/Global.asax delete mode 100644 WebSite/JumonyGuide/Scripts/jquery-1.4.1-vsdoc.js delete mode 100644 WebSite/JumonyGuide/Scripts/jquery-1.4.1.js delete mode 100644 WebSite/JumonyGuide/Scripts/jquery-1.4.1.min.js delete mode 100644 WebSite/JumonyGuide/Styles/Site.css delete mode 100644 WebSite/JumonyGuide/Web.config delete mode 100644 WebSite/JumonyGuide/index.htm delete mode 100644 WebSite/JumonyGuide/index.htm.ashx delete mode 100644 WebSite/JumonyGuide/links.aspx delete mode 100644 WebSite/JumonyGuide/links.aspx.ashx delete mode 100644 WebSite/JumonyGuide/links.aspx.cs delete mode 100644 WebSite/JumonyGuide/ranks.htm delete mode 100644 WebSite/JumonyGuide/ranks.htm.ashx delete mode 100644 WebSite/JumonyPage.zip delete mode 100644 WebSite/PartialTest/App_Code/TestController.cs delete mode 100644 WebSite/PartialTest/Global.asax delete mode 100644 WebSite/PartialTest/Views/Test/Test.html delete mode 100644 WebSite/PartialTest/Views/Test/Test.html.ashx delete mode 100644 WebSite/PartialTest/Web.config delete mode 100644 WebTest/ActionUrlTest/Test1.html delete mode 100644 WebTest/App_Code/ActionUrlTest.cs delete mode 100644 WebTest/App_Code/DefaultProviderTest.cs delete mode 100644 WebTest/App_Code/HandlerProviderTest.cs delete mode 100644 WebTest/App_Code/HtmlHandlerTest.cs delete mode 100644 WebTest/App_Code/PartialTest.cs delete mode 100644 WebTest/App_Code/TestJumonyHandler.cs delete mode 100644 WebTest/App_Code/WebServiceTest.cs delete mode 100644 WebTest/Bin/Ivony.Web.Test.dll.refresh delete mode 100644 WebTest/Bin/System.Web.Helpers.dll.refresh delete mode 100644 WebTest/Bin/System.Web.Mvc.dll.refresh delete mode 100644 WebTest/Bin/System.Web.Razor.dll.refresh delete mode 100644 WebTest/Bin/System.Web.WebPages.Deployment.dll.refresh delete mode 100644 WebTest/Bin/System.Web.WebPages.Razor.dll.refresh delete mode 100644 WebTest/Bin/System.Web.WebPages.dll.refresh delete mode 100644 WebTest/Global.asax delete mode 100644 WebTest/HandlerTest/Test1.html delete mode 100644 WebTest/HandlerTest/Test1.html.ashx delete mode 100644 WebTest/PartialTest/Partial1.html delete mode 100644 WebTest/PartialTest/Partial2.html delete mode 100644 WebTest/PartialTest/Partial2.html.ashx delete mode 100644 WebTest/PartialTest/Test1.html delete mode 100644 WebTest/PartialTest/Test1.html.ashx delete mode 100644 WebTest/PartialTest/Test2.html delete mode 100644 WebTest/PartialTest/Test2.html.ashx delete mode 100644 WebTest/PartialTest/Test3.html delete mode 100644 WebTest/PartialTest/Test3.html.ashx delete mode 100644 WebTest/RouteTest/DefaultHandler/Test1.html delete mode 100644 WebTest/RouteTest/DefaultHandler/_handler.ashx delete mode 100644 WebTest/RouteTest/NonDefaultHandler/Test1.html delete mode 100644 WebTest/RouteTest/NonDefaultHandler/Test1.html.ashx delete mode 100644 WebTest/RouteTest/NonDefaultHandler/Test2.html delete mode 100644 WebTest/Web.Debug.config delete mode 100644 WebTest/Web.config delete mode 100644 WebTest/packages.config delete mode 100644 packages/DbUtility2.2.1.0/DbUtility2.2.1.0.nupkg delete mode 100644 packages/DbUtility2.2.1.0/DbUtility2.2.1.0.nuspec delete mode 100644 packages/DbUtility2.2.1.0/lib/net40/DbUtility.v2.dll delete mode 100644 packages/DbUtility2.2.1.0/lib/net40/DbUtility.v2.xml delete mode 100644 packages/DbUtility3.3.1.0-beta/DbUtility3.3.1.0-beta.nupkg delete mode 100644 packages/DbUtility3.3.1.0-beta/lib/net45/DbUtility.v3.dll delete mode 100644 packages/DbUtility3.3.1.0-beta/lib/net45/DbUtility.v3.xml delete mode 100644 packages/Ivony.Core.1.0.1/Ivony.Core.1.0.1.nupkg delete mode 100644 packages/Ivony.Core.1.0.1/lib/Ivony.Core.XML delete mode 100644 packages/Ivony.Core.1.0.1/lib/Ivony.Core.dll delete mode 100644 packages/Ivony.Web.Test.1.2.5083.43046/Ivony.Web.Test.1.2.5083.43046.nupkg delete mode 100644 packages/Ivony.Web.Test.1.2.5083.43046/lib/net45/Ivony.Web.Test.dll delete mode 100644 packages/Microsoft.AspNet.Mvc.3.0.20105.1/Microsoft.AspNet.Mvc.3.0.20105.1.nupkg delete mode 100644 packages/Microsoft.AspNet.Mvc.3.0.20105.1/lib/net40/System.Web.Mvc.dll delete mode 100644 packages/Microsoft.AspNet.Mvc.5.1.1/Microsoft.AspNet.Mvc.5.1.1.nupkg delete mode 100644 packages/Microsoft.AspNet.Mvc.5.1.1/Microsoft.AspNet.Mvc.5.1.1.nuspec delete mode 100644 packages/Microsoft.AspNet.Mvc.5.1.1/lib/net45/System.Web.Mvc.dll delete mode 100644 packages/Microsoft.AspNet.Mvc.5.1.1/lib/net45/System.Web.Mvc.xml delete mode 100644 packages/Microsoft.AspNet.Mvc.5.2.3/Microsoft.AspNet.Mvc.5.2.3.nupkg delete mode 100644 packages/Microsoft.AspNet.Mvc.5.2.3/lib/net45/System.Web.Mvc.dll delete mode 100644 packages/Microsoft.AspNet.Mvc.5.2.3/lib/net45/System.Web.Mvc.xml delete mode 100644 packages/Microsoft.AspNet.Razor.1.0.20105.408/Microsoft.AspNet.Razor.1.0.20105.408.nupkg delete mode 100644 packages/Microsoft.AspNet.Razor.1.0.20105.408/lib/net40/System.Web.Razor.dll delete mode 100644 packages/Microsoft.AspNet.Razor.3.2.3/Microsoft.AspNet.Razor.3.2.3.nupkg delete mode 100644 packages/Microsoft.AspNet.Razor.3.2.3/lib/net45/System.Web.Razor.dll delete mode 100644 packages/Microsoft.AspNet.Razor.3.2.3/lib/net45/System.Web.Razor.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.1.0.20105.408/Microsoft.AspNet.WebPages.1.0.20105.408.nupkg delete mode 100644 packages/Microsoft.AspNet.WebPages.1.0.20105.408/lib/net40/System.Web.Helpers.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.1.0.20105.408/lib/net40/System.Web.WebPages.Deployment.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.1.0.20105.408/lib/net40/System.Web.WebPages.Razor.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.1.0.20105.408/lib/net40/System.Web.WebPages.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/Microsoft.AspNet.WebPages.3.1.1.nupkg delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/Microsoft.AspNet.WebPages.3.1.1.nuspec delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.Helpers.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.Helpers.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.WebPages.Deployment.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.WebPages.Deployment.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.WebPages.Razor.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.WebPages.Razor.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.WebPages.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.1.1/lib/net45/System.Web.WebPages.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/Microsoft.AspNet.WebPages.3.2.3.nupkg delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.Helpers.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.Helpers.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.WebPages.Deployment.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.WebPages.Deployment.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.WebPages.Razor.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.WebPages.Razor.xml delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.WebPages.dll delete mode 100644 packages/Microsoft.AspNet.WebPages.3.2.3/lib/net45/System.Web.WebPages.xml delete mode 100644 packages/Microsoft.Bcl.Build.1.0.14/tools/Microsoft.Bcl.Build.Tasks.dll delete mode 100644 packages/Microsoft.Web.Infrastructure.1.0.0.0/Microsoft.Web.Infrastructure.1.0.0.0.nupkg delete mode 100644 packages/Microsoft.Web.Infrastructure.1.0.0.0/lib/net40/Microsoft.Web.Infrastructure.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.xml delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.xml delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.xml delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.xml delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.xml delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.dll delete mode 100644 packages/Newtonsoft.Json.6.0.8/lib/portable-net45+wp80+win8+wpa81+aspnetcore50/Newtonsoft.Json.xml delete mode 100644 packages/Newtonsoft.Json.6.0.8/tools/install.ps1 delete mode 100644 packages/jQuery.1.9.1/Tools/common.ps1 delete mode 100644 packages/jQuery.1.9.1/Tools/install.ps1 delete mode 100644 packages/jQuery.1.9.1/Tools/jquery-1.9.1.intellisense.js delete mode 100644 packages/jQuery.1.9.1/Tools/uninstall.ps1 delete mode 100644 packages/jQuery.1.9.1/jQuery.1.9.1.nupkg delete mode 100644 packages/jQuery.1.9.1/jQuery.1.9.1.nuspec create mode 100644 upgrade-assistant.clef diff --git a/APITest/APITest.csproj b/APITest/APITest.csproj index f2c7b04d..ec1074b4 100644 --- a/APITest/APITest.csproj +++ b/APITest/APITest.csproj @@ -1,72 +1,23 @@ - - + - Debug - AnyCPU - {B26BA503-8721-4547-BCB7-E373C73AEB37} + net7.0 Library - Properties - APITest - APITest - v4.5 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest + false + False + False - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - + - - - - - - - {bf0b37e7-2d93-4a3d-ad6d-0b51b66f5b21} - Ivony.Core - - - {d05d58d3-5c3a-41bd-ba9e-2aa532a3b1be} - Ivony.Html.Parser - - - {e775b408-605f-4b66-87b6-98596069b703} - Ivony.Html - + + + @@ -94,13 +45,12 @@ - - - + + + all + + + + + \ No newline at end of file diff --git a/BindingTest/BindingExpressionParserTest.cs b/BindingTest/BindingExpressionParserTest.cs deleted file mode 100644 index b23c3b6f..00000000 --- a/BindingTest/BindingExpressionParserTest.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Ivony.Html.Binding; -using System.Linq; - -namespace BindingTest -{ - [TestClass] - public class BindingExpressionParserTest - { - [TestMethod] - public void Test1() - { - - TestEvaluator evaluator = new TestEvaluator(); - - var expression = BindingExpression.ParseExpression( "{eval path=Name}" ); - Assert.AreEqual( expression.Name, "eval", "测试解析绑定表达式失败" ); - - object value; - Assert.IsTrue( expression.TryGetValue( evaluator, "path", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "Name", "测试解析绑定表达式失败" ); - - - expression = BindingExpression.ParseExpression( "{eval path=Name , key==@#$}" ); - Assert.AreEqual( expression.Name, "eval", "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "path", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "Name ", "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "key", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "=@#$", "测试解析绑定表达式失败" ); - - expression = BindingExpression.ParseExpression( "{eval path={{abc,,}},key=abc}" ); - Assert.AreEqual( expression.Name, "eval", "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "path", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "{abc,}", "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "key", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "abc", "测试解析绑定表达式失败" ); - - expression = BindingExpression.ParseExpression( "{eval path={},,key=abc}" ); - Assert.IsNull( expression, "错误的解析了错误的表达式" ); - - expression = BindingExpression.ParseExpression( "{eval path={eval a=b, c=d},key=abc}" ); - Assert.AreEqual( expression.Name, "eval", "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "path", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "a:b,c:d", "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "key", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "abc", "测试解析绑定表达式失败" ); - - - expression = BindingExpression.ParseExpression( "{eval a, b=}" ); - Assert.AreEqual( expression.Name, "eval", "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "a", out value ), "测试解析绑定表达式失败" ); - Assert.IsNull( value, "测试解析绑定表达式失败" ); - Assert.IsTrue( expression.TryGetValue( evaluator, "b", out value ), "测试解析绑定表达式失败" ); - Assert.AreEqual( value, "", "测试解析绑定表达式失败" ); - - - } - - private class TestEvaluator : IBindingExpressionEvaluator - { - public object GetValue( BindingExpression bindingExpression ) - { - - if ( bindingExpression == null ) - return null; - - var values = bindingExpression.GetValues( this ); - - return string.Join( ",", values.Select( pair => pair.Key + ":" + pair.Value ) ); - } - - public bool TryConvertValue( object obj, out T value ) - { - value = (T) obj; - return true; - } - } - - - - } -} diff --git a/BindingTest/BindingTest.csproj b/BindingTest/BindingTest.csproj deleted file mode 100644 index e0c31242..00000000 --- a/BindingTest/BindingTest.csproj +++ /dev/null @@ -1,135 +0,0 @@ - - - - Debug - AnyCPU - {92AB60D7-E49A-42EC-9640-12CA298AF843} - Library - Properties - BindingTest - BindingTest - v4.0 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - ..\packages\Newtonsoft.Json.6.0.8\lib\net40\Newtonsoft.Json.dll - - - - 3.5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - {bf0b37e7-2d93-4a3d-ad6d-0b51b66f5b21} - Ivony.Core - - - {ea844798-6870-4b11-bc4d-4dfef2da69e0} - Ivony.Html.Binding - - - {d05d58d3-5c3a-41bd-ba9e-2aa532a3b1be} - Ivony.Html.Parser - - - {e775b408-605f-4b66-87b6-98596069b703} - Ivony.Html - - - - - Always - - - Always - - - Always - - - Always - - - PreserveNewest - - - - - - - - - - False - - - False - - - False - - - False - - - - - - - - \ No newline at end of file diff --git a/BindingTest/DynamicTest.cs b/BindingTest/DynamicTest.cs deleted file mode 100644 index cdf1fea5..00000000 --- a/BindingTest/DynamicTest.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Ivony.Html.Binding; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Newtonsoft.Json.Linq; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace BindingTest -{ - - [TestClass] - public class DynamicTest - { - - [TestMethod] - public void DynamicTest1() - { - - var a = JObject.FromObject( new { A = 1 } ); - Assert.AreEqual( (int) DynamicBinder.GetPropertyValue( a, "A" ), 1 ); - - - } - - } - -} diff --git a/BindingTest/EvalExpressionTest.cs b/BindingTest/EvalExpressionTest.cs deleted file mode 100644 index 896882b1..00000000 --- a/BindingTest/EvalExpressionTest.cs +++ /dev/null @@ -1,57 +0,0 @@ -using Ivony.Html.Binding; -using Ivony.Html.Parser; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using Ivony.Html; -using Newtonsoft.Json.Linq; - -namespace BindingTest -{ - [TestClass] - public class EvalExpressionTest - { - - [TestMethod] - public void EvalTest1() - { - - var document = new JumonyParser().LoadDocument( Path.Combine( Environment.CurrentDirectory, "Test1.html" ) ); - - - { - var data = new { A = 123, B = "ABC" }; - var context = HtmlBinding.Create( document, data ); - { - var expression = BindingExpression.ParseExpression( "{eval path=A}" ); - Assert.AreEqual( context.GetValue( expression ), 123 ); - } - - { - var expression = BindingExpression.ParseExpression( "{eval path=B}" ); - Assert.AreEqual( context.GetValue( expression ), "ABC" ); - } - } - - { - var data = JObject.Parse( "{A:123,B:'ABC'}" ); - var context = HtmlBinding.Create( document, data ); - { - var expression = BindingExpression.ParseExpression( "{eval path=A}" ); - Assert.AreEqual( context.GetValue( expression ).ToString(), "123" ); - } - - { - var expression = BindingExpression.ParseExpression( "{eval path=B}" ); - Assert.AreEqual( context.GetValue( expression ).ToString(), "ABC" ); - } - } - - - } - - } -} diff --git a/BindingTest/ExpressionBinderTest.cs b/BindingTest/ExpressionBinderTest.cs deleted file mode 100644 index a6d50cb7..00000000 --- a/BindingTest/ExpressionBinderTest.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Ivony.Html; -using Ivony.Html.Binding; -using Ivony.Html.Parser; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using System; -using System.IO; -using System.Collections.Generic; - -namespace BindingTest -{ - [TestClass] - public class ExpressionBinderTest - { - [TestMethod] - public void AttributeTest1() - { - var document = new JumonyParser().LoadDocument( Path.Combine( Environment.CurrentDirectory, "Test1.html" ) ); - - var dataValues = new Dictionary() { - { "StyleClass", "Test" }, - { "ThisTime", new DateTime( 2000,1,2 ) }, - { "ScriptValue1", null } - }; - - HtmlBinding.Create( document, dataValues ).DataBind(); - - Assert.AreEqual( document.FindFirst( "body" ).Attribute( "class" ).Value(), "Test", "针对属性的表达式绑定不成功" ); - Assert.AreEqual( document.FindFirst( "body" ).Attribute( "test" ).Value(), "this time is 2000-01-02 #", "格式表达式测试失败" ); - - - } - } -} diff --git a/BindingTest/ListTest.cs b/BindingTest/ListTest.cs deleted file mode 100644 index a4ce9465..00000000 --- a/BindingTest/ListTest.cs +++ /dev/null @@ -1,115 +0,0 @@ -using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Ivony.Html; -using System.IO; -using Ivony.Html.Parser; -using Ivony.Html.Binding; -using System.Linq; -using Newtonsoft.Json.Linq; - -namespace BindingTest -{ - [TestClass] - public class ListTest - { - [TestMethod] - public void SimpleList() - { - - var document = LoadDocument( "ListTest1.html" ); - - document.DataBind( new int[] { 1, 2, 3 } ); - - Assert.AreEqual( document.Find( "div" ).Count(), 3 ); - - Assert.AreEqual( document.Find( "div span" ).ElementAt( 0 ).InnerText(), "1" ); - Assert.AreEqual( document.Find( "div span" ).ElementAt( 1 ).InnerText(), "2" ); - Assert.AreEqual( document.Find( "div span" ).ElementAt( 2 ).InnerText(), "3" ); - - - - document.DataBind( JToken.Parse( "[1,2,3]" ) ); - - Assert.AreEqual( document.Find( "div" ).Count(), 3 ); - - Assert.AreEqual( document.Find( "div span" ).ElementAt( 0 ).InnerText(), "1" ); - Assert.AreEqual( document.Find( "div span" ).ElementAt( 1 ).InnerText(), "2" ); - Assert.AreEqual( document.Find( "div span" ).ElementAt( 2 ).InnerText(), "3" ); - - - - } - - - protected static IHtmlDocument LoadDocument( string filename ) - { - return new JumonyParser().LoadDocument( Path.Combine( Environment.CurrentDirectory, filename ) ); - } - - - - [TestMethod] - public void ListGrowth() - { - - - var document = LoadDocument( "ListTest2.html" ); - - document.DataBind( new int[] { 1, 2, 3, 4, 5, 6 } ); - - - var container = document.FindFirst( "body > div" ); - - Assert.IsTrue( container.Elements().ElementAt( 0 ).Class().Contains( "header" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 1 ).Class().Contains( "item" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 2 ).Class().Contains( "separator" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 3 ).Class().Contains( "item" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 4 ).Class().Contains( "separator" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 5 ).Class().Contains( "item" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 6 ).Class().Contains( "separator" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 7 ).Class().Contains( "item" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 8 ).Class().Contains( "separator" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 9 ).Class().Contains( "item" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 10 ).Class().Contains( "separator" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 11 ).Class().Contains( "item" ), "列表增长绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 12 ).Class().Contains( "footer" ), "列表增长绑定测试失败" ); - - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 0 ).InnerText(), "1", "列表增长绑定测试失败" ); - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 1 ).InnerText(), "2", "列表增长绑定测试失败" ); - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 2 ).InnerText(), "3", "列表增长绑定测试失败" ); - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 3 ).InnerText(), "4", "列表增长绑定测试失败" ); - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 4 ).InnerText(), "5", "列表增长绑定测试失败" ); - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 5 ).InnerText(), "6", "列表增长绑定测试失败" ); - - Assert.AreEqual( container.Elements( ".footer" ).First().InnerText(), "6", "高级列表绑定测试失败" ); - } - - - [TestMethod] - public void ListTruncate() - { - - - var document = LoadDocument( "ListTest3.html" ); - - document.DataBind( new int[] { 1, 2, 3 } ); - - - var container = document.FindFirst( "body > div" ); - - Assert.AreEqual( container.Elements().Count(), 5, "列表截断绑定测试失败" ); - - Assert.IsTrue( container.Elements().ElementAt( 0 ).Class().Contains( "item" ), "列表截断绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 1 ).Class().Contains( "separator" ), "列表截断绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 2 ).Class().Contains( "item" ), "列表截断绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 3 ).Class().Contains( "separator" ), "列表截断绑定测试失败" ); - Assert.IsTrue( container.Elements().ElementAt( 4 ).Class().Contains( "item" ), "列表截断绑定测试失败" ); - - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 0 ).InnerText(), "1", "列表截断绑定测试失败" ); - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 1 ).InnerText(), "2", "列表截断绑定测试失败" ); - Assert.AreEqual( container.Elements( ".item" ).ElementAt( 2 ).InnerText(), "3", "列表截断绑定测试失败" ); - - } - - } -} diff --git a/BindingTest/ListTest1.html b/BindingTest/ListTest1.html deleted file mode 100644 index ba204b6e..00000000 --- a/BindingTest/ListTest1.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - -
- -
- - - \ No newline at end of file diff --git a/BindingTest/ListTest2.html b/BindingTest/ListTest2.html deleted file mode 100644 index 034d3a04..00000000 --- a/BindingTest/ListTest2.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - -
- -
-
-
-
- -
- - - \ No newline at end of file diff --git a/BindingTest/ListTest3.html b/BindingTest/ListTest3.html deleted file mode 100644 index 67c6ab3d..00000000 --- a/BindingTest/ListTest3.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - -
-
-
-------------------------------------------
-
-
-------------------------------------------
-
-
-------------------------------------------
-
-
-------------------------------------------
-
-
- - \ No newline at end of file diff --git a/BindingTest/LiteralBinderTest.cs b/BindingTest/LiteralBinderTest.cs deleted file mode 100644 index aca030b2..00000000 --- a/BindingTest/LiteralBinderTest.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Ivony.Html.Parser; -using Ivony.Html; -using System.IO; -using Ivony.Html.Binding; - -namespace BindingTest -{ - [TestClass] - public class LiteralBinderTest - { - [TestMethod] - public void Test1() - { - - var document = new JumonyParser().LoadDocument( Path.Combine( Environment.CurrentDirectory, "Test1.html" ) ); - HtmlBinding.Create( document, null ).DataBind(); - - - Assert.AreEqual( document.FindFirst( "title" ).InnerHtml(), "Test Title abc text", "对 title 元素内容的文本替换测试失败" ); - - } - } -} diff --git a/BindingTest/Properties/AssemblyInfo.cs b/BindingTest/Properties/AssemblyInfo.cs deleted file mode 100644 index c2ecac43..00000000 --- a/BindingTest/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的常规信息通过以下特性集 -// 控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle( "BindingTest" )] -[assembly: AssemblyDescription( "" )] -[assembly: AssemblyConfiguration( "" )] -[assembly: AssemblyCompany( "" )] -[assembly: AssemblyProduct( "BindingTest" )] -[assembly: AssemblyCopyright( "Copyright © 2014" )] -[assembly: AssemblyTrademark( "" )] -[assembly: AssemblyCulture( "" )] - -// 将 ComVisible 设置为 false 会使此程序集中的类型 -// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, -// 请将该类型上的 ComVisible 特性设置为 true。 -[assembly: ComVisible( false )] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid( "bb7669e1-61c7-4855-b526-93b87e243c03" )] - -// 程序集的版本信息由以下四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, -// 方法是按如下所示使用“*”: -// [assembly: AssemblyVersion("1.0.*")] diff --git a/BindingTest/ScriptBinderTest.cs b/BindingTest/ScriptBinderTest.cs deleted file mode 100644 index ec3ab5d5..00000000 --- a/BindingTest/ScriptBinderTest.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Ivony.Html; -using Ivony.Html.Binding; -using Ivony.Html.Parser; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; - -namespace BindingTest -{ - [TestClass] - public class ScriptBinderTest - { - - [TestMethod] - public void Test1() - { - var document = new JumonyParser().LoadDocument( Path.Combine( Environment.CurrentDirectory, "Test1.html" ) ); - var data = new Dictionary(); - data.Add( "StyleClass", null ); - data.Add( "ThisTime", null ); - data.Add( "ScriptValue1", "TestValue" ); - - HtmlBinding.Create( document, data ).DataBind(); - - StringAssert.Contains( document.FindFirst( "script" ).InnerHtml(), "var value1 =\"TestValue\";" ); - } - - } -} diff --git a/BindingTest/StyleBinderTest.cs b/BindingTest/StyleBinderTest.cs deleted file mode 100644 index 90d03d17..00000000 --- a/BindingTest/StyleBinderTest.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using System.IO; -using Ivony.Html.Parser; -using Ivony.Html.Binding; -using Ivony.Html; -using System.Linq; - -namespace BindingTest -{ - [TestClass] - public class StyleBinderTest - { - [TestMethod] - public void VisibleTest() - { - var document = new JumonyParser().LoadDocument( Path.Combine( Environment.CurrentDirectory, "StyleTest1.html" ) ); - document.DataBind( null ); - - Assert.AreEqual( document.Find( ".invisible" ).Count(), 0 ); - - - } - } -} diff --git a/BindingTest/StyleTest1.html b/BindingTest/StyleTest1.html deleted file mode 100644 index 3af9cb4b..00000000 --- a/BindingTest/StyleTest1.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/BindingTest/Test1.html b/BindingTest/Test1.html deleted file mode 100644 index c697ecfb..00000000 --- a/BindingTest/Test1.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - Test Title #text# text - - -
- - - \ No newline at end of file diff --git a/BindingTest/packages.config b/BindingTest/packages.config deleted file mode 100644 index c4dd6115..00000000 --- a/BindingTest/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/FormsTest/FormValidationTest.html b/FormsTest/FormValidationTest.html deleted file mode 100644 index b999809c..00000000 --- a/FormsTest/FormValidationTest.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
First Name: - -
Last Name: -  
Age: -  
-
- - diff --git a/FormsTest/FormsTest.cs b/FormsTest/FormsTest.cs deleted file mode 100644 index c741414b..00000000 --- a/FormsTest/FormsTest.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using System.Collections.Specialized; -using Ivony.Html; -using Ivony.Html.Parser; -using Ivony.Html.Forms; -using System.IO; - -namespace FormsTest -{ - [TestClass] - public class FormsTest - { - [TestMethod] - public void FormTest1() - { - var document = LoadDocument( "FormsTest1.html" ); - - - Exception e = null; - - try - { - - document.FindFirst( "form" ).AsForm(); - - } - catch ( Exception exception ) - { - e = exception; - } - - - Assert.IsNotNull( e, "表单中存在重复的文本输入框未能引发异常" ); - Assert.IsInstanceOfType( e, typeof( InvalidOperationException ), "表单中存在重复的文本输入框未能引发正确的异常" ); - - - } - - [TestMethod] - public void TextControlTest() - { - - var document = LoadDocument( "TextControlTest.html" ); - - var form = document.FindFirst( "form" ).AsForm(); - - Assert.IsTrue( form.Controls.Contains( "textbox1" ), "未能找到 textbox1 控件" ); - Assert.IsTrue( form.Controls.Contains( "textbox2" ), "未能找到 textbox2 控件" ); - - Assert.AreEqual( form.Controls["textbox1"].Value, "Test1", "获取 textbox1 控件值失败" ); - Assert.AreEqual( form.Controls["textbox2"].Value, "Test2", "获取 textbox2 控件值失败" ); - - form.Controls["textbox1"].Value = "Test"; - form.Controls["textbox2"].Value = "Test"; - - Assert.AreEqual( form.Controls["textbox1"].Value, "Test", "设置 textbox1 控件值失败" ); - Assert.AreEqual( form.Controls["textbox2"].Value, "Test", "设置 textbox2 控件值失败" ); - - Assert.AreEqual( form.Element.FindFirst( "[name=textbox1]" ).Attribute( "value" ).Value(), "Test", "设置 textbox1 控件值失败" ); - Assert.AreEqual( form.Element.FindFirst( "[name=textbox2]" ).InnerText(), "Test", "设置 textbox2 控件值失败" ); - - - var value = "Text\nText"; - - Assert.IsFalse( form.Controls["textbox1"].CanSetValue( value ), "尝试设置多行文本值成功,这是错误的" ); - - try - { - form.Controls["textbox1"].Value = value; - } - catch ( Exception e ) - { - Assert.IsInstanceOfType( e, typeof( FormatException ), "尝试设置多行文本值引发了错误的异常" ); - - return; - } - - Assert.Fail( "尝试设置多行文本值未能引发异常" ); - } - - - private static IHtmlDocument LoadDocument( string filename ) - { - return new JumonyParser().LoadDocument( Path.Combine( Environment.CurrentDirectory, filename ) ); - } - - - - [TestMethod] - public void ValidationTest() - { - var document = LoadDocument( "FormValidationTest.html" ); - - var form = document.FindFirst( "form" ).AsForm(); - - var presenter = new FormPresenter(); - - var result = new FormValidationResult( form, new[] { new FormValidationError( "FirstName", "First Name is required!" ) } ); - - presenter.ShowValidationResult( result ); - - Assert.AreEqual( form.Element.FindFirst( "#error_FirstName ul li" ).InnerText(), "First Name is required!" ); - - } - - - } -} diff --git a/FormsTest/FormsTest.csproj b/FormsTest/FormsTest.csproj deleted file mode 100644 index 103a9fc1..00000000 --- a/FormsTest/FormsTest.csproj +++ /dev/null @@ -1,112 +0,0 @@ - - - - Debug - AnyCPU - {5A867711-DF50-4FDC-B03D-3E5A7575AF5D} - Library - Properties - FormsTest - FormsTest - v4.5 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - Always - - - Always - - - PreserveNewest - - - - - {bf0b37e7-2d93-4a3d-ad6d-0b51b66f5b21} - Ivony.Core - - - {1dab4b96-d944-46fe-bc73-7b618dee169f} - Ivony.Html.Forms - - - {d05d58d3-5c3a-41bd-ba9e-2aa532a3b1be} - Ivony.Html.Parser - - - {e775b408-605f-4b66-87b6-98596069b703} - Ivony.Html - - - - - - - False - - - False - - - False - - - False - - - - - - - - \ No newline at end of file diff --git a/FormsTest/FormsTest1.html b/FormsTest/FormsTest1.html deleted file mode 100644 index 22ca456f..00000000 --- a/FormsTest/FormsTest1.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - -
- - - - - -
- - - \ No newline at end of file diff --git a/FormsTest/Properties/AssemblyInfo.cs b/FormsTest/Properties/AssemblyInfo.cs deleted file mode 100644 index 60f829dd..00000000 --- a/FormsTest/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的常规信息通过以下特性集 -// 控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle( "FormsTest" )] -[assembly: AssemblyDescription( "" )] -[assembly: AssemblyConfiguration( "" )] -[assembly: AssemblyCompany( "" )] -[assembly: AssemblyProduct( "FormsTest" )] -[assembly: AssemblyCopyright( "Copyright © 2014" )] -[assembly: AssemblyTrademark( "" )] -[assembly: AssemblyCulture( "" )] - -// 将 ComVisible 设置为 false 会使此程序集中的类型 -// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, -// 请将该类型上的 ComVisible 特性设置为 true。 -[assembly: ComVisible( false )] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid( "49b75036-d760-4ac4-93f6-cd0ca0c336c2" )] - -// 程序集的版本信息由以下四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, -// 方法是按如下所示使用“*”: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion( "1.0.0.0" )] -[assembly: AssemblyFileVersion( "1.0.0.0" )] diff --git a/FormsTest/TextControlTest.html b/FormsTest/TextControlTest.html deleted file mode 100644 index c7ec9b52..00000000 --- a/FormsTest/TextControlTest.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - -
- - - -
- - - \ No newline at end of file diff --git a/HtmlTranslater/App.xaml b/HtmlTranslater/App.xaml deleted file mode 100644 index 20327dd0..00000000 --- a/HtmlTranslater/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/HtmlTranslater/App.xaml.cs b/HtmlTranslater/App.xaml.cs deleted file mode 100644 index 78f2851d..00000000 --- a/HtmlTranslater/App.xaml.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Linq; -using System.Windows; - -namespace HtmlTranslator -{ - /// - /// App.xaml 的交互逻辑 - /// - public partial class App : Application - { - } -} diff --git a/HtmlTranslater/CandidateTermsConverter.cs b/HtmlTranslater/CandidateTermsConverter.cs deleted file mode 100644 index f60f4370..00000000 --- a/HtmlTranslater/CandidateTermsConverter.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Windows.Data; -using System.Windows; - -namespace HtmlTranslator -{ - public class CandidateTermsConverter : IValueConverter - { - - public CandidateTermsConverter() - { - - } - - - public TranslateTask Task - { - get; - set; - } - - - public object Convert( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture ) - { - var sourceTerm = value as string; - if ( sourceTerm == null ) - return Enumerable.Empty(); - - return Task.Dictionary[sourceTerm]; - } - - public object ConvertBack( object value, Type targetType, object parameter, System.Globalization.CultureInfo culture ) - { - throw new NotSupportedException(); - } - } -} diff --git a/HtmlTranslater/HtmlTranslater.csproj b/HtmlTranslater/HtmlTranslater.csproj deleted file mode 100644 index fc55966f..00000000 --- a/HtmlTranslater/HtmlTranslater.csproj +++ /dev/null @@ -1,122 +0,0 @@ - - - - Debug - x86 - 8.0.30703 - 2.0 - {4C76EF80-FBA8-4454-A2A6-B75E1D709553} - WinExe - Properties - HtmlTranslator - HtmlTranslator - v4.0 - Client - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - - - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - MainWindow.xaml - Code - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - {BF0B37E7-2D93-4A3D-AD6D-0B51B66F5B21} - Ivony.Core - - - {D05D58D3-5C3A-41BD-BA9E-2AA532A3B1BE} - Ivony.Html.Parser - - - {E775B408-605F-4B66-87B6-98596069B703} - Ivony.Html - - - - - \ No newline at end of file diff --git a/HtmlTranslater/MainWindow.xaml b/HtmlTranslater/MainWindow.xaml deleted file mode 100644 index 9de25004..00000000 --- a/HtmlTranslater/MainWindow.xaml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -