What Changed in April and May 2022
What changed in January and February 2022
To 7 April 2022
- Work to make the various map styles work with closeup maps
- Major refactoring of the "structure" and "feature" code to pull it all together, deduplicate, and move more names to "feature" from "structure" (work towards issue 381).
- Improvements to canalplan-mode.el to fix three bugs in indentation:
- else is now set back
- if followed by then doesn't increase the indent
- unless is properly indented
- "feature_type" table documented
8 April 2022
- Where appropriate, you can now set a feature to be unsuitable for unpowered craft
- This is displayed on the page for that feature as part of the description
Wednesday 13 April 2022
- Continued and completed the style work for circular maps
- Added a trap for empty map graphics
- Fixed appropriate branding for the circular maps
→ Release 9.38.18
Thursday 14 April 2022
- Added a "help us" for features and unpowered craft
- Removed obsolete "Photo information" help us.
Friday 15 April 2022
- Added a checkbox to set "exclude features that forbid unpowered craft"
- Added code to route planner C to parse the unpowered craft information and adjust the planning appropriately
Saturday 16 April 2022
- Prevented it crashing if this exclusion meant no route was possible
Sunday 17 April 2022
- Added code to explain the reason when an unpowered craft restriction made it impossible to plan a route
All these together deliver issue 1007
→ Release 9.38.19
- Fixed issue 1003 — I wasn't reversing graphics in the linear maps when needed
- Fixed issue 1013 — removed unwanted characters from photo addresses
- Had to valgrind the code to trap a new bug, and made some additional improvements while I was at it
→ Release 9.38.19.1
Monday 18 April 2022
- Only use the closeup style (which allows overlapping icons) for places and small areas/features - probably the best way to address issue 1002, although it can make long flights look a bit odd
- Some of yesterday's changes to the source have tripped an old bug in variant code - fixed it
- Tweak to closeup map branding to prevent a JS error when editing symbols
→ Release 9.38.19.2
Tuesday 19 April 2022
- Restored JS error reporting
- Fixed a bug in new closeup maps
→ Release 9.38.19.3
- Some JS tweaks
→ Release 9.38.19.4
Wednesday 20 April 2022
- Restored circular maps to route plans (navigational notes and notable places in itineraries)
→ Release 9.38.19.5
- Fixed unexpected side-effect of "decache" value that was breaking map-based place selection (and causing the second item in issue 1016)
→ Release 9.38.19.6
- Prevented a JS error on marker places as they have no circular maps
- Restored "Show routes to facilities" to the "Nearest" plugin on place pages
I don't know - no releases for months and then three in an hour or so!
→ Release 9.38.19.7
- Fix to tabbed searcher to get circular maps generated there too
→ Release 9.38.19.8
- And a related update to the code for adding new places to address issue 1017
To 14 May 2022
A lot of work on new closeup maps → Release 9.38.19.9
Thursday 21 April 2022
- A few JS tweaks to try to catch problems with gazetteer pages with no user but active sessions
→ Release 9.38.19.10
Restored maps display to editing of closeup maps
→ Release 9.38.19.11
Friday 22 April 2022
- Restored maps to virtual cruises - same bug as the two previous ones (tabbed server and new places) - issue 1019.
→ Release 9.38.19.12
Sunday 24 April 2022
- Experimental page to generate circular maps
→ Release 9.38.20
To Saturday 14 May 2022
- Reworked the circular map generation into a proper background task that can be left to run on a headless browser.
- Added a database table to store maps that need to be made
- And code to hunt out missing circular maps as part of the daily tidyup
- Started code to use this table to drive updates when places are edited
- When a new place is added the "waterway_chain" is correct rather than at a later fix
→ Release 9.38.21
Sunday 15 May 2022
- Several JS tweaks from watching bug reports
- And to code - hopefully finally fixed the messy "stop with error" in PDF generation
- Improvements to queueing updates to circle maps
→ Release 9.38.21.1
- Moved the "next/previous/automatic" buttons in the virtual cruise to just below the photos and maps, which means that they don't hop up and down as the length of the text changes - resolves issue 657
- Fixed a bug where having a very long unpowered boat broke things (as it tried to exclude - for example - Foulridge Tunnel twice in two different ways)
- Completed code to update circle maps whenever any editing takes place
→ Release 9.38.22
Monday 16 May 2022
- Several small JS improvements from automatic bug reports
- Fairly quick fix to PDF generation to reflect changes to circular maps. Should be able to remove quite a bit of code from this later
→ 9.38.22.1
Tuesday to Friday 17 to 20 May 2022
- Some tweaks to the background map generation to prevent marker places getting in there
- Improved internal caching of configuration files
- New code to get map style from options or defaults to greatly simply the mess I've built over the last few months
Saturday 21 May 2022
- Completed and integrated the new map style code - could cut a huge heap of code that tried to do the same thing in three different languages!
→ Release 9.38.23
- A few tweaks to ensure styles are generated for things like place finders and selectors in all circumstances
→ Release 9.38.23.1
To Monday 30 May 2022
- A few pre-release patches to catch when styles weren't quite right
- Improvements to circle map generation to prevent more errors from marker places, and a better catch for any that sneak through
- A change to the HTML that I think addresses issue 960
- Fixes to getting places and activating the "do it" button for moving photos (some pre-release) – issue 1037
- Ability to set new places by coordinates when adding new maps and when changing existing place coordinates – issue 1027
- JS tweak to restore waterway virtual cruises
- Unused (and missing) JavaScript file removed from configuration so no longer asked for – issue 1036
→ Release 9.38.24
- Very small tweak to prevent JS error from early "add place" pages
→ Release 9.38.24.1
- Removed form validation, so I can use newish input types and not have things blow up with no indication of the problem.
→ Release 9.38.24.2
- Small fix to avoid a JS error from an option in the edit details page
