Commit Graph

64 Commits (8d1352e6efc903f3e9a02b9d0531716b77c0b022)

Author SHA1 Message Date
Chris Charles df556ad1bd cli output save button 2017-05-16 08:11:32 +01:00
Hydra fb64fa0d61 CF/BF - Prevent exceptions that result in a white content panel occuring
when unplugging USB cable while in CLI mode.

Note: Various different exception scenarious were encountered in testing, the main solution seemed to be not trying to send when disconnected (!).  Other state  related issues were found along the way.
2017-05-05 16:01:34 +12:00
Michael Keller b00f854b6a Fixed profile switching in the CLI.
Cleaned up CLI input processing.
2016-09-13 02:12:31 +12:00
KiteAnton 96115be10e Separation of MSP code into protocol and config parts, will ease further development and readability 2016-08-11 22:20:23 +02:00
KiteAnton 2ffefb065f Some cleanup of MSP code 2016-08-06 15:59:43 +02:00
nathan cbb7122336 disable stats 2016-06-15 22:25:11 -07:00
Albert Kravcov ace46998ce Merge pull request #354 from KiteAnton/additional_cli_time
Additional cli time for large text dumps
2016-05-28 13:47:11 +02:00
Dominic Clifton 60bfeed194 Fix unable to reconnect after disconnecting when CLI was active. 2016-03-24 14:50:24 +01:00
KiteAnton eaf9297e8b Additional time needed for large text dumps 2016-03-12 11:37:28 +01:00
Michael Corcoran 4b5a398e0a CLI: Fix undefined tab_switch_in_progress error 2015-12-24 00:26:51 +13:00
Dominic Clifton 78d7afc029 Fix switching to setup tab for non-VCP targets when clicking another tab
when in the CLI.
2015-12-18 13:53:21 +01:00
Dominic Clifton 31fa4bfaa2 Change VCP reconnect delay to 2.5 seconds. 2 seconds was not long
enough.
2015-12-17 09:52:10 +01:00
Dominic Clifton 7618363449 Improve CLI mode entry/exit detection. Fixes #285.
Disconnects and reconnects for VCP boards.  After manually saving or
exiting on non VCP boards the setup tab will be shown.

See
https://github.com/cleanflight/cleanflight-configurator/issues/285#issuecomment-165096715
2015-12-16 13:55:35 +01:00
Dominic Clifton d73196ea11 Fix toggle buttons reverting to checkboxes after reboot.
This moves GUI specific code out of main and the individual tab js files
into gui.js, where it fits better.
2015-11-11 21:01:22 +00:00
Dominic Clifton 64a031bcbb deleting unused chrome 33+ rendering fix 2015-11-09 23:33:15 +00:00
Kristjan Vaga 76fc0176da Polishing the toolbar related styles. Fixing styles. 2015-11-05 19:22:39 +02:00
skaman82 87e9bfd3d9 ...restoring some files 2015-10-23 15:42:32 +02:00
Dominic Clifton 9583ae81fa Only send 'exit' on cli tab during cleanup if connected. 2015-01-26 22:38:25 +01:00
cTn c0284f1134 ditch some empty callbacks that are now gracefully handled inside the serial layer 2014-12-06 15:35:12 +01:00
cTn e401b1ffce renaming some of the appview hits 2014-10-30 12:33:39 +01:00
cTn f9ff34fb8b prevent re-sending analytics appview on tab re-initialization, add 1500ms delay on configuration save & reboot 2014-10-01 13:16:22 +02:00
cTn 5cd042ae9d remove active_tab_ref, name some of the anonymous functions, cleanup 2014-10-01 12:58:09 +02:00
cTn 2753f354e0 polishing run 2014-08-12 16:05:22 +02:00
cTn e27a194ec7 another refactor for global variables, bugfixes for logging tab initialization in strict mode 2014-08-12 15:51:31 +02:00
cTn ec44b77ff2 lots of work on removing global variables 2014-08-10 06:01:44 +02:00
cTn 20e6ad0074 enable strict mode in couple more files 2014-08-09 20:01:17 +02:00
cTn 1885fba5a0 analytics overhaul 2014-07-16 12:59:12 +02:00
cTn e49f4ea5ff converting tab object initialization 2014-07-10 19:19:45 +02:00
cTn a8e19a6956 cleanup cli history 2014-07-10 19:16:53 +02:00
cTn 799fc76c8e hooking up all of the active_tab references 2014-07-10 18:51:02 +02:00
cTn 75e0accf75 hookup new cleanup system 2014-07-10 18:45:18 +02:00
cTn e37191a1b0 cli in tabs 2014-07-10 18:33:30 +02:00
cTn c6700a8588 equip all tab initializers with callback parameter (currently without hooks) 2014-07-09 16:12:37 +02:00
cTn f649418fdf moving CLI vars around 2014-06-20 10:29:01 +02:00
cTn 6d38e301ef bugfix for glitchy vertical text position in CLI 2014-05-26 14:11:30 +02:00
cTn 2162a2b9d3 pre-enable i18n for all html content in tabs 2014-05-06 16:48:46 +02:00
cTn 1280c7668c optimizing/cleaning up 2014-04-19 22:23:44 +02:00
cTn e01160dae7 trigger line feed for CrOS as well (!OSX) 2014-04-10 23:06:12 +02:00
cTn 2977f9725b removal of clipboard write 2014-04-03 14:20:12 +02:00
cTn 58d43c381b removal of char_counter, new port_usage, i18n
added bitrate to serial object, removed last bits of 'port_handler'
interval code forgotten in the kill routines, new port_usage is now
saved in a separate file
2014-03-29 00:59:39 +01:00
cTn 9b29f78e3e whitespace trimming run 2014-03-08 06:25:15 +01:00
cTn ce351d7521 new UI population / JS execution order
(blink bugfix for several tabs)
2014-02-14 22:17:51 +01:00
cTn d4dbb880d6 more cleanup 2014-02-14 21:54:21 +01:00
cTn 88ed454169 bugfix / cleanup routine for delayed data
requests that could leak into CLI and cause corruption
2014-02-10 16:26:43 +01:00
cTn 793be64474 force redraw on each new CLI messages (bugfix)
fixes failed / half-redraw behavior that i am experiencing on windows
with chromium 33+ beta
2014-01-24 22:17:17 +01:00
cTn 5a2ebe9af4 moving content loading inside tab initialization 2014-01-24 17:06:54 +01:00
cTn 39075c06ab drop junk in input buffer before entering CLI
this could use some polishing but i think it will do for now
close #21
2014-01-22 20:51:12 +01:00
cTn c0937ddbd4 splitting MSP and CLI integration, new serial api 2014-01-22 20:35:37 +01:00
cTn fd576711a9 blind ports 2014-01-18 12:14:18 +01:00
cTn ad8304f7a8 handle small screen resolutions more gracefully
fixes #16
2013-12-18 14:57:27 +01:00