www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - blackbird 1.1.0 (beta)

reply "Ilya Zaitseff" <sark7 mail333.com> writes:
blackbird.antlr - (new) ANTLR classes export for blackbird.
blackbird.editor - minor grammar bugs fixed.
blackbird.builder - (new) experimental D builder.

Screenhot: http://sark7.nm.ru/stuff/blackbird_110.png
Plugin: http://sark7.nm.ru/stuff/blackbird_110.zip

Installation:

1. Delete old blackbird plugin from eclipse.
1. Unzip blackbird_110.zip to eclipse folder.
2. Create a Simple Project (or whatever).
3. Right click on the project in resource navigator, and in context menu  
choose Toggle D Nature.
4. In project properties appears Blackbird D Builder.
5. Toggle off automatic building.
Enjoy :)

blackbird.builder catches up D output, and set corresponding markers to  
error files.
On assert it opens file & location where assert happens.

For markers highlighting in resource tree, I recommend to use JDT Packages  
View.
Jul 30 2005
next sibling parent reply "Shawn Liu" <liuxuhong.cn gmail.com> writes:
I found the simplest way to rebuild the project is "Project->Clean...".

Very nice ! Thanks!


- Shawn


"Ilya Zaitseff" <sark7 mail333.com> says :op.suqjecr2aaezs2 robingood...
 blackbird.antlr - (new) ANTLR classes export for blackbird.
 blackbird.editor - minor grammar bugs fixed.
 blackbird.builder - (new) experimental D builder.

 Screenhot: http://sark7.nm.ru/stuff/blackbird_110.png
 Plugin: http://sark7.nm.ru/stuff/blackbird_110.zip

 Installation:

 1. Delete old blackbird plugin from eclipse.
 1. Unzip blackbird_110.zip to eclipse folder.
 2. Create a Simple Project (or whatever).
 3. Right click on the project in resource navigator, and in context menu 
 choose Toggle D Nature.
 4. In project properties appears Blackbird D Builder.
 5. Toggle off automatic building.
 Enjoy :)

 blackbird.builder catches up D output, and set corresponding markers to 
 error files.
 On assert it opens file & location where assert happens.

 For markers highlighting in resource tree, I recommend to use JDT Packages 
 View. 
Jul 30 2005
parent reply "Ilya Zaitseff" <sark7 mail333.com> writes:
On Sun, 31 Jul 2005 13:17:00 +1100, Shawn Liu <liuxuhong.cn gmail.com>  
wrote:

 I found the simplest way to rebuild the project is "Project->Clean...".

 Very nice ! Thanks!


 - Shawn
Note: blackbird do not provides true "incremental building", on build event it just collect all .d files and send it to compiler as argument. 'Clean' just deletes all .obj, .map, .exe files before build. I think the simplest (and fastest for now <g>) way to compile project is Ctrl+B (and turn on Workbench->Save automatically before build). Also, blackbird have a launch configuration group for D. So you can create launch configuration, and run your program through Ctrl+F11.
Jul 31 2005
parent Hasan Aljudy <hasan.aljudy gmail.com> writes:
Ilya Zaitseff wrote:
 On Sun, 31 Jul 2005 13:17:00 +1100, Shawn Liu <liuxuhong.cn gmail.com>  
 wrote:
 
 I found the simplest way to rebuild the project is "Project->Clean...".

 Very nice ! Thanks!


 - Shawn
Note: blackbird do not provides true "incremental building", on build event it just collect all .d files and send it to compiler as argument. 'Clean' just deletes all .obj, .map, .exe files before build. I think the simplest (and fastest for now <g>) way to compile project is Ctrl+B (and turn on Workbench->Save automatically before build). Also, blackbird have a launch configuration group for D. So you can create launch configuration, and run your program through Ctrl+F11.
You can use the build tool .. it does the "incremental building" for you. Check it out on dsource. It's perfect for this case: use it exactly as you would use dmd.exe, just call it and pass it the .d files and the output filename, and you can even pass arguments to dmd through it.
Aug 05 2005
prev sibling next sibling parent Victor Nakoryakov <nail-mail mail.ru> writes:
Ilya Zaitseff wrote:
 blackbird.antlr - (new) ANTLR classes export for blackbird.
 blackbird.editor - minor grammar bugs fixed.
 blackbird.builder - (new) experimental D builder.
 
 Screenhot: http://sark7.nm.ru/stuff/blackbird_110.png
 Plugin: http://sark7.nm.ru/stuff/blackbird_110.zip
 
 Installation:
 
 1. Delete old blackbird plugin from eclipse.
 1. Unzip blackbird_110.zip to eclipse folder.
 2. Create a Simple Project (or whatever).
 3. Right click on the project in resource navigator, and in context 
 menu  choose Toggle D Nature.
 4. In project properties appears Blackbird D Builder.
 5. Toggle off automatic building.
 Enjoy :)
 
 blackbird.builder catches up D output, and set corresponding markers to  
 error files.
 On assert it opens file & location where assert happens.
 
 For markers highlighting in resource tree, I recommend to use JDT 
 Packages  View.
Great. Hope you will keep work and blackbird would not become desolated project like many others. -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Jul 31 2005
prev sibling next sibling parent reply Victor Nakoryakov <nail-mail mail.ru> writes:
Few notes:

Multiline strings are handled incorrectly by editor (they are 
highlighting not as quoted strings but as regular code) but handled 
correctly by the outliner.

And one more thing, can you add `bool` to keyword list? If Object, 
Exception, Error are in it I see no reason to exclude `bool` from this list.

-- 
Victor (aka nail) Nakoryakov
nail-mail<at>mail<dot>ru

Krasnoznamensk, Moscow, Russia
Jul 31 2005
parent "Ilya Zaitseff" <sark7 mail333.com> writes:
On Mon, 01 Aug 2005 00:31:08 +1100, Victor Nakoryakov <nail-mail mail.ru>  
wrote:

 Few notes:

 Multiline strings are handled incorrectly by editor (they are  
 highlighting not as quoted strings but as regular code) but handled  
 correctly by the outliner.

 And one more thing, can you add `bool` to keyword list? If Object,  
 Exception, Error are in it I see no reason to exclude `bool` from this  
 list.
Fixed. Update: http://sark7.nm.ru/stuff/blackbird_110_update1.zip. Just unzip & replace it to eclipse folder.
Jul 31 2005
prev sibling next sibling parent reply Victor Nakoryakov <nail-mail mail.ru> writes:
Yet another issues:

`while` is not keyword.

I'm not sure if it is an issue of eclipse itself or blackbird: when I 
double-click identifier it treat `_` as word separator and `.` is 
treated as part of identifier. E.g double clicking on `identifier` in

   some_identifier.some_method;

statement will select `identifier.some` but should `some_identifier`

-- 
Victor (aka nail) Nakoryakov
nail-mail<at>mail<dot>ru

Krasnoznamensk, Moscow, Russia
Aug 02 2005
parent Victor Nakoryakov <nail-mail mail.ru> writes:
 when I double-click identifier it treat `_` as word separator and `.` is
treated as part of identifier. E.g double clicking on `identifier` in
 
   some_identifier.some_method;
 
 statement will select `identifier.some` but should `some_identifier` 
Ok, you've fixed this, thanks. But using <ctrl> + left/right arrow still counts '_' as word delimiter (however dot is processing correctly). Is this a feature or bug? -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Aug 10 2005
prev sibling next sibling parent reply Victor Nakoryakov <nail-mail mail.ru> writes:
One more bug:

Outliner stops at $:

class A
{
	...
	void foo()
	{
		char[] s = "bla";
		char[] t = s[1..$];
	}
	...
}

All below `char[] t = s[1..$];` will be ignored by outliner.

-- 
Victor (aka nail) Nakoryakov
nail-mail<at>mail<dot>ru

Krasnoznamensk, Moscow, Russia
Aug 02 2005
parent reply "Ilya Zaitseff" <sark7 mail333.com> writes:
On Tue, 02 Aug 2005 23:34:51 +1100, Victor Nakoryakov <nail-mail mail.ru>  
wrote:

 One more bug:

 Outliner stops at $:

 class A
 {
 	...
 	void foo()
 	{
 		char[] s = "bla";
 		char[] t = s[1..$];
 	}
 	...
 }

 All below `char[] t = s[1..$];` will be ignored by outliner.
Fixed.
Aug 03 2005
parent reply Victor Nakoryakov <nail-mail mail.ru> writes:
Ilya Zaitseff wrote:
 On Tue, 02 Aug 2005 23:34:51 +1100, Victor Nakoryakov 
 <nail-mail mail.ru>  wrote:
 
 One more bug:

 Outliner stops at $:

 class A
 {
     ...
     void foo()
     {
         char[] s = "bla";
         char[] t = s[1..$];
     }
     ...
 }

 All below `char[] t = s[1..$];` will be ignored by outliner.
Fixed.
Thanx, would you publish result? -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Aug 04 2005
parent reply "Ilya Zaitseff" <sark7 mail333.com> writes:
On Thu, 04 Aug 2005 18:40:08 +1100, Victor Nakoryakov <nail-mail mail.ru>  
wrote:

 Ilya Zaitseff wrote:
 On Tue, 02 Aug 2005 23:34:51 +1100, Victor Nakoryakov  
 <nail-mail mail.ru>  wrote:

 One more bug:

 Outliner stops at $:

 class A
 {
     ...
     void foo()
     {
         char[] s = "bla";
         char[] t = s[1..$];
     }
     ...
 }

 All below `char[] t = s[1..$];` will be ignored by outliner.
Fixed.
Thanx, would you publish result?
http://sark7.nm.ru/stuff/blackbird_110_update2.zip Unzip & replace as usual. added: D Outline preference page (you may need to delete eclipse/configuration folder to get it working) - Filter imports, Link With Editor outline action, Show Source Of Selected Element Only main toolbar action. Thanks for bughunting.
Aug 04 2005
parent Victor Nakoryakov <nail-mail mail.ru> writes:
 
 Thanks for bughunting.
Not at all. ;) I think sooner or later you will damn me because of continual issues and wishes posts. :) -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Aug 05 2005
prev sibling next sibling parent reply Shawn Liu <Shawn_member pathlink.com> writes:
In article <op.suqjecr2aaezs2 robingood>, Ilya Zaitseff says...
blackbird.antlr - (new) ANTLR classes export for blackbird.
blackbird.editor - minor grammar bugs fixed.
blackbird.builder - (new) experimental D builder.

Screenhot: http://sark7.nm.ru/stuff/blackbird_110.png
Plugin: http://sark7.nm.ru/stuff/blackbird_110.zip
Great works! JDT use "Ctrl + /" to do a line comment/uncomment. It is very convenient and comfortable. I even customized UltraEdit to act this way. Hope blackbird can support this feature. Thanks!
Aug 04 2005
parent reply "Shawn Liu" <liuxuhong.cn gmail.com> writes:
"Shawn Liu" <Shawn_member pathlink.com>
写入消息新闻:dcugnh$1eq3$1 digitaldaemon.com...
 In article <op.suqjecr2aaezs2 robingood>, Ilya Zaitseff says...
blackbird.antlr - (new) ANTLR classes export for blackbird.
blackbird.editor - minor grammar bugs fixed.
blackbird.builder - (new) experimental D builder.

Screenhot: http://sark7.nm.ru/stuff/blackbird_110.png
Plugin: http://sark7.nm.ru/stuff/blackbird_110.zip
Great works! JDT use "Ctrl + /" to do a line comment/uncomment. It is very convenient and comfortable. I even customized UltraEdit to act this way. Hope blackbird can support this feature. Thanks!
Another feature request. The outline to support UTF-8 file format. Currently, blackbird can parse and syntax highlight correctly with UTF-8/UFT-16 format file. The outline works with UFT-16 format file. But outline is unavailable with UTF-8 format file. all the best, - Shawn Liu
Aug 05 2005
parent "Ilya Zaitseff" <sark7 mail333.com> writes:
On Sat, 06 Aug 2005 13:41:59 +1100, Shawn Liu <liuxuhong.cn gmail.com>  
wrote:

 Another feature request. The outline to support UTF-8 file format.

 Currently, blackbird can parse and syntax highlight correctly with
 UTF-8/UFT-16 format file.
 The outline works with UFT-16 format file. But outline is unavailable  
 with
 UTF-8 format file.


 all the best,

 - Shawn Liu
Strange. It works for me. The only problem can be with non-ascii identifiers - i'll try to fix that in 1.2
Aug 08 2005
prev sibling parent Victor Nakoryakov <nail-mail mail.ru> writes:
Again, I'm not sure if it is in your competence, but one thing in editor 
is very annoying.

When I press 'home' button cursor returns to very beginning of the line. 
But expected behaviour for me is to return to the position just before 
first non-whitespace character and if we are already on it 'home' should 
return us to the very beginning.

-- 
Victor (aka nail) Nakoryakov
nail-mail<at>mail<dot>ru

Krasnoznamensk, Moscow, Russia
Aug 10 2005