3:13 pm GMT
Here's where you can find out all the latest news about GeSHi - new releases, bug fixes and general errata.
I've just released the first alpha of the 1.1.1 series. For more information, check out geshi.org. Major features include a new infrastructure for support for multiple output formats (like PDF, DOC etc. Only HTML at this time), a huge memory usage reduction (I've successfully highlighted a 190K source file), and a new infrastructure to give languages access to the parsed source so they can modify it if needed.
In other news, I will be setting up a Wiki and a new bug tracker hopefully tomorrow at geshi.org. This should make it easier for you to report bugs, and I will be putting lots of information about 1.1.X, especially on how to create language files, on the Wiki.
GeSHi 126.96.36.199 is planned to be released on the 22nd of October, and will contain some minor bug fixes.
Wouldn't you believe it? GeSHi gets sourceforged and there's a glaring bug in 1.1.0 :p. If you try and highlight something with an empty string in it, highlighting breaks. You can fix this, by going to the file geshi/classes/class.geshistringcontext.php and changing line 105 to read:
$pos = (false !== $pos && $endpos['pos'] === $pos) ? $pos : strlen($code);
It will be fixed in the first alpha of 1.1.1. Thanks to sourceforge for the front page plug!
From the development branch, GeSHi version 1.1.0 has been released. This release marks the end of the 1.1.0 cycle, and work will shortly begin on 1.1.1, which will contain theming support, memory usage enhancements and much more.
If you're an inquisitive type, I encourage you to download it and try it out, to see how much better 1.2 will highlight code. Of course, at this stage 1.1.0 is no replacement for the stable branch (with most of the API unimplemented), but the highlighting is already many times better.
I have now finished university for the year, so from now on I plan to release development builds every week (on Mondays). In the 1.0.X branch I plan to make releases monthly (on or around the 22nd of the month), unless a security advisory appears.
Just in regards to the recent security advisory: I will warn people explicitly now that the contrib/ directory (and docs/) are unnecessary for a live website, and you should remove them. The example.php script is a script that I coded in 5 minutes to demo GeSHi, and not meant to be used on a live site. Nevertheless, I apologies to anyone who got caught out by this bug for not warning them before.
On a lighter note, a reminder about the geshi.org website: there is a roadmap available if you wish to find out what is coming for future releases (like 1.1.1), and a bug tracker for you to submit bugs about the 1.1.X releases should you find any. Bugs for 1.0.X should be reported to sourceforge or mailed to me directly, as usual.
Enjoy the release. The first alpha of 1.1.1 should be out next Monday.
From the development branch of GeSHi, version 1.1.0 beta 1 has been released. This version was targeted mainly at fixing highlighting errors, and includes improved support for PHP (especially variable highlighting within double-quoted strings) and support for Delphi syntax highlighting (courtesy of Ben) and CodeWorker (courtesy of Cedric Lemaire). Number highlighting has also been greatly improved.
But the biggest feature about this release is that several areas for improvement in terms of language file specification, theming and memory usage have been identified. Once 1.1.0 "stable" is released, work on 1.1.1 will begin which should address such issues.
I hope to have a rather short beta cycle before 1.1.0 stable is released, then development can continue. I have just one and a half weeks of university to go, so after that expect development speed to increase as it did with my previous holidays.
GeSHi 188.8.131.52 has been released. New to this version are four new languages (OCaml, OCaml-brief, Scheme and Ruby), and a couple of bugfixes and a security fix for contrib/example.php. If you use the example.php script on your site, I strongly recommend you upgrade.
I also remind you that in reality there is no need to include the contrib/ and docs/ directories in any website you make using GeSHi, so you can save yourself some disk space by not uploading them to your webspace. contrib/ provides only some scripts for playing with GeSHi and docs/ contains documentation you can get elsewhere.
In other news, GeSHi 1.1.0 beta 1 should be released shortly. Ben and I have been working on Delphi support for the last week or so and it's looking good :). Also, there have been more improvements in number highlighting and PHP double strings should also be handled better.
Hi to everyone :). This is another project update.
I am pleased to announce that Benny Baumann has become the first language developer for the GeSHi project. His task is to oversee the development and maintenance of Delphi support for 1.1.X. He has plenty of experience in Delphi, being part of the Omorphia project, and his expertise will ensure that Delphi highlighting will be as good as it can be. In addition, him and I have had good discussions about how 1.1.X can be improved, particularly in regards to theming and memory usage.
I am calling still for more developers to join me in helping out for language support for 1.1.X -> 1.2. If you have experience in a language and some experience in PHP, and a bit of spare time to help out, why not contact me (nigel at geshi dot org) and volunteer your services?
And the other piece of news: Due to a disagreement I have had with the crew at phpBB, I am now discontinuing all work on the GeSHi phpBB MOD. It will remain as it is, with bugs now becoming "features". I regret being put in this position, but I am not going to develop software for a group who doesn't care for my loyalty to them. I have far too many pressures on my time.
In addition, although I cannot enforce this, I will strongly oppose anyone who attempts to develop a MOD for phpBB using this software.
At least now this is one demand off my time I will be able to spend more time on GeSHi.
And finally, on a lighter note, I have a mere 4 weeks of university to go, after which I will be able to spend more time on GeSHi. You may have noticed the upswing in releases around the last time I was on holiday, and I predict a similar increase this time :)
GeSHi 184.108.40.206 has just been released. This release has mainly focused on adding new languages, although there are a couple of bugfixes and a new header mode - GESHI_HEADER_NONE.
Thanks to everyone who has sent language files and bug reports, and apologies to Flaie about the OCaml language files: I could not include them in this release but they'll be in the next one.
This is just a quick update on the status of the GeSHi project.
Unfortunately I haven't been able to get 220.127.116.11 out as soon as I would have liked. I have been a little swamped by university work over the past week (even though it's been mid-term break!). But hopefully I can get 18.104.22.168 out next Saturday. Soccer season has now finished for me so hopefully now I can spend a bit more time on this project :)
1.1.X development is still continuing. Several people are currently assisting me with support for new languages and bugfixing. I hope to soon also release 1.1.0beta1 which will contain a few bugfixes (the bugs are getting smaller!) and said new languages.
And finally, thanks to all the people who have e-mailed me about using GeSHi in their various projects. Piotr Maliński informs me that he is using GeSHi in his RkCMF, Matt Squire says he is using GeSHi in his 3port CMS (currently in beta), and Frank Schummertz tells me that postnuke now includes it. Thanks to all of them!
I hope to be posting more in the future about GeSHi's use, so if you're using it in an interesting project (preferably web-facing so everyone else can admire it), send me an e-mail at nigel at geshi dot org :)
This version of the MOD adds the missing clear_cache() function. For upgrade instructions please consult the GeSHi phpBB thread @ phpBB.
In other news, work on 1.1.X continues as fast as it can without infringing on my studies (I'm still catching up from my holiday). 1.1.0beta1 will be the next release, which should hopefully support two new languages - CodeWorker and Delphi - thanks to the efforts of Cedric Lemaire and Benny Baumann respectively.
Finally, thanks to all those people who have sent in language files since the release of 22.214.171.124, hopefully I can get a 126.96.36.199 out shortly that includes them all.
After a long wait, version 0.4.0 of the GeSHi phpBB MOD has been released. This version features an upgrade of the included GeSHi to 188.8.131.52 and a new SQL installer if you cannot run SQL manually. In addition, I'm pretty sure that it will install with easymod.
Don't forget, of course, that this is alpha software, and overdue for a rewrite (before version 1.0.0 even). I don't think that simple mode works at this time, you can't change the cache directory and there may be other unknown bugs.
In other news, Robert Schultz has created a new website, csourcesearch.net, which contains over 100 million lines of C and C++ code, all cross-referenced by CodeWorker and syntax-highlighted by GeSHi. It's an impressive resource, and well worth a visit.
And finally, there have been quite a few new language files submitted since the release of GeSHi 184.108.40.206, so within the next week or two I will be releasing 220.127.116.11 with these files and a few bugfixes.