Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)Author
2019-07-12Bump fantomas to Beta on NuGetnosami
2019-07-12Bump fantomasnosami
2019-07-11Merge pull request #8187 from mono/backport-pr-8186-to-release-8.2Lluis Sanchez
[release-8.2] Bump fantomas
2019-07-11Bump fantomasnosami
2019-07-11[Mac] Check if the Url path is nulliain holmes
a url's path property might be null if the referenced resource no longer exists Fixes VSTS #940763
2019-07-10Merge pull request #8154 from mono/jstedfast-backport-pr-8113-release-8.2Lluis Sanchez
[8.2][Debugger] Fixed VSCodeDebuggerSession.OnNextInstruction
2019-07-10Bump fantomasnosami
2019-07-08bumped debugger-libs to fix the unit testsJeffrey Stedfast
2019-07-08[Debugger] Fixed VSCodeDebuggerSession.OnNextInstructionJeffrey Stedfast
I previously "fixed" this to do StepInRequest but I was wrong.
2019-07-08Removed unnecessary parent assignment in VPannedThinJavier Suárez Ruiz
2019-07-08Fix VSTS #941754 - [Version Control] Exception opening the StatusViewJavier Suárez Ruiz
2019-07-07[Debugger] Fix regression introduced when optimizing handlersMarius Ungureanu
https://github.com/mono/monodevelop/commit/ef5ea322347547cb6d971b6097b41965312178e6 introduced a regression where we would load the children on a background thread. That seems to race with debugger suspending/resuming. Go back to running on the UI thread. Also, fix up usage of the token source.
2019-07-05Merge pull request #8072 from mono/backport-pr-8033-to-release-8.2Lluis Sanchez
[release-8.2] [C#] Fix unhandled exception that is thrown when completion is canceled
2019-07-05Merge pull request #8144 from mono/backport-pr-8143-to-release-8.2Lluis Sanchez
[release-8.2] [Mac] Don't hang when terminating through the dock icon
2019-07-05Merge pull request #8141 from mono/backport-pr-8140-to-release-8.2Lluis Sanchez
[release-8.2] [CSharpBinding] Fix crash on opening C# format profile dialog
2019-07-05Merge pull request #8134 from mono/backport-pr-4909-to-release-8.2Lluis Sanchez
[release-8.2] [Ide] Add WelcomeWindow shown/hidden events
2019-07-05[Mac] Don't hang when terminating through the dock iconiain holmes
It turns out the answer to // FIXME: could this block in rare cases? was "No, it blocks every time", so make the delegate async and await on the call instead. Also remove the old Carbon handler and move the important bits into the Cocoa handler instead as it hasn't been deprecated for at least a decade Fixes VSTS #942401
2019-07-05[CSharpBinding] Fix crash on opening C# format profile dialogMatt Ward
In Preferences - Source Code - Code Formatting - C# when the Edit button was clicked in the Format tab the IDE would crash. The problem was that the dialog being displayed was being used as its own parent in MessageService. Which was causing a stack overflow. Stack overflow: IP: 0x7fff57f71b9c, fault addr: 0x7ffeed8e6ff8 Stacktrace: at <unknown> <0xffffffff> at AppKit.NSWindow.AddChildWindow (AppKit.NSWindow,AppKit.NSWindowOrderingMode) [0x00032] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.83/src/Xamarin.Mac/AppKit/NSWindow.g.cs:2089 <...> at MonoDevelop.Ide.MessageService.ShowCustomModalDialog (Gtk.Window,MonoDevelop.Components.Window) [0x00042] in /Users/vsts/agent/2.153.2/work/1/s/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:398 at MonoDevelop.Ide.MessageService/<>c__DisplayClass34_0.<RunCustomDialog>b__0 () [0x0006a] in /Users/vsts/agent/2.153.2/work/1/s/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:361 at MonoDevelop.Core.Runtime.RunInMainThread (System.Action) [0x0000d] in /Users/vsts/agent/2.153.2/work/1/s/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs:334 at MonoDevelop.Ide.MessageService.RunCustomDialog (MonoDevelop.Components.Dialog,MonoDevelop.Components.Window) [0x000d6] in /Users/vsts/agent/2.153.2/work/1/s/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:348 at MonoDevelop.Ide.MessageService.ShowCustomDialog (MonoDevelop.Components.Dialog,MonoDevelop.Components.Window) [0x00007] in /Users/vsts/agent/2.153.2/work/1/s/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:306 at MonoDevelop.Ide.MessageService.ShowCustomDialog (MonoDevelop.Components.Dialog) [0x00000] in /Users/vsts/agent/2.153.2/work/1/s/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:299 at MonoDevelop.CSharp.Formatting.CSharpFormattingPolicyPanelWidget.HandleButtonEditClicked (object,System.EventArgs) [0x0000c] in /Users/vsts/agent/2.153.2/work/1/s/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpFormattingPolicyPanelWidget.cs:99 To fix this the dialog does not show itself before MessageService's ShowCustomDialog is called. Note that setting an explicit parent in the call to ShowCustomDialog to be the TopLevel of the CSharpFormattingPolicyPanelWidget also fixed the problem but this resulted in the dialog not being centered on the screen. Instead it was placed so its left edge and top edge were inside the options panel. Fixes VSTS #942740 - Crash when trying to change C# formatting settings
2019-07-05Fixes VSTS Bug 942353: [FATAL] System.NullReferenceException exception in ↵Mike Krüger
Mono.MHex.HexEditor.Dispose() https://devdiv.visualstudio.com/DevDiv/_workitems/edit/942353 Can't really determine the cause - Options should always be != null but it's the only thing that can throw a null ref exception. But in any case Dispose shouldn't cause a fatal exception.
2019-07-04Merge pull request #8131 from mono/backport-pr-917028-to-release-8.2Lluis Sanchez
[Backport] Fixes VSTS 917028: Calling ScrollToRequestedCaretLocation with an invalid line number caused an exception
2019-07-04Merge pull request #8062 from mono/backport-pr-8061-to-release-8.2Lluis Sanchez
[release-8.2] Fixes VSTS Bug 938343: [Feedback] Diff Option in Version Control not
2019-07-04[Ide] Add WelcomeWindow shown/hidden eventsVsevolod Kukol
2019-07-04Added a check for line number and an exception catch clause.Anže Vodovnik
In some cases (like a deletion of code from the document, then trying to double click an existing Search Result), this method might have been called with a line number that no longer exists. This resulted in a call to the API that threw an exception. Now, the method checks the line count in the snapshot, and aborts. Both cases (a graceful failure, and an exception) are logged, so we can see if this continues to happen.
2019-07-03Merge pull request #8044 from mono/backport-pr-8032-to-release-8.2Vsevolod Kukol
[release-8.2] Adds a ZOrder system based in GtkNSViewHost
2019-07-03Merge pull request #8125 from mono/backport-pr-8067-to-release-8.2Vsevolod Kukol
[release-8.2] Fixes VSTS Bug 937036: [FATAL] System.NullReferenceException exception in MonoDevelop.Ide.Gui.DefaultWorkbench.get_Memento()
2019-07-03Merge pull request #8038 from mono/backport-pr-8036-to-release-8.2Vsevolod Kukol
[release-8.2] Fixes VSTS Bug 935201: System.ArgumentOutOfRangeException exception in
2019-07-03Merge pull request #8122 from mono/backport-pr-8087-to-release-8.2Vsevolod Kukol
[release-8.2] Fixes VSTS Bug 776934: TreeBuilderContext.GetTreeBuilder() null
2019-07-03Merge pull request #8129 from mono/backport-pr-8073-to-release-8.2Aaron Bockover
[release-8.2] Fix 935197: Exception in TextFileNavigationPoint.OnDocumentClosing
2019-07-03Merge pull request #8127 from mono/backport-pr-8097-to-release-8.2Aaron Bockover
[release-8.2] Fixes VSTS 935137: Null Reference Exceptions when disposing TextViewContent
2019-07-03Merge pull request #8123 from mono/backport-pr-7882-to-release-8.2Aaron Bockover
[release-8.2] Fixes VSTS 915954: "Rename File to {NewClassName}.cs" code action does not work
2019-07-03Updated reference to xamarin/Xamarin.PropertyEditing@40c398alluis
2019-07-03Merge pull request #8128 from mono/backport-pr-8120-to-release-8.2Lluis Sanchez
[release-8.2] Update translations
2019-07-03Merge pull request #8126 from mono/jstedfast-dkarlas-backport-fix-935181-8.2Lluis Sanchez
Fix 935181: TryGetBreakpointSpan called with invalid position
2019-07-03Fix 935197: Exception in TextFileNavigationPoint.OnDocumentClosingDavid Karlaš
I'm not exactly sure how that exception happened(maybe TextBuffer of TextView changed). But with this change problem of snapshots coming from different textbuffers can't happen again.
2019-07-03Merge pull request #8076 from mono/backport-pr-8069-to-release-8.2Aaron Bockover
[release-8.2] Fix 923058: ArgumentOutOfRangeException in GetCharacterBounds
2019-07-03Update translationsRodrigo Moya
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/938534
2019-07-03Fixes VSTS Bug 935201: System.ArgumentOutOfRangeException exception in ↵Mike Krüger
Microsoft.VisualStudio.Text.SnapshotPoint..ctor() https://devdiv.visualstudio.com/DevDiv/_workitems/edit/935201 line.Start + Column - 1 will throw if Column is at EOL the - 1 is interpreted as (Start + Column) - 1. Using brackets to evaluate it differently : Start + (Column - 1) would fix the issue but I added the bounds check to prevent the exeception from happening in all cases.
2019-07-03[Debugger] Protect against NRE's in the CSharpBreakpointSpanResolverJeffrey Stedfast
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/935126/
2019-07-03Added Null Reference Guards across the dispose method.Anže Vodovnik
2019-07-03Merge pull request #8049 from mono/backport-pr-8048-to-release-8.2Vsevolod Kukol
[release-8.2] [A11y] Only show the VoiceOver notification once.
2019-07-03[Toolbox] Removes old embed internal focuschain logic to use the default ↵Jose Medrano
behaviour of GtkNSViewHost
2019-07-03Adds a ZOrder system based in GtkNSViewHost This commits fixes the current ↵Jose Medrano
problem with the zorder in adding views to the GtkQuartz window. Because this, we where having some problems in drag and drop and clicking over views. To fix this we added a new mechanism to order the position of the views, and fix if there are other views not well calculated. Fixed VSTS #935567 - [Shell] Mouse click and resize in Splitters sometimes fails to complete the operation
2019-07-03Fix 935181: TryGetBreakpointSpan called with invalid positionDavid Karlaš
I also added logic to fallback to whole line breakpoint in case Roslyn fails to find matching statement to place breakpoint on.
2019-07-03Merge pull request #8118 from mono/backport-pr-8103-to-release-8.2Lluis Sanchez
[release-8.2] [Core] Fix null ref in DotNetProject.OnGetReferencedAssemblies
2019-07-03[Ide] Introduced SavePreferencesAsync in RootWorkspace.Mike Krüger
SavePreferences was called twice in Workbench.Close () and missed an await on SavePreferences on the individual items. That's now fixed.
2019-07-03Fixes VSTS Bug 937036: [FATAL] System.NullReferenceException exception in ↵Mike Krüger
MonoDevelop.Ide.Gui.DefaultWorkbench.get_Memento() https://devdiv.visualstudio.com/DevDiv/_workitems/edit/937036 Not sure why that happens but a Memento crash shouldn't cause a fatal exception. I assumed that GdkWindow can be null in some cases there. Doesn't make sense to store the Memento in that case. Result is tha the ide would open with the workbench preferences from the start before. A better option than falling back to some defaults.
2019-07-03Addressing PR comments, removing unnecessary Console.WriteLines.Anže Vodovnik
2019-07-03Fix up file not being saved correctly and updating registration for the ↵therzok
roslyn document context After debugging with @avodovnik, we found out that 2 registrations were done for the same document, one still pointing to the old path. Subscribing to the file document controller events on initialization fixes this, as the handler that was checking renames is subscribed there. Avoid manually saving a project, as there is a method that does that in TryApplyChanges. The Freeze/Thaw events are required because the roslyn file associations need to happen before the text buffer registration, otherwise the text buffer is associated with the miscellaneous files workspace as our workspace does not contain the new document file path yet.
2019-07-03WIP: Rename fix, debugging.Anže Vodovnik
2019-07-03Refactoring, adding rename of children and save.Anže Vodovnik
The project file is now saved. I've extracted the method that used DispatchService to pump events while waiting on the async method to finish, and put it into the DispatchService itself as I needed it in two places.