cavern:
Deprecate MILS as angular units. Survex has long support MILS as an alias for GRADS. However, this seems to be a bogus definition of a "mil" which is unique to Survex (except that Therion has since copied it) - there are several different definitions of a "mil" but they vary from 6000 to 6400 in a full circle, not 400. Reported by Andy Edwards.
Fix segfault for *include "". This isn't useful, but shouldn't crash. It now reports "file not found" instead.
Use isnan() to check for not-a-number. This is cleaner, more robust and more efficient than formatting the number as a string and checking for "NaN" or "nan" in the result.
Avoid unused variable warning when compiling from source with modern ffmpeg.
Drop support for wxWidgets < 3.0. 3.0.0 was released over 5 years ago and should be easily available everywhere by now. I'm no longer easily able to test with wxWidgets 2.8, and this allows a significant amount of cruft to be removed.
(Linux version): survex.spec: Fedora have removed gcc from the default build environment so need to explicitly list it in the BuildRequires tag. See https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot for more information. Patch from James Begley.
aven:
Add basic "Colour by Survey" feature. The colours used aren't currently controllable.
Fix export of splays. Patch from Thomas Holder.
Fix KML export to avoid invalid geometry when a tube intersects itself. Patch from Robert Jones.
(Unix version): Fix to work under Wayland by forcing the x11 GDK backend for now. This is a workaround until wxWidgets OpenGL support is updated to work under Wayland. Reported by Philip Balister.
Fix warnings about using deprecated functions when building movie export code using FFmpeg 4.0.
cavern:
Compass MAK files: Handle fixed point coordinates in feet - previously the units were ignored and the coordinates assumed to be in metres.
Previously the first byte in a MAK file was ignored. Typically MAK files start with a comment, and since cavern currently ignores lines that start with characters it doesn't understand the meaning of, this bug would often go unnoticed.
survexport:
Fix exporting of passages, walls and cross-sections by running the code aven uses to decide how much to rotate each cross-section. Previously all cross-sections were aligned West-East. Reported by Robert Jones.
Default to .pos output if the program name is 3dtopos, and install a second copy (or hardlink under Unix) as 3dtopos. This provides compatibility with current releases of Tunnel. Reported by Becka Lawson, Wookey and Stephen Crabtree.
Fix some German translations. Patch from Thomas Holder.
(MacOS X version): Fix aven-create-app to not delete converted icons. Typo spotted by Robert Jones.
Improve documentation for *team. Document the requirement to quote names unless a person is identified by just one name. Document that the roles are optional, as that information may not have been recorded, and to align with therion's team command.
aven:
Add support for exporting as a CSV (Comma-Separated Values) file.
Support exporting KML with altitude mode "clamp to ground". In this mode, the altitude in the data is ignored and it's rendered on the surface of the terrain. This is useful if your KML viewer renders the terrain as opaque so underground data isn't visible. Rendering cave passages on the surface isn't great, but is better than not being able to see them at all. This option may also be helpful if you want to see where to look on the surface for new entrances.
Highlight surveys with a white loop as the mouse is moved over them in the survey tree. This is akin to how we highlight a station with a white ring, and allows restoring "double-click survey in tree to zoom" which temporarily required a quadruple-click in 1.2.35.
Only show checkboxes in the survey tree for surveys not stations.
Fix wxWidgets assertion if the user tried to select additional surveys to show via the right-click menu.
Fix multiple survey filtering when both a parent and child survey are selected. In this case it makes most sense to show all child surveys of the parent, but we actually showed a slightly arbitrary subset of the child surveys of the parent.
The checkbox area in the survey tree is now included in the area which is considered by mouse-over updates such as highlighting the station or survey.
Fix display of double quotes in cavern log window (they were being replaced with control character 0x16 due to a typo in the code).
Add shortcuts to buttons in cavern log window.
Eliminate use of gluErrorString() function which eliminates some deprecation warnings when building on macOS.
Reject multiple --survey command line options for now (only the last has been used for a long time, but now we actually support multiple survey filtering this matters more).
survexport:
Report a useful error when trying to convert a .3d file without coordinate system information to GPS. Reported by Mark Shinwell.
Handle multiple redundant --survey command line options correctly.
dump3d: Report station flag "WALL", which was added in 1.2.7.
Minor translation updates.
Update manual for Microsoft Windows changes.
tests/: Add test coverage for warnings about suspect readings
Fix warning when compiling with clang.
aven:
Viewing can now be restricted to multiple surveys. Use the right-button menu on a survey in the survey tree and select "Show" to enable checkboxes for that survey and all its siblings. Only the selected surveys are shown on screen, printed and exported.
Don't open a survey when its name is double clicked. This was happening due to code added to "allow double-clicking to work on wxMSW >= 2.8.11". However, reverting that change still seems to allow double-clicking to work on both wxMSW and wxGTK, but fixes the unwanted additional opening of the survey.
Pick initial survey scaling based on whichever of the window width or height gives the smaller scale. Previously we always used the window width, which can result in parts of the cave being outside the initial view. Reported by Wookey.
Drop ability to specify a PROJ string in the export dialog. This was added to allow exporting to formats such as GPX before we added support for specifying the projection in .svx files, and that support is now mature.
DXF export now uses 2 decimal places (was 6) for the bounding box, for consistency with the precision used for coordinates.
Fix handling of surface flag during export. In formats which discriminate, legs could previously have got assigned the wrong status.
Fix bug which probably prevented aven starting when OpenGL double buffering is unavailable. This is unlikely to affect any common configurations.
(Microsoft Windows version): Fix loading of 3d files with non-ASCII filenames. Issue reported by Matic.
(Microsoft Windows version): Fix incorrect display of some toolbar icons. Probably broken since 1.2.17.
survexport: New command-line export program which uses aven's export code. Replaces 3dtopos, cad3d and findentrances, since it can do all that these tools could do, plus much more.
Merge more Spanish i18n updates from Evaristo Quiroga.
Minor updates to various other translations.
img library:
Now supports reading from and writing to an existing FILE*.
Improve API documentation.
(Microsoft Windows version): Fix packaging to include wxWidgets translation files like it was supposed to, which fixes a few missing translations. This was probably broken by changes in 1.2.8. Reported by Evaristo Quiroga.
(Microsoft Windows version): Drop two options from explorer bindings. "Convert to DXF" and "Convert for hand plotting" have both been supported via aven for a while, and that's a more