Compatibility + UFCS [v0.3.7]

A lot of things changed internally – there is the interface to the new MonoDevelop 2.9.5 libraries now which brings a couple of internal refactorings which hopefully will result in general performance improvements.

Currently the new version is available in the http://mono-d.alexanderbothe.com addin repository only, NOT in MonoDevelop’s beta channel – so it’s recommended to switch the repositoy temporarily, or even stick to the external one – the online addin build system causes a couple of problems that need to become handled.

  • [Completion] Fixed null-check
  • [Resolver] Built in new method to cache UFCS parameter results; Refactored further internal parser wrappers
  • [Completion] Fixed parameter insight
  • [General] Updated to MonoDevelop 2.9.5 dll’s
  • [Parser] dmd 2.059 compatibility
  • [Parser] Made directory parsing multi-threaded
  • [Building] Added ‘relativeTargetDirectory’ to One-Step-Build macros

v0.3.6:

  • [General] Overhaul for MonoDevelop 2.9.4 compatibility
  • [Building] Changed gdc default one-step build string
  • [Syntax Highlighting] changed color of ‘mixin’ keyword
  • [Resolver] Added rough ufcs completion.. which must be enabled manually in the settings
  • [Refactoring] Fixed a small renaming annoyance

6 Comments

  • yazd
    April 17, 2012 - 8:37 pm | Permalink

    Thanks for the new release!
    Well, I’ve just built monodeveop 2.9.4 to work with this release, however, I am unable currently to edit any D code. And I’ve noted also that someone else is facing the same problem on StackOverflow.
    http://stackoverflow.com/questions/10188139/why-does-monodevelop-2-9-4-error-when-typing-d-code

    This is the stack trace:
    System.TypeLoadException: Could not load type ‘Mono.TextEditor.DocumentLine’ from assembly ‘Mono.TextEditor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.
    at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
    at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00056] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/CompletionTextEditorExtension.cs:103
    at MonoDevelop.D.DEditorCompletionExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00000] in :0
    at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
    at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
    at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
    at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
    at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress (Key key, Char keyChar, ModifierType modifier) [0x00013] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/TextEditorExtension.cs:109
    at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress (Key key, UInt32 ch, ModifierType state) [0x00000] in /media/data/yazan/Downloads/mono-monodevelop-3341f1a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:236

    Is my build faulty or is it something that still needs updating from your side?
    Thanks again :D

    • alex
      April 17, 2012 - 8:49 pm | Permalink

      There’s been an update to MD 2.9.5 yesterday – and I updated it immediately ;) – so even 2.9.4 is not compatible to 2.9.5 anymore. I know that it’s horribly awkward and confusing for quite all Non-MD-Developers (= All Users), but it’s just a temporary update phase. So just pull the latest changes, build all stuff a second time and hopefully enjoy Mono-D again :)

      • yazd
        April 17, 2012 - 9:32 pm | Permalink

        It working again :D
        Thanks!

  • André
    April 17, 2012 - 11:10 am | Permalink

    Hi,

    Thanks for your releases again! Great job.

    Anyway do you have any idea how to install MonoDevelop 2.9.x packages on Ubuntu? The repository linked on your packages doesn’t provide those.. I would like to avoid compiling trunk myself.

    Thanks and cheers,
    André

    • alex
      April 17, 2012 - 11:21 am | Permalink

      Hmm, monodevelop-latest is version 2.8.8.1 currently – I guess there’s no other way than building it on your own – but it shouldn’t be that complicated – Only cloning the repo, calling “configure” and finally “make” is needed, as shown in http://mono-d.alexanderbothe.com/?p=101

      Anyway, I still try to contact the release technician so he might update the binaries and/or stuff like that :)

      • André
        April 17, 2012 - 6:28 pm | Permalink

        Okay thanks for your answer! I will just go for the hard way then :)

        Cheers,
        André

  • Leave a Reply

    Your email address will not be published. Required fields are marked *


    4 − = zero

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>