D for Xcode 1.0
Michel Fortin
michel.fortin at michelf.com
Tue Nov 20 20:22:07 PST 2007
One month ago, I released my D plugin for Xcode. I released it under a
beta cover since I was pretty sure there was still some crashing bugs
in the code (and I was right).
Today, I'm confident enough to release a first non-beta version. It
includes some fixes and improvements. D fox Xcode is also more
polished, showing proper D icons at the right places and automatically
handling D files double-clicked from the Finder.
More importantly it becomes compatible with the Xcode 2.5 which was
unlashed this month and which is available for Mac OS X 10.5 Leopard in
addition to 10.4 Tiger. I haven't tested the plugin on Leopard as I do
not have Leopard at hand, but I'm confident it'll work (using Xcode
2.5, not with Xcode 3). Since D for Xcode depends on GDC to be useful,
it'll also be interesting to hear about how well GDC runs on Leopard.
I want to thank specially Anders F Björklund for his comments,
insights, and his help in testing the plugin.
D fox Xcode is made available here under the GNU General Public License
version 2 or later:
<http://www.michelf.com/projects/d-for-xcode/>
Changes since D for Xcode 1.0b1:
* 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=<cpu>]
* 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.
Known Issues:
* Compiling with a SDK under Xcode 2.4.1 generates an innocuous missing
directory warning when linking. You can add an empty directory at the
specified path in the SDK to remove that warning, or you can upgrade
to Xcode 2.5 which seem to no longer exhibit this behaviour.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d-announce
mailing list