Andre Bernet
2af7751caa
[companion] Missing options for sky9x family
2017-03-05 12:39:43 +01:00
Andre Bernet
c3febf3560
[companion] Default category on new file was added at the wrong place and also created when reading form radio
2017-03-05 10:37:18 +01:00
alteman and Bertrand Songis
b4059849e2
Update third party mavlink header files to git revision 8e864d2 ( #4552 )
...
* Update mavlink protocol definitions to mavlink GIT revision 8e864d2
* Change struct initializers due to updated mavlink proto headers
2017-03-05 08:50:28 +01:00
Max Paperno and Bertrand Songis
45cfcd67ff
[simu][horus] Replace 2nd knob/pot with functional 6-pos switch (must be calibrated). ( #4554 )
2017-03-05 08:48:10 +01:00
Max Paperno and Bertrand Songis
c1da4b9b4f
[Companion][MdiChild] Add model context-menu actions for moving a model between categories (only if > 1 category exists). ( #4555 )
...
(ref. #4224 : Horus models cannot be moved from one category to another)
2017-03-05 08:47:10 +01:00
Max Paperno and Bertrand Songis
2540e166b0
[Companion][Horus] Add joystick axes (JSx & JSy) and trims T5 & T6 as usable sources. ( #4550 )
...
* [Companion][Horus] Add joystick axes (JSx & JSy) to sources list (fixes #4336 ).
* [Companion][Horus] Add aux trims T5 & T6 and associated switches to respective selector lists. Rename "Joysticks" enum to "MouseAnalogs".
2017-03-05 08:46:27 +01:00
Andre Bernet
d911d382f2
[companion] X7 only has 6 chars for sound file names
2017-03-05 08:42:07 +01:00
Andre Bernet
86fbb071da
[companion] Horus models didn't get their defaults set (thanks @Max)
2017-03-05 08:40:16 +01:00
Max Paperno
51cad78030
[Companion][Multiprotocol] Fix exception when selecting DIY Multiprotocol Module in model editor.
...
Cosmetics.
2017-03-04 17:01:54 -05:00
Andre Bernet
8e3f86383c
[companion] Add first category automatically when creating a new Horus file
2017-03-04 22:56:21 +01:00
Andre Bernet
8bced60784
[companion] Horus splash replacement currently unavailable
2017-03-04 22:12:09 +01:00
Max Paperno
2778040497
[Simulator] Fix 6-position switch operation (only last 3 pos. were usable and were reported incorrectly). NOTE that for these switches calibration IS important (either from actual radio settings or done in standalone Simulator/simu).
2017-03-04 15:03:08 -05:00
Max Paperno
8563ed8eac
[lua-api] Prettify loadScript() API docs. [ci skip]
2017-03-04 04:25:06 -05:00
3djc and Bertrand Songis
80b44444ec
Fix lcdLastPos ( #4487 )
...
* Fix lcdLastPos
Introduce lcdLeftPos
* Cosmetics
* Cosmetics
* Non ARM code cleanup
* Move telem screen to midsize
* Fine tune
* Renaming
2017-03-04 10:16:45 +01:00
alteman and Bertrand Songis
4a2bbc665c
Update thirdparty/GCS_MAVLink sync script to work with updated mavlink repo ( #4548 )
2017-03-04 10:16:21 +01:00
Bertrand Songis and GitHub
6f0e58351a
[Horus] Fixes #4407 ( #4543 )
...
* [Horus] Fixes #4407
* Tab replace by spaces
2017-03-04 10:15:06 +01:00
Bertrand Songis and GitHub
481df9ee3d
[Horus] Fixes #3775 ( #4544 )
...
* [Horus] Fixes #3775
Quick fix ... comments welcome :)
* Better hash function for strings
* One comment, one!
* One comment, one!
2017-03-04 10:14:38 +01:00
3djc and Bertrand Songis
883ab9a937
Reduce colon size in DBL font ( #4540 )
2017-03-02 23:27:51 +01:00
Bertrand Songis
bfb6e855e0
[Companion] Compilation fix on ArchLinux
...
Dones as adviced here:
https://bugs.archlinux.org/task/52956
2017-03-02 21:49:49 +01:00
Bertrand Songis
d724ec1128
Fixes #4136 - Reset all logical switch fields on change of function type - By @elecpower
2017-03-02 20:24:01 +01:00
Arne Schwabe and Bertrand Songis
40dae8a8a7
[MULTI] Implement option Value adjustment in Companion ( #4459 )
...
* [MULTI] Implement option Value adjustment in Companion
Also refactor ui code to use the same multi table as the radio to make updates easier and consistent
* Fix warnings with gcc 6
* Make the whole thing more C++ like
Using QVector instead of std::vector gives me strange errors.
* Fix gcc warning
* another signedness fix
* Add missing include
* Add Gw008 protocol and move subtype definitions out of the translations
* Add note about struct
* More cleanups
Integrate @mpaperno’s latest ideas about cleaning up
2017-03-02 18:40:31 +01:00
Max Paperno and Bertrand Songis
00b2799427
[Companion][Simulator] Add custom qDebug message handler/formatter ( #4475 )
...
* [Companion][Simulator] Add custom qDebug message handler/formatter as an option. Keeps support for QT_MESSAGE_PATTERN env. var.
* [Simulator] Show system messages of level qInfo and above in debug console.
* [Simulator] Still capture screenshot to clipboard if path is not accessible (and screenshot results now print to simulator debug console).
* Fix for older CMake.
* [Companion] Do not start debug message handler if app is shutting down, and add null checks before using it; Increase backtrace report depth; Add OTx headers; Add Companion exit status debug; Clean up unused code.
* [Simulator] Add asynchronous FIFO buffer for handling debug output/display more efficiently. (#4488 )
(cherry-picked from b12bd7d7be )
2017-03-02 18:35:00 +01:00
Nathan and Bertrand Songis
620094e358
remove src/radio/stamp.h from the gitignore list to make it make cmake idempotent ( #4530 )
2017-03-02 18:33:29 +01:00
3djc and Bertrand Songis
c9555e510c
Allow datestamp for ARM 128x64 model backups ( #4534 )
...
* Allow datestamp for x7 model backups
* Add ability to restore too
* Make this all 128x64 instead of x7 only
2017-03-02 18:32:24 +01:00
3djc and Bertrand Songis
b800642090
Add popup menu to Play value SF on X7 ( #4535 )
2017-03-02 18:30:37 +01:00
3djc and Bertrand Songis
f1b83e7295
Remove Heli choice from model wiz as we do not have one ( #4538 )
2017-03-02 18:29:36 +01:00
alteman and Bertrand Songis
26259f398d
Fix a regression that omitted filenames from allsrc.cpp ( #4531 )
2017-03-02 18:28:10 +01:00
Max Paperno and Andre Bernet
d8b4f8594d
[Companion] Smarter app settings import from old versions... ( #4485 )
...
* [Companion] Smarter app settings import from old versions; Do not import flash tool locations on Windows which are already included with Companion (closes #4330 ).
* [Companion] Exclude Windows installation-specific keys when importing settings from previous versions (truly fixes #2645 ).
2017-02-28 17:48:52 +01:00
3djc
865e04c9ec
Fix binaries names
2017-02-28 09:42:04 +01:00
Jim Taylor and Max Paperno
b75fa3b06f
Change text "not" to ! to fix VS15 Build Issue_4522 ( #4523 )
...
* Change text "not" to ! to fix VS15 Build (closes #4522 )
* Change !cb_fp[i]->checkState() to !cb_fp[i]->isChecked() per comments in PR
2017-02-27 18:14:32 -05:00
Bertrand Songis
9f3898ae1e
[9XR-PRO] Navigation issue in FlightModeOne screen
2017-02-27 14:04:44 +01:00
3djc and Bertrand Songis
4d847e6943
Fix FM screen on X7 ( #4515 )
...
* Fix 4513
* Fix 9XR-PRO (hopefully)
2017-02-27 13:51:19 +01:00
Bertrand Songis and GitHub
7bc557b4eb
Trainer code simplification ( #4519 )
2017-02-27 13:50:03 +01:00
Bertrand Songis
89e1dfeeff
[Warnings] Removed sRGB warnings raised by libpng
2017-02-27 13:49:35 +01:00
Bertrand Songis
99b01d396c
[Sky9x] skipHiddenLines broken on 128x64 LCD
2017-02-27 13:46:37 +01:00
Bertrand Songis
029e12860a
Cosmetics
2017-02-27 13:43:54 +01:00
Damjan Adamic
d7801f4a06
Lcd gtests added for Horus
2017-02-26 20:33:43 +01:00
Damjan Adamic
cc36f189f2
Re #4502 : Removed cache in Lua rotable search, tests have proven it does not speed up search significantly. Scripts that use some function a lot can use simple local variable to store pointer to the function - simpler and faster that cache.
2017-02-26 18:12:37 +01:00
Damjan Adamic
ca6a31016a
Re #4498 : Comment removed
2017-02-26 17:57:39 +01:00
Max Paperno and Bertrand Songis
171e08c2fd
[Companion][ModelEdit] Fix/improve module custom failsafe value settings ( fixes #4443 ): ( #4492 )
...
* Properly set limits based on model's Extended Limits setting;
* Fix rounding issues between percentile display and underlying value in μs;
* Add ability to display values in μs as well as percent.
* Channels numbering & count is responsive to module's defined start/end channels.
2017-02-26 13:00:49 +01:00
Damjan Adamic and Bertrand Songis
a1a58ad8f8
Lua: All usage of double converted to float ( #4502 )
...
* Lua: All usage of double converted to float. printf("%f") still uses promotion to double, (floating point va_args are always promoted to double)
Speed improvements:
* reordering of rotable to put most used tables at the top
* caching of last found global table
Use real pointer to rotable instead of misusing void* to pass integer value
Lua internal traces now turned on by TRACE_LUA_INTERNALS cmake option
* Replaced floating point division with multiplication (where possible), the hardware FPU is much faster at multiplication vs division.
stb_image: enabled STBI_NO_HDR and STBI_NO_LINEAR (removes code that we don't need)
2017-02-26 12:59:39 +01:00
Neil Horne and Bertrand Songis
3b149a22d1
Inputs and Mixes dialogs - add flight modes context menu to set, clear and invert all modes ( #4494 )
2017-02-26 12:51:06 +01:00
Damjan Adamic and Bertrand Songis
455fc1f79f
Proper skipping of hidden menu lines, old code accessed mstate_tab[] out of bounds ( #4491 )
2017-02-26 12:43:06 +01:00
Damjan Adamic and Bertrand Songis
7081f924de
Some memory leaks and out of bounds array access fixed ( #4498 )
2017-02-26 12:39:26 +01:00
3djc and Bertrand Songis
1910af51b6
Make lcd.clear() color aware on color screens ( #4504 )
...
* Make lcd.clear() color aware on color screens
* Compilation fix
2017-02-26 11:46:23 +01:00
Andre Bernet
86d897b23f
[Horus] Restore emergency mode priority over "no SD card" warning
2017-02-23 23:20:16 +01:00
Andre Bernet
b866baae65
[Horus] Restore emergency mode priority over "no SD card" warning
2017-02-23 23:04:09 +01:00
3djc and GitHub
0857e27665
Merge pull request #4497 from opentx/3djc/x7-trainer-fix
...
X7 fix
2017-02-22 23:40:25 +01:00
Damjan Adamic
2c99de86d0
RTC Year fix for simulators
2017-02-22 16:26:21 +01:00
3djc
f3e951e0fb
X7 fix
2017-02-22 15:19:17 +01:00