From 0f43adfdded3b76e42dedd120d08c5c21519a017 Mon Sep 17 00:00:00 2001 From: tomvantilburg Date: Wed, 18 Mar 2015 17:08:35 +0100 Subject: [PATCH 1/2] Refactoring --- .gitignore | 1 + client/Cow.Client.Android/Activity1.cs | 27 - .../Cow.Client.Android/Assets/AboutAssets.txt | 19 - .../Cow.Client.Android.csproj | 85 - .../Cow.Client.Android.v2.ncrunchproject | 27 - .../Properties/AndroidManifest.xml | 5 - .../Properties/AssemblyInfo.cs | 34 - .../Resources/AboutResources.txt | 50 - .../Resources/Drawable/Icon.png | Bin 4147 -> 0 bytes .../Resources/Drawable/cow.jpg | Bin 8718 -> 0 bytes .../Resources/Layout/Main.axml | 13 - .../Resources/Resource.Designer.cs | 115 - .../Resources/Values/Strings.xml | 5 - client/Cow.Client.Android/app.config | 5 - client/Cow.Client.Android/packages.config | 4 - client/Cow.Client.Core.Tests/Class1.cs | 55 - .../Cow.Client.Core.Tests.csproj | 105 - .../Cow.Client.Core.Tests.v2.ncrunchproject | 24 - .../Cow.Client.Core.Tests/CowItemsSample.json | 119 - .../CowProjectsSample.json | 44 - .../Cow.Client.Core.Tests/CowUsersSample.json | 50 - client/Cow.Client.Core.Tests/DynamicJson.cs | 422 - .../Properties/AssemblyInfo.cs | 36 - client/Cow.Client.Core.Tests/app.config | 19 - client/Cow.Client.Core.Tests/packages.config | 10 - client/Cow.Client.Core/Config.cs | 6 - client/Cow.Client.Core/Cow.Client.Core.csproj | 101 - .../Cow.Client.Core.v2.ncrunchproject | 27 - client/Cow.Client.Core/CowHub.cs | 133 - client/Cow.Client.Core/CowMessage.cs | 25 - client/Cow.Client.Core/Delta.cs | 11 - client/Cow.Client.Core/EnumAction.cs | 7 - client/Cow.Client.Core/EnumItemType.cs | 7 - client/Cow.Client.Core/IncidentLocation.cs | 10 - client/Cow.Client.Core/Jsonlayer.cs | 8 - client/Cow.Client.Core/Options.cs | 8 - client/Cow.Client.Core/Payload.cs | 24 - client/Cow.Client.Core/Project.cs | 20 - .../Properties/AssemblyInfo.cs | 30 - client/Cow.Client.Core/Record.cs | 15 - client/Cow.Client.Core/Status.cs | 9 - client/Cow.Client.Core/TileLayer.cs | 8 - client/Cow.Client.Core/Type.cs | 8 - client/Cow.Client.Core/app.config | 15 - client/Cow.Client.Core/packages.config | 9 - client/Cow.Client.IPhone/AppDelegate.cs | 29 - .../Cow.Client.IPhone.csproj | 97 - client/Cow.Client.IPhone/Info.plist | 18 - client/Cow.Client.IPhone/Main.cs | 20 - client/Cow.Client.IPhone/MyViewController.cs | 49 - .../Properties/AssemblyInfo.cs | 36 - .../Resources/Default-568h@2x.png | Bin 12651 -> 0 bytes .../Cow.Client.IPhone/Resources/Default.png | Bin 5281 -> 0 bytes .../Resources/Default@2x.png | Bin 11793 -> 0 bytes client/Cow.Client.WinForms/App.config | 8 - .../Cow.Client.WinForms.csproj | 133 - .../Cow.Client.WinForms.v2.ncrunchproject | 27 - .../Cow.Client.WinForms/CowForm.Designer.cs | 111 - client/Cow.Client.WinForms/CowForm.cs | 57 - client/Cow.Client.WinForms/CowForm.resx | 120 - client/Cow.Client.WinForms/LoginForm.cs | 44 - client/Cow.Client.WinForms/LoginForm.resx | 120 - .../Cow.Client.WinForms/MainForm.Designer.cs | 212 - client/Cow.Client.WinForms/MainForm.cs | 144 - client/Cow.Client.WinForms/MainForm.resx | 120 - client/Cow.Client.WinForms/Program.cs | 16 - .../Properties/AssemblyInfo.cs | 36 - .../Properties/Resources.Designer.cs | 71 - .../Properties/Resources.resx | 117 - .../Properties/Settings.Designer.cs | 30 - .../Properties/Settings.settings | 7 - client/Cow.Client.WinForms/packages.config | 7 - client/Cow.Client.WinStore/App.xaml | 7 - client/Cow.Client.WinStore/App.xaml.cs | 109 - .../Assets/Logo.scale-100.png | Bin 801 -> 0 bytes .../Assets/SmallLogo.scale-100.png | Bin 329 -> 0 bytes .../Assets/SplashScreen.scale-100.png | Bin 2146 -> 0 bytes .../Assets/StoreLogo.scale-100.png | Bin 429 -> 0 bytes .../Cow.Client.WinStore.csproj | 179 - .../Cow.Client.WinStore.v2.ncrunchproject | 27 - .../Cow.Client.WinStore_TemporaryKey.pfx | Bin 2504 -> 0 bytes client/Cow.Client.WinStore/MainPage.xaml | 13 - client/Cow.Client.WinStore/MainPage.xaml.cs | 30 - .../Cow.Client.WinStore/Package.appxmanifest | 41 - .../Properties/AssemblyInfo.cs | 29 - client/Cow.Client.WinStore/packages.config | 8 - client/Cow.Client.sln | 272 - client/Cow.Client.v2.ncrunchsolution | 11 - dist/cow.js | 2 +- dist/cow.min.js | 3 +- dist/cow.node.js | 4 +- dist/cow.node.min.js | 4 +- server/signalr/CowSignalR.SelfHost/App.config | 22 - .../CowSignalR.SelfHost.csproj | 142 - server/signalr/CowSignalR.SelfHost/Options.cs | 22 - server/signalr/CowSignalR.SelfHost/Program.cs | 29 - .../Properties/AssemblyInfo.cs | 36 - .../CowSignalR.SelfHost/packages.config | 14 - server/signalr/CowSignalR.Tests/Class1.cs | 50 - .../Properties/AssemblyInfo.cs | 36 - server/signalr/CowSignalR.sln | 39 - server/signalr/CowSignalR/CowHub.cs | 36 - .../signalr/CowSignalR/CowSignalR.Web.csproj | 175 - .../CowSignalR/Properties/AssemblyInfo.cs | 35 - .../Properties/PublishProfiles/cow.pubxml | 23 - .../Properties/PublishProfiles/file.pubxml | 17 - .../CowSignalR/Scripts/jquery-1.6.4-vsdoc.js | 7024 ------------- .../CowSignalR/Scripts/jquery-1.6.4.js | 9046 ----------------- .../CowSignalR/Scripts/jquery-1.6.4.min.js | 4 - .../Scripts/jquery.signalR-2.0.2.js | 2694 ----- .../Scripts/jquery.signalR-2.0.2.min.js | 8 - server/signalr/CowSignalR/Scripts/json2.js | 487 - .../signalr/CowSignalR/Scripts/json2.min.js | 1 - server/signalr/CowSignalR/Startup.cs | 29 - server/signalr/CowSignalR/Web.Debug.config | 30 - server/signalr/CowSignalR/Web.Release.config | 31 - server/signalr/CowSignalR/Web.config | 26 - server/signalr/CowSignalR/cowgeofort.html | 66 - server/signalr/CowSignalR/cowhhnk.html | 66 - server/signalr/CowSignalR/cowhub.html | 65 - .../CowSignalR/doc/install_cowserver_0.1.docx | Bin 437340 -> 0 bytes server/signalr/CowSignalR/packages.config | 18 - .../Installation/140312/cowserver_0.1_iis.zip | Bin 861230 -> 0 bytes .../140312/cowserver_0.1_selhost.zip | Bin 1055951 -> 0 bytes .../140325/cowserver_0.1.1_iis.zip | Bin 1241476 -> 0 bytes .../140325/cowserver_0.1.1_selfhost.zip | Bin 919130 -> 0 bytes .../signalr/Installation/images/iis_test.png | Bin 39209 -> 0 bytes .../Installation/images/iis_websockets.png | Bin 49146 -> 0 bytes server/signalr/Installation/images/import.png | Bin 21254 -> 0 bytes .../signalr/Installation/images/import2.png | Bin 34416 -> 0 bytes .../signalr/Installation/images/import3.png | Bin 26902 -> 0 bytes .../signalr/Installation/images/import4.png | Bin 25633 -> 0 bytes .../signalr/Installation/images/selfhost.png | Bin 5545 -> 0 bytes .../Installation/images/web_deploy.png | Bin 252147 -> 0 bytes server/signalr/Installation/readme.md | 83 - src/cow2.syncstore.js | 2 +- src/superpeer/cow.node.js | 3067 ------ src/superpeer/cow.node.min.js | 3 - src/superpeer/speer.js | 53 - src/superpeer/speer_hhnk.js | 52 - src/superpeer/speer_wetterskip.js | 50 - src/superpeer/sslspeer.js | 26 - src/superpeer/superpeer.js | 14 +- 143 files changed, 15 insertions(+), 27729 deletions(-) delete mode 100644 client/Cow.Client.Android/Activity1.cs delete mode 100644 client/Cow.Client.Android/Assets/AboutAssets.txt delete mode 100644 client/Cow.Client.Android/Cow.Client.Android.csproj delete mode 100644 client/Cow.Client.Android/Cow.Client.Android.v2.ncrunchproject delete mode 100644 client/Cow.Client.Android/Properties/AndroidManifest.xml delete mode 100644 client/Cow.Client.Android/Properties/AssemblyInfo.cs delete mode 100644 client/Cow.Client.Android/Resources/AboutResources.txt delete mode 100644 client/Cow.Client.Android/Resources/Drawable/Icon.png delete mode 100644 client/Cow.Client.Android/Resources/Drawable/cow.jpg delete mode 100644 client/Cow.Client.Android/Resources/Layout/Main.axml delete mode 100644 client/Cow.Client.Android/Resources/Resource.Designer.cs delete mode 100644 client/Cow.Client.Android/Resources/Values/Strings.xml delete mode 100644 client/Cow.Client.Android/app.config delete mode 100644 client/Cow.Client.Android/packages.config delete mode 100644 client/Cow.Client.Core.Tests/Class1.cs delete mode 100644 client/Cow.Client.Core.Tests/Cow.Client.Core.Tests.csproj delete mode 100644 client/Cow.Client.Core.Tests/Cow.Client.Core.Tests.v2.ncrunchproject delete mode 100644 client/Cow.Client.Core.Tests/CowItemsSample.json delete mode 100644 client/Cow.Client.Core.Tests/CowProjectsSample.json delete mode 100644 client/Cow.Client.Core.Tests/CowUsersSample.json delete mode 100644 client/Cow.Client.Core.Tests/DynamicJson.cs delete mode 100644 client/Cow.Client.Core.Tests/Properties/AssemblyInfo.cs delete mode 100644 client/Cow.Client.Core.Tests/app.config delete mode 100644 client/Cow.Client.Core.Tests/packages.config delete mode 100644 client/Cow.Client.Core/Config.cs delete mode 100644 client/Cow.Client.Core/Cow.Client.Core.csproj delete mode 100644 client/Cow.Client.Core/Cow.Client.Core.v2.ncrunchproject delete mode 100644 client/Cow.Client.Core/CowHub.cs delete mode 100644 client/Cow.Client.Core/CowMessage.cs delete mode 100644 client/Cow.Client.Core/Delta.cs delete mode 100644 client/Cow.Client.Core/EnumAction.cs delete mode 100644 client/Cow.Client.Core/EnumItemType.cs delete mode 100644 client/Cow.Client.Core/IncidentLocation.cs delete mode 100644 client/Cow.Client.Core/Jsonlayer.cs delete mode 100644 client/Cow.Client.Core/Options.cs delete mode 100644 client/Cow.Client.Core/Payload.cs delete mode 100644 client/Cow.Client.Core/Project.cs delete mode 100644 client/Cow.Client.Core/Properties/AssemblyInfo.cs delete mode 100644 client/Cow.Client.Core/Record.cs delete mode 100644 client/Cow.Client.Core/Status.cs delete mode 100644 client/Cow.Client.Core/TileLayer.cs delete mode 100644 client/Cow.Client.Core/Type.cs delete mode 100644 client/Cow.Client.Core/app.config delete mode 100644 client/Cow.Client.Core/packages.config delete mode 100644 client/Cow.Client.IPhone/AppDelegate.cs delete mode 100644 client/Cow.Client.IPhone/Cow.Client.IPhone.csproj delete mode 100644 client/Cow.Client.IPhone/Info.plist delete mode 100644 client/Cow.Client.IPhone/Main.cs delete mode 100644 client/Cow.Client.IPhone/MyViewController.cs delete mode 100644 client/Cow.Client.IPhone/Properties/AssemblyInfo.cs delete mode 100644 client/Cow.Client.IPhone/Resources/Default-568h@2x.png delete mode 100644 client/Cow.Client.IPhone/Resources/Default.png delete mode 100644 client/Cow.Client.IPhone/Resources/Default@2x.png delete mode 100644 client/Cow.Client.WinForms/App.config delete mode 100644 client/Cow.Client.WinForms/Cow.Client.WinForms.csproj delete mode 100644 client/Cow.Client.WinForms/Cow.Client.WinForms.v2.ncrunchproject delete mode 100644 client/Cow.Client.WinForms/CowForm.Designer.cs delete mode 100644 client/Cow.Client.WinForms/CowForm.cs delete mode 100644 client/Cow.Client.WinForms/CowForm.resx delete mode 100644 client/Cow.Client.WinForms/LoginForm.cs delete mode 100644 client/Cow.Client.WinForms/LoginForm.resx delete mode 100644 client/Cow.Client.WinForms/MainForm.Designer.cs delete mode 100644 client/Cow.Client.WinForms/MainForm.cs delete mode 100644 client/Cow.Client.WinForms/MainForm.resx delete mode 100644 client/Cow.Client.WinForms/Program.cs delete mode 100644 client/Cow.Client.WinForms/Properties/AssemblyInfo.cs delete mode 100644 client/Cow.Client.WinForms/Properties/Resources.Designer.cs delete mode 100644 client/Cow.Client.WinForms/Properties/Resources.resx delete mode 100644 client/Cow.Client.WinForms/Properties/Settings.Designer.cs delete mode 100644 client/Cow.Client.WinForms/Properties/Settings.settings delete mode 100644 client/Cow.Client.WinForms/packages.config delete mode 100644 client/Cow.Client.WinStore/App.xaml delete mode 100644 client/Cow.Client.WinStore/App.xaml.cs delete mode 100644 client/Cow.Client.WinStore/Assets/Logo.scale-100.png delete mode 100644 client/Cow.Client.WinStore/Assets/SmallLogo.scale-100.png delete mode 100644 client/Cow.Client.WinStore/Assets/SplashScreen.scale-100.png delete mode 100644 client/Cow.Client.WinStore/Assets/StoreLogo.scale-100.png delete mode 100644 client/Cow.Client.WinStore/Cow.Client.WinStore.csproj delete mode 100644 client/Cow.Client.WinStore/Cow.Client.WinStore.v2.ncrunchproject delete mode 100644 client/Cow.Client.WinStore/Cow.Client.WinStore_TemporaryKey.pfx delete mode 100644 client/Cow.Client.WinStore/MainPage.xaml delete mode 100644 client/Cow.Client.WinStore/MainPage.xaml.cs delete mode 100644 client/Cow.Client.WinStore/Package.appxmanifest delete mode 100644 client/Cow.Client.WinStore/Properties/AssemblyInfo.cs delete mode 100644 client/Cow.Client.WinStore/packages.config delete mode 100644 client/Cow.Client.sln delete mode 100644 client/Cow.Client.v2.ncrunchsolution delete mode 100644 server/signalr/CowSignalR.SelfHost/App.config delete mode 100644 server/signalr/CowSignalR.SelfHost/CowSignalR.SelfHost.csproj delete mode 100644 server/signalr/CowSignalR.SelfHost/Options.cs delete mode 100644 server/signalr/CowSignalR.SelfHost/Program.cs delete mode 100644 server/signalr/CowSignalR.SelfHost/Properties/AssemblyInfo.cs delete mode 100644 server/signalr/CowSignalR.SelfHost/packages.config delete mode 100644 server/signalr/CowSignalR.Tests/Class1.cs delete mode 100644 server/signalr/CowSignalR.Tests/Properties/AssemblyInfo.cs delete mode 100644 server/signalr/CowSignalR.sln delete mode 100644 server/signalr/CowSignalR/CowHub.cs delete mode 100644 server/signalr/CowSignalR/CowSignalR.Web.csproj delete mode 100644 server/signalr/CowSignalR/Properties/AssemblyInfo.cs delete mode 100644 server/signalr/CowSignalR/Properties/PublishProfiles/cow.pubxml delete mode 100644 server/signalr/CowSignalR/Properties/PublishProfiles/file.pubxml delete mode 100644 server/signalr/CowSignalR/Scripts/jquery-1.6.4-vsdoc.js delete mode 100644 server/signalr/CowSignalR/Scripts/jquery-1.6.4.js delete mode 100644 server/signalr/CowSignalR/Scripts/jquery-1.6.4.min.js delete mode 100644 server/signalr/CowSignalR/Scripts/jquery.signalR-2.0.2.js delete mode 100644 server/signalr/CowSignalR/Scripts/jquery.signalR-2.0.2.min.js delete mode 100644 server/signalr/CowSignalR/Scripts/json2.js delete mode 100644 server/signalr/CowSignalR/Scripts/json2.min.js delete mode 100644 server/signalr/CowSignalR/Startup.cs delete mode 100644 server/signalr/CowSignalR/Web.Debug.config delete mode 100644 server/signalr/CowSignalR/Web.Release.config delete mode 100644 server/signalr/CowSignalR/Web.config delete mode 100644 server/signalr/CowSignalR/cowgeofort.html delete mode 100644 server/signalr/CowSignalR/cowhhnk.html delete mode 100644 server/signalr/CowSignalR/cowhub.html delete mode 100644 server/signalr/CowSignalR/doc/install_cowserver_0.1.docx delete mode 100644 server/signalr/CowSignalR/packages.config delete mode 100644 server/signalr/Installation/140312/cowserver_0.1_iis.zip delete mode 100644 server/signalr/Installation/140312/cowserver_0.1_selhost.zip delete mode 100644 server/signalr/Installation/140325/cowserver_0.1.1_iis.zip delete mode 100644 server/signalr/Installation/140325/cowserver_0.1.1_selfhost.zip delete mode 100644 server/signalr/Installation/images/iis_test.png delete mode 100644 server/signalr/Installation/images/iis_websockets.png delete mode 100644 server/signalr/Installation/images/import.png delete mode 100644 server/signalr/Installation/images/import2.png delete mode 100644 server/signalr/Installation/images/import3.png delete mode 100644 server/signalr/Installation/images/import4.png delete mode 100644 server/signalr/Installation/images/selfhost.png delete mode 100644 server/signalr/Installation/images/web_deploy.png delete mode 100644 server/signalr/Installation/readme.md delete mode 100644 src/superpeer/cow.node.js delete mode 100644 src/superpeer/cow.node.min.js delete mode 100644 src/superpeer/speer.js delete mode 100644 src/superpeer/speer_hhnk.js delete mode 100644 src/superpeer/speer_wetterskip.js delete mode 100644 src/superpeer/sslspeer.js diff --git a/.gitignore b/.gitignore index b974fdd..a708bba 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ node_modules tmp demo.obs *.log +config \ No newline at end of file diff --git a/client/Cow.Client.Android/Activity1.cs b/client/Cow.Client.Android/Activity1.cs deleted file mode 100644 index db9cc8c..0000000 --- a/client/Cow.Client.Android/Activity1.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Android.App; -using Android.Widget; -using Android.OS; -namespace Cow.Client.Android -{ - [Activity(Label = "Cow", MainLauncher = true, Icon = "@drawable/cow")] - public class Activity1 : Activity - { - - int count = 1; - - protected override void OnCreate(Bundle bundle) - { - base.OnCreate(bundle); - - // Set our view from the "main" layout resource - SetContentView(Resource.Layout.Main); - - // Get our button from the layout resource, - // and attach an event to it - Button button = FindViewById