Daniel Grunwald
670b0d5212
Fixed C# parser bug regarding integer literals between long.MaxValue + 1 and ulong.MaxValue.
...
C# spec 2.4.4.2: Implemented rules regarding int.MinValue and long.MinValue (they get tokenized to Token.Minus + Token.Literal(uint/ulong), but must be parsed as signed int/long)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2638 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9dbd77c0d1
C# parser: allow unicode escape sequences in identifier names (yes, "int numb\u0065r;" is valid C#!)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2637 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9d73b7042e
C# lexer: add support for 32-bit unicode escape sequences (including those that represent surrogate pairs)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2636 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f86decdab1
Fixed SD2-1325: SharpDevelop brought in front of running console app
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2635 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ab66ebb70c
Fixed SD2-1367: Templates ignore tab/indentation options
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2634 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
096c91e094
Add "RequiredTargetFramework" meta data to references.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2633 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0d75f719ea
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2632 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
4423707856
GacReferencePanel: when the GAC contains multiple versions of an assembly, show the version that MSBuild will use.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2631 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5d5bdc2cdb
Use MSBuild's ResolveAssemblyReferences task to make sure we load the correct assembly version for code-completion. E.g. a reference to "System.Net" loads a different assembly depending on the target framework. SharpDevelop now can also find assemblies in custom reference paths, using assembly tables and everything else supported by MSBuild (including custom ResolveAssemblyReferences tasks).
...
The property pad uses the information from MSBuild to show the resolved assembly version.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2630 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c784af0091
Project options page: allow choosing 3.0 and 3.5 as target framework.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2629 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f3528c4d04
Remove skip-messages for projects not compiled when compiling only a single project using F9.
...
Replace ICSharpCode.SharpDevelop.Func<...> with System.Func<...>; use System.Linq.Enumerable instead of the ICSharpCode.SharpDevelop.Linq helper class.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2628 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
191f894328
Use MSBuild 3.5.
...
SharpDevelop can now compile C# 3.0 projects created with VS2008 Beta 2.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2627 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
65c82c0ab6
WpfDesigner tests: Change WPF namespace from winfx/2006/xaml/presentation to netfx/2007/xaml/presentation
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2626 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
374929cef6
Merge Merged SD 2.2 revision 2603:2624 to trunk.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2625 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
37c18e0660
Fixed unit tests when .NET FX 3.5 is installed - do not rely on the order in which Reflection returns methods.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2624 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
70b289233e
Updated to NUnit 2.4.2
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2623 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
671d51a6e8
Fixed method insight for constructors.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2622 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3c3ac7e95a
CSharpExpressionFinder: better support for field initializers
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2621 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ecfed88c5b
Fixed two problems in C# expression finder (wrong context detected for property setters and nested types)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2620 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6d9000dc5e
Fixed code completion bug: calls from nested classes to static methods in the parent class now are resolved correctly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2619 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a58c7e1f86
More C# code completion fixes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2618 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
76636e154f
C# expression finder: Fix "if (a > b) {}".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2617 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ac9f4a917b
Fixed C# expression finder bug for statements like "if (a < b) {}"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2616 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5602eff9e7
NRefactory output visitors: allow inserting specials between attributes and the attributed node.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2615 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
456847adde
Fixed SD2-1365: FxCop can't start if project's name contains spaces
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2614 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a65659b0d3
Fixed forum-17917: Overriding properties that have get/set accessors with different visibility as the property does not insert the visibility modifier in the overriding code.
...
Overriding abstract members now inserts "throw new NotImplementedException();" instead of a call to the base method.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2613 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
326db119e1
Prevent ArgumentOutOfRangeException in PaintDocumentLine when there are invalid folding markers.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2612 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c8f31d4b3a
Lookup XmlDoc for XNA references.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2611 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
d45e39c051
TextEditorOptions: enlarge two check boxes where the last word was cut off
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2610 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9947820325
Increment version number to 2.2.1.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2609 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
60fe87ccd7
Fixed start page "Team" / "Help wanted" links (they were pointing to the old wiki)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2608 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
313121fcc9
Fixed VB Direct3D project template.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2607 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christian Hornung
791a591134
Fixed forum-17806: Exception on showing resource tooltip when the resource name is equal to the project root namespace.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2605 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9bad98d6e4
Merged SD 2.2 revision 2560:2603 to trunk.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2604 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
4b8d80a68b
Fixed SD2-1363: Exception is thrown using incorrect VB syntax.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e710827635
Fixed project creation bug: By default, "Optimize" was not set to true for release builds.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2602 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e49d2b4493
TextEditor: Fixed UpdateToEnd when there are folded regions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e8a0736262
TextAreaMouseHandler: This patch by Troy Simpson fixes an issue with selecting text via double-click, then following-up with a gutter selection.
...
GapTextBufferStrategy: rewrote PlaceGap, fixing a performance issue when deleting text in large documents
DefaultHighlightingStrategy: cache currentLine.Offset because it's not cheap to retrieve (it's an O(lg n) operation)
DefaultDocument.RequestUpdate: when doing a WholeTextArea update, skip all other updates because they would only duplicate the work done by the WholeTextArea update
Except for the load time, the performance editing large .txt files is now good; though the text editor takes a huge amount of memory (tested with a 1,000,000 lines file).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2600 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
4775ade1e9
Change UpgradeCode - otherwise it is not possible to install SharpDevelop 2.2 when SharpDevelop 3.0 is already installed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2599 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5b6a66edab
Applied text editor selection patch by Troy Simpson.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2598 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c09f7049f4
Fixed forum-17570: text editor saves an additional empty when saving a file.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2597 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0acdde0b37
Add optional "settingsPath" and "domPersistencePath" settings to SharpDevelop.exe.config. These can be used to redirect the settings/code completion cache to different folders, e.g. for running SharpDevelop from a USB stick.
...
Make XML documentation tooltips work even if the code completion cache is disabled.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2596 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a16fc826ce
EventHandlerCompletitionDataProvider: build event name correctly ("button1.Click"=>"button1_Click"), fixed support for generic delegates (EventHandler<T>)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2594 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christoph Wille
dd5d5aa5cd
2.2 updates for \doc folder
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2593 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Christoph Wille
8fa6d50a29
Update a few SDR resources
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2592 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Alpert
c162cb1a09
c# event completion better handles generic eventhandlers (EventHandler<TEventArgs>) with a workaround to resolve TEventArgs into a more explicit reference (eg. MouseEventArgs)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2591 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
David Alpert
b1e92b9535
improved C# event handler code completion; delegate completion now suggests a method name and optionally inserts the stub.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2590 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c96e754075
Implemented AttributeReturnType, now the unit test AddIn should work again.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2589 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ce982a53c2
Try to work around MSBuild bug that causes the build to fail on the build server.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2588 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
e2ff87117b
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2587 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago