Version 9.2.4 to 9.2.5

Lots of changes rolled up into one blog

Here are the bug fixes and enhancements for Version 9.2.5.0

  • Core code for adding places built – working off a small database of those changes that have been made over the past however many years. This is the bit of code that updates all the place and link databases with the new place and keeps a log so that it can be undone if found to be faulty. This works really well – it’s quite astonishing the first few times when you add a new place and it instantly is available to the drop down place selector and appears in the gazetteer. The next step is to add the “moderation” (it’s a form of retro-moderation) for these. Then the backlog can be added and moderated (there is, I’m afraid to say, a lot of good-intentioned rubbish in there), and then a front-end for the new system (but clearly made almost entirely of the old code) added.
  • New places are now listed in the moderation display.
  • Review changes link shown only for users with “moderator” status
  • And moderation script will only run for them
  • Can now accept changes as well (but not anything else!)
  • Half a dozen new places now live in the database as a result of testing
  • New “simple” wiki mode added for things that can’t include markup
  • Place names can be edited
  • New photo mode for gazetteer to show all photos in-line
  • Editing of photo captions from this mode
  • Support for photo caption changes in moderation
  • Size of place added to gazetteer information
  • Size of place field made editable
  • Improved dimesionsions printing – added metres and inches All waterway dimensions were wrong! Fixed thme with new db script
  • Basic “edit details of place” code added
  • A new phase of the moon – both new C code to support it, and a new set of graphics created. The old “moongif” has been ripped out of the code base.
  • Fixed a bug (added new code to route.c) in the waterways gazetteer where some canals came out with each leg in the wrong order (the B&F was one) and so also didn’t have their ends correctly described.
  • Lock count in waterway gazetteer now works
  • Place size descriptions are out by one
  • Stray comma in wikiedit javascript (broke IE)
  • Can no longer edit when not logged on (old testing hack removed)
  • Moon made slightly smaller on index page
  • A bit more padding on the left of the main box on the index page
  • Fixed a bug where visiting the index page with an active but vague session caused a Javascript error
  • Added a simple statistics (just place count) to index page
  • Dodgy data made planning routes along the GU impossible.
  • There’s a message about this being the development version on the index page
  • Logging all SQL (to allow keeping multiple databases synchronised) was inefficient, and didn’t cope with (for example) adding photos. So I started to implement a new transaction system using a mini-language that can be acted on and written for later import.
  • Doing this I hit a long-standing design flaw in the language: because I use () both as list delimiters and for expression grouping, single item lists tend to turn into atoms of the appropriate type. To fix this I:
    • Defined a new pair of characters that act as list delimiters only
    • Added some limited UTF-8 handing in the source code to allow me to use sloping double quotes (AltGr-V and B) for this purpose
    • Added traditional multiply and divide (AltGr-< and >) operators as a test while developing it
  • Quicksearch on home page now preserves session IDs
  • Transaction writing now works for new places
  • And for adding photographs (complicated as it’s in three phases)
  • And for moving photos

Version 9.2.3.0

Here are the bug fixes and enhancements for Version 9.2.3.0

  • Added facility for icons and tooltips to buttons in button bar at bottom of pages.
  • Added such buttons and tips to pretty well everything. This is a good example of how much easier it is to work on this version – it only involved a change to one template file and one configuration file (plus finding a few new icons!).
  • Made “reset to defaults” work for options
  • Added new options to show only some parts of route output
  • Added turns to itinerary
  • Quick hack to allow internal links with the new wiki parser – but still needs work (contact developer?)
  • Fixed bug where displaying empty pages looped forever
  • Fixed wiki to allow editing of non-existant pages
  • Re-organised the “what’s new pages” slightly
  • Basic drop-down menu editing functionality on main planner page
  • Floating boxes rather than table on main planner – should be better for different browser sizes

Please post bugs for this version as comments so we can pick them up and work on them.

Version 9.2.2.0

Here are the bug fixes and enhancements for Version 9.2.2.0

  • Going to places from quick search on home page doesn’t produce a page of HTML
  • Distance options (miles, km etc) are now listened to instead of always being miles and furlongs
  • Right index page now generated for 1 November (rounding error in date validation code)

Please post bugs for this version as comments so we can pick them up and work on them.