Custom Query (95 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 95)

Ticket Resolution Summary Owner Reporter
#117 fixed Typo in docs for cylpolar Olly Betts Wookey
Description

The manual has 'cypolar' instead of 'cylpolar' in one place.

This patch fixes it: commit 9a6a2039059a3266c72493266e6027234b6c1213 (HEAD -> dgit/sid) Author: Wookey <wookey@…> Date: Tue Jul 14 20:00:42 2020 +0100

Fix typo in doc 'cypolar'->'cylpolar'

diff --git a/doc/manual.sgml b/doc/manual.sgml index 54d07f6..af42fda 100644 --- a/doc/manual.sgml +++ b/doc/manual.sgml @@ -1744,7 +1744,7 @@ A CYLPOLAR style survey is very similar to a diving surv$

is always measured horizontally rather than along the slope of the leg.

<programlisting>

-*data cypolar from to tape compass fromdepth todepth +*data cylpolar from to tape compass fromdepth todepth

1 2 9.45 311 -13.3 -19.0</programlisting>

<programlisting>

#119 fixed Undefined behavior in img.c Olly Betts Matěj Plch
Description

Hi, therion uses img.h and img.c, and when I compile and run therion with Undefined Behavior Sanitizer, this error appears:

UndefinedBehaviorSanitizer: undefined-behavior
../extern/img.c:103:27: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'

Problem is in function get32(), where shifting of signed value by 24 bits interferes with a sign bit. Bitwise operations should be done with unsigned types.

Therion CI job where this error occured: https://github.com/Afforix/therion/runs/2025117514?check_suite_focus=true.

#61 fixed Units option on *calibrate Olly Betts Andrew
Description

Currently the calibrate adjusts for the offset then multiplies by the scale factor, which works for a stretched tape with the end missing *calibrate tape 0.05 0.752

But of things like mounting a DistoX in a waterproof case the offset will be measured with another device so will not want scaling

Suggestion is to allow the addition of units to the offset if the scale factor should not be applied, this should allow the original format to continue to work while adding functionality.

if not units

real = ( reading - offset) * scale

If units eg *calibrate tape -0.05m 0.752

real = reading * scale - offset
Note: See TracQuery for help on using queries.