cosmos 4.4.1 → 4.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build_v4.yml +33 -0
- data/Dockerfile +10 -4
- data/Gemfile +1 -1
- data/Manifest.txt +26 -2
- data/README.md +4 -1
- data/Rakefile +33 -27
- data/autohotkey/tools/cmd_extractor.ahk +11 -9
- data/autohotkey/tools/cmd_sender.ahk +1 -1
- data/autohotkey/tools/cmd_sequence.ahk +1 -1
- data/autohotkey/tools/data_viewer.ahk +1 -1
- data/autohotkey/tools/limits_monitor.ahk +1 -1
- data/autohotkey/tools/packet_viewer.ahk +1 -1
- data/autohotkey/tools/script_runner.ahk +1 -1
- data/autohotkey/tools/test_runner2.ahk +1 -1
- data/autohotkey/tools/tlm_grapher.ahk +1 -1
- data/autohotkey/tools/tlm_grapher3.ahk +1 -1
- data/autohotkey/tools/tlm_viewer.ahk +1 -1
- data/autohotkey/tools/tlm_viewer2.ahk +1 -1
- data/autohotkey/tools/tlm_viewer5.ahk +1 -1
- data/bin/rubysloc +73 -28
- data/bin/xtce_converter +1 -1
- data/cosmos.gemspec +6 -12
- data/data/config/interface_modifiers.yaml +3 -2
- data/data/config/system.yaml +81 -24
- data/data/crc.txt +435 -435
- data/demo/Rakefile +4 -4
- data/demo/config/data/crc.txt +250 -250
- data/demo/config/system/system.txt +15 -7
- data/demo/config/system/system2.txt +15 -7
- data/demo/config/system/system_alt_ports.txt +15 -7
- data/demo/config/targets/INST/cmd_tlm/inst_cmds.txt +1 -1
- data/demo/config/tools/handbook_creator/default_toc.xsl +59 -59
- data/ext/cosmos/ext/buffered_file/buffered_file.c +2 -2
- data/ext/cosmos/ext/config_parser/config_parser.c +1 -2
- data/ext/cosmos/ext/line_graph/line_graph.c +53 -94
- data/ext/cosmos/ext/packet/packet.c +0 -6
- data/ext/cosmos/ext/platform/platform.c +56 -21
- data/ext/cosmos/ext/polynomial_conversion/polynomial_conversion.c +4 -8
- data/ext/cosmos/ext/structure/structure.c +12 -0
- data/extensions/vscode/.gitignore +4 -0
- data/extensions/vscode/.vscode/launch.json +32 -0
- data/extensions/vscode/.vscode/settings.json +13 -0
- data/extensions/vscode/.vscode/tasks.json +79 -0
- data/extensions/vscode/License.txt +879 -0
- data/extensions/vscode/README.md +9 -0
- data/extensions/vscode/client/License.txt +879 -0
- data/extensions/vscode/client/README.md +39 -0
- data/extensions/vscode/client/cosmos.configuration.json +23 -0
- data/extensions/vscode/client/images/icon.png +0 -0
- data/extensions/vscode/client/package-lock.json +414 -0
- data/extensions/vscode/client/package.json +105 -0
- data/extensions/vscode/client/src/extension.ts +132 -0
- data/extensions/vscode/client/src/screen_preview.rb +25 -0
- data/extensions/vscode/client/syntaxes/cosmos.tmLanguage.json +219 -0
- data/extensions/vscode/client/tsconfig.json +17 -0
- data/extensions/vscode/package-lock.json +26 -0
- data/extensions/vscode/package.json +35 -0
- data/extensions/vscode/server/License.txt +879 -0
- data/extensions/vscode/server/package-lock.json +236 -0
- data/extensions/vscode/server/package.json +29 -0
- data/extensions/vscode/server/src/server.ts +59 -0
- data/extensions/vscode/server/tsconfig.json +16 -0
- data/install/Rakefile +4 -4
- data/install/config/data/crc.txt +145 -145
- data/install/config/system/system.txt +15 -7
- data/install/config/tools/handbook_creator/default_toc.xsl +59 -59
- data/lib/cosmos/config/config_parser.rb +2 -10
- data/lib/cosmos/core_ext/class.rb +10 -0
- data/lib/cosmos/core_ext/time.rb +5 -3
- data/lib/cosmos/dart/examples/dart_decom_client.rb +1 -1
- data/lib/cosmos/dart/lib/dart_common.rb +3 -3
- data/lib/cosmos/dart/lib/dart_decommutator.rb +4 -4
- data/lib/cosmos/dart/processes/dart_decom_server.rb +1 -1
- data/lib/cosmos/dart/processes/dart_master.rb +1 -1
- data/lib/cosmos/dart/spec/dart/dart_database_cleaner_spec.rb +2 -2
- data/lib/cosmos/gui/qt.rb +10 -10
- data/lib/cosmos/gui/qt_tool.rb +17 -12
- data/lib/cosmos/gui/text/completion_text_edit.rb +2 -0
- data/lib/cosmos/gui/widgets/dart_meta_frame.rb +1 -1
- data/lib/cosmos/interfaces/dart_status_interface.rb +1 -1
- data/lib/cosmos/interfaces/linc_interface.rb +3 -3
- data/lib/cosmos/interfaces/protocols/burst_protocol.rb +1 -1
- data/lib/cosmos/interfaces/protocols/crc_protocol.rb +1 -1
- data/lib/cosmos/interfaces/protocols/template_protocol.rb +3 -3
- data/lib/cosmos/interfaces/serial_interface.rb +7 -1
- data/lib/cosmos/interfaces/stream_interface.rb +1 -1
- data/lib/cosmos/interfaces/tcpip_server_interface.rb +16 -16
- data/lib/cosmos/io/io_multiplexer.rb +6 -2
- data/lib/cosmos/io/json_drb.rb +3 -11
- data/lib/cosmos/io/json_drb_object.rb +7 -2
- data/lib/cosmos/io/json_drb_rack.rb +25 -5
- data/lib/cosmos/io/json_rpc.rb +1 -1
- data/lib/cosmos/io/posix_serial_driver.rb +60 -22
- data/lib/cosmos/io/serial_driver.rb +11 -8
- data/lib/cosmos/io/win32_serial_driver.rb +8 -1
- data/lib/cosmos/packets/packet.rb +8 -8
- data/lib/cosmos/packets/packet_config.rb +1 -1
- data/lib/cosmos/packets/packet_item_limits.rb +2 -14
- data/lib/cosmos/packets/parsers/xtce_converter.rb +10 -10
- data/lib/cosmos/packets/parsers/xtce_parser.rb +3 -0
- data/lib/cosmos/packets/structure.rb +18 -5
- data/lib/cosmos/packets/structure_item.rb +4 -21
- data/lib/cosmos/script/api_shared.rb +18 -1
- data/lib/cosmos/script/extract.rb +1 -1
- data/lib/cosmos/script/script.rb +4 -11
- data/lib/cosmos/streams/serial_stream.rb +11 -6
- data/lib/cosmos/system/system.rb +47 -13
- data/lib/cosmos/tools/cmd_sender/cmd_param_table_item_delegate.rb +15 -0
- data/lib/cosmos/tools/cmd_sender/cmd_params.rb +25 -3
- data/lib/cosmos/tools/cmd_sender/cmd_sender.rb +7 -0
- data/lib/cosmos/tools/cmd_sequence/sequence_item.rb +0 -5
- data/lib/cosmos/tools/cmd_tlm_server/api.rb +10 -8
- data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server.rb +2 -2
- data/lib/cosmos/tools/cmd_tlm_server/gui/logging_tab.rb +1 -1
- data/lib/cosmos/tools/cmd_tlm_server/interface_thread.rb +29 -26
- data/lib/cosmos/tools/cmd_tlm_server/limits_groups_background_task.rb +1 -1
- data/lib/cosmos/tools/cmd_tlm_server/router_thread.rb +5 -0
- data/lib/cosmos/tools/config_editor/config_editor.rb +1 -1
- data/lib/cosmos/tools/handbook_creator/handbook_creator.rb +1 -1
- data/lib/cosmos/tools/handbook_creator/handbook_creator_config.rb +1 -1
- data/lib/cosmos/tools/script_runner/script_runner_frame.rb +5 -2
- data/lib/cosmos/tools/test_runner/test.rb +1 -1
- data/lib/cosmos/tools/test_runner/test_runner.rb +4 -4
- data/lib/cosmos/tools/tlm_extractor/tlm_extractor.rb +3 -3
- data/lib/cosmos/tools/tlm_extractor/tlm_extractor_config.rb +1 -4
- data/lib/cosmos/tools/tlm_extractor/tlm_extractor_processor.rb +3 -3
- data/lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_dart_thread.rb +1 -1
- data/lib/cosmos/tools/tlm_viewer/tlm_viewer.rb +2 -2
- data/lib/cosmos/tools/tlm_viewer/widgets/canvasdot_widget.rb +2 -0
- data/lib/cosmos/top_level.rb +1 -1
- data/lib/cosmos/utilities/simulated_target.rb +1 -1
- data/lib/cosmos/version.rb +5 -5
- data/make_gems.sh +1 -1
- data/spec/core_ext/class_spec.rb +54 -0
- data/spec/core_ext/time_spec.rb +4 -0
- data/spec/gui/qt_spec.rb +1 -1
- data/spec/gui/utilities/script_module_gui_spec.rb +1 -1
- data/spec/interfaces/linc_interface_spec.rb +1 -1
- data/spec/interfaces/serial_interface_spec.rb +1 -5
- data/spec/io/json_drb_rack_spec.rb +166 -0
- data/spec/io/json_rpc_spec.rb +4 -5
- data/spec/io/posix_serial_driver_spec.rb +87 -0
- data/spec/io/win32_serial_driver_spec.rb +17 -1
- data/spec/packet_logs/packet_log_reader_spec.rb +34 -35
- data/spec/packets/packet_item_limits_spec.rb +6 -33
- data/spec/packets/structure_item_spec.rb +3 -21
- data/spec/script/extract_spec.rb +4 -1
- data/spec/system/system_spec.rb +109 -1
- data/spec/tools/cmd_tlm_server/api_spec.rb +12 -12
- data/spec/tools/cmd_tlm_server/background_tasks_spec.rb +2 -2
- data/spec/tools/cmd_tlm_server/interface_thread_spec.rb +4 -3
- data/spec/tools/cmd_tlm_server/router_thread_spec.rb +2 -3
- data/spec/top_level/top_level_spec.rb +2 -2
- data/spec/utilities/logger_spec.rb +3 -3
- data/test/performance/Rakefile +4 -4
- data/test/performance/config/data/crc.txt +67 -48
- metadata +59 -9
- data/.coveralls.yml +0 -1
- data/.travis.yml +0 -16
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.
|
4
|
+
version: 4.5.2
|
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:
|
12
|
+
date: 2022-01-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.3'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: psych
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '3.3'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '3.3'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: rdoc
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,6 +178,9 @@ dependencies:
|
|
164
178
|
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
180
|
version: '1.10'
|
181
|
+
- - "<"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '1.13'
|
167
184
|
type: :runtime
|
168
185
|
prerelease: false
|
169
186
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -171,6 +188,9 @@ dependencies:
|
|
171
188
|
- - "~>"
|
172
189
|
- !ruby/object:Gem::Version
|
173
190
|
version: '1.10'
|
191
|
+
- - "<"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '1.13'
|
174
194
|
- !ruby/object:Gem::Dependency
|
175
195
|
name: opengl-bindings
|
176
196
|
requirement: !ruby/object:Gem::Requirement
|
@@ -419,16 +439,16 @@ dependencies:
|
|
419
439
|
name: benchmark-ips
|
420
440
|
requirement: !ruby/object:Gem::Requirement
|
421
441
|
requirements:
|
422
|
-
- -
|
442
|
+
- - '='
|
423
443
|
- !ruby/object:Gem::Version
|
424
|
-
version:
|
444
|
+
version: 2.7.2
|
425
445
|
type: :development
|
426
446
|
prerelease: false
|
427
447
|
version_requirements: !ruby/object:Gem::Requirement
|
428
448
|
requirements:
|
429
|
-
- -
|
449
|
+
- - '='
|
430
450
|
- !ruby/object:Gem::Version
|
431
|
-
version:
|
451
|
+
version: 2.7.2
|
432
452
|
- !ruby/object:Gem::Dependency
|
433
453
|
name: ruby-prof
|
434
454
|
requirement: !ruby/object:Gem::Requirement
|
@@ -436,6 +456,9 @@ dependencies:
|
|
436
456
|
- - "~>"
|
437
457
|
- !ruby/object:Gem::Version
|
438
458
|
version: '1.0'
|
459
|
+
- - "<"
|
460
|
+
- !ruby/object:Gem::Version
|
461
|
+
version: '1.3'
|
439
462
|
type: :development
|
440
463
|
prerelease: false
|
441
464
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -443,6 +466,9 @@ dependencies:
|
|
443
466
|
- - "~>"
|
444
467
|
- !ruby/object:Gem::Version
|
445
468
|
version: '1.0'
|
469
|
+
- - "<"
|
470
|
+
- !ruby/object:Gem::Version
|
471
|
+
version: '1.3'
|
446
472
|
description: |2
|
447
473
|
Ball Aerospace COSMOS provides all the functionality needed to send
|
448
474
|
commands to and receive data from one or more embedded systems
|
@@ -476,15 +502,14 @@ extensions:
|
|
476
502
|
- ext/mkrf_conf.rb
|
477
503
|
extra_rdoc_files: []
|
478
504
|
files:
|
479
|
-
- ".coveralls.yml"
|
480
505
|
- ".dockerignore"
|
481
506
|
- ".gitattributes"
|
482
507
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
483
508
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
484
509
|
- ".github/ISSUE_TEMPLATE/help---usage---general-question.md"
|
510
|
+
- ".github/workflows/build_v4.yml"
|
485
511
|
- ".gitignore"
|
486
512
|
- ".rubocop.yml"
|
487
|
-
- ".travis.yml"
|
488
513
|
- ".yardopts"
|
489
514
|
- CONTRIBUTING.txt
|
490
515
|
- Dockerfile
|
@@ -1172,6 +1197,29 @@ files:
|
|
1172
1197
|
- ext/cosmos/ext/telemetry/extconf.rb
|
1173
1198
|
- ext/cosmos/ext/telemetry/telemetry.c
|
1174
1199
|
- ext/mkrf_conf.rb
|
1200
|
+
- extensions/vscode/.gitignore
|
1201
|
+
- extensions/vscode/.vscode/launch.json
|
1202
|
+
- extensions/vscode/.vscode/settings.json
|
1203
|
+
- extensions/vscode/.vscode/tasks.json
|
1204
|
+
- extensions/vscode/License.txt
|
1205
|
+
- extensions/vscode/README.md
|
1206
|
+
- extensions/vscode/client/License.txt
|
1207
|
+
- extensions/vscode/client/README.md
|
1208
|
+
- extensions/vscode/client/cosmos.configuration.json
|
1209
|
+
- extensions/vscode/client/images/icon.png
|
1210
|
+
- extensions/vscode/client/package-lock.json
|
1211
|
+
- extensions/vscode/client/package.json
|
1212
|
+
- extensions/vscode/client/src/extension.ts
|
1213
|
+
- extensions/vscode/client/src/screen_preview.rb
|
1214
|
+
- extensions/vscode/client/syntaxes/cosmos.tmLanguage.json
|
1215
|
+
- extensions/vscode/client/tsconfig.json
|
1216
|
+
- extensions/vscode/package-lock.json
|
1217
|
+
- extensions/vscode/package.json
|
1218
|
+
- extensions/vscode/server/License.txt
|
1219
|
+
- extensions/vscode/server/package-lock.json
|
1220
|
+
- extensions/vscode/server/package.json
|
1221
|
+
- extensions/vscode/server/src/server.ts
|
1222
|
+
- extensions/vscode/server/tsconfig.json
|
1175
1223
|
- install/Gemfile
|
1176
1224
|
- install/Launcher
|
1177
1225
|
- install/Launcher.bat
|
@@ -1932,8 +1980,10 @@ files:
|
|
1932
1980
|
- spec/io/buffered_file_spec.rb
|
1933
1981
|
- spec/io/io_multiplexer_spec.rb
|
1934
1982
|
- spec/io/json_drb_object_spec.rb
|
1983
|
+
- spec/io/json_drb_rack_spec.rb
|
1935
1984
|
- spec/io/json_drb_spec.rb
|
1936
1985
|
- spec/io/json_rpc_spec.rb
|
1986
|
+
- spec/io/posix_serial_driver_spec.rb
|
1937
1987
|
- spec/io/raw_logger_pair_spec.rb
|
1938
1988
|
- spec/io/raw_logger_spec.rb
|
1939
1989
|
- spec/io/serial_driver_spec.rb
|
@@ -2256,7 +2306,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2256
2306
|
requirements:
|
2257
2307
|
- - "~>"
|
2258
2308
|
- !ruby/object:Gem::Version
|
2259
|
-
version: '2.
|
2309
|
+
version: '2.4'
|
2260
2310
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2261
2311
|
requirements:
|
2262
2312
|
- - ">="
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|
data/.travis.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
env: JRUBY_OPTS=--debug
|
2
|
-
dist: trusty
|
3
|
-
language: ruby
|
4
|
-
cache: bundler
|
5
|
-
services:
|
6
|
-
- postgresql
|
7
|
-
rvm:
|
8
|
-
- jruby-9.2.9.0
|
9
|
-
- 2.6.5
|
10
|
-
- 2.5.7
|
11
|
-
- 2.4.9
|
12
|
-
before_install:
|
13
|
-
- sudo apt-get install -y libgl1-mesa-dev
|
14
|
-
- gem update --system
|
15
|
-
- gem install bundler
|
16
|
-
script: bundle exec rake build spec
|