11:01 am GMT
Here's where you can find out all the latest news about GeSHi - new releases, bug fixes and general errata.
This version contains a few bug fixes and two new languages (BlitzBasic and MySQL), see the changelog for details. I've commented the example file so you get a better idea of how the methods for GeSHi can be called.
For 18.104.22.168 I will be deprecating some of the functionality that is buggy, such as support for highlighting parts of the source differently if they are in <BEGIN GeSHi>...<END GeSHi> tags, check the API docs for 22.214.171.124 when it is released. This is just some advanced warning.
And finally I hate to break a promise, but I won't be releasing the second alpha of 1.1.1 this Monday, since I have done very little work on it since the first alpha on account of working on 126.96.36.199. But I will endeavour to release it next Monday.
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 188.8.131.52 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 184.108.40.206 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 220.127.116.11 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 18.104.22.168 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 22.214.171.124 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 126.96.36.199, hopefully I can get a 188.8.131.52 out shortly that includes them all.