Daniel Grunwald
ab626fb573
Add back all unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4296 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
485f751cc5
- XAML completion is now a bit less intrusive
...
- removed code duplication from XmlFormattingStrategy
- fixed bugs in XAML code completion
- added AssemblyName property to IProjectContent
- do not close insight and completion windows when they are still needed
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4280 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
bd0f69b8de
Python forms designer now ignores any statements before the form's InitializeComponent method is found (e.g. sys.path.append('...').
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4272 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
9e9c0c657e
Add 'import clr' if clr.GetType used in converted python code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4261 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
c487ec1948
Xor operator now converted to python correctly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4259 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
ef6155db5d
Python converter no longer uses 'self' when calling a method inside a static method.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4258 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
7319925fef
Python code converter now adds code to call the project's main entry method.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4257 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
5a90f84c1b
Python code converter now converts 'foreach (string key in dictionary.Keys)' statements correctly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4256 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
4f56a35d20
Now using short type names (e.g. Array instead of System.Array) in generated python code.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4255 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
eb5ba0db01
Convert System.String and System.Int32 to 'str' and 'int' in python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4254 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
723584bcfc
New line added between import statements and class definitions when converting code to Python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4253 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
74fdc0c0fe
Double quote characters now escaped when generating string property assignments in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4231 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
a5746f751d
Backslash characters now escaped when generating string property assignments in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4230 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
892d56d9d8
Correct code generated for nested enum types (e.g. Environment.SpecialFolder) in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4228 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
34fd498390
Break statements no longer generated when converting a switch statement to python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4217 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
0630068f58
Move code completion types into ICSharpCode.SharpDevelop.Editor.CodeCompletion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4175 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
1a80acf5c2
'override' completion for AvalonEdit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4174 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
f8b00cb742
Python code converter now specifies types when creating an instance of a generic.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4172 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
9f1c668e8e
Python forms designer no longer generates code for the form's MainMenuStrip property after the menu strip has been removed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4171 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
4a05270da8
project clean up
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/XmlEditor@4161 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
10c8a90ed8
Python menu options now use the debugger when running ipy.exe
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4159 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
d8ca9a66b1
Namespace imports now import all classes on conversion to IronPython.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4152 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
71711e3c7d
MainFile property now set when converting a project to IronPython.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4151 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Sergej Andrejev
a0454e65b8
Use "+" in serialized shortcut strings. Fix python binding tests
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4149 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
10f4b5965c
Boolean variables now correctly converted to python.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4146 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
bbe48609ab
Added support for ContextMenuStrips in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4145 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
b2c6344367
Extender provider properties set for other controls now appear in properties window in the python form designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4137 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
ef849ad84d
Added support for extender providers (e.g. ToolTips) in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4116 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
94718ae84b
Python forms designer does not generate comments for a control if no property or event handler code was generated for that control.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4095 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Matt Ward
a61ee5f32d
Added support for ISupportInitialize in the python forms designer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4084 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
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
acc3c88a7b
Fixed build - NUnit 2.5 no longer allows hiding the SetUpFixture method in derived classes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4055 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Matt Ward
babca5416f
Fixed failing tests due to move to NUnit 2.5
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4054 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
17 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
17 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
17 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
17 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
17 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
17 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
17 years ago
Daniel Grunwald
1c7b08ea20
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4000 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
17 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
17 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
17 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
17 years ago