From: Lennart K. <kol...@dt...> - 2007-01-28 16:32:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 shelarcy wrote: > Hello all, > > I made patch that merge wxSTC (wxStyledTextCntrl) support from Haste > project. > Cool! I've often thought of doing this, but haven't done it as I don't write much GUI apps any more. > I used modified (that to support GHC 6.6) version of Haste, to test wxSTC. > It works on Windows, but it terminate program soonly on Mac OS X. > (You can use other features on Mac OS X. So, don't worry about that.) So haste lives again, nice to hear! :D > And by a few reasons, this support is experimental. > - This support lacks some functionality. > -- See source code comment, you can find it. > - Some useful function implemented in Hastes's source code. > -- I have to move them. I'm sure that much of the functionality is missing, we took some few things we needed to get haste started. The rest is not yet done. > If you want to modify or extend this support, you want to test stc support > > I uploaded my modified version of Haste in Kamiariduki's space. So you > can download that. > https://sourceforge.net/project/showfiles.php?group_id=168626 > > Or you can download old Haste from Haste's project page. > (But Haste's web site and svn repository is lost. So this is not latest > one.) > http://sourceforge.net/projects/haste-ide/ > Indeed the repo and homepage is lost since a long time, but I was able to find the old development code on my laptop! I don't know what differs from the last released version and my version. We haven't touched it since the day of the deadline of this university project. I've put it online: http://haskell.org/~kolmodin/code/haste/ It includes everything I had when working on wxSTC/haste, including university paper, silly tests, temporary files and whatnot. It even includes the homepage! :) > Current version depends on wxSTC-D3's stc.h. > This file is clean-uped version of contrib/include/wx/stc/stc.h. > I used this file that used in Hastes' wxSTC support. > Because wxdirect's CompileSTC can't parse original file now. CompileSTC couldn't parse the original file back then either. We had to manually remove parts from stc.h that our naive parser couldn't handle. A really ugly hack :) > CompileSTC can't treat #ifdef pragma. > It's not difficult task. Because this pragma separate only one > condition - use SWIG or not. Of course we don't use SWIG. I belive that there was more things we couldn't parse, but I'm not sure any more. If I'd done it again today I might had "borrowed" the parser from c2hs and done it properly. Cheers, Lennart Kolmodin -- one of the original five developers of haste - -- "The only thing that interferes with my learning is my education." -- Albert Einstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFvNAQ4txYG4KUCuERAiR4AJ9xSgyILXqNfoffQSRpcjFLpqoVeACfUBkt oL0KZTknFaC/ssg8oLUqpl0= =vokR -----END PGP SIGNATURE----- |