1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00
Commit graph

9429 commits

Author SHA1 Message Date
3djc
070d24ef66 fix curves on X7 (#4216)
* fix curve selection display on X7

* Fix undue telemety type row being show on telem screen

* Fix undue telemety type row being show on telem screen (reverted from commit f3d082f44f)
2017-01-11 10:02:54 +01:00
Bertrand Songis
f2b283c585 [All] All FourCC changed (o9x changed to otx) (#4214) 2017-01-09 22:30:01 +01:00
Bertrand Songis
58382d8aca [Horus] Fixes #4205 (#4210)
[Horus] Fixes #4205
2017-01-09 18:17:19 +01:00
3djc
dc51a95029 Allow my X9e to boot ! (#4211)
Thanks
2017-01-09 18:16:16 +01:00
Arne Schwabe
707b000111 Install also multimedia and print support plugins for OS X (#4212)
* Install also multimedia and print support plugins for OS X

* cosmetics
2017-01-09 18:14:37 +01:00
3djc
651f7b3f93 X7-improvement (#4208)
* Allow autoswitch for LS AND

* Add POPUPMENU base edit/clear/copy/paste to LS screen

* Add long menu to OUTPUTS screen

* Compil fix

* Compil fix

* Translations for outputs POPMENU 128x64
2017-01-08 19:54:57 +01:00
3djc
1642732e8f 3djc/horus checklist improvement (#4195)
* Add the possibility of modelfilename.txt to Horus checklist

* Typo

* Cosmetics
2017-01-08 19:00:45 +01:00
Andre Bernet
e7f258ee45 Fix Chinese translation (fix #4179)
Remove disabled languages from build
2017-01-08 10:10:41 +01:00
Max Paperno
95e59d931e [build] Suppress TRACE_SIMPGMSPACE messages in TravisCI build. Cosmetics. 2017-01-08 03:52:09 -05:00
Kongse
01a1b74028 #4179 cn translation done (#4196)
translation finished
2017-01-08 09:50:51 +01:00
Max Paperno
4f988babbf Fix initializer list issue with ZoneOptionValue (#4203)
* [480x272] Fix initializer list issue with ZoneOptionValue (technically not C++11), now works x-platform as well, lowers Flash use; Spit out Zone, ZoneOption, ZoneOptionValue to own unit. (Fixes https://github.com/opentx/opentx/pull/4199/files#r94867147)

* [480x272] Revert to Flash usage for ZoneOptionValue types (still fixes MSVC build). (Ref: 82dce3ee60 (commitcomment-20388918) & https://github.com/opentx/opentx/pull/4199#discussion_r94835251)

* Cosmetics.

* [480x272] Cosmetics.
2017-01-08 09:48:37 +01:00
Max Paperno
1f788723f9 Build system updates, including -Werror on TravisCI (#4202)
* [TravisCI] Build using avr-gcc 4.9.2 (up from 4.8.2). Relies on https://github.com/opentx/opentx/pull/4169 . Fixes all linker warnings, makes clean build.

* [build] Add ARM/AVR compiler version check/display and a workaround for avr-gcc linker warnings when using WARNINGS_AS_ERRORS=true.

* [TravisCI] Enable -Werror on all build targets (WARNINGS_AS_ERRORS=true).

* [build] CMake script updates:
  Enable WARNINGS_AS_ERRORS option for all targets (not just firmware);
  Consolidate some C/CXX flag settings for firmware target, avoid duplication/redundancy;
  All warning flags are now passed to linker (GCC only);
  Add a "build report" for each main target showing compiler, flags, and defines, with verbosity controlled by new VERBOSE_CMAKELISTS option;
  Added properties to PCB, TRANSLATIONS, and a few other options (makes option selector lists in cmake-gui);
  Add macro for conditionally adding C++11 flag;
  Silence CMake >3.0 warnings about CMP0054 policy not being set;
  Reverts AVR linker -Werror workaround;
  Misc. cleanup/consolidation.

* [build] More CMakeLists updates:
  Silence superfluous "CRT_SECURE" series MSVC warnings;
  Formalize finding pthread lib/dll on MSVC builds and fix some issues with install target script;
  Add property string lists to more options;
  Quotes some paths with possible spaces, & other minor cosmetics.

* [build] firmware/bootloader: Remove remaining CMake default compiler flags and add FIRMWARE_C[XX}_FLAGS[_DEBUG] options for user to specify additional flags. Also move ASM language call to silence CMake warning w/MSVC.

* [build] Workaround bogus "uninitialized" warnings from AVR linker.

* [tests] Add custom printer for less verbose gtest output (use --verbose option to revert to gtest default).

* [build] Use less verbose CMake output for TravisCI builds. Formalize search for gtest code and enable gtests target on WIN32-GCC. Minor language fix.
2017-01-08 09:44:33 +01:00
Bertrand Songis
54742fcad9 Compilation fixes for Arch Linux 2017-01-07 18:42:56 +01:00
3djc
91c00d0728 Cosmetics 2017-01-07 12:09:51 +01:00
3djc
a05f20a829 3djc/x7: LS fix limits (#4204)
* X7 limits where wrong : for exemple, if you not set a compare value bigger than 15 in a logicial switch.

This fix it and also takes into account some radio settings (like extended limits)

* Take II

* Cosmetics

* Cosmetics

* Cosmetics (reverted from commit 2282c2633b)

* some #ifdef nightmare cleanup
2017-01-07 10:30:46 +01:00
Damjan Adamic
865ec6eca3 Remove extra NULL from OutputsWidget::options[] 2017-01-07 09:04:26 +01:00
Max Paperno
52b68c9ea2 [companion] Fix a few reasonable warnings brought up by MSVC /W3. (#4206) 2017-01-07 08:33:56 +01:00
Andre Bernet
51f186597c [companion] One more DLL was missing in distrib, fixes the long standing companion play sound issues on Windows 2017-01-06 14:48:57 +01:00
3djc
bf549ace10 Merge pull request #4200 from opentx/3djc/Horus-optimize-plane-wiz
Move to image elements rather than full screen pictures
2017-01-06 09:53:09 +01:00
Andre Bernet
e49bbfe91f Cleanup 2017-01-05 23:24:29 +01:00
Andre Bernet
0e65aad1a8 [companion] Distributing qm files is useless since we compile them in as qrc 2017-01-05 23:16:23 +01:00
Andre Bernet
af34a1568f [companion] Don't disable standard buttons on printdialog 2017-01-05 23:01:28 +01:00
Andre Bernet
c7e0bf23ad [companion] Fix Windows printing 2017-01-05 22:43:59 +01:00
Damjan Adamic
82dce3ee60 Projectkk2glider/flash savings (#4199)
* Flash savings: getFileExtension() de-templated, saves 160 bytes

* Flash savings: several variables moved to rodata, RGB macro optimization (speed and can now be used to initialize rodata)

Result for Horus:
   text	   data	    bss	    dec
1261182	 808603	  42020	2111805   before
1267149	 803335	  42124	2112608   after (data size also counts .sram section)

5kB saved in .data section (RAM and FLASH)

* Removed compiler warnings

* RGB() and ARGB() gtests added

* ARGB() optimized
2017-01-05 21:44:59 +01:00
Andre Bernet
3b58ee8d3c Missing reference to CN translation 2017-01-05 20:58:19 +01:00
mhotar
0586c8fb05 horus wizard, image adjustments 2017-01-05 20:33:38 +01:00
3djc
51c5eba087 3djc/x7 custom scripts (#4201)
[X7] Custom scripts
2017-01-05 20:26:44 +01:00
3djc
540c56d8ab Move to image elements rather than full screen pictures, thanks to @Mhotar 2017-01-05 07:29:36 +01:00
Bertrand Songis
fa5e5d670b [Simu] Revert to the good old keys until there is a compromise found
C is used for SWC
2017-01-04 18:33:31 +01:00
Bertrand Songis
0933a258e3 [Horus] Categories names were written in SMLSIZE when selected, that was weird 2017-01-04 18:32:08 +01:00
Bertrand Songis
1d9c9a6cdb Cosmetics 2017-01-04 18:31:10 +01:00
Bertrand Songis
b77332e75a [Horus] Fixes #4177 2017-01-04 09:27:57 +01:00
3djc
bdf3d17652 Move fix to a better place 2017-01-03 11:42:12 +01:00
3djc
406a568c2c This fixes #4191 while maintaining 2.1 and 2.2 taranis behavious (ie instant trim can go up to extended trim, ignoring if extending trim is activ or not) 2017-01-03 10:57:34 +01:00
Damjan Adamic
659f9e0556 Fixed a problem with MSVC 2017-01-02 22:36:46 +01:00
3djc
f8c6b20a35 Add missing units (#4181)
* Add missing units

* Add import shift
2017-01-02 11:32:54 +01:00
Damjan Adamic
803dc7d853 Projectkk2glider/issue 4138 and other fixes (#4182)
* Fixed Companion translations cmake target

* Some translations had problems with string termination (missing or excessive " characters)

* Fixes #4138: Use [RTN] instead of [EXIT] on Horus

* Define spare bits if BUZZER is not defined
2017-01-02 11:31:55 +01:00
Damjan Adamic
afe3d4a1e9 Custom OpenTX types moved to separate file opentx_types.h, fixes linker problem with lcdDrawBitmapPattern() in release build (#4188) 2017-01-02 11:29:20 +01:00
3djc
2a0a75a178 3djc/horus narrow arrows gap (#4183)
* Narrow gap between previous char and up and down arrow in STDSIZE

* Change font generator too and run it once

* Only apply to stdsize
2017-01-02 11:24:43 +01:00
3djc
b931b0c85c Add handling of negative width (#4187) 2017-01-02 11:20:56 +01:00
Andre Bernet
eb4508e12d [companion] Add zh_CN Chinese translation (fix #4179)
Fix lupdate working dir
2017-01-01 09:25:00 +01:00
Max Paperno
bcdc4fef88 [libsimulator] Fix MSVC build. 2016-12-31 11:42:54 -05:00
Max Paperno
ebdc73a421 [simulator] Fix standalone simulator radio type name in window title. 2016-12-30 19:12:20 -05:00
Max Paperno
5bf7a6c28d Simulator key/mouse mapping improvements (#4175)
* [simulator] Keyboard and mouse control adjustments:
  ~ Make kay/mouse navigation more consistent between radios and ensure keyboard events are always properly detected (eg. after clicking on a control);
  * Fix mouse wheel direction for rotary encoder emulation (fixes https://github.com/opentx/opentx/issues/4160);
  * Fix page up/down buttons on Horus (also #4160);
  ~ Horus rotary encoder can now be controlled with +/- keys (also keeps X/C, otherwise supersedes https://github.com/opentx/opentx/pull/4087 );
  ~ DEL key now another alternative for ESC/BKSP (brings all controls to number pad);
  ~ "=" key now acts same as "+" key (+ requires SHIFT in main row on most US keyboards);
  * Fix controls direction when using mouse wheel over RC switches;
  + Add help text showing keyboard mappings for each radio type (activate on F1 key).

* [simulator] Enable mouse wheel scrolling on radios w/out a rotary encoder (acts as +/- keys on X9D, PU/DN keys on 9X).
2016-12-30 22:36:29 +01:00
3djc
1d3b6721c6 If no WIZARD are present, do not display anything (#4173)
* If no WIZARD are present, do not display anything

* Cosmetics

* More cosmetics ;)

* String cleanup

* Bertrand's feedbacks
2016-12-30 18:20:46 +01:00
Max Paperno
1eead1504c Clean up build warnings (#4169)
* [build][OSX] Fix clang warnings.

* [build][OSX] A few more warnings taken care of.

* [build] Fixed yet more build warnings across all platforms.

* [build] Fix final warning due to bad CMake flag.

* [build] Remove unused variables as requested, fix indent.

* Fix output display limit type for 8-bit targets.
2016-12-30 18:16:11 +01:00
Raphael Coeffic
1666fd7355 lua: added EVT_MENU_LONG on Taranis (#3991) 2016-12-28 22:39:59 +01:00
joaquins
5e00436b79 Horus outputs widget: display channel name when available (issue #4145) (#4147)
* Display channel name instead of number, when name is non-empty

* Bars made full width, channel + name on left side, output value on right side. Background color added.

* Reverted redefinition of chanString, background color changed to BARGRAPH_BGCOLOR

* Added borders around bars

* Added BG border configuration. Refactored RECT_OFFSET into RECT_BORDER to allow easy change in border thickness.

* Fixed vertical line offset.

* BG settings affecting actual BG, not the border
2016-12-27 22:07:49 +01:00
Max Paperno
e204031ef6 Standalone simulator startup options (#4164)
* [simulator] Save and restore Simulator window sizes and positions (based on current radio profile).

* [simulator] Set startup throttle stick lock in standalone sim based on default mode in current Companion radio profile;
  Add new flag indicating standalone simulator;
  Unique titles for simulator console windows.

* [simulator] New/updated Simulator startup options:
  Radio profile used for standalone Simulator can now be separate from Companion;
  Allow selecting a radio profile and EEPROM image file (in addition to radio type) at startup via GUI and CLI;
  All startup settings are saved between uses.
2016-12-27 22:04:24 +01:00
Damjan Adamic
fd01376f1e Reduced Companion simulator CPU usage by a factor of 5. (#4167) 2016-12-27 22:00:23 +01:00