1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 04:45:17 +03:00
Commit graph

6686 commits

Author SHA1 Message Date
Michał Wróbel
a57a8c8bbc LCD: fix lcd_outdezNAtt() for LEFT alignment with non-STDSIZE fonts
There were a few bugs affecting printing numbers with non-STDSIZE fonts. Most
of them were caused by improper calculation of decimal separator and minus sign
widths. Additionally, printing decimal separator for SMLSIZE has been fixed.

Fixes the following tests:
  * outdezNAtt.dblsize
  * outdezNAtt.xxlsize
  * outdezNAtt.midsize
  * outdezNAtt.smlsize
  * outdezNAtt.tinsize
2015-08-07 18:49:59 +02:00
Michał Wróbel
013c0492fa LCD: fix TINSIZE on non-Taranis ARM (e.g. 9XRPRO)
The bug was introduced in 059ea49f on the wake of fixing #2183.  There was a
change in TINSIZE glyph layout and the necessary follow-up was only in
gui/Taranis/lcd.cpp and thus implementation in gui/9X/lcd.cpp ceased to work.

It wouldn't have happened if we had less code duplication (#2315).

Partially fixes outdezNAtt.tinsize test for non-Taranis ARM builds.
2015-08-07 18:49:59 +02:00
Michał Wróbel
3676c731b8 LCD tests: introduce more lcd_outdezNAtt tests
Currently the following tests fail:
  * outdezNAtt.dblsize
  * outdezNAtt.xxlsize
  * outdezNAtt.midsize
  * outdezNAtt.smlsize
  * outdezNAtt.tinsize
2015-08-07 18:49:46 +02:00
Michał Wróbel
368a2f07b2 LCD tests: introduce checkPartialScreenshot()
The checkPartialScreenshot function compares the contents of the LCD buffer
with a reference image of a possibly different size than the LCD buffer. The
part of the image that due to different dimensions is not present in either the
LCD buffer or the reference picture is assumed to have the background color
(i.e. unset pixels). This allows to reduce the number of reference images for
tests for which the LCD size doesn't matter.

The checkScreenshot function is now just a wrapper around checkPartialScreenshot.

The implementation uses a different approach than the one used so far. Instead
of writing the rendered picture to a file in /tmp/ and comparing contents of
the file with the reference file, the images are compared in memory and files
are only written when a mismatch occurs. In such a case, additionally to the
rendered LCD buffer a difference file is generated.
2015-08-07 17:45:11 +02:00
mhotar
65f227d9a4 CZ translations-telem.screen names fixed 2015-07-25 17:31:33 +02:00
Damjan Adamic
13df1de0d3 Version changed to 2.2.0 (to prevent clashes with 2.1.x versions) 2015-07-21 21:17:59 +02:00
Damjan Adamic
25a4e2dfa3 Release notes updated 2015-07-21 21:14:55 +02:00
bsongis
f34bce5d3d [Companion] Vario / Voltage / Current sources export problem 2015-07-21 20:45:23 +02:00
bsongis
877b96b659 Fixes #2533 2015-07-21 20:34:12 +02:00
Damjan Adamic
6ea076cccc Re #2500: new names for Linux targets (companion21 and simulator21), the dot was removed (ported from master) 2015-07-21 20:33:33 +02:00
Andre Bernet
12c111bd4a D-type RPM sensor was broken (Fix #2509) 2015-07-21 20:21:59 +02:00
Damjan Adamic
d28e06023e Fixes #2532: symbol for volts was in lower case, it is now in upper case 2015-07-21 20:08:04 +02:00
bsongis
aa9ada7ac9 Telemetry sources removed from the Reset Global Function 2015-07-21 19:22:45 +02:00
bsongis
26dded8f3e Needed for #2518 2015-07-20 22:31:48 +02:00
bsongis
09df6f32d7 Fixes #2518 - Needs a test 2015-07-20 21:39:34 +02:00
Damjan Adamic
f62e15c17c Fixes #2519: removed telemetry values from available selection in Global Functions for "Play Value" (ported from master) 2015-07-20 21:22:36 +02:00
bsongis
35d61b57b7 Fixes #2512 2015-07-20 19:10:24 +02:00
bsongis
3b41531634 Fixes #2514 2015-07-20 18:37:32 +02:00
bsongis
fd73c326ad Fixes #2506 2015-07-20 07:16:46 +02:00
bsongis
e141fe85c3 Revert "Fixes #2506"
This reverts commit 3ab823fb3e.
2015-07-20 07:08:07 +02:00
Bertrand Songis
75f5747111 Merge pull request #2510 from opentx/driver33/PL_TR
Hot fixes
2015-07-19 23:50:41 +02:00
Jacek Drewniak
971519ab83 Hot fixes 2015-07-19 23:40:41 +02:00
bsongis
3ab823fb3e Fixes #2506 2015-07-19 22:27:33 +02:00
bsongis
f2bf35c16d Fixes #2502 2015-07-19 22:15:48 +02:00
Damjan Adamic
3476eb1e2a Enables side by side installation of Companion 2.1 and 2.0 on Linux (ported from master) 2015-07-19 19:27:44 +02:00
Damjan Adamic
c0fbd5cc2d Fixes #2404: model name played when model is loaded (if file "SOUNDS/<language>/<model_name>/name.wav" exists) (ported from master and squashed) 2015-07-19 17:14:36 +02:00
Damjan Adamic
abc1fb1ae3 Re #2503: Standalone simulator now remembers which radio was simulated in previous session 2015-07-19 15:00:47 +02:00
Andre Bernet
9990f47c5d Fix #2504 2015-07-19 14:18:28 +02:00
Damjan Adamic
b4dc4f4b62 Fixes #2503: Standalone simulator radio selection display problem 2015-07-19 13:21:03 +02:00
bsongis
3025f1e15e Compilation error fix 2015-07-19 09:54:46 +02:00
bsongis
c447ab2d43 We move to 2.1.99 2015-07-18 22:56:36 +02:00
bsongis
3e397606b3 Fixes #2493 2015-07-18 22:52:40 +02:00
bsongis
0304befc53 Fixes #2492 - Thanks go to Kilrah 2015-07-18 22:26:52 +02:00
Andre Bernet
60d48fba58 de was missing from voice file download dropdown (fix #2497) 2015-07-18 20:01:05 +02:00
Damjan Adamic
83b6df4dae Fixes #2466: "Range" changed to "Ratio" in Companion telemetry sensor configuration (as is on the radio)
Translations re-generated
2015-07-18 19:39:13 +02:00
Damjan Adamic
a27836a5cc Fixes #2494: "Play Haptic" renamed to "Haptic" in Companion (as is on the radio) 2015-07-18 19:18:26 +02:00
Damjan Adamic
0cb7042b23 Release notes updated 2015-07-18 19:00:40 +02:00
bsongis
7be388f750 Fixes #2491 2015-07-18 18:55:54 +02:00
bsongis
53f1d04319 [Companion] ComboBox for audio / scripts list was not cleared before all
itemps inserted
2015-07-18 18:05:05 +02:00
bsongis
a12f0fdf7f Fixes #2465 - A little bit refactoring done while fixing this one 2015-07-18 17:22:47 +02:00
bsongis
1da6aee9cb Fixes #2478 2015-07-18 14:16:33 +02:00
bsongis
cd3d473ddc Fixes #2487 2015-07-18 13:34:26 +02:00
bsongis
c0cc53515d Fixes #2160 2015-07-18 13:23:35 +02:00
bsongis
ccfdd22f24 [ARM boards] Shift in CSV logs when no GPS fix 2015-07-18 13:18:44 +02:00
bsongis
859da6594e Fixes #2484 2015-07-18 13:08:45 +02:00
bsongis
38c537210d [Taranis] New gauge in Mixers/Expos screen was not right when there was
no line associated to the Mix/Input channel. Now the gauge is not
displayed in such case. Needs tests again, thanks!
2015-07-18 12:38:36 +02:00
bsongis
a4535427af [Taranis] Compilation error when INTERNAL_MODULE_PPM and
MODULE_D16_EU_ONLY_SUPPORT both defined
2015-07-18 09:55:57 +02:00
Andre Bernet
d11f38f012 Fix #2485 2015-07-18 09:12:51 +02:00
Bertrand Songis
226f0e2c65 Merge pull request #2488 from hrenz/patch-7
Update de.h.txt
2015-07-18 08:52:07 +02:00
hrenz
a43b1b7ffa Update de.h.txt
only some strings and char updated
2015-07-18 07:42:09 +02:00