Wednesday, November 28th, 2007
Walter has released new versions of both branches of D. The stable 1.024 compiler has gotten a handful of bug fixes and an overhaul of coverage analysis. The developmental 2.008 compiler gets the same and, additionally, sports a host of changes and new features in Phobos. Most notably, though, 2.008 incoporates the reworked const/invariant system Walter has mentioned in the NG.
Remember, if you are new to D or using it for production code you will most likely want the 1.024 version. The 2.x series is pre-alpha yet and is in a constant state of evolution.
Technorati Tags: D Programming Language, DMD, Digital Mars, Walter Bright
Posted in DMD Releases, News | 1 Comment »
Wednesday, November 28th, 2007
D’s standard library, Phobos, has always been open source as part of the DMD compiler distribution. Now, it has a home on DSource. It will be interesting to see where this leads.
Technorati Tags: D Programming Language, Phobos
Posted in News | 1 Comment »
Wednesday, November 28th, 2007
A new version of torhu’s Allegro binding for D is available. He has also put out an early alpha release of a binding to AllegroGL. You can read more about both projects over at DSource.
Technorati Tags: D Programming Language, game programming, Allegro, AllegroGL
Posted in Gamedev/Games, News | No Comments »
Wednesday, November 28th, 2007
About a week ago, Michel Fortin released the final 1.0 version of his D plugin for XCode. A few days later, he put out a bugfix 1.0.1 release. Lots of changes since the beta version. The plugin is now compatible with XCode 2.5. I’ll reproduce the changelogs here, starting with the 1.0 release:
* New output parser with support for correctly reporting warnings
(note that warnings are deactivated by default).
* Removed the Treat Warnings as Error option. Rationale: GDC
automatically treat warnings as error when they’re enabled so this
option had no effect.
* Module Search Paths now include “/usr/include/d” by default, because
that’s where most libraries are expected to install their interface
files. You can remove it from the project or target settings.
* Version Identifiers no longer contain “Posix darwin” by default. You
can add them back in the project or target settings.
(This may be needed for Tango.)
* Inline Functions is now an option in the Code Generation category.
[-finline-functions]
* Fixed a typo which made Generate Debug Symbols off by default; it is
now on by default.
* Added a Instruction Scheduling option in the Code Generation section,
allowing generated code to be tuned for G3, G4, or G5 processors.
[-mtune=]
* Change how the linker is configured so that it now can use the
system’s libgphobos.a even when using a SDK. As a side effect, GCC
is now used as a linker instead of GDC (not that this change much
things).
* Fixed two infinite loops in the code parser which would stall
and/or crash Xcode, and preemptively reviewed the code and removed
a few other potential infinite loops.
* Added some icons to the user interface for displaying D files in
lists and for build settings.
* Added a launcher application (hidden inside the plugin bundle) which
gives an appropriate icon to .d and .di files in the Finder and
redirects opened files to Xcode. On Mac OS X 10.5 Leopard, the
launcher attempt to open D files using Xcode 2.5 (if installed at
its default location), as the plugin doesn’t work with Xcode 3.
And from 1.0.1:
* The plugin now registers its launcher application when loaded into Xcode. Previously it was counting on the Finder to register it while copying the plugin, but that isn’t always reliable; hence the need for a backup plan.
Technorati Tags: D Programming Language, XCode, Mac
Posted in IDE, News | 1 Comment »
Friday, November 16th, 2007
A new version of Tango has hit the streets. From the NG announcement:
Dear D community
The most recent version of Tango is now available for download. Named after
Peter Triller for his robust Unicode classification & transformation
contribution (toUpper, toLower, toTitle, isX, etc), this release contains
several other notable additions and improvements:
* DMD builds no longer generate libphobos.a/phobos.lib, but instead utilize the -defaultlib switch. This enables phobos to install side-by-side with Tango
* full-featured tango.util.time.ISO8601 from Deewiant
* tango.text.Unicode, courtesy of Peter Triller
* new tango.io.stream KISS package, exposing various convenience wrappers and filters
* VFS is functional and awaiting Zip support. Are you interested in
writing a webDav or FTP driver?
* Preserve GC block attributes across reallocations, resolving some issues with void[] resizing
* Formatting with Layout now works on X86_64, thanks to David Brown
* Support for DMD 1.023
Also note that there is an experimental D2.0 branch in our repositories now.
As always, you can view the complete changelog online, go straight to the download page, or get help with installation.
Technorati Tags: D Programming Language, Tango
Posted in News, Tango | No Comments »