Daniel Grunwald
4a08f70497
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3360 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
5ebc8f15f1
r7318@daniel-notebook (orig r3349): daniel | 2008-08-14 14:44:42 +0200
...
Assign Node.Parent and check its value in unit tests (at least for statements+expressions)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3351 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
62d696d1ee
r7317@daniel-notebook (orig r3348): daniel | 2008-08-14 13:28:28 +0200
...
Fixed parsing of in-place arrays "unsafe fixed byte name[100];"
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3350 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
c1c5eb636d
r7313@daniel-notebook (orig r3344): daniel | 2008-08-14 11:22:02 +0200
...
Fixed SD2-1400: Lambda type inference fails when using lambda in collection initializer
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3346 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
c1dacbab28
Fixed stack overflow in CodeDomVisitor.VisitLabelStatement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3334 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
dd5c96bee3
Implemented SD2-1431: C# <-> VB converter: hexadecimal literals should stay hexadecimal
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3263 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
4151c3e2d0
Remove files added by incorrect merge.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3255 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
a32c342c83
Trying to sync a local mirror repository with the SharpDevelop repository...
...
This commit should change only one file, adding Ivan Shumilin to the changelog xsl.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3254 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
02bfd85792
Implemented code-completion for pointer types.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3184 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f9bf7d61cd
r3143@daniel-notebook: daniel | 2008-06-26 22:55:25 +0200
...
Fixed VB parser bugs related to ":" statement separator use in global scope
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3139 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
b373049a0b
r3142@daniel-notebook: daniel | 2008-06-26 22:16:56 +0200
...
Fixed SD2-1426: VB parser fails on fields separated with :
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3138 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
134fd3a2f9
Fixed SD2-1405: VB ! operator does not parse
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3125 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
f57361a316
Fixed SD2-1422: VB Parser throws exception dealing with some attributes
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3124 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
51b80f6f6d
Fixed SD2-1420: Variables of type 'char' are converted incorrectly from C# to VB
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3123 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
71bc008c82
Fixed forum-7917: Indentation is being erroneously applied to inline attributes
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3122 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
fc91d0fdd7
Fixed forum-7883: exception when converting "a += b" from C# to VB when "a" is a pointer type.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3120 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
03a8ae3612
Fixed forum-7902: VB parser incorrectly added attribute sections on parameter declarations to all parameters.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3117 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
3b28446cec
Add class for each code snippet conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3088 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
38cef94960
Fixed SD2-1414: Mouse wheel scrolling does not work for high-resolution mice
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3064 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
92ca3a3a40
Make end of block a synchronizing token. This fixes the end location of blocks with simple syntax errors, improving code completion in some cases.
...
Don't show code completion after "Type variable1, " -> IdentifierExpected context.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3059 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
dc223f0a61
Fixed forum-7743: CodeDom conversion: convert "!(a == b)" to "a != b" instead of "(a == b) == false".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3057 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
7efa54a6fb
Fixed casing of Microsoft.CSharp.targets and System.Xml in .csproj files, fix FileUtility.Minimal.cs when running on Mono.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3050 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
86499cb66f
Fixed forum-7730: Code-completion on generic classes that derive from another generic class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3049 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
ef561b891c
Fixed forum-6924: conversion of string constants from C# to VB should use vbCr, vbNullChar etc.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3022 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fa9d4b17a3
Improved handling of incomplete lambda expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3012 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f5913a8d1d
Worked on lambda expression support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3010 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
420b068acd
Rewrote type inference and overload resolution. The new version has support for implicitly typed lambda expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3009 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
abbd911bc1
Fixed end location of preprocessing directives.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2987 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6bfa9f37c2
NRefactory: add support for evaluating C# preprocessing directives
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2972 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
34bac66a8f
Fixed resolving when a generic class derived from a non-generic class with the same name.
...
Fixed resolving when a class had the same name as its containing namespace.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2828 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9b4679edf1
NRefactoryResolver rewrite: remove code duplication between NRefactoryResolver and TypeVisitor. Changed handling of method groups to follow C# specification more closely.
...
This fixes several bugs in overload resolution.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2819 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a17c67bf38
Fixed forum-7193: CSharpOutputVisitor bugs
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2799 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
635d791b96
Fixed forum-7172: NullReferenceException in C# parser when "fixed" keyword was used incorrectly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2794 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
85d7e3ab6b
Layout configuration: Make "<Reset to defaults>" switch back to the Default layout.
...
Do not store active layout, always start with Default. (fixes SD2-1268)
Switch layout before starting the debugger (removes workaround for SD2-1325)
Add LINQ support to VBNetOutputVisitor (not tested to generate valid code, but better than "throw new NotImplementedException();")
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2751 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
44fcb45530
FxCop AddIn: allow suppressing assembly-wide messages (e.g. AssembliesShouldHaveValidStrongNames)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2729 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cf79e8fa40
Disabled COM registration for MyMeta.
...
Add logging for text editor's undo stack.
C# parser: fixed [module: ..] attributes
C# code completion: suggest "assembly", "module", etc. when typing an attribute.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2719 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2d94d3128c
Update to Cecil 0.6.
...
Fixed some bugs.
C# parser: include position information for statements/expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2708 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
60d3c8b7e3
Fixed bug introduced in revision 2688 that could cause non-partial classes to become a CompoundClass with two identical parts when the file is edited.
...
This caused symptoms like seeing fields and properties twice in the code completion drop-down, seeing method overloads twice; and indirectly caused several problems with the Rename refactoring.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2699 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
69e26d71c3
Applied patch by Ray Gilbert: CodeDomOutputVisitor now supports more language constructs. (see http://www.codeproject.com/csharp/codedom_assistant.asp )
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2686 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f21b08932d
TextView.VirtualTop: X was a column number, Y a pixel position. Now both are pixel positions.
...
CSharpOutputVisitor: use System.Runtime.InteropServices.DefaultParameterValueAttribute when converting VB optional parameters.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2681 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9afa0e7ebe
RunProject command: compile project before running it.
...
C# syntax highlighting: add contextual keywords introduced in C# 3.0.
C# parser: support "from T x in e" syntax in query expressions.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2677 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0c51983690
NRefactory: Support parsing statements like "SomeDelegate d = GenericMethod<string>;"
...
Renamed FieldReferenceExpression to MemberReferenceExpression.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2676 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b355b23dba
Worked on event support in WPF designer.
...
Fixed C# parser bug regarding expressions like "(T)-val".
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2669 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
8675624e3c
Fixed forum-18481: Problem with Boo Forms Designer when using TableLayoutPanel
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2661 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b78656bd6f
Fixed forum-18391 and forum-18392 (pretty printer bugs).
...
VBNetOutputVisitor: Don't output "ByVal" by default.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2660 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d2315a13c0
Worked on VB<->C# converter.
...
Fixed SD2-980: VB 'For Each' statement not converted correcly to C#
Text editor: Use TextLocation struct instead of System.Drawing.Point to represent line/column pairs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2659 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3d8d7af120
Worked on VB->C# converter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2657 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
1ea9ac7b61
More improvements for the C#->VB converter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2656 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b78db77094
Improved C#->VB converter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2655 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d3ebdfcab4
Worked on C# -> VB converter.
...
Fixed SD2-1022: Delegates usage not converted correctly from C# to VB.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2654 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago