diff --git a/Demo/Default.cshtml b/Demo/Default.cshtml new file mode 100644 index 0000000..9e3b3e7 --- /dev/null +++ b/Demo/Default.cshtml @@ -0,0 +1,18 @@ + + + + + + Testing out my orange bits extension + + + + + +
Here is a box styled using less
+
Here is a box styled using sass
+
Here is a box styled using scss
+
You can't explain this
+ + + diff --git a/Demo/bin/Microsoft.Web.Infrastructure.dll b/Demo/bin/Microsoft.Web.Infrastructure.dll new file mode 100644 index 0000000..85f1138 Binary files /dev/null and b/Demo/bin/Microsoft.Web.Infrastructure.dll differ diff --git a/Demo/bin/NuGet.Core.dll b/Demo/bin/NuGet.Core.dll new file mode 100644 index 0000000..863858b Binary files /dev/null and b/Demo/bin/NuGet.Core.dll differ diff --git a/Demo/bin/System.Web.Helpers.dll b/Demo/bin/System.Web.Helpers.dll new file mode 100644 index 0000000..bcf155e Binary files /dev/null and b/Demo/bin/System.Web.Helpers.dll differ diff --git a/Demo/bin/System.Web.Razor.dll b/Demo/bin/System.Web.Razor.dll new file mode 100644 index 0000000..781c8a5 Binary files /dev/null and b/Demo/bin/System.Web.Razor.dll differ diff --git a/Demo/bin/System.Web.WebPages.Administration.dll b/Demo/bin/System.Web.WebPages.Administration.dll new file mode 100644 index 0000000..b3da328 Binary files /dev/null and b/Demo/bin/System.Web.WebPages.Administration.dll differ diff --git a/Demo/bin/System.Web.WebPages.Deployment.dll b/Demo/bin/System.Web.WebPages.Deployment.dll new file mode 100644 index 0000000..65b89d9 Binary files /dev/null and b/Demo/bin/System.Web.WebPages.Deployment.dll differ diff --git a/Demo/bin/System.Web.WebPages.Razor.dll b/Demo/bin/System.Web.WebPages.Razor.dll new file mode 100644 index 0000000..b9bf17d Binary files /dev/null and b/Demo/bin/System.Web.WebPages.Razor.dll differ diff --git a/Demo/bin/System.Web.WebPages.dll b/Demo/bin/System.Web.WebPages.dll new file mode 100644 index 0000000..7cfd108 Binary files /dev/null and b/Demo/bin/System.Web.WebPages.dll differ diff --git a/Demo/bin/WebMatrix.Data.dll b/Demo/bin/WebMatrix.Data.dll new file mode 100644 index 0000000..deaa549 Binary files /dev/null and b/Demo/bin/WebMatrix.Data.dll differ diff --git a/Demo/bin/WebMatrix.Security.dll b/Demo/bin/WebMatrix.Security.dll new file mode 100644 index 0000000..3a1be3d Binary files /dev/null and b/Demo/bin/WebMatrix.Security.dll differ diff --git a/Demo/bin/WebMatrix.WebData.dll b/Demo/bin/WebMatrix.WebData.dll new file mode 100644 index 0000000..206703e Binary files /dev/null and b/Demo/bin/WebMatrix.WebData.dll differ diff --git a/Demo/coffeeScriptTest.coffee b/Demo/coffeeScriptTest.coffee new file mode 100644 index 0000000..44c4261 --- /dev/null +++ b/Demo/coffeeScriptTest.coffee @@ -0,0 +1,36 @@ +# Assignment: +number = 42 +opposite = true + +# Conditions: +number = -42 if opposite + +# Functions: +square = (x) -> x * x + +# Arrays: +list = [1, 2, 3, 4, 5] + +# Objects: +math = + root: Math.sqrt + square: square + cube: (x) -> x * square x + +# Splats: +race = (winner, runners...) -> + print winner, runners + +# Existence: +alert "I knew it!" if elvis? + +# Array comprehensions: +cubes = (math.cube num for num in list) + + +# show off some coffee in the browser test +setTimeout(() -> + document.getElementsByClassName('coffeeBox')[0].innerHTML = 'hello from the world of coffeeScript!!!' + , 1500); + + \ No newline at end of file diff --git a/Demo/lessTest.less b/Demo/lessTest.less new file mode 100644 index 0000000..16d68fb --- /dev/null +++ b/Demo/lessTest.less @@ -0,0 +1,20 @@ +@green: #00FF00; +@margin: 16px; + +@purple: #7D26CD; + +.lessBox { + background-color: lighten(@green, 45%); + border-color: @green; + color: darken(@green, 9%); + padding: @margin / 2; + margin: @margin / 2; +} + +.coffeeBox { + background-color: lighten(@purple, 35%); + border-color: @purple; + color: darken(@purple, 12%); + padding: @margin / 2; + margin: @margin / 2; +} \ No newline at end of file diff --git a/Demo/orderedListThree.png b/Demo/orderedListThree.png new file mode 100644 index 0000000..0714981 Binary files /dev/null and b/Demo/orderedListThree.png differ diff --git a/Demo/robots.txt b/Demo/robots.txt new file mode 100644 index 0000000..f783256 --- /dev/null +++ b/Demo/robots.txt @@ -0,0 +1,5 @@ + +# This file can be used to affect how search engines and other web site crawlers see your site. +# For more information, please see http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1.1 +# WebMatrix 2.0 + diff --git a/Demo/sassTest.css b/Demo/sassTest.css new file mode 100644 index 0000000..737640f --- /dev/null +++ b/Demo/sassTest.css @@ -0,0 +1,6 @@ +.sassBox { + background-color: #caeef2; + border-color: #3bbfce; + color: #2ca2af; + padding: 8px; + margin: 8px; } diff --git a/Demo/sassTest.sass b/Demo/sassTest.sass new file mode 100644 index 0000000..7f4ad1e --- /dev/null +++ b/Demo/sassTest.sass @@ -0,0 +1,11 @@ +$blue: #3bbfce +$margin: 16px + +.sassBox + background-color: lighten($blue, 35%) + border-color: $blue + color: darken($blue, 9%) + padding: $margin / 2 + margin: $margin / 2 + + \ No newline at end of file diff --git a/Demo/scssTest.scss b/Demo/scssTest.scss new file mode 100644 index 0000000..ca50388 --- /dev/null +++ b/Demo/scssTest.scss @@ -0,0 +1,10 @@ +$red: #FF0000; +$margin: 16px; + +.scssBox { + background-color: lighten($red, 45%); + border-color: $red; + color: darken($red, 9%); + padding: $margin / 2; + margin: $margin / 2; +} \ No newline at end of file diff --git a/Local.testsettings b/Local.testsettings new file mode 100644 index 0000000..a1004dc --- /dev/null +++ b/Local.testsettings @@ -0,0 +1,10 @@ + + + These are default test settings for a local test run. + + + + + + + \ No newline at end of file diff --git a/OrangeBits.sln b/OrangeBits.sln new file mode 100644 index 0000000..113978c --- /dev/null +++ b/OrangeBits.sln @@ -0,0 +1,36 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OrangeBits", "OrangeBits\OrangeBits.csproj", "{A93FE0DC-E26F-4145-B3E3-283DF9B2FE77}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{4C102372-8D0A-47B4-BDB8-AC9E1EC9550A}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{119BE45C-0AB9-444C-939C-AF68E22E1895}" + ProjectSection(SolutionItems) = preProject + Local.testsettings = Local.testsettings + OrangeBits.vsmdi = OrangeBits.vsmdi + TraceAndTestImpact.testsettings = TraceAndTestImpact.testsettings + EndProjectSection +EndProject +Global + GlobalSection(TestCaseManagementSettings) = postSolution + CategoryFile = OrangeBits.vsmdi + EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A93FE0DC-E26F-4145-B3E3-283DF9B2FE77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A93FE0DC-E26F-4145-B3E3-283DF9B2FE77}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A93FE0DC-E26F-4145-B3E3-283DF9B2FE77}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A93FE0DC-E26F-4145-B3E3-283DF9B2FE77}.Release|Any CPU.Build.0 = Release|Any CPU + {4C102372-8D0A-47B4-BDB8-AC9E1EC9550A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4C102372-8D0A-47B4-BDB8-AC9E1EC9550A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4C102372-8D0A-47B4-BDB8-AC9E1EC9550A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4C102372-8D0A-47B4-BDB8-AC9E1EC9550A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/OrangeBits.suo b/OrangeBits.suo new file mode 100644 index 0000000..8826b5a Binary files /dev/null and b/OrangeBits.suo differ diff --git a/OrangeBits.vsmdi b/OrangeBits.vsmdi new file mode 100644 index 0000000..69ca1fb --- /dev/null +++ b/OrangeBits.vsmdi @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/OrangeBits/Compilers/BaseCompiler.cs b/OrangeBits/Compilers/BaseCompiler.cs new file mode 100644 index 0000000..8f44228 --- /dev/null +++ b/OrangeBits/Compilers/BaseCompiler.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace OrangeBits.Compilers +{ + public class BaseCompiler + { + + } +} diff --git a/OrangeBits/Compilers/CoffeeCompiler.cs b/OrangeBits/Compilers/CoffeeCompiler.cs new file mode 100644 index 0000000..3ca3e8a --- /dev/null +++ b/OrangeBits/Compilers/CoffeeCompiler.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; +using SassAndCoffee.Core; +using SassAndCoffee.Core.CoffeeScript; +using SassAndCoffee.Core.Pipeline; +using SassAndCoffee.Core.Pooling; + +namespace OrangeBits.Compilers +{ + public class CoffeeCompiler : ICompiler + { + public void Compile(string inPath, string outPath) + { + SassAndCoffee.Core.CoffeeScript.CoffeeScriptCompiler compiler = new CoffeeScriptCompiler(new InstanceProvider(() => new IEJavaScriptRuntime())); + using (StreamReader sr = new StreamReader(inPath)) + { + string content = sr.ReadToEnd(); + string output = compiler.Compile(content); + using (StreamWriter sw = new StreamWriter(outPath)) + { + sw.Write(output); + } + } + } + } +} diff --git a/OrangeBits/Compilers/CompileResults.cs b/OrangeBits/Compilers/CompileResults.cs new file mode 100644 index 0000000..8c99659 --- /dev/null +++ b/OrangeBits/Compilers/CompileResults.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace OrangeBits.Compilers +{ + /// + /// basic structure to store results of a compilation + /// + public class CompileResults + { + /// + /// notes the compilation was successful + /// + public bool Success { get; set; } + + /// + /// notes if the new file was created for the first time + /// + public bool IsNewFile { get; set; } + + /// + /// original source input file path + /// + public string InputPath { get; set; } + + /// + /// new compiled output file path + /// + public string OutputPath { get; set; } + } +} diff --git a/OrangeBits/Compilers/ICompiler.cs b/OrangeBits/Compilers/ICompiler.cs new file mode 100644 index 0000000..0705624 --- /dev/null +++ b/OrangeBits/Compilers/ICompiler.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace OrangeBits.Compilers +{ + interface ICompiler + { + void Compile(string inPath, string outPath); + } +} diff --git a/OrangeBits/Compilers/LessCompiler.cs b/OrangeBits/Compilers/LessCompiler.cs new file mode 100644 index 0000000..dd6b090 --- /dev/null +++ b/OrangeBits/Compilers/LessCompiler.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using System.ComponentModel; +using System.Collections.Specialized; +using System.IO; + +using dotless.Core; + +namespace OrangeBits.Compilers +{ + /// + /// + /// + public class LessCompiler : ICompiler + { + /// + /// + /// + /// + /// + public void Compile(string inPath, string outPath) + { + using (StreamReader sr = new StreamReader(inPath)) + { + string content = sr.ReadToEnd(); + string output = Less.Parse(content); + using (StreamWriter sw = new StreamWriter(outPath)) + { + sw.Write(output); + } + } + } + } +} diff --git a/OrangeBits/Compilers/OrangeCompiler.cs b/OrangeBits/Compilers/OrangeCompiler.cs new file mode 100644 index 0000000..81e908d --- /dev/null +++ b/OrangeBits/Compilers/OrangeCompiler.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; + +namespace OrangeBits.Compilers +{ + /// + /// Top level compiler for all of the file types we support + /// + public class OrangeCompiler + { + #region Variables + + /// + /// list of supported file extensions + /// + public static string[] supportedExtensions = new string[] { ".less", ".sass", ".scss", ".coffee" }; + + #endregion + + #region IsSupportedFileType + /// + /// check if a file at the given path is a supported type + /// + /// + /// + public static bool IsSupportedFileType(string path) + { + FileInfo f = new FileInfo(path); + return (OrangeCompiler.supportedExtensions.Contains(f.Extension.ToLower())); + } + #endregion + + #region GetOutputFilePath + /// + /// for a given input file, figure out what the compiled output path would be + /// + /// + /// + public static string GetOutputFilePath(string path) + { + // ensure we got a valid path + if (String.IsNullOrEmpty(path)) + throw new Exception("The path passed to Orange Compiler must be a valid LESS, CoffeeScript, or Sass file"); + + // get the file extension + FileInfo f = new FileInfo(path); + string outPath = path.Substring(0, path.LastIndexOf('.')); + string outExt = (f.Extension.ToLower() == ".coffee") ? ".js" : ".css"; + return string.Format("{0}{1}", outPath, outExt); + } + + #endregion + + #region Compile + /// + /// based on the extension, create the required compiler and compile + /// + /// + public static CompileResults Compile(string path) + { + ICompiler compiler = null; + + // ensure we got a valid path + if (String.IsNullOrEmpty(path)) + throw new Exception("The path passed to Orange Compiler must be a valid LESS, CoffeeScript, or Sass file"); + + // get the file extension + FileInfo f = new FileInfo(path); + string outPath = path.Substring(0, path.LastIndexOf('.')); + string outExt = (f.Extension.ToLower() == ".coffee") ? ".js" : ".css"; + switch (f.Extension.ToLower()) + { + case ".less": + compiler = new LessCompiler(); + break; + case ".sass": + case ".scss": + compiler = new SassCompiler(); + break; + case ".coffee": + compiler = new CoffeeCompiler(); + break; + default: + throw new NotImplementedException(); + } + + // create the compiled source + outPath += outExt; + bool exists = File.Exists(outPath); + + compiler.Compile(path, outPath); + + return new CompileResults() + { + Success = true, + InputPath = path, + OutputPath = outPath, + IsNewFile = !exists + }; + } + #endregion + } +} diff --git a/OrangeBits/Compilers/SassCompiler.cs b/OrangeBits/Compilers/SassCompiler.cs new file mode 100644 index 0000000..993a661 --- /dev/null +++ b/OrangeBits/Compilers/SassCompiler.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; +using SassAndCoffee.Core.Sass; + +namespace OrangeBits.Compilers +{ + public class SassCompiler : ICompiler + { + public void Compile(string inPath, string outPath) + { + SassAndCoffee.Core.Sass.SassCompiler compiler = new SassAndCoffee.Core.Sass.SassCompiler(); + string output = compiler.Compile(inPath); + using (StreamWriter sw = new StreamWriter(outPath)) + { + sw.Write(output); + } + } + } +} diff --git a/OrangeBits/Compilers/StylusCompiler.cs b/OrangeBits/Compilers/StylusCompiler.cs new file mode 100644 index 0000000..687cfce --- /dev/null +++ b/OrangeBits/Compilers/StylusCompiler.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace OrangeBits.Compilers +{ + public class StylusCompiler : ICompiler + { + public void Compile(string inPath, string outPath) + { + throw new NotImplementedException(); + } + } +} diff --git a/OrangeBits/DelegateCommand.cs b/OrangeBits/DelegateCommand.cs new file mode 100644 index 0000000..5c99f43 --- /dev/null +++ b/OrangeBits/DelegateCommand.cs @@ -0,0 +1,80 @@ +using System; +using System.Windows.Input; +using System.Diagnostics; + +namespace OrangeBits +{ + /// + /// Simple implementation of the DelegateCommand (aka RelayCommand) pattern. + /// + internal class DelegateCommand : ICommand + { + /// + /// Stores a reference to the CanExecute Func. + /// + private readonly Func _canExecute; + + /// + /// Stores a reference to the Execute Action. + /// + private readonly Action _execute; + + /// + /// Initializes a new instance of the DelegateCommand class. + /// + /// Action to invoke when Execute is called. + public DelegateCommand(Action execute) + : this(param => true, execute) + { + } + + /// + /// Initializes a new instance of the DelegateCommand class. + /// + /// Func to invoke when CanExecute is called. + /// Action to invoke when Execute is called. + public DelegateCommand(Func canExecute, Action execute) + { + Debug.Assert(canExecute != null, "canExecute must not be null."); + Debug.Assert(execute != null, "execute must not be null."); + _canExecute = canExecute; + _execute = execute; + } + + /// + /// Determines if the command can execute. + /// + /// Data used by the command. + /// True if the command can execute. + public bool CanExecute(object parameter) + { + return _canExecute(parameter); + } + + /// + /// Executes the command. + /// + /// Data used by the command. + public void Execute(object parameter) + { + _execute(parameter); + } + + /// + /// Invoked when changes to the execution state of the command occur. + /// + public event EventHandler CanExecuteChanged; + + /// + /// Invokes the CanExecuteChanged event. + /// + public void OnCanExecuteChanged() + { + EventHandler handler = CanExecuteChanged; + if (null != handler) + { + handler(this, EventArgs.Empty); + } + } + } +} diff --git a/OrangeBits/FileChangeItem.cs b/OrangeBits/FileChangeItem.cs new file mode 100644 index 0000000..a572305 --- /dev/null +++ b/OrangeBits/FileChangeItem.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace OrangeBits +{ + /// + /// simple structure to hold a file change request + /// + public class FileChangeItem + { + public string Path { get; set; } + public DateTime Time { get; set; } + } +} diff --git a/OrangeBits/OrangeBits.1.0.0.0.nupkg b/OrangeBits/OrangeBits.1.0.0.0.nupkg new file mode 100644 index 0000000..b108c43 Binary files /dev/null and b/OrangeBits/OrangeBits.1.0.0.0.nupkg differ diff --git a/OrangeBits/OrangeBits.csproj b/OrangeBits/OrangeBits.csproj new file mode 100644 index 0000000..be90f90 --- /dev/null +++ b/OrangeBits/OrangeBits.csproj @@ -0,0 +1,122 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {A93FE0DC-E26F-4145-B3E3-283DF9B2FE77} + Library + Properties + OrangeBits + OrangeBits + v4.0 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + ..\..\..\..\Code\SassAndCoffee\SassAndCoffee.Core\bin\Debug\ComImports.ActiveScript.dll + + + False + ..\..\..\..\Code\SassAndCoffee\SassAndCoffee.Core\bin\Debug\ComImports.JavaScriptEngines.dll + + + ..\packages\dotless.1.2.1.0\lib\dotless.Core.dll + False + + + ..\packages\IronRuby.1.1.3\Lib\IronRuby.dll + + + ..\packages\IronRuby.1.1.3\Lib\IronRuby.Libraries.dll + + + ..\packages\IronRuby.1.1.3\Lib\IronRuby.Libraries.Yaml.dll + + + ..\packages\IronRuby.1.1.3\Lib\Microsoft.Dynamic.dll + + + ..\packages\IronRuby.1.1.3\Lib\Microsoft.Scripting.dll + + + ..\packages\IronRuby.1.1.3\Lib\Microsoft.Scripting.Metadata.dll + + + C:\Program Files (x86)\Microsoft WebMatrix\Microsoft.WebMatrix.Extensibility.dll + + + + + False + ..\..\..\..\Code\SassAndCoffee\SassAndCoffee.Core\bin\Debug\SassAndCoffee.Core.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if not exist "$(USERPROFILE)\AppData\Local\Microsoft\WebMatrix\Components\$(TargetName)" md "$(USERPROFILE)\AppData\Local\Microsoft\WebMatrix\Components\$(TargetName)" +copy "$(TargetDir)*" "$(USERPROFILE)\AppData\Local\Microsoft\WebMatrix\Components\$(TargetName)" > NUL + + + if exist "$(TEMP)\WebMatrix.crash.info" del "$(TEMP)\WebMatrix.crash.info" +if exist "$(USERPROFILE)\AppData\Local\Microsoft\WebMatrix\Components\DisabledExtensions" del "$(USERPROFILE)\AppData\Local\Microsoft\WebMatrix\Components\DisabledExtensions" + + + \ No newline at end of file diff --git a/OrangeBits/OrangeBits.csproj.user b/OrangeBits/OrangeBits.csproj.user new file mode 100644 index 0000000..84f003b --- /dev/null +++ b/OrangeBits/OrangeBits.csproj.user @@ -0,0 +1,10 @@ + + + + Program + C:\Program Files (x86)\Microsoft WebMatrix\WebMatrix.exe + + + ShowAllFiles + + \ No newline at end of file diff --git a/OrangeBits/OrangeBits.nuspec b/OrangeBits/OrangeBits.nuspec new file mode 100644 index 0000000..03ede90 --- /dev/null +++ b/OrangeBits/OrangeBits.nuspec @@ -0,0 +1,15 @@ + + + + OrangeBits + $version$ + OrangeBits Compiler + Justin Beckwith + Justin Beckwith + false + The OrangeBits compiler is an automatic CoffeeScript, LESS, and SaSS compiler. + Summary of changes made in this release of the package. + Copyright 2012 + LESS, SaSS, CoffeeScript, Compiler + + \ No newline at end of file diff --git a/OrangeBits/Properties/AssemblyInfo.cs b/OrangeBits/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..317d5b7 --- /dev/null +++ b/OrangeBits/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("OrangeBits")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("OrangeBits")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b028bf89-65e9-4bf4-acc7-b653739ac1ca")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/OrangeBits/ReadMe.txt b/OrangeBits/ReadMe.txt new file mode 100644 index 0000000..b6426ad --- /dev/null +++ b/OrangeBits/ReadMe.txt @@ -0,0 +1,24 @@ +Congratulations, you've just created a WebMatrix extension from a Visual Studio +project template! + +You'll probably want to start by having a look at WebMatrixExtension.cs which +contains the framework for the new extension. Most of the interesting +extension points are found on the IWebMatrixHost interface which is available +to the extension via the WebMatrixHost property. + +The extension is already configured (via pre- and post-build steps) to publish +itself to the right location when compiled. To configure it for easy debugging, +please perform the following steps: + +1. Open the "Project" menu +2. Select "_ProjectName_ Properties" at the bottom +3. Switch to the "Debug" tab +4. Select "Start external program:" +5. Click the "..." browse button beside it +6. Browse to WebMatrix.exe at: + C:\Program Files\Microsoft WebMatrix\WebMatrix.exe (for a 32-bit OS) + -or- + C:\Program Files (x86)\Microsoft WebMatrix\WebMatrix.exe (for a 64-bit OS) +7. Press F5 and WebMatrix will automatically start and load the extension + +Have fun! diff --git a/OrangeBits/WebMatrixExtension.cs b/OrangeBits/WebMatrixExtension.cs new file mode 100644 index 0000000..1c864f0 --- /dev/null +++ b/OrangeBits/WebMatrixExtension.cs @@ -0,0 +1,204 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.Composition; +using System.Diagnostics; +using System.Windows.Media.Imaging; +using System.IO; +using System.Threading.Tasks; +using System.Text.RegularExpressions; + +using Microsoft.WebMatrix.Extensibility; +using Microsoft.WebMatrix.Extensibility.Editor; + +using OrangeBits.Compilers; + +namespace OrangeBits +{ + /// + /// This is a WebMatrix extension designed to automatically compile less, sass, coffeescript, and stylus. + /// + [Export(typeof(IExtension))] + public class OrangeBits : ExtensionBase + { + //-------------------------------------------------------------------------- + // + // Variables + // + //-------------------------------------------------------------------------- + + #region Variables + + /// + /// item that monitors the file system for changes to supported file types by extension + /// + protected FileSystemWatcher _fileSystemWatcher = new FileSystemWatcher(); + + /// + /// background process that manages the queue of compilation requests + /// + protected Worker _worker; + + #endregion + + //-------------------------------------------------------------------------- + // + // Constructors + // + //-------------------------------------------------------------------------- + + #region Constructors + + /// + /// Initializes a new instance of the OrangeBits class. + /// + public OrangeBits() + : base("OrangeBits", "1.0") + { + _fileSystemWatcher.IncludeSubdirectories = true; + _fileSystemWatcher.Changed += new FileSystemEventHandler(SourceFileChanged); + } + + #endregion + + //-------------------------------------------------------------------------- + // + // Event Handlers + // + //-------------------------------------------------------------------------- + + #region SourceFileChanged + /// + /// raised any time any file changes - filter for supported file types, and add jobs to the queue + /// + /// + /// + protected void SourceFileChanged(object source, FileSystemEventArgs e) + { + try + { + var ext = (new FileInfo(e.FullPath)).Extension; + if (Regex.IsMatch(ext, @"\.(less|scss|sass|coffee)", RegexOptions.IgnoreCase)) + { + if (e.ChangeType == WatcherChangeTypes.Changed) + { + if (_worker != null) + _worker.AddItem(e.FullPath); + } + } + } + catch (Exception ex) + { + WebMatrixHost.ShowNotification("There was an error compiling your file: " + ex.ToString()); + } + } + + #endregion + + #region OnWebMatrixHostChanged + /// + /// Called when the WebMatrixHost property changes. + /// + /// Old value. + /// New value. + protected override void OnWebMatrixHostChanged(IWebMatrixHost oldValue, IWebMatrixHost newValue) + { + // Clear old values + if (null != oldValue) + { + oldValue.WorkspaceChanged -= new EventHandler(WebMatrixHost_WorkspaceChanged); + } + + base.OnWebMatrixHostChanged(oldValue, newValue); + + // Get new values + if (null != newValue) + { + newValue.WorkspaceChanged += new EventHandler(WebMatrixHost_WorkspaceChanged); + _worker = new Worker(newValue); + + newValue.ContextMenuOpening += new EventHandler(host_ContextMenuOpening); + } + } + + #endregion + + #region host_ContextMenuOpening + /// + /// my exalted joy + /// ISiteFileSystemItem + /// now the code will work + /// + /// + /// + protected void host_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e) + { + // we only show the context menu if every item selected in the tree is valid to be compiled + IList paths = new List(); + var showContextMenu = e.Items.Count > 0; + foreach (ISiteItem item in e.Items) + { + var fsi = item as ISiteFileSystemItem; + if (fsi != null) + { + if (!OrangeCompiler.IsSupportedFileType(fsi.Path)) + { + showContextMenu = false; + break; + } + else + { + paths.Add(fsi.Path); + } + } + } + + // if all of the files in the list are valid, show the compile option + if (showContextMenu) + { + var menuItem = new ContextMenuItem("Compile", null, new DelegateCommand(new Action(AddJob)), paths); + e.AddMenuItem(menuItem); + } + } + + #endregion + + #region AddJob + /// + /// simple handler to add a path to the queue to be processed + /// + /// + protected void AddJob(object e) + { + IList paths = (IList)e; + if (_worker != null) + { + foreach (string path in paths) + _worker.AddItem(path); + } + + + } + + #endregion + + #region WebMatrixHost_WorkspaceChanged + /// + /// Called when the WebMatrixHost's WorkspaceChanged event fires. + /// + /// Event source. + /// Event arguments. + private void WebMatrixHost_WorkspaceChanged(object sender, WorkspaceChangedEventArgs e) + { + _fileSystemWatcher.Path = this.WebMatrixHost.WebSite.Path; + + // lame sauce. this thing can't do multiple file types, so I'm watching them all and + // parsing the extension on the source change event + + //_fileSystemWatcher.Filter = "*.less, *.stylus, *.sass, *.scss, *.coffee"; + _fileSystemWatcher.EnableRaisingEvents = true; + } + #endregion + + + } +} diff --git a/OrangeBits/Worker.cs b/OrangeBits/Worker.cs new file mode 100644 index 0000000..794faa9 --- /dev/null +++ b/OrangeBits/Worker.cs @@ -0,0 +1,153 @@ +using System; +using System.IO; +using System.Timers; +using System.Collections.Generic; +using System.Text.RegularExpressions; +using OrangeBits.Compilers; +using System.Linq; +using System.Windows.Threading; + +using Microsoft.WebMatrix.Extensibility; + +namespace OrangeBits +{ + /// + /// class that monitors the queue of file change events, and invokes the + /// compiler when neccessary + /// + public class Worker + { + //-------------------------------------------------------------------------- + // + // Properties + // + //-------------------------------------------------------------------------- + + #region Properties + + /// + /// queue that holds all of the files that need to be processed + /// + protected Queue queue = new Queue(); + + /// + /// timer for our background thread, this polls the queue + /// + protected Timer timer = new Timer(); + + /// + /// reference to the host that contains the worker + /// + protected IWebMatrixHost host; + + /// + /// + /// + protected Dispatcher mainDispatcher = Dispatcher.CurrentDispatcher; + + #endregion + + + //-------------------------------------------------------------------------- + // + // Constructors + // + //-------------------------------------------------------------------------- + + #region Constructor + /// + /// create a new timer, and check the queue periodically for new requests + /// + public Worker(IWebMatrixHost host) + { + this.host = host; + timer.Interval = 500; + timer.Elapsed += new ElapsedEventHandler(t_Elapsed); + timer.AutoReset = false; + timer.Start(); + } + #endregion + + + //-------------------------------------------------------------------------- + // + // Event Handlers + // + //-------------------------------------------------------------------------- + + #region t_Elapsed + /// + /// if there are any items in the queue which are at least 100 ms old, process them + /// + /// + /// + protected void t_Elapsed(object sender, ElapsedEventArgs e) + { + while ((queue.Count > 0) && (DateTime.Now > queue.Peek().Time.AddMilliseconds(100))) + { + var item = queue.Dequeue(); + ProcessItem(item); + } + timer.Start(); + } + #endregion + + + //-------------------------------------------------------------------------- + // + // Methods + // + //-------------------------------------------------------------------------- + + #region AddItem + /// + /// add a new file to process into the queue + /// + /// object that contains the path and times + public void AddItem(string path) + { + // only add to the queue if the file isn't already in the queue + var exists = queue.Where(x => x.Path.ToLower() == path.ToLower()).Count() > 0; + if (!exists) + this.queue.Enqueue(new FileChangeItem() { Path = path, Time = DateTime.Now }); + } + #endregion + + #region ProcessItem + /// + /// process a file, generating the compiled output + /// + /// + protected void ProcessItem(FileChangeItem item) + { + try + { + // do the actual compilation work + CompileResults results = OrangeCompiler.Compile(item.Path); + + // show the notification bar to notify the user it happened + host.ShowNotification("compiled! " + results.OutputPath); + + // refresh the tree so the new file (if created) shows up + if (results.IsNewFile) + { + mainDispatcher.Invoke(new Action(() => + { + var refreshCommand = host.HostCommands.GetCommand(CommonCommandIds.GroupId, (int)CommonCommandIds.Ids.Refresh); + if (refreshCommand.CanExecute(null)) + refreshCommand.Execute(null); + })); + } + } + catch (Exception ex) + { + host.ShowNotification("There was an error compiling " + item.Path); + } + } + #endregion + + protected void OpenFile(object i) + { + } + } +} \ No newline at end of file diff --git a/OrangeBits/app.config b/OrangeBits/app.config new file mode 100644 index 0000000..3e4f9f3 --- /dev/null +++ b/OrangeBits/app.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/OrangeBits/bin/Debug/ComImports.ActiveScript.dll b/OrangeBits/bin/Debug/ComImports.ActiveScript.dll new file mode 100644 index 0000000..9143adf Binary files /dev/null and b/OrangeBits/bin/Debug/ComImports.ActiveScript.dll differ diff --git a/OrangeBits/bin/Debug/ComImports.ActiveScript.pdb b/OrangeBits/bin/Debug/ComImports.ActiveScript.pdb new file mode 100644 index 0000000..c345e6a Binary files /dev/null and b/OrangeBits/bin/Debug/ComImports.ActiveScript.pdb differ diff --git a/OrangeBits/bin/Debug/ComImports.JavaScriptEngines.dll b/OrangeBits/bin/Debug/ComImports.JavaScriptEngines.dll new file mode 100644 index 0000000..e622fc9 Binary files /dev/null and b/OrangeBits/bin/Debug/ComImports.JavaScriptEngines.dll differ diff --git a/OrangeBits/bin/Debug/ComImports.JavaScriptEngines.pdb b/OrangeBits/bin/Debug/ComImports.JavaScriptEngines.pdb new file mode 100644 index 0000000..d4a6444 Binary files /dev/null and b/OrangeBits/bin/Debug/ComImports.JavaScriptEngines.pdb differ diff --git a/OrangeBits/bin/Debug/IronRuby.Libraries.Yaml.dll b/OrangeBits/bin/Debug/IronRuby.Libraries.Yaml.dll new file mode 100644 index 0000000..88a659b Binary files /dev/null and b/OrangeBits/bin/Debug/IronRuby.Libraries.Yaml.dll differ diff --git a/OrangeBits/bin/Debug/IronRuby.Libraries.dll b/OrangeBits/bin/Debug/IronRuby.Libraries.dll new file mode 100644 index 0000000..73d2303 Binary files /dev/null and b/OrangeBits/bin/Debug/IronRuby.Libraries.dll differ diff --git a/OrangeBits/bin/Debug/IronRuby.dll b/OrangeBits/bin/Debug/IronRuby.dll new file mode 100644 index 0000000..3f99961 Binary files /dev/null and b/OrangeBits/bin/Debug/IronRuby.dll differ diff --git a/OrangeBits/bin/Debug/Microsoft.Dynamic.dll b/OrangeBits/bin/Debug/Microsoft.Dynamic.dll new file mode 100644 index 0000000..b28b36c Binary files /dev/null and b/OrangeBits/bin/Debug/Microsoft.Dynamic.dll differ diff --git a/OrangeBits/bin/Debug/Microsoft.Scripting.Metadata.dll b/OrangeBits/bin/Debug/Microsoft.Scripting.Metadata.dll new file mode 100644 index 0000000..2d1bcf4 Binary files /dev/null and b/OrangeBits/bin/Debug/Microsoft.Scripting.Metadata.dll differ diff --git a/OrangeBits/bin/Debug/Microsoft.Scripting.dll b/OrangeBits/bin/Debug/Microsoft.Scripting.dll new file mode 100644 index 0000000..0c26390 Binary files /dev/null and b/OrangeBits/bin/Debug/Microsoft.Scripting.dll differ diff --git a/OrangeBits/bin/Debug/Microsoft.WebMatrix.Extensibility.dll b/OrangeBits/bin/Debug/Microsoft.WebMatrix.Extensibility.dll new file mode 100644 index 0000000..77f2c52 Binary files /dev/null and b/OrangeBits/bin/Debug/Microsoft.WebMatrix.Extensibility.dll differ diff --git a/OrangeBits/bin/Debug/Microsoft.WebMatrix.Extensibility.xml b/OrangeBits/bin/Debug/Microsoft.WebMatrix.Extensibility.xml new file mode 100644 index 0000000..44d810c --- /dev/null +++ b/OrangeBits/bin/Debug/Microsoft.WebMatrix.Extensibility.xml @@ -0,0 +1,2408 @@ + + + + Microsoft.WebMatrix.Extensibility + + + + + Class that represents an item in a context menu. + + + + + Interface for representing an item in a context menu. + + + + + Gets a label for the item. + + + + + Gets a 16x16 image for the item. + + + + + Gets the command to invoke when the button is selected. + + + + + Gets or sets the parameter to pass to the Command. + + + + + Initializes a new instance of the ContextMenuItem class. + + Label for the item. + 16x16 image for the item. + Command to invoke when the item is selected. + Parameter for the command. + + + + Gets a label for the item. + + + + + Gets a 16x16 image for the item. + + + + + Gets the command to invoke when the button is selected. + + + + + Gets or sets the parameter to pass to the Command. + + + + + Class that represents the event arguments for a context menu opening event. + + + + + Stores a list of added IContextMenuItem instances. + + + + + Initializes a new instance of the ContextMenuOpeningEventArgs class. + + Site item for which the context menu is opening. + + + + Adds a IContextMenuItem instance to the context menu. + + IContextMenuItem instance to add. + + + + Gets the site item for which the context menu is opening. + + + + + Gets a sequence of IContextMenuItem instances that were added to the context menu. + + + + + Class that represents a dashboard item. + + + + + Interface for representing an item on the dashboard. + + + + + Gets the item's title. + + + + + Gets the item's description. + + + + + Gets the URI to navigate to when the item is clicked. + + + + + Gets a 32x32 image to display next to the item. + + + + + Initializes a new instance of the DashboardItem class. + + Title of the item. + Description for the item. + URI for the item. + + + + Initializes a new instance of the DashboardItem class. + + Title of the item. + Description for the item. + URI for the item. + Image for the item. + + + + Initializes a new instance of the DashboardItem class. + + Title of the item. + Description for the item. + URI for the item. + Image for the item. + + + + Gets the item's title. + + + + + Gets the item's description. + + + + + Gets the URI to navigate to when the item is clicked. + + + + + Gets a 32x32 image to display next to the item. + + + + + Enumeration of dialog sizes for the IWebMatrixHost.ShowDialog methods. + + + + + Dialog will automatically size to its content. + + + + + Dialog size will be "small". + + + + + Dialog size will be "medium". + + + + + Dialog size will be "large". + + + + + Class that stores format data. + + + + + Copy constructor + + Data to copy + + + + Default constructor + + + + + Gets or sets the fore color. + + + + + Gets or sets the back color. + + + + + Gets or sets the bold setting. + + + + + True is this is a GlobalEditorFormat + + + + + Interface for an editor theme. + + + + + Gets the format data for a classification. + + Classification name. + FormatData instance. + + + + Converts the theme to XML. + + XML string. + + + + Saves the theme to a file. + + File name. + + + + Loads the theme from a file. + + File name. + + + + Gets the theme name. + + + + + Gets the surface background brush. + + + + + Gets the collapsed text background brush. + + + + + Gets or sets the default format. + + + + + Gets a dictionary of formats. + + + + + Class that exposes theme keys. + + + + + Theme key. + + + + + Default theme. + + + + + Default high contrast theme. + + + + + Interface for managing editor themes. + + + + + Saves the theme to the users folder, and sets it as the default theme for next startup. + + Theme to save, pass null to restore default. + + + + Applies the theme to the current live editor. + + Theme to apply, null for default theme. + + + + Applies theme to the provided IClassificationFormatMap format map. + + Theme to apply, null for default theme. + Format map to apply theme to. + + + + Gets the theme currently applied at the editor. + + + + + Current theme loaded from a theme file. + + + This can be a subset of the current editor theme. + For example, just C# related theme changes. + + + + + Interface for a theme manager service provider. + + + + + Gets an IThemeManager instance. + + + + + Class that represents an editor theme. + + + + + The global editor settings directly supported by the Theme + + + + + Initializes a new instance of the Theme class. + + Theme name. + + + + Saves the theme to a file. + + + This method is not protected and will throw exception. + + File name. + + + + Loads the theme from an XML string. + + XML string. + + + + Loads the theme from a file. + + File name. + + + + Converts the theme to XML. + + XML string. + + + + Gets the format data for a classification. + + Classification name. + FormatData instance. + + + + Gets or sets the default format. + + + + + Gets the theme name. + + + + + Default value for selection format in the editor + + + + + Default value for inactive selection format in the editor + + + + + Default format for visible whitespace in the editor + + + + + Gets the surface background brush. + + + + + Gets the collapsed text background brush. + + + + + Gets a dictionary of formats. + + + + + Class that contains extensions for XmlDocument. + + + + + Serializes to an XML string. + + XmlDocument instance. + XML string. + + + + Interface for a file type management service. + + + + + Indicates whether a content type is registered. + + Content type. + True if registered. + + + + Indicates whether an extension is registered. + + File path. + Content type. + True if registered. + + + + Registers a content type. + + Content type. + Base types. + + + + Registers an extension to a content type. + + File path. + Content type. + True if registered. + + + + Interface for a file type management service provider. + + + + + Gets an instance of the IFileTypeManagementService interface. + + IFileTypeManagementService instance. + + + + For handling the SettingChanged event + + + + + Used in the SettingChanged event + + + + + Last accessed directory key. + + + + + Last selected category key. + + + + + Last selected template key. + + + + + Line numbers enabled key. + + + + + Word wrap enabled key. + + + + + Font size key. + + + + + Font family key. + + + + + Tab size key. + + + + + Insert spaces fro tabs key. + + + + + Show white spaces key. + + + + + Theme file location key. + + + + + Debug no tab colors key. + + + + + Sync tree selection key. + + + + + Surface background brush key. + + + + + Initializes a new instance of the SettingChangedEventArgs class. + + Setting key. + + + + Gets or sets the setting key. + + + + + Interface that represents editor settings. + + + + + Gets or sets the font size in points. + + + + + Gets or sets whether line numbers are enabled. + + + + + Gets or sets whether word wrap is enabled. + + + + + Gets or sets the font family. + + + + + Gets or sets the tab size. + + + + + Gets or sets whether spaces are inserted for tabs. + + + + + Gets or sets whether whitespace is shown. + + + + + Gets or sets the surface background brush. + + + + + Interface that represents an editor settings provider. + + + + + Event that is invoked when a setting has changed. + + + + + Gets or sets the theme file location. + + + + + IExtension implementation that provides a convenient starting-point for creating a WebMatrix extension. + + + + + Interface that all WebMatrix extensions are required to implement. + + + + + Gets the user-friendly name of the extension. + + MyExtension + + + + Gets the user-friendly version of the extension. + + 1.0 + + + + Gets a sequence of Ribbon items that are always available. + + + + + Gets a sequence of Dashboard items. + + + + + Initializes a new instance of the ExtensionBase class. + + User-friendly extension name. + User-friendly extension version. + + + + Stores the IWebMatrixHost host interface. + + + + + Method that is called when the WebMatrixHost property changes + + Old value. + New value. + + + + Gets the user-friendly name of the extension. + + MyExtension + + + + Gets the user-friendly version of the extension. + + 1.0 + + + + Gets a sequence of Dashboard items. + + + + + Gets a collection of IDashboardItem instances. + + + + + Gets a sequence of Ribbon items that are always available. + + + + + Gets a collection of IRibbonItem instances. + + + Must be set in the constructor and not modified afterward. + + + + + Gets the IWebMatrixHost host instance. + + + + + A descriptor used to access the site hierarchy + + + + + For internal use only + + For internal use only + For internal use only + + + + Comparer + + object to compare to + true for match + + + + Comparer + + object to compare to + true for match + + + + Comparer + + object to compare to + object to compare to + true for match + + + + Comparer + + object to compare to + object to compare to + true for match + + + + Get Hash Code + + hash code + + + + To String + + string representation + + + + Currently active hierarchy identifier + if the HierarchyInfoGuid does't match it, it's stale + + + + + Hierarchy Tree identifier for the item + Used to enusre that no stale items are being reused + + + + + Id of the item in the hierarchy + + + + + Browser interface implemented by each browser supplied by an extension. + + + + + Called to cause the browser to display the specified url. + + The location to browse to. + + + + The short name displayed on menus. + + + + + The image to be displayed on the menu and overlayed on run button. + + + + + The unlocalized ID of the browser. + + + + + Exported by extensions that want to provide browsers dynamically. + + + + + Returns the collection of browsers supplied by the provider. + + + + + Interface for providing custom content for a dialog and having control over when it closes. + + + + + Event to invoke when the dialog should close. + + + + + Interface to pass into the GetIEditor command + + + + + Fill this container with the data + + + + + Lightweight text editor interface + + + + + Represents all the text in the editor. Setting the text + will clear the dirty state. + + + + + This tells the editor what type of the content it holds + by using a file extension (like "txt", "html", etc...) + + + + + When true, the user can't edit the text + + + + + Was the text modified by the user? + + + + + Occurs after the value of the Dirty property has changed + + + + + Readonly is changing + + + + + Gets optional services of this editor + + + + + Allows adding tabs to the bottom of the editor page + + + + + Adds a task tab + + Unique id for the tab + Descriptor of tab content and header + + + + Remove a task tab + + Unique id for the tab + + + + Shows the tab if it's not visibile, otherwise noop. Will throw if tab doesn't exist + + Unique id for the tab + + + + Checks if tab exists + + Unique id for the tab + true if tab exists + + + + Returns a descriptor if tab exists + + Unique id for the tab + Descriptor of tab content and header + true if tab exists + + + + Shows the whole tab control + + + + + Hides the whole tab control + + + + + Fires when the page changes (typically when switching from local to remote or changing sites) + In this case all tabs are removed and the extension implementor should re-add the tabs + + + + + Options interface for Copy as Html in editor + In order to override default options, implement the interface fully and export it + WebMatrix will only pick the first options it find in the MEF catalog + + + + + Html snippet to be inserted before the markup generated + Null for default value + + + + + Html snippet to be inserted after the markup generated + Null for default value + + + + + Space string + Null for default value + + + + + Replace line break with BR + Null for default value + + + + + Emit span style + Null for default value + + + + + Emit span class + Null for default value + + + + + Import this to get HtmlCopyDefault options + + + + + A method + + Typically MyDocuments\My WebSites + should look like MyDocuments\My WebSites\{MynewcreatedSite} + true for success + + + + A provider that will add new site creation options to WebMatrix + It is designed to optionally show up whenever webmatrix exposes a new site UI + + + + + Icon to be shown next to the text + Icon must be present, otherwise the menu will not be shown + + + + + Text to be shown, limit length of text, it will be trimmed if too long + + + + + Optional tooltip + + + + + Delegate to be called by WebMatrix to initiate creating the site + The implementor should create a folder, populate it with files, and if desired setup + databases etc. + + WebMatrix will then create the site by calling site from folder command. + When the site is created and opened, the website changed event will fire, the implementor can then + use it for any fixups he wants to do on the site post creation + + + + + Interface for interacting with per-site preferences. + + + + + Clears value from preferences if that value exists. + Does nothing if key is not present. + + + + + + Check if preferences contains a particular value + + Preferences key name + True if value has been set. False otherwise. + + + + Returns a preferences value given a key. Returns + null if no value was set. + + + + + + + Sets a value in the store. Overwrites the existing value + if there is one. + + + + + + + Persist any changes to site preferences + + + + + Interface for specifying information about protected paths. + + + + + Relative path of the folder or file. + + + + + Value indicating whether the folder or file is protected. + + + + + Value indicating whether to allow the relative path to match in nested folders (i.e., sub-directories). + + + + + Interface for representing a contextual tab on the Ribbon. + + + + + Interface for representing an item on the Ribbon. + + + + + Gets a label for the item. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets a value indicating whether the contextual tab is visible. + + + + + Interface that represents a category in a Ribbon gallery. + + + + + Gets the header text. + + + + + Gets a sequence of items in the category. + + + + + Gets a DataTemplate used to display the items in the category. + + + + + Gets a Style used for the containers of items in the category. + + + + + Gets the number of columns to use for laying out items in the category. + + + + + Interface for representing a group on the Ribbon. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets a value indicating whether the group is visible. + + + + + Interface for representing a menu-button on the Ribbon. + + + + + Gets a sequence of IRibbonButtons to show when the menu-button is pressed. + + + + + Gets a 16x16 image for the button. + + + + + Gets a 32x32 image for the button. + + + + + Interface for representing a split-button on the Ribbon. + + + + + Interface for representing a button on the Ribbon. + + + + + Gets the command to invoke when the button is pressed. + + + + + Gets or sets the command ID to invoke when the button is pressed. + + + + + Gets or sets the command parameter to pass to the Command or CommandId. + + + + + Gets a 16x16 image for the button. + + + + + Gets a 32x32 image for the button. + + + + + Gets a sequence of IRibbonButtons to show when the split-button is expanded. + + + + + Interface for representing a split-button on the Ribbon that expands to a gallery. + + + + + Gets a sequence of category instances for the gallery. + + + + + Gets the command to invoke when an item is chosen from the gallery. + + + + + Gets the command ID to invoke when an item is chosen from the gallery. + + + + + Gets an action to invoke when the gallery is opening. + + + + + Gets an action to invoke when the gallery is closing. + + + + + Interface that represents a file in the site. + + + + + Interface that represents a file or folder in the site. + + + + + Interface that represents an item in the site. + + + + + Gets the path of the file or folder. + + + + + Gets or sets the imagesource for secondary icon on the hierarchyItem + + + + + Gets or sets the tooltip text for secondary icon on the hierarchyItem + + + + + A service that provides hookups for file changes in the site + + Note that all events are lost when a site is changed + + + + + Register for change notifications for a site. + + The types of notifications you want to receive. + The handler to call with notifications. + The rename handler + Returns true if the notification can be provided, otherwise false + + + + Deregister for all change notification for a path + + The types of notifications you want to receive. + The handler which was receiving the notifications previously. + The rename handler + + + + Interface that represents a folder (directory) in the site. + + + + + Class that specifies information about protected paths. + + + + + Initializes a new instance of the ProtectPathInfo class. + + Relative path of the folder or file. + Value indicating whether changes to the folder or file are allowed. + Value indicating whether to allow the relative path to match in nested folders (i.e., sub-directories). + + + + Relative path of the folder or file. + + + + + Value indicating whether changes to the folder or file are allowed. + + + + + Value indicating whether to allow the relative path to match in nested folders (i.e., sub-directories). + + + + + Class that represents a contextual tab on the Ribbon. + + + + + Initializes a new instance of the RibbonContextualTab class. + + Label for the tab. + Items in the tab. + + + + Stores a value indicating whether the contextual tab is visible. + + + + + Gets or sets a label for the tab. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets or sets a value indicating whether the contextual tab is visible. + + + + + Event invoked when a property change value. + + + + + Class that represents a category in a Ribbon gallery. + + + + + Initializes a new instance of the RibbonGalleryCategory class. + + Header text for the category. + + + + Stores a Style used for the containers of items in the category. + + + + + Stores the number of columns to use for laying out items in the category. + + + + + Invokes the INotifyPropertyChanged.PropertyChanged event. + + Name of the property that changed. + + + + Gets the header text. + + + + + Gets a sequence of items in the category. + + + Convenience implementation. + + + + + Gets a sequence of items in the category. + + + Interface definition. + + + + + Gets a DataTemplate used to display the items in the category. + + + + + Gets or sets a Style used for the containers of items in the category. + + + + + Gets or sets the number of columns to use for laying out items in the category. + + + + + Event invoked when a property change value. + + + + + Class that represents a group on the Ribbon. + + + + + Initializes a new instance of the RibbonGroup class. + + Label for the group. + Items in the group. + + + + Stores a value indicating whether the group is visible. + + + + + Gets or sets a label for the group. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets or sets a value indicating whether the group is visible. + + + + + Event invoked when a property change value. + + + + + Class that represents a Ribbon menu-button. + + + + + Initializes a new instance of the RibbonMenuButton class. + + Label for the item. + Sequence of IRibbonButtons to show when the menu-button is pressed. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonMenuButton class. + + Label for the item. + Sequence of IRibbonButtons to show when the menu-button is pressed. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets or sets a label for the item. + + + + + Gets a sequence of IRibbonButtons to show when the menu-button is pressed. + + + + + Gets or sets a 16x16 image for the button. + + + + + Gets or sets a 32x32 image for the button. + + + + + Class that represents a Ribbon split-button. + + + + + Class that represents a Ribbon button. + + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command ID to invoke when the button is pressed + Command parameter for command or commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets or sets a label for the item. + + + + + Gets or sets the command to invoke when the button is pressed. + + + + + Gets or sets the command ID to invoke when the button is pressed. + + + + + Gets or sets the command parameter to pass to the Command or CommandId. + + + + + Gets or sets a 16x16 image for the button. + + + + + Gets or sets a 32x32 image for the button. + + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for commandId. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets a sequence of IRibbonButtons to show when the split-button is expanded. + + + + + Class that represents a Ribbon split-button that expands to a gallery. + + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command to invoke when the button is pressed. + Command ID to invoke when the button is pressed. + Command parameter for command. + Command to invoke when a gallery item is selected. + Command ID to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + Command to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command ID to invoke when the button is pressed. + Command parameter for command. + Command ID to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + Command to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command ID to invoke when the button is pressed. + Command parameter for command. + Command ID to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets a sequence of category instances for the gallery. + + + + + Gets the command to invoke when an item is chosen from the gallery. + + + + + Gets or sets the command ID to invoke when an item is chosen from the gallery. + + + + + Gets or sets an action to invoke when the gallery is opening. + + + + + Gets or sets an action to invoke when the gallery is closing. + + + + + Class that represents a Ribbon toggle button. + + + + + Interface for representing a toggle button on the Ribbon. + + + + + Gets or sets a value indicating whether the button is checked (toggled) or not. + + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Stores a value indicating whether the button is checked (toggled) or not. + + + + + Gets or sets a value indicating whether the button is checked (toggled) or not. + + + + + Event invoked when a property change value. + + + + + Class that defines a command ID. + + + + + Gets the group ID for the command. + + + + + Gets a unique ID for the command (within its group). + + + + + Gets the name of the command (for diagnostic purposes). + + + + + Interface that represents the WebMatrix editor workspace. + + + + + Interface that represents a WebMatrix workspace. + + + + + Gets the title of the workspace. + + + + + Gets the description of the workspace. + + + + + Gets a 28x25 image for the workspace. + + + + + Common command IDs: + Composed of the GroupId which is a guid separating the group. + and the Id enum desribing the individual command. + + + + + GUID group ID for the common commands. + + + + + Initializes the CommonCommandIds class. + + + + + Gets the common command GroupId; can be passed to ICommandTarget. + + + + + Enumeration values for command IDs; can be passed to ICommandTarget. + + + + + Nothing. + + + + + Application Exit command ID. + + + + + Show application options command ID. + + + + + Close All command ID. + + + + + Global copy command ID. + + + + + Global cut command ID. + + + + + Delete command ID. + + + + + Permanently delete command ID. + + + For example: permanently delete a file from the tree and the file system. + + + + + Online help command ID. + + + + + Navigate to db manager command ID (to db manager workspace). + + + + + Navigate to editor command ID (to editor workspace). + + + + + Navigate to seo command ID (to reports workspace). + + + + + Navigate to site command ID (to site workspace). + + + + + Global paste command ID. + + + + + Global redo command ID. + + + + + Refresh command ID (such as refresh the tree). + + + + + Rename command ID (such as rename a file name). + + + + + Save all command ID. + + + + + Save as command ID. + + + + + Save command ID. + + + + + Global undo command ID. + + + + + Show application about command ID. + + + + + Toggle "full view" by minimizing or restoring the Ribbon and left/right panes. + + + + + Show extensions gallery dialog. + + + + + Interface for accessing commands exposed by the host. + + + + + Gets (or creates) an arbitrary command identified by group and ID. + + Command group. + Command identifier. + ICommand reference. + + + + Gets the "copy" command. + + + + + Gets the "cut" command. + + + + + Gets the "paste" command. + + + + + Gets the "exit" command. + + + + + Interface for interacting with a web site. + + + + + Gets the URI for the site on the local machine. + + + + + Gets the physical path for the site on the local machine. + + + + + Gets the Web Platform Installer application identifier for the site's application. + + + Returns null if the site is not a recognized application. + + + + + Get site preferences + + + + + GUID for the 2K command set. This is a set of standard editor commands. + + + + + Set of the standard, shared editor commands in StandardCommandSet2k. + + + + + Class that represents the event arguments for a help request. + + + + + Initializes a new instance of the HelpInvokedEventArgs class. + + Context for the event. + + + + Gets a value indicating the context for the help request (such as the focused UI element). + + + + + Interface for interacting with the WebMatrix host. + + + + + Gets an ISiteItem from a given HierarchyId + + + + + + + Adds a sequence of Ribbon items to the Ribbon. + + Sequence of IRibbonItems. + + + + Adds a sequence of dashboard items to the dashboard. + + Sequence of IDashboardItems. + + + + Applies a set of IProtectPathInfo rules to the site's files. + + Set of rules to apply. + + Resets any protection already in place. + + + + + Shows a modal dialog box with the specified title/content. + + + Buttons for OK/Cancel will be provided unless the content parameter implements + IDialogContent (in which case it should invoke the CloseDialog event when complete). + + Title for the dialog. + Content for the dialog. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a modal dialog box with the specified title/content/size. + + + Buttons for OK/Cancel will be provided unless the content parameter implements + IDialogContent (in which case it should invoke the CloseDialog event when complete). + + Title for the dialog. + Content for the dialog. + Size for the dialog. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a modal dialog box with the specified title/content/buttons. + + Title for the dialog. + Content for the dialog. + Buttons to show. + Default button. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a modal dialog box with the specified title/content/size/buttons. + + Title for the dialog. + Content for the dialog. + Size for the dialog. + Buttons to show. + Default button. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a notification message for a brief period of time. + + Message to show. + + + + Shows a notification message and an actionable link for a brief period of time. + + Message to show. + Message for the actionable link. + Action to execute when the link is invoked. + + + + Gets the user-friendly name of the extension. + + MyExtension + + + + Gets the user-friendly version of the extension. + + v1.0 + + + + Gets or sets the current workspace. + + + + + Event that is invoked when the current workspace changes. + + + + + Event that is invoked when an item is removed from the file tree. + Indiciates that any caching related to that file might not be necessary anymore + and references may be removed. + + + + + Event that is invoked when an item is add to the file tree. + At that point a single icon and tooltip can be set + if multiple handlers are assigned, the last one will win. + + + + + Gets a collection of available workspaces. + + + + + Gets the current web site. + + + + + Event that is invoked when the current web site changes. + + + + + Gets an object that exposes commands supported by the host. + + + + + Event that is invoked when the user opens a context menu for an item in the tree view. + + + + + Event that is invoked when the user initiates a help request. + + + + + A descriptor used to create the task tab in the editor space + + + + + A descriptor used to create the task tab + + Image to be displayed on top of the tab (optional, null for no image) + Text to be displayed on top of the tab + The content element to be displayed in the task tab + The brush used to paint a strip on top of the tab + + + + Image to be displayed on top of the tab (will be optionally used by WebMatrix) + + + + + Text to be displayed on top of the tab + + + + + The content element to be displayed in the task tab + + + + + Will be optionally used as a strip of color on top of your brush + + + + + PropertyChanged event from INotifyPropertyInterface + + + + + Eventargs for the event fired when an item is added to the tree + + + + + Constructor + + + + + HierachyId used to find the SiteItem from the WebMatrixHost + + + + + EventArgs for the event where an item is removed from the WebMatrix tree + + + + + Item that was removed from the tree, caching of any info for that item might + not be necessary anymore + + + + + Class that exposes a variety of helpful utility methods. + + + + + Converts a Bitmap instance into an ImageSource. + + Bitmap instance to convert. + Converted ImageSource. + + + + Class that provides P/Invoke access to Windows APIs. + + + + + P/Invokes to the Windows DeleteObject API. + + HANDLE to object to delete. + True iff successful. + + + + Class that represents the event arguments for a WorkspaceChanged event. + + + + + Initializes a new instance of the WorkspaceChangedEventArgs class. + + Old workspace. + New workspace. + + + + Gets a value indicating the old (previous) workspace. + + + + + Gets a value indicating the new (current) workspace. + + + + diff --git a/OrangeBits/bin/Debug/OrangeBits.dll b/OrangeBits/bin/Debug/OrangeBits.dll new file mode 100644 index 0000000..241595b Binary files /dev/null and b/OrangeBits/bin/Debug/OrangeBits.dll differ diff --git a/OrangeBits/bin/Debug/OrangeBits.dll.config b/OrangeBits/bin/Debug/OrangeBits.dll.config new file mode 100644 index 0000000..3e4f9f3 --- /dev/null +++ b/OrangeBits/bin/Debug/OrangeBits.dll.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/OrangeBits/bin/Debug/OrangeBits.pdb b/OrangeBits/bin/Debug/OrangeBits.pdb new file mode 100644 index 0000000..5eb519d Binary files /dev/null and b/OrangeBits/bin/Debug/OrangeBits.pdb differ diff --git a/OrangeBits/bin/Debug/SassAndCoffee.Core.dll b/OrangeBits/bin/Debug/SassAndCoffee.Core.dll new file mode 100644 index 0000000..1bc0b46 Binary files /dev/null and b/OrangeBits/bin/Debug/SassAndCoffee.Core.dll differ diff --git a/OrangeBits/bin/Debug/SassAndCoffee.Core.pdb b/OrangeBits/bin/Debug/SassAndCoffee.Core.pdb new file mode 100644 index 0000000..1ffaec0 Binary files /dev/null and b/OrangeBits/bin/Debug/SassAndCoffee.Core.pdb differ diff --git a/OrangeBits/bin/Debug/dotless.Core.dll b/OrangeBits/bin/Debug/dotless.Core.dll new file mode 100644 index 0000000..03f9f42 Binary files /dev/null and b/OrangeBits/bin/Debug/dotless.Core.dll differ diff --git a/OrangeBits/bin/Release/SassAndCoffee.Core.dll b/OrangeBits/bin/Release/SassAndCoffee.Core.dll new file mode 100644 index 0000000..1bc0b46 Binary files /dev/null and b/OrangeBits/bin/Release/SassAndCoffee.Core.dll differ diff --git a/OrangeBits/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/OrangeBits/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..bff7d6a Binary files /dev/null and b/OrangeBits/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/OrangeBits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/OrangeBits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..9d13c04 Binary files /dev/null and b/OrangeBits/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/OrangeBits/obj/Debug/OrangeBits.csproj.FileListAbsolute.txt b/OrangeBits/obj/Debug/OrangeBits.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..2a40962 --- /dev/null +++ b/OrangeBits/obj/Debug/OrangeBits.csproj.FileListAbsolute.txt @@ -0,0 +1,49 @@ +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.dll +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.pdb +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.WebMatrix.Extensibility.dll +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.WebMatrix.Extensibility.xml +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\obj\Debug\ResolveAssemblyReference.cache +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits.g.resources +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits.dll +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits.pdb +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits_MarkupCompile.cache +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\obj\Debug\SettingsDialog.baml +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\obj\Debug\SettingsDialog.g.cs +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\bin\Debug\dotless.Core.dll +C:\Users\justbe\Mesh\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.dll.config +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.dll.config +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\dotless.Core.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.WebMatrix.Extensibility.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.WebMatrix.Extensibility.xml +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\obj\Debug\ResolveAssemblyReference.cache +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\IronRuby.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\IronRuby.Libraries.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\IronRuby.Libraries.Yaml.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.Dynamic.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.Scripting.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.Scripting.Metadata.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\SassAndCoffee.Core.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\ComImports.ActiveScript.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\ComImports.JavaScriptEngines.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.dll.config +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\OrangeBits.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\dotless.Core.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\IronRuby.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\IronRuby.Libraries.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\IronRuby.Libraries.Yaml.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.Dynamic.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.Scripting.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.Scripting.Metadata.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.WebMatrix.Extensibility.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\ComImports.ActiveScript.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\ComImports.JavaScriptEngines.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\Microsoft.WebMatrix.Extensibility.xml +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\bin\Debug\SassAndCoffee.Core.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\obj\Debug\ResolveAssemblyReference.cache +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\OrangeBits\obj\Debug\OrangeBits.pdb diff --git a/OrangeBits/obj/Debug/OrangeBits.dll b/OrangeBits/obj/Debug/OrangeBits.dll new file mode 100644 index 0000000..241595b Binary files /dev/null and b/OrangeBits/obj/Debug/OrangeBits.dll differ diff --git a/OrangeBits/obj/Debug/OrangeBits.pdb b/OrangeBits/obj/Debug/OrangeBits.pdb new file mode 100644 index 0000000..5eb519d Binary files /dev/null and b/OrangeBits/obj/Debug/OrangeBits.pdb differ diff --git a/OrangeBits/obj/Debug/OrangeBits_MarkupCompile.i.cache b/OrangeBits/obj/Debug/OrangeBits_MarkupCompile.i.cache new file mode 100644 index 0000000..9f4abcd --- /dev/null +++ b/OrangeBits/obj/Debug/OrangeBits_MarkupCompile.i.cache @@ -0,0 +1,20 @@ +OrangeBits + + +library +C# +.cs +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\obj\Debug\ +OrangeBits +none +false +DEBUG;TRACE + +1906793466 + +151521956684 +25-158490736 +SettingsDialog.xaml; + +False + diff --git a/OrangeBits/obj/Debug/ResolveAssemblyReference.cache b/OrangeBits/obj/Debug/ResolveAssemblyReference.cache new file mode 100644 index 0000000..e473a4e Binary files /dev/null and b/OrangeBits/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/OrangeBits/obj/Debug/Settings.g.i.cs b/OrangeBits/obj/Debug/Settings.g.i.cs new file mode 100644 index 0000000..5f81c43 --- /dev/null +++ b/OrangeBits/obj/Debug/Settings.g.i.cs @@ -0,0 +1,87 @@ +#pragma checksum "..\..\Settings.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "43C819C4751986879584DE24767E57CE" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.239 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace OrangeBits { + + + /// + /// Settings + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public partial class Settings : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + + #line 9 "..\..\Settings.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label label1; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/OrangeBits;component/settings.xaml", System.UriKind.Relative); + + #line 1 "..\..\Settings.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.label1 = ((System.Windows.Controls.Label)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/OrangeBits/obj/Debug/SettingsDialog.g.i.cs b/OrangeBits/obj/Debug/SettingsDialog.g.i.cs new file mode 100644 index 0000000..eb4dc73 --- /dev/null +++ b/OrangeBits/obj/Debug/SettingsDialog.g.i.cs @@ -0,0 +1,131 @@ +#pragma checksum "..\..\SettingsDialog.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6098436B1706A544F402ABBD04B16180" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.239 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace OrangeBits { + + + /// + /// SettingsDialog + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public partial class SettingsDialog : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + + #line 9 "..\..\SettingsDialog.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.GroupBox groupBox1; + + #line default + #line hidden + + + #line 11 "..\..\SettingsDialog.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox cbAutoCompileLess; + + #line default + #line hidden + + + #line 12 "..\..\SettingsDialog.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox cbAutoCompileSass; + + #line default + #line hidden + + + #line 13 "..\..\SettingsDialog.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox cbAutoCompileScss; + + #line default + #line hidden + + + #line 14 "..\..\SettingsDialog.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.CheckBox cbAutoCompileCoffee; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/OrangeBits;component/settingsdialog.xaml", System.UriKind.Relative); + + #line 1 "..\..\SettingsDialog.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.groupBox1 = ((System.Windows.Controls.GroupBox)(target)); + return; + case 2: + this.cbAutoCompileLess = ((System.Windows.Controls.CheckBox)(target)); + return; + case 3: + this.cbAutoCompileSass = ((System.Windows.Controls.CheckBox)(target)); + return; + case 4: + this.cbAutoCompileScss = ((System.Windows.Controls.CheckBox)(target)); + return; + case 5: + this.cbAutoCompileCoffee = ((System.Windows.Controls.CheckBox)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/OrangeBits/obj/Debug/UserControl1.g.i.cs b/OrangeBits/obj/Debug/UserControl1.g.i.cs new file mode 100644 index 0000000..cabddc7 --- /dev/null +++ b/OrangeBits/obj/Debug/UserControl1.g.i.cs @@ -0,0 +1,87 @@ +#pragma checksum "..\..\UserControl1.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A09F8D6D5B40C3B43C9F0F023B7849A3" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.239 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace OrangeBits { + + + /// + /// UserControl1 + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public partial class UserControl1 : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { + + + #line 9 "..\..\UserControl1.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label label1; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/OrangeBits;component/usercontrol1.xaml", System.UriKind.Relative); + + #line 1 "..\..\UserControl1.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.label1 = ((System.Windows.Controls.Label)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/OrangeBits/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/OrangeBits/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..d2cf8d2 Binary files /dev/null and b/OrangeBits/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/OrangeBits/obj/Release/OrangeBits.csproj.FileListAbsolute.txt b/OrangeBits/obj/Release/OrangeBits.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d858f3c --- /dev/null +++ b/OrangeBits/obj/Release/OrangeBits.csproj.FileListAbsolute.txt @@ -0,0 +1 @@ +C:\Users\justbe\Dropbox\Code\OrangeBits\OrangeBits\obj\Release\ResolveAssemblyReference.cache diff --git a/OrangeBits/obj/Release/ResolveAssemblyReference.cache b/OrangeBits/obj/Release/ResolveAssemblyReference.cache new file mode 100644 index 0000000..462ba46 Binary files /dev/null and b/OrangeBits/obj/Release/ResolveAssemblyReference.cache differ diff --git a/OrangeBits/obj/Release/build.force b/OrangeBits/obj/Release/build.force new file mode 100644 index 0000000..e69de29 diff --git a/OrangeBits/packages.config b/OrangeBits/packages.config new file mode 100644 index 0000000..5ffce36 --- /dev/null +++ b/OrangeBits/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/TestResults/justbe_JUSTBE-TP 2011-11-20 21_59_41.trx b/TestResults/justbe_JUSTBE-TP 2011-11-20 21_59_41.trx new file mode 100644 index 0000000..18d3786 --- /dev/null +++ b/TestResults/justbe_JUSTBE-TP 2011-11-20 21_59_41.trx @@ -0,0 +1,40 @@ + + + + These are default test settings for a local test run. + + + + + + + + + + + + + + + Test host process exited unexpectedly. + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TestResults/justbe_JUSTBE-TP 2011-11-20 21_59_41/Out/AgentRestart.dat b/TestResults/justbe_JUSTBE-TP 2011-11-20 21_59_41/Out/AgentRestart.dat new file mode 100644 index 0000000..fc5ae5d Binary files /dev/null and b/TestResults/justbe_JUSTBE-TP 2011-11-20 21_59_41/Out/AgentRestart.dat differ diff --git a/TestResults/justbe_JUSTBE-TP 2011-11-20 22_00_37.trx b/TestResults/justbe_JUSTBE-TP 2011-11-20 22_00_37.trx new file mode 100644 index 0000000..8e6a5b0 --- /dev/null +++ b/TestResults/justbe_JUSTBE-TP 2011-11-20 22_00_37.trx @@ -0,0 +1,40 @@ + + + + These are default test settings for a local test run. + + + + + + + + + + + + + + + Test host process exited unexpectedly. + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TestResults/justbe_JUSTBE-TP 2011-11-20 22_00_37/Out/AgentRestart.dat b/TestResults/justbe_JUSTBE-TP 2011-11-20 22_00_37/Out/AgentRestart.dat new file mode 100644 index 0000000..67546f9 Binary files /dev/null and b/TestResults/justbe_JUSTBE-TP 2011-11-20 22_00_37/Out/AgentRestart.dat differ diff --git a/TestResults/justbe_JUSTBE-TP 2011-11-20 22_01_18.trx b/TestResults/justbe_JUSTBE-TP 2011-11-20 22_01_18.trx new file mode 100644 index 0000000..be7c708 --- /dev/null +++ b/TestResults/justbe_JUSTBE-TP 2011-11-20 22_01_18.trx @@ -0,0 +1,35 @@ + + + + These are default test settings for a local test run. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TraceAndTestImpact.testsettings b/TraceAndTestImpact.testsettings new file mode 100644 index 0000000..3d4fe33 --- /dev/null +++ b/TraceAndTestImpact.testsettings @@ -0,0 +1,21 @@ + + + These are test settings for Trace and Test Impact. + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UnitTests/Properties/AssemblyInfo.cs b/UnitTests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2a0a992 --- /dev/null +++ b/UnitTests/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("UnitTests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("UnitTests")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("c6917acc-b7e1-4669-8d89-9c8c3d0f77cc")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/UnitTests/UnitTest1.cs b/UnitTests/UnitTest1.cs new file mode 100644 index 0000000..a30a892 --- /dev/null +++ b/UnitTests/UnitTest1.cs @@ -0,0 +1,72 @@ +using System; +using System.Text; +using System.Collections.Generic; +using System.Linq; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using OrangeBits.Compilers; + +namespace UnitTests +{ + /// + /// Summary description for UnitTest1 + /// + [TestClass] + public class UnitTest1 + { + public UnitTest1() + { + // + // TODO: Add constructor logic here + // + } + + private TestContext testContextInstance; + + /// + ///Gets or sets the test context which provides + ///information about and functionality for the current test run. + /// + public TestContext TestContext + { + get + { + return testContextInstance; + } + set + { + testContextInstance = value; + } + } + + #region Additional test attributes + // + // You can use the following additional attributes as you write your tests: + // + // Use ClassInitialize to run code before running the first test in the class + // [ClassInitialize()] + // public static void MyClassInitialize(TestContext testContext) { } + // + // Use ClassCleanup to run code after all tests in a class have run + // [ClassCleanup()] + // public static void MyClassCleanup() { } + // + // Use TestInitialize to run code before running each test + // [TestInitialize()] + // public void MyTestInitialize() { } + // + // Use TestCleanup to run code after each test has run + // [TestCleanup()] + // public void MyTestCleanup() { } + // + #endregion + + [TestMethod] + public void TestMethod1() + { + string inPath = @"C:\Users\justbe\Dropbox\Code\express-template\public\stylesheets\StyleSheet.less"; + string outPath = @"C:\Users\justbe\Dropbox\Code\express-template\public\stylesheets\StyleSheet.css"; + LessCompiler compiler = new LessCompiler(); + compiler.Compile(inPath, outPath); + } + } +} diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj new file mode 100644 index 0000000..6a7ab40 --- /dev/null +++ b/UnitTests/UnitTests.csproj @@ -0,0 +1,65 @@ + + + + Debug + AnyCPU + + + 2.0 + {4C102372-8D0A-47B4-BDB8-AC9E1EC9550A} + Library + Properties + UnitTests + UnitTests + v4.0 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + 3.5 + + + + + False + + + + + + + + + {A93FE0DC-E26F-4145-B3E3-283DF9B2FE77} + OrangeBits + + + + + \ No newline at end of file diff --git a/UnitTests/bin/Debug/ComImports.ActiveScript.dll b/UnitTests/bin/Debug/ComImports.ActiveScript.dll new file mode 100644 index 0000000..9143adf Binary files /dev/null and b/UnitTests/bin/Debug/ComImports.ActiveScript.dll differ diff --git a/UnitTests/bin/Debug/ComImports.ActiveScript.pdb b/UnitTests/bin/Debug/ComImports.ActiveScript.pdb new file mode 100644 index 0000000..c345e6a Binary files /dev/null and b/UnitTests/bin/Debug/ComImports.ActiveScript.pdb differ diff --git a/UnitTests/bin/Debug/ComImports.JavaScriptEngines.dll b/UnitTests/bin/Debug/ComImports.JavaScriptEngines.dll new file mode 100644 index 0000000..e622fc9 Binary files /dev/null and b/UnitTests/bin/Debug/ComImports.JavaScriptEngines.dll differ diff --git a/UnitTests/bin/Debug/ComImports.JavaScriptEngines.pdb b/UnitTests/bin/Debug/ComImports.JavaScriptEngines.pdb new file mode 100644 index 0000000..d4a6444 Binary files /dev/null and b/UnitTests/bin/Debug/ComImports.JavaScriptEngines.pdb differ diff --git a/UnitTests/bin/Debug/IronRuby.dll b/UnitTests/bin/Debug/IronRuby.dll new file mode 100644 index 0000000..3f99961 Binary files /dev/null and b/UnitTests/bin/Debug/IronRuby.dll differ diff --git a/UnitTests/bin/Debug/Microsoft.Dynamic.dll b/UnitTests/bin/Debug/Microsoft.Dynamic.dll new file mode 100644 index 0000000..b28b36c Binary files /dev/null and b/UnitTests/bin/Debug/Microsoft.Dynamic.dll differ diff --git a/UnitTests/bin/Debug/Microsoft.Scripting.Metadata.dll b/UnitTests/bin/Debug/Microsoft.Scripting.Metadata.dll new file mode 100644 index 0000000..2d1bcf4 Binary files /dev/null and b/UnitTests/bin/Debug/Microsoft.Scripting.Metadata.dll differ diff --git a/UnitTests/bin/Debug/Microsoft.Scripting.dll b/UnitTests/bin/Debug/Microsoft.Scripting.dll new file mode 100644 index 0000000..0c26390 Binary files /dev/null and b/UnitTests/bin/Debug/Microsoft.Scripting.dll differ diff --git a/UnitTests/bin/Debug/Microsoft.WebMatrix.Extensibility.dll b/UnitTests/bin/Debug/Microsoft.WebMatrix.Extensibility.dll new file mode 100644 index 0000000..77f2c52 Binary files /dev/null and b/UnitTests/bin/Debug/Microsoft.WebMatrix.Extensibility.dll differ diff --git a/UnitTests/bin/Debug/Microsoft.WebMatrix.Extensibility.xml b/UnitTests/bin/Debug/Microsoft.WebMatrix.Extensibility.xml new file mode 100644 index 0000000..44d810c --- /dev/null +++ b/UnitTests/bin/Debug/Microsoft.WebMatrix.Extensibility.xml @@ -0,0 +1,2408 @@ + + + + Microsoft.WebMatrix.Extensibility + + + + + Class that represents an item in a context menu. + + + + + Interface for representing an item in a context menu. + + + + + Gets a label for the item. + + + + + Gets a 16x16 image for the item. + + + + + Gets the command to invoke when the button is selected. + + + + + Gets or sets the parameter to pass to the Command. + + + + + Initializes a new instance of the ContextMenuItem class. + + Label for the item. + 16x16 image for the item. + Command to invoke when the item is selected. + Parameter for the command. + + + + Gets a label for the item. + + + + + Gets a 16x16 image for the item. + + + + + Gets the command to invoke when the button is selected. + + + + + Gets or sets the parameter to pass to the Command. + + + + + Class that represents the event arguments for a context menu opening event. + + + + + Stores a list of added IContextMenuItem instances. + + + + + Initializes a new instance of the ContextMenuOpeningEventArgs class. + + Site item for which the context menu is opening. + + + + Adds a IContextMenuItem instance to the context menu. + + IContextMenuItem instance to add. + + + + Gets the site item for which the context menu is opening. + + + + + Gets a sequence of IContextMenuItem instances that were added to the context menu. + + + + + Class that represents a dashboard item. + + + + + Interface for representing an item on the dashboard. + + + + + Gets the item's title. + + + + + Gets the item's description. + + + + + Gets the URI to navigate to when the item is clicked. + + + + + Gets a 32x32 image to display next to the item. + + + + + Initializes a new instance of the DashboardItem class. + + Title of the item. + Description for the item. + URI for the item. + + + + Initializes a new instance of the DashboardItem class. + + Title of the item. + Description for the item. + URI for the item. + Image for the item. + + + + Initializes a new instance of the DashboardItem class. + + Title of the item. + Description for the item. + URI for the item. + Image for the item. + + + + Gets the item's title. + + + + + Gets the item's description. + + + + + Gets the URI to navigate to when the item is clicked. + + + + + Gets a 32x32 image to display next to the item. + + + + + Enumeration of dialog sizes for the IWebMatrixHost.ShowDialog methods. + + + + + Dialog will automatically size to its content. + + + + + Dialog size will be "small". + + + + + Dialog size will be "medium". + + + + + Dialog size will be "large". + + + + + Class that stores format data. + + + + + Copy constructor + + Data to copy + + + + Default constructor + + + + + Gets or sets the fore color. + + + + + Gets or sets the back color. + + + + + Gets or sets the bold setting. + + + + + True is this is a GlobalEditorFormat + + + + + Interface for an editor theme. + + + + + Gets the format data for a classification. + + Classification name. + FormatData instance. + + + + Converts the theme to XML. + + XML string. + + + + Saves the theme to a file. + + File name. + + + + Loads the theme from a file. + + File name. + + + + Gets the theme name. + + + + + Gets the surface background brush. + + + + + Gets the collapsed text background brush. + + + + + Gets or sets the default format. + + + + + Gets a dictionary of formats. + + + + + Class that exposes theme keys. + + + + + Theme key. + + + + + Default theme. + + + + + Default high contrast theme. + + + + + Interface for managing editor themes. + + + + + Saves the theme to the users folder, and sets it as the default theme for next startup. + + Theme to save, pass null to restore default. + + + + Applies the theme to the current live editor. + + Theme to apply, null for default theme. + + + + Applies theme to the provided IClassificationFormatMap format map. + + Theme to apply, null for default theme. + Format map to apply theme to. + + + + Gets the theme currently applied at the editor. + + + + + Current theme loaded from a theme file. + + + This can be a subset of the current editor theme. + For example, just C# related theme changes. + + + + + Interface for a theme manager service provider. + + + + + Gets an IThemeManager instance. + + + + + Class that represents an editor theme. + + + + + The global editor settings directly supported by the Theme + + + + + Initializes a new instance of the Theme class. + + Theme name. + + + + Saves the theme to a file. + + + This method is not protected and will throw exception. + + File name. + + + + Loads the theme from an XML string. + + XML string. + + + + Loads the theme from a file. + + File name. + + + + Converts the theme to XML. + + XML string. + + + + Gets the format data for a classification. + + Classification name. + FormatData instance. + + + + Gets or sets the default format. + + + + + Gets the theme name. + + + + + Default value for selection format in the editor + + + + + Default value for inactive selection format in the editor + + + + + Default format for visible whitespace in the editor + + + + + Gets the surface background brush. + + + + + Gets the collapsed text background brush. + + + + + Gets a dictionary of formats. + + + + + Class that contains extensions for XmlDocument. + + + + + Serializes to an XML string. + + XmlDocument instance. + XML string. + + + + Interface for a file type management service. + + + + + Indicates whether a content type is registered. + + Content type. + True if registered. + + + + Indicates whether an extension is registered. + + File path. + Content type. + True if registered. + + + + Registers a content type. + + Content type. + Base types. + + + + Registers an extension to a content type. + + File path. + Content type. + True if registered. + + + + Interface for a file type management service provider. + + + + + Gets an instance of the IFileTypeManagementService interface. + + IFileTypeManagementService instance. + + + + For handling the SettingChanged event + + + + + Used in the SettingChanged event + + + + + Last accessed directory key. + + + + + Last selected category key. + + + + + Last selected template key. + + + + + Line numbers enabled key. + + + + + Word wrap enabled key. + + + + + Font size key. + + + + + Font family key. + + + + + Tab size key. + + + + + Insert spaces fro tabs key. + + + + + Show white spaces key. + + + + + Theme file location key. + + + + + Debug no tab colors key. + + + + + Sync tree selection key. + + + + + Surface background brush key. + + + + + Initializes a new instance of the SettingChangedEventArgs class. + + Setting key. + + + + Gets or sets the setting key. + + + + + Interface that represents editor settings. + + + + + Gets or sets the font size in points. + + + + + Gets or sets whether line numbers are enabled. + + + + + Gets or sets whether word wrap is enabled. + + + + + Gets or sets the font family. + + + + + Gets or sets the tab size. + + + + + Gets or sets whether spaces are inserted for tabs. + + + + + Gets or sets whether whitespace is shown. + + + + + Gets or sets the surface background brush. + + + + + Interface that represents an editor settings provider. + + + + + Event that is invoked when a setting has changed. + + + + + Gets or sets the theme file location. + + + + + IExtension implementation that provides a convenient starting-point for creating a WebMatrix extension. + + + + + Interface that all WebMatrix extensions are required to implement. + + + + + Gets the user-friendly name of the extension. + + MyExtension + + + + Gets the user-friendly version of the extension. + + 1.0 + + + + Gets a sequence of Ribbon items that are always available. + + + + + Gets a sequence of Dashboard items. + + + + + Initializes a new instance of the ExtensionBase class. + + User-friendly extension name. + User-friendly extension version. + + + + Stores the IWebMatrixHost host interface. + + + + + Method that is called when the WebMatrixHost property changes + + Old value. + New value. + + + + Gets the user-friendly name of the extension. + + MyExtension + + + + Gets the user-friendly version of the extension. + + 1.0 + + + + Gets a sequence of Dashboard items. + + + + + Gets a collection of IDashboardItem instances. + + + + + Gets a sequence of Ribbon items that are always available. + + + + + Gets a collection of IRibbonItem instances. + + + Must be set in the constructor and not modified afterward. + + + + + Gets the IWebMatrixHost host instance. + + + + + A descriptor used to access the site hierarchy + + + + + For internal use only + + For internal use only + For internal use only + + + + Comparer + + object to compare to + true for match + + + + Comparer + + object to compare to + true for match + + + + Comparer + + object to compare to + object to compare to + true for match + + + + Comparer + + object to compare to + object to compare to + true for match + + + + Get Hash Code + + hash code + + + + To String + + string representation + + + + Currently active hierarchy identifier + if the HierarchyInfoGuid does't match it, it's stale + + + + + Hierarchy Tree identifier for the item + Used to enusre that no stale items are being reused + + + + + Id of the item in the hierarchy + + + + + Browser interface implemented by each browser supplied by an extension. + + + + + Called to cause the browser to display the specified url. + + The location to browse to. + + + + The short name displayed on menus. + + + + + The image to be displayed on the menu and overlayed on run button. + + + + + The unlocalized ID of the browser. + + + + + Exported by extensions that want to provide browsers dynamically. + + + + + Returns the collection of browsers supplied by the provider. + + + + + Interface for providing custom content for a dialog and having control over when it closes. + + + + + Event to invoke when the dialog should close. + + + + + Interface to pass into the GetIEditor command + + + + + Fill this container with the data + + + + + Lightweight text editor interface + + + + + Represents all the text in the editor. Setting the text + will clear the dirty state. + + + + + This tells the editor what type of the content it holds + by using a file extension (like "txt", "html", etc...) + + + + + When true, the user can't edit the text + + + + + Was the text modified by the user? + + + + + Occurs after the value of the Dirty property has changed + + + + + Readonly is changing + + + + + Gets optional services of this editor + + + + + Allows adding tabs to the bottom of the editor page + + + + + Adds a task tab + + Unique id for the tab + Descriptor of tab content and header + + + + Remove a task tab + + Unique id for the tab + + + + Shows the tab if it's not visibile, otherwise noop. Will throw if tab doesn't exist + + Unique id for the tab + + + + Checks if tab exists + + Unique id for the tab + true if tab exists + + + + Returns a descriptor if tab exists + + Unique id for the tab + Descriptor of tab content and header + true if tab exists + + + + Shows the whole tab control + + + + + Hides the whole tab control + + + + + Fires when the page changes (typically when switching from local to remote or changing sites) + In this case all tabs are removed and the extension implementor should re-add the tabs + + + + + Options interface for Copy as Html in editor + In order to override default options, implement the interface fully and export it + WebMatrix will only pick the first options it find in the MEF catalog + + + + + Html snippet to be inserted before the markup generated + Null for default value + + + + + Html snippet to be inserted after the markup generated + Null for default value + + + + + Space string + Null for default value + + + + + Replace line break with BR + Null for default value + + + + + Emit span style + Null for default value + + + + + Emit span class + Null for default value + + + + + Import this to get HtmlCopyDefault options + + + + + A method + + Typically MyDocuments\My WebSites + should look like MyDocuments\My WebSites\{MynewcreatedSite} + true for success + + + + A provider that will add new site creation options to WebMatrix + It is designed to optionally show up whenever webmatrix exposes a new site UI + + + + + Icon to be shown next to the text + Icon must be present, otherwise the menu will not be shown + + + + + Text to be shown, limit length of text, it will be trimmed if too long + + + + + Optional tooltip + + + + + Delegate to be called by WebMatrix to initiate creating the site + The implementor should create a folder, populate it with files, and if desired setup + databases etc. + + WebMatrix will then create the site by calling site from folder command. + When the site is created and opened, the website changed event will fire, the implementor can then + use it for any fixups he wants to do on the site post creation + + + + + Interface for interacting with per-site preferences. + + + + + Clears value from preferences if that value exists. + Does nothing if key is not present. + + + + + + Check if preferences contains a particular value + + Preferences key name + True if value has been set. False otherwise. + + + + Returns a preferences value given a key. Returns + null if no value was set. + + + + + + + Sets a value in the store. Overwrites the existing value + if there is one. + + + + + + + Persist any changes to site preferences + + + + + Interface for specifying information about protected paths. + + + + + Relative path of the folder or file. + + + + + Value indicating whether the folder or file is protected. + + + + + Value indicating whether to allow the relative path to match in nested folders (i.e., sub-directories). + + + + + Interface for representing a contextual tab on the Ribbon. + + + + + Interface for representing an item on the Ribbon. + + + + + Gets a label for the item. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets a value indicating whether the contextual tab is visible. + + + + + Interface that represents a category in a Ribbon gallery. + + + + + Gets the header text. + + + + + Gets a sequence of items in the category. + + + + + Gets a DataTemplate used to display the items in the category. + + + + + Gets a Style used for the containers of items in the category. + + + + + Gets the number of columns to use for laying out items in the category. + + + + + Interface for representing a group on the Ribbon. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets a value indicating whether the group is visible. + + + + + Interface for representing a menu-button on the Ribbon. + + + + + Gets a sequence of IRibbonButtons to show when the menu-button is pressed. + + + + + Gets a 16x16 image for the button. + + + + + Gets a 32x32 image for the button. + + + + + Interface for representing a split-button on the Ribbon. + + + + + Interface for representing a button on the Ribbon. + + + + + Gets the command to invoke when the button is pressed. + + + + + Gets or sets the command ID to invoke when the button is pressed. + + + + + Gets or sets the command parameter to pass to the Command or CommandId. + + + + + Gets a 16x16 image for the button. + + + + + Gets a 32x32 image for the button. + + + + + Gets a sequence of IRibbonButtons to show when the split-button is expanded. + + + + + Interface for representing a split-button on the Ribbon that expands to a gallery. + + + + + Gets a sequence of category instances for the gallery. + + + + + Gets the command to invoke when an item is chosen from the gallery. + + + + + Gets the command ID to invoke when an item is chosen from the gallery. + + + + + Gets an action to invoke when the gallery is opening. + + + + + Gets an action to invoke when the gallery is closing. + + + + + Interface that represents a file in the site. + + + + + Interface that represents a file or folder in the site. + + + + + Interface that represents an item in the site. + + + + + Gets the path of the file or folder. + + + + + Gets or sets the imagesource for secondary icon on the hierarchyItem + + + + + Gets or sets the tooltip text for secondary icon on the hierarchyItem + + + + + A service that provides hookups for file changes in the site + + Note that all events are lost when a site is changed + + + + + Register for change notifications for a site. + + The types of notifications you want to receive. + The handler to call with notifications. + The rename handler + Returns true if the notification can be provided, otherwise false + + + + Deregister for all change notification for a path + + The types of notifications you want to receive. + The handler which was receiving the notifications previously. + The rename handler + + + + Interface that represents a folder (directory) in the site. + + + + + Class that specifies information about protected paths. + + + + + Initializes a new instance of the ProtectPathInfo class. + + Relative path of the folder or file. + Value indicating whether changes to the folder or file are allowed. + Value indicating whether to allow the relative path to match in nested folders (i.e., sub-directories). + + + + Relative path of the folder or file. + + + + + Value indicating whether changes to the folder or file are allowed. + + + + + Value indicating whether to allow the relative path to match in nested folders (i.e., sub-directories). + + + + + Class that represents a contextual tab on the Ribbon. + + + + + Initializes a new instance of the RibbonContextualTab class. + + Label for the tab. + Items in the tab. + + + + Stores a value indicating whether the contextual tab is visible. + + + + + Gets or sets a label for the tab. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets or sets a value indicating whether the contextual tab is visible. + + + + + Event invoked when a property change value. + + + + + Class that represents a category in a Ribbon gallery. + + + + + Initializes a new instance of the RibbonGalleryCategory class. + + Header text for the category. + + + + Stores a Style used for the containers of items in the category. + + + + + Stores the number of columns to use for laying out items in the category. + + + + + Invokes the INotifyPropertyChanged.PropertyChanged event. + + Name of the property that changed. + + + + Gets the header text. + + + + + Gets a sequence of items in the category. + + + Convenience implementation. + + + + + Gets a sequence of items in the category. + + + Interface definition. + + + + + Gets a DataTemplate used to display the items in the category. + + + + + Gets or sets a Style used for the containers of items in the category. + + + + + Gets or sets the number of columns to use for laying out items in the category. + + + + + Event invoked when a property change value. + + + + + Class that represents a group on the Ribbon. + + + + + Initializes a new instance of the RibbonGroup class. + + Label for the group. + Items in the group. + + + + Stores a value indicating whether the group is visible. + + + + + Gets or sets a label for the group. + + + + + Gets a sequence of IRibbonItem instances. + + + + + Gets or sets a value indicating whether the group is visible. + + + + + Event invoked when a property change value. + + + + + Class that represents a Ribbon menu-button. + + + + + Initializes a new instance of the RibbonMenuButton class. + + Label for the item. + Sequence of IRibbonButtons to show when the menu-button is pressed. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonMenuButton class. + + Label for the item. + Sequence of IRibbonButtons to show when the menu-button is pressed. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets or sets a label for the item. + + + + + Gets a sequence of IRibbonButtons to show when the menu-button is pressed. + + + + + Gets or sets a 16x16 image for the button. + + + + + Gets or sets a 32x32 image for the button. + + + + + Class that represents a Ribbon split-button. + + + + + Class that represents a Ribbon button. + + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command ID to invoke when the button is pressed + Command parameter for command or commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets or sets a label for the item. + + + + + Gets or sets the command to invoke when the button is pressed. + + + + + Gets or sets the command ID to invoke when the button is pressed. + + + + + Gets or sets the command parameter to pass to the Command or CommandId. + + + + + Gets or sets a 16x16 image for the button. + + + + + Gets or sets a 32x32 image for the button. + + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for commandId. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + Sequence of IRibbonButtons to show when the split-button is expanded. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets a sequence of IRibbonButtons to show when the split-button is expanded. + + + + + Class that represents a Ribbon split-button that expands to a gallery. + + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command to invoke when the button is pressed. + Command ID to invoke when the button is pressed. + Command parameter for command. + Command to invoke when a gallery item is selected. + Command ID to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + Command to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command ID to invoke when the button is pressed. + Command parameter for command. + Command ID to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + Command to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonSplitButtonGallery class. + + Label for the item. + Command ID to invoke when the button is pressed. + Command parameter for command. + Command ID to invoke when a gallery item is selected. + Sequence of categories to show in the gallery. + 16x16 image for the button. + 32x32 image for the button. + + + + Gets a sequence of category instances for the gallery. + + + + + Gets the command to invoke when an item is chosen from the gallery. + + + + + Gets or sets the command ID to invoke when an item is chosen from the gallery. + + + + + Gets or sets an action to invoke when the gallery is opening. + + + + + Gets or sets an action to invoke when the gallery is closing. + + + + + Class that represents a Ribbon toggle button. + + + + + Interface for representing a toggle button on the Ribbon. + + + + + Gets or sets a value indicating whether the button is checked (toggled) or not. + + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for command. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command to invoke when the button is pressed. + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Initializes a new instance of the RibbonToggleButton class. + + Label for the item. + Command ID to invoke when the button is pressed + Command parameter for commandId. + 16x16 image for the button. + 32x32 image for the button. + + + + Stores a value indicating whether the button is checked (toggled) or not. + + + + + Gets or sets a value indicating whether the button is checked (toggled) or not. + + + + + Event invoked when a property change value. + + + + + Class that defines a command ID. + + + + + Gets the group ID for the command. + + + + + Gets a unique ID for the command (within its group). + + + + + Gets the name of the command (for diagnostic purposes). + + + + + Interface that represents the WebMatrix editor workspace. + + + + + Interface that represents a WebMatrix workspace. + + + + + Gets the title of the workspace. + + + + + Gets the description of the workspace. + + + + + Gets a 28x25 image for the workspace. + + + + + Common command IDs: + Composed of the GroupId which is a guid separating the group. + and the Id enum desribing the individual command. + + + + + GUID group ID for the common commands. + + + + + Initializes the CommonCommandIds class. + + + + + Gets the common command GroupId; can be passed to ICommandTarget. + + + + + Enumeration values for command IDs; can be passed to ICommandTarget. + + + + + Nothing. + + + + + Application Exit command ID. + + + + + Show application options command ID. + + + + + Close All command ID. + + + + + Global copy command ID. + + + + + Global cut command ID. + + + + + Delete command ID. + + + + + Permanently delete command ID. + + + For example: permanently delete a file from the tree and the file system. + + + + + Online help command ID. + + + + + Navigate to db manager command ID (to db manager workspace). + + + + + Navigate to editor command ID (to editor workspace). + + + + + Navigate to seo command ID (to reports workspace). + + + + + Navigate to site command ID (to site workspace). + + + + + Global paste command ID. + + + + + Global redo command ID. + + + + + Refresh command ID (such as refresh the tree). + + + + + Rename command ID (such as rename a file name). + + + + + Save all command ID. + + + + + Save as command ID. + + + + + Save command ID. + + + + + Global undo command ID. + + + + + Show application about command ID. + + + + + Toggle "full view" by minimizing or restoring the Ribbon and left/right panes. + + + + + Show extensions gallery dialog. + + + + + Interface for accessing commands exposed by the host. + + + + + Gets (or creates) an arbitrary command identified by group and ID. + + Command group. + Command identifier. + ICommand reference. + + + + Gets the "copy" command. + + + + + Gets the "cut" command. + + + + + Gets the "paste" command. + + + + + Gets the "exit" command. + + + + + Interface for interacting with a web site. + + + + + Gets the URI for the site on the local machine. + + + + + Gets the physical path for the site on the local machine. + + + + + Gets the Web Platform Installer application identifier for the site's application. + + + Returns null if the site is not a recognized application. + + + + + Get site preferences + + + + + GUID for the 2K command set. This is a set of standard editor commands. + + + + + Set of the standard, shared editor commands in StandardCommandSet2k. + + + + + Class that represents the event arguments for a help request. + + + + + Initializes a new instance of the HelpInvokedEventArgs class. + + Context for the event. + + + + Gets a value indicating the context for the help request (such as the focused UI element). + + + + + Interface for interacting with the WebMatrix host. + + + + + Gets an ISiteItem from a given HierarchyId + + + + + + + Adds a sequence of Ribbon items to the Ribbon. + + Sequence of IRibbonItems. + + + + Adds a sequence of dashboard items to the dashboard. + + Sequence of IDashboardItems. + + + + Applies a set of IProtectPathInfo rules to the site's files. + + Set of rules to apply. + + Resets any protection already in place. + + + + + Shows a modal dialog box with the specified title/content. + + + Buttons for OK/Cancel will be provided unless the content parameter implements + IDialogContent (in which case it should invoke the CloseDialog event when complete). + + Title for the dialog. + Content for the dialog. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a modal dialog box with the specified title/content/size. + + + Buttons for OK/Cancel will be provided unless the content parameter implements + IDialogContent (in which case it should invoke the CloseDialog event when complete). + + Title for the dialog. + Content for the dialog. + Size for the dialog. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a modal dialog box with the specified title/content/buttons. + + Title for the dialog. + Content for the dialog. + Buttons to show. + Default button. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a modal dialog box with the specified title/content/size/buttons. + + Title for the dialog. + Content for the dialog. + Size for the dialog. + Buttons to show. + Default button. + True if OK was pressed or CloseDialog invoked, false if Cancel was pressed, null if an error occurred. + + + + Shows a notification message for a brief period of time. + + Message to show. + + + + Shows a notification message and an actionable link for a brief period of time. + + Message to show. + Message for the actionable link. + Action to execute when the link is invoked. + + + + Gets the user-friendly name of the extension. + + MyExtension + + + + Gets the user-friendly version of the extension. + + v1.0 + + + + Gets or sets the current workspace. + + + + + Event that is invoked when the current workspace changes. + + + + + Event that is invoked when an item is removed from the file tree. + Indiciates that any caching related to that file might not be necessary anymore + and references may be removed. + + + + + Event that is invoked when an item is add to the file tree. + At that point a single icon and tooltip can be set + if multiple handlers are assigned, the last one will win. + + + + + Gets a collection of available workspaces. + + + + + Gets the current web site. + + + + + Event that is invoked when the current web site changes. + + + + + Gets an object that exposes commands supported by the host. + + + + + Event that is invoked when the user opens a context menu for an item in the tree view. + + + + + Event that is invoked when the user initiates a help request. + + + + + A descriptor used to create the task tab in the editor space + + + + + A descriptor used to create the task tab + + Image to be displayed on top of the tab (optional, null for no image) + Text to be displayed on top of the tab + The content element to be displayed in the task tab + The brush used to paint a strip on top of the tab + + + + Image to be displayed on top of the tab (will be optionally used by WebMatrix) + + + + + Text to be displayed on top of the tab + + + + + The content element to be displayed in the task tab + + + + + Will be optionally used as a strip of color on top of your brush + + + + + PropertyChanged event from INotifyPropertyInterface + + + + + Eventargs for the event fired when an item is added to the tree + + + + + Constructor + + + + + HierachyId used to find the SiteItem from the WebMatrixHost + + + + + EventArgs for the event where an item is removed from the WebMatrix tree + + + + + Item that was removed from the tree, caching of any info for that item might + not be necessary anymore + + + + + Class that exposes a variety of helpful utility methods. + + + + + Converts a Bitmap instance into an ImageSource. + + Bitmap instance to convert. + Converted ImageSource. + + + + Class that provides P/Invoke access to Windows APIs. + + + + + P/Invokes to the Windows DeleteObject API. + + HANDLE to object to delete. + True iff successful. + + + + Class that represents the event arguments for a WorkspaceChanged event. + + + + + Initializes a new instance of the WorkspaceChangedEventArgs class. + + Old workspace. + New workspace. + + + + Gets a value indicating the old (previous) workspace. + + + + + Gets a value indicating the new (current) workspace. + + + + diff --git a/UnitTests/bin/Debug/OrangeBits.dll b/UnitTests/bin/Debug/OrangeBits.dll new file mode 100644 index 0000000..241595b Binary files /dev/null and b/UnitTests/bin/Debug/OrangeBits.dll differ diff --git a/UnitTests/bin/Debug/OrangeBits.pdb b/UnitTests/bin/Debug/OrangeBits.pdb new file mode 100644 index 0000000..5eb519d Binary files /dev/null and b/UnitTests/bin/Debug/OrangeBits.pdb differ diff --git a/UnitTests/bin/Debug/SassAndCoffee.Core.dll b/UnitTests/bin/Debug/SassAndCoffee.Core.dll new file mode 100644 index 0000000..1bc0b46 Binary files /dev/null and b/UnitTests/bin/Debug/SassAndCoffee.Core.dll differ diff --git a/UnitTests/bin/Debug/SassAndCoffee.Core.pdb b/UnitTests/bin/Debug/SassAndCoffee.Core.pdb new file mode 100644 index 0000000..1ffaec0 Binary files /dev/null and b/UnitTests/bin/Debug/SassAndCoffee.Core.pdb differ diff --git a/UnitTests/bin/Debug/UnitTests.dll b/UnitTests/bin/Debug/UnitTests.dll new file mode 100644 index 0000000..d93a2c0 Binary files /dev/null and b/UnitTests/bin/Debug/UnitTests.dll differ diff --git a/UnitTests/bin/Debug/UnitTests.pdb b/UnitTests/bin/Debug/UnitTests.pdb new file mode 100644 index 0000000..e79ee40 Binary files /dev/null and b/UnitTests/bin/Debug/UnitTests.pdb differ diff --git a/UnitTests/bin/Debug/dotless.Core.dll b/UnitTests/bin/Debug/dotless.Core.dll new file mode 100644 index 0000000..03f9f42 Binary files /dev/null and b/UnitTests/bin/Debug/dotless.Core.dll differ diff --git a/UnitTests/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/UnitTests/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..7bb090b Binary files /dev/null and b/UnitTests/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/UnitTests/obj/Debug/ResolveAssemblyReference.cache b/UnitTests/obj/Debug/ResolveAssemblyReference.cache new file mode 100644 index 0000000..8eff277 Binary files /dev/null and b/UnitTests/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/UnitTests/obj/Debug/UnitTests.csproj.FileListAbsolute.txt b/UnitTests/obj/Debug/UnitTests.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..71b0696 --- /dev/null +++ b/UnitTests/obj/Debug/UnitTests.csproj.FileListAbsolute.txt @@ -0,0 +1,50 @@ +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\bin\Debug\UnitTests.dll +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\bin\Debug\UnitTests.pdb +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\bin\Debug\OrangeBits.dll +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.WebMatrix.Extensibility.dll +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\bin\Debug\OrangeBits.pdb +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.WebMatrix.Extensibility.xml +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\obj\Debug\ResolveAssemblyReference.cache +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\obj\Debug\UnitTests.dll +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\obj\Debug\UnitTests.pdb +C:\Users\justbe\Mesh\Code\OrangeBits\UnitTests\bin\Debug\dotless.Core.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\UnitTests.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\UnitTests.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\OrangeBits.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.WebMatrix.Extensibility.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\dotless.Core.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\OrangeBits.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.WebMatrix.Extensibility.xml +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\obj\Debug\ResolveAssemblyReference.cache +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\obj\Debug\UnitTests.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\obj\Debug\UnitTests.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\SassAndCoffee.Core.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.Scripting.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\IronRuby.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.Dynamic.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.Scripting.Metadata.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.ActiveScript.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.JavaScriptEngines.dll +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\SassAndCoffee.Core.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.ActiveScript.pdb +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.JavaScriptEngines.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\UnitTests.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\UnitTests.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\OrangeBits.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.WebMatrix.Extensibility.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\SassAndCoffee.Core.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\dotless.Core.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.Scripting.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.ActiveScript.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.JavaScriptEngines.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\IronRuby.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.Dynamic.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.Scripting.Metadata.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\OrangeBits.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\Microsoft.WebMatrix.Extensibility.xml +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\SassAndCoffee.Core.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.ActiveScript.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\bin\Debug\ComImports.JavaScriptEngines.pdb +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\obj\Debug\ResolveAssemblyReference.cache +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\obj\Debug\UnitTests.dll +C:\Users\justbe.REDMOND.000\Dropbox\Code\OrangeBits\UnitTests\obj\Debug\UnitTests.pdb diff --git a/UnitTests/obj/Debug/UnitTests.dll b/UnitTests/obj/Debug/UnitTests.dll new file mode 100644 index 0000000..d93a2c0 Binary files /dev/null and b/UnitTests/obj/Debug/UnitTests.dll differ diff --git a/UnitTests/obj/Debug/UnitTests.pdb b/UnitTests/obj/Debug/UnitTests.pdb new file mode 100644 index 0000000..e79ee40 Binary files /dev/null and b/UnitTests/obj/Debug/UnitTests.pdb differ diff --git a/UnitTests/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/UnitTests/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..120ca5a Binary files /dev/null and b/UnitTests/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/UnitTests/obj/Release/ResolveAssemblyReference.cache b/UnitTests/obj/Release/ResolveAssemblyReference.cache new file mode 100644 index 0000000..dc8c2bc Binary files /dev/null and b/UnitTests/obj/Release/ResolveAssemblyReference.cache differ diff --git a/UnitTests/obj/Release/UnitTests.csproj.FileListAbsolute.txt b/UnitTests/obj/Release/UnitTests.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..731995c --- /dev/null +++ b/UnitTests/obj/Release/UnitTests.csproj.FileListAbsolute.txt @@ -0,0 +1 @@ +C:\Users\justbe\Dropbox\Code\OrangeBits\UnitTests\obj\Release\ResolveAssemblyReference.cache diff --git a/UnitTests/obj/Release/build.force b/UnitTests/obj/Release/build.force new file mode 100644 index 0000000..e69de29 diff --git a/packages/IronRuby.1.1.3/IronRuby.1.1.3.nupkg b/packages/IronRuby.1.1.3/IronRuby.1.1.3.nupkg new file mode 100644 index 0000000..54f86f0 Binary files /dev/null and b/packages/IronRuby.1.1.3/IronRuby.1.1.3.nupkg differ diff --git a/packages/IronRuby.1.1.3/Lib/IronRuby.Libraries.Yaml.dll b/packages/IronRuby.1.1.3/Lib/IronRuby.Libraries.Yaml.dll new file mode 100644 index 0000000..88a659b Binary files /dev/null and b/packages/IronRuby.1.1.3/Lib/IronRuby.Libraries.Yaml.dll differ diff --git a/packages/IronRuby.1.1.3/Lib/IronRuby.Libraries.dll b/packages/IronRuby.1.1.3/Lib/IronRuby.Libraries.dll new file mode 100644 index 0000000..73d2303 Binary files /dev/null and b/packages/IronRuby.1.1.3/Lib/IronRuby.Libraries.dll differ diff --git a/packages/IronRuby.1.1.3/Lib/IronRuby.dll b/packages/IronRuby.1.1.3/Lib/IronRuby.dll new file mode 100644 index 0000000..3f99961 Binary files /dev/null and b/packages/IronRuby.1.1.3/Lib/IronRuby.dll differ diff --git a/packages/IronRuby.1.1.3/Lib/Microsoft.Dynamic.dll b/packages/IronRuby.1.1.3/Lib/Microsoft.Dynamic.dll new file mode 100644 index 0000000..b28b36c Binary files /dev/null and b/packages/IronRuby.1.1.3/Lib/Microsoft.Dynamic.dll differ diff --git a/packages/IronRuby.1.1.3/Lib/Microsoft.Scripting.Metadata.dll b/packages/IronRuby.1.1.3/Lib/Microsoft.Scripting.Metadata.dll new file mode 100644 index 0000000..2d1bcf4 Binary files /dev/null and b/packages/IronRuby.1.1.3/Lib/Microsoft.Scripting.Metadata.dll differ diff --git a/packages/IronRuby.1.1.3/Lib/Microsoft.Scripting.dll b/packages/IronRuby.1.1.3/Lib/Microsoft.Scripting.dll new file mode 100644 index 0000000..0c26390 Binary files /dev/null and b/packages/IronRuby.1.1.3/Lib/Microsoft.Scripting.dll differ diff --git a/packages/dotless.1.2.1.0/acknowledgements.txt b/packages/dotless.1.2.1.0/acknowledgements.txt new file mode 100644 index 0000000..1dfad6b --- /dev/null +++ b/packages/dotless.1.2.1.0/acknowledgements.txt @@ -0,0 +1,11 @@ +dotless is using: + * Peg (http://www.codeproject.com/KB/recipes/grammar_support_1.aspx) by Martin Holzherr + * NUnit (http://www.nunit.org/) + * ILMerge (http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx) + * 7zip (www.7-zip.org/) + * MSpec (http://github.com/machine/machine.specifications) + * YUI Compressor for .NET (http://www.codeplex.com/YUICompressor) + +The build script was inspired by Rhino.Mocks and is using psake by James Covacs + +Thanks to all these great projects for their high quality tools that made creating dotless possible! \ No newline at end of file diff --git a/packages/dotless.1.2.1.0/content/web.config.transform b/packages/dotless.1.2.1.0/content/web.config.transform new file mode 100644 index 0000000..87dc7a0 --- /dev/null +++ b/packages/dotless.1.2.1.0/content/web.config.transform @@ -0,0 +1,17 @@ + + + +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/dotless.1.2.1.0/dotless.1.2.1.0.nupkg b/packages/dotless.1.2.1.0/dotless.1.2.1.0.nupkg new file mode 100644 index 0000000..448cd12 Binary files /dev/null and b/packages/dotless.1.2.1.0/dotless.1.2.1.0.nupkg differ diff --git a/packages/dotless.1.2.1.0/lib/dotless.Core.dll b/packages/dotless.1.2.1.0/lib/dotless.Core.dll new file mode 100644 index 0000000..03f9f42 Binary files /dev/null and b/packages/dotless.1.2.1.0/lib/dotless.Core.dll differ diff --git a/packages/dotless.1.2.1.0/license.txt b/packages/dotless.1.2.1.0/license.txt new file mode 100644 index 0000000..0a5332b --- /dev/null +++ b/packages/dotless.1.2.1.0/license.txt @@ -0,0 +1,179 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +Copyright (c) 2009-2010 dotless project, http://www.dotlesscss.com \ No newline at end of file diff --git a/packages/dotless.1.2.1.0/tool/dotless.compiler.exe b/packages/dotless.1.2.1.0/tool/dotless.compiler.exe new file mode 100644 index 0000000..b002cba Binary files /dev/null and b/packages/dotless.1.2.1.0/tool/dotless.compiler.exe differ diff --git a/packages/repositories.config b/packages/repositories.config new file mode 100644 index 0000000..5cf4749 --- /dev/null +++ b/packages/repositories.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..1a9f1f6 --- /dev/null +++ b/readme.txt @@ -0,0 +1 @@ +OrangeBits is a Less/SaSS/CoffeeScript compiler for WebMatrix \ No newline at end of file