Matt Ward
69c7dde1e3
Fix SD-1874 - Attribute code completion not working for assemblies that reference assemblies using a different .NET framework version to those referenced by the project.
14 years ago
Matt Ward
cdffb2319c
Fix string resource not being replaced in Output window when a COM reference is added to a project.
14 years ago
Daniel Grunwald
35a22b2121
Fixed VB code completion (loading of mscorlib.dll and Microsoft.VisualBasic.dll)
...
The VB code completion logic was relying on the special cases that I removed in commit 7c1c3b4 .
With this fix, multi-targeting works with the assemblies implicitly referenced by the VB compiler.
15 years ago
Daniel Grunwald
7c1c3b4754
Always use MSBuild for resolving assembly references; do not special-case some .NET BCL assemblies.
...
This avoids loading the GAC copy of the assembly in said special cases, and loads the reference assembly for the chosen target framework version instead.
15 years ago
Daniel Grunwald
1aafa02c4c
Fix SD-1767 - NullReferenceException when closing a solution while "Loading References..." is active.
15 years ago
Daniel Grunwald
cc49af8e05
Add public constructor to ParseProjectContent and move mscorlib initialization to CompilableProject.
16 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
16 years ago
Daniel Grunwald
6f5c57266c
Pass ParallelOptions to Parallel.ForEach in LoadSolutionProjectsThread
16 years ago
Siegfried Pammer
a3b88d4262
IOException when trying to read a file from the parser thread that is exclusively locked (e. g. sdps); removed ParseableFileContentEntry
16 years ago
Daniel Grunwald
08308c5729
Make verbose MSBuild output even more verbose.
...
Fixed potential deadlock between IProjectContent.ReferencedContents lock and IProject.SyncRoot when switching a project to another target framework.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5644 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
526c8bd679
Fixed encoding autodetection in ChooseEncodingDisplayBinding to match that when normally opening a file.
...
LoadSolutionProjectThread: Send progress report for the number of files parsed.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5637 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
fb3fa4dac7
Rewritten IProgressMonitor:
...
- allow nested progress monitors
- use .NET 4 cancellation framework
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5483 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
ca3f8791b6
ParserService: allow GetExistingParseInformation with specified project content.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4830 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
d7cd3faf36
LoadSolutionProjectsThread: use multiple processor cores for parsing
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4811 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
7267cd5c81
Trying to reduce amount of global state in ICSharpCode.Core
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4735 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
2540b7e087
ParserService refactoring:
...
- one IParser instance per file
- ITextBuffer provides a method to retrieve changes since the last parse runs
- IParser implementations may choose to use this to implement incremental parsing
- no concurrent calls to the same IParser instance
- one file may be inside multiple projects
- Split out assembly handling to AssemblyParserService
- Split out LoadSolutionProjectsThread to LoadSolutionProjects.cs
See http://laputa.sharpdevelop.net/ParserServiceRefactoring.aspx
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4711 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
1afb035d95
Use ITextBuffer instead of string in IParser.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4668 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Siegfried Pammer
3284781d8f
Added some XAML PowerToys
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4333 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 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
17 years ago
Daniel Grunwald
4db1e52468
Use a single ProjectCollection - MSBuild 4.0 doesn't support parallel builds if multiple project collections are used.
...
Implemented ResolveAssemblyReferences.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/dotnet4@4242 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
7d4c78a8a9
When adding an assembly reference, check if the code-completion information needs to be refreshed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3472 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7414e9ad6a
Fixed several minor code completion bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2949 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fef7d40907
Rewritten build system. Separated solution build logic (BuildEngine) from project build logic (MSBuildEngine).
...
New features:
- Supports non-MSBuild projects.
- Setting different properties for each project in a solution.
- Build can run in a worker process
- Builds multiple projects in parallel
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2694 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
baecdf2d5e
SdStatusBar.BeginTask: reset WorkDone to 0.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2687 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
d5b3330f71
Fixed SD2-1355: FormattingStrategy: meaning of IndentLine, FormatLine return value
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2640 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 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
19 years ago
Daniel Grunwald
467dcdd3a4
Worked on SD2-1234 - added support for view contents that are not editing a file (e.g. project options).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2365 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
1808336a1c
Merged SD 2.1 rev. 2226:2312 to trunk.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2314 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
5e9379e6a1
Refresh assembly project contents when adding a reference.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2309 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
acac08d13e
Fixed SD2-911: 'Classes' pad updates its content incorrectly
...
ParserService does not give the choice whether to raise the ParseInformationUpdated event anymore - the classes pad depends on getting every update notification.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2104 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
387ea3ce1b
Fixed wildcards support (SD2-1170)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2072 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
dcaf24c04d
Implemented SD2-1183: Use MSBuild libraries
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2043 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
f3939e3257
Add Custom Tools support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2020 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
42ab1e46fb
Fixed NullReferenceException when implicit reference (like Microsoft.VisualBasic in VB projects) cannot be loaded for code-completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1938 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
4af14f6adf
When target framework is set to .NET 1.0 or .NET 1.1, show code-completion specific to that .NET versions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1751 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c9ecec41f3
Put ICSharpCode.SharpDevelop.Dom in a separate assembly.
...
WorkbenchSingleton.SafeThreadCall is now a generic method to check that the types of the arguments match the parameter types expected by the delegate.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1661 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
f410739534
Fixed build error introduced by merge.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1513 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
a4bd782875
Moved more strings to translation database.
...
When adding a COM reference, MSBuild "ResolveComReferences" is called immediately to generate the interop library and get code completion - the "cannot load code-completion information" error message was confusing many users.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1493 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
6050a6bda4
Moved some more strings to translation database. Windows Service template now contains installer class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1487 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
515b955432
Lock access to DefaultProjectContent.ReferencedContents - can be modified by main thread and solution loading thread.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1477 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
16d87fd62e
Fixed SD2-797: Code-completion for nested classes is broken
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1379 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c1d9f42d0e
Fixed SD2-729: Removing a reference will attempt to generate the project content
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1318 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Matt Ward
7a49557073
SD2-568 - No code completion for COM references. COM interops now loaded after a build. Type library filenames now have end digits removed from filenames in the add reference dialog. In the MSBuild file the COM reference include attribute is now set to the type library short name and not its description.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1223 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
98335d8152
Fixed SD2-426: About box / Version info tab / Copy (the clipboard seems to be set correctly, we can ignore the ExternalException)
...
Fixed SD2-684: Cannot open a new form without saving it first.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1117 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
32abb6ee5a
Change file header.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@915 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Matt Ward
df90bc1412
Fixed SD2-565. Cutting and pasting a file into its original directory no longer deletes the file.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@771 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
2deee1b7ed
Fixed SD2-552: Class Browser not Refreshing
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@712 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
58ad8b5436
BuildAddinDocumentation now updates the AddIn schema.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@596 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
4aa100ffdf
Boo implicitly references System.dll and Boo.Lang.dll.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@543 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
8fc6327d9f
Added CSharpBinding.Tests project.
...
Add "run in debugger" command to member bookmarks.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@423 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago