Matt Ward
22a376598c
Python forms designer now checks the non-visual component has a constructor that takes an IContainer before generating code to create the component.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4082 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
3bc847b185
Static class methods now use staticmethod when converted to Python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4070 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
81b50dc839
Add reference to IronPython when converting projects to Python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4068 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
1751aa4bdc
Typeof expressions and for each loops using a method call now converted to Python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4067 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
168d0d7716
Event handlers with EventHandler object creation now converted to Python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4066 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
963e02f337
Can now convert C# and VB.NET projects to Python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4063 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
99f9c096bc
Added basic support for non-visual components in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4047 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
97eff32314
Python forms designer now supports loading and generating code for the text in a ListViewSubItem.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4046 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
136edb3fd9
Ordering of controls in generated python forms designer code now matches the order of the standard forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4045 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
510f9c1e5b
Python forms designer now supports generating code for ListViewItem's text.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4044 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
4c485fabf7
Rename Content property back to Control (IViewContent, IPadContent, IOptionsPanel) to prevent the C# compiler from automatically picking up a Content property from a base class.
...
The name 'Content' could result in a hard to understand exception 'Specified element is already the logical child of another element. Disconnect it first.' when implementing IOptionPanel in a WPF UserControl. See forum-9233.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4018 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
426aec5809
Python forms designer no longer generates event handlers if they already exist.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4016 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
95a74afdb7
Added limited support for ListView items in the python forms designer. No support for sub items nor the ListViewItem.Text property.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4001 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
024c5fb887
ITextEditor: moved to namespace ICSharpCode.SharpDevelop.Editor.
...
Added support for anchors and text markers.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3992 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
f9557c8c74
Added support for designing user controls in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3990 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
e8e1310402
Removed all control specific code when determining child components in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3989 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
82e54905b9
Removed control specific code from generated code when adding an array of controls to a property in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3987 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
8c5cecd99a
Form.Controls, MenuStrip.Items and ToolStripMenuItem.DropDownItems properties are now generated in the correct alphabetical order in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3985 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
ea89a0c643
Controls.Add method is now invoked rather than being hard coded in the python forms designer code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3983 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
173236e380
Allow using icons in code completion items.
...
ClassBrowserIconService now provides both WinForms and WPF images.
Some refactorings are now using the ITextEditor interface.
Started working on bookmark support for AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3982 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
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
16 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
16 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
Daniel Grunwald
fd9e16c394
AvalonEdit code completion
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3909 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
Daniel Grunwald
2cbe40b6a4
Started replacing ICSharpCode.TextEditor references in SharpDevelop API with new ITextEditor interface.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3874 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
Daniel Grunwald
26a1551633
When handling file names, use StringComparison.OrdinalIgnoreCase instead of InvariantCultureIgnoreCase.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3863 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
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