Matt Ward
43d1863925
ComboBox items code now generated in Python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3981 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
b3b1305b58
Fixed build by using actual ToolStripMenuItem sizes in menustrip test.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3979 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
00f01fce76
Python forms designer now handles loading and generating a form with a MenuStrip and ToolStripItems.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3978 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
072d5ec0cc
Code code now generated for empty menu strip in python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3946 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
2c62e65fb9
Python form designer now supports loading/generating code for a form's AcceptButton and CancelButton properties.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3945 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
00fde32e00
Event handlers added for child controls when loading a form into the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3939 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
b95d5e6c83
Form event handlers now generated and loaded by python form designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3936 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
58e637e89b
SuspendLayout, ResumeLayout methods now called for nested controls in python forms designer generated code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3935 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
32f305a25f
Child controls now added to a panel when form is loaded into the python form designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3934 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
b7704c9524
Code is now generated for controls added to a panel in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3933 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
64965103ae
Added support for AnchorStyles in python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3919 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
5e60ee626e
Python forms designer: Control creation code now generated. Control variable names now prefixed with underscore. Control properties now set correctly on loading the form into the designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3916 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
52c92ff5ec
Code now generated for controls on a form in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3910 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
c19a0e9bb5
Python forms designer now using more PropertyDescriptor information to determine whether a property should be serialized. Form properties now generated in alphabetical order.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3905 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
2a45318a6a
Fixed failing python addin unit tests - font size now converted to string using CultureInfo.InvariantCulture.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3898 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
c76d4ae764
Python forms designer now supports fonts.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3897 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
d0884088c2
Python forms designer now supports Form Color properties.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3872 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
dc48a81a05
Python forms designer now supports Control's Padding property.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3853 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
0b9ce6e1ab
Python forms designer now supports the Form's Location property.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3852 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
c016cdb91a
Python forms designer now supports AutoScrollMinSize, AutoScrollMargin and MinimumSize properties.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3851 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
fcaaf311f8
Form.Visible property now loaded/generated in python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3847 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
9adfa8b5b9
Python forms designer now supports loading and generating code for standard control cursors (e.g. AppStarting, Help and WaitCursor).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3846 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
2fdc3ee671
String, enum and boolean properties on a form now loading and being generated in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3837 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
dd315fcf54
Pressing the up key in the Python Console no longer closes the completion window if there is command history.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3816 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
6caf13b7fc
Enabled the python code conversion and forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3811 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
cd5c3f6364
Catch InvalidCastException in IronPython parser when parsing invalid code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3807 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
73fbc027af
Disabled local variable resolving in Python binding.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3795 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
3ec594562e
Fixed SD2-1519 - Forms designer moves deleted fields to designer code file. Designer now loads all source files that contain parts of the designed class.
...
Added support for removing and replacing field declarations outside of the designer code file.
(Changes are identical to the patch I posted in the tracker.)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3790 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
c11c8658f9
Can now specify target CPU when compiling Python applications.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3743 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
76ea758b2a
Explicitly set the form's size in ironpython unit test before generating code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3739 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
e8fcd7c020
The Python forms designer (currently disabled) now has limited support for designing very basic forms.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3738 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
21a4c7e222
Python code converter no longer using CodeDom.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3727 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
c4cca90012
Fixed SD2-1487: protected static members not visible in code completion of derived class
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3719 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
ba290b6bf9
Add "IUsingScope" to allow representing the nesting of usings in namespaces in SharpDevelop.Dom.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3675 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
8fb658431b
No longer ignoring one of the python parser tests which now works in IronPython 2
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3634 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
3b917d707f
Changed the Python console window command line history so it behaves the same as ipy. Previously after reaching the start/end of the command line history the start/end command line would be shown again when moving the other way through the history.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3632 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
08a7425771
Added basic command line history support for the Python Console window.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3627 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
3aef8c79fe
The home key moves the cursor to the start of the line after the prompt in the Python Console.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3618 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
1850c9362d
Fixed SD2-1471 (Renaming MainForm event handler does not update MainForm.Designer file) by adding IFileDocumentProvider as a generalization of ITextEditorControlProvider to properly support view contents that open multiple documents.
...
Adaptations to ParserService and ParseableFileContentEnumerator to make sure they always use the most recent version of the file content.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f54b4e40ab
Performance tweaks to code completion:
...
- don't duplicate search for nested classes in referenced project contents
- MemberLookupHelper.GetTypeInheritanceTree: use HashSet instead of List to find duplicate types
- DefaultClass.ClassInheritanceTree: cache the inheritance tree
Fixes SD2-1460 - Extreme delay requesting code completion for PropertyTabsCollection when Linq is imported
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3573 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
01571affa4
Added initial code completion support for the Python Console window.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3561 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
22b9e89c87
Fixed SD2-1461 (Exception when renaming form) and other issues with renaming forms.
...
With the new view content system we must not switch views during a save operation.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3556 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
c5c59e9a43
Updated to IronPython 2.0 Beta 5.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3553 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
214dcfa309
Workbench.ViewContentCollection now contains all view contents, including all secondary view contents.
...
The new PrimaryViewContents collection only contains the views that were originally shown in a new workbench window.
This fixes the 'Save all' button being disabled when there are changes only in secondary view contents.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3546 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
e3e1e91b92
Fixed unit tests (implemented missing members in MockProjectContent).
...
Make mscorlib.GetClass("System.Void").ProjectContent == mscorlib (previously it was DummyProjectContent)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
05cc680378
Fixed build. Use DefaultClass instead of MockClass, otherwise the unit tests need adjustment way too often.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3526 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
05c09266d3
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3517 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
35a582d4f8
Improved support for FxCop 1.36.
...
Fixed some problems in SuppressMessageCommand.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3506 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
6997465bff
PythonConsole now uses a read-only text marker for the read-only region and stops the undo action affecting text before the prompt.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3443 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
722e10b754
Added IronPython console pad.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3424 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago