digitalmars.D.announce - D-Scanner 0.1.0-beta3 and DCD 0.3.0-beta4
- Brian Schott (62/62) Mar 05 2014 New betas are available for both tools. Hopefully no more bugs
- Mike (3/5) Mar 05 2014 Thank you, this is a valuable tool for me.
- Jussi Jumppanen (21/25) Mar 06 2014 On building this zip file:
- develop32 (6/8) Mar 06 2014 I fixed that by adding cast(size_t) at that location.
- Brian Schott (4/13) Mar 06 2014 Is this a compiler bug? The -g switch should not break anything.
- Brian Schott (3/6) Mar 06 2014 This is fixed on the master branch and will be included in the
- Jussi Jumppanen (30/32) Mar 06 2014 The master branch zip file fixed the compile issue but the linker
- Jussi Jumppanen (30/30) Mar 09 2014 As develop32 mention earlier in this, running the build with the
- Jussi Jumppanen (10/10) Mar 20 2014 The latest Zeus IDE beta adds support for DCD document comment
New betas are available for both tools. Hopefully no more bugs will be found. I plan to tag these as non-beta this Saturday. https://github.com/Hackerpilot/Dscanner/tree/0.1.0-beta3 https://github.com/Hackerpilot/DCD/tree/0.3.0-beta4 D-Scanner changes: * Various DDoc fixes * Fixed various static analysis checks * Removed some files that should not have been checked in declarations left-associative expressions range statement AST node to not be set a statement * Fixed an issue causing stdx.lexer to fail if no "possibleDefaultTokens" were supplied stored * Enhanced lexer string interning to be lock-free * Parser can now use allocators from std.allocator * Attach doc comments to alias declarations * Fix static analysis crash caused by number literals with suffixes character literals DCD changes: imported modules. Aliases like "string" now work as expected without import statements. structs * DDoc and refactoring work * Updated list of __traits for 2.065 compiler release * Update to D-Scanner 0.1.0-beta3 to get various lexer, parser, and AST fixes Thanks to the various people who have contributed to these projects: https://github.com/Hackerpilot/Dscanner/graphs/contributors https://github.com/Hackerpilot/DCD/graphs/contributors
Mar 05 2014
On Wednesday, 5 March 2014 at 08:37:28 UTC, Brian Schott wrote:New betas are available for both tools. Hopefully no more bugs will be found. I plan to tag these as non-beta this Saturday.Thank you, this is a valuable tool for me. Mike
Mar 05 2014
On Wednesday, 5 March 2014 at 08:37:28 UTC, Brian Schott wrote:New betas are available for both tools. Hopefully no more bugs will be found. I plan to tag these as non-beta this Saturday. https://github.com/Hackerpilot/Dscanner/tree/0.1.0-beta3 https://github.com/Hackerpilot/DCD/tree/0.3.0-beta4On building this zip file: https://github.com/Hackerpilot/DCD/archive/0.3.0-beta4.zip It generates this compiler error: D:\projects\dcd\DCD>build.bat D:\projects\dcd\DCD>dmd -wi client.d messages.d stupidlog.d msgpack-d/src/msgpack.d -Imsgpack-d/src -release -inline -noboundscheck -O -ofdcd-client.exe D:\projects\dcd\DCD>dmd actypes.d conversion/astconverter.d conversion/first.d conversion/second.d conversion/third.d autocomplete.d constants.d messages.d modulecache.d semantic.d server.d stupidlog.d dscanner/stdx/d/ast.d dscanner/stdx/d/entities.d dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d dscanner/stdx/lexer.d dscanner/stdx/allocator.d dscanner/formatter.d msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner -wi -g -O -release -noboundscheck -inline -ofdcd-server.exe modulecache.d(138): Error: cannot implicitly convert expression (f.size()) of type ulong to uint Cheers Jussi
Mar 06 2014
On Thursday, 6 March 2014 at 13:36:46 UTC, Jussi Jumppanen wrote:modulecache.d(138): Error: cannot implicitly convert expression (f.size()) of type ulong to uintI fixed that by adding cast(size_t) at that location. But after fixing that problem the build still fails, I had to remove -g flag in build.bat file. I assume it was added by mistake? The problem appears on Windows 7 32bit.
Mar 06 2014
On Thursday, 6 March 2014 at 14:13:57 UTC, develop32 wrote:On Thursday, 6 March 2014 at 13:36:46 UTC, Jussi Jumppanen wrote:Is this a compiler bug? The -g switch should not break anything. I left it there because this is a beta and I'd prefer that people be able to give me useful bug reports more easily.modulecache.d(138): Error: cannot implicitly convert expression (f.size()) of type ulong to uintI fixed that by adding cast(size_t) at that location. But after fixing that problem the build still fails, I had to remove -g flag in build.bat file. I assume it was added by mistake? The problem appears on Windows 7 32bit.
Mar 06 2014
On Thursday, 6 March 2014 at 13:36:46 UTC, Jussi Jumppanen wrote:modulecache.d(138): Error: cannot implicitly convert expression (f.size()) of type ulong to uint Cheers JussiThis is fixed on the master branch and will be included in the next beta / final release.
Mar 06 2014
On Thursday, 6 March 2014 at 19:11:19 UTC, Brian Schott wrote:This is fixed on the master branch and will be included in the next beta / final release.The master branch zip file fixed the compile issue but the linker now fails with this link error: OPTLINK (R) for Win32 Release 8.00.15 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html dcd-server.obj(dcd-server) Error 42: Symbol Undefined __aligned_malloc dcd-server.obj(dcd-server) Error 42: Symbol Undefined __aligned_free dcd-server.obj(dcd-server) Error 42: Symbol Undefined __aligned_realloc --- errorlevel 3 The project was build as follows: D:\projects\dcd\DCD>dmd actypes.d conversion/astconverter.d conversion/first.d conversion/second.d conversion/third.d au tocomplete.d constants.d messages.d modulecache.d semantic.d server.d stupidlog.d dscanner/stdx/d/ast.d dscanner/stdx/d/ entities.d dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d dscanner/stdx/lexer.d dscanner/stdx/allocator.d dscanner/for matter.d msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner -wi -g -O -release -noboundscheck -inline -ofdcd-server.exe Using this version of the compiler: DMD32 D Compiler v2.065 Copyright (c) 1999-2013 by Digital Mars written by Walter Bright Documentation: http://dlang.org/ Usage: dmd files.d ... { -switch } Cheers Jussi
Mar 06 2014
As develop32 mention earlier in this, running the build with the -g option causes this linker error: D:\projects\dcd\DCD>dmd actypes.d conversion/astconverter.d conversion/first.d conversion/second.d conversion/third.d au tocomplete.d constants.d messages.d modulecache.d semantic.d server.d stupidlog.d dscanner/stdx/d/ast.d dscanner/stdx/d/ entities.d dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d dscanner/stdx/lexer.d dscanner/stdx/allocator.d dscanner/for matter.d msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner -wi -O -release -noboundscheck -inline -g -ofdcd-server.exe OPTLINK (R) for Win32 Release 8.00.15 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html dcd-server.obj(dcd-server) Error 42: Symbol Undefined __aligned_malloc dcd-server.obj(dcd-server) Error 42: Symbol Undefined __aligned_free dcd-server.obj(dcd-server) Error 42: Symbol Undefined __aligned_realloc --- errorlevel 3 Without the -g option the link goes fine: D:\projects\dcd\DCD>dmd actypes.d conversion/astconverter.d conversion/first.d conversion/second.d conversion/third.d au tocomplete.d constants.d messages.d modulecache.d semantic.d server.d stupidlog.d dscanner/stdx/d/ast.d dscanner/stdx/d/ entities.d dscanner/stdx/d/lexer.d dscanner/stdx/d/parser.d dscanner/stdx/lexer.d dscanner/stdx/allocator.d dscanner/for matter.d msgpack-d/src/msgpack.d -Imsgpack-d/src -Idscanner -wi -O -release -noboundscheck -inline -ofdcd-server.exe Cheers Jussi
Mar 09 2014
The latest Zeus IDE beta adds support for DCD document comment completion. Zeus already has support for DCD goto definition, brace and dot completion. For more details refer to this link: http://www.zeusedit.com/zforum/viewtopic.php?p=10795 NOTE: Zeus is shareware, runs natively on the Windows and can run on Linux using Wine. Jussi Jumppanen Author: Zeus Editor
Mar 20 2014