www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Mmrnmhrm 0.2.1 released

reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Mmrnmhrm 0.2.1 has been released.
Changelog:

== Mmrnmhrm 0.2.1 (2007-10-23) ==
  * Fixed major bug with document syntax highlighting and partitions.
  * Improved name lookup: statement blocks and enum bodies are now 
supported correctly (they don't see forward definitions anymore).
  * Improved Code completion: duplicates or occluded names are no longer 
presented.
  * Can now set, view, and remove Descent-compatible breakpoints in 
Mmrnmhrm's editor (these will work with Descent's debugger).
  * DDoc text and code completion hovers are now processed and presented 
as HTML instead of raw characters, thanks to Ary Mazana's Descent DDoc 
parser. 
(http://svn.dsource.org/projects/descent/downloads/images/mmrnmhrm_
tml_ddoc_hover2.png 
pic)
  * Fixed some Neo AST bugs.
  * Minor builder changes (builder still work in progress).

More info at:
http://www.dsource.org/projects/descent/wiki/Mmrnmhrm

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Oct 23 2007
next sibling parent reply Carlos Santander <csantander619 gmail.com> writes:
Bruno Medeiros escribió:
 Mmrnmhrm 0.2.1 has been released.
 Changelog:

 == Mmrnmhrm 0.2.1 (2007-10-23) ==
  * Fixed major bug with document syntax highlighting and partitions.
  * Improved name lookup: statement blocks and enum bodies are now supported 

  * Improved Code completion: duplicates or occluded names are no longer 

  * Can now set, view, and remove Descent-compatible breakpoints in Mmrnmhrm's 

  * DDoc text and code completion hovers are now processed and presented as 

(http://svn.dsource.org/projects/descent/downloads/images/mmrnmhrm_ tml_ddoc_hover2.png pic)
  * Fixed some Neo AST bugs.
  * Minor builder changes (builder still work in progress).

 More info at:
 http://www.dsource.org/projects/descent/wiki/Mmrnmhrm

Before I decide to give it a try, does it update automatically or does it have to be removed and then re-installed as Descent did some versions ago? -- Carlos Santander Bernal
Oct 23 2007
parent Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Carlos Santander wrote:
 Bruno Medeiros escribió:
  > Mmrnmhrm 0.2.1 has been released.
  > Changelog:
  >
  > == Mmrnmhrm 0.2.1 (2007-10-23) ==
  >  * Fixed major bug with document syntax highlighting and partitions.
  >  * Improved name lookup: statement blocks and enum bodies are now 
 supported correctly (they don't see forward definitions anymore).
  >  * Improved Code completion: duplicates or occluded names are no 
 longer presented.
  >  * Can now set, view, and remove Descent-compatible breakpoints in 
 Mmrnmhrm's editor (these will work with Descent's debugger).
  >  * DDoc text and code completion hovers are now processed and 
 presented as HTML instead of raw characters, thanks to Ary Mazana's 
 Descent DDoc parser. 
 (http://svn.dsource.org/projects/descent/downloads/images/mmrnmhrm_
tml_ddoc_hover2.png 
 pic)
  >  * Fixed some Neo AST bugs.
  >  * Minor builder changes (builder still work in progress).
  >
  > More info at:
  > http://www.dsource.org/projects/descent/wiki/Mmrnmhrm
  >
 
 Before I decide to give it a try, does it update automatically or does 
 it have to be removed and then re-installed as Descent did some versions 
 ago?
 

For the moment yes, you must delete the old jar files, and put the new ones when updating. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Oct 23 2007
prev sibling next sibling parent reply Jari-Matti =?ISO-8859-1?Q?M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
Bruno Medeiros wrote:

 Mmrnmhrm 0.2.1 has been released.
 Changelog:
 
 == Mmrnmhrm 0.2.1 (2007-10-23) ==
   * Fixed major bug with document syntax highlighting and partitions.
   * Improved name lookup: statement blocks and enum bodies are now
 supported correctly (they don't see forward definitions anymore).
   * Improved Code completion: duplicates or occluded names are no longer
 presented.
   * Can now set, view, and remove Descent-compatible breakpoints in
 Mmrnmhrm's editor (these will work with Descent's debugger).
   * DDoc text and code completion hovers are now processed and presented
 as HTML instead of raw characters, thanks to Ary Mazana's Descent DDoc
 parser.

 pic)
   * Fixed some Neo AST bugs.
   * Minor builder changes (builder still work in progress).
 
 More info at:
 http://www.dsource.org/projects/descent/wiki/Mmrnmhrm
 

Any ideas why I cannot get this working? I think the installation phase went fine since both Preferences and File->new show Mmrnmhrm (Dee project). Also the project explorer shows a red D on the project (descent projects show a blue d). Pressing F3 gives "The resource is not on the build path of a D project". I also don't get tooltips with ddoc text. Syntax highlighting works, however. I think the build tool paths are fine too, though I use gdc, tango and rebuild so they're probably not supported. The project only has one file, example.d, in src/. I thought the path is included automatically. The Eclipse version is 3.4M2 on Linux/x86-64, Sun Java 6.
Oct 23 2007
parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Jari-Matti Mäkelä wrote:
 Bruno Medeiros wrote:
 
 Mmrnmhrm 0.2.1 has been released.
 Changelog:

 == Mmrnmhrm 0.2.1 (2007-10-23) ==
   * Fixed major bug with document syntax highlighting and partitions.
   * Improved name lookup: statement blocks and enum bodies are now
 supported correctly (they don't see forward definitions anymore).
   * Improved Code completion: duplicates or occluded names are no longer
 presented.
   * Can now set, view, and remove Descent-compatible breakpoints in
 Mmrnmhrm's editor (these will work with Descent's debugger).
   * DDoc text and code completion hovers are now processed and presented
 as HTML instead of raw characters, thanks to Ary Mazana's Descent DDoc
 parser.

 pic)
   * Fixed some Neo AST bugs.
   * Minor builder changes (builder still work in progress).

 More info at:
 http://www.dsource.org/projects/descent/wiki/Mmrnmhrm

Any ideas why I cannot get this working? I think the installation phase went fine since both Preferences and File->new show Mmrnmhrm (Dee project). Also the project explorer shows a red D on the project (descent projects show a blue d). Pressing F3 gives "The resource is not on the build path of a D project". I also don't get tooltips with ddoc text. Syntax highlighting works, however. I think the build tool paths are fine too, though I use gdc, tango and rebuild so they're probably not supported. The project only has one file, example.d, in src/. I thought the path is included automatically. The Eclipse version is 3.4M2 on Linux/x86-64, Sun Java 6.

That sounds like D files are being opened with Descent's editor. Is the editor icon a blue "d"? If so that's Descent. Mmrnmhrm's is a red "D" with an M on it. See both: http://svn.dsource.org/projects/descent/downloads/images/mmrnmhrm_codecompletion2.png You can configure the default .d editor in Eclipse Preferences, General, Editors, File Associations. Add a .d file type, and the list of associated editors will show up below. Select Mmrnmhrm as the default. I'm gonna put this in the project wiki. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Oct 23 2007
parent Jari-Matti =?ISO-8859-1?Q?M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
Bruno Medeiros wrote:

 That sounds like D files are being opened with Descent's editor. Is the
 editor icon a blue "d"? If so that's Descent. Mmrnmhrm's is a red "D"
 with an M on it. See both:

 
 You can configure the default .d editor in Eclipse Preferences, General,
 Editors, File Associations. Add a .d file type, and the list of
 associated editors will show up below. Select Mmrnmhrm as the default.
 
 I'm gonna put this in the project wiki.

Thanks, this fixed it.
Oct 23 2007
prev sibling parent reply torhu <no spam.invalid> writes:
Bruno Medeiros wrote:
 Mmrnmhrm 0.2.1 has been released.
 Changelog:
 
 == Mmrnmhrm 0.2.1 (2007-10-23) ==
   * Fixed major bug with document syntax highlighting and partitions.
   * Improved name lookup: statement blocks and enum bodies are now 
 supported correctly (they don't see forward definitions anymore).
   * Improved Code completion: duplicates or occluded names are no longer 
 presented.
   * Can now set, view, and remove Descent-compatible breakpoints in 
 Mmrnmhrm's editor (these will work with Descent's debugger).
   * DDoc text and code completion hovers are now processed and presented 
 as HTML instead of raw characters, thanks to Ary Mazana's Descent DDoc 
 parser. 
 (http://svn.dsource.org/projects/descent/downloads/images/mmrnmhrm_
tml_ddoc_hover2.png 
 pic)
   * Fixed some Neo AST bugs.
   * Minor builder changes (builder still work in progress).
 
 More info at:
 http://www.dsource.org/projects/descent/wiki/Mmrnmhrm
 

Mmrnmhrm doesn't show up in eclipse for me. I've got descent working. I've tried both using an external extension location, and just copying the files into the plugins dir. But no mention of Mmrnmhrm in the Platform Configuration dialog. I've followed the installation instructions on dsource. Any ideas?
Oct 23 2007
parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
torhu wrote:
 Bruno Medeiros wrote:
 Mmrnmhrm 0.2.1 has been released.
 Changelog:

 == Mmrnmhrm 0.2.1 (2007-10-23) ==
   * Fixed major bug with document syntax highlighting and partitions.
   * Improved name lookup: statement blocks and enum bodies are now 
 supported correctly (they don't see forward definitions anymore).
   * Improved Code completion: duplicates or occluded names are no 
 longer presented.
   * Can now set, view, and remove Descent-compatible breakpoints in 
 Mmrnmhrm's editor (these will work with Descent's debugger).
   * DDoc text and code completion hovers are now processed and 
 presented as HTML instead of raw characters, thanks to Ary Mazana's 
 Descent DDoc parser. 
 (http://svn.dsource.org/projects/descent/downloads/images/mmrnmhrm_
tml_ddoc_hover2.png 
 pic)
   * Fixed some Neo AST bugs.
   * Minor builder changes (builder still work in progress).

 More info at:
 http://www.dsource.org/projects/descent/wiki/Mmrnmhrm

Mmrnmhrm doesn't show up in eclipse for me. I've got descent working. I've tried both using an external extension location, and just copying the files into the plugins dir. But no mention of Mmrnmhrm in the Platform Configuration dialog. I've followed the installation instructions on dsource. Any ideas?

Are you sure you got all the deps right? Such as Eclipse 3.3 or superior, Java VM 1.5 or superior, and DLTK 0.9 (but no 1.0). If the problem persists, post the configuration log in Help, About Eclipse SDK, Configuration Details. Also post the Error log, in case there is anything there. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Oct 24 2007
parent reply torhu <no spam.invalid> writes:
Bruno Medeiros wrote:
 torhu wrote:
 Mmrnmhrm doesn't show up in eclipse for me.  I've got descent working. 
 I've tried both using an external extension location, and just copying 
 the files into the plugins dir.  But no mention of Mmrnmhrm in the 
 Platform Configuration dialog.  I've followed the installation 
 instructions on dsource.  Any ideas?

Are you sure you got all the deps right? Such as Eclipse 3.3 or superior, Java VM 1.5 or superior, and DLTK 0.9 (but no 1.0). If the problem persists, post the configuration log in Help, About Eclipse SDK, Configuration Details. Also post the Error log, in case there is anything there.

have the JDT. But I guess that's not needed? I'll try reinstalling eclipse and the plugins, maybe that'll help.
Oct 26 2007
parent reply torhu <no spam.invalid> writes:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

torhu wrote:
 Bruno Medeiros wrote:
 torhu wrote:
 Mmrnmhrm doesn't show up in eclipse for me.  I've got descent working. 
 I've tried both using an external extension location, and just copying 
 the files into the plugins dir.  But no mention of Mmrnmhrm in the 
 Platform Configuration dialog.  I've followed the installation 
 instructions on dsource.  Any ideas?

Are you sure you got all the deps right? Such as Eclipse 3.3 or superior, Java VM 1.5 or superior, and DLTK 0.9 (but no 1.0). If the problem persists, post the configuration log in Help, About Eclipse SDK, Configuration Details. Also post the Error log, in case there is anything there.

have the JDT. But I guess that's not needed? I'll try reinstalling eclipse and the plugins, maybe that'll help.

I tried reinstalling everything, but still no luck. I've attached the config and error logs from eclipse. I had to zip up the logs to avoid the news server's attachment size limit.
Oct 27 2007
parent reply torhu <no spam.invalid> writes:
torhu wrote:
 torhu wrote:
 Bruno Medeiros wrote:
 torhu wrote:
 Mmrnmhrm doesn't show up in eclipse for me.  I've got descent working. 
 I've tried both using an external extension location, and just copying 
 the files into the plugins dir.  But no mention of Mmrnmhrm in the 
 Platform Configuration dialog.  I've followed the installation 
 instructions on dsource.  Any ideas?

Are you sure you got all the deps right? Such as Eclipse 3.3 or superior, Java VM 1.5 or superior, and DLTK 0.9 (but no 1.0). If the problem persists, post the configuration log in Help, About Eclipse SDK, Configuration Details. Also post the Error log, in case there is anything there.

have the JDT. But I guess that's not needed? I'll try reinstalling eclipse and the plugins, maybe that'll help.

I tried reinstalling everything, but still no luck. I've attached the config and error logs from eclipse. I had to zip up the logs to avoid the news server's attachment size limit.

Nevermind, I know what's the problem now. I tried the eclipse java download instead of the C/C++ download, and then it worked. So it seems mhrmrmsrsdhfshdfwhatever needs the JDT, or something else that the CDT-only download is missing.
Oct 27 2007
parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
torhu wrote:
 torhu wrote:
 torhu wrote:
 Bruno Medeiros wrote:
 torhu wrote:
 Mmrnmhrm doesn't show up in eclipse for me.  I've got descent 
 working. I've tried both using an external extension location, and 
 just copying the files into the plugins dir.  But no mention of 
 Mmrnmhrm in the Platform Configuration dialog.  I've followed the 
 installation instructions on dsource.  Any ideas?

Are you sure you got all the deps right? Such as Eclipse 3.3 or superior, Java VM 1.5 or superior, and DLTK 0.9 (but no 1.0). If the problem persists, post the configuration log in Help, About Eclipse SDK, Configuration Details. Also post the Error log, in case there is anything there.

don't have the JDT. But I guess that's not needed? I'll try reinstalling eclipse and the plugins, maybe that'll help.

I tried reinstalling everything, but still no luck. I've attached the config and error logs from eclipse. I had to zip up the logs to avoid the news server's attachment size limit.

Nevermind, I know what's the problem now. I tried the eclipse java download instead of the C/C++ download, and then it worked. So it seems mhrmrmsrsdhfshdfwhatever needs the JDT, or something else that the CDT-only download is missing.

That was not supposed to happen, but I checked the code and you're right, there's a rogue dependency on the org.junit and org.junit4 plugins (which only come with JDT). That will be fixed on the next release. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Oct 27 2007
parent reply torhu <no spam.invalid> writes:
Bruno Medeiros wrote:
 torhu wrote:
 torhu wrote:
 torhu wrote:
 Bruno Medeiros wrote:
 torhu wrote:
 Mmrnmhrm doesn't show up in eclipse for me.  I've got descent 
 working. I've tried both using an external extension location, and 
 just copying the files into the plugins dir.  But no mention of 
 Mmrnmhrm in the Platform Configuration dialog.  I've followed the 
 installation instructions on dsource.  Any ideas?

Are you sure you got all the deps right? Such as Eclipse 3.3 or superior, Java VM 1.5 or superior, and DLTK 0.9 (but no 1.0). If the problem persists, post the configuration log in Help, About Eclipse SDK, Configuration Details. Also post the Error log, in case there is anything there.

don't have the JDT. But I guess that's not needed? I'll try reinstalling eclipse and the plugins, maybe that'll help.

I tried reinstalling everything, but still no luck. I've attached the config and error logs from eclipse. I had to zip up the logs to avoid the news server's attachment size limit.

Nevermind, I know what's the problem now. I tried the eclipse java download instead of the C/C++ download, and then it worked. So it seems mhrmrmsrsdhfshdfwhatever needs the JDT, or something else that the CDT-only download is missing.

That was not supposed to happen, but I checked the code and you're right, there's a rogue dependency on the org.junit and org.junit4 plugins (which only come with JDT). That will be fixed on the next release.

look much nicer than Mmrnmhrm's.
Oct 27 2007
parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
torhu wrote:
 Cool, problem fixed!  Btw, I think Descent's syntax highlighting colors 
 look much nicer than Mmrnmhrm's.

Possibly. I'm still not sure which options would be best (even if just as a default, since it's configurable). For one hand, I'd like something similar to JDT, like Descent has, but I would also like that keywords have a blue coloring. I'm open to suggestions in this regard. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Nov 03 2007
parent reply torhu <no spam.invalid> writes:
Bruno Medeiros wrote:
 torhu wrote:
 Cool, problem fixed!  Btw, I think Descent's syntax highlighting colors 
 look much nicer than Mmrnmhrm's.

Possibly. I'm still not sure which options would be best (even if just as a default, since it's configurable). For one hand, I'd like something similar to JDT, like Descent has, but I would also like that keywords have a blue coloring. I'm open to suggestions in this regard.

bit too much that bothers me. I don't mind the blue color, although something like rgb(10, 36, 106) is a bit less heavy (notepad2's C++ keyword color). But I think the defaults matter, the hideous default colors used by codeblocks really puts me off trying to use it. ;)
Nov 03 2007
parent Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
torhu wrote:
 Bruno Medeiros wrote:
 torhu wrote:
 Cool, problem fixed!  Btw, I think Descent's syntax highlighting 
 colors look much nicer than Mmrnmhrm's.

Possibly. I'm still not sure which options would be best (even if just as a default, since it's configurable). For one hand, I'd like something similar to JDT, like Descent has, but I would also like that keywords have a blue coloring. I'm open to suggestions in this regard.

bit too much that bothers me. I don't mind the blue color, although something like rgb(10, 36, 106) is a bit less heavy (notepad2's C++ keyword color). But I think the defaults matter, the hideous default colors used by codeblocks really puts me off trying to use it. ;)

3 colors for keywords? Well, that's because I wanted to have a coloring closer to semantics than syntax, so that's why there are different categories for pure keywords, native types, and literal keywords (like 'true'). You can set them all to the same if you like. But I agree that the defaults need some refinement, especially with regards to the literals category. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Nov 04 2007