1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00
Commit graph

9941 commits

Author SHA1 Message Date
Bertrand Songis
91a042200b Fixes #4619 (#4645) 2017-03-21 07:45:05 +01:00
Max Paperno
4aa0c1bbe4 [simulation] Fix some potential crashes & 26 memory leaks, improve LCD redraws. (#4634)
* [simulation] Hardening: Fix some potential crashes & 26 memory leaks, improve LCD performance.
  * [simpgmspace] Init trims; Make sure `REa` is really defined (to match board files).
  * [simpgmspace][opentxsimulator] Verify current running state before start/stop; Move rotary enc. init.
  * [simpgmspace][LcdWidget] Improve performance by moving LCD content change check to lcdRefresh() & limiting LcdWidget refresh time to 60 fps max.
  * [simueeprom] Ensure thread could be started, set default running state to false.
  * [simufatfs] Fix paths report trace.
  * [eepromimportexport] Fix memory leaks resulting from import debugging scheme being used.
  * [customdebug] Introduce new scheme for custom debug output in compliance with Qt recommendations (see docs for QLoggingCategory).
  * [opentxeeprom] Fix extra conversion table cache elements being created and also not properly deleted (and hence leaking).
  * [opentxinterface] Unregister EEpromInterfaces in unregisterOpenTxFirmwares();
  * [storage] Unregister storage factories on exit (fixes leak); create virtual StorageFormat/StorageFactory destructors (prevents warnings).
  * [helpers] GVarGroup now emits own signal, no need to pass ModelPanel pointer (removes dependency on modeledit.h)
  * [DebugOutput] Clear simulator trace hook before exiting (prevent possible issues); Fix leak and possible bad QString allocations when reading from buffer; Fix leak with combo box event filter.
  * [TelemetrySimulator] Fix leak by deleting LogPlaybackController object on exit; Only set up data fields once; convert timers to static.
  * [build] Consolidate all Companion/Simulator shared items in `common` library to reduce build time/etc (node & edge still remain awkward).

* [simulatorwidget] Delete removed spacer object (previously-forgotten "26th" leak).

* [DebugOutput] Fix stray trailing characters issue with new text buffer allocation (from previous commit); Increase maximum buffer sizes to better accommodate slower systems.

* Cosmetics.
2017-03-21 07:43:40 +01:00
3djc
52e65179a8 Tools for 2.2 release handling (#4649)
* Scripts

* No suffix for docker image

* generate sdcard file to subdirectories to match companion changes

* Massively increase options for simus
backup lua_fields info for lua docs

* Allow both nightly and release to be built

* $ ambiguity

* Cleanup

* Tidy up

* Cosmetics
2017-03-21 07:43:13 +01:00
Damjan Adamic
8375304d61 Several fixes for Lua Widgets and Themes options (#4648) 2017-03-21 07:42:00 +01:00
Damjan Adamic
1f1098e270 Lua getValue() docs updated (fixed source links for 2.2 added) 2017-03-20 17:51:02 +01:00
LapinFou
8ae0bb88fa @3djc send me the new French .ts file. 2017-03-20 16:47:53 +01:00
Damjan Adamic
fab3b96815 Compilation fix for gcc 6.2.0 2017-03-19 22:30:40 +01:00
Damjan Adamic
4ecc41229a Launchpad changelogs for 2.2.0 RC13 2017-03-19 20:51:06 +01:00
Max Paperno
1973eaf67c [Simulator] Improve CoGetOSTime() for MSVC. (#4635)
* [Simulator] Increase resolution of CoGetOSTime() on Windows MSVC (possible fix for #4529, ref. #4342).

* Return total time, not delta time.

* Improve efficiency.
2017-03-19 20:07:30 +01:00
3djc
eba95dd227 Allow HAPTIC to be defined for avr too (#4633) 2017-03-19 20:06:31 +01:00
3djc
6807a08a7e It is usually better to not deleted a file before needing to copy it ! 2017-03-19 17:33:43 +01:00
Andre Bernet
b01de7797c Remove dangling empty file after download error 2017-03-19 17:22:15 +01:00
Andre Bernet
87ef351b03 Multi missing in FW build script for arsky9xrpro... 2017-03-19 17:05:37 +01:00
Andre Bernet
91b4ff60c6 Multi can now be exported to all ARM boards 2017-03-19 16:47:40 +01:00
Andre Bernet
ab737c05f3 Remove templates in build script too 2017-03-19 16:31:15 +01:00
Andre Bernet
0362ddbc94 No more templates on ARM (since they all support virtual inputs now) 2017-03-19 16:18:48 +01:00
3djc
b443d4b60e Prep for nightly 2017-03-19 08:42:20 +01:00
Andre Bernet
7628866def Register .otx files on Win 2017-03-18 23:59:57 +01:00
Bertrand Songis
87685cf84c Fixes #4631 - Same problem was happening on ATTITUDE (16bits signed value)
Tested by @sirPerma
2017-03-18 11:00:39 +01:00
Bertrand Songis
99472b4fb3 Fixes #4631
Tested by @sirPerma
2017-03-18 10:30:55 +01:00
Franck Aguerre
49d1aafc1b Jivarofad/m2560 update (#4593)
* New drivers : buzzer/speaker, voice wtv20 / jq6500 , i2c

First commit, testings to be done

* Voice correction

* Better way to drive voice modules

Same thing as LCD drivers

* Issue #2337 (error mismatch) solved

* Font correction

* Fonts correction again

* oups...

* Voice modules (Companion) & flash saving (ST7920)

* Documentation update

* I2C driver correction

* Mega2560 directory renamed to mega2560

* M2560 driver correction

* Voice directory correction

* Voice=ON does not works with MEGA2560 (OFF/WTV20/JQ6500)

* Compliant to cmake documentation

* On M2560, audioAVR use playnumber et playduration declared in voice.h
Don't know why, must be discuted...

* ‘{’ token forgotten

* Simplier way for AVR voice
2017-03-18 09:44:47 +01:00
3djc
225ca3160e Merge pull request #4630 from craftandtheory/horiz_vert_drawline
LUA horizontal and vertical lcd.drawLine(...) fix
2017-03-17 16:41:32 +01:00
Florent Martel
47f029f01c LUA horizontal and vertical lcd.drawLine(...) fix
Fixes #4608
2017-03-17 10:04:36 -05:00
3djc
b18ae12e08 Make smlsize font '.' a single dot and remove corresponding X9 code (#4626) 2017-03-16 18:50:02 +01:00
3djc
8a84c215a9 Fix #4582 (#4623) 2017-03-15 18:52:43 +01:00
Bertrand Songis
04d506b1e4 Fixes #4587 2017-03-15 17:45:55 +01:00
3djc
df8ef1074f Fix #4603 (#4605)
* Fix #4603

* Don't break 9XR-PRO !

* Fix

* I should stop drinking
2017-03-15 08:57:28 +01:00
Damjan Adamic
b965cac481 Projectkk2glider/issue 4099 leaks (#4617)
* Re #4099: memory leaks on model select screen fixed [Horus]

* Re #4099: memory leak in wizard background image [Horus]
2017-03-14 20:09:53 +01:00
3djc
0020941740 Re-organize nightly sequence (#4597)
* Re-organize nightly sequence

* Remove ambiguity around vars
2017-03-14 18:27:47 +01:00
3djc
7cb3d27174 Filter out hidden and system files (#4609) 2017-03-14 18:26:04 +01:00
Sebastien Charpentier
13cf25e829 French translation for the new simulator (#4602)
* update fr translations file for LapinFou

* Intermediate version.

* Intermediate version.

* Updated most of the new stuff.
Remaining: new simulator windows.

* 1st final version based on OTX 2.2.RC11
2017-03-14 18:25:40 +01:00
3djc
c5a09270a6 Update tts_fr.py 2017-03-14 17:17:20 +01:00
Max Paperno
2fb92e3d23 [Companion] Fix missing curve image(s) in model printer (fixes #4612). 2017-03-14 11:25:53 -04:00
Arne Schwabe
3de35e5b60 [AR9X/9XPRO] Fix multi module not selectable for not Frsky radios (fix #4607) 2017-03-14 11:36:47 +01:00
3djc
457b271c86 Fine tune 6 pos dispay on main view (#4610)
* Fine tune 6 pos dispay on main view

* Fine tune after real radio tests
2017-03-14 11:33:19 +01:00
Andre Bernet
8921f5528b +/- sources of unnamed telemetry sensors were visible (fix #4586) 2017-03-14 11:22:58 +01:00
Damjan Adamic
ac2a424353 Lua docs update: lcd.clear() 2017-03-13 20:21:53 +01:00
Damjan Adamic
7aae618ff8 Lua docs fix: playNumber() units table correction 2017-03-13 20:16:58 +01:00
Damjan Adamic
97734f2d9a Fixed a leak in Companion import: name can't be const char, it must store the string locally because some classes construct name dynamically. 2017-03-13 18:28:05 +01:00
Damjan Adamic
c05ea013f6 OpenTX 2.2.0 RC12 Launchpad files 2017-03-13 18:26:12 +01:00
3djc
aaad391a4a Update build-nightly.sh
Force some docker operations
2017-03-13 10:07:53 +01:00
3djc
67ee51b976 Fix #459 2017-03-13 07:05:43 +01:00
joaquins
59f8ee3283 Fix #4590 (horus->x12s rename) (#4591) 2017-03-12 10:02:17 +01:00
Max Paperno
f103c8851f [Simulator] Improve middle mouse button handling over radio navigation key areas: clicks were ignored, now either activates the current key under mouse, if any, or triggers default middle-mouse action (enter/menu/rotary press). (closes #4585) 2017-03-11 20:11:45 -05:00
3djc
2144bb77e3 Remove mixermon option (make it always true) (#4573)
* Remove mixermon option (make it always true)

* Cosmetics

* Compile fix
2017-03-11 10:26:05 +01:00
3djc
d04193e62d 3djc/x7 swcheck improve (#4579)
* Switch more like x9

* Fix

* The shift is only for x7

* Add pots check and compil fixes

* Fix SF cannot be disabled

* Various fixes
2017-03-11 10:25:01 +01:00
3djc
1cc59f4298 X7 review telem bars screen (#4580)
* SMLSIZE version

* Leave existing code untouched for non arm

* Fine tune rect

* bars title in SMLSIZE and v centered
2017-03-11 10:23:52 +01:00
3djc
a0b3c46c2b LUA drawline fix (#4581) 2017-03-11 10:23:06 +01:00
Max Paperno
0a5732b953 [Simulator] Fix Radio Outputs window not updating GVars/flight mode when re-launched from Companion or restarting radio in Simulator. 2017-03-10 22:06:02 -05:00
Andre Bernet
c6ba263572 [companion] No GVAR popups on Horus 2017-03-10 19:46:47 +01:00