www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - blackbird 1.2 (beta)

reply "Ilya Zaitseff" <sark7 mail333.com> writes:
Ok, another beta release :)

http://sark7.nm.ru/stuff/blackbird_120.zip

NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take it  
 from previous releases.

Changes:

blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings

blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings

I don't know how stable is 1.2... anyway, blackbird needs refactoring :)
Aug 11 2005
next sibling parent reply Victor Nakoryakov <nail-mail mail.ru> writes:
Ilya Zaitseff wrote:
 Ok, another beta release :)
 
 http://sark7.nm.ru/stuff/blackbird_120.zip
 
 NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take 
 it  from previous releases.
 
 Changes:
 
 blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings
 
 blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings
Woohoo! Thanx for this great plugin. I'll wonder if somebody use something else for D coding (except true hackers that use (vi || emacs) && make :)). Smart word jumps are great, it is even better than in msvc. I'm not tested demangler yet, but sure this is very useful addition.
 I don't know how stable is 1.2... anyway, blackbird needs refactoring :)
Anyway I hope that the problem of refactoring would not be the reason of blackbird development termination. -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Aug 11 2005
parent "Ilya Zaitseff" <sark7 mail333.com> writes:
On Fri, 12 Aug 2005 01:25:05 +1100, Victor Nakoryakov <nail-mail mail.ru>  
wrote:

 Ilya Zaitseff wrote:
 Ok, another beta release :)
  http://sark7.nm.ru/stuff/blackbird_120.zip
  NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take  
 it  from previous releases.
  Changes:
  blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings
  blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings
Woohoo! Thanx for this great plugin. I'll wonder if somebody use something else for D coding (except true hackers that use (vi || emacs) && make :)). Smart word jumps are great, it is even better than in msvc. I'm not tested demangler yet, but sure this is very useful addition.
 I don't know how stable is 1.2... anyway, blackbird needs refactoring :)
Anyway I hope that the problem of refactoring would not be the reason of blackbird development termination.
Thanks for feedback!
Aug 11 2005
prev sibling next sibling parent Victor Nakoryakov <nail-mail mail.ru> writes:
Just note:

For those who have no effect after copying plugin into eclipse folder:
Run eclipse with '-clean' option.

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

Krasnoznamensk, Moscow, Russia
Aug 11 2005
prev sibling next sibling parent John Reimer <terminal.node gmail.com> writes:
Ilya Zaitseff wrote:
 Ok, another beta release :)
 
 http://sark7.nm.ru/stuff/blackbird_120.zip
 
 NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take 
 it  from previous releases.
 
 Changes:
 
 blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings
 
 blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings
 
 I don't know how stable is 1.2... anyway, blackbird needs refactoring :)
Thanks llya, It's the best plugin to date! :-) -JJR
Aug 12 2005
prev sibling next sibling parent reply Carlos Santander <csantander619 gmail.com> writes:
Ilya Zaitseff escribió:
 Ok, another beta release :)
 
 http://sark7.nm.ru/stuff/blackbird_120.zip
 
 NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take 
 it  from previous releases.
 
 Changes:
 
 blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings
 
 blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings
 
 I don't know how stable is 1.2... anyway, blackbird needs refactoring :)
I have a question: how do I compile from inside Eclipse? -- Carlos Santander Bernal
Aug 12 2005
parent reply "Ilya Zaitseff" <sark7 mail333.com> writes:
On Sat, 13 Aug 2005 10:52:18 +1100, Carlos Santander  
<csantander619 gmail.com> wrote:

 Ilya Zaitseff escribió:
 Ok, another beta release :)
  http://sark7.nm.ru/stuff/blackbird_120.zip
  NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take  
 it  from previous releases.
  Changes:
  blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings
  blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings
  I don't know how stable is 1.2... anyway, blackbird needs refactoring  
 :)
I have a question: how do I compile from inside Eclipse?
First. add DProjectBuilder to your project - In prject context on project choose Toggle D Nature. Second, turn off automatic build - in Project menu. Third, use Ctrl+B :)
Aug 13 2005
next sibling parent reply Carlos Santander <csantander619 gmail.com> writes:
Ilya Zaitseff escribió:
 
 First. add DProjectBuilder to your project - In prject context on 
 project  choose Toggle D Nature.
 
 Second, turn off automatic build - in Project menu.
 
 Third, use Ctrl+B :)
Thanks. Now, the problems. I can't seem to be able to use gdc. If I use gdmd, I get: Can't exec "gdc": No such file or directory at /usr/local/bin/gdmd line 75. Use of uninitialized value in scalar chomp at /usr/local/bin/gdmd line 76. Use of uninitialized value in pattern match (m//) at /usr/local/bin/gdmd line 77. Can't exec "gdc": No such file or directory at /usr/local/bin/gdmd line 80. Use of uninitialized value in scalar chomp at /usr/local/bin/gdmd line 81. Can't exec "gdc": No such file or directory at /usr/local/bin/gdmd line 262. When I use gdc, it works, but I don't know how to specify the output file. What variable can I use? Also, when I use build, I get "Error: The compiler '/opt/gdc/bin/gdc' was not found.", but when I type the command in a terminal, it works. Finally, Eclipse doesn't detect if the compilation has failed, so to rebuild I have to Clean and then Build. Is there a way this can be changed? -- Carlos Santander Bernal
Aug 13 2005
parent "Ilya Zaitseff" <sark7 mail333.com> writes:
On Sun, 14 Aug 2005 02:03:52 +1100, Carlos Santander  
<csantander619 gmail.com> wrote:

 Ilya Zaitseff escribió:
  First. add DProjectBuilder to your project - In prject context on  
 project  choose Toggle D Nature.
  Second, turn off automatic build - in Project menu.
  Third, use Ctrl+B :)
Thanks. Now, the problems. I can't seem to be able to use gdc. If I use gdmd, I get: Can't exec "gdc": No such file or directory at /usr/local/bin/gdmd line 75. Use of uninitialized value in scalar chomp at /usr/local/bin/gdmd line 76. Use of uninitialized value in pattern match (m//) at /usr/local/bin/gdmd line 77. Can't exec "gdc": No such file or directory at /usr/local/bin/gdmd line 80. Use of uninitialized value in scalar chomp at /usr/local/bin/gdmd line 81. Can't exec "gdc": No such file or directory at /usr/local/bin/gdmd line 262. When I use gdc, it works, but I don't know how to specify the output file. What variable can I use? Also, when I use build, I get "Error: The compiler '/opt/gdc/bin/gdc' was not found.", but when I type the command in a terminal, it works. Finally, Eclipse doesn't detect if the compilation has failed, so to rebuild I have to Clean and then Build. Is there a way this can be changed?
Looks like linux-specific problems. Do you try it on windows box? Blackbird just executes compiler with arguments from the project folder. Various compiler preferences can be found in Preferences->Blackbird->D Compiler.
Aug 14 2005
prev sibling parent reply Carlos Santander <csantander619 gmail.com> writes:
Ilya Zaitseff escribió:
 
 First. add DProjectBuilder to your project - In prject context on 
 project  choose Toggle D Nature.
 
 Second, turn off automatic build - in Project menu.
 
 Third, use Ctrl+B :)
Also, would it be possible to double-click in a Console line after a build and go to the file and line number where the error is? And, is there something special needed to run the generated application? It's not showing anything in the console when I try to run it. -- Carlos Santander Bernal
Aug 13 2005
next sibling parent reply Carlos Santander <csantander619 gmail.com> writes:
Carlos Santander escribió:
 
 And, is there something special needed to run the generated application? 
 It's not showing anything in the console when I try to run it.
 
Small update: that wasn't completely true. Nothing's written when I try to do din.readLine() or scanf() or getchar(), etc. If I just printf, writef, dout.writef, etc., it works. Has anyone else noticed this? -- Carlos Santander Bernal
Aug 13 2005
parent "Ilya Zaitseff" <sark7 mail333.com> writes:
On Sun, 14 Aug 2005 12:46:28 +1100, Carlos Santander  
<csantander619 gmail.com> wrote:

 Carlos Santander escribió:
  And, is there something special needed to run the generated  
 application? It's not showing anything in the console when I try to run  
 it.
Small update: that wasn't completely true. Nothing's written when I try to do din.readLine() or scanf() or getchar(), etc. If I just printf, writef, dout.writef, etc., it works. Has anyone else noticed this?
I dont completely understand you. Try it on the windows box.
Aug 14 2005
prev sibling parent reply "Ilya Zaitseff" <sark7 mail333.com> writes:
On Sun, 14 Aug 2005 02:14:28 +1100, Carlos Santander  
<csantander619 gmail.com> wrote:

 Ilya Zaitseff escribió:
  First. add DProjectBuilder to your project - In prject context on  
 project  choose Toggle D Nature.
  Second, turn off automatic build - in Project menu.
  Third, use Ctrl+B :)
Also, would it be possible to double-click in a Console line after a build and go to the file and line number where the error is?
Errors are listed on the Problems tab. And, yes, the compiler output (if showed) is tracked. If you want to see DMD output in console, check Preferences->Blackbird->D Compiler->Show compiler output in console.
 And, is there something special needed to run the generated application?  
 It's not showing anything in the console when I try to run it.
There is standard Eclipse launch configuration named D Application. After tuning it, use standard shrtcut Ctrl+F11.
Aug 14 2005
parent reply Carlos Santander <csantander619 gmail.com> writes:
I'll reply here to all of your posts.

Ilya Zaitseff escribió:
 
 Errors are listed on the Problems tab.
 And, yes, the compiler output (if showed) is tracked.
 If you want to see DMD output in console, check 
 Preferences->Blackbird->D  Compiler->Show compiler output in console.
I can see that. I was asking for the possibility to double-click on the error produced by the compiler and go to the corresponding line and file.
 
 There is standard Eclipse launch configuration named D Application.
 After tuning it, use standard shrtcut Ctrl+F11.
Ok. But I have to configure this for every application I want to launch. Can this be automated?
 Looks like linux-specific problems.
 Do you try it on windows box? 
I'm on Mac and I don't have access to Windows or Linux ATM. Regarding console output, take this: //------------------------------------------ import std.stdio; void main() { writefln("hi"); getchar(); // 6 } //------------------------------------------ If line 6 is commented, and I run the application, I see "hi" in the console output, but if I uncomment it, nothing is shown, and the application keeps running until I manually end it. One more thing: the Outline doesn't show what it should in the presence of overloaded templates. It only shows the first one. -- Carlos Santander Bernal
Aug 18 2005
parent reply "Ilya Zaitseff" <sark7 mail333.com> writes:
On Fri, 19 Aug 2005 04:13:22 +1100, Carlos Santander  
<csantander619 gmail.com> wrote:

 I'll reply here to all of your posts.

 Ilya Zaitseff escribió:
  Errors are listed on the Problems tab.
 And, yes, the compiler output (if showed) is tracked.
 If you want to see DMD output in console, check  
 Preferences->Blackbird->D  Compiler->Show compiler output in console.
I can see that. I was asking for the possibility to double-click on the error produced by the compiler and go to the corresponding line and file.
? Such possibility already exists by default. Did you try to double-click on the error? Eclipse must go to corresponding location. One thing: Eclipse can turn on filtering of D errors - turn it off in Problems->Filters.
  There is standard Eclipse launch configuration named D Application.
 After tuning it, use standard shrtcut Ctrl+F11.
Ok. But I have to configure this for every application I want to launch. Can this be automated?
I dont know what you are asking for. D Application configuration is just like any other Eclipse run configurations (in JDT, CDT etc)
 Looks like linux-specific problems.
 Do you try it on windows box?
I'm on Mac and I don't have access to Windows or Linux ATM. Regarding console output, take this: //------------------------------------------ import std.stdio; void main() { writefln("hi"); getchar(); // 6 } //------------------------------------------ If line 6 is commented, and I run the application, I see "hi" in the console output, but if I uncomment it, nothing is shown, and the application keeps running until I manually end it.
This is due to writefln() do not performs flushing. Try to insert flushall() after writefln().
 One more thing: the Outline doesn't show what it should in the presence  
 of overloaded templates. It only shows the first one.
Did you mean: template A(X, Y) { } template A(X) { } ? Outline works correctly for me.
Aug 18 2005
next sibling parent Carlos Santander <csantander619 gmail.com> writes:
Ilya Zaitseff escribió:
 
 Did you mean:
 
 template A(X, Y) {
 }
 
 template A(X) {
 }
 
 ?
 
 Outline works correctly for me.
Try this: //------------------------------ template Template(T, C) { void foo(int i) { int í; } } template Template(T) { void foo(int i) { } } //------------------------------ The problem seems to be the í. -- Carlos Santander Bernal
Aug 19 2005
prev sibling parent Carlos Santander <csantander619 gmail.com> writes:
Ilya Zaitseff escribió:
 
 
 ?
 Such possibility already exists by default.
 Did you try to double-click on the error? Eclipse must go to 
 corresponding  location.
It doesn't work for me.
 
 One thing: Eclipse can turn on filtering of D errors - turn it off in  
 Problems->Filters.
 
I don't know where that is. -- Carlos Santander Bernal
Aug 19 2005
prev sibling next sibling parent reply "Shawn Liu" <liuxuhong.cn gmail.com> writes:
outline break at "finally".

Outline break at a try.. catch.. finally block.

Dose anybody encounter this or just in my environment?


"Ilya Zaitseff" <sark7 mail333.com> wrote :op.svcihwrhaaezs2 robingood...
 Ok, another beta release :)

 http://sark7.nm.ru/stuff/blackbird_120.zip

 NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take it 
 from previous releases.

 Changes:

 blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings

 blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings

 I don't know how stable is 1.2... anyway, blackbird needs refactoring :) 
Aug 13 2005
parent "Ilya Zaitseff" <sark7 mail333.com> writes:
On Sun, 14 Aug 2005 01:19:32 +1100, Shawn Liu <liuxuhong.cn gmail.com>  
wrote:

 outline break at "finally".

 Outline break at a try.. catch.. finally block.

 Dose anybody encounter this or just in my environment?


 "Ilya Zaitseff" <sark7 mail333.com> wrote :op.svcihwrhaaezs2 robingood...
 Ok, another beta release :)

 http://sark7.nm.ru/stuff/blackbird_120.zip

 NOTE: This beta release DOES NOT include blackbird.antlr plugin. Take it
 from previous releases.

 Changes:

 blackbird.editor :
   fixed minor grammar bugs, updated to 0.129 strings postfixes;
   fixed problem with non-ascii identifiers;
   added source commenting/uncommenting (Ctrl+/),
     smart word next/prev jump, smart home/end jump as in JDT,
     new preference settings

 blackbird.builder :
   added experimental demangler of undefined symbols in link errors,
   new preference settings

 I don't know how stable is 1.2... anyway, blackbird needs refactoring :)
Fixed.
Aug 14 2005
prev sibling parent reply Victor Nakoryakov <nail-mail mail.ru> writes:
One issue with smart home/end. It is little unintuitive that if cursor 
stays on the line with tabs only in the middle pressing 'end' causes it 
to return to the line beginning. E.g.

[tab][tab]|[tab]
           ^

After pressing 'end' the image is following

|[tab][tab][tab]
^

Is this expected? If yes I think it is not very convenient otherwise 
this is a bug.

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

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

 One issue with smart home/end. It is little unintuitive that if cursor  
 stays on the line with tabs only in the middle pressing 'end' causes it  
 to return to the line beginning. E.g.

 [tab][tab]|[tab]
            ^

 After pressing 'end' the image is following

 |[tab][tab][tab]
 ^

 Is this expected? If yes I think it is not very convenient otherwise  
 this is a bug.
It is intended behavior. First 'end' jumps to last non-whitespace symbol. If the caret in the beginning of line, is jumps to any last symbol - so just press 'end' 2 times in your case :) I can fix it, but such behavior is JDT-compliant, so I think it is a "good thing" (tm) :)
Aug 15 2005
parent Victor Nakoryakov <nail-mail mail.ru> writes:
Ilya Zaitseff wrote:
 On Tue, 16 Aug 2005 02:38:13 +1100, Victor Nakoryakov 
 <nail-mail mail.ru>  wrote:
 
 One issue with smart home/end. It is little unintuitive that if 
 cursor  stays on the line with tabs only in the middle pressing 'end' 
 causes it  to return to the line beginning. E.g.

 [tab][tab]|[tab]
            ^

 After pressing 'end' the image is following

 |[tab][tab][tab]
 ^

 Is this expected? If yes I think it is not very convenient otherwise  
 this is a bug.
It is intended behavior. First 'end' jumps to last non-whitespace symbol. If the caret in the beginning of line, is jumps to any last symbol - so just press 'end' 2 times in your case :) I can fix it, but such behavior is JDT-compliant, so I think it is a "good thing" (tm) :)
Maybe, maybe... But it would be so great to add few checkboxes in preference page that will allow to control smart behaviour. JDT style 'end' / MSVC style 'end'. Treat IdentifierInCamlCase as many tokens while ctrl+arrows pressing / treat as one. -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Aug 15 2005