├── .gitignore ├── GNet.sln ├── Gentleface Icons ├── Black │ ├── arrow_bottom_icon&16.png │ ├── arrow_bottom_icon&24.png │ ├── arrow_top_icon&16.png │ ├── arrow_top_icon&24.png │ ├── br_down_icon&16.png │ ├── br_next_icon&16.png │ ├── br_prev_icon&16.png │ ├── br_up_icon&16.png │ ├── calc_icon&16.png │ ├── checkbox_checked_icon&16.png │ ├── checkmark_icon&16.png │ ├── cog_icon&16.png │ ├── cog_icon&24.png │ ├── cog_icon&32.png │ ├── cog_icon&48.png │ ├── cogs_icon&16.png │ ├── cogs_icon&24.png │ ├── cogs_icon&32.png │ ├── cogs_icon&48.png │ ├── comp_icon&16.png │ ├── comp_icon&24.png │ ├── comp_icon&32.png │ ├── comp_icon&48.png │ ├── connect_icon&16.png │ ├── connect_icon&24.png │ ├── cursor_H_split_icon&16.png │ ├── cursor_V_split_icon&16.png │ ├── cursor_arrow_icon&16.png │ ├── cursor_drag_arrow_2_icon&16.png │ ├── cursor_drag_arrow_icon&16.png │ ├── cursor_drag_hand_icon&16.png │ ├── dashboard_icon&16.png │ ├── delete_icon&16.png │ ├── doc_new_icon&16.png │ ├── game_pad_icon&16.png │ ├── game_pad_icon&24.png │ ├── game_pad_icon&32.png │ ├── game_pad_icon&48.png │ ├── info_icon&16.png │ ├── page_layout_icon&16.png │ ├── page_layout_icon&24.png │ ├── playback_play_icon&16.png │ ├── playback_play_icon&24.png │ ├── playback_play_icon&32.png │ ├── playback_play_icon&48.png │ ├── playback_stop_icon&16.png │ ├── playback_stop_icon&24.png │ ├── playback_stop_icon&32.png │ ├── playback_stop_icon&48.png │ ├── redo_icon&16.png │ ├── refresh_icon&16.png │ ├── reload_icon&16.png │ ├── rnd_br_down_icon&16.png │ ├── rnd_br_next_icon&16.png │ ├── rnd_br_prev_icon&16.png │ ├── rnd_br_up_icon&16.png │ ├── round_checkmark_icon&16.png │ ├── round_delete_icon&16.png │ ├── save_icon&16.png │ ├── undo_icon&16.png │ └── zoom_icon&16.png ├── Color │ ├── attn_16.png │ ├── attn_24.png │ ├── attn_32.png │ ├── burst_16.png │ ├── cancel_16.png │ ├── cancel_24.png │ ├── cancel_32.png │ ├── check_16.png │ ├── check_24.png │ ├── check_32.png │ ├── document_16.png │ ├── export_16.png │ ├── favorites_16.png │ ├── gear_16.png │ ├── gear_24.png │ ├── gear_32.png │ ├── gear_48.png │ ├── heart_16.png │ ├── help_16.png │ ├── import_16.png │ ├── left_16.png │ ├── refresh_16.png │ ├── right_16.png │ ├── save_16.png │ └── stop_16.png ├── GentlefaceIcons.txt └── Lcd │ ├── cancel_icon&16.png │ └── checkmark_icon&16.png ├── LICENSE ├── LuaInterface_2.0.3 ├── NET20 │ ├── LuaInterface.dll │ ├── LuaInterface.pdb │ ├── lua51.dll │ └── lua51.pdb └── NET40 │ ├── LuaInterface.dll │ ├── LuaInterface.pdb │ └── lua51.dll ├── README.md ├── lcd_dll ├── LgLcd.dll ├── ReadMe.txt ├── lcd_dll.cpp ├── lcd_dll.def ├── lcd_dll.sln ├── lcd_dll.vcxproj ├── lcd_dll.vcxproj.filters ├── lglcd.lib ├── stdafx.cpp └── stdafx.h └── src ├── Devices └── G13Device.cs ├── GNet.csproj ├── HidLib ├── Device.Static.cs ├── Device.cs ├── DeviceAttributes.cs ├── DeviceCapabilities.cs ├── DeviceData.cs ├── DeviceInfo.cs ├── DeviceMode.cs ├── NativeMethods.cs ├── Original HidLibrary LICENSE └── Source.txt ├── IO ├── GlobalHook.cs ├── Hook Readme.txt ├── InputSimulator.cs ├── JoystickAngle.cs ├── JoystickPosition.cs ├── KeyRepeater.cs ├── KeyboardHook.cs └── MouseHook.cs ├── Images ├── Icons │ └── gear.ico └── Lcd │ ├── cancel_icon_16.png │ └── checkmark_icon_16.png ├── LICENSE ├── LgLcd.dll ├── LgLcd ├── Connection.cs ├── G13Lcd.cs ├── Lcd.cs └── Sdk.cs ├── OatHash.cs ├── PInvoke ├── HardwareInputData.cs ├── InputWrapper.cs ├── Interop.cs ├── KeyboardFlags.cs ├── KeyboardInputData.cs ├── MouseFlags.cs ├── MouseInputData.cs ├── MouseKeyboardHardwareUnion.cs ├── ScanCode.cs ├── ScanCodeInfo.cs ├── SendInputType.cs ├── SetWinEventHookFlags.cs ├── SystemMetric.cs ├── VirtualKeyStates.cs ├── Win32Point.cs └── WinEvent.cs ├── PriorityQueue.cs ├── Profiler ├── DeviceType.cs ├── G13KeyState.cs ├── G13Keys.cs ├── G13ProfileRunner.IO.cs ├── G13ProfileRunner.cs ├── HookOptions.cs ├── IProfileRunner.cs ├── InputAssignment.cs ├── JoystickDirection.cs ├── MacroSystem │ ├── CallFunction.cs │ ├── CancelMacro.cs │ ├── CancelingType.cs │ ├── Delay.cs │ ├── Enabler.cs │ ├── KeyChar.cs │ ├── KeyScanCode.cs │ ├── Macro.cs │ ├── MacroRunner.cs │ ├── MouseButton.cs │ ├── MouseMove.cs │ ├── MousePosition.cs │ ├── MouseWheel.cs │ ├── Step.cs │ ├── StepAction.cs │ ├── StepActionInput.cs │ ├── StepType.cs │ ├── WaitFunction.cs │ └── WriteText.cs ├── MacroSystem_ORIG │ ├── Delay.cs │ ├── IStep.cs │ ├── KeyDown.cs │ ├── KeyTap.cs │ ├── KeyUp.cs │ ├── Macro.cs │ ├── MacroManager.cs │ ├── MacroRunner.cs │ ├── MouseDown.cs │ ├── MouseMoveTo.cs │ ├── MouseNudge.cs │ ├── MouseRecallPos.cs │ ├── MouseSavePos.cs │ ├── MouseTap.cs │ ├── MouseUp.cs │ ├── MouseWheel.cs │ ├── Step.cs │ ├── StepType.cs │ └── WriteText.cs ├── Profile.cs └── ScriptLanguage.cs ├── Program.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs ├── Resources.resx ├── Settings.Designer.cs └── Settings.settings ├── ThirdParty ├── Boo │ ├── Boo.Lang.Compiler │ │ ├── AbstractAstAttribute.cs │ │ ├── AbstractAstGeneratorMacro.cs │ │ ├── AbstractAstMacro.cs │ │ ├── AbstractCompilerComponent.cs │ │ ├── Ast │ │ │ ├── ArrayLiteralExpression.cs │ │ │ ├── ArrayTypeReference.cs │ │ │ ├── AstUtil.cs │ │ │ ├── Attribute.cs │ │ │ ├── AttributeCollection.cs │ │ │ ├── Block.cs │ │ │ ├── BlockExpression.cs │ │ │ ├── BoolLiteralExpression.cs │ │ │ ├── BreakStatement.cs │ │ │ ├── CallableDefinition.cs │ │ │ ├── CallableTypeReference.cs │ │ │ ├── CastExpression.cs │ │ │ ├── CharLiteralExpression.cs │ │ │ ├── ClassDefinition.cs │ │ │ ├── CodeSerializer.cs │ │ │ ├── CollectionInitializationExpression.cs │ │ │ ├── CompileUnit.cs │ │ │ ├── ConditionalExpression.cs │ │ │ ├── ConditionalStatement.Generated.cs │ │ │ ├── Constructor.cs │ │ │ ├── ContinueStatement.cs │ │ │ ├── CustomExpression.Generated.cs │ │ │ ├── CustomStatement.Generated.cs │ │ │ ├── Declaration.cs │ │ │ ├── DeclarationCollection.cs │ │ │ ├── DeclarationStatement.cs │ │ │ ├── DepthFirstTransformer.cs │ │ │ ├── DepthFirstVisitor.cs │ │ │ ├── Destructor.cs │ │ │ ├── DoubleLiteralExpression.cs │ │ │ ├── EnumDefinition.cs │ │ │ ├── EnumMember.cs │ │ │ ├── Event.cs │ │ │ ├── ExceptionHandler.cs │ │ │ ├── ExceptionHandlerCollection.cs │ │ │ ├── ExceptionHandlerFlags.Generated.cs │ │ │ ├── ExplicitMemberInfo.cs │ │ │ ├── Expression.cs │ │ │ ├── ExpressionCollection.cs │ │ │ ├── ExpressionInterpolationExpression.cs │ │ │ ├── ExpressionPair.cs │ │ │ ├── ExpressionPairCollection.cs │ │ │ ├── ExpressionStatement.cs │ │ │ ├── ExtendedGeneratorExpression.cs │ │ │ ├── Field.cs │ │ │ ├── ForStatement.cs │ │ │ ├── GeneratorExpression.cs │ │ │ ├── GeneratorExpressionCollection.cs │ │ │ ├── GenericParameterConstraints.Generated.cs │ │ │ ├── GenericParameterDeclaration.cs │ │ │ ├── GenericParameterDeclarationCollection.cs │ │ │ ├── GenericReferenceExpression.Generated.cs │ │ │ ├── GenericTypeDefinitionReference.cs │ │ │ ├── GenericTypeReference.cs │ │ │ ├── GotoStatement.cs │ │ │ ├── HashLiteralExpression.cs │ │ │ ├── IAstVisitor.Generated.cs │ │ │ ├── IExplicitMember.cs │ │ │ ├── INodeWithArguments.cs │ │ │ ├── INodeWithAttributes.cs │ │ │ ├── INodeWithBody.cs │ │ │ ├── INodeWithGenericParameters.cs │ │ │ ├── INodeWithParameters.cs │ │ │ ├── IfStatement.cs │ │ │ ├── Impl │ │ │ │ ├── ArrayLiteralExpressionImpl.cs │ │ │ │ ├── ArrayTypeReferenceImpl.cs │ │ │ │ ├── AttributeCollectionImpl.cs │ │ │ │ ├── AttributeImpl.cs │ │ │ │ ├── BlockExpressionImpl.cs │ │ │ │ ├── BlockImpl.cs │ │ │ │ ├── BoolLiteralExpressionImpl.cs │ │ │ │ ├── BreakStatementImpl.cs │ │ │ │ ├── CallableDefinitionImpl.cs │ │ │ │ ├── CallableTypeReferenceImpl.cs │ │ │ │ ├── CastExpressionImpl.cs │ │ │ │ ├── CharLiteralExpressionImpl.cs │ │ │ │ ├── ClassDefinitionImpl.cs │ │ │ │ ├── CodeSerializer.cs │ │ │ │ ├── CollectionInitializationExpressionImpl.cs │ │ │ │ ├── CompileUnitImpl.cs │ │ │ │ ├── ConditionalExpressionImpl.cs │ │ │ │ ├── ConditionalStatementImpl.cs │ │ │ │ ├── ConstructorImpl.cs │ │ │ │ ├── ContinueStatementImpl.cs │ │ │ │ ├── CustomExpressionImpl.cs │ │ │ │ ├── CustomStatementImpl.cs │ │ │ │ ├── DeclarationCollectionImpl.cs │ │ │ │ ├── DeclarationImpl.cs │ │ │ │ ├── DeclarationStatementImpl.cs │ │ │ │ ├── DepthFirstGuide.cs │ │ │ │ ├── DepthFirstTransformer.cs │ │ │ │ ├── DepthFirstVisitor.cs │ │ │ │ ├── DestructorImpl.cs │ │ │ │ ├── DoubleLiteralExpressionImpl.cs │ │ │ │ ├── EnumDefinitionImpl.cs │ │ │ │ ├── EnumMemberImpl.cs │ │ │ │ ├── EventImpl.cs │ │ │ │ ├── ExceptionHandlerCollectionImpl.cs │ │ │ │ ├── ExceptionHandlerImpl.cs │ │ │ │ ├── ExplicitMemberInfoImpl.cs │ │ │ │ ├── ExpressionCollectionImpl.cs │ │ │ │ ├── ExpressionImpl.cs │ │ │ │ ├── ExpressionInterpolationExpressionImpl.cs │ │ │ │ ├── ExpressionPairCollectionImpl.cs │ │ │ │ ├── ExpressionPairImpl.cs │ │ │ │ ├── ExpressionStatementImpl.cs │ │ │ │ ├── ExtendedGeneratorExpressionImpl.cs │ │ │ │ ├── FastDepthFirstVisitor.cs │ │ │ │ ├── FieldImpl.cs │ │ │ │ ├── ForStatementImpl.cs │ │ │ │ ├── GeneratorExpressionCollectionImpl.cs │ │ │ │ ├── GeneratorExpressionImpl.cs │ │ │ │ ├── GenericParameterDeclarationCollectionImpl.cs │ │ │ │ ├── GenericParameterDeclarationImpl.cs │ │ │ │ ├── GenericReferenceExpressionImpl.cs │ │ │ │ ├── GenericTypeDefinitionReferenceImpl.cs │ │ │ │ ├── GenericTypeReferenceImpl.cs │ │ │ │ ├── GotoStatementImpl.cs │ │ │ │ ├── HashLiteralExpressionImpl.cs │ │ │ │ ├── IfStatementImpl.cs │ │ │ │ ├── ImportCollectionImpl.cs │ │ │ │ ├── ImportImpl.cs │ │ │ │ ├── IntegerLiteralExpressionImpl.cs │ │ │ │ ├── InterfaceDefinitionImpl.cs │ │ │ │ ├── LabelStatementImpl.cs │ │ │ │ ├── ListLiteralExpressionImpl.cs │ │ │ │ ├── LiteralExpressionImpl.cs │ │ │ │ ├── LocalCollectionImpl.cs │ │ │ │ ├── LocalImpl.cs │ │ │ │ ├── MacroStatementImpl.cs │ │ │ │ ├── MemberReferenceExpressionImpl.cs │ │ │ │ ├── MethodImpl.cs │ │ │ │ ├── MethodInvocationExpressionImpl.cs │ │ │ │ ├── ModuleCollectionImpl.cs │ │ │ │ ├── ModuleImpl.cs │ │ │ │ ├── NamespaceDeclarationImpl.cs │ │ │ │ ├── NullLiteralExpressionImpl.cs │ │ │ │ ├── ParameterDeclarationCollectionImpl.cs │ │ │ │ ├── ParameterDeclarationImpl.cs │ │ │ │ ├── PropertyImpl.cs │ │ │ │ ├── QuasiquoteExpressionImpl.cs │ │ │ │ ├── RELiteralExpressionImpl.cs │ │ │ │ ├── RaiseStatementImpl.cs │ │ │ │ ├── ReferenceExpressionImpl.cs │ │ │ │ ├── ReturnStatementImpl.cs │ │ │ │ ├── SelfLiteralExpressionImpl.cs │ │ │ │ ├── SimpleTypeReferenceImpl.cs │ │ │ │ ├── SliceCollectionImpl.cs │ │ │ │ ├── SliceImpl.cs │ │ │ │ ├── SlicingExpressionImpl.cs │ │ │ │ ├── SpliceExpressionImpl.cs │ │ │ │ ├── SpliceMemberReferenceExpressionImpl.cs │ │ │ │ ├── SpliceParameterDeclarationImpl.cs │ │ │ │ ├── SpliceTypeDefinitionBodyImpl.cs │ │ │ │ ├── SpliceTypeMemberImpl.cs │ │ │ │ ├── SpliceTypeReferenceImpl.cs │ │ │ │ ├── StatementCollectionImpl.cs │ │ │ │ ├── StatementImpl.cs │ │ │ │ ├── StatementModifierImpl.cs │ │ │ │ ├── StatementTypeMemberImpl.cs │ │ │ │ ├── StringLiteralExpressionImpl.cs │ │ │ │ ├── StructDefinitionImpl.cs │ │ │ │ ├── SuperLiteralExpressionImpl.cs │ │ │ │ ├── TimeSpanLiteralExpressionImpl.cs │ │ │ │ ├── TryCastExpressionImpl.cs │ │ │ │ ├── TryStatementImpl.cs │ │ │ │ ├── TypeDefinitionCollectionImpl.cs │ │ │ │ ├── TypeDefinitionImpl.cs │ │ │ │ ├── TypeMemberCollectionImpl.cs │ │ │ │ ├── TypeMemberImpl.cs │ │ │ │ ├── TypeMemberStatementImpl.cs │ │ │ │ ├── TypeReferenceCollectionImpl.cs │ │ │ │ ├── TypeReferenceImpl.cs │ │ │ │ ├── TypeofExpressionImpl.cs │ │ │ │ ├── UnaryExpressionImpl.cs │ │ │ │ ├── UnlessStatementImpl.cs │ │ │ │ ├── UnpackStatementImpl.cs │ │ │ │ ├── WhileStatementImpl.cs │ │ │ │ └── YieldStatementImpl.cs │ │ │ ├── Import.cs │ │ │ ├── ImportCollection.cs │ │ │ ├── IntegerLiteralExpression.cs │ │ │ ├── InterfaceDefinition.cs │ │ │ ├── LabelStatement.cs │ │ │ ├── LexicalInfo.cs │ │ │ ├── ListLiteralExpression.cs │ │ │ ├── LiteralExpression.cs │ │ │ ├── Local.cs │ │ │ ├── LocalCollection.cs │ │ │ ├── MacroStatement.cs │ │ │ ├── MemberReferenceExpression.cs │ │ │ ├── Method.cs │ │ │ ├── MethodImplementationFlags.Generated.cs │ │ │ ├── MethodInvocationExpression.cs │ │ │ ├── Module.cs │ │ │ ├── ModuleCollection.cs │ │ │ ├── NamespaceDeclaration.cs │ │ │ ├── Node.cs │ │ │ ├── NodeCollection.cs │ │ │ ├── NodeType.Generated.cs │ │ │ ├── NullLiteralExpression.cs │ │ │ ├── OmittedExpression.cs │ │ │ ├── ParameterDeclaration.cs │ │ │ ├── ParameterDeclarationCollection.cs │ │ │ ├── ParameterModifiers.Generated.cs │ │ │ ├── Property.cs │ │ │ ├── QuasiquoteExpression.cs │ │ │ ├── RELiteralExpression.cs │ │ │ ├── RaiseStatement.cs │ │ │ ├── ReferenceExpression.cs │ │ │ ├── ReturnStatement.cs │ │ │ ├── SelfLiteralExpression.cs │ │ │ ├── SimpleTypeReference.cs │ │ │ ├── Slice.cs │ │ │ ├── SliceCollection.cs │ │ │ ├── SlicingExpression.cs │ │ │ ├── SpliceExpression.cs │ │ │ ├── SpliceMemberReferenceExpression.cs │ │ │ ├── SpliceParameterDeclaration.cs │ │ │ ├── SpliceTypeDefinitionBody.Generated.cs │ │ │ ├── SpliceTypeDefinitionBody.cs │ │ │ ├── SpliceTypeMember.cs │ │ │ ├── SpliceTypeReference.cs │ │ │ ├── Statement.cs │ │ │ ├── StatementCollection.cs │ │ │ ├── StatementModifier.cs │ │ │ ├── StatementModifierType.Generated.cs │ │ │ ├── StatementTypeMember.cs │ │ │ ├── StringLiteralExpression.cs │ │ │ ├── StructDefinition.cs │ │ │ ├── SuperLiteralExpression.cs │ │ │ ├── TimeSpanLiteralExpression.cs │ │ │ ├── TryCastExpression.cs │ │ │ ├── TryStatement.cs │ │ │ ├── TypeDefinition.cs │ │ │ ├── TypeDefinitionCollection.cs │ │ │ ├── TypeMember.cs │ │ │ ├── TypeMemberCollection.cs │ │ │ ├── TypeMemberModifiers.Generated.cs │ │ │ ├── TypeMemberStatement.Generated.cs │ │ │ ├── TypeMemberStatement.cs │ │ │ ├── TypeReference.cs │ │ │ ├── TypeReferenceCollection.cs │ │ │ ├── TypeofExpression.cs │ │ │ ├── UnaryExpression.cs │ │ │ ├── UnaryOperatorType.Generated.cs │ │ │ ├── UnlessStatement.cs │ │ │ ├── UnpackStatement.cs │ │ │ ├── Visitors │ │ │ │ ├── BooPrinterVisitor.cs │ │ │ │ ├── PseudoCSharpPrinterVisitor.cs │ │ │ │ ├── TextEmitter.cs │ │ │ │ └── TreePrinterVisitor.cs │ │ │ ├── WhileStatement.cs │ │ │ └── YieldStatement.cs │ │ ├── Attributes │ │ │ └── StrictModeAttribute.cs │ │ ├── BooCompiler.cs │ │ ├── CancellableEventArgs.cs │ │ ├── CompilerContext.cs │ │ ├── CompilerError.cs │ │ ├── CompilerErrorCollection.cs │ │ ├── CompilerErrorFactory.cs │ │ ├── CompilerInputCollection.cs │ │ ├── CompilerOutputType.cs │ │ ├── CompilerParameters.cs │ │ ├── CompilerPipeline.cs │ │ ├── CompilerReferenceCollection.cs │ │ ├── CompilerResourceCollection.cs │ │ ├── CompilerWarning.cs │ │ ├── CompilerWarningCollection.cs │ │ ├── CompilerWarningFactory.cs │ │ ├── Environments │ │ │ └── MyIdiom.cs │ │ ├── IAstAttribute.cs │ │ ├── IAstGeneratorMacro.cs │ │ ├── IAstMacro.cs │ │ ├── ICompilerComponent.cs │ │ ├── ICompilerInput.cs │ │ ├── ICompilerResource.cs │ │ ├── ICompilerResourceWriter.cs │ │ ├── ICompilerStep.cs │ │ ├── IO │ │ │ ├── FileInput.cs │ │ │ ├── ReaderInput.cs │ │ │ └── StringInput.cs │ │ ├── LexicalInfoPreservingGeneratorMacro.cs │ │ ├── LexicalInfoPreservingMacro.cs │ │ ├── MetaProgramming │ │ │ ├── Compilation.cs │ │ │ └── CompilationErrorsException.cs │ │ ├── Pipelines │ │ │ ├── CheckForErrors.cs │ │ │ ├── Compile.cs │ │ │ ├── CompileToBoo.cs │ │ │ ├── CompileToFile.cs │ │ │ ├── CompileToFileAndVerify.cs │ │ │ ├── CompileToMemory.cs │ │ │ ├── ExpandMacros.cs │ │ │ ├── Parse.cs │ │ │ ├── ParseAndPrint.cs │ │ │ ├── ParseAndPrintAst.cs │ │ │ ├── ParseAndPrintXml.cs │ │ │ ├── ResolveExpressions.cs │ │ │ └── Run.cs │ │ ├── Resources │ │ │ ├── EmbeddedFileResource.cs │ │ │ ├── FileResource.cs │ │ │ ├── NamedEmbeddedFileResource.cs │ │ │ └── NamedFileResource.cs │ │ ├── Services │ │ │ ├── LanguageAmbiance.cs │ │ │ └── UniqueNameProvider.cs │ │ ├── Steps │ │ │ ├── AbstractCompilerStep.cs │ │ │ ├── AbstractFastVisitorCompilerStep.cs │ │ │ ├── AbstractNamespaceSensitiveCompilerStep.cs │ │ │ ├── AbstractNamespaceSensitiveVisitorCompilerStep.cs │ │ │ ├── AbstractTransformerCompilerStep.cs │ │ │ ├── AbstractVisitorCompilerStep.cs │ │ │ ├── ActionStep.cs │ │ │ ├── AstAnnotations.cs │ │ │ ├── BranchChecking.cs │ │ │ ├── CacheRegularExpressionsInStaticFields.cs │ │ │ ├── CheckAttributesUsage.cs │ │ │ ├── CheckGenericConstraints.cs │ │ │ ├── CheckIdentifiers.cs │ │ │ ├── CheckLiteralValues.cs │ │ │ ├── CheckMemberNames.cs │ │ │ ├── CheckMemberTypes.cs │ │ │ ├── CheckMembersProtectionLevel.cs │ │ │ ├── CheckNeverUsedMembers.cs │ │ │ ├── ClosureSignatureInferrer.cs │ │ │ ├── ConstantFolding.cs │ │ │ ├── ContextAnnotations.cs │ │ │ ├── DetectNotImplementedFeatureUsage.cs │ │ │ ├── DumpReferences.cs │ │ │ ├── EmitAssembly.cs │ │ │ ├── EntityPredicates.cs │ │ │ ├── ExpandAstLiterals.cs │ │ │ ├── ExpandDuckTypedExpressions.cs │ │ │ ├── ExpandPropertiesAndEvents.cs │ │ │ ├── ExpandVarArgsMethodInvocations.cs │ │ │ ├── ForeignReferenceCollector.cs │ │ │ ├── Generators │ │ │ │ ├── GeneratorExpressionProcessor.cs │ │ │ │ ├── GeneratorItemTypeInferrer.cs │ │ │ │ ├── GeneratorMethodProcessor.cs │ │ │ │ ├── GeneratorSkeleton.cs │ │ │ │ └── GeneratorSkeletonBuilder.cs │ │ │ ├── GenericConstraintsValidator.cs │ │ │ ├── GotoOnTopLevelContinue.cs │ │ │ ├── ImplementICallableOnCallableDefinitions.cs │ │ │ ├── Inheritance │ │ │ │ └── BaseTypeResolution.cs │ │ │ ├── InitializeNameResolutionService.cs │ │ │ ├── InjectCallableConversions.cs │ │ │ ├── InjectCastsAndConversions.cs │ │ │ ├── InjectImplicitBooleanConversions.cs │ │ │ ├── IntroduceGlobalNamespaces.cs │ │ │ ├── IntroduceModuleClasses.cs │ │ │ ├── MacroAndAttributeExpansion.cs │ │ │ ├── MacroProcessing │ │ │ │ ├── MacroCompiler.cs │ │ │ │ ├── MacroExpander.cs │ │ │ │ ├── NodeGeneratorExpander.cs │ │ │ │ └── TypeMemberStatementBubbler.cs │ │ │ ├── MergePartialTypes.cs │ │ │ ├── NormalizeExpressions.cs │ │ │ ├── NormalizeIterationStatements.cs │ │ │ ├── NormalizeStatementModifiers.cs │ │ │ ├── NormalizeTypeAndMemberDefinitions.cs │ │ │ ├── OptimizeIterationStatements.cs │ │ │ ├── PEVerify.cs │ │ │ ├── Parsing.cs │ │ │ ├── PreErrorChecking.cs │ │ │ ├── PrintAst.cs │ │ │ ├── PrintBoo.cs │ │ │ ├── PrintErrors.cs │ │ │ ├── PrintWarnings.cs │ │ │ ├── ProcessAssignmentsToSpecialMembers.cs │ │ │ ├── ProcessAssignmentsToValueTypeMembers.cs │ │ │ ├── ProcessClosures.cs │ │ │ ├── ProcessGenerators.cs │ │ │ ├── ProcessInheritedAbstractMembers.cs │ │ │ ├── ProcessMethodBodies.cs │ │ │ ├── ProcessMethodBodiesWithDuckTyping.cs │ │ │ ├── ProcessSharedLocals.cs │ │ │ ├── ReifyTypes.cs │ │ │ ├── RemoveDeadCode.cs │ │ │ ├── ResolveImports.cs │ │ │ ├── ResolveTypeReferences.cs │ │ │ ├── RunAssembly.cs │ │ │ ├── SaveAssembly.cs │ │ │ ├── SelfEntity.cs │ │ │ ├── SerializeToXml.cs │ │ │ ├── StricterErrorChecking.cs │ │ │ ├── TransformCallableDefinitions.cs │ │ │ ├── TypeInference.cs │ │ │ └── VerifyExtensionMethods.cs │ │ ├── TypeSystem │ │ │ ├── Ambiguous.cs │ │ │ ├── Builders │ │ │ │ ├── BooClassBuilder.cs │ │ │ │ ├── BooMethodBuilder.cs │ │ │ │ ├── CallableTypeBuilder.cs │ │ │ │ ├── ICodeBuilder.cs │ │ │ │ ├── ITypeReferenceFactory.cs │ │ │ │ ├── MappedTypeReferenceFactory.cs │ │ │ │ └── StandardTypeReferenceFactory.cs │ │ │ ├── BuiltinFunction.cs │ │ │ ├── BuiltinFunctionType.cs │ │ │ ├── CallableSignature.cs │ │ │ ├── Core │ │ │ │ ├── AbstractType.cs │ │ │ │ ├── AliasedNamespace.cs │ │ │ │ ├── AnonymousCallableType.cs │ │ │ │ ├── ArrayType.cs │ │ │ │ ├── ArrayTypeCache.cs │ │ │ │ ├── EmptyArrayType.cs │ │ │ │ ├── Entities.cs │ │ │ │ ├── EnvironmentProperty.cs │ │ │ │ ├── GlobalNamespace.cs │ │ │ │ ├── NamespaceDelegator.cs │ │ │ │ ├── Namespaces.cs │ │ │ │ ├── ResolvedNamespaces.cs │ │ │ │ └── SimpleNamespace.cs │ │ │ ├── EntityType.cs │ │ │ ├── Error.cs │ │ │ ├── Generics │ │ │ │ ├── AbstractGenericParameter.cs │ │ │ │ ├── GenericConstructedMethod.cs │ │ │ │ ├── GenericConstructedType.cs │ │ │ │ ├── GenericConstructionChecker.cs │ │ │ │ ├── GenericMappedMembers.cs │ │ │ │ ├── GenericMappedTypeParameter.cs │ │ │ │ ├── GenericMapping.cs │ │ │ │ ├── GenericParameterInferrer.cs │ │ │ │ ├── GenericsServices.cs │ │ │ │ ├── InferredType.cs │ │ │ │ ├── MappedParameter.cs │ │ │ │ ├── TypeInferrer.cs │ │ │ │ └── TypeMapper.cs │ │ │ ├── IAccessibilityChecker.cs │ │ │ ├── IAccessibleMember.cs │ │ │ ├── IArrayType.cs │ │ │ ├── ICallableType.cs │ │ │ ├── ICompileUnit.cs │ │ │ ├── IConstructedMethodInfo.cs │ │ │ ├── IConstructedTypeInfo.cs │ │ │ ├── IConstructor.cs │ │ │ ├── IDestructor.cs │ │ │ ├── IEntity.cs │ │ │ ├── IEntityWithAttributes.cs │ │ │ ├── IEntityWithParameters.cs │ │ │ ├── IEvent.cs │ │ │ ├── IExtensionEnabled.cs │ │ │ ├── IExternalEntity.cs │ │ │ ├── IField.cs │ │ │ ├── IGenericMethodInfo.cs │ │ │ ├── IGenericParameter.cs │ │ │ ├── IGenericTypeInfo.cs │ │ │ ├── IInternalEntity.cs │ │ │ ├── ILocalEntity.cs │ │ │ ├── IMember.cs │ │ │ ├── IMethod.cs │ │ │ ├── IMethodBase.cs │ │ │ ├── INameSpace.cs │ │ │ ├── IOverridableMember.cs │ │ │ ├── IParameter.cs │ │ │ ├── IProperty.cs │ │ │ ├── IType.cs │ │ │ ├── ITypedEntity.cs │ │ │ ├── Internal │ │ │ │ ├── AbstractInternalType.cs │ │ │ │ ├── AbstractLocalEntity.cs │ │ │ │ ├── CompileUnitNamespace.cs │ │ │ │ ├── DeclarationsNamespace.cs │ │ │ │ ├── ImportAnnotations.cs │ │ │ │ ├── ImportedNamespace.cs │ │ │ │ ├── InternalCallableType.cs │ │ │ │ ├── InternalClass.cs │ │ │ │ ├── InternalCompileUnit.cs │ │ │ │ ├── InternalConstructor.cs │ │ │ │ ├── InternalEntity.cs │ │ │ │ ├── InternalEnum.cs │ │ │ │ ├── InternalEnumMember.cs │ │ │ │ ├── InternalEvent.cs │ │ │ │ ├── InternalField.cs │ │ │ │ ├── InternalGenericMapping.cs │ │ │ │ ├── InternalGenericMethod.cs │ │ │ │ ├── InternalGenericParameter.cs │ │ │ │ ├── InternalInterface.cs │ │ │ │ ├── InternalLabel.cs │ │ │ │ ├── InternalLocal.cs │ │ │ │ ├── InternalMethod.cs │ │ │ │ ├── InternalModule.cs │ │ │ │ ├── InternalParameter.cs │ │ │ │ ├── InternalProperty.cs │ │ │ │ ├── InternalTypeSystemProvider.cs │ │ │ │ └── PartialModuleNamespace.cs │ │ │ ├── Null.cs │ │ │ ├── Reflection │ │ │ │ ├── AbstractExternalGenericInfo.cs │ │ │ │ ├── AssemblyEqualityComparer.cs │ │ │ │ ├── AssemblyReference.cs │ │ │ │ ├── CachedMethod.cs │ │ │ │ ├── ExternalCallableType.cs │ │ │ │ ├── ExternalConstructedMethodInfo.cs │ │ │ │ ├── ExternalConstructedTypeInfo.cs │ │ │ │ ├── ExternalConstructor.cs │ │ │ │ ├── ExternalEntity.cs │ │ │ │ ├── ExternalEvent.cs │ │ │ │ ├── ExternalField.cs │ │ │ │ ├── ExternalGenericMapping.cs │ │ │ │ ├── ExternalGenericMethodInfo.cs │ │ │ │ ├── ExternalGenericParameter.cs │ │ │ │ ├── ExternalGenericTypeInfo.cs │ │ │ │ ├── ExternalMethod.cs │ │ │ │ ├── ExternalParameter.cs │ │ │ │ ├── ExternalProperty.cs │ │ │ │ ├── ExternalType.cs │ │ │ │ ├── IAssemblyReference.cs │ │ │ │ ├── IReflectionTypeSystemProvider.cs │ │ │ │ ├── ReflectionNamespace.cs │ │ │ │ ├── ReflectionNamespaceBuilder.cs │ │ │ │ └── ReflectionTypeSystemProvider.cs │ │ │ ├── Services │ │ │ │ ├── AccessibilityChecker.cs │ │ │ │ ├── AnonymousCallablesManager.cs │ │ │ │ ├── BooCodeBuilder.cs │ │ │ │ ├── CallableResolutionService.cs │ │ │ │ ├── CodeReifier.cs │ │ │ │ ├── CompilerErrorEmitter.cs │ │ │ │ ├── CurrentScope.cs │ │ │ │ ├── DowncastPermissions.cs │ │ │ │ ├── EntityFormatter.cs │ │ │ │ ├── InvocationTypeInferenceRules.cs │ │ │ │ ├── MemberCollector.cs │ │ │ │ ├── MetadataUtil.cs │ │ │ │ ├── NameResolutionService.cs │ │ │ │ ├── TypeCompatibilityRules.cs │ │ │ │ └── TypeSystemServices.cs │ │ │ ├── TypeCollector.cs │ │ │ ├── TypeSystemExtensions.cs │ │ │ ├── TypeVisitor.cs │ │ │ ├── Types.cs │ │ │ ├── Unknown.cs │ │ │ └── Variance.cs │ │ └── Util │ │ │ ├── ArrayEqualityComparer.cs │ │ │ ├── ITask.cs │ │ │ ├── MemoizedFunction.cs │ │ │ ├── Methods.cs │ │ │ ├── Permissions.cs │ │ │ ├── Properties.cs │ │ │ ├── Set.cs │ │ │ ├── StringUtilities.cs │ │ │ ├── TaskList.cs │ │ │ └── TypeUtilities.cs │ ├── Boo.Lang.Parser │ │ ├── BooExpressionLexer.cs │ │ ├── BooExpressionLexerTokenTypes.cs │ │ ├── BooLexer.cs │ │ ├── BooParser.cs │ │ ├── BooParserBase.cs │ │ ├── BooParsingStep.cs │ │ ├── BooToken.cs │ │ ├── BooTokenTypes.cs │ │ ├── BooTokenTypes.txt │ │ ├── CodeFactory.cs │ │ ├── DocStringFormatter.cs │ │ ├── OperatorParser.cs │ │ ├── ParserSettings.cs │ │ ├── PrimitiveParser.cs │ │ ├── SourceLocationFactory.cs │ │ ├── Util │ │ │ ├── IndentTokenStreamFilter.cs │ │ │ ├── Readers.cs │ │ │ └── TokenStreamRecorder.cs │ │ ├── WSABooExpressionLexer.cs │ │ ├── WSABooExpressionLexerTokenTypes.cs │ │ ├── WSABooExpressionLexerTokenTypes.txt │ │ ├── WSABooLexer.cs │ │ ├── WSABooParser.cs │ │ ├── WSABooParserBase.cs │ │ ├── WSABooParsingStep.cs │ │ ├── WSABooTokenTypes.cs │ │ ├── WSABooTokenTypes.txt │ │ └── antlr │ │ │ ├── SupportClass.cs │ │ │ ├── antlr.collections.impl │ │ │ ├── ASTArray.cs │ │ │ └── BitSet.cs │ │ │ ├── antlr.collections │ │ │ └── AST.cs │ │ │ └── antlr │ │ │ ├── ANTLRException.cs │ │ │ ├── ANTLRPanicException.cs │ │ │ ├── ASTFactory.cs │ │ │ ├── ASTNULLType.cs │ │ │ ├── ASTNodeCreator.cs │ │ │ ├── ASTPair.cs │ │ │ ├── ASTVisitor.cs │ │ │ ├── BaseAST.cs │ │ │ ├── ByteBuffer.cs │ │ │ ├── CharBuffer.cs │ │ │ ├── CharQueue.cs │ │ │ ├── CharScanner.cs │ │ │ ├── CharStreamException.cs │ │ │ ├── CharStreamIOException.cs │ │ │ ├── CommonAST.cs │ │ │ ├── CommonASTWithHiddenTokens.cs │ │ │ ├── CommonHiddenStreamToken.cs │ │ │ ├── CommonToken.cs │ │ │ ├── DefaultFileLineFormatter.cs │ │ │ ├── DumpASTVisitor.cs │ │ │ ├── FileLineFormatter.cs │ │ │ ├── IHiddenStreamToken.cs │ │ │ ├── IToken.cs │ │ │ ├── InputBuffer.cs │ │ │ ├── LLkParser.cs │ │ │ ├── LexerSharedInputState.cs │ │ │ ├── MismatchedCharException.cs │ │ │ ├── MismatchedTokenException.cs │ │ │ ├── NoViableAltException.cs │ │ │ ├── NoViableAltForCharException.cs │ │ │ ├── ParseTree.cs │ │ │ ├── ParseTreeRule.cs │ │ │ ├── ParseTreeToken.cs │ │ │ ├── Parser.cs │ │ │ ├── ParserSharedInputState.cs │ │ │ ├── RecognitionException.cs │ │ │ ├── SemanticException.cs │ │ │ ├── StringUtils.cs │ │ │ ├── Token.cs │ │ │ ├── TokenBuffer.cs │ │ │ ├── TokenCreator.cs │ │ │ ├── TokenQueue.cs │ │ │ ├── TokenStream.cs │ │ │ ├── TokenStreamBasicFilter.cs │ │ │ ├── TokenStreamException.cs │ │ │ ├── TokenStreamHiddenTokenFilter.cs │ │ │ ├── TokenStreamIOException.cs │ │ │ ├── TokenStreamRecognitionException.cs │ │ │ ├── TokenStreamRetryException.cs │ │ │ ├── TokenStreamRewriteEngine.cs │ │ │ ├── TokenStreamSelector.cs │ │ │ ├── TokenWithIndex.cs │ │ │ ├── TreeParser.cs │ │ │ └── TreeParserSharedInputState.cs │ └── Boo.Lang │ │ ├── AbstractGenerator.cs │ │ ├── AbstractGeneratorEnumerator.cs │ │ ├── BooComparer.cs │ │ ├── BooHashCodeProvider.cs │ │ ├── Builtins.cs │ │ ├── DuckTypedAttribute.cs │ │ ├── DynamicVariable.cs │ │ ├── EnumeratorItemTypeAttribute.cs │ │ ├── Environments │ │ ├── ActiveEnvironment.cs │ │ ├── CachingEnvironment.cs │ │ ├── ClosedEnvironment.cs │ │ ├── DeferredEnvironment.cs │ │ ├── EnvironmentChain.cs │ │ ├── EnvironmentProvision.cs │ │ ├── IEnvironment.cs │ │ ├── InstantiatingEnvironment.cs │ │ └── My.cs │ │ ├── ExtensionAttribute.cs │ │ ├── GenericGenerator.cs │ │ ├── GenericGeneratorEnumerator.cs │ │ ├── GenericList.cs │ │ ├── Hash.cs │ │ ├── ICallable.cs │ │ ├── IQuackFu.cs │ │ ├── IQuackFuMember.cs │ │ ├── IReflectiveQuackFu.cs │ │ ├── List.cs │ │ ├── MetaAttribute.cs │ │ ├── ModuleAttribute.cs │ │ ├── Procedure.cs │ │ ├── QuackFuMember.cs │ │ ├── ResourceManager.cs │ │ ├── Resources │ │ └── StringResources.cs │ │ ├── Runtime │ │ ├── AssertionFailedException.cs │ │ ├── CandidateMethod.cs │ │ ├── DynamicDispatching │ │ │ ├── AbstractDispatcherFactory.cs │ │ │ ├── DispatcherCache.cs │ │ │ ├── DispatcherKey.cs │ │ │ ├── Emitters │ │ │ │ ├── DispatcherEmitter.cs │ │ │ │ ├── ExtensionMethodDispatcherEmitter.cs │ │ │ │ ├── GetFieldEmitter.cs │ │ │ │ ├── ImplicitConversionEmitter.cs │ │ │ │ ├── MethodDispatcherEmitter.cs │ │ │ │ ├── SetFieldEmitter.cs │ │ │ │ └── SetPropertyEmitter.cs │ │ │ ├── MethodDispatcherFactory.cs │ │ │ ├── NumericPromotions.cs │ │ │ ├── PropertyDispatcherFactory.cs │ │ │ ├── SetOrGet.cs │ │ │ └── SliceDispatcherFactory.cs │ │ ├── ExtensionRegistry.cs │ │ ├── ICoercible.cs │ │ ├── MethodResolver.cs │ │ ├── NumericTypes.cs │ │ ├── RuntimeException.cs │ │ ├── RuntimeServices.cs │ │ └── TextReaderEnumerator.cs │ │ └── TypeInferenceRuleAttribute.cs ├── DockPanelSuite │ ├── Docking │ │ ├── AutoHideStripBase.cs │ │ ├── DockAreasEditor.cs │ │ ├── DockContent.cs │ │ ├── DockContentCollection.cs │ │ ├── DockContentEventArgs.cs │ │ ├── DockContentHandler.cs │ │ ├── DockOutlineBase.cs │ │ ├── DockPane.SplitterControl.cs │ │ ├── DockPane.cs │ │ ├── DockPaneCaptionBase.cs │ │ ├── DockPaneCollection.cs │ │ ├── DockPaneStripBase.cs │ │ ├── DockPanel.AutoHideWindow.cs │ │ ├── DockPanel.DockDragHandler.cs │ │ ├── DockPanel.DragHandler.cs │ │ ├── DockPanel.FocusManager.cs │ │ ├── DockPanel.MdiClientController.cs │ │ ├── DockPanel.Persistor.cs │ │ ├── DockPanel.SplitterDragHandler.cs │ │ ├── DockPanel.bmp │ │ ├── DockPanel.cs │ │ ├── DockPanelExtender.cs │ │ ├── DockPanelSkin.cs │ │ ├── DockWindow.SplitterControl.cs │ │ ├── DockWindow.cs │ │ ├── DockWindowCollection.cs │ │ ├── DragForm.cs │ │ ├── DummyControl.cs │ │ ├── Enums.cs │ │ ├── FloatWindow.cs │ │ ├── FloatWindowCollection.cs │ │ ├── Helpers │ │ │ ├── DockHelper.cs │ │ │ ├── DrawHelper.cs │ │ │ ├── ResourceHelper.cs │ │ │ └── Win32Helper.cs │ │ ├── InertButtonBase.cs │ │ ├── Interfaces.cs │ │ ├── Localization.cs │ │ ├── Measures.cs │ │ ├── NestedDockingStatus.cs │ │ ├── NestedPaneCollection.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Resources │ │ │ ├── DockIndicator_PaneDiamond.bmp │ │ │ ├── DockIndicator_PaneDiamond_Bottom.bmp │ │ │ ├── DockIndicator_PaneDiamond_Hotspot.bmp │ │ │ ├── DockIndicator_PaneDiamond_HotspotIndex.bmp │ │ │ ├── DockIndicator_PaneDiamond_Left.bmp │ │ │ ├── DockIndicator_PaneDiamond_Right.bmp │ │ │ ├── DockIndicator_PaneDiamond_Top.bmp │ │ │ ├── DockIndicator_PanelBottom.bmp │ │ │ ├── DockIndicator_PanelBottom_Active.bmp │ │ │ ├── DockIndicator_PanelFill.bmp │ │ │ ├── DockIndicator_PanelFill_Active.bmp │ │ │ ├── DockIndicator_PanelLeft.bmp │ │ │ ├── DockIndicator_PanelLeft_Active.bmp │ │ │ ├── DockIndicator_PanelRight.bmp │ │ │ ├── DockIndicator_PanelRight_Active.bmp │ │ │ ├── DockIndicator_PanelTop.bmp │ │ │ ├── DockIndicator_PanelTop_Active.bmp │ │ │ ├── DockPane_AutoHide.bmp │ │ │ ├── DockPane_Close.bmp │ │ │ ├── DockPane_Dock.bmp │ │ │ ├── DockPane_Option.bmp │ │ │ ├── DockPane_OptionOverflow.bmp │ │ │ ├── Dockindicator_PaneDiamond_Fill.bmp │ │ │ └── Thumbs.db │ │ ├── SplitterBase.cs │ │ ├── Strings.Designer.cs │ │ ├── Strings.resx │ │ ├── VS2005AutoHideStrip.cs │ │ ├── VS2005DockPaneCaption.cs │ │ ├── VS2005DockPaneStrip.cs │ │ ├── VisibleNestedPaneCollection.cs │ │ └── Win32 │ │ │ ├── Enums.cs │ │ │ └── NativeMethods.cs │ ├── Source.txt │ └── license.txt ├── ICSharpCode │ ├── Source.txt │ ├── TextEditor │ │ ├── Actions │ │ │ ├── BookmarkActions.cs │ │ │ ├── CaretActions.cs │ │ │ ├── ClipBoardActions.cs │ │ │ ├── FoldActions.cs │ │ │ ├── FormatActions.cs │ │ │ ├── HomeEndActions.cs │ │ │ ├── IEditAction.cs │ │ │ ├── MiscActions.cs │ │ │ └── SelectionActions.cs │ │ ├── Document │ │ │ ├── AbstractSegment.cs │ │ │ ├── BookmarkManager │ │ │ │ ├── Bookmark.cs │ │ │ │ ├── BookmarkEventHandler.cs │ │ │ │ ├── BookmarkManager.cs │ │ │ │ └── BookmarkManagerMemento.cs │ │ │ ├── DefaultDocument.cs │ │ │ ├── DefaultTextEditorProperties.cs │ │ │ ├── DocumentEventArgs.cs │ │ │ ├── DocumentFactory.cs │ │ │ ├── FoldingStrategy │ │ │ │ ├── FoldMarker.cs │ │ │ │ ├── FoldingManager.cs │ │ │ │ ├── IFoldingStrategy.cs │ │ │ │ └── IndentFoldingStrategy.cs │ │ │ ├── FormattingStrategy │ │ │ │ ├── DefaultFormattingStrategy.cs │ │ │ │ └── IFormattingStrategy.cs │ │ │ ├── HighlightingStrategy │ │ │ │ ├── DefaultHighlightingStrategy.cs │ │ │ │ ├── FontContainer.cs │ │ │ │ ├── HighlightBackground.cs │ │ │ │ ├── HighlightColor.cs │ │ │ │ ├── HighlightInfo.cs │ │ │ │ ├── HighlightRuleSet.cs │ │ │ │ ├── HighlightingColorNotFoundException.cs │ │ │ │ ├── HighlightingDefinitionInvalidException.cs │ │ │ │ ├── HighlightingDefinitionParser.cs │ │ │ │ ├── HighlightingManager.cs │ │ │ │ ├── HighlightingStrategyFactory.cs │ │ │ │ ├── IHighlightingStrategy.cs │ │ │ │ ├── NextMarker.cs │ │ │ │ ├── PrevMarker.cs │ │ │ │ ├── Span.cs │ │ │ │ ├── SpanStack.cs │ │ │ │ ├── SyntaxModes │ │ │ │ │ ├── FileSyntaxModeProvider.cs │ │ │ │ │ ├── ISyntaxModeFileProvider.cs │ │ │ │ │ ├── ResourceSyntaxModeProvider.cs │ │ │ │ │ └── SyntaxMode.cs │ │ │ │ └── TextWord.cs │ │ │ ├── IDocument.cs │ │ │ ├── ISegment.cs │ │ │ ├── ITextEditorProperties.cs │ │ │ ├── LineManager │ │ │ │ ├── DeferredEventList.cs │ │ │ │ ├── LineManager.cs │ │ │ │ ├── LineManagerEventArgs.cs │ │ │ │ ├── LineSegment.cs │ │ │ │ └── LineSegmentTree.cs │ │ │ ├── MarkerStrategy │ │ │ │ ├── MarkerStrategy.cs │ │ │ │ └── TextMarker.cs │ │ │ ├── Selection │ │ │ │ ├── ColumnRange.cs │ │ │ │ ├── DefaultSelection.cs │ │ │ │ ├── ISelection.cs │ │ │ │ └── SelectionManager.cs │ │ │ ├── TextAnchor.cs │ │ │ ├── TextBufferStrategy │ │ │ │ ├── GapTextBufferStrategy.cs │ │ │ │ ├── ITextBufferStrategy.cs │ │ │ │ └── StringTextBufferStrategy.cs │ │ │ ├── TextLocation.cs │ │ │ └── TextUtilities.cs │ │ ├── Gui │ │ │ ├── AbstractMargin.cs │ │ │ ├── BracketHighlighter.cs │ │ │ ├── BrushRegistry.cs │ │ │ ├── Caret.cs │ │ │ ├── CompletionWindow │ │ │ │ ├── AbstractCompletionWindow.cs │ │ │ │ ├── CodeCompletionListView.cs │ │ │ │ ├── CodeCompletionWindow.cs │ │ │ │ ├── DeclarationViewWindow.cs │ │ │ │ ├── ICompletionData.cs │ │ │ │ └── ICompletionDataProvider.cs │ │ │ ├── DrawableLine.cs │ │ │ ├── FoldMargin.cs │ │ │ ├── GutterMargin.cs │ │ │ ├── HRuler.cs │ │ │ ├── IconBarMargin.cs │ │ │ ├── Ime.cs │ │ │ ├── InsightWindow │ │ │ │ ├── IInsightDataProvider.cs │ │ │ │ └── InsightWindow.cs │ │ │ ├── TextArea.cs │ │ │ ├── TextAreaClipboardHandler.cs │ │ │ ├── TextAreaControl.cs │ │ │ ├── TextAreaDragDropHandler.cs │ │ │ ├── TextAreaMouseHandler.cs │ │ │ ├── TextAreaUpdate.cs │ │ │ ├── TextEditorControl.cs │ │ │ ├── TextEditorControlBase.cs │ │ │ ├── TextView.cs │ │ │ └── ToolTipRequestEventArgs.cs │ │ ├── Resources │ │ │ ├── ASPX.xshd │ │ │ ├── BAT-Mode.xshd │ │ │ ├── Boo.xshd │ │ │ ├── CPP-Mode.xshd │ │ │ ├── CSharp-Mode.xshd │ │ │ ├── Coco-Mode.xshd │ │ │ ├── HTML-Mode.xshd │ │ │ ├── ICSharpCode.TextEditor.snk │ │ │ ├── Java-Mode.xshd │ │ │ ├── JavaScript-Mode.xshd │ │ │ ├── Lua.xshd │ │ │ ├── Mode.xsd │ │ │ ├── PHP-Mode.xshd │ │ │ ├── Patch-Mode.xshd │ │ │ ├── Python.xshd │ │ │ ├── RightArrow.cur │ │ │ ├── SyntaxModes.xml │ │ │ ├── Tex-Mode.xshd │ │ │ ├── TextEditorControl.bmp │ │ │ ├── VBNET-Mode.xshd │ │ │ └── XML-Mode.xshd │ │ ├── Undo │ │ │ ├── IUndoableOperation.cs │ │ │ ├── UndoQueue.cs │ │ │ ├── UndoStack.cs │ │ │ ├── UndoableDelete.cs │ │ │ ├── UndoableInsert.cs │ │ │ └── UndoableReplace.cs │ │ └── Util │ │ │ ├── AugmentableRedBlackTree.cs │ │ │ ├── CheckedList.cs │ │ │ ├── FileReader.cs │ │ │ ├── LoggingService.cs │ │ │ ├── LookupTable.cs │ │ │ ├── MouseWheelHandler.cs │ │ │ ├── RedBlackTreeIterator.cs │ │ │ ├── RtfWriter.cs │ │ │ ├── TextUtility.cs │ │ │ ├── TipPainter.cs │ │ │ ├── TipPainterTools.cs │ │ │ ├── TipSection.cs │ │ │ ├── TipSpacer.cs │ │ │ ├── TipSplitter.cs │ │ │ ├── TipText.cs │ │ │ └── WeakCollection.cs │ ├── copyright.txt │ └── license.txt ├── Jurassic │ ├── Compiler │ │ ├── Binders │ │ │ ├── Binder.cs │ │ │ ├── BinderMethod.cs │ │ │ ├── BinderUtilities.cs │ │ │ ├── ClrBinder.cs │ │ │ ├── FieldBinders.cs │ │ │ ├── JSBinder.cs │ │ │ ├── JSBinderMethod.cs │ │ │ └── MethodBinder.cs │ │ ├── Debugging │ │ │ ├── COMHelpers.cs │ │ │ ├── SourceCodePosition.cs │ │ │ └── SourceCodeSpan.cs │ │ ├── Emit │ │ │ ├── EmitConversion.cs │ │ │ ├── EmitHelpers.cs │ │ │ ├── ILGenerator │ │ │ │ ├── DynamicILGenerator.cs │ │ │ │ ├── ILGenerator.cs │ │ │ │ ├── ILLabel.cs │ │ │ │ ├── ILLocalVariable.cs │ │ │ │ ├── LoggingILGenerator.cs │ │ │ │ └── ReflectionEmitILGenerator.cs │ │ │ ├── LongJumpException.cs │ │ │ ├── MethodOptimizationHints.cs │ │ │ ├── OptimizationInfo.cs │ │ │ ├── Optimizations.txt │ │ │ ├── PrimitiveType.cs │ │ │ └── PrimitiveTypeUtilities.cs │ │ ├── Expressions │ │ │ ├── AssignmentExpression.cs │ │ │ ├── BinaryExpression.cs │ │ │ ├── Expression.cs │ │ │ ├── FunctionCallExpression.cs │ │ │ ├── FunctionExpression.cs │ │ │ ├── GroupingExpression.cs │ │ │ ├── IReferenceExpression.cs │ │ │ ├── ListExpression.cs │ │ │ ├── LiteralExpression.cs │ │ │ ├── MemberAccessExpression.cs │ │ │ ├── NameExpression.cs │ │ │ ├── NewExpression.cs │ │ │ ├── OperatorExpression.cs │ │ │ ├── TernaryExpression.cs │ │ │ ├── ThisExpression.cs │ │ │ └── UnaryExpression.cs │ │ ├── Lexer │ │ │ ├── IdentifierToken.cs │ │ │ ├── KeywordToken.cs │ │ │ ├── Lexer.cs │ │ │ ├── LiteralToken.cs │ │ │ ├── PunctuatorToken.cs │ │ │ ├── RegularExpressionLiteral.cs │ │ │ └── Token.cs │ │ ├── MethodGenerator │ │ │ ├── CodeContext.cs │ │ │ ├── CompilerOptions.cs │ │ │ ├── EvalMethodGenerator.cs │ │ │ ├── FunctionMethodGenerator.cs │ │ │ ├── GeneratedMethod.cs │ │ │ ├── GlobalMethodGenerator.cs │ │ │ └── MethodGenerator.cs │ │ ├── Parser │ │ │ ├── AstNode.cs │ │ │ ├── Operator.cs │ │ │ └── Parser.cs │ │ ├── Scope │ │ │ ├── DeclarativeScope.cs │ │ │ ├── ObjectScope.cs │ │ │ └── Scope.cs │ │ └── Statements │ │ │ ├── BlockStatement.cs │ │ │ ├── BreakStatement.cs │ │ │ ├── ContinueStatement.cs │ │ │ ├── DebuggerStatement.cs │ │ │ ├── DoWhileStatement.cs │ │ │ ├── EmptyStatement.cs │ │ │ ├── ExpressionStatement.cs │ │ │ ├── ForInStatement.cs │ │ │ ├── ForStatement.cs │ │ │ ├── IfStatement.cs │ │ │ ├── LoopStatement.cs │ │ │ ├── ReturnStatement.cs │ │ │ ├── Statement.cs │ │ │ ├── SwitchStatement.cs │ │ │ ├── ThrowStatement.cs │ │ │ ├── TryCatchFinallyStatement.cs │ │ │ ├── VarStatement.cs │ │ │ ├── WhileStatement.cs │ │ │ └── WithStatement.cs │ ├── Core │ │ ├── BigInteger.cs │ │ ├── CompatibilityMode.cs │ │ ├── ConcatenatedString.cs │ │ ├── JavaScriptException.cs │ │ ├── Null.cs │ │ ├── NumberFormatter.cs │ │ ├── NumberParser.cs │ │ ├── ReflectionHelpers.cs │ │ ├── ScriptEngine.cs │ │ ├── ScriptSource │ │ │ ├── FileScriptSource.cs │ │ │ ├── ScriptSource.cs │ │ │ └── StringScriptSource.cs │ │ ├── Serialization.cs │ │ ├── StringHelpers.cs │ │ ├── TypeComparer.cs │ │ ├── TypeConverter.cs │ │ ├── TypeUtilities.cs │ │ └── Undefined.cs │ ├── Library │ │ ├── Array │ │ │ ├── ArrayConstructor.cs │ │ │ ├── ArrayInstance.cs │ │ │ └── SparseArray.cs │ │ ├── Boolean │ │ │ ├── BooleanConstructor.cs │ │ │ └── BooleanInstance.cs │ │ ├── ClrWrapper │ │ │ ├── ClrInstanceTypeWrapper.cs │ │ │ ├── ClrInstanceWrapper.cs │ │ │ └── ClrStaticTypeWrapper.cs │ │ ├── Date │ │ │ ├── DateConstructor.cs │ │ │ ├── DateInstance.cs │ │ │ └── DateParser.cs │ │ ├── Error │ │ │ ├── ErrorConstructor.cs │ │ │ └── ErrorInstance.cs │ │ ├── FirebugConsole │ │ │ ├── FirebugConsole.cs │ │ │ ├── IFirebugConsoleOutput.cs │ │ │ └── StandardConsoleOutput.cs │ │ ├── Function │ │ │ ├── ArgumentsInstance.cs │ │ │ ├── BoundFunction.cs │ │ │ ├── ClrFunction.cs │ │ │ ├── Delegates.cs │ │ │ ├── FunctionConstructor.cs │ │ │ ├── FunctionInstance.cs │ │ │ ├── ThrowTypeErrorFunction.cs │ │ │ └── UserDefinedFunction.cs │ │ ├── GlobalObject.cs │ │ ├── JSON │ │ │ ├── JSONLexer.cs │ │ │ ├── JSONObject.cs │ │ │ ├── JSONParser.cs │ │ │ └── JSONSerializer.cs │ │ ├── MathObject.cs │ │ ├── Number │ │ │ ├── NumberConstructor.cs │ │ │ └── NumberInstance.cs │ │ ├── Object │ │ │ ├── Attributes.cs │ │ │ ├── HiddenClassSchema.cs │ │ │ ├── JSFunctionFlags.cs │ │ │ ├── ObjectConstructor.cs │ │ │ ├── ObjectInstance.cs │ │ │ ├── PropertyAccessorValue.cs │ │ │ ├── PropertyAttributes.cs │ │ │ ├── PropertyDescriptor.cs │ │ │ ├── PropertyNameAndValue.cs │ │ │ └── SchemaProperty.cs │ │ ├── RegExp │ │ │ ├── RegExpConstructor.cs │ │ │ └── RegExpInstance.cs │ │ └── String │ │ │ ├── StringConstructor.cs │ │ │ └── StringInstance.cs │ ├── License.txt │ └── Source.txt ├── ObjectListView │ ├── Adornments.cs │ ├── Attributes.cs │ ├── COPYING │ ├── CellEditors.cs │ ├── Comparers.cs │ ├── CustomDictionary.xml │ ├── DataListView.cs │ ├── Decorations.cs │ ├── DragSource.cs │ ├── DropSink.cs │ ├── Events.cs │ ├── FastObjectListView.cs │ ├── Filters.cs │ ├── Generator.cs │ ├── GlassPanelForm.cs │ ├── Groups.cs │ ├── HeaderControl.cs │ ├── Munger.cs │ ├── NativeMethods.cs │ ├── ObjectListView.DesignTime.cs │ ├── ObjectListView.cs │ ├── Overlays.cs │ ├── Renderers.cs │ ├── Source.txt │ ├── Styles.cs │ ├── ToolTipControl.cs │ ├── TreeListView.cs │ ├── TypedObjectListView.cs │ ├── VirtualGroups.cs │ ├── VirtualListDataSource.cs │ └── VirtualObjectListView.cs └── mono │ ├── CollectionDebuggerView.cs │ ├── Consts.cs │ ├── LICENSE │ ├── MonoTODOAttribute.cs │ ├── Source.txt │ └── System.Core │ ├── Assembly │ ├── AssemblyInfo.cs │ └── ChangeLog │ ├── System.Collections.Generic │ ├── ChangeLog │ └── HashSet.cs │ ├── System.Linq.Expressions │ ├── BinaryExpression.cs │ ├── ChangeLog │ ├── ConditionalExpression.cs │ ├── ConstantExpression.cs │ ├── ElementInit.cs │ ├── EmitContext.cs │ ├── Expression.cs │ ├── ExpressionPrinter.cs │ ├── ExpressionTransformer.cs │ ├── ExpressionType.cs │ ├── ExpressionVisitor.cs │ ├── Expression_T.cs │ ├── Extensions.cs │ ├── InvocationExpression.cs │ ├── LambdaExpression.cs │ ├── ListInitExpression.cs │ ├── MemberAssignment.cs │ ├── MemberBinding.cs │ ├── MemberBindingType.cs │ ├── MemberExpression.cs │ ├── MemberInitExpression.cs │ ├── MemberListBinding.cs │ ├── MemberMemberBinding.cs │ ├── MethodCallExpression.cs │ ├── NewArrayExpression.cs │ ├── NewExpression.cs │ ├── ParameterExpression.cs │ ├── TypeBinaryExpression.cs │ └── UnaryExpression.cs │ ├── System.Linq │ ├── ChangeLog │ ├── Check.cs │ ├── Enumerable.cs │ ├── EnumerableExecutor.cs │ ├── EnumerableExecutor_T.cs │ ├── EnumerableQuery.cs │ ├── EnumerableQuery_T.cs │ ├── Grouping.cs │ ├── IGrouping.cs │ ├── ILookup_T.cs │ ├── IOrderedEnumerable_T.cs │ ├── IOrderedQueryable.cs │ ├── IOrderedQueryable_T.cs │ ├── IQueryProvider.cs │ ├── IQueryable.cs │ ├── IQueryable_T.cs │ ├── Lookup.cs │ ├── OrderedEnumerable.cs │ ├── OrderedParallelQuery.cs │ ├── OrderedSequence.cs │ ├── ParallelEnumerable.cs │ ├── ParallelExecutionMode.cs │ ├── ParallelMergeOptions.cs │ ├── ParallelQuery.cs │ ├── Queryable.cs │ ├── QueryableEnumerable.cs │ ├── QueryableTransformer.cs │ ├── QuickSort.cs │ ├── SortContext.cs │ ├── SortDirection.cs │ └── SortSequenceContext.cs │ ├── System.Runtime.CompilerServices │ ├── ChangeLog │ ├── DynamicAttribute.cs │ ├── ExecutionScope.cs │ ├── ExtensionAttribute.cs │ ├── IStrongBox.cs │ └── StrongBox_T.cs │ ├── System │ ├── Actions.cs │ ├── ChangeLog │ ├── Funcs.cs │ ├── InvalidTimeZoneException.cs │ ├── TimeZoneInfo.AdjustmentRule.cs │ ├── TimeZoneInfo.Android.cs │ ├── TimeZoneInfo.TransitionTime.cs │ ├── TimeZoneInfo.cs │ ├── TimeZoneNotFoundException.cs │ └── Util.cs │ └── TODO ├── UI ├── MainForm.Designer.cs ├── MainForm.cs ├── MainForm.resx ├── ProfileListForm.Designer.cs ├── ProfileListForm.cs └── ProfileListForm.resx └── WinFormsTextBoxStreamWriter.cs /.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | *.user 3 | *.tlog 4 | *.opensdf 5 | *.sdf 6 | 7 | *\obj* 8 | *\bin* 9 | *\old 10 | *\debug* 11 | *\release* 12 | 13 | *\Debug* 14 | *\Release* -------------------------------------------------------------------------------- /GNet.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GNet", "src\GNet.csproj", "{FA05C191-AA0E-4488-9B0E-D141E3553045}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FA05C191-AA0E-4488-9B0E-D141E3553045}.Debug|x86.ActiveCfg = Debug|x86 13 | {FA05C191-AA0E-4488-9B0E-D141E3553045}.Debug|x86.Build.0 = Debug|x86 14 | {FA05C191-AA0E-4488-9B0E-D141E3553045}.Release|x86.ActiveCfg = Release|x86 15 | {FA05C191-AA0E-4488-9B0E-D141E3553045}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /Gentleface Icons/Black/arrow_bottom_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/arrow_bottom_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/arrow_bottom_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/arrow_bottom_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/arrow_top_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/arrow_top_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/arrow_top_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/arrow_top_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/br_down_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/br_down_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/br_next_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/br_next_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/br_prev_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/br_prev_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/br_up_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/br_up_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/calc_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/calc_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/checkbox_checked_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/checkbox_checked_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/checkmark_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/checkmark_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cog_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cog_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cog_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cog_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cog_icon&32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cog_icon&32.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cog_icon&48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cog_icon&48.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cogs_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cogs_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cogs_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cogs_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cogs_icon&32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cogs_icon&32.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cogs_icon&48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cogs_icon&48.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/comp_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/comp_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/comp_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/comp_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/comp_icon&32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/comp_icon&32.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/comp_icon&48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/comp_icon&48.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/connect_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/connect_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/connect_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/connect_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cursor_H_split_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cursor_H_split_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cursor_V_split_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cursor_V_split_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cursor_arrow_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cursor_arrow_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cursor_drag_arrow_2_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cursor_drag_arrow_2_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cursor_drag_arrow_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cursor_drag_arrow_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/cursor_drag_hand_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/cursor_drag_hand_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/dashboard_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/dashboard_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/delete_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/delete_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/doc_new_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/doc_new_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/game_pad_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/game_pad_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/game_pad_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/game_pad_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/game_pad_icon&32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/game_pad_icon&32.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/game_pad_icon&48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/game_pad_icon&48.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/info_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/info_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/page_layout_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/page_layout_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/page_layout_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/page_layout_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_play_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_play_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_play_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_play_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_play_icon&32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_play_icon&32.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_play_icon&48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_play_icon&48.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_stop_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_stop_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_stop_icon&24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_stop_icon&24.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_stop_icon&32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_stop_icon&32.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/playback_stop_icon&48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/playback_stop_icon&48.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/redo_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/redo_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/refresh_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/refresh_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/reload_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/reload_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/rnd_br_down_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/rnd_br_down_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/rnd_br_next_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/rnd_br_next_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/rnd_br_prev_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/rnd_br_prev_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/rnd_br_up_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/rnd_br_up_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/round_checkmark_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/round_checkmark_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/round_delete_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/round_delete_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/save_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/save_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/undo_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/undo_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Black/zoom_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Black/zoom_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/attn_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/attn_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/attn_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/attn_24.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/attn_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/attn_32.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/burst_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/burst_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/cancel_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/cancel_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/cancel_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/cancel_24.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/cancel_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/cancel_32.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/check_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/check_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/check_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/check_24.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/check_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/check_32.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/document_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/document_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/export_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/export_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/favorites_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/favorites_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/gear_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/gear_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/gear_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/gear_24.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/gear_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/gear_32.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/gear_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/gear_48.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/heart_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/heart_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/help_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/help_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/import_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/import_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/left_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/left_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/refresh_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/refresh_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/right_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/right_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/save_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/save_16.png -------------------------------------------------------------------------------- /Gentleface Icons/Color/stop_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Color/stop_16.png -------------------------------------------------------------------------------- /Gentleface Icons/GentlefaceIcons.txt: -------------------------------------------------------------------------------- 1 | http://gentleface.com/free_icon_set.html 2 | http://gentleface.com/free_toolbar_icons.html 3 | 4 | The Creative Commons Attribution-NonCommercial -- FREE 5 | Allows for use in wireframes, on personal and community web sites, in free and open source software applications and other types of non-commercial usage. The set includes transparent PNG versions of the original Gentleface Mono Icon Set in black and white colors in 16x16, 32x32, 48x48 sizes. 6 | 7 | Icons used under the Creative Commons license 8 | http://creativecommons.org/licenses/by-nc-nd/3.0/ 9 | 10 | -------------------------------------------------------------------------------- /Gentleface Icons/Lcd/cancel_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Lcd/cancel_icon&16.png -------------------------------------------------------------------------------- /Gentleface Icons/Lcd/checkmark_icon&16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/Gentleface Icons/Lcd/checkmark_icon&16.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 jj.jabbaloo (public key follows) 2 | 3 | ---- BEGIN SSH2 PUBLIC KEY ---- 4 | Comment: "rsa-key-20110124" 5 | AAAAB3NzaC1yc2EAAAABJQAAAIEAxj+40eRtkW1+Pp35ijUNG53MrN7O0gLciOAe 6 | YMmFy9mLrSHZQPR/qQfrg5fYw3ZAqQ9T3S2nbNWK7WzJvrjSVHKvbJawJ3HjcRiJ 7 | /2/reskcmwkAnybpl6Wh3uBU61xz8rsVIl0b84qzrj4dPzhHuD7KBPn9iy77SBno 8 | wClPDPk= 9 | ---- END SSH2 PUBLIC KEY ---- 10 | 11 | Permission is hereby granted, free of charge, to any person obtaining a copy 12 | of this software and associated documentation files (the "Software"), to deal 13 | in the Software without restriction, including without limitation the rights 14 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 | copies of the Software, and to permit persons to whom the Software is furnished 16 | to do so, subject to the following conditions: 17 | 18 | The above copyright notice, public key, and this permission notice shall be 19 | included in all copies or substantial portions of the Software. 20 | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 22 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 23 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 26 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /LuaInterface_2.0.3/NET20/LuaInterface.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/LuaInterface_2.0.3/NET20/LuaInterface.dll -------------------------------------------------------------------------------- /LuaInterface_2.0.3/NET20/LuaInterface.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/LuaInterface_2.0.3/NET20/LuaInterface.pdb -------------------------------------------------------------------------------- /LuaInterface_2.0.3/NET20/lua51.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/LuaInterface_2.0.3/NET20/lua51.dll -------------------------------------------------------------------------------- /LuaInterface_2.0.3/NET20/lua51.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/LuaInterface_2.0.3/NET20/lua51.pdb -------------------------------------------------------------------------------- /LuaInterface_2.0.3/NET40/LuaInterface.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/LuaInterface_2.0.3/NET40/LuaInterface.dll -------------------------------------------------------------------------------- /LuaInterface_2.0.3/NET40/LuaInterface.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/LuaInterface_2.0.3/NET40/LuaInterface.pdb -------------------------------------------------------------------------------- /LuaInterface_2.0.3/NET40/lua51.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/LuaInterface_2.0.3/NET40/lua51.dll -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | G13DotNet 2 | ============= 3 | 4 | This app provides a means for scripting the Logitech G13 Gameboard from Microsoft .NET. 5 | 6 | 7 | Requirements 8 | ------------ 9 | .NET 2.0 SP1 framework 10 | Visual Studio C# Express 2010 to open project files -------------------------------------------------------------------------------- /lcd_dll/LgLcd.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/lcd_dll/LgLcd.dll -------------------------------------------------------------------------------- /lcd_dll/ReadMe.txt: -------------------------------------------------------------------------------- 1 | Original Readme 2 | http://lglcdnet.codeplex.com/ 3 | Project updated for LCDSDK 3.06 4 | --------------- 5 | 6 | LCD_DLL 7 | 8 | This is a simple DLL library to expose the static library provided by logitech as a DLL so that we can 9 | provide Interop calls from .NET. 10 | 11 | In order to build this project, be sure to install the Logitech G15 software and SDK, and add 12 | the sdk library path to your Visual Studio library paths. 13 | 14 | This directory is typically located here: 15 | C:\Program Files\Logitech\GamePanel Software\LCD Manager\SDK\LCDSDK_2.02.101\SDK\Libs\x86 16 | 17 | The setting for library paths in Visual Studio can be found like this: 18 | - Click on the "Tools" menu 19 | - Choose "Options" 20 | - Expand the "Projects and Solutions" tree view item 21 | - Click the "VC++ Directories" item 22 | - Change the "Show Directories For" dropdown to "Library Files" 23 | - Click the "New Line" item above the list to add an item 24 | - Browse to the SDK library path, typically located at: 25 | C:\Program Files\Logitech\GamePanel Software\LCD Manager\SDK\LCDSDK_2.02.101\SDK\Libs\x86 -------------------------------------------------------------------------------- /lcd_dll/lcd_dll.cpp: -------------------------------------------------------------------------------- 1 | // lcd_dll.cpp : Defines the entry point for the DLL application. 2 | // 3 | 4 | #include "stdafx.h" 5 | // This file is needed just to avoid a link error LNK2001 6 | -------------------------------------------------------------------------------- /lcd_dll/lcd_dll.def: -------------------------------------------------------------------------------- 1 | LIBRARY lcd_dll 2 | 3 | EXPORTS 4 | lgLcdInit 5 | lgLcdDeInit 6 | lgLcdConnectW 7 | lgLcdConnectExW 8 | lgLcdDisconnect 9 | lgLcdSetDeviceFamiliesToUse 10 | lgLcdEnumerate 11 | lgLcdEnumerateExW 12 | lgLcdOpen 13 | lgLcdOpenByType 14 | lgLcdClose 15 | lgLcdReadSoftButtons 16 | lgLcdUpdateBitmap 17 | lgLcdSetAsLCDForegroundApp 18 | 19 | -------------------------------------------------------------------------------- /lcd_dll/lcd_dll.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 11.00 2 | # Visual Studio 2010 3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lcd_dll", "lcd_dll.vcxproj", "{73253088-63BA-4039-8186-746B3C65CF7B}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Win32 = Debug|Win32 8 | Release|Win32 = Release|Win32 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {73253088-63BA-4039-8186-746B3C65CF7B}.Debug|Win32.ActiveCfg = Debug|Win32 12 | {73253088-63BA-4039-8186-746B3C65CF7B}.Debug|Win32.Build.0 = Debug|Win32 13 | {73253088-63BA-4039-8186-746B3C65CF7B}.Release|Win32.ActiveCfg = Release|Win32 14 | {73253088-63BA-4039-8186-746B3C65CF7B}.Release|Win32.Build.0 = Release|Win32 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /lcd_dll/lcd_dll.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | 26 | 27 | Source Files 28 | 29 | 30 | 31 | 32 | 33 | Header Files 34 | 35 | 36 | -------------------------------------------------------------------------------- /lcd_dll/lglcd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/lcd_dll/lglcd.lib -------------------------------------------------------------------------------- /lcd_dll/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // lcd_dll.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /lcd_dll/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | 9 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 10 | // Windows Header Files: 11 | #include 12 | 13 | // TODO: reference additional headers your program requires here 14 | -------------------------------------------------------------------------------- /src/HidLib/DeviceAttributes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace HidLib 6 | { 7 | public class DeviceAttributes 8 | { 9 | internal DeviceAttributes(NativeMethods.HIDD_ATTRIBUTES attributes) 10 | { 11 | VendorId = attributes.VendorID; 12 | ProductId = attributes.ProductID; 13 | Version = attributes.VersionNumber; 14 | 15 | VendorHexId = "0x" + attributes.VendorID.ToString("X4"); 16 | ProductHexId = "0x" + attributes.ProductID.ToString("X4"); 17 | } 18 | 19 | public int VendorId { get; private set; } 20 | public int ProductId { get; private set; } 21 | public int Version { get; private set; } 22 | public string VendorHexId { get; set; } 23 | public string ProductHexId { get; set; } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/HidLib/DeviceData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text; 3 | 4 | namespace HidLib 5 | { 6 | public class DeviceData 7 | { 8 | public enum ReadStatus 9 | { 10 | Success = 0, 11 | WaitTimedOut = 1, 12 | WaitFail = 2, 13 | NoDataRead = 3, 14 | ReadError = 4, 15 | NotConnected = 5, 16 | Cancelled = 6 17 | } 18 | 19 | public DeviceData(byte[] data, ReadStatus status) 20 | { 21 | Bytes = data; 22 | Status = status; 23 | } 24 | 25 | public DeviceData(byte[] data, ReadStatus status, Exception error) 26 | { 27 | Bytes = data; 28 | Status = status; 29 | Error = error; 30 | } 31 | 32 | public byte[] Bytes { get; private set; } 33 | public ReadStatus Status { get; private set; } 34 | public Exception Error { get; private set; } 35 | 36 | public override string ToString() 37 | { 38 | var sb = new StringBuilder(); 39 | 40 | if (Bytes != null) 41 | for (int i = 0; i < Bytes.Length; i++) 42 | sb 43 | .Append(i > 0 ? ", " : "") 44 | .Append(Bytes[i] 45 | .ToString("x") 46 | .PadLeft(2, ' ') 47 | ); 48 | 49 | return sb.ToString(); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/HidLib/DeviceMode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace HidLib 4 | { 5 | public enum DeviceMode 6 | { 7 | NonOverlapped = 0, 8 | Overlapped = 1 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/HidLib/Original HidLibrary LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 Ultraviolet Catastrophe 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 14 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 15 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 16 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 17 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 18 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/HidLib/Source.txt: -------------------------------------------------------------------------------- 1 | This Version: https://github.com/jj-jabb/HidLib 2 | Original: https://github.com/mikeobrien/HidLibrary 3 | -------------------------------------------------------------------------------- /src/IO/JoystickAngle.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.IO 6 | { 7 | public struct JoystickAngle 8 | { 9 | public readonly double R; 10 | public readonly double D2; 11 | 12 | public JoystickAngle(int x, int y) 13 | { 14 | R = Math.Atan2(x, y); 15 | D2 = x * x + y * y; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/IO/JoystickPosition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GNet.IO 4 | { 5 | public struct JoystickPosition 6 | { 7 | public int X; 8 | public int Y; 9 | 10 | public JoystickPosition(int x, int y) 11 | { 12 | X = x; 13 | Y = y; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Images/Icons/gear.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/Images/Icons/gear.ico -------------------------------------------------------------------------------- /src/Images/Lcd/cancel_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/Images/Lcd/cancel_icon_16.png -------------------------------------------------------------------------------- /src/Images/Lcd/checkmark_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/Images/Lcd/checkmark_icon_16.png -------------------------------------------------------------------------------- /src/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 jj.jabbaloo (public key follows) 2 | 3 | ---- BEGIN SSH2 PUBLIC KEY ---- 4 | Comment: "rsa-key-20110124" 5 | AAAAB3NzaC1yc2EAAAABJQAAAIEAxj+40eRtkW1+Pp35ijUNG53MrN7O0gLciOAe 6 | YMmFy9mLrSHZQPR/qQfrg5fYw3ZAqQ9T3S2nbNWK7WzJvrjSVHKvbJawJ3HjcRiJ 7 | /2/reskcmwkAnybpl6Wh3uBU61xz8rsVIl0b84qzrj4dPzhHuD7KBPn9iy77SBno 8 | wClPDPk= 9 | ---- END SSH2 PUBLIC KEY ---- 10 | 11 | Permission is hereby granted, free of charge, to any person obtaining a copy 12 | of this software and associated documentation files (the "Software"), to deal 13 | in the Software without restriction, including without limitation the rights 14 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 | copies of the Software, and to permit persons to whom the Software is furnished 16 | to do so, subject to the following conditions: 17 | 18 | The above copyright notice, public key, and this permission notice shall be 19 | included in all copies or substantial portions of the Software. 20 | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 22 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 23 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 26 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/LgLcd.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/LgLcd.dll -------------------------------------------------------------------------------- /src/PInvoke/HardwareInputData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace GNet.PInvoke 5 | { 6 | [StructLayout(LayoutKind.Sequential)] 7 | public struct HardwareInputData 8 | { 9 | public int Msg; 10 | public short ParamL; 11 | public short ParamH; 12 | 13 | public override int GetHashCode() 14 | { 15 | return new OatHash() 16 | .Hash(Msg) 17 | .Hash(ParamL) 18 | .Hash(ParamH) 19 | .HashCode; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/PInvoke/KeyboardFlags.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace GNet.PInvoke 5 | { 6 | [Flags] 7 | public enum KeyboardFlags : uint 8 | { 9 | ExtendedKey = 0x1, 10 | KeyUp = 0x2, 11 | Unicode = 0x4, 12 | ScanCode = 0x8 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/PInvoke/KeyboardInputData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using System.Xml.Serialization; 4 | 5 | namespace GNet.PInvoke 6 | { 7 | [StructLayout(LayoutKind.Sequential)] 8 | public struct KeyboardInputData : IEquatable 9 | { 10 | public ushort Key; 11 | public ScanCode Scan; 12 | public KeyboardFlags Flags; 13 | public uint Time; 14 | 15 | [XmlIgnore] 16 | public IntPtr ExtraInfo; 17 | 18 | public bool Equals(KeyboardInputData other) 19 | { 20 | return 21 | other.Key == Key && 22 | other.Scan == Scan && 23 | other.Flags == Flags //&& 24 | //other.Time == Time && 25 | //other.ExtraInfo == ExtraInfo 26 | ; 27 | } 28 | 29 | public override int GetHashCode() 30 | { 31 | return new OatHash() 32 | .Hash(Key) 33 | .Hash((ushort)Scan) 34 | .Hash((ushort)Flags) 35 | //.Hash(Time) 36 | //.Hash(ExtraInfo) 37 | .HashCode; 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/PInvoke/MouseFlags.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace GNet.PInvoke 5 | { 6 | [Flags] 7 | public enum MouseDataFlags : uint 8 | { 9 | XButton1 = 0x0001, 10 | XButton2 = 0x0002 11 | } 12 | 13 | [Flags] 14 | public enum MouseEventFlags : uint 15 | { 16 | Move = 0x0001, 17 | LeftDown = 0x0002, 18 | LeftUp = 0x0004, 19 | RightDown = 0x0008, 20 | RightUp = 0x0010, 21 | MiddleDown = 0x0020, 22 | MiddleUp = 0x0040, 23 | XDown = 0x0080, 24 | XUp = 0x0100, 25 | Wheel = 0x0800, 26 | VirtualDesktop = 0x4000, 27 | Absolute = 0x8000 28 | } 29 | 30 | [Flags] 31 | public enum MouseDownFlags : uint 32 | { 33 | LeftDown = 0x0002, 34 | RightDown = 0x0008, 35 | MiddleDown = 0x0020, 36 | XDown = 0x0080 37 | } 38 | 39 | [Flags] 40 | public enum MouseUpFlags : uint 41 | { 42 | LeftUp = 0x0004, 43 | RightUp = 0x0010, 44 | MiddleUp = 0x0040, 45 | XUp = 0x0100 46 | } 47 | 48 | [Flags] 49 | public enum MouseTapFlags : uint 50 | { 51 | LeftTap = 0x0002, 52 | RightTap = 0x0008, 53 | MiddleTap = 0x0020, 54 | XTap = 0x0080 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/PInvoke/MouseInputData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | using System.Xml.Serialization; 4 | 5 | namespace GNet.PInvoke 6 | { 7 | [StructLayout(LayoutKind.Sequential)] 8 | public struct MouseInputData : IEquatable 9 | { 10 | public int X; 11 | public int Y; 12 | public int MouseData; 13 | public MouseEventFlags Flags; 14 | public uint Time; 15 | 16 | [XmlIgnore] 17 | public IntPtr ExtraInfo; 18 | 19 | public bool Equals(MouseInputData other) 20 | { 21 | return 22 | other.X == X && 23 | other.Y == Y && 24 | other.MouseData == MouseData && 25 | other.Flags == Flags //&& 26 | //other.Time == Time && 27 | //other.ExtraInfo == ExtraInfo 28 | ; 29 | } 30 | 31 | public override int GetHashCode() 32 | { 33 | return new OatHash() 34 | .Hash(X) 35 | .Hash(Y) 36 | .Hash(MouseData) 37 | .Hash((uint)Flags) 38 | //.Hash(Time) 39 | //.Hash(ExtraInfo) 40 | .HashCode; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/PInvoke/MouseKeyboardHardwareUnion.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace GNet.PInvoke 5 | { 6 | [StructLayout(LayoutKind.Explicit)] 7 | public struct MouseKeyboardHardwareUnion 8 | { 9 | [FieldOffset(0)] 10 | public MouseInputData Mouse; 11 | [FieldOffset(0)] 12 | public KeyboardInputData Keyboard; 13 | [FieldOffset(0)] 14 | public HardwareInputData Hardware; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/PInvoke/ScanCodeInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GNet.PInvoke 4 | { 5 | public struct ScanCodeInfo 6 | { 7 | public ushort VkKey; 8 | public ScanCode ScanCode; 9 | public bool IsShifted; 10 | 11 | public override string ToString() 12 | { 13 | var str = ScanCode.ToString("x"); 14 | if (IsShifted) 15 | str += " : shifted"; 16 | 17 | return str; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/PInvoke/SendInputType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.PInvoke 6 | { 7 | public enum SendInputType : int 8 | { 9 | //Empty = -1, 10 | Mouse = 0, 11 | Keyboard, 12 | Hardware 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/PInvoke/SetWinEventHookFlags.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GNet.PInvoke 4 | { 5 | [Flags] 6 | public enum SetWinEventHookFlags 7 | { 8 | WINEVENT_OUTOFCONTEXT = 0, 9 | WINEVENT_SKIPOWNTHREAD = 1, 10 | WINEVENT_SKIPOWNPROCESS = 2, 11 | WINEVENT_INCONTEXT = 4, 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/PInvoke/Win32Point.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace GNet.PInvoke 5 | { 6 | [StructLayout(LayoutKind.Sequential)] 7 | public struct Win32Point 8 | { 9 | public Int32 X; 10 | public Int32 Y; 11 | 12 | public override string ToString() 13 | { 14 | return "Win32Point: " + X + ", " + Y; 15 | } 16 | }; 17 | } 18 | -------------------------------------------------------------------------------- /src/PInvoke/WinEvent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.PInvoke 6 | { 7 | public enum WinEvent : uint 8 | { 9 | EVENT_MIN = 0x0, 10 | EVENT_SYSTEM_SOUND = 0x1, 11 | EVENT_SYSTEM_ALERT = 0x2, 12 | EVENT_SYSTEM_FOREGROUND = 0x3, 13 | EVENT_SYSTEM_MENUSTART = 0x4, 14 | EVENT_SYSTEM_MENUEND = 0x5, 15 | EVENT_SYSTEM_MENUPOPUPSTART = 0x6, 16 | EVENT_SYSTEM_MENUPOPUPEND = 0x7, 17 | EVENT_SYSTEM_CAPTURESTART = 0x8, 18 | EVENT_SYSTEM_CAPTUREEND = 0x9, 19 | EVENT_SYSTEM_MOVESIZESTART = 0xa, 20 | EVENT_SYSTEM_MOVESIZEEND = 0xb, 21 | EVENT_SYSTEM_CONTEXTHELPSTART = 0xc, 22 | EVENT_SYSTEM_CONTEXTHELPEND = 0xd, 23 | EVENT_SYSTEM_DRAGDROPSTART = 0xe, 24 | EVENT_SYSTEM_DRAGDROPEND = 0xf, 25 | EVENT_SYSTEM_DIALOGSTART = 0x10, 26 | EVENT_SYSTEM_DIALOGEND = 0x11, 27 | EVENT_SYSTEM_SCROLLINGSTART = 0x12, 28 | EVENT_SYSTEM_SCROLLINGEND = 0x13, 29 | EVENT_SYSTEM_SWITCHSTART = 0x14, 30 | EVENT_SYSTEM_SWITCHEND = 0x15, 31 | EVENT_SYSTEM_MINIMIZESTART = 0x16, 32 | EVENT_SYSTEM_MINIMIZEEND = 0x17 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Profiler/DeviceType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler 6 | { 7 | public enum DeviceType 8 | { 9 | G13 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Profiler/G13KeyState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace GNet.Profiler 5 | { 6 | [StructLayout(LayoutKind.Explicit)] 7 | public struct G13KeyState 8 | { 9 | [FieldOffset(0)] 10 | public byte B0; 11 | [FieldOffset(1)] 12 | public byte B1; 13 | [FieldOffset(2)] 14 | public byte B2; 15 | [FieldOffset(3)] 16 | public byte B3; 17 | [FieldOffset(4)] 18 | public byte B4; 19 | 20 | [FieldOffset(0)] 21 | public ulong UL; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Profiler/G13Keys.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GNet.Profiler 4 | { 5 | [Flags] 6 | public enum G13Keys : ulong 7 | { 8 | None = 0, 9 | 10 | // G keys 11 | G1 = 0x0000000001, 12 | G2 = 0x0000000002, 13 | G3 = 0x0000000004, 14 | G4 = 0x0000000008, 15 | G5 = 0x0000000010, 16 | G6 = 0x0000000020, 17 | G7 = 0x0000000040, 18 | G8 = 0x0000000080, 19 | G9 = 0x0000000100, 20 | G10 = 0x0000000200, 21 | G11 = 0x0000000400, 22 | G12 = 0x0000000800, 23 | G13 = 0x0000001000, 24 | G14 = 0x0000002000, 25 | G15 = 0x0000004000, 26 | G16 = 0x0000008000, 27 | G17 = 0x0000010000, 28 | G18 = 0x0000020000, 29 | G19 = 0x0000040000, 30 | G20 = 0x0000080000, 31 | G21 = 0x0000100000, 32 | G22 = 0x0000200000, 33 | 34 | // Joystick buttons 35 | J1 = 0x0200000000, // left 36 | J2 = 0x0400000000, // bottom 37 | J3 = 0x0800000000, // middle (i.e., on the stick) 38 | 39 | // M keys 40 | M1 = 0x0020000000, 41 | M2 = 0x0040000000, 42 | M3 = 0x0080000000, 43 | M4 = 0x0100000000, 44 | 45 | // LCD keys 46 | L1 = 0x0001000000, // LCD Select Applet 47 | L2 = 0x0002000000, 48 | L3 = 0x0004000000, 49 | L4 = 0x0008000000, 50 | L5 = 0x0010000000, 51 | L6 = 0x6000000000, // LCD Light 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/Profiler/HookOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler 6 | { 7 | public enum HookOptions 8 | { 9 | None, 10 | IgnoreInjected, 11 | All 12 | } 13 | 14 | public static class HookOptionsExtensions 15 | { 16 | public static string DisplayValue(HookOptions opts) 17 | { 18 | switch (opts) 19 | { 20 | case HookOptions.IgnoreInjected: return "Ignore Injected Events"; 21 | case HookOptions.All: return "All"; 22 | default: return "None"; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Profiler/IProfileRunner.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet; 4 | using GNet.IO; 5 | 6 | namespace GNet.Profiler 7 | { 8 | public interface IProfileRunner 9 | { 10 | //Profile Profile { get; set; } 11 | bool SingleKeyEvents { get; } 12 | bool IsRunning { get; } 13 | 14 | void JoystickChanged(JoystickPosition position); 15 | void KeyStateChanged(G13KeyState newState); 16 | void KeysPressed(ulong keys); 17 | void KeysReleased(ulong keys); 18 | void SingleKeyPressed(G13Keys key); 19 | void SingleKeyReleased(G13Keys key); 20 | 21 | bool Start(); 22 | void Stop(); 23 | 24 | event EventHandler Started; 25 | event EventHandler Stopped; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Profiler/InputAssignment.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Xml.Serialization; 5 | 6 | using GNet.PInvoke; 7 | using GNet.Profiler.MacroSystem; 8 | 9 | namespace GNet.Profiler 10 | { 11 | public class InputAssignment 12 | { 13 | public G13Keys? Key { get; set; } 14 | public JoystickDirection? Joystick { get; set; } 15 | public double? MinJoystickAngle { get; set; } 16 | public double? MaxJoystickAngle { get; set; } 17 | 18 | //public ScanCode? ScanCode { get; set; } 19 | //public char? Character { get; set; } 20 | public string MacroName { get; set; } 21 | 22 | public bool ShouldSerializeKey() { return Key != null; } 23 | public bool ShouldSerializeJoystick() { return Joystick != null; } 24 | public bool ShouldSerializeMinJoystickAngle() { return MinJoystickAngle != null; } 25 | public bool ShouldSerializeMaxJoystickAngle() { return MaxJoystickAngle != null; } 26 | //public bool ShouldSerializeScanCode() { return ScanCode != null; } 27 | //public bool ShouldSerializeCharacter() { return Character != null; } 28 | public bool ShouldSerializeMacroName() { return MacroName != null; } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Profiler/JoystickDirection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler 6 | { 7 | public enum JoystickDirection 8 | { 9 | None, 10 | N, 11 | E, 12 | S, 13 | W, 14 | NE, 15 | SE, 16 | SW, 17 | NW 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/CallFunction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler.MacroSystem 6 | { 7 | public class CallFunction : Step 8 | { 9 | public override StepType Type 10 | { 11 | get { return StepType.CallFunction; } 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/CancelMacro.cs: -------------------------------------------------------------------------------- 1 | //using System; 2 | //using System.Collections.Generic; 3 | //using System.Text; 4 | 5 | //namespace GNet.Profiler.MacroSystem 6 | //{ 7 | // public class CancelMacro : Macro 8 | // { 9 | // public CancelMacro(Macro macro) 10 | // { 11 | // Macro = macro; 12 | // Priority = int.MaxValue; 13 | // IsCanceling = true; 14 | // } 15 | 16 | // public Macro Macro { get; set; } 17 | // } 18 | //} 19 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/CancelingType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler.MacroSystem 6 | { 7 | public enum CancelingType 8 | { 9 | None, 10 | Canceling, 11 | Forced 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/Delay.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler.MacroSystem 6 | { 7 | public class Delay : Step 8 | { 9 | public Delay() { } 10 | 11 | public Delay(double milliseconds) 12 | { 13 | Milliseconds = milliseconds; 14 | } 15 | 16 | public override StepType Type { get { return StepType.Delay; } } 17 | 18 | public double Milliseconds { get; set;} 19 | public double? RandomRange { get; set; } 20 | 21 | public override string ToString() 22 | { 23 | return "Delay: " + Milliseconds; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/Enabler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler.MacroSystem 6 | { 7 | public abstract class Enabler : Step 8 | { 9 | public Enabler() { } 10 | public Enabler(string path) 11 | { 12 | Path = path; 13 | } 14 | 15 | public string Path { get; set; } 16 | } 17 | 18 | public class Enable : Enabler 19 | { 20 | public Enable() { } 21 | public Enable(string path) : base(path) { } 22 | 23 | public override StepType Type 24 | { 25 | get { return StepType.Enable; } 26 | } 27 | } 28 | 29 | public class Disable : Enabler 30 | { 31 | public Disable() { } 32 | public Disable(string path) : base(path) { } 33 | 34 | public override StepType Type 35 | { 36 | get { return StepType.Disable; } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/MouseButton.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Xml.Serialization; 5 | 6 | namespace GNet.Profiler.MacroSystem 7 | { 8 | [XmlInclude(typeof(MouseButtonDown))] 9 | [XmlInclude(typeof(MouseButtonUp))] 10 | [XmlInclude(typeof(MouseButtonTap))] 11 | public abstract class MouseButton : StepActionInput 12 | { 13 | public MouseButton() { } 14 | 15 | public MouseButton(int button) 16 | { 17 | Button = button; 18 | } 19 | 20 | public int Button { get; set; } 21 | 22 | protected abstract string ButtonType { get; } 23 | 24 | public override string ToString() 25 | { 26 | return "MouseButton " + ButtonType + ": " + Button; 27 | } 28 | } 29 | 30 | public class MouseButtonDown : MouseButton 31 | { 32 | public MouseButtonDown() { } 33 | public MouseButtonDown(int button) : base(button) { } 34 | 35 | protected override string ButtonType { get { return "Down"; } } 36 | } 37 | 38 | public class MouseButtonUp : MouseButton 39 | { 40 | public MouseButtonUp() { } 41 | public MouseButtonUp(int button) : base(button) { } 42 | 43 | protected override string ButtonType { get { return "Up"; } } 44 | } 45 | 46 | public class MouseButtonTap : MouseButton 47 | { 48 | public MouseButtonTap() { } 49 | public MouseButtonTap(int button) : base(button) { } 50 | 51 | protected override string ButtonType { get { return "Tap"; } } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/MouseMove.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Xml.Serialization; 5 | 6 | namespace GNet.Profiler.MacroSystem 7 | { 8 | [XmlInclude(typeof(MouseMoveAbsolute))] 9 | [XmlInclude(typeof(MouseMoveRelative))] 10 | public abstract class MouseMove : StepActionInput 11 | { 12 | public MouseMove() { } 13 | 14 | public MouseMove(int x, int y) 15 | { 16 | X = x; 17 | Y = y; 18 | } 19 | 20 | public int X { get; set; } 21 | public int Y { get; set; } 22 | 23 | protected abstract string MoveType { get; } 24 | 25 | public override string ToString() 26 | { 27 | return "MouseMove " + MoveType + ": " + X + ", " + Y; 28 | } 29 | } 30 | 31 | public class MouseMoveAbsolute : MouseMove 32 | { 33 | public MouseMoveAbsolute() { } 34 | public MouseMoveAbsolute(int x, int y) : base(x, y) { } 35 | 36 | protected override string MoveType { get { return "Absolute"; } } 37 | } 38 | 39 | public class MouseMoveRelative : MouseMove 40 | { 41 | public MouseMoveRelative() { } 42 | public MouseMoveRelative(int x, int y) : base(x, y) { } 43 | 44 | protected override string MoveType { get { return "Relative"; } } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/MouseWheel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | using GNet.IO; 6 | using GNet.PInvoke; 7 | 8 | namespace GNet.Profiler.MacroSystem 9 | { 10 | public class MouseWheel : StepActionInput 11 | { 12 | int _delta; 13 | 14 | public MouseWheel() { } 15 | 16 | public MouseWheel(int delta) 17 | { 18 | Delta = delta; 19 | } 20 | 21 | public int Delta 22 | { 23 | get { return _delta; } 24 | set 25 | { 26 | _delta = value; 27 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.Wheel, _delta) }; 28 | } 29 | } 30 | 31 | public override string ToString() 32 | { 33 | return "MouseWheel Delta: " + Delta; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/Step.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Xml.Serialization; 5 | 6 | namespace GNet.Profiler.MacroSystem 7 | { 8 | [XmlInclude(typeof(Delay))] 9 | [XmlInclude(typeof(Macro))] 10 | [XmlInclude(typeof(StepAction))] 11 | [XmlInclude(typeof(CallFunction))] 12 | [XmlInclude(typeof(WaitFunction))] 13 | public abstract class Step 14 | { 15 | bool notEnabled; 16 | 17 | public bool IsEnabled { get { return !notEnabled; } set { notEnabled = !value; } } 18 | public uint Cooldown { get; set; } 19 | public string FunctionName { get; set; } 20 | 21 | [XmlIgnore] 22 | public long Timestamp { get; set; } 23 | 24 | public abstract StepType Type { get; } 25 | 26 | public bool ShouldSerializeIsEnabled() { return !IsEnabled; } 27 | public bool ShouldSerializeCooldown() { return Cooldown > 0; } 28 | public bool ShouldSerializeIsFunctionName() { return FunctionName != null; } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/StepAction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Xml.Serialization; 5 | 6 | using GNet.PInvoke; 7 | 8 | namespace GNet.Profiler.MacroSystem 9 | { 10 | [XmlInclude(typeof(StepActionInput))] 11 | [XmlInclude(typeof(MousePosition))] 12 | public abstract class StepAction : Step 13 | { 14 | public override StepType Type { get { return StepType.Action; } } 15 | public abstract void Run(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/StepType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler.MacroSystem 6 | { 7 | public enum StepType 8 | { 9 | Action, 10 | ActionInput, 11 | Delay, 12 | CallFunction, 13 | WaitFunction, 14 | Release, 15 | Enable, 16 | Disable, 17 | Macro 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem/WaitFunction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler.MacroSystem 6 | { 7 | public class WaitFunction : Step 8 | { 9 | public override StepType Type 10 | { 11 | get { return StepType.WaitFunction; } 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/Delay.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | using GNet.PInvoke; 6 | 7 | namespace GNet.Profiler.MacroSystem_ORIG 8 | { 9 | public class Delay : IStep 10 | { 11 | //bool notEnabled; 12 | double milliseconds; 13 | 14 | protected string toString; 15 | 16 | public override StepType Type { get { return StepType.Delay; } } 17 | //public bool IsEnabled { get { return !notEnabled; } set { notEnabled = !value; } } 18 | //public long Timestamp { get; set; } 19 | //public int Cooldown { get; set; } 20 | 21 | public Delay() 22 | { 23 | Milliseconds = 30; 24 | } 25 | 26 | public Delay(double milliseconds) 27 | { 28 | Milliseconds = milliseconds; 29 | } 30 | 31 | public double Milliseconds 32 | { 33 | get 34 | { 35 | return milliseconds; 36 | } 37 | set 38 | { 39 | milliseconds = value; 40 | toString = "Delay(" + milliseconds + ")"; 41 | } 42 | } 43 | 44 | public override InputWrapper[] Run() 45 | { 46 | throw new NotImplementedException(); 47 | } 48 | 49 | public override string ToString() 50 | { 51 | return toString; 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/IStep.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Xml.Serialization; 3 | 4 | using GNet.IO; 5 | using GNet.PInvoke; 6 | 7 | namespace GNet.Profiler.MacroSystem_ORIG 8 | { 9 | [XmlInclude(typeof(Macro))] 10 | [XmlInclude(typeof(Step))] 11 | public abstract class IStep 12 | { 13 | bool notEnabled; 14 | 15 | public abstract StepType Type { get; } 16 | 17 | public bool IsEnabled { get { return !notEnabled; } set { notEnabled = !value; } } 18 | public int Cooldown { get; set; } 19 | public long Timestamp { get; set; } 20 | 21 | public abstract InputWrapper[] Run(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/KeyDown.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class KeyDown : Step 9 | { 10 | ScanCode scanCode; 11 | char key; 12 | 13 | public KeyDown() 14 | { 15 | } 16 | 17 | public KeyDown(ScanCode scanCode) 18 | { 19 | ScanCode = scanCode; 20 | } 21 | 22 | public KeyDown(char key) 23 | { 24 | Key = key; 25 | } 26 | 27 | public ScanCode ScanCode 28 | { 29 | get { return scanCode; } 30 | set 31 | { 32 | scanCode = value; 33 | Inputs = new InputWrapper[] { InputSimulator.KeyWrapper(scanCode) }; 34 | toString = "KeyDown(" + scanCode.ToString() + ")"; 35 | } 36 | } 37 | 38 | public char Key 39 | { 40 | get { return key; } 41 | set 42 | { 43 | Inputs = new InputWrapper[] { InputSimulator.KeyWrapper(key) }; 44 | toString = "KeyDown(" + key + ")"; 45 | key = value; 46 | } 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/KeyTap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class KeyTap : Step 9 | { 10 | public KeyTap(ScanCode scanCode) 11 | { 12 | Inputs = new InputWrapper[] { InputSimulator.KeyWrapper(scanCode), InputSimulator.KeyWrapper(scanCode, true) }; 13 | toString = "KeyTap(" + scanCode.ToString() + ")"; 14 | } 15 | 16 | public KeyTap(char key) 17 | { 18 | Inputs = new InputWrapper[] { InputSimulator.KeyWrapper(key), InputSimulator.KeyWrapper(key, true) }; 19 | toString = "KeyTap(" + key + ")"; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/KeyUp.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class KeyUp : Step 9 | { 10 | public KeyUp(ScanCode scanCode) 11 | { 12 | Inputs = new InputWrapper[] { InputSimulator.KeyWrapper(scanCode, true) }; 13 | toString = "KeyUp(" + scanCode.ToString() + ")"; 14 | } 15 | 16 | public KeyUp(char key) 17 | { 18 | Inputs = new InputWrapper[] { InputSimulator.KeyWrapper(key, true) }; 19 | toString = "KeyUp(" + key + ")"; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/MouseDown.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class MouseDown : Step 9 | { 10 | public MouseDown(int button) 11 | { 12 | int data = 0; 13 | switch (button) 14 | { 15 | case 0: 16 | case 1: 17 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.LeftDown, data) }; 18 | toString = "MouseDown(" + MouseEventFlags.LeftDown.ToString() + ")"; 19 | break; 20 | 21 | case 2: 22 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.RightDown, data) }; 23 | toString = "MouseDown(" + MouseEventFlags.RightDown.ToString() + ")"; 24 | break; 25 | 26 | case 3: 27 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.MiddleDown, data) }; 28 | toString = "MouseDown(" + MouseEventFlags.MiddleDown.ToString() + ")"; 29 | break; 30 | 31 | default: 32 | data = button - 3; 33 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.XDown, data) }; 34 | toString = "MouseDown(" + MouseEventFlags.XDown.ToString() + ", " + data + ")"; 35 | break; 36 | } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/MouseMoveTo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class MouseMoveTo : Step 9 | { 10 | public MouseMoveTo(int x, int y) 11 | { 12 | Inputs = new InputWrapper[] 13 | { 14 | new InputWrapper 15 | { 16 | Type = SendInputType.Mouse, 17 | MKH = new MouseKeyboardHardwareUnion 18 | { 19 | Mouse = new MouseInputData 20 | { 21 | X = x, 22 | Y = y, 23 | Flags = MouseEventFlags.Move | MouseEventFlags.Absolute 24 | } 25 | } 26 | } 27 | }; 28 | 29 | toString = "MouseMoveTo(" + x + ", " + y + ")"; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/MouseNudge.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class MouseNudge : Step 9 | { 10 | public MouseNudge(int x, int y) 11 | { 12 | Inputs = new InputWrapper[] 13 | { 14 | new InputWrapper 15 | { 16 | Type = SendInputType.Mouse, 17 | MKH = new MouseKeyboardHardwareUnion 18 | { 19 | Mouse = new MouseInputData 20 | { 21 | X = x, 22 | Y = y, 23 | Flags = MouseEventFlags.Move 24 | } 25 | } 26 | } 27 | }; 28 | 29 | toString = "MouseNudge(" + x + ", " + y + ")"; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/MouseRecallPos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class MouseRecallPos : Step 9 | { 10 | string name; 11 | 12 | public MouseRecallPos(string name) 13 | { 14 | this.name = name; 15 | 16 | toString = "MouseRecallPos(" + name + ")"; 17 | } 18 | 19 | public override InputWrapper[] Run() 20 | { 21 | Win32Point p; 22 | 23 | if (MacroManager.SavedPoints.TryGetValue(name, out p)) 24 | { 25 | Inputs = new InputWrapper[] 26 | { 27 | new InputWrapper 28 | { 29 | Type = SendInputType.Mouse, 30 | MKH = new MouseKeyboardHardwareUnion 31 | { 32 | Mouse = new MouseInputData 33 | { 34 | X = p.X, 35 | Y = p.Y, 36 | Flags = MouseEventFlags.Move | MouseEventFlags.Absolute 37 | } 38 | } 39 | } 40 | }; 41 | 42 | return base.Run(); 43 | } 44 | 45 | return null; 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/MouseSavePos.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class MouseSavePos : Step 9 | { 10 | string name; 11 | 12 | public MouseSavePos(string name) 13 | { 14 | this.name = name; 15 | 16 | toString = "MouseSavePos(" + name + ")"; 17 | } 18 | 19 | public override InputWrapper[] Run() 20 | { 21 | MacroManager.SavedPoints[name] = InputSimulator.MouseAbsolutePos; 22 | return null; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/MouseUp.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class MouseUp : Step 9 | { 10 | public MouseUp(int button) 11 | { 12 | int data = 0; 13 | switch (button) 14 | { 15 | case 0: 16 | case 1: 17 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.LeftUp, data) }; 18 | toString = "MouseUp(" + MouseEventFlags.LeftUp.ToString() + ")"; 19 | break; 20 | 21 | case 2: 22 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.RightUp, data) }; 23 | toString = "MouseUp(" + MouseEventFlags.RightUp.ToString() + ")"; 24 | break; 25 | 26 | case 3: 27 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.MiddleUp, data) }; 28 | toString = "MouseUp(" + MouseEventFlags.MiddleUp.ToString() + ")"; 29 | break; 30 | 31 | default: 32 | data = button - 3; 33 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.XUp, data) }; 34 | toString = "MouseUp(" + MouseEventFlags.XUp.ToString() + ", " + data + ")"; 35 | break; 36 | } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/MouseWheel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using GNet.IO; 4 | using GNet.PInvoke; 5 | 6 | namespace GNet.Profiler.MacroSystem_ORIG 7 | { 8 | public class MouseWheel : Step 9 | { 10 | public MouseWheel(int amount) 11 | { 12 | Inputs = new InputWrapper[] { InputSimulator.MouseWrapper(MouseEventFlags.Wheel, amount) }; 13 | toString = "MouseWheel(" + amount + ")"; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/StepType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler.MacroSystem_ORIG 6 | { 7 | public enum StepType 8 | { 9 | Step, 10 | Delay, 11 | Macro 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Profiler/MacroSystem_ORIG/WriteText.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using GNet.IO; 5 | using GNet.PInvoke; 6 | 7 | namespace GNet.Profiler.MacroSystem_ORIG 8 | { 9 | public class WriteText : Step 10 | { 11 | InputWrapper[] inputs; 12 | public WriteText(string text) 13 | { 14 | List inputs = new List(); 15 | for (int i = 0; i < text.Length; i++) 16 | { 17 | var sci = InputSimulator.AsciiToScanCode(text[i]); 18 | 19 | if (sci.IsShifted) 20 | inputs.Add(InputSimulator.KeyWrapper(new KeyboardInputData { Scan = ScanCode.lshift, Flags = KeyboardFlags.ScanCode })); 21 | inputs.Add(InputSimulator.KeyWrapper(new KeyboardInputData { Key = sci.VkKey, Scan = sci.ScanCode })); 22 | inputs.Add(InputSimulator.KeyWrapper(new KeyboardInputData { Key = sci.VkKey, Scan = sci.ScanCode, Flags = KeyboardFlags.KeyUp })); 23 | if (sci.IsShifted) 24 | inputs.Add(InputSimulator.KeyWrapper(new KeyboardInputData { Scan = ScanCode.lshift, Flags = KeyboardFlags.ScanCode | KeyboardFlags.KeyUp })); 25 | } 26 | 27 | this.inputs = inputs.ToArray(); 28 | toString = "WriteText(" + text + ")"; 29 | } 30 | 31 | public override InputWrapper[] Run() 32 | { 33 | if (inputs != null) 34 | Interop.SendInput((uint)inputs.Length, inputs); 35 | 36 | return null; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/Profiler/ScriptLanguage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace GNet.Profiler 6 | { 7 | public enum ScriptLanguage 8 | { 9 | Undefined, 10 | Lua, 11 | JavaScript, 12 | CoffeeScript 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Windows.Forms; 4 | 5 | using GNet.UI; 6 | 7 | namespace GNet 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new MainForm()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("GNet")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("GNet")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2011")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("88afca5c-a030-457c-a7e2-21f5136d6e98")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /src/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.225 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace GNet.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/SupportClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | internal class SupportClass 3 | { 4 | public static int URShift(int number, int bits) 5 | { 6 | if ( number >= 0) 7 | return number >> bits; 8 | else 9 | return (number >> bits) + (2 << ~bits); 10 | } 11 | 12 | public static int URShift(int number, long bits) 13 | { 14 | return URShift(number, (int)bits); 15 | } 16 | 17 | public static long URShift(long number, int bits) 18 | { 19 | if ( number >= 0) 20 | return number >> bits; 21 | else 22 | return (number >> bits) + (2L << ~bits); 23 | } 24 | 25 | public static long URShift(long number, long bits) 26 | { 27 | return URShift(number, (int)bits); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr.collections.impl/ASTArray.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using AST = antlr.collections.AST; 3 | 4 | namespace antlr.collections.impl 5 | { 6 | /*ANTLR Translator Generator 7 | * Project led by Terence Parr at http://www.jGuru.com 8 | * Software rights: http://www.antlr.org/license.html 9 | * 10 | * $Id:$ 11 | */ 12 | 13 | // 14 | // ANTLR C# Code Generator by Micheal Jordan 15 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 16 | // Anthony Oguntimehin 17 | // 18 | // With many thanks to Eric V. Smith from the ANTLR list. 19 | // 20 | 21 | /*ASTArray is a class that allows ANTLR to 22 | * generate code that can create and initialize an array 23 | * in one expression, like: 24 | * (new ASTArray(3)).add(x).add(y).add(z) 25 | */ 26 | public class ASTArray 27 | { 28 | public int size = 0; 29 | public AST[] array; 30 | 31 | 32 | public ASTArray(int capacity) 33 | { 34 | array = new AST[capacity]; 35 | } 36 | public virtual ASTArray add(AST node) 37 | { 38 | array[size++] = node; 39 | return this; 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/ANTLRException.cs: -------------------------------------------------------------------------------- 1 | namespace antlr 2 | { 3 | /*ANTLR Translator Generator 4 | * Project led by Terence Parr at http://www.jGuru.com 5 | * Software rights: http://www.antlr.org/license.html 6 | * 7 | * $Id:$ 8 | */ 9 | 10 | // 11 | // ANTLR C# Code Generator by Micheal Jordan 12 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 13 | // Anthony Oguntimehin 14 | // 15 | // With many thanks to Eric V. Smith from the ANTLR list. 16 | // 17 | 18 | using System; 19 | 20 | [Serializable] 21 | public class ANTLRException : Exception 22 | { 23 | public ANTLRException() : base() 24 | { 25 | } 26 | 27 | public ANTLRException(string s) : base(s) 28 | { 29 | } 30 | 31 | public ANTLRException(string s, Exception inner) : base(s, inner) 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/ANTLRPanicException.cs: -------------------------------------------------------------------------------- 1 | namespace antlr 2 | { 3 | /*ANTLR Translator Generator 4 | * Project led by Terence Parr at http://www.jGuru.com 5 | * Software rights: http://www.antlr.org/license.html 6 | * 7 | * $Id:$ 8 | */ 9 | 10 | // 11 | // ANTLR C# Code Generator by Micheal Jordan 12 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 13 | // Anthony Oguntimehin 14 | // 15 | // With many thanks to Eric V. Smith from the ANTLR list. 16 | // 17 | 18 | using System; 19 | 20 | [Serializable] 21 | public class ANTLRPanicException : ANTLRException 22 | { 23 | public ANTLRPanicException() : base() 24 | { 25 | } 26 | 27 | public ANTLRPanicException(string s) : base(s) 28 | { 29 | } 30 | 31 | public ANTLRPanicException(string s, Exception inner) : base(s, inner) 32 | { 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/ASTVisitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using AST = antlr.collections.AST; 4 | 5 | namespace antlr 6 | { 7 | /* ANTLR Translator Generator 8 | * Project led by Terence Parr at http://www.jGuru.com 9 | * Software rights: http://www.antlr.org/license.html 10 | * 11 | * $Id:$ 12 | */ 13 | 14 | // 15 | // ANTLR C# Code Generator by Micheal Jordan 16 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 17 | // Anthony Oguntimehin 18 | // 19 | // With many thanks to Eric V. Smith from the ANTLR list. 20 | // 21 | 22 | /// 23 | /// Summary description for ASTVisitor. 24 | /// 25 | public interface ASTVisitor 26 | { 27 | void visit(AST node); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/CharStreamException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | /* 21 | * Anything that goes wrong while generating a stream of characters 22 | */ 23 | 24 | [Serializable] 25 | public class CharStreamException : ANTLRException 26 | { 27 | /* 28 | * CharStreamException constructor comment. 29 | */ 30 | public CharStreamException(string s) : base(s) 31 | { 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/CharStreamIOException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using IOException = System.IO.IOException; 3 | 4 | namespace antlr 5 | { 6 | /*ANTLR Translator Generator 7 | * Project led by Terence Parr at http://www.jGuru.com 8 | * Software rights: http://www.antlr.org/license.html 9 | * 10 | * $Id:$ 11 | */ 12 | 13 | // 14 | // ANTLR C# Code Generator by Micheal Jordan 15 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 16 | // Anthony Oguntimehin 17 | // 18 | // With many thanks to Eric V. Smith from the ANTLR list. 19 | // 20 | 21 | /* 22 | * Wrap an IOException in a CharStreamException 23 | */ 24 | [Serializable] 25 | public class CharStreamIOException : CharStreamException 26 | { 27 | public IOException io; 28 | 29 | public CharStreamIOException(IOException io) : base(io.Message) 30 | { 31 | this.io = io; 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/DefaultFileLineFormatter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using StringBuilder = System.Text.StringBuilder; 3 | 4 | namespace antlr 5 | { 6 | /*ANTLR Translator Generator 7 | * Project led by Terence Parr at http://www.jGuru.com 8 | * Software rights: http://www.antlr.org/license.html 9 | * 10 | * $Id:$ 11 | */ 12 | 13 | // 14 | // ANTLR C# Code Generator by Micheal Jordan 15 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 16 | // Anthony Oguntimehin 17 | // 18 | // With many thanks to Eric V. Smith from the ANTLR list. 19 | // 20 | 21 | public class DefaultFileLineFormatter : FileLineFormatter 22 | { 23 | public override string getFormatString(string fileName, int line, int column) 24 | { 25 | StringBuilder buf = new StringBuilder(); 26 | 27 | if (fileName != null) 28 | buf.Append(fileName + ":"); 29 | 30 | if (line != - 1) 31 | { 32 | if (fileName == null) 33 | buf.Append("line "); 34 | 35 | buf.Append(line); 36 | 37 | if (column != - 1) 38 | buf.Append(":" + column); 39 | 40 | buf.Append(":"); 41 | } 42 | 43 | buf.Append(" "); 44 | 45 | return buf.ToString(); 46 | } 47 | } 48 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/FileLineFormatter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | public abstract class FileLineFormatter 21 | { 22 | 23 | private static FileLineFormatter formatter = new DefaultFileLineFormatter(); 24 | 25 | public static FileLineFormatter getFormatter() 26 | { 27 | return formatter; 28 | } 29 | 30 | public static void setFormatter(FileLineFormatter f) 31 | { 32 | formatter = f; 33 | } 34 | 35 | /*@param fileName the file that should appear in the prefix. (or null) 36 | * @param line the line (or -1) 37 | * @param column the column (or -1) 38 | */ 39 | public abstract string getFormatString(string fileName, int line, int column); 40 | } 41 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/IHiddenStreamToken.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | public interface IHiddenStreamToken : IToken 21 | { 22 | IHiddenStreamToken getHiddenAfter(); 23 | void setHiddenAfter(IHiddenStreamToken t); 24 | 25 | IHiddenStreamToken getHiddenBefore(); 26 | void setHiddenBefore(IHiddenStreamToken t); 27 | } 28 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/IToken.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | /// 21 | /// A token is minimally a token type. Subclasses can add the text matched 22 | /// for the token and line info. 23 | /// 24 | public interface IToken 25 | { 26 | int getColumn(); 27 | void setColumn(int c); 28 | 29 | int getLine(); 30 | void setLine(int l); 31 | 32 | string getFilename(); 33 | void setFilename(string name); 34 | 35 | string getText(); 36 | void setText(string t); 37 | 38 | int Type { get; set; } 39 | } 40 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/ParseTreeToken.cs: -------------------------------------------------------------------------------- 1 | namespace antlr 2 | { 3 | 4 | /* ANTLR Translator Generator 5 | * Project led by Terence Parr at http://www.jGuru.com 6 | * Software rights: http://www.antlr.org/license.html 7 | */ 8 | 9 | // 10 | // ANTLR C# Code Generator by Micheal Jordan 11 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 12 | // Anthony Oguntimehin 13 | // 14 | 15 | using System; 16 | using StringBuilder = System.Text.StringBuilder; 17 | using AST = antlr.collections.AST; 18 | 19 | public class ParseTreeToken : ParseTree 20 | { 21 | protected IToken token; 22 | 23 | public ParseTreeToken(IToken token) 24 | { 25 | this.token = token; 26 | } 27 | 28 | protected override internal int getLeftmostDerivation(StringBuilder buf, int step) 29 | { 30 | buf.Append(' '); 31 | buf.Append(ToString()); 32 | return step; // did on replacements 33 | } 34 | 35 | public override string ToString() 36 | { 37 | if ( token != null ) 38 | { 39 | return token.getText(); 40 | } 41 | return ""; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/ParserSharedInputState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | /*This object contains the data associated with an 21 | * input stream of tokens. Multiple parsers 22 | * share a single ParserSharedInputState to parse 23 | * the same stream of tokens. 24 | */ 25 | 26 | public class ParserSharedInputState 27 | { 28 | /*Where to get token objects */ 29 | protected internal TokenBuffer input; 30 | 31 | /*Are we guessing (guessing>0)? */ 32 | public int guessing = 0; 33 | 34 | /*What file (if known) caused the problem? */ 35 | protected internal string filename; 36 | 37 | public virtual void reset() 38 | { 39 | guessing = 0; 40 | filename = null; 41 | input.reset(); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/SemanticException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | [Serializable] 21 | public class SemanticException : RecognitionException 22 | { 23 | public SemanticException(string s) : base(s) 24 | { 25 | } 26 | 27 | [Obsolete("Replaced by SemanticException(string, string, int, int) since version 2.7.2.6", false)] 28 | public SemanticException(String s, String fileName, int line) : 29 | this(s, fileName, line, -1) 30 | { 31 | 32 | } 33 | 34 | public SemanticException(string s, string fileName, int line, int column) : 35 | base(s, fileName, line, column) 36 | { 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenCreator.cs: -------------------------------------------------------------------------------- 1 | namespace antlr 2 | { 3 | using System; 4 | 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | 18 | /// 19 | /// A creator of Token object instances. 20 | /// 21 | /// 22 | /// 23 | /// This class and it's sub-classes exists primarily as an optimization 24 | /// of the reflection-based mechanism(s) previously used exclusively to 25 | /// create instances of Token objects. 26 | /// 27 | /// 28 | /// Since Lexers in ANTLR use a single Token type, each TokenCreator can 29 | /// create one class of Token objects (that's why it's not called TokenFactory). 30 | /// 31 | /// 32 | public abstract class TokenCreator 33 | { 34 | /// 35 | /// Returns the fully qualified name of the Token type that this 36 | /// class creates. 37 | /// 38 | public abstract string TokenTypeName 39 | { 40 | get; 41 | } 42 | 43 | /// 44 | /// Constructs a instance. 45 | /// 46 | public abstract IToken Create(); 47 | } 48 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenStream.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | 13 | // 14 | // ANTLR C# Code Generator by Micheal Jordan 15 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 16 | // Anthony Oguntimehin 17 | // 18 | // With many thanks to Eric V. Smith from the ANTLR list. 19 | // 20 | 21 | public interface TokenStream 22 | { 23 | IToken nextToken(); 24 | } 25 | 26 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenStreamBasicFilter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using BitSet = antlr.collections.impl.BitSet; 3 | 4 | namespace antlr 5 | { 6 | /*ANTLR Translator Generator 7 | * Project led by Terence Parr at http://www.jGuru.com 8 | * Software rights: http://www.antlr.org/license.html 9 | * 10 | * $Id:$ 11 | */ 12 | 13 | // 14 | // ANTLR C# Code Generator by Micheal Jordan 15 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 16 | // Anthony Oguntimehin 17 | // 18 | // With many thanks to Eric V. Smith from the ANTLR list. 19 | // 20 | 21 | /*This object is a TokenStream that passes through all 22 | * tokens except for those that you tell it to discard. 23 | * There is no buffering of the tokens. 24 | */ 25 | public class TokenStreamBasicFilter : TokenStream 26 | { 27 | /*The set of token types to discard */ 28 | protected internal BitSet discardMask; 29 | 30 | /*The input stream */ 31 | protected internal TokenStream input; 32 | 33 | public TokenStreamBasicFilter(TokenStream input) 34 | { 35 | this.input = input; 36 | discardMask = new BitSet(); 37 | } 38 | public virtual void discard(int ttype) 39 | { 40 | discardMask.add(ttype); 41 | } 42 | public virtual void discard(BitSet mask) 43 | { 44 | discardMask = mask; 45 | } 46 | public virtual IToken nextToken() 47 | { 48 | IToken tok = input.nextToken(); 49 | while (tok != null && discardMask.member(tok.Type)) 50 | { 51 | tok = input.nextToken(); 52 | } 53 | return tok; 54 | } 55 | } 56 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenStreamException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | /* 21 | * Anything that goes wrong while generating a stream of tokens. 22 | */ 23 | 24 | [Serializable] 25 | public class TokenStreamException : ANTLRException 26 | { 27 | public TokenStreamException() 28 | { 29 | } 30 | public TokenStreamException(string s) : base(s) 31 | { 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenStreamIOException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using IOException = System.IO.IOException; 3 | 4 | namespace antlr 5 | { 6 | /*ANTLR Translator Generator 7 | * Project led by Terence Parr at http://www.jGuru.com 8 | * Software rights: http://www.antlr.org/license.html 9 | * 10 | * $Id:$ 11 | */ 12 | 13 | // 14 | // ANTLR C# Code Generator by Micheal Jordan 15 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 16 | // Anthony Oguntimehin 17 | // 18 | // With many thanks to Eric V. Smith from the ANTLR list. 19 | // 20 | 21 | /* 22 | * Wraps an IOException in a TokenStreamException 23 | */ 24 | [Serializable] 25 | public class TokenStreamIOException : TokenStreamException 26 | { 27 | public IOException io; 28 | /* 29 | * TokenStreamIOException constructor comment. 30 | * @param s java.lang.String 31 | */ 32 | public TokenStreamIOException(IOException io) : base(io.Message) 33 | { 34 | this.io = io; 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenStreamRecognitionException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | /* 21 | * Wraps a RecognitionException in a TokenStreamException so you 22 | * can pass it along. 23 | */ 24 | 25 | [Serializable] 26 | public class TokenStreamRecognitionException : TokenStreamException 27 | { 28 | public RecognitionException recog; 29 | 30 | public TokenStreamRecognitionException(RecognitionException re) : 31 | base(re.Message) 32 | { 33 | this.recog = re; 34 | } 35 | 36 | override public string ToString() 37 | { 38 | return recog.ToString(); 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenStreamRetryException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | /* 21 | * Aborted recognition of current token. Try to get one again. 22 | * Used by TokenStreamSelector.retry() to force nextToken() 23 | * of stream to re-enter and retry. 24 | */ 25 | 26 | [Serializable] 27 | public class TokenStreamRetryException : TokenStreamException 28 | { 29 | public TokenStreamRetryException() {} 30 | } 31 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TokenWithIndex.cs: -------------------------------------------------------------------------------- 1 | namespace antlr 2 | { 3 | /* ANTLR Translator Generator 4 | * Project led by Terence Parr at http://www.jGuru.com 5 | * Software rights: http://www.antlr.org/license.html 6 | */ 7 | 8 | // 9 | // ANTLR C# Code Generator by Micheal Jordan 10 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 11 | // Anthony Oguntimehin 12 | // 13 | 14 | using System; 15 | 16 | /// 17 | /// This token tracks it's own index 0..n-1 relative to the beginning 18 | /// of the stream. It is designed to work with 19 | /// in TokenStreamRewriteEngine.cs 20 | /// 21 | public class TokenWithIndex : CommonToken 22 | { 23 | /// 24 | /// Index into token array indicating position in input stream 25 | /// 26 | int index; 27 | 28 | public TokenWithIndex() : base() 29 | { 30 | } 31 | 32 | public TokenWithIndex(int i, string t) : base(i, t) 33 | { 34 | } 35 | 36 | public void setIndex(int i) 37 | { 38 | index = i; 39 | } 40 | 41 | public int getIndex() 42 | { 43 | return index; 44 | } 45 | 46 | public override string ToString() 47 | { 48 | return "["+index+":\"" + getText() + "\",<" + Type + ">,line=" + line + ",col=" + col + "]\n"; 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang.Parser/antlr/antlr/TreeParserSharedInputState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace antlr 4 | { 5 | /*ANTLR Translator Generator 6 | * Project led by Terence Parr at http://www.jGuru.com 7 | * Software rights: http://www.antlr.org/license.html 8 | * 9 | * $Id:$ 10 | */ 11 | 12 | // 13 | // ANTLR C# Code Generator by Micheal Jordan 14 | // Kunle Odutola : kunle UNDERSCORE odutola AT hotmail DOT com 15 | // Anthony Oguntimehin 16 | // 17 | // With many thanks to Eric V. Smith from the ANTLR list. 18 | // 19 | 20 | /*This object contains the data associated with an 21 | * input AST. Multiple parsers 22 | * share a single TreeParserSharedInputState to parse 23 | * the same tree or to have the parser walk multiple 24 | * trees. 25 | */ 26 | 27 | public class TreeParserSharedInputState 28 | { 29 | /*Are we guessing (guessing>0)? */ 30 | public int guessing = 0; 31 | 32 | public virtual void reset() 33 | { 34 | guessing = 0; 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /src/ThirdParty/Boo/Boo.Lang/TypeInferenceRuleAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Boo.Lang 4 | { 5 | public enum TypeInferenceRules 6 | { 7 | /// 8 | /// (typeof(T)) as T 9 | /// 10 | TypeReferencedByFirstArgument, 11 | 12 | /// 13 | /// (, typeof(T)) as T 14 | /// 15 | TypeReferencedBySecondArgument, 16 | 17 | /// 18 | /// (typeof(T)) as (T) 19 | /// 20 | ArrayOfTypeReferencedByFirstArgument, 21 | 22 | /// 23 | /// (T) as T 24 | /// 25 | TypeOfFirstArgument, 26 | } 27 | 28 | /// 29 | /// Adds a special type inference rule to a method. 30 | /// 31 | /// See Boo.Lang.Compiler.TypeSystem.Services.InvocationTypeInferenceRules.BuiltinRules. 32 | /// 33 | [Serializable] 34 | [AttributeUsage(AttributeTargets.Method)] 35 | public class TypeInferenceRuleAttribute : Attribute 36 | { 37 | private readonly string _rule; 38 | 39 | public TypeInferenceRuleAttribute(TypeInferenceRules rule) : this(rule.ToString()) 40 | { 41 | } 42 | 43 | public TypeInferenceRuleAttribute(string rule) 44 | { 45 | _rule = rule; 46 | } 47 | 48 | public override string ToString() 49 | { 50 | return _rule; 51 | } 52 | } 53 | } -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/DockContentEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace WeifenLuo.WinFormsUI.Docking 4 | { 5 | public class DockContentEventArgs : EventArgs 6 | { 7 | private IDockContent m_content; 8 | 9 | public DockContentEventArgs(IDockContent content) 10 | { 11 | m_content = content; 12 | } 13 | 14 | public IDockContent Content 15 | { 16 | get { return m_content; } 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/DockPaneCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.ObjectModel; 3 | using System.Collections.Generic; 4 | using System.Drawing; 5 | using System.Windows.Forms; 6 | 7 | namespace WeifenLuo.WinFormsUI.Docking 8 | { 9 | public class DockPaneCollection : ReadOnlyCollection 10 | { 11 | internal DockPaneCollection() 12 | : base(new List()) 13 | { 14 | } 15 | 16 | internal int Add(DockPane pane) 17 | { 18 | if (Items.Contains(pane)) 19 | return Items.IndexOf(pane); 20 | 21 | Items.Add(pane); 22 | return Count - 1; 23 | } 24 | 25 | internal void AddAt(DockPane pane, int index) 26 | { 27 | if (index < 0 || index > Items.Count - 1) 28 | return; 29 | 30 | if (Contains(pane)) 31 | return; 32 | 33 | Items.Insert(index, pane); 34 | } 35 | 36 | internal void Dispose() 37 | { 38 | for (int i=Count - 1; i>=0; i--) 39 | this[i].Close(); 40 | } 41 | 42 | internal void Remove(DockPane pane) 43 | { 44 | Items.Remove(pane); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/DockPanel.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/DockPanel.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/DockWindow.SplitterControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.ComponentModel; 4 | using System.Drawing; 5 | using System.Windows.Forms; 6 | 7 | namespace WeifenLuo.WinFormsUI.Docking 8 | { 9 | public partial class DockWindow 10 | { 11 | private class SplitterControl : SplitterBase 12 | { 13 | protected override int SplitterSize 14 | { 15 | get { return Measures.SplitterSize; } 16 | } 17 | 18 | protected override void StartDrag() 19 | { 20 | DockWindow window = Parent as DockWindow; 21 | if (window == null) 22 | return; 23 | 24 | window.DockPanel.BeginDrag(window, window.RectangleToScreen(Bounds)); 25 | } 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/DockWindowCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | 5 | namespace WeifenLuo.WinFormsUI.Docking 6 | { 7 | public class DockWindowCollection : ReadOnlyCollection 8 | { 9 | internal DockWindowCollection(DockPanel dockPanel) 10 | : base(new List()) 11 | { 12 | Items.Add(new DockWindow(dockPanel, DockState.Document)); 13 | Items.Add(new DockWindow(dockPanel, DockState.DockLeft)); 14 | Items.Add(new DockWindow(dockPanel, DockState.DockRight)); 15 | Items.Add(new DockWindow(dockPanel, DockState.DockTop)); 16 | Items.Add(new DockWindow(dockPanel, DockState.DockBottom)); 17 | } 18 | 19 | public DockWindow this [DockState dockState] 20 | { 21 | get 22 | { 23 | if (dockState == DockState.Document) 24 | return Items[0]; 25 | else if (dockState == DockState.DockLeft || dockState == DockState.DockLeftAutoHide) 26 | return Items[1]; 27 | else if (dockState == DockState.DockRight || dockState == DockState.DockRightAutoHide) 28 | return Items[2]; 29 | else if (dockState == DockState.DockTop || dockState == DockState.DockTopAutoHide) 30 | return Items[3]; 31 | else if (dockState == DockState.DockBottom || dockState == DockState.DockBottomAutoHide) 32 | return Items[4]; 33 | 34 | throw (new ArgumentOutOfRangeException()); 35 | } 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/DummyControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace WeifenLuo.WinFormsUI.Docking 5 | { 6 | internal class DummyControl : Control 7 | { 8 | public DummyControl() 9 | { 10 | SetStyle(ControlStyles.Selectable, false); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Enums.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ComponentModel; 3 | using System.Windows.Forms; 4 | 5 | namespace WeifenLuo.WinFormsUI.Docking 6 | { 7 | [Flags] 8 | [Serializable] 9 | [Editor(typeof(DockAreasEditor), typeof(System.Drawing.Design.UITypeEditor))] 10 | public enum DockAreas 11 | { 12 | Float = 1, 13 | DockLeft = 2, 14 | DockRight = 4, 15 | DockTop = 8, 16 | DockBottom = 16, 17 | Document = 32 18 | } 19 | 20 | public enum DockState 21 | { 22 | Unknown = 0, 23 | Float = 1, 24 | DockTopAutoHide = 2, 25 | DockLeftAutoHide = 3, 26 | DockBottomAutoHide = 4, 27 | DockRightAutoHide = 5, 28 | Document = 6, 29 | DockTop = 7, 30 | DockLeft = 8, 31 | DockBottom = 9, 32 | DockRight = 10, 33 | Hidden = 11 34 | } 35 | 36 | public enum DockAlignment 37 | { 38 | Left, 39 | Right, 40 | Top, 41 | Bottom 42 | } 43 | 44 | public enum DocumentStyle 45 | { 46 | DockingMdi, 47 | DockingWindow, 48 | DockingSdi, 49 | SystemMdi, 50 | } 51 | 52 | /// 53 | /// The location to draw the DockPaneStrip for Document style windows. 54 | /// 55 | public enum DocumentTabStripLocation 56 | { 57 | Top, 58 | Bottom 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/FloatWindowCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Drawing; 5 | using System.Windows.Forms; 6 | 7 | namespace WeifenLuo.WinFormsUI.Docking 8 | { 9 | public class FloatWindowCollection : ReadOnlyCollection 10 | { 11 | internal FloatWindowCollection() 12 | : base(new List()) 13 | { 14 | } 15 | 16 | internal int Add(FloatWindow fw) 17 | { 18 | if (Items.Contains(fw)) 19 | return Items.IndexOf(fw); 20 | 21 | Items.Add(fw); 22 | return Count - 1; 23 | } 24 | 25 | internal void Dispose() 26 | { 27 | for (int i=Count - 1; i>=0; i--) 28 | this[i].Close(); 29 | } 30 | 31 | internal void Remove(FloatWindow fw) 32 | { 33 | Items.Remove(fw); 34 | } 35 | 36 | internal void BringWindowToFront(FloatWindow fw) 37 | { 38 | Items.Remove(fw); 39 | Items.Add(fw); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Helpers/ResourceHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | using System.Reflection; 4 | using System.Resources; 5 | using System.Windows.Forms; 6 | 7 | namespace WeifenLuo.WinFormsUI.Docking 8 | { 9 | internal static class ResourceHelper 10 | { 11 | private static ResourceManager _resourceManager = null; 12 | 13 | private static ResourceManager ResourceManager 14 | { 15 | get 16 | { 17 | if (_resourceManager == null) 18 | //_resourceManager = new ResourceManager("WeifenLuo.WinFormsUI.Docking.Strings", typeof(ResourceHelper).Assembly); 19 | _resourceManager = new ResourceManager( 20 | "GNet.ThirdParty.DockPanelSuite.Docking.Strings", 21 | typeof(ResourceHelper).Assembly); 22 | return _resourceManager; 23 | } 24 | 25 | } 26 | 27 | public static string GetString(string name) 28 | { 29 | return ResourceManager.GetString(name); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Helpers/Win32Helper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | using System.Windows.Forms; 4 | 5 | namespace WeifenLuo.WinFormsUI.Docking 6 | { 7 | internal static class Win32Helper 8 | { 9 | public static Control ControlAtPoint(Point pt) 10 | { 11 | return Control.FromChildHandle(NativeMethods.WindowFromPoint(pt)); 12 | } 13 | 14 | public static uint MakeLong(int low, int high) 15 | { 16 | return (uint)((high << 16) + low); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Interfaces.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | using System.Windows.Forms; 4 | 5 | namespace WeifenLuo.WinFormsUI.Docking 6 | { 7 | public interface IDockContent 8 | { 9 | DockContentHandler DockHandler { get; } 10 | void OnActivated(EventArgs e); 11 | void OnDeactivate(EventArgs e); 12 | } 13 | 14 | public interface INestedPanesContainer 15 | { 16 | DockState DockState { get; } 17 | Rectangle DisplayingRectangle { get; } 18 | NestedPaneCollection NestedPanes { get; } 19 | VisibleNestedPaneCollection VisibleNestedPanes { get; } 20 | bool IsFloat { get; } 21 | } 22 | 23 | internal interface IDragSource 24 | { 25 | Control DragControl { get; } 26 | } 27 | 28 | internal interface IDockDragSource : IDragSource 29 | { 30 | Rectangle BeginDrag(Point ptMouse); 31 | bool IsDockStateValid(DockState dockState); 32 | bool CanDockTo(DockPane pane); 33 | void FloatAt(Rectangle floatWindowBounds); 34 | void DockTo(DockPane pane, DockStyle dockStyle, int contentIndex); 35 | void DockTo(DockPanel panel, DockStyle dockStyle); 36 | } 37 | 38 | internal interface ISplitterDragSource : IDragSource 39 | { 40 | void BeginDrag(Rectangle rectSplitter); 41 | void EndDrag(); 42 | bool IsVertical { get; } 43 | Rectangle DragLimitBounds { get; } 44 | void MoveSplitter(int offset); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Localization.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ComponentModel; 3 | 4 | namespace WeifenLuo.WinFormsUI.Docking 5 | { 6 | [AttributeUsage(AttributeTargets.All)] 7 | internal sealed class LocalizedDescriptionAttribute : DescriptionAttribute 8 | { 9 | private bool m_initialized = false; 10 | 11 | public LocalizedDescriptionAttribute(string key) : base(key) 12 | { 13 | } 14 | 15 | public override string Description 16 | { 17 | get 18 | { 19 | if (!m_initialized) 20 | { 21 | string key = base.Description; 22 | DescriptionValue = ResourceHelper.GetString(key); 23 | if (DescriptionValue == null) 24 | DescriptionValue = String.Empty; 25 | 26 | m_initialized = true; 27 | } 28 | 29 | return DescriptionValue; 30 | } 31 | } 32 | } 33 | 34 | [AttributeUsage(AttributeTargets.All)] 35 | internal sealed class LocalizedCategoryAttribute : CategoryAttribute 36 | { 37 | public LocalizedCategoryAttribute(string key) : base(key) 38 | { 39 | } 40 | 41 | protected override string GetLocalizedString(string key) 42 | { 43 | return ResourceHelper.GetString(key); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Measures.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace WeifenLuo.WinFormsUI.Docking 4 | { 5 | internal static class Measures 6 | { 7 | public const int SplitterSize = 4; 8 | } 9 | 10 | internal static class MeasurePane 11 | { 12 | public const int MinSize = 24; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Bottom.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Bottom.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Hotspot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Hotspot.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_HotspotIndex.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_HotspotIndex.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Left.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Left.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Right.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Right.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Top.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PaneDiamond_Top.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelBottom.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelBottom.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelBottom_Active.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelBottom_Active.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelFill.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelFill.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelFill_Active.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelFill_Active.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelLeft.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelLeft.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelLeft_Active.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelLeft_Active.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelRight.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelRight.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelRight_Active.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelRight_Active.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelTop.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelTop.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelTop_Active.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockIndicator_PanelTop_Active.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_AutoHide.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_AutoHide.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_Close.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_Close.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_Dock.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_Dock.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_Option.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_Option.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_OptionOverflow.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/DockPane_OptionOverflow.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/Dockindicator_PaneDiamond_Fill.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/Dockindicator_PaneDiamond_Fill.bmp -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Docking/Resources/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/DockPanelSuite/Docking/Resources/Thumbs.db -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/Source.txt: -------------------------------------------------------------------------------- 1 | http://sourceforge.net/projects/dockpanelsuite/ 2 | -------------------------------------------------------------------------------- /src/ThirdParty/DockPanelSuite/license.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2007 Weifen Luo (email: weifenluo@yahoo.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/Source.txt: -------------------------------------------------------------------------------- 1 | http://sourceforge.net/projects/sharpdevelop/files/SharpDevelop%202.x/2.2.1/ 2 | 3 | see also 4 | http://www.icsharpcode.net/ 5 | http://www.icsharpcode.net/OpenSource/SD/Download/ 6 | 7 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Actions/ClipBoardActions.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | 10 | namespace ICSharpCode.TextEditor.Actions 11 | { 12 | public class Cut : AbstractEditAction 13 | { 14 | public override void Execute(TextArea textArea) 15 | { 16 | if (textArea.Document.ReadOnly) { 17 | return; 18 | } 19 | textArea.ClipboardHandler.Cut(null, null); 20 | } 21 | } 22 | 23 | public class Copy : AbstractEditAction 24 | { 25 | public override void Execute(TextArea textArea) 26 | { 27 | textArea.AutoClearSelection = false; 28 | textArea.ClipboardHandler.Copy(null, null); 29 | } 30 | } 31 | 32 | public class Paste : AbstractEditAction 33 | { 34 | public override void Execute(TextArea textArea) 35 | { 36 | if (textArea.Document.ReadOnly) { 37 | return; 38 | } 39 | textArea.ClipboardHandler.Paste(null, null); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/AbstractSegment.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | 10 | namespace ICSharpCode.TextEditor.Document 11 | { 12 | /// 13 | /// This interface is used to describe a span inside a text sequence 14 | /// 15 | public class AbstractSegment : ISegment 16 | { 17 | [CLSCompliant(false)] 18 | protected int offset = -1; 19 | [CLSCompliant(false)] 20 | protected int length = -1; 21 | 22 | #region ICSharpCode.TextEditor.Document.ISegment interface implementation 23 | public virtual int Offset { 24 | get { 25 | return offset; 26 | } 27 | set { 28 | offset = value; 29 | } 30 | } 31 | 32 | public virtual int Length { 33 | get { 34 | return length; 35 | } 36 | set { 37 | length = value; 38 | } 39 | } 40 | 41 | #endregion 42 | 43 | public override string ToString() 44 | { 45 | return String.Format("[AbstractSegment: Offset = {0}, Length = {1}]", 46 | Offset, 47 | Length); 48 | } 49 | 50 | 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/BookmarkManager/BookmarkEventHandler.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | 10 | namespace ICSharpCode.TextEditor.Document 11 | { 12 | public delegate void BookmarkEventHandler(object sender, BookmarkEventArgs e); 13 | 14 | /// 15 | /// Description of BookmarkEventHandler. 16 | /// 17 | public class BookmarkEventArgs : EventArgs 18 | { 19 | Bookmark bookmark; 20 | 21 | public Bookmark Bookmark { 22 | get { 23 | return bookmark; 24 | } 25 | } 26 | 27 | public BookmarkEventArgs(Bookmark bookmark) 28 | { 29 | this.bookmark = bookmark; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/FoldingStrategy/IFoldingStrategy.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Collections.Generic; 10 | 11 | namespace ICSharpCode.TextEditor.Document 12 | { 13 | /// 14 | /// This interface is used for the folding capabilities 15 | /// of the textarea. 16 | /// 17 | public interface IFoldingStrategy 18 | { 19 | /// 20 | /// Calculates the fold level of a specific line. 21 | /// 22 | List GenerateFoldMarkers(IDocument document, string fileName, object parseInformation); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/FoldingStrategy/IndentFoldingStrategy.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Collections.Generic; 10 | 11 | namespace ICSharpCode.TextEditor.Document 12 | { 13 | /// 14 | /// A simple folding strategy which calculates the folding level 15 | /// using the indent level of the line. 16 | /// 17 | public class IndentFoldingStrategy : IFoldingStrategy 18 | { 19 | public List GenerateFoldMarkers(IDocument document, string fileName, object parseInformation) 20 | { 21 | List l = new List(); 22 | Stack offsetStack = new Stack(); 23 | Stack textStack = new Stack(); 24 | //int level = 0; 25 | //foreach (LineSegment segment in document.LineSegmentCollection) { 26 | // 27 | //} 28 | return l; 29 | } 30 | 31 | int GetLevel(IDocument document, int offset) 32 | { 33 | int level = 0; 34 | int spaces = 0; 35 | for (int i = offset; i < document.TextLength; ++i) { 36 | char c = document.GetCharAt(i); 37 | if (c == '\t' || (c == ' ' && ++spaces == 4)) { 38 | spaces = 0; 39 | ++level; 40 | } else { 41 | break; 42 | } 43 | } 44 | return level; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/HighlightingStrategy/HighlightInfo.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | 10 | namespace ICSharpCode.TextEditor.Document 11 | { 12 | public class HighlightInfo 13 | { 14 | public bool BlockSpanOn = false; 15 | public bool Span = false; 16 | public Span CurSpan = null; 17 | 18 | public HighlightInfo(Span curSpan, bool span, bool blockSpanOn) 19 | { 20 | this.CurSpan = curSpan; 21 | this.Span = span; 22 | this.BlockSpanOn = blockSpanOn; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/HighlightingStrategy/HighlightingColorNotFoundException.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Runtime.Serialization; 10 | 11 | namespace ICSharpCode.TextEditor.Document 12 | { 13 | [Serializable()] 14 | public class HighlightingColorNotFoundException : Exception 15 | { 16 | public HighlightingColorNotFoundException() : base() 17 | { 18 | } 19 | 20 | public HighlightingColorNotFoundException(string message) : base(message) 21 | { 22 | } 23 | 24 | public HighlightingColorNotFoundException(string message, Exception innerException) : base(message, innerException) 25 | { 26 | } 27 | 28 | protected HighlightingColorNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) 29 | { 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/HighlightingStrategy/HighlightingDefinitionInvalidException.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Runtime.Serialization; 10 | 11 | namespace ICSharpCode.TextEditor.Document 12 | { 13 | /// 14 | /// Indicates that the highlighting definition that was tried to load was invalid. 15 | /// You get this exception only once per highlighting definition, after that the definition 16 | /// is replaced with the default highlighter. 17 | /// 18 | [Serializable()] 19 | public class HighlightingDefinitionInvalidException : Exception 20 | { 21 | public HighlightingDefinitionInvalidException() : base() 22 | { 23 | } 24 | 25 | public HighlightingDefinitionInvalidException(string message) : base(message) 26 | { 27 | } 28 | 29 | public HighlightingDefinitionInvalidException(string message, Exception innerException) : base(message, innerException) 30 | { 31 | } 32 | 33 | protected HighlightingDefinitionInvalidException(SerializationInfo info, StreamingContext context) : base(info, context) 34 | { 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/HighlightingStrategy/HighlightingStrategyFactory.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | 10 | namespace ICSharpCode.TextEditor.Document 11 | { 12 | public class HighlightingStrategyFactory 13 | { 14 | public static IHighlightingStrategy CreateHighlightingStrategy() 15 | { 16 | return (IHighlightingStrategy)HighlightingManager.Manager.HighlightingDefinitions["Default"]; 17 | } 18 | 19 | public static IHighlightingStrategy CreateHighlightingStrategy(string name) 20 | { 21 | IHighlightingStrategy highlightingStrategy = HighlightingManager.Manager.FindHighlighter(name); 22 | 23 | if (highlightingStrategy == null) { 24 | return CreateHighlightingStrategy(); 25 | } 26 | return highlightingStrategy; 27 | } 28 | 29 | public static IHighlightingStrategy CreateHighlightingStrategyForFile(string fileName) 30 | { 31 | IHighlightingStrategy highlightingStrategy = HighlightingManager.Manager.FindHighlighterForFile(fileName); 32 | if (highlightingStrategy == null) { 33 | return CreateHighlightingStrategy(); 34 | } 35 | return highlightingStrategy; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/HighlightingStrategy/NextMarker.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Xml; 10 | 11 | namespace ICSharpCode.TextEditor.Document 12 | { 13 | /// 14 | /// Used for mark next token 15 | /// 16 | public class NextMarker 17 | { 18 | string what; 19 | HighlightColor color; 20 | bool markMarker = false; 21 | 22 | /// 23 | /// String value to indicate to mark next token 24 | /// 25 | public string What { 26 | get { 27 | return what; 28 | } 29 | } 30 | 31 | /// 32 | /// Color for marking next token 33 | /// 34 | public HighlightColor Color { 35 | get { 36 | return color; 37 | } 38 | } 39 | 40 | /// 41 | /// If true the indication text will be marked with the same color 42 | /// too 43 | /// 44 | public bool MarkMarker { 45 | get { 46 | return markMarker; 47 | } 48 | } 49 | 50 | /// 51 | /// Creates a new instance of 52 | /// 53 | public NextMarker(XmlElement mark) 54 | { 55 | color = new HighlightColor(mark); 56 | what = mark.InnerText; 57 | if (mark.Attributes["markmarker"] != null) { 58 | markMarker = Boolean.Parse(mark.Attributes["markmarker"].InnerText); 59 | } 60 | } 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/HighlightingStrategy/PrevMarker.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Xml; 10 | 11 | namespace ICSharpCode.TextEditor.Document 12 | { 13 | /// 14 | /// Used for mark previous token 15 | /// 16 | public class PrevMarker 17 | { 18 | string what; 19 | HighlightColor color; 20 | bool markMarker = false; 21 | 22 | /// 23 | /// String value to indicate to mark previous token 24 | /// 25 | public string What { 26 | get { 27 | return what; 28 | } 29 | } 30 | 31 | /// 32 | /// Color for marking previous token 33 | /// 34 | public HighlightColor Color { 35 | get { 36 | return color; 37 | } 38 | } 39 | 40 | /// 41 | /// If true the indication text will be marked with the same color 42 | /// too 43 | /// 44 | public bool MarkMarker { 45 | get { 46 | return markMarker; 47 | } 48 | } 49 | 50 | /// 51 | /// Creates a new instance of 52 | /// 53 | public PrevMarker(XmlElement mark) 54 | { 55 | color = new HighlightColor(mark); 56 | what = mark.InnerText; 57 | if (mark.Attributes["markmarker"] != null) { 58 | markMarker = Boolean.Parse(mark.Attributes["markmarker"].InnerText); 59 | } 60 | } 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/HighlightingStrategy/SyntaxModes/ISyntaxModeFileProvider.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Collections.Generic; 10 | using System.Xml; 11 | 12 | namespace ICSharpCode.TextEditor.Document 13 | { 14 | public interface ISyntaxModeFileProvider 15 | { 16 | ICollection SyntaxModes { 17 | get; 18 | } 19 | 20 | XmlTextReader GetSyntaxModeFile(SyntaxMode syntaxMode); 21 | void UpdateSyntaxModeList(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/ISegment.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | namespace ICSharpCode.TextEditor.Document 9 | { 10 | /// 11 | /// This interface is used to describe a span inside a text sequence 12 | /// 13 | public interface ISegment 14 | { 15 | /// 16 | /// The offset where the span begins 17 | /// 18 | int Offset { 19 | get; 20 | set; 21 | } 22 | 23 | /// 24 | /// The length of the span 25 | /// 26 | int Length { 27 | get; 28 | set; 29 | } 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/LineManager/DeferredEventList.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | using System; 8 | using System.Collections.Generic; 9 | 10 | namespace ICSharpCode.TextEditor.Document 11 | { 12 | /// 13 | /// A list of events that are fired after the line manager has finished working. 14 | /// 15 | struct DeferredEventList 16 | { 17 | internal List removedLines; 18 | internal List textAnchor; 19 | 20 | public void AddRemovedLine(LineSegment line) 21 | { 22 | if (removedLines == null) 23 | removedLines = new List(); 24 | removedLines.Add(line); 25 | } 26 | 27 | public void AddDeletedAnchor(TextAnchor anchor) 28 | { 29 | if (textAnchor == null) 30 | textAnchor = new List(); 31 | textAnchor.Add(anchor); 32 | } 33 | 34 | public void RaiseEvents() 35 | { 36 | // removedLines is raised by the LineManager 37 | if (textAnchor != null) { 38 | foreach (TextAnchor a in textAnchor) { 39 | a.RaiseDeleted(); 40 | } 41 | } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Document/Selection/ISelection.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System.Drawing; 9 | 10 | namespace ICSharpCode.TextEditor.Document 11 | { 12 | /// 13 | /// An interface representing a portion of the current selection. 14 | /// 15 | public interface ISelection 16 | { 17 | TextLocation StartPosition { 18 | get; 19 | set; 20 | } 21 | 22 | TextLocation EndPosition { 23 | get; 24 | set; 25 | } 26 | 27 | int Offset { 28 | get; 29 | } 30 | 31 | int EndOffset { 32 | get; 33 | } 34 | 35 | int Length { 36 | get; 37 | } 38 | 39 | /// 40 | /// Returns true, if the selection is rectangular 41 | /// 42 | bool IsRectangularSelection { 43 | get; 44 | } 45 | 46 | /// 47 | /// Returns true, if the selection is empty 48 | /// 49 | bool IsEmpty { 50 | get; 51 | } 52 | 53 | /// 54 | /// The text which is selected by this selection. 55 | /// 56 | string SelectedText { 57 | get; 58 | } 59 | 60 | bool ContainsOffset(int offset); 61 | 62 | bool ContainsPosition(TextLocation position); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Gui/ToolTipRequestEventArgs.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Drawing; 10 | 11 | namespace ICSharpCode.TextEditor 12 | { 13 | public delegate void ToolTipRequestEventHandler(object sender, ToolTipRequestEventArgs e); 14 | 15 | public class ToolTipRequestEventArgs 16 | { 17 | Point mousePosition; 18 | TextLocation logicalPosition; 19 | bool inDocument; 20 | 21 | public Point MousePosition { 22 | get { 23 | return mousePosition; 24 | } 25 | } 26 | 27 | public TextLocation LogicalPosition { 28 | get { 29 | return logicalPosition; 30 | } 31 | } 32 | 33 | public bool InDocument { 34 | get { 35 | return inDocument; 36 | } 37 | } 38 | 39 | /// 40 | /// Gets if some client handling the event has already shown a tool tip. 41 | /// 42 | public bool ToolTipShown { 43 | get { 44 | return toolTipText != null; 45 | } 46 | } 47 | 48 | internal string toolTipText; 49 | 50 | public void ShowToolTip(string text) 51 | { 52 | toolTipText = text; 53 | } 54 | 55 | public ToolTipRequestEventArgs(Point mousePosition, TextLocation logicalPosition, bool inDocument) 56 | { 57 | this.mousePosition = mousePosition; 58 | this.logicalPosition = logicalPosition; 59 | this.inDocument = inDocument; 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Resources/ASPX.xshd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <% 7 | %> 8 | 9 | 10 | 11 | 12 | 13 | // 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Resources/BAT-Mode.xshd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Resources/ICSharpCode.TextEditor.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/ICSharpCode/TextEditor/Resources/ICSharpCode.TextEditor.snk -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Resources/Patch-Mode.xshd: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | ~!%^*()-+=|\#/{}[]:;"'<> , .? 9 | 10 | 11 | Index: 12 | 13 | 14 | == 15 | 16 | 17 | --- 18 | 19 | 20 | +++ 21 | 22 | 23 | @@ 24 | 25 | 26 | - 27 | 28 | 29 | + 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Resources/RightArrow.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/ICSharpCode/TextEditor/Resources/RightArrow.cur -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Resources/TextEditorControl.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jj-jabb/GNet/9380c954a2a6eb567dcc2dd0a5572eb1545c0db2/src/ThirdParty/ICSharpCode/TextEditor/Resources/TextEditorControl.bmp -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Undo/IUndoableOperation.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | namespace ICSharpCode.TextEditor.Undo 9 | { 10 | /// 11 | /// This Interface describes a the basic Undo/Redo operation 12 | /// all Undo Operations must implement this interface. 13 | /// 14 | public interface IUndoableOperation 15 | { 16 | /// 17 | /// Undo the last operation 18 | /// 19 | void Undo(); 20 | 21 | /// 22 | /// Redo the last operation 23 | /// 24 | void Redo(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Undo/UndoQueue.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Collections.Generic; 10 | using System.Diagnostics; 11 | 12 | namespace ICSharpCode.TextEditor.Undo 13 | { 14 | /// 15 | /// This class stacks the last x operations from the undostack and makes 16 | /// one undo/redo operation from it. 17 | /// 18 | internal sealed class UndoQueue : IUndoableOperation 19 | { 20 | List undolist = new List(); 21 | 22 | /// 23 | /// 24 | public UndoQueue(Stack stack, int numops) 25 | { 26 | if (stack == null) { 27 | throw new ArgumentNullException("stack"); 28 | } 29 | 30 | Debug.Assert(numops > 0 , "ICSharpCode.TextEditor.Undo.UndoQueue : numops should be > 0"); 31 | if (numops > stack.Count) { 32 | numops = stack.Count; 33 | } 34 | 35 | for (int i = 0; i < numops; ++i) { 36 | undolist.Add(stack.Pop()); 37 | } 38 | } 39 | public void Undo() 40 | { 41 | for (int i = 0; i < undolist.Count; ++i) { 42 | undolist[i].Undo(); 43 | } 44 | } 45 | 46 | public void Redo() 47 | { 48 | for (int i = undolist.Count - 1 ; i >= 0 ; --i) { 49 | undolist[i].Redo(); 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Util/LoggingService.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | 10 | namespace ICSharpCode.TextEditor.Util 11 | { 12 | /// 13 | /// Central location for logging calls in the text editor. 14 | /// 15 | static class LoggingService 16 | { 17 | public static void Debug(string text) 18 | { 19 | #if DEBUG 20 | Console.WriteLine(text); 21 | #endif 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Util/MouseWheelHandler.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Windows.Forms; 10 | 11 | namespace ICSharpCode.TextEditor.Util 12 | { 13 | /// 14 | /// Accumulates mouse wheel deltas and reports the actual number of lines to scroll. 15 | /// 16 | class MouseWheelHandler 17 | { 18 | // CODE DUPLICATION: See ICSharpCode.SharpDevelop.Widgets.MouseWheelHandler 19 | 20 | const int WHEEL_DELTA = 120; 21 | 22 | int mouseWheelDelta; 23 | 24 | public int GetScrollAmount(MouseEventArgs e) 25 | { 26 | // accumulate the delta to support high-resolution mice 27 | mouseWheelDelta += e.Delta; 28 | 29 | int linesPerClick = Math.Max(SystemInformation.MouseWheelScrollLines, 1); 30 | 31 | int scrollDistance = mouseWheelDelta * linesPerClick / WHEEL_DELTA; 32 | mouseWheelDelta %= Math.Max(1, WHEEL_DELTA / linesPerClick); 33 | return scrollDistance; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/TextEditor/Util/TipSpacer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // 3 | // 4 | // 5 | // $Revision$ 6 | // 7 | 8 | using System; 9 | using System.Drawing; 10 | 11 | namespace ICSharpCode.TextEditor.Util 12 | { 13 | class TipSpacer: TipSection 14 | { 15 | SizeF spacerSize; 16 | 17 | public TipSpacer(Graphics graphics, SizeF size): base(graphics) 18 | { 19 | spacerSize = size; 20 | } 21 | 22 | public override void Draw(PointF location) 23 | { 24 | 25 | } 26 | 27 | protected override void OnMaximumSizeChanged() 28 | { 29 | base.OnMaximumSizeChanged(); 30 | 31 | SetRequiredSize(new SizeF 32 | (Math.Min(MaximumSize.Width, spacerSize.Width), 33 | Math.Min(MaximumSize.Height, spacerSize.Height))); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/ThirdParty/ICSharpCode/copyright.txt: -------------------------------------------------------------------------------- 1 | Copyright 2002-2007 by 2 | 3 | AlphaSierraPapa, Christoph Wille 4 | Vordernberger Strasse 27/8 5 | A-8700 Leoben 6 | Austria 7 | 8 | email: office@alphasierrapapa.com 9 | court of jurisdiction: Landesgericht Leoben 10 | 11 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Debugging/COMHelpers.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Jurassic.Compiler 4 | { 5 | /// 6 | /// Used to ease interop with the COM debugging extension. 7 | /// 8 | internal static class COMHelpers 9 | { 10 | /// 11 | /// Gets the language type GUID for the symbol store. 12 | /// 13 | public static readonly Guid LanguageType = // JScript 14 | new Guid("3A12D0B6-C26C-11D0-B442-00A0244A1DD2"); 15 | 16 | /// 17 | /// Gets the language vendor GUID for the symbol store. 18 | /// 19 | public static readonly Guid LanguageVendor = 20 | new Guid("CFA05A92-B7CC-4D3D-92E1-4D18CDACDC8D"); 21 | 22 | 23 | /// 24 | /// Gets the document type GUID for the symbol store. 25 | /// 26 | public static readonly Guid DocumentType = 27 | new Guid("5A869D0B-6611-11D3-BD2A-0000F80849BD"); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Debugging/SourceCodePosition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Jurassic.Compiler 4 | { 5 | /// 6 | /// Represents a line and column number in a source file. 7 | /// 8 | internal struct SourceCodePosition 9 | { 10 | /// 11 | /// Creates a new SourceCodePosition instance. 12 | /// 13 | /// The line number. Must be greater than zero. 14 | /// The column number. Must be greater than zero. 15 | public SourceCodePosition(int line, int column) 16 | : this() 17 | { 18 | if (line < 1) 19 | throw new ArgumentOutOfRangeException("line"); 20 | if (column < 1) 21 | throw new ArgumentOutOfRangeException("column"); 22 | 23 | this.Line = line; 24 | this.Column = column; 25 | } 26 | 27 | /// 28 | /// Gets the line number. 29 | /// 30 | public int Line 31 | { 32 | get; 33 | private set; 34 | } 35 | 36 | /// 37 | /// Gets the column number. 38 | /// 39 | public int Column 40 | { 41 | get; 42 | private set; 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Emit/LongJumpException.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Jurassic.Compiler 5 | { 6 | 7 | /// 8 | /// Used internally to allow branching out of a finally block. 9 | /// 10 | /// This class is only public for technical reasons. It is not intended for use by 11 | /// client code. 12 | public class LongJumpException : Exception 13 | { 14 | /// 15 | /// Creates a new LongJumpException instance. 16 | /// 17 | /// The route ID. 18 | public LongJumpException(int routeID) 19 | { 20 | this.RouteID = routeID; 21 | } 22 | 23 | /// 24 | /// Gets the route ID. 25 | /// 26 | public int RouteID 27 | { 28 | get; 29 | private set; 30 | } 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Emit/Optimizations.txt: -------------------------------------------------------------------------------- 1 | OPTIMIZATION TECHNIQUES 2 | 3 | Hidden classes 4 | -------------- 5 | 6 | 7 | 8 | Loop type analysis 9 | ------------- 10 | 11 | The body of a loop is scanned for assignment expressions. For each assignment expression, the 12 | static type is determined (if possible) and recorded against the loop. If the type recorded 13 | for a variable does not change (note that int32 -> number is possible and does not prohibit 14 | optimization) then the variable used to store the reference can be changed to the static type 15 | and type conversions can be eliminated. The following conditions prohibit the use of this 16 | optimization: 17 | * Use of eval() 18 | * Use of "arguments" 19 | * A call to a nested function that references the variable 20 | 21 | 22 | Loop peeling 23 | ------------ 24 | 25 | Often the type of a variable is not known for the first iteration of a loop but is known for 26 | subsequent iterations. To optimize this case the first iteration is "peeled off" and executed 27 | separately. This optimization is always safe. 28 | 29 | 30 | Loop-invariant code motion 31 | -------------------------- 32 | 33 | Sections of the parse tree that are not modified during a loop body can be hoisted above the 34 | loop and replaced with a variable lookup. Sections of the parse tree with side-effects cannot 35 | be hoisted; this includes: 36 | * Function calls 37 | * A new expression 38 | * Property access (because of getter functions) -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Emit/PrimitiveType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Jurassic.Compiler 6 | { 7 | /// 8 | /// Represents a javascript primitive type. 9 | /// 10 | internal enum PrimitiveType 11 | { 12 | Undefined, // Jurassic.Undefined 13 | Null, // Jurassic.Null 14 | Any, // System.Object 15 | Bool, // System.Boolean 16 | Number, // System.Double 17 | Int32, // System.Int32 18 | UInt32, // System.UInt32 19 | String, // System.String 20 | ConcatenatedString, // Jurassic.ConcatenatedString 21 | Object, // Jurassic.Library.ObjectInstance 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Expressions/Expression.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Jurassic.Compiler 4 | { 5 | /// 6 | /// Represents the base class of all javascript expressions. 7 | /// 8 | internal abstract class Expression : AstNode 9 | { 10 | /// 11 | /// Evaluates the expression, if possible. 12 | /// 13 | /// The result of evaluating the expression, or null if the expression can 14 | /// not be evaluated. 15 | public virtual object Evaluate() 16 | { 17 | return null; 18 | } 19 | 20 | /// 21 | /// Gets the type that results from evaluating this expression. 22 | /// 23 | public virtual PrimitiveType ResultType 24 | { 25 | get { throw new NotImplementedException(); } 26 | } 27 | } 28 | 29 | } -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Lexer/IdentifierToken.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Jurassic.Compiler 5 | { 6 | 7 | /// 8 | /// Represents punctuation or an operator in the source code. 9 | /// 10 | internal class IdentifierToken : Token 11 | { 12 | /// 13 | /// Creates a new IdentifierToken instance. 14 | /// 15 | /// The identifier name. 16 | public IdentifierToken(string name) 17 | { 18 | if (name == null) 19 | throw new ArgumentNullException("name"); 20 | this.Name = name; 21 | } 22 | 23 | /// 24 | /// Gets the name of the identifier. 25 | /// 26 | public string Name 27 | { 28 | get; 29 | private set; 30 | } 31 | 32 | /// 33 | /// Gets a string that represents the token in a parseable form. 34 | /// 35 | public override string Text 36 | { 37 | get { return this.Name; } 38 | } 39 | } 40 | 41 | } -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/MethodGenerator/CodeContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Jurassic.Compiler 4 | { 5 | /// 6 | /// Represents a context that code can be run in. 7 | /// 8 | internal enum CodeContext 9 | { 10 | /// 11 | /// The default context. 12 | /// 13 | Global, 14 | 15 | /// 16 | /// The context inside function bodies. 17 | /// 18 | Function, 19 | 20 | /// 21 | /// The context inside the eval() function. 22 | /// 23 | Eval, 24 | } 25 | 26 | } -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/MethodGenerator/CompilerOptions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Jurassic.Compiler 4 | { 5 | /// 6 | /// Represents a set of options that influence the compiler. 7 | /// 8 | internal sealed class CompilerOptions 9 | { 10 | /// 11 | /// Creates a new CompilerOptions instance. 12 | /// 13 | public CompilerOptions() 14 | { 15 | } 16 | 17 | /// 18 | /// Gets or sets a value that indicates whether to force ES5 strict mode, even if the code 19 | /// does not contain a strict mode directive ("use strict"). The default is false. 20 | /// 21 | public bool ForceStrictMode 22 | { 23 | get; 24 | set; 25 | } 26 | 27 | /// 28 | /// Gets or sets a value which indicates whether debug information should be generated. If 29 | /// this is set to true performance and memory usage are negatively impacted. The 30 | /// default is false. 31 | /// 32 | public bool EnableDebugging 33 | { 34 | get; 35 | set; 36 | } 37 | 38 | /// 39 | /// Performs a shallow clone of this instance. 40 | /// 41 | /// A shallow clone of this instance. 42 | public CompilerOptions Clone() 43 | { 44 | return (CompilerOptions)this.MemberwiseClone(); 45 | } 46 | } 47 | 48 | } -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Parser/AstNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Jurassic.Compiler 5 | { 6 | /// 7 | /// Represents the base class of expressions and statements. 8 | /// 9 | internal abstract class AstNode 10 | { 11 | private static AstNode[] emptyNodeList = new AstNode[0]; 12 | 13 | /// 14 | /// Gets an enumerable list of child nodes in the abstract syntax tree. 15 | /// 16 | public virtual IEnumerable ChildNodes 17 | { 18 | get { return emptyNodeList; } 19 | } 20 | 21 | /// 22 | /// Generates CIL for the expression. 23 | /// 24 | /// The generator to output the CIL to. 25 | /// Information about any optimizations that should be performed. 26 | public abstract void GenerateCode(ILGenerator generator, OptimizationInfo optimizationInfo); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Compiler/Statements/WhileStatement.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Jurassic.Compiler 5 | { 6 | 7 | /// 8 | /// Represents a javascript while statement. 9 | /// 10 | internal class WhileStatement : LoopStatement 11 | { 12 | /// 13 | /// Creates a new WhileStatement instance. 14 | /// 15 | /// The labels that are associated with this statement. 16 | public WhileStatement(IList labels) 17 | : base(labels) 18 | { 19 | } 20 | 21 | /// 22 | /// Converts the statement to a string. 23 | /// 24 | /// The number of tabs to include before the statement. 25 | /// A string representing this statement. 26 | public override string ToString(int indentLevel) 27 | { 28 | var result = new System.Text.StringBuilder(); 29 | result.Append(new string('\t', indentLevel)); 30 | result.Append("while ("); 31 | result.Append(this.Condition); 32 | result.AppendLine(")"); 33 | result.Append(this.Body.ToString(indentLevel + 1)); 34 | return result.ToString(); 35 | } 36 | } 37 | 38 | } -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Core/CompatibilityMode.cs: -------------------------------------------------------------------------------- 1 | namespace Jurassic 2 | { 3 | 4 | /// 5 | /// Used to indicate that the script engine should run in compatibility mode. 6 | /// 7 | public enum CompatibilityMode 8 | { 9 | /// 10 | /// Indicates that the script engine should run in the most standards compliant mode. 11 | /// 12 | Latest, 13 | 14 | /// 15 | /// Indicates that the script engine should conform to the ECMAScript 3 specification. 16 | /// This has the following effects: 17 | /// 1. "this" is converted to an object at the call site of function calls. 18 | /// 2. Octal literals and octal escape sequences are supported. 19 | /// 3. parseInt() parses octal numbers without requiring an explicit radix. 20 | /// 4. NaN, undefined and Infinity can be modified. 21 | /// 5. The list of keywords is much longer (for example, 'abstract' is a keyword). 22 | /// 23 | ECMAScript3, 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Core/Serialization.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Jurassic 6 | { 7 | 8 | // Silverlight does not support serialization. The following two attributes prevent the need 9 | // to use conditional compilation to remove the [Serializable] attributes. 10 | 11 | #if SILVERLIGHT 12 | 13 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] 14 | public sealed class SerializableAttribute : Attribute 15 | { 16 | } 17 | 18 | [AttributeUsage(AttributeTargets.Field)] 19 | public sealed class NonSerializedAttribute : Attribute 20 | { 21 | } 22 | 23 | #endif 24 | } 25 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Library/FirebugConsole/IFirebugConsoleOutput.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Jurassic.Library 4 | { 5 | public enum FirebugConsoleMessageStyle 6 | { 7 | Regular, 8 | Information, 9 | Warning, 10 | Error, 11 | } 12 | 13 | /// 14 | /// Represents the target of any Firebug console commands. 15 | /// 16 | public interface IFirebugConsoleOutput 17 | { 18 | /// 19 | /// Logs a message to the console. 20 | /// 21 | /// The style of the message (this determines the icon and text 22 | /// color). 23 | /// The objects to output to the console. These can be strings or 24 | /// ObjectInstances. 25 | void Log(FirebugConsoleMessageStyle style, object[] objects); 26 | 27 | /// 28 | /// Clears the console. 29 | /// 30 | void Clear(); 31 | 32 | /// 33 | /// Starts grouping messages together. 34 | /// 35 | /// The title for the group. 36 | /// true if subsequent messages should be hidden by default. 37 | void StartGroup(string title, bool initiallyCollapsed); 38 | 39 | /// 40 | /// Ends the most recently started group. 41 | /// 42 | void EndGroup(); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Library/Object/JSFunctionFlags.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Jurassic.Library 4 | { 5 | [Flags] 6 | public enum JSFunctionFlags 7 | { 8 | /// 9 | /// No flags were specified. 10 | /// 11 | None = 0, 12 | 13 | /// 14 | /// The first parameter to the function is the associated ScriptEngine. 15 | /// 16 | HasEngineParameter = 1, 17 | 18 | /// 19 | /// The first (or second, if HasEngineParameter is specified) parameter to the 20 | /// function is the this value. 21 | /// 22 | HasThisObject = 2, 23 | 24 | /// 25 | /// Indicates that the instance object may be modified by the function. 26 | /// 27 | MutatesThisObject = 4, 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/ThirdParty/Jurassic/Source.txt: -------------------------------------------------------------------------------- 1 | http://jurassic.codeplex.com/ 2 | 3 | see also: 4 | http://www.codeplex.com/site/users/view/paulbartrum -------------------------------------------------------------------------------- /src/ThirdParty/ObjectListView/CustomDictionary.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | br 6 | Canceled 7 | Center 8 | Color 9 | Colors 10 | f 11 | fmt 12 | g 13 | gdi 14 | hti 15 | i 16 | lightbox 17 | lv 18 | lvi 19 | lvsi 20 | m 21 | multi 22 | Munger 23 | n 24 | olv 25 | olvi 26 | p 27 | parms 28 | r 29 | Renderer 30 | s 31 | SubItem 32 | Unapply 33 | Unpause 34 | x 35 | y 36 | 37 | 38 | ComPlus 39 | 40 | 41 | 42 | 43 | OLV 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/ThirdParty/ObjectListView/Source.txt: -------------------------------------------------------------------------------- 1 | http://objectlistview.sourceforge.net/cs/index.html -------------------------------------------------------------------------------- /src/ThirdParty/mono/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT X11 License covers most of the class libraries in the Mono 2 | project. Some third party libraries come from different projects, and 3 | are licensed under their own terms. 4 | 5 | 6 | Copyright (c) 2001, 2002, 2003 The Mono Project 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining 9 | a copy of this software and associated documentation files (the 10 | "Software"), to deal in the Software without restriction, including 11 | without limitation the rights to use, copy, modify, merge, publish, 12 | distribute, sublicense, and/or sell copies of the Software, and to 13 | permit persons to whom the Software is furnished to do so, subject to 14 | the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be 17 | included in all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 20 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 22 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 23 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 24 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 25 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/Source.txt: -------------------------------------------------------------------------------- 1 | https://github.com/mono/mono/tree/master/mcs/class 2 | 3 | see also: 4 | https://github.com/mono 5 | http://www.mono-project.com/ -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/Assembly/ChangeLog: -------------------------------------------------------------------------------- 1 | 2010-03-18 Sebastien Pouliot 2 | 3 | * AssemblyInfo.cs: Add TypeForwardTo for Aes on NET_4_0 4 | 5 | 2008-08-08 Sebastien Pouliot 6 | 7 | * AssemblyInfo.cs: Remove a few attributes for SL2 8 | 9 | 2008-04-25 Andreas Nahr 10 | 11 | * AssemblyInfo.cs: Added missing attributes 12 | 13 | 2007-08-20 Marek Safar 14 | 15 | * AssemblyInfo.cs: Add a few more attributes. 16 | 17 | 2007-02-04 Marek Safar 18 | 19 | * AssemblyInfo.cs: Add a few more attributes. 20 | 21 | 2007-01-31 Marek Safar 22 | 23 | * AssemblyInfo.cs: Add public key. 24 | 25 | 2007-01-19 Marek Safar 26 | 27 | * ChangeLog: Added 28 | 29 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq.Expressions/MemberBindingType.cs: -------------------------------------------------------------------------------- 1 | // 2 | // MemberBindingType.cs 3 | // 4 | // Author: 5 | // Jb Evain (jbevain@novell.com) 6 | // 7 | // (C) 2008 Novell, Inc. (http://www.novell.com) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining 10 | // a copy of this software and associated documentation files (the 11 | // "Software"), to deal in the Software without restriction, including 12 | // without limitation the rights to use, copy, modify, merge, publish, 13 | // distribute, sublicense, and/or sell copies of the Software, and to 14 | // permit persons to whom the Software is furnished to do so, subject to 15 | // the following conditions: 16 | // 17 | // The above copyright notice and this permission notice shall be 18 | // included in all copies or substantial portions of the Software. 19 | // 20 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 23 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 24 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 26 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 | // 28 | 29 | namespace System.Linq.Expressions { 30 | 31 | public enum MemberBindingType { 32 | Assignment, 33 | MemberBinding, 34 | ListBinding 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/EnumerableExecutor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // EnumerableExecutor.cs 3 | // 4 | // Authors: 5 | // Marek Safar 6 | // 7 | // Copyright (C) 2009 Novell, Inc (http://www.novell.com) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining 10 | // a copy of this software and associated documentation files (the 11 | // "Software"), to deal in the Software without restriction, including 12 | // without limitation the rights to use, copy, modify, merge, publish, 13 | // distribute, sublicense, and/or sell copies of the Software, and to 14 | // permit persons to whom the Software is furnished to do so, subject to 15 | // the following conditions: 16 | // 17 | // The above copyright notice and this permission notice shall be 18 | // included in all copies or substantial portions of the Software. 19 | // 20 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 23 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 24 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 26 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 | // 28 | 29 | #if NET_4_0 || MOONLIGHT || MOBILE 30 | 31 | namespace System.Linq 32 | { 33 | public abstract class EnumerableExecutor 34 | { 35 | protected EnumerableExecutor () 36 | { 37 | } 38 | } 39 | } 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/EnumerableQuery.cs: -------------------------------------------------------------------------------- 1 | // 2 | // EnumerableQuery.cs 3 | // 4 | // Authors: 5 | // Marek Safar 6 | // 7 | // Copyright (C) 2009 Novell, Inc (http://www.novell.com) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining 10 | // a copy of this software and associated documentation files (the 11 | // "Software"), to deal in the Software without restriction, including 12 | // without limitation the rights to use, copy, modify, merge, publish, 13 | // distribute, sublicense, and/or sell copies of the Software, and to 14 | // permit persons to whom the Software is furnished to do so, subject to 15 | // the following conditions: 16 | // 17 | // The above copyright notice and this permission notice shall be 18 | // included in all copies or substantial portions of the Software. 19 | // 20 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 23 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 24 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 26 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 | // 28 | 29 | #if NET_4_0 || MOONLIGHT || MOBILE 30 | 31 | namespace System.Linq 32 | { 33 | public abstract class EnumerableQuery 34 | { 35 | protected EnumerableQuery () 36 | { 37 | } 38 | } 39 | } 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/ILookup_T.cs: -------------------------------------------------------------------------------- 1 | // 2 | // ILookup.cs 3 | // 4 | // Authors: 5 | // Marek Safar 6 | // 7 | // Copyright (C) 2007 Novell, Inc (http://www.novell.com) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining 10 | // a copy of this software and associated documentation files (the 11 | // "Software"), to deal in the Software without restriction, including 12 | // without limitation the rights to use, copy, modify, merge, publish, 13 | // distribute, sublicense, and/or sell copies of the Software, and to 14 | // permit persons to whom the Software is furnished to do so, subject to 15 | // the following conditions: 16 | // 17 | // The above copyright notice and this permission notice shall be 18 | // included in all copies or substantial portions of the Software. 19 | // 20 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 23 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 24 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 26 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 | // 28 | 29 | using System.Collections.Generic; 30 | 31 | namespace System.Linq { 32 | 33 | public interface ILookup: IEnumerable> { 34 | 35 | int Count { get; } 36 | IEnumerable this [TKey key] { get; } 37 | 38 | bool Contains (TKey key); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/IOrderedQueryable.cs: -------------------------------------------------------------------------------- 1 | // Permission is hereby granted, free of charge, to any person obtaining 2 | // a copy of this software and associated documentation files (the 3 | // "Software"), to deal in the Software without restriction, including 4 | // without limitation the rights to use, copy, modify, merge, publish, 5 | // distribute, sublicense, and/or sell copies of the Software, and to 6 | // permit persons to whom the Software is furnished to do so, subject to 7 | // the following conditions: 8 | // 9 | // The above copyright notice and this permission notice shall be 10 | // included in all copies or substantial portions of the Software. 11 | // 12 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 15 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 16 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 17 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 18 | // 19 | // Authors: 20 | // Alejandro Serrano "Serras" (trupill@yahoo.es) 21 | // 22 | 23 | using System; 24 | using System.Collections; 25 | 26 | namespace System.Linq { 27 | 28 | public interface IOrderedQueryable : IQueryable 29 | { 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/IQueryable.cs: -------------------------------------------------------------------------------- 1 | // Permission is hereby granted, free of charge, to any person obtaining 2 | // a copy of this software and associated documentation files (the 3 | // "Software"), to deal in the Software without restriction, including 4 | // without limitation the rights to use, copy, modify, merge, publish, 5 | // distribute, sublicense, and/or sell copies of the Software, and to 6 | // permit persons to whom the Software is furnished to do so, subject to 7 | // the following conditions: 8 | // 9 | // The above copyright notice and this permission notice shall be 10 | // included in all copies or substantial portions of the Software. 11 | // 12 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 15 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 16 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 17 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 18 | // 19 | // Authors: 20 | // Alejandro Serrano "Serras" (trupill@yahoo.es) 21 | // Marek Safar (marek.safar@gmail.com) 22 | // 23 | 24 | using System; 25 | using System.Collections; 26 | using System.Linq.Expressions; 27 | 28 | namespace System.Linq { 29 | 30 | public interface IQueryable : IEnumerable { 31 | Type ElementType { get; } 32 | Expression Expression { get; } 33 | IQueryProvider Provider { get; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/IQueryable_T.cs: -------------------------------------------------------------------------------- 1 | // Permission is hereby granted, free of charge, to any person obtaining 2 | // a copy of this software and associated documentation files (the 3 | // "Software"), to deal in the Software without restriction, including 4 | // without limitation the rights to use, copy, modify, merge, publish, 5 | // distribute, sublicense, and/or sell copies of the Software, and to 6 | // permit persons to whom the Software is furnished to do so, subject to 7 | // the following conditions: 8 | // 9 | // The above copyright notice and this permission notice shall be 10 | // included in all copies or substantial portions of the Software. 11 | // 12 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 15 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 16 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 17 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 18 | // 19 | // Authors: 20 | // Alejandro Serrano "Serras" (trupill@yahoo.es) 21 | // Marek Safar (mare.safar@gmail.com) 22 | // 23 | 24 | using System.Collections.Generic; 25 | 26 | namespace System.Linq { 27 | 28 | #if NET_4_0 29 | public interface IQueryable : IQueryable, IEnumerable 30 | #else 31 | public interface IQueryable : IQueryable, IEnumerable 32 | #endif 33 | { 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/ParallelExecutionMode.cs: -------------------------------------------------------------------------------- 1 | // 2 | // ParallelExecutionMode.cs 3 | // 4 | // Author: 5 | // Jérémie "Garuma" Laval 6 | // 7 | // Copyright (c) 2010 Jérémie "Garuma" Laval 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining a copy 10 | // of this software and associated documentation files (the "Software"), to deal 11 | // in the Software without restriction, including without limitation the rights 12 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | // copies of the Software, and to permit persons to whom the Software is 14 | // furnished to do so, subject to the following conditions: 15 | // 16 | // The above copyright notice and this permission notice shall be included in 17 | // all copies or substantial portions of the Software. 18 | // 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | // THE SOFTWARE. 26 | 27 | #if NET_4_0 28 | using System; 29 | 30 | namespace System.Linq 31 | { 32 | public enum ParallelExecutionMode 33 | { 34 | Default = 0, 35 | ForceParallelism = 1 36 | } 37 | } 38 | #endif 39 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/ParallelMergeOptions.cs: -------------------------------------------------------------------------------- 1 | // 2 | // ParallelMergeOptions.cs 3 | // 4 | // Author: 5 | // Jérémie "Garuma" Laval 6 | // 7 | // Copyright (c) 2010 Jérémie "Garuma" Laval 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining a copy 10 | // of this software and associated documentation files (the "Software"), to deal 11 | // in the Software without restriction, including without limitation the rights 12 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | // copies of the Software, and to permit persons to whom the Software is 14 | // furnished to do so, subject to the following conditions: 15 | // 16 | // The above copyright notice and this permission notice shall be included in 17 | // all copies or substantial portions of the Software. 18 | // 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | // THE SOFTWARE. 26 | 27 | #if NET_4_0 28 | using System; 29 | 30 | namespace System.Linq 31 | { 32 | public enum ParallelMergeOptions 33 | { 34 | Default = 0, 35 | NotBuffered, 36 | AutoBuffered, 37 | FullyBuffered 38 | } 39 | } 40 | #endif -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Linq/SortDirection.cs: -------------------------------------------------------------------------------- 1 | // 2 | // SortDirection.cs 3 | // 4 | // Author: 5 | // Jb Evain (jbevain@novell.com) 6 | // 7 | // (C) 2008 Novell, Inc. (http://www.novell.com) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining 10 | // a copy of this software and associated documentation files (the 11 | // "Software"), to deal in the Software without restriction, including 12 | // without limitation the rights to use, copy, modify, merge, publish, 13 | // distribute, sublicense, and/or sell copies of the Software, and to 14 | // permit persons to whom the Software is furnished to do so, subject to 15 | // the following conditions: 16 | // 17 | // The above copyright notice and this permission notice shall be 18 | // included in all copies or substantial portions of the Software. 19 | // 20 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 23 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 24 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 26 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 | // 28 | 29 | namespace System.Linq { 30 | 31 | enum SortDirection { 32 | Ascending, 33 | Descending 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Runtime.CompilerServices/ChangeLog: -------------------------------------------------------------------------------- 1 | 2010-06-18 Rolf Bjarne Kvinge 2 | 3 | * ExecutionScope.cs: This class exists in Moonlight, but isn't supported. 4 | 5 | * StrongBox_T.cs: 6 | * DynamicAttribute.cs: Include in Moonlight. 7 | 8 | 2009-12-02 Marek Safar 9 | 10 | * DynamicAttribute.cs: Add arguments check. 11 | 12 | 2009-11-14 Jb Evain 13 | 14 | * ExecutionScope.cs: implement IsolateExpression. 15 | 16 | 2009-07-02 Marek Safar 17 | 18 | * StrongBox_T.cs: Add 4.0 bits. 19 | 20 | 2009-06-29 Marek Safar 21 | 22 | * DynamicAttribute.cs: Add DynamicAttribute. 23 | 24 | 2009-03-05 Jb Evain 25 | 26 | * ExecutionScope.cs: add support for hoisted locals. 27 | 28 | 2008-06-20 Jb Evain 29 | 30 | * ExecutionScope.cs (CreateDelegate): implement. 31 | 32 | 2008-04-19 Jb Evain 33 | 34 | * ExecutionScope.cs: change the constructor to take a list 35 | of globals. 36 | 37 | 2008-02-24 Jb Evain 38 | 39 | * ExecutionScope.cs: update API. 40 | 41 | 2007-01-19 Marek Safar 42 | 43 | * ChangeLog: Added 44 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Runtime.CompilerServices/ExtensionAttribute.cs: -------------------------------------------------------------------------------- 1 | // Permission is hereby granted, free of charge, to any person obtaining 2 | // a copy of this software and associated documentation files (the 3 | // "Software"), to deal in the Software without restriction, including 4 | // without limitation the rights to use, copy, modify, merge, publish, 5 | // distribute, sublicense, and/or sell copies of the Software, and to 6 | // permit persons to whom the Software is furnished to do so, subject to 7 | // the following conditions: 8 | // 9 | // The above copyright notice and this permission notice shall be 10 | // included in all copies or substantial portions of the Software. 11 | // 12 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 13 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 14 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 15 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 16 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 17 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 18 | // 19 | // Authors: 20 | // Alejandro Serrano "Serras" (trupill@yahoo.es) 21 | // 22 | 23 | using System; 24 | 25 | namespace System.Runtime.CompilerServices { 26 | 27 | [AttributeUsage (AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly)] 28 | public sealed class ExtensionAttribute : Attribute { 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System.Runtime.CompilerServices/IStrongBox.cs: -------------------------------------------------------------------------------- 1 | // 2 | // IStrongBox.cs 3 | // 4 | // Authors: 5 | // Marek Safar 6 | // 7 | // Copyright (C) 2007 Novell, Inc (http://www.novell.com) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining 10 | // a copy of this software and associated documentation files (the 11 | // "Software"), to deal in the Software without restriction, including 12 | // without limitation the rights to use, copy, modify, merge, publish, 13 | // distribute, sublicense, and/or sell copies of the Software, and to 14 | // permit persons to whom the Software is furnished to do so, subject to 15 | // the following conditions: 16 | // 17 | // The above copyright notice and this permission notice shall be 18 | // included in all copies or substantial portions of the Software. 19 | // 20 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 22 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 23 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 24 | // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 25 | // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 26 | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 27 | // 28 | 29 | namespace System.Runtime.CompilerServices { 30 | 31 | public interface IStrongBox { 32 | object Value { get; set; } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/System/Util.cs: -------------------------------------------------------------------------------- 1 | namespace System 2 | { 3 | internal static class MonoUtil 4 | { 5 | public readonly static bool IsUnix; 6 | 7 | static MonoUtil () 8 | { 9 | int platform = (int) Environment.OSVersion.Platform; 10 | IsUnix = platform == 4 || platform == 128 || platform == 6; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /src/ThirdParty/mono/System.Core/TODO: -------------------------------------------------------------------------------- 1 | Things missing: 2 | 3 | *** Add support for MethodInfos ** and the nullable stuff, I believe 4 | we have to pull the values before calling the various 5 | MethodINfos in BinaryExpression, need to write test 6 | 7 | Coalesce's conversion, what is this used for? 8 | 9 | Constant generation of objects, how are those Constants in the first place? 10 | 11 | Try: 12 | OrElse (Constant (new Boo(), new Boo ())) 13 | 14 | Tests missing: 15 | 16 | Must write tests for all the codepaths currently in 17 | BinaryExpression.Emit (specially the XXXChecked variants as 18 | those so far have shown most of the problems). 19 | 20 | 21 | Write tests for stuff using MethodInfos (the various 22 | BinaryExpressions using MEthodInfos have been barely tested). 23 | 24 | Write more tests using nullables, currently we are short on 25 | them, and they are not extensively tested. 26 | 27 | Missing: 28 | Add, Subtract, Multiply, Divide, Modulo, <<, >> And, Or, Xor 29 | 30 | MultiplyChecked, DivideChecked, 31 | 32 | case ExpressionType.OrElse: 33 | case ExpressionType.AndAlso: 34 | -------------------------------------------------------------------------------- /src/UI/ProfileListForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Text; 7 | using System.Windows.Forms; 8 | 9 | using WeifenLuo.WinFormsUI; 10 | using WeifenLuo.WinFormsUI.Docking; 11 | 12 | namespace GNet.UI 13 | { 14 | public partial class ProfileListForm : DockContent 15 | { 16 | public ProfileListForm() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/WinFormsTextBoxStreamWriter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | 6 | namespace GNet 7 | { 8 | public class WinFormsTextBoxStreamWriter : TextWriter 9 | { 10 | delegate void InvokeAction(char value); 11 | public static TextBox _output = null; 12 | 13 | public WinFormsTextBoxStreamWriter(TextBox output) 14 | { 15 | _output = output; 16 | } 17 | 18 | public override void Write(char value) 19 | { 20 | if (_output != null) 21 | { 22 | if (_output.InvokeRequired) 23 | _output.Invoke(new InvokeAction(InvokeWrite), value); 24 | else 25 | InvokeWrite(value); 26 | } 27 | } 28 | 29 | void InvokeWrite(char value) 30 | { 31 | if (_output != null && !_output.IsDisposed) 32 | _output.AppendText(value.ToString()); // When character data is written, append it to the text box. 33 | } 34 | 35 | public override Encoding Encoding 36 | { 37 | get { return System.Text.Encoding.UTF8; } 38 | } 39 | } 40 | } 41 | --------------------------------------------------------------------------------