Markus Palme
73f0c70429
SD2-1201: IfElseStatement does not have Location and Parent set
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2068 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
a0db909e8f
SD2-1161: Refactor icons don't show for VB generic interface declarations in the editor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1993 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
2a40620a58
fixed parser generation
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1978 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
af50fcaf60
removed sharpcoco binary because it's not used. removed sharpcoco source code because it doesn't match the version used.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1977 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
a1543c981e
removed unused import statements
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1965 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ccb13e5b9d
Fixed SD2-1027: #Develop closes while typeing VB 'ReDim' statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1724 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
66acc25b3b
Fixed SD2-992: C# Interface public elements are converted to VB as Privates ones.
...
Fixed default visibility of inner types.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1674 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d8cc294df5
Fixed SD2-968: C# to VB conversion error for generic structures.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1671 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
de05357b9e
Fixed SD2-971: Correct VB arrays declaration and redim-statements are recognized as code errors.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1669 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
821cae6ee3
Remove unnecessary usage of Assembly.GetEntryAssembly
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1618 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
19d999cf82
SD2-945: Typing a declaration of two or more variables in the same line (VB) throws exception
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1611 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ae6de2495e
Improved NRefactory public API (moving classes to other namespaces etc.)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1609 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
3df97ea2d9
Fixed SD2-891: Content of VB 'With' statement not converted correctly to C#
...
Fixed SD2-894: Abstract properties declaration not converted correctly from VB to C#
Fixed SD2-895: VB 'Not' operator is not converted correctly to C#
Fixed SD2-901: VB 'Continue' statement not converted correctly from C#
Fixed SD2-902: C# 'break' statement not converted correctly to VB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1607 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
720d93d03f
Fixed SD2-930: VB exponential operator not converted to C#
...
Fixed SD2-879: Folding breaks with consecutive operators in VB code
Fixed SD2-906: Folding breaks on VB property declaration
Fixed SD2-921: Definitions in one line converted incorrectly from VB to C#
Fixed SD2-903: 'Using' statement not converted correctly from VB to C#
Fixed SD2-890: 'uint' type converted incorrectly from C# to VB
Fixed SD2-907: static method level variables are not translated from VB to C#
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1605 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a5ec465e77
Merged missing SharpReport resources from Corsavy.
...
Fixed some bugs in code analysis-AddIn.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
9fa1b07c0c
Fixed some FxCop warnings in NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1599 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c842399550
Allow AddIns to customize the MSBuild logger.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1590 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
64971ec421
Implemented SD2-446: Support skipping method bodies in VB Lexer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
835c7dedbd
NRefactory: use Location structure instead of System.Drawing.Point for source positions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1581 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a4894539d4
Some FxCop suggestions to NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1579 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
89e34175cf
Fixed SD2-885: Folding breaks using 'ReferenceEquals()' method in VB (Parser error for member access on VB "Object")
...
Fixed SD2-884: Folding breaks on multi-dimensional array declaration in VB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1498 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
80d967e240
Fixed parsing of the VB "Custom" keyword (it is valid variable identifier but not valid field identifier)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1486 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
79f22303b6
Fixed VB parser bug: Using statement can have multiple variable declaration expressions. (forum-8651)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1478 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
29b56d32d0
Fixed forum-8723: exception when loading designer for form containing enum TypeDeclarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1476 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
8d441d6f05
Fixed forum-8452: VB parser bug
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1465 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
df43c0eef7
Fixed SD2-816: Output visitor does not output implicit/explicit operators
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1419 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
dd4e5f9ea9
Fixed crash when parsing incomplete Imports statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1353 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
db253755b8
Fixed SD2-571: Folding classes hides the declaration line
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1346 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
254bf37011
Fixed exception when parsing incomplete Select Case statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1314 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
1538282335
C# <-> VB converter now converts P/Invoke declarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1018 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
8cd3f6d81c
Added generator application to generate the NRefactory AST.
...
This will allow us to automatically generate the IAstVisitor and a future AstTransformer and we don't have to worry about forgetting some AST nodes.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@975 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
77020dbcce
Fixed Visual Basic operator precedence and added unit tests for operator precedence.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@972 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
02d57c4611
Improved C# <-> VB conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@959 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
66a4289544
Fixed parser crash on incomplete ReDimStatement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@938 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c24a108bb4
Improved C# lexer performance.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@907 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
e8a8828662
Fixed SD2-600 (Can't convert for loop). VB parser now accepts zero as lower array bound.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@871 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
10e90d3769
Fixed enumerations with base type in VB output visitor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@829 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
b8720c2bac
Fixed SD2-564: Code always generated for c#.
...
Fixed VB parser bug ("Dim lDrives() As DriveInfo")
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@776 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
288234d0c4
Fixed some bugs in NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@765 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a6852502a4
The Boo AddIn now supports code completion for generics. The C# -> Boo converter now supports converting generic type references.
...
NRefactory now uses CastExpression for all cast types ("DirectCast", "CType", "TryCast"). TypeOfIsExpression now used by C# instead of BinaryOperatorType.TypeTest.
Updated to new Boo version that supports parsing and writing generic type references.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@763 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
91104f4152
Fixed SD2-559: Jagged arrays don't parse
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@747 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
7eabc20547
Fixed SD2-558 (Override as variable name) and the first half of SD2-559 (Jagged arrays don't parse)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@744 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
50a9f45f25
Fixed NullReferenceException when typing an OptionStatement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@725 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
2e819f05f1
Use List<SwitchSection> and List<CatchClause> instead of ArrayLists.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@722 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d9df3a65dd
Fixed SD2-504: Explicit implementations of generic interfaces cause parser error
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@690 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
908db27ca2
- allow code completion bindings to handle ReturnEditAction by handling '\n'.
...
- add dummy token "?" to VB lexer.
- use IntegerLiteralResolveResult that doesn't do code completion instead of returning no ResolveResult at all when resolving an integer literal.
- Implemented SD2-501: type inference when typing for both C# and VB.NET.
You can now type "? name = expr;" or "Dim name as ? = expr" and SharpDevelop will fill in the type for you.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
51ee84424e
Fixed SD2-460: Parse error (inner classes in generic types)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@532 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
8afa7cc805
Allow references to unbound types in typeof/GetType expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@529 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
46038417a5
Fixed NRefactory bugs: VB partial class declarations and attributes with "Global." or "global::" caused parser errors.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@527 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
6af13353d5
Use InvariantCulture for string comparisons - fixes problems with Turkish locale settings.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@492 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago