www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - New D tool releases

reply Brian Schott <briancschott gmail.com> writes:
Please see the Github links for a list of changes and issues 
resolved.

You may notice that they're all in Dub now. The real Brian is in 
cryo-stasis in case we need him later. In order to not arouse too 
much suspicion about shape-shifters these projects can still be 
built with git and make.

dfmt: Code formatter
0.4.2
http://code.dlang.org/packages/dfmt
https://github.com/Hackerpilot/dfmt/releases/tag/v0.4.2

dfix: Code upgrader
0.3.1
http://code.dlang.org/packages/dfix
https://github.com/Hackerpilot/dfix/releases/tag/v0.3.1

DCD: Auto-completion system
0.7.4
http://code.dlang.org/packages/dcd
https://github.com/Hackerpilot/DCD/releases/tag/v0.7.4

D-Scanner: D Lint/analysis tool
0.3.0
http://code.dlang.org/packages/dscanner
https://github.com/Hackerpilot/Dscanner/releases/tag/v0.3.0

libdparse: D Lexer/parser/AST library
0.3.0
http://code.dlang.org/packages/libdparse
https://github.com/Hackerpilot/libdparse/releases/tag/v0.3.0

dsymbol: Symbol resolution code used by DCD and D-Scanner
0.1.0
http://code.dlang.org/packages/dsymbol
https://github.com/Hackerpilot/dsymbol/releases
Jan 14 2016
next sibling parent tsbockman <thomas.bockman gmail.com> writes:
On Thursday, 14 January 2016 at 09:05:09 UTC, Brian Schott wrote:
 Please see the Github links for a list of changes and issues 
 resolved.

 You may notice that they're all in Dub now. The real Brian is 
 in cryo-stasis in case we need him later. In order to not 
 arouse too much suspicion about shape-shifters these projects 
 can still be built with git and make.

 DCD: Auto-completion system
 0.7.4
 http://code.dlang.org/packages/dcd
 https://github.com/Hackerpilot/DCD/releases/tag/v0.7.4
Trying to build DCD with LDC, I get: ../msgpack-d-1.0.0-beta.2/src/msgpack.d(102): Error: cannot implicitly convert expression (classInfo.init()[]) of type const(void)[] to byte[] I fixed it by changing: (cast(byte*)obj)[0..classInfo.init.length] = classInfo.init[]; To: (cast(void*)obj)[0..classInfo.init.length] = classInfo.init[]; Aside from that, everything else builds without any tweaks.
Jan 14 2016
prev sibling next sibling parent reply tsbockman <thomas.bockman gmail.com> writes:
On Thursday, 14 January 2016 at 09:05:09 UTC, Brian Schott wrote:
 dfmt: Code formatter
 0.4.2
 http://code.dlang.org/packages/dfmt
 https://github.com/Hackerpilot/dfmt/releases/tag/v0.4.2
You forgot to bump the version number: dfmt --version 0.4.1
Jan 14 2016
parent Brian Schott <briancschott gmail.com> writes:
On Thursday, 14 January 2016 at 10:41:50 UTC, tsbockman wrote:
 You forgot to bump the version number:
Fixed.
Jan 14 2016
prev sibling next sibling parent reply Suliman <evermind live.ru> writes:
 dsymbol: Symbol resolution code used by DCD and D-Scanner
Could anybody explain where it can be helpful and how it's work?
Jan 14 2016
parent Vadim Lopatin <coolreader.org gmail.com> writes:
On Thursday, 14 January 2016 at 13:27:40 UTC, Suliman wrote:
 dsymbol: Symbol resolution code used by DCD and D-Scanner
Could anybody explain where it can be helpful and how it's work?
dfmt: formats source code dfix: helps to migrate your code from older compiler versions to newer D-Scanner: scans D project for potential problems/bugs
Jan 14 2016
prev sibling next sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 01/14/2016 04:05 AM, Brian Schott wrote:
 Please see the Github links for a list of changes and issues resolved.

 You may notice that they're all in Dub now. The real Brian is in
 cryo-stasis in case we need him later. In order to not arouse too much
 suspicion about shape-shifters these projects can still be built with
 git and make.
Congrats! Could you please let the real Brian know we're waiting for a solution to include all of these tools in our official tools/ repo. Thanks! -- Andrei
Jan 14 2016
next sibling parent =?UTF-8?B?w5hpdmluZA==?= <oivind.loe gmail.com> writes:
On Thursday, 14 January 2016 at 15:18:09 UTC, Andrei Alexandrescu 
wrote:
 On 01/14/2016 04:05 AM, Brian Schott wrote:
 Please see the Github links for a list of changes and issues 
 resolved.

 You may notice that they're all in Dub now. The real Brian is 
 in
 cryo-stasis in case we need him later. In order to not arouse 
 too much
 suspicion about shape-shifters these projects can still be 
 built with
 git and make.
Congrats! Could you please let the real Brian know we're waiting for a solution to include all of these tools in our official tools/ repo. Thanks! -- Andrei
+1
Jan 14 2016
prev sibling next sibling parent Brad Anderson <eco gnuk.net> writes:
On Thursday, 14 January 2016 at 15:18:09 UTC, Andrei Alexandrescu 
wrote:
 On 01/14/2016 04:05 AM, Brian Schott wrote:
 Please see the Github links for a list of changes and issues 
 resolved.

 You may notice that they're all in Dub now. The real Brian is 
 in
 cryo-stasis in case we need him later. In order to not arouse 
 too much
 suspicion about shape-shifters these projects can still be 
 built with
 git and make.
Congrats! Could you please let the real Brian know we're waiting for a solution to include all of these tools in our official tools/ repo. Thanks! -- Andrei
I'm not sure it makes sense to stick them all in one repo. Under D-Programming-Language might be nice to give them stamp of officiality. Once we include dub getting them all is pretty trivial (e.g., dub fetch dfmt). The execution syntax is a little awkward though (i.e. dub run dfmt -- --help).
Jan 14 2016
prev sibling parent reply Vladimir Panteleev <thecybershadow.lists gmail.com> writes:
On Thursday, 14 January 2016 at 15:18:09 UTC, Andrei Alexandrescu 
wrote:
 On 01/14/2016 04:05 AM, Brian Schott wrote:
 Please see the Github links for a list of changes and issues 
 resolved.

 You may notice that they're all in Dub now. The real Brian is 
 in
 cryo-stasis in case we need him later. In order to not arouse 
 too much
 suspicion about shape-shifters these projects can still be 
 built with
 git and make.
Congrats! Could you please let the real Brian know we're waiting for a solution to include all of these tools in our official tools/ repo. Thanks! -- Andrei
What will be gained by doing so? Can we add them as submodules and then just add them to the makefiles / build scripts? I think this would have been a better way to include DustMite too.
Jan 14 2016
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 01/15/2016 12:52 AM, Vladimir Panteleev wrote:
 What will be gained by doing so?

 Can we add them as submodules and then just add them to the makefiles /
 build scripts? I think this would have been a better way to include
 DustMite too.
That would work, too! -- Andrei
Jan 15 2016
parent reply Suliman <evermind live.ru> writes:
On Friday, 15 January 2016 at 13:00:14 UTC, Andrei Alexandrescu 
wrote:
 On 01/15/2016 12:52 AM, Vladimir Panteleev wrote:
 What will be gained by doing so?

 Can we add them as submodules and then just add them to the 
 makefiles /
 build scripts? I think this would have been a better way to 
 include
 DustMite too.
That would work, too! -- Andrei
Do you have any plans to include all this stuff to DMD distrib?
Jan 15 2016
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 01/15/2016 08:24 AM, Suliman wrote:
 On Friday, 15 January 2016 at 13:00:14 UTC, Andrei Alexandrescu wrote:
 On 01/15/2016 12:52 AM, Vladimir Panteleev wrote:
 What will be gained by doing so?

 Can we add them as submodules and then just add them to the makefiles /
 build scripts? I think this would have been a better way to include
 DustMite too.
That would work, too! -- Andrei
Do you have any plans to include all this stuff to DMD distrib?
I have had for a good while and shared them too. The difficulty is in the details. -- Andrei
Jan 15 2016
prev sibling parent reply Basile B. <b2.temp gmx.com> writes:
On Thursday, 14 January 2016 at 09:05:09 UTC, Brian Schott wrote:
 Please see the Github links for a list of changes and issues 
 resolved.

 DCD: Auto-completion system
 0.7.4
 http://code.dlang.org/packages/dcd
 https://github.com/Hackerpilot/DCD/releases/tag/v0.7.4
During the latest two or three hours I've encountered several DCD crashes, does anyone else noticed a stability problem with this version ? 1 full week and it never crashed. but since this fix: - I've almost never used it (except latest two or three hours), - I've build with dmd 2.070-b1
Jan 14 2016
next sibling parent reply Basile B. <b2.temp gmx.com> writes:
On Friday, 15 January 2016 at 05:58:01 UTC, Basile B. wrote:
 but since this fix:
 - I've almost never used it (except latest two or three hours), 

 - I've build with dmd 2.070-b1
By chance it' has happend again while the console was opened: --- 2016-01-15T07:15:45.431:autocomplete.d:getSymbolsByTokenChain:743 Could not find declaration of "primg.txt" from position 919 2016-01-15T07:15:45.431:autocomplete.d:getDoc:67 Could not find symbol 2016-01-15T07:15:45.431:server.d:main:247 Request processed in 4.87149 milliseconds 2016-01-15T07:15:47.209:server.d:main:108 Shutting down sockets... 2016-01-15T07:15:47.209:server.d:main:111 Sockets shut down. core.exception.RangeError src/server/autocomplete.d(754): Range violation ---------------- ??:? _d_arraybounds [0x8fad13] ??:? server.autocomplete.__array [0x848b6c] ??:? pure nothrow nogc safe void server.autocomplete.getSymbolsByTokenChain!(std.range.__T11SortedRangeTAxS3std12experimental5lexer641__T14TokenStructureThVAyaa305_0a20202020737472696e6720636f6d6d656e743b0a20202020737472696e6720747261696c696e67436f6d6d656e743b0a0a20202020696e74206f70436d702873697a655f7420692920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202069662028696e646578203c2069292072657475726e202d313b0a202020202020202069662028696e646578203e2069292072657475726e20313b0a202020202020202072657475726e20303b0a202020207d0a0a20202020696e74206f70436d702872656620636f6e737420747970656f66287468697329206f746865722920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202072657475726e206f70436d70286f746865722e696e646578293b0a202020207d0aZ14TokenStructureVAyaa5_61203c2062Z.SortedRange).getSymbolsByTokenChain(ds mbol.scope_.Scope*, std.range.__T11SortedRangeTAxS3std12experimental5lexer641__T14TokenStructureThVAyaa305_0a20202020737472696e6720636f6d6d656e743b0a20202020737472696e6720747261696c696e67436f6d6d656e743b0a0a20202020696e74206f70436d702873697a655f7420692920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202069662028696e646578203c2069292072657475726e202d313b0a202020202020202069662028696e646578203e2069292072657475726e20313b0a202020202020202072657475726e20303b0a202020207d0a0a20202020696e74206f70436d702872656620636f6e737420747970656f66287468697329206f746865722920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202072657475726e206f70436d70286f74686 ??:? dsymbol.symbol.DSymbol*[] server.autocomplete.getSymbolsByTokenChain!(std.range.__T11SortedRangeTAxS3std12experimental5lexer641__T14TokenStructureThVAyaa305_0a20202020737472696e6720636f6d6d656e743b0a20202020737472696e6720747261696c696e67436f6d6d656e743b0a0a20202020696e74206f70436d702873697a655f7420692920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202069662028696e646578203c2069292072657475726e202d313b0a202020202020202069662028696e646578203e2069292072657475726e20313b0a202020202020202072657475726e20303b0a202020207d0a0a20202020696e74206f70436d702872656620636f6e737420747970656f66287468697329206f746865722920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202072657475726e206f70436d70286f746865722e696e646578293b0a202020207d0aZ14TokenStructureVAyaa5_61203c2062Z.SortedRange).getSymbolsByTokenChain(ds mbol.scope_.Scope*, std.range.__T11SortedRangeTAxS3std12experimental5lexer641__T14TokenStructureThVAyaa305_0a20202020737472696e6720636f6d6d656e743b0a20202020737472696e6720747261696c696e67436f6d6d656e743b0a0a20202020696e74206f70436d702873697a655f7420692920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202069662028696e646578203c2069292072657475726e202d313b0a202020202020202069662028696e646578203e2069292072657475726e20313b0a202020202020202072657475726e20303b0a202020207d0a0a20202020696e74206f70436d702872656620636f6e737420747970656f66287468697329206f746865722920636f6e73742070757265206e6f7468726f77204073616665207b0a202020202020202072657475726e206f70436d70286f746865722 ??:? common.messages.AutocompleteResponse server.autocomplete.findDeclaration(const(common.messages.AutocompleteRequest), ref dsymbol.modulecache.ModuleCache) [0x7ef19f] ??:? _Dmain [0x849b1c] ??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv [0x8fcd42] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x8fcc80] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() [0x8fccfe] ??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x8fcc80] ??:? _d_run_main [0x8fcbdd] ??:? main [0x84f55d] ??:? __libc_start_main [0x804dbb04] ---
Jan 14 2016
parent reply Brian Schott <briancschott gmail.com> writes:
On Friday, 15 January 2016 at 06:27:23 UTC, Basile B. wrote:
 By chance it' has happend again while the console was opened:
The announce newsgroup is not a bug tracker, but this is: https://github.com/Hackerpilot/DCD/issues
Jan 14 2016
parent Basile B. <b2.temp gmx.com> writes:
On Friday, 15 January 2016 at 07:17:42 UTC, Brian Schott wrote:
 On Friday, 15 January 2016 at 06:27:23 UTC, Basile B. wrote:
 By chance it' has happend again while the console was opened:
The announce newsgroup is not a bug tracker, but this is: https://github.com/Hackerpilot/DCD/issues
Sorry my intention was just to get the attention of other users since I'm not sure if it comes from dmd 2.070-b1. Also I won't be able to file a good issue before several days, anyway maybe it'll be enough.
Jan 15 2016
prev sibling parent Basile B. <b2.temp gmx.com> writes:
just a "hot" fix since previous announce.

https://github.com/Hackerpilot/DCD/releases/tag/v0.7.5
Jan 15 2016