From 839bf506c9f43d88cfb1f01e8d801b836c34da5e Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Thu, 21 Jun 2007 10:38:11 +0000 Subject: [PATCH] Add BSD header to SharpDevelop samples. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2560 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../CodeCompletionKeyHandler.cs | 2 +- .../CodeCompletionProvider.cs | 4 +- .../HostCallbackImplementation.cs | 2 +- .../CSharpCodeCompletion/MainForm.Designer.cs | 8 +-- samples/CSharpCodeCompletion/MainForm.cs | 2 +- samples/CodonCreation/ReadTestCodonCommand.cs | 30 ++++++++++- samples/CodonCreation/TestCodon.cs | 51 ++++++++++++++----- samples/CodonCreation/TestDoozer.cs | 31 ++++++++++- samples/CustomPad/MyCustomPad.cs | 26 ++++++++++ samples/CustomView/MyCustomView.cs | 26 ++++++++++ samples/CustomView/ShowCustomViewCommand.cs | 26 ++++++++++ .../AlternateEditorDisplayBinding.cs | 26 ++++++++++ .../DisplayBindings/AlternateEditor/Editor.cs | 26 ++++++++++ .../HtmlPreview/HtmlPreview.addin | 3 +- .../HtmlPreview/Src/PreviewDisplayBinding.cs | 32 +++++++++--- .../HtmlPreview/Src/PreviewViewContent.cs | 32 +++++++++--- .../ImageViewer/ImageViewer.addin | 3 +- .../ImageViewer/Src/ImageViewContent.cs | 32 +++++++++--- .../Src/ImageViewerDisplayBinding.cs | 33 +++++++++--- samples/HtmlSyntaxColorizer/HtmlWriter.cs | 32 +++++++++--- samples/HtmlSyntaxColorizer/Main.cs | 33 +++++++++--- samples/LineCounter/Src/Command.cs | 32 +++++++++--- samples/LineCounter/Src/Extensibility.cs | 32 +++++++++--- samples/LineCounter/Src/ImageListHelper.cs | 32 +++++++++--- samples/LineCounter/Src/LineCounterBrowser.cs | 2 +- .../LineCounter/Src/LineCounterViewContent.cs | 34 ++++++++++--- samples/NRefactoryDemo/AstView.Designer.cs | 33 +++++++++--- samples/NRefactoryDemo/AstView.cs | 32 +++++++++--- samples/NRefactoryDemo/EditDialog.Designer.cs | 33 +++++++++--- samples/NRefactoryDemo/EditDialog.cs | 32 +++++++++--- samples/NRefactoryDemo/MainForm.Designer.cs | 33 +++++++++--- samples/NRefactoryDemo/MainForm.cs | 32 +++++++++--- samples/NRefactoryExample/MainForm.cs | 27 ++++++++++ samples/NRefactoryExample/MainForm.resx | 4 +- .../WrapperGeneratorVisitor.cs | 32 +++++++++--- samples/SdaUser/MainForm.Designer.cs | 33 +++++++++--- samples/SdaUser/MainForm.cs | 32 +++++++++--- .../InteractionClass.cs | 33 +++++++++--- samples/SharpPad/SharpPad.Designer.cs | 28 +++++++++- samples/SharpPad/SharpPad.cs | 27 ++++++++++ .../Src/CallHelper.cs | 6 +++ .../Src/SharpDevelopHost.cs | 5 ++ 42 files changed, 858 insertions(+), 156 deletions(-) diff --git a/samples/CSharpCodeCompletion/CodeCompletionKeyHandler.cs b/samples/CSharpCodeCompletion/CodeCompletionKeyHandler.cs index a91954f139..d2f8604b81 100644 --- a/samples/CSharpCodeCompletion/CodeCompletionKeyHandler.cs +++ b/samples/CSharpCodeCompletion/CodeCompletionKeyHandler.cs @@ -12,7 +12,7 @@ // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // -// - Neither the name of the ICSharpCode nor the names of its contributors may be used to +// - Neither the name of the ICSharpCode team nor the names of its contributors may be used to // endorse or promote products derived from this software without specific prior written // permission. // diff --git a/samples/CSharpCodeCompletion/CodeCompletionProvider.cs b/samples/CSharpCodeCompletion/CodeCompletionProvider.cs index 2b7812e79b..54f5a6b19e 100644 --- a/samples/CSharpCodeCompletion/CodeCompletionProvider.cs +++ b/samples/CSharpCodeCompletion/CodeCompletionProvider.cs @@ -12,7 +12,7 @@ // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // -// - Neither the name of the ICSharpCode nor the names of its contributors may be used to +// - Neither the name of the ICSharpCode team nor the names of its contributors may be used to // endorse or promote products derived from this software without specific prior written // permission. // @@ -92,7 +92,7 @@ namespace CSharpEditor // new DefaultCompletionData("Text", "Description", 1) //}; - NRefactoryResolver resolver = new NRefactoryResolver(mainForm.myProjectContent); + NRefactoryResolver resolver = new NRefactoryResolver(mainForm.myProjectContent, mainForm.myProjectContent.Language); Dom.ResolveResult rr = resolver.Resolve(FindExpression(textArea), textArea.Caret.Line, textArea.Caret.Column, diff --git a/samples/CSharpCodeCompletion/HostCallbackImplementation.cs b/samples/CSharpCodeCompletion/HostCallbackImplementation.cs index ca5ad2bcb6..4f284c744f 100644 --- a/samples/CSharpCodeCompletion/HostCallbackImplementation.cs +++ b/samples/CSharpCodeCompletion/HostCallbackImplementation.cs @@ -12,7 +12,7 @@ // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // -// - Neither the name of the ICSharpCode nor the names of its contributors may be used to +// - Neither the name of the ICSharpCode team nor the names of its contributors may be used to // endorse or promote products derived from this software without specific prior written // permission. // diff --git a/samples/CSharpCodeCompletion/MainForm.Designer.cs b/samples/CSharpCodeCompletion/MainForm.Designer.cs index 7388abade9..9556408c5c 100644 --- a/samples/CSharpCodeCompletion/MainForm.Designer.cs +++ b/samples/CSharpCodeCompletion/MainForm.Designer.cs @@ -1,10 +1,4 @@ -// -// -// -// -// $Revision$ -// -namespace CSharpEditor +namespace CSharpEditor { partial class MainForm : System.Windows.Forms.Form { diff --git a/samples/CSharpCodeCompletion/MainForm.cs b/samples/CSharpCodeCompletion/MainForm.cs index 376ea719d6..7278c4f8b2 100644 --- a/samples/CSharpCodeCompletion/MainForm.cs +++ b/samples/CSharpCodeCompletion/MainForm.cs @@ -12,7 +12,7 @@ // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // -// - Neither the name of the ICSharpCode nor the names of its contributors may be used to +// - Neither the name of the ICSharpCode team nor the names of its contributors may be used to // endorse or promote products derived from this software without specific prior written // permission. // diff --git a/samples/CodonCreation/ReadTestCodonCommand.cs b/samples/CodonCreation/ReadTestCodonCommand.cs index 2cfb049826..04ede90c3b 100644 --- a/samples/CodonCreation/ReadTestCodonCommand.cs +++ b/samples/CodonCreation/ReadTestCodonCommand.cs @@ -1,5 +1,33 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using ICSharpCode.Core; using System; +using System.Collections.Generic; using System.Drawing; using System.Text; using System.Windows.Forms; @@ -10,7 +38,7 @@ namespace CodonCreation { public override void Run() { - TestCodon[] testCodons = (TestCodon[])(AddInTree.GetTreeNode("/Samples/CodonCreation").BuildChildItems(this)).ToArray(typeof(TestCodon)); + List testCodons = AddInTree.BuildItems("/Samples/CodonCreation", this); StringBuilder message = new StringBuilder(); foreach (TestCodon codon in testCodons) { diff --git a/samples/CodonCreation/TestCodon.cs b/samples/CodonCreation/TestCodon.cs index 70dd1e80fc..002cee4efd 100644 --- a/samples/CodonCreation/TestCodon.cs +++ b/samples/CodonCreation/TestCodon.cs @@ -1,3 +1,30 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using System; namespace CodonCreation @@ -11,17 +38,17 @@ namespace CodonCreation /// public class TestCodon { - string text = String.Empty; - - public TestCodon(string text) - { - this.text = text; - } - - public string Text { - get { - return text; - } - } + string text = String.Empty; + + public TestCodon(string text) + { + this.text = text; + } + + public string Text { + get { + return text; + } + } } } diff --git a/samples/CodonCreation/TestDoozer.cs b/samples/CodonCreation/TestDoozer.cs index 9569fd083e..1b7e8d56a4 100644 --- a/samples/CodonCreation/TestDoozer.cs +++ b/samples/CodonCreation/TestDoozer.cs @@ -1,3 +1,30 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using ICSharpCode.Core; using System; using System.Collections; @@ -5,7 +32,7 @@ using System.Collections; namespace CodonCreation { /// - /// Class that can build an object out of a Codon in the .addin file. + /// Class that can build an object out of a Codon in the .addin file. /// /// http://en.wikipedia.org/wiki/Fraggle_Rock#Doozers public class TestDoozer : IDoozer @@ -16,7 +43,7 @@ namespace CodonCreation /// /// Gets if the doozer handles codon conditions on its own. - /// If this property return false, the item is excluded when the + /// If this property return false, the item is excluded when the /// condition is not met. /// public bool HandleConditions { diff --git a/samples/CustomPad/MyCustomPad.cs b/samples/CustomPad/MyCustomPad.cs index f1fbcbf5e8..3caeb234e0 100644 --- a/samples/CustomPad/MyCustomPad.cs +++ b/samples/CustomPad/MyCustomPad.cs @@ -1,3 +1,29 @@ +// SharpDevelop samples +// Copyright (c) 2007, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using ICSharpCode.Core; using ICSharpCode.SharpDevelop.Gui; diff --git a/samples/CustomView/MyCustomView.cs b/samples/CustomView/MyCustomView.cs index 9a9ce64417..04d32ade73 100644 --- a/samples/CustomView/MyCustomView.cs +++ b/samples/CustomView/MyCustomView.cs @@ -1,3 +1,29 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using ICSharpCode.SharpDevelop.Gui; using System; diff --git a/samples/CustomView/ShowCustomViewCommand.cs b/samples/CustomView/ShowCustomViewCommand.cs index 3787786194..b08a138475 100644 --- a/samples/CustomView/ShowCustomViewCommand.cs +++ b/samples/CustomView/ShowCustomViewCommand.cs @@ -1,3 +1,29 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using ICSharpCode.Core; using ICSharpCode.SharpDevelop.Gui; diff --git a/samples/DisplayBindings/AlternateEditor/AlternateEditorDisplayBinding.cs b/samples/DisplayBindings/AlternateEditor/AlternateEditorDisplayBinding.cs index cea324441c..9a1603d4b5 100644 --- a/samples/DisplayBindings/AlternateEditor/AlternateEditorDisplayBinding.cs +++ b/samples/DisplayBindings/AlternateEditor/AlternateEditorDisplayBinding.cs @@ -1,3 +1,29 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using ICSharpCode.Core; using ICSharpCode.SharpDevelop; diff --git a/samples/DisplayBindings/AlternateEditor/Editor.cs b/samples/DisplayBindings/AlternateEditor/Editor.cs index 31fbc76be9..4bce1ec7df 100644 --- a/samples/DisplayBindings/AlternateEditor/Editor.cs +++ b/samples/DisplayBindings/AlternateEditor/Editor.cs @@ -1,3 +1,29 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using ICSharpCode.SharpDevelop.Gui; using System; diff --git a/samples/DisplayBindings/HtmlPreview/HtmlPreview.addin b/samples/DisplayBindings/HtmlPreview/HtmlPreview.addin index 0a8225ec65..713753e0c1 100644 --- a/samples/DisplayBindings/HtmlPreview/HtmlPreview.addin +++ b/samples/DisplayBindings/HtmlPreview/HtmlPreview.addin @@ -1,6 +1,5 @@  + author = "Daniel Grunwald"> diff --git a/samples/DisplayBindings/HtmlPreview/Src/PreviewDisplayBinding.cs b/samples/DisplayBindings/HtmlPreview/Src/PreviewDisplayBinding.cs index 71ce82dd3b..2b6047ada5 100644 --- a/samples/DisplayBindings/HtmlPreview/Src/PreviewDisplayBinding.cs +++ b/samples/DisplayBindings/HtmlPreview/Src/PreviewDisplayBinding.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 19.10.2005 - * Time: 17:02 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using ICSharpCode.Core; diff --git a/samples/DisplayBindings/HtmlPreview/Src/PreviewViewContent.cs b/samples/DisplayBindings/HtmlPreview/Src/PreviewViewContent.cs index bf096519c3..c6e73d718b 100644 --- a/samples/DisplayBindings/HtmlPreview/Src/PreviewViewContent.cs +++ b/samples/DisplayBindings/HtmlPreview/Src/PreviewViewContent.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 19.10.2005 - * Time: 15:53 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Windows.Forms; diff --git a/samples/DisplayBindings/ImageViewer/ImageViewer.addin b/samples/DisplayBindings/ImageViewer/ImageViewer.addin index acd568d757..066ff583d6 100644 --- a/samples/DisplayBindings/ImageViewer/ImageViewer.addin +++ b/samples/DisplayBindings/ImageViewer/ImageViewer.addin @@ -1,6 +1,5 @@  + author = "Daniel Grunwald"> diff --git a/samples/DisplayBindings/ImageViewer/Src/ImageViewContent.cs b/samples/DisplayBindings/ImageViewer/Src/ImageViewContent.cs index 15555d8b9b..147448a6b6 100644 --- a/samples/DisplayBindings/ImageViewer/Src/ImageViewContent.cs +++ b/samples/DisplayBindings/ImageViewer/Src/ImageViewContent.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 19.10.2005 - * Time: 21:43 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.IO; diff --git a/samples/DisplayBindings/ImageViewer/Src/ImageViewerDisplayBinding.cs b/samples/DisplayBindings/ImageViewer/Src/ImageViewerDisplayBinding.cs index 37baffde64..6dc68dd6d2 100644 --- a/samples/DisplayBindings/ImageViewer/Src/ImageViewerDisplayBinding.cs +++ b/samples/DisplayBindings/ImageViewer/Src/ImageViewerDisplayBinding.cs @@ -1,9 +1,30 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 19.10.2005 - * Time: 21:41 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using System; using ICSharpCode.Core; using ICSharpCode.SharpDevelop.Gui; diff --git a/samples/HtmlSyntaxColorizer/HtmlWriter.cs b/samples/HtmlSyntaxColorizer/HtmlWriter.cs index ccf06cd00a..8218939b9b 100644 --- a/samples/HtmlSyntaxColorizer/HtmlWriter.cs +++ b/samples/HtmlSyntaxColorizer/HtmlWriter.cs @@ -1,9 +1,29 @@ -// -// -// -// -// $Revision$ -// +// SharpDevelop samples +// Copyright (c) 2007, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Collections.Generic; diff --git a/samples/HtmlSyntaxColorizer/Main.cs b/samples/HtmlSyntaxColorizer/Main.cs index f2b9820daf..8cae6c5b1c 100644 --- a/samples/HtmlSyntaxColorizer/Main.cs +++ b/samples/HtmlSyntaxColorizer/Main.cs @@ -1,9 +1,30 @@ -// -// -// -// -// $Revision$ -// +// SharpDevelop samples +// Copyright (c) 2007, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using System; using System.Diagnostics; using System.IO; diff --git a/samples/LineCounter/Src/Command.cs b/samples/LineCounter/Src/Command.cs index 73d0ed8304..5a598304cc 100644 --- a/samples/LineCounter/Src/Command.cs +++ b/samples/LineCounter/Src/Command.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 09.05.2006 - * Time: 17:22 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Text; diff --git a/samples/LineCounter/Src/Extensibility.cs b/samples/LineCounter/Src/Extensibility.cs index 228a254830..a71be169bb 100644 --- a/samples/LineCounter/Src/Extensibility.cs +++ b/samples/LineCounter/Src/Extensibility.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 18.07.2006 - * Time: 17:08 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using ICSharpCode.Core; diff --git a/samples/LineCounter/Src/ImageListHelper.cs b/samples/LineCounter/Src/ImageListHelper.cs index 02bfe8d734..01561521e5 100644 --- a/samples/LineCounter/Src/ImageListHelper.cs +++ b/samples/LineCounter/Src/ImageListHelper.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 18.07.2006 - * Time: 15:53 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Collections.Generic; diff --git a/samples/LineCounter/Src/LineCounterBrowser.cs b/samples/LineCounter/Src/LineCounterBrowser.cs index 4ca687e228..946dfce70d 100644 --- a/samples/LineCounter/Src/LineCounterBrowser.cs +++ b/samples/LineCounter/Src/LineCounterBrowser.cs @@ -823,7 +823,7 @@ namespace LineCounterAddin /// The ProjectItems collection to scan. /// The root summary data object that these /// files belong to. - private void ScanProjectItems(List projectItems, LineCountSummary summary) + private void ScanProjectItems(IList projectItems, LineCountSummary summary) { tsprgTask.Maximum += projectItems.Count; foreach (ProjectItem projectItem in projectItems) diff --git a/samples/LineCounter/Src/LineCounterViewContent.cs b/samples/LineCounter/Src/LineCounterViewContent.cs index 27d504645c..a722e996e9 100644 --- a/samples/LineCounter/Src/LineCounterViewContent.cs +++ b/samples/LineCounter/Src/LineCounterViewContent.cs @@ -1,10 +1,30 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 09.05.2006 - * Time: 17:53 - */ - +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using System; using System.Windows.Forms; using ICSharpCode.SharpDevelop.Gui; diff --git a/samples/NRefactoryDemo/AstView.Designer.cs b/samples/NRefactoryDemo/AstView.Designer.cs index 72ed6913e7..ddd9e34451 100644 --- a/samples/NRefactoryDemo/AstView.Designer.cs +++ b/samples/NRefactoryDemo/AstView.Designer.cs @@ -1,9 +1,30 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: ${DATE} - * Time: ${TIME} - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + namespace NRefactoryDemo { partial class AstView : System.Windows.Forms.UserControl diff --git a/samples/NRefactoryDemo/AstView.cs b/samples/NRefactoryDemo/AstView.cs index 0a9e9f1abc..90df7b1e9a 100644 --- a/samples/NRefactoryDemo/AstView.cs +++ b/samples/NRefactoryDemo/AstView.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 07.05.2006 - * Time: 18:25 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Collections; diff --git a/samples/NRefactoryDemo/EditDialog.Designer.cs b/samples/NRefactoryDemo/EditDialog.Designer.cs index 434fe29222..2bba86893f 100644 --- a/samples/NRefactoryDemo/EditDialog.Designer.cs +++ b/samples/NRefactoryDemo/EditDialog.Designer.cs @@ -1,9 +1,30 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: ${DATE} - * Time: ${TIME} - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + namespace NRefactoryDemo { partial class EditDialog : System.Windows.Forms.Form diff --git a/samples/NRefactoryDemo/EditDialog.cs b/samples/NRefactoryDemo/EditDialog.cs index cd3f653e73..0283c4ce4f 100644 --- a/samples/NRefactoryDemo/EditDialog.cs +++ b/samples/NRefactoryDemo/EditDialog.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 07.05.2006 - * Time: 19:57 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Drawing; diff --git a/samples/NRefactoryDemo/MainForm.Designer.cs b/samples/NRefactoryDemo/MainForm.Designer.cs index db547de02c..fdff184f80 100644 --- a/samples/NRefactoryDemo/MainForm.Designer.cs +++ b/samples/NRefactoryDemo/MainForm.Designer.cs @@ -1,9 +1,30 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 07.05.2006 - * Time: 18:09 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + namespace NRefactoryDemo { partial class MainForm : System.Windows.Forms.Form diff --git a/samples/NRefactoryDemo/MainForm.cs b/samples/NRefactoryDemo/MainForm.cs index 64de91d10b..8f004e7b55 100644 --- a/samples/NRefactoryDemo/MainForm.cs +++ b/samples/NRefactoryDemo/MainForm.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 07.05.2006 - * Time: 18:09 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Collections.Generic; diff --git a/samples/NRefactoryExample/MainForm.cs b/samples/NRefactoryExample/MainForm.cs index 2cb8a63f8e..80d1b858f3 100644 --- a/samples/NRefactoryExample/MainForm.cs +++ b/samples/NRefactoryExample/MainForm.cs @@ -1,3 +1,30 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using System; using System.Collections.Generic; using System.Drawing; diff --git a/samples/NRefactoryExample/MainForm.resx b/samples/NRefactoryExample/MainForm.resx index ca17b9bdae..ba20a7080e 100644 --- a/samples/NRefactoryExample/MainForm.resx +++ b/samples/NRefactoryExample/MainForm.resx @@ -119,8 +119,8 @@ // <file> -// <copyright see="prj:///doc/copyright.txt">2002-2005 AlphaSierraPapa</copyright> -// <license see="prj:///doc/license.txt">GNU General Public License</license> +// <copyright see="prj:///doc/copyright.txt"/> +// <license see="prj:///doc/license.txt"/> // <owner name="David Srbecký" email="dsrbecky@gmail.com"/> // <version>$Revision: 698 $</version> // </file> diff --git a/samples/NRefactoryExample/WrapperGeneratorVisitor.cs b/samples/NRefactoryExample/WrapperGeneratorVisitor.cs index a47a0e5691..5315aa8eb3 100644 --- a/samples/NRefactoryExample/WrapperGeneratorVisitor.cs +++ b/samples/NRefactoryExample/WrapperGeneratorVisitor.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 09.11.2005 - * Time: 18:15 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Collections.Generic; diff --git a/samples/SdaUser/MainForm.Designer.cs b/samples/SdaUser/MainForm.Designer.cs index 8ff9820213..272537a3e1 100644 --- a/samples/SdaUser/MainForm.Designer.cs +++ b/samples/SdaUser/MainForm.Designer.cs @@ -1,9 +1,30 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 26.07.2006 - * Time: 19:49 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + namespace SdaUser { partial class MainForm : System.Windows.Forms.Form diff --git a/samples/SdaUser/MainForm.cs b/samples/SdaUser/MainForm.cs index 2b757ce647..6f9b41a105 100644 --- a/samples/SdaUser/MainForm.cs +++ b/samples/SdaUser/MainForm.cs @@ -1,9 +1,29 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 26.07.2006 - * Time: 19:49 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using System; using System.Collections.Generic; diff --git a/samples/SdaUser/SharpDevelopInteraction/InteractionClass.cs b/samples/SdaUser/SharpDevelopInteraction/InteractionClass.cs index d42da95edd..c20b7ab393 100644 --- a/samples/SdaUser/SharpDevelopInteraction/InteractionClass.cs +++ b/samples/SdaUser/SharpDevelopInteraction/InteractionClass.cs @@ -1,9 +1,30 @@ -/* - * Created by SharpDevelop. - * User: Daniel Grunwald - * Date: 28.07.2006 - * Time: 23:10 - */ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using System; using System.Collections.Generic; using System.Windows.Forms; diff --git a/samples/SharpPad/SharpPad.Designer.cs b/samples/SharpPad/SharpPad.Designer.cs index bdcac65c0d..f2df69631c 100644 --- a/samples/SharpPad/SharpPad.Designer.cs +++ b/samples/SharpPad/SharpPad.Designer.cs @@ -1,4 +1,30 @@ - +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + namespace SharpPad { partial class SharpPad : System.Windows.Forms.Form diff --git a/samples/SharpPad/SharpPad.cs b/samples/SharpPad/SharpPad.cs index cfc8f4ae78..8fd785c80c 100644 --- a/samples/SharpPad/SharpPad.cs +++ b/samples/SharpPad/SharpPad.cs @@ -1,3 +1,30 @@ +// SharpDevelop samples +// Copyright (c) 2006, AlphaSierraPapa +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without modification, are +// permitted provided that the following conditions are met: +// +// - Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// +// - Redistributions in binary form must reproduce the above copyright notice, this list +// of conditions and the following disclaimer in the documentation and/or other materials +// provided with the distribution. +// +// - Neither the name of the SharpDevelop team nor the names of its contributors may be used to +// endorse or promote products derived from this software without specific prior written +// permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &AS IS& AND ANY EXPRESS +// OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + using System; using System.Collections.Generic; using System.Drawing; diff --git a/src/Main/ICSharpCode.SharpDevelop.Sda/Src/CallHelper.cs b/src/Main/ICSharpCode.SharpDevelop.Sda/Src/CallHelper.cs index b9f6b43496..efdb77cc60 100644 --- a/src/Main/ICSharpCode.SharpDevelop.Sda/Src/CallHelper.cs +++ b/src/Main/ICSharpCode.SharpDevelop.Sda/Src/CallHelper.cs @@ -25,6 +25,12 @@ namespace ICSharpCode.SharpDevelop.Sda SharpDevelopHost.CallbackHelper callback; bool useSharpDevelopErrorHandler; + + public override object InitializeLifetimeService() + { + return null; + } + #region Initialize Core public void InitSharpDevelopCore(SharpDevelopHost.CallbackHelper callback, StartupSettings properties) { diff --git a/src/Main/ICSharpCode.SharpDevelop.Sda/Src/SharpDevelopHost.cs b/src/Main/ICSharpCode.SharpDevelop.Sda/Src/SharpDevelopHost.cs index ba3d8893b3..c5890908cb 100644 --- a/src/Main/ICSharpCode.SharpDevelop.Sda/Src/SharpDevelopHost.cs +++ b/src/Main/ICSharpCode.SharpDevelop.Sda/Src/SharpDevelopHost.cs @@ -340,6 +340,11 @@ namespace ICSharpCode.SharpDevelop.Sda this.host = host; } + public override object InitializeLifetimeService() + { + return null; + } + private bool InvokeRequired { get { return host.invokeTarget != null && host.invokeTarget.InvokeRequired;