Archive for February, 2007
Monday, February 26th, 2007
Thomas Brix Larsen has release version 0.4 of eDitor. Here’s the change list:
Changes (0.31 to 0.4)
Features:
* Documentation browser.
* Prebuilt documentation for: D Language, Phobos and Tango.
* Shift+TAB unindents the current line or selection.
* T has (for now) been added as a D keyword.
* Will only show output window when in a project.
Bugfixes:
* Program title wasn’t set right when creating a new project.
Technorati Tags: D Programming Language, editors
Posted in News | No Comments »
Saturday, February 24th, 2007
Jascha Wetzel has released Ddbg 0.0.2.3 alpha. You can now integrate Ddbg with Code::Blocks. There is a caveat though — C::B compiles and links in separate phases and the default project settings (for D projects) don’t account for this when building in debug mode. This note from Vladimir Panteleev will straighten out those who can’t figure it out for themselves:
When building D programs from the CB IDE, you need to pass the -g parameter to DMD not just in the compilation phase, but in the link phase as well. Since with DMD, dmd.exe is the linker as well, you have to set the following options either in the project’s build options or in the global “Compiler and debugger” settings:
1) Compiler settings -> Compiler flags -> check “add symbolic debug info [-g]” (and, optionally, “compile in debug code [-debug])
2) Linker settings -> Other linker options - add “-g”.
Now, just set the debugger in Compiler settings -> Toolchain executables to ddbg_gdb.exe, and you should be able to debug your programs
In other news, Gregor has released DSSS 0.54 and Rebuild 0.12. The new DSSS release “fixes a number of bugs”, though it’s not clear to me what they are. From Gregor:
If you had issues you brought to my attention with 0.52, you should try 0.54.
Technorati Tags: D Programming Language, Code::Blocks, Ddbg, DSSS, Rebuild, debugging, debugger
Posted in News | No Comments »
Friday, February 23rd, 2007
Walter gave a presentation on advanced features of D last month at a Northwest C++ Users Group meeting. You can see a video of the presentation via Google and follow along with the “slides” (it’s a single page of HTML). If you aren’t running a dual monitor setup, you might want to print out the slide page. The slides are hard to see in the video. If you are a long-time user of D, you might not get anything out of it. Newcomers may find it a nice introduction to some of D’s more esoteric features. Honestly, I’m not too well-versed with templates so I actually did learn something.
Technorati Tags: D Programming Language, C++, Walter Bright, NWCPP, templates, tuples, mixins, presentation
Posted in News | No Comments »
Wednesday, February 21st, 2007
Jascha Wetzel has released version 0.0.2 of Ddbg, a debugger of D for Windows. The new release takes advantage of a fix in DMD 1.007 and to support evaluation of structs and classes.
Technorati Tags: D Programming Language, Debugging, Debuggers, debug
Posted in News | No Comments »
Wednesday, February 21st, 2007
Dig this:
- Comparison operators are no longer associative; comparison, equality, identity and in operators all have the same precedence.
- out and inout parameters are now allowed for compile time function execution.
- The .dup property is now allowed for compile time function execution.
- Updated lib to insert COMDATs into symbol table.
- Class references can no longer be implicitly converted to void*.
The compile time function enhancements are groovy, the first and last items appear to be bug prevention measures (also groovy), but the bit about the lib tool — if that is intended to fix what I think it is intended to fix (a long-standing issue with templates on Windows), then I’ll be doing back flips in a few minutes.
Several bugs have also been stomped. Get it while it’s hot (for the first time in a long time, I managed to catch the release early).
Technorati Tags: D Programming Language, DMD, Digital Mars, Walter Bright
Posted in DMD Releases | No Comments »