Hello everyone,
For the past few months I've been working on the OS X port of Scintilla,
and have finally added it to the scintilla cvs tree. We have used this
code (actually based on rel-1-61) in the Komodo 3.X Alpha 1 release
(available on www.ActiveState.com). The Scintilla port exists in a cvs
branch called rel-1-66-osx-carbon. You can access the OS X branch using
the following checkout:
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/scintilla co
-r rel-1-66-osx-carbon -P scintilla
The OS X port is namespaced in a "Scintilla" namespace, so applications
using scintilla will need some minor modifications to be ported to OS X.
This was necessary due to several conflicts with standard libraries
on OS X. Applications on other platforms *should not* need any changes
(eg. our uses of scintilla in Komodo did not require changes for other
platforms, and SilverCity required no changes even on OS X). The
required changes include adding to the makefiles:
-DSCI_NAMESPACE=1
And in your C/C++ files:
#ifdef SCI_NAMESPACE
using namespace Scintilla;
#endif
Those minimal changes should make most applications work with this
codebase. I would be interested in hearing from other developers who
have namespaced the Scintilla library for their own use, to see if the
namespacing I have done fills their needs.
Also in cvs is an XCode based test application (see
scintilla/macosx/SciTest). We have not (and are unlikely to) worked on
porting SciTE to OS X.
The port is feature complete, but there are still issues and bugs I will
be addressing over the next couple months.
I'll also be working with Fred Laboureur from PureBasic.com on
integrating work from their Carbon/Quickdraw port. So far as I am
aware, our port will only work on 10.3 and later, whereas Fred has made
efforts to keep their port working all the way back to OS8/9. Any
additional help would be welcome, especially testing in other frameworks
such as wxWidgets.
If you have any questions, please feel free to contact me either via the
scintilla email list or directly.
Regards,
Shane Caraveo
Komodo Tech Lead, ActiveState
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest