cosmos 4.1.0 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/Manifest.txt +5 -0
  3. data/appveyor.yml +2 -0
  4. data/autohotkey/tools/replay.ahk +45 -45
  5. data/autohotkey/tools/script_runner.ahk +3 -9
  6. data/cosmos.gemspec +1 -1
  7. data/data/config/interface_modifiers.yaml +23 -0
  8. data/data/config/screen.yaml +1 -1
  9. data/data/crc.txt +20 -18
  10. data/demo/config/targets/INST/cmd_tlm_server.txt +1 -1
  11. data/lib/cosmos/config/config_parser.rb +8 -3
  12. data/lib/cosmos/gui/dialogs/exception_dialog.rb +20 -5
  13. data/lib/cosmos/interfaces/protocols/burst_protocol.rb +13 -3
  14. data/lib/cosmos/interfaces/protocols/crc_protocol.rb +27 -3
  15. data/lib/cosmos/interfaces/protocols/fixed_protocol.rb +4 -2
  16. data/lib/cosmos/interfaces/protocols/length_protocol.rb +4 -2
  17. data/lib/cosmos/interfaces/protocols/override_protocol.rb +2 -2
  18. data/lib/cosmos/interfaces/protocols/preidentified_protocol.rb +3 -2
  19. data/lib/cosmos/interfaces/protocols/protocol.rb +16 -4
  20. data/lib/cosmos/interfaces/protocols/template_protocol.rb +7 -2
  21. data/lib/cosmos/interfaces/protocols/terminated_protocol.rb +4 -2
  22. data/lib/cosmos/packets/packet_config.rb +19 -859
  23. data/lib/cosmos/packets/packet_item.rb +56 -201
  24. data/lib/cosmos/packets/parsers/xtce_converter.rb +440 -0
  25. data/lib/cosmos/packets/parsers/xtce_parser.rb +682 -0
  26. data/lib/cosmos/tools/config_editor/config_editor.rb +143 -5
  27. data/lib/cosmos/tools/tlm_viewer/screen.rb +1 -1
  28. data/lib/cosmos/tools/tlm_viewer/tlm_viewer.rb +5 -3
  29. data/lib/cosmos/tools/tlm_viewer/tlm_viewer_config.rb +40 -27
  30. data/lib/cosmos/version.rb +4 -4
  31. data/spec/config/config_parser_spec.rb +39 -2
  32. data/spec/install/config/targets/INST/screens/hs.txt +42 -0
  33. data/spec/install/config/targets/INST/target.txt +2 -0
  34. data/spec/interfaces/protocols/burst_protocol_spec.rb +18 -0
  35. data/spec/interfaces/protocols/length_protocol_spec.rb +49 -0
  36. data/spec/interfaces/udp_interface_spec.rb +0 -9
  37. data/spec/packets/packet_config_spec.rb +21 -144
  38. data/spec/packets/packet_item_spec.rb +68 -4
  39. data/spec/packets/parsers/packet_item_parser_spec.rb +12 -0
  40. data/spec/packets/parsers/xtce_parser_spec.rb +398 -0
  41. data/spec/tools/tlm_viewer/tlm_viewer_config_spec.rb +401 -0
  42. metadata +9 -10
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cosmos
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-11-17 00:00:00.000000000 Z
12
+ date: 2017-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -205,20 +205,14 @@ dependencies:
205
205
  name: opengl
206
206
  requirement: !ruby/object:Gem::Requirement
207
207
  requirements:
208
- - - ">="
209
- - !ruby/object:Gem::Version
210
- version: '0.7'
211
- - - "<"
208
+ - - "~>"
212
209
  - !ruby/object:Gem::Version
213
210
  version: '0.10'
214
211
  type: :runtime
215
212
  prerelease: false
216
213
  version_requirements: !ruby/object:Gem::Requirement
217
214
  requirements:
218
- - - ">="
219
- - !ruby/object:Gem::Version
220
- version: '0.7'
221
- - - "<"
215
+ - - "~>"
222
216
  - !ruby/object:Gem::Version
223
217
  version: '0.10'
224
218
  - !ruby/object:Gem::Dependency
@@ -1490,6 +1484,8 @@ files:
1490
1484
  - lib/cosmos/packets/parsers/packet_parser.rb
1491
1485
  - lib/cosmos/packets/parsers/processor_parser.rb
1492
1486
  - lib/cosmos/packets/parsers/state_parser.rb
1487
+ - lib/cosmos/packets/parsers/xtce_converter.rb
1488
+ - lib/cosmos/packets/parsers/xtce_parser.rb
1493
1489
  - lib/cosmos/packets/structure.rb
1494
1490
  - lib/cosmos/packets/structure_item.rb
1495
1491
  - lib/cosmos/packets/telemetry.rb
@@ -1737,6 +1733,7 @@ files:
1737
1733
  - spec/install/config/targets/INST/cmd_tlm/inst_tlm_linc.txt
1738
1734
  - spec/install/config/targets/INST/cmd_tlm_server.txt
1739
1735
  - spec/install/config/targets/INST/lib/sim_inst.rb
1736
+ - spec/install/config/targets/INST/screens/hs.txt
1740
1737
  - spec/install/config/targets/INST/target.txt
1741
1738
  - spec/install/config/targets/SYSTEM/cmd_tlm/limits_groups.txt
1742
1739
  - spec/install/config/targets/SYSTEM/cmd_tlm/meta_tlm.txt
@@ -1793,6 +1790,7 @@ files:
1793
1790
  - spec/packets/parsers/packet_parser_spec.rb
1794
1791
  - spec/packets/parsers/processor_parser_spec.rb
1795
1792
  - spec/packets/parsers/state_parser_spec.rb
1793
+ - spec/packets/parsers/xtce_parser_spec.rb
1796
1794
  - spec/packets/structure_item_spec.rb
1797
1795
  - spec/packets/structure_spec.rb
1798
1796
  - spec/packets/telemetry_spec.rb
@@ -1836,6 +1834,7 @@ files:
1836
1834
  - spec/tools/table_manager/table_parser_spec.rb
1837
1835
  - spec/tools/table_manager/table_spec.rb
1838
1836
  - spec/tools/table_manager/tablemanager_core_spec.rb
1837
+ - spec/tools/tlm_viewer/tlm_viewer_config_spec.rb
1839
1838
  - spec/top_level/top_level_spec.rb
1840
1839
  - spec/utilities/crc_spec.rb
1841
1840
  - spec/utilities/csv_spec.rb