cosmos 3.3.3 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +2 -0
  3. data/.travis.yml +2 -1
  4. data/Gemfile +4 -3
  5. data/Manifest.txt +22 -0
  6. data/autohotkey/tools/handbook_creator.ahk +9 -0
  7. data/autohotkey/tools/packet_viewer.ahk +4 -0
  8. data/bin/exchndl20-x64.dll +0 -0
  9. data/bin/exchndl20.dll +0 -0
  10. data/bin/exchndl21-x64.dll +0 -0
  11. data/bin/exchndl21.dll +0 -0
  12. data/bin/exchndl22-x64.dll +0 -0
  13. data/bin/exchndl22.dll +0 -0
  14. data/bin/mgwhelp-x64.dll +0 -0
  15. data/bin/mgwhelp.dll +0 -0
  16. data/cosmos.gemspec +1 -0
  17. data/data/crc.txt +30 -24
  18. data/demo/config/data/crc.txt +3 -3
  19. data/demo/config/tools/handbook_creator/templates/command_packets.html.erb +3 -1
  20. data/demo/config/tools/handbook_creator/templates/telemetry_packets.html.erb +3 -1
  21. data/demo/procedures/cosmos_api_test.rb +1 -1
  22. data/ext/cosmos/ext/low_fragmentation_array/low_fragmentation_array.c +4 -0
  23. data/ext/cosmos/ext/platform/platform.c +22 -2
  24. data/ext/cosmos/ext/structure/structure.c +631 -104
  25. data/ext/cosmos/ext/telemetry/telemetry.c +3 -2
  26. data/lib/cosmos/gui/line_graph/line_graph_drawing.rb +71 -92
  27. data/lib/cosmos/gui/line_graph/overview_graph.rb +1 -1
  28. data/lib/cosmos/gui/qt.rb +38 -24
  29. data/lib/cosmos/gui/text/ruby_editor.rb +1 -1
  30. data/lib/cosmos/packets/binary_accessor.rb +1 -288
  31. data/lib/cosmos/packets/telemetry.rb +2 -1
  32. data/lib/cosmos/script/cmd_tlm_server.rb +110 -0
  33. data/lib/cosmos/script/commands.rb +166 -0
  34. data/lib/cosmos/script/extract.rb +2 -2
  35. data/lib/cosmos/script/limits.rb +108 -0
  36. data/lib/cosmos/script/script.rb +28 -1487
  37. data/lib/cosmos/script/scripting.rb +889 -0
  38. data/lib/cosmos/script/telemetry.rb +174 -0
  39. data/lib/cosmos/script/tools.rb +138 -0
  40. data/lib/cosmos/streams/stream_protocol.rb +9 -6
  41. data/lib/cosmos/system/target.rb +55 -38
  42. data/lib/cosmos/tools/cmd_tlm_server/api.rb +6 -3
  43. data/lib/cosmos/tools/cmd_tlm_server/connections.rb +0 -1
  44. data/lib/cosmos/tools/cmd_tlm_server/gui/interfaces_tab.rb +17 -7
  45. data/lib/cosmos/tools/cmd_tlm_server/interface_thread.rb +15 -4
  46. data/lib/cosmos/tools/handbook_creator/handbook_creator.rb +15 -8
  47. data/lib/cosmos/tools/handbook_creator/handbook_creator_config.rb +41 -13
  48. data/lib/cosmos/tools/packet_viewer/packet_viewer.rb +18 -1
  49. data/lib/cosmos/tools/tlm_viewer/widgets/canvasline_widget.rb +1 -1
  50. data/lib/cosmos/tools/tlm_viewer/widgets/canvaslinevalue_widget.rb +1 -1
  51. data/lib/cosmos/tools/tlm_viewer/widgets/limitsbar_widget.rb +1 -1
  52. data/lib/cosmos/tools/tlm_viewer/widgets/rangebar_widget.rb +1 -1
  53. data/lib/cosmos/top_level.rb +1 -1
  54. data/lib/cosmos/utilities/ruby_lex_utils.rb +1 -1
  55. data/lib/cosmos/version.rb +5 -5
  56. data/spec/gui/line_graph/line_clip_spec.rb +6 -6
  57. data/spec/gui/qt_spec.rb +102 -0
  58. data/spec/interfaces/interface_spec.rb +9 -9
  59. data/spec/interfaces/linc_interface_spec.rb +72 -15
  60. data/spec/interfaces/serial_interface_spec.rb +9 -9
  61. data/spec/interfaces/simulated_target_interface_spec.rb +7 -7
  62. data/spec/interfaces/stream_interface_spec.rb +4 -4
  63. data/spec/interfaces/tcpip_client_interface_spec.rb +8 -8
  64. data/spec/interfaces/tcpip_server_interface_spec.rb +9 -9
  65. data/spec/interfaces/udp_interface_spec.rb +20 -20
  66. data/spec/io/json_drb_spec.rb +4 -4
  67. data/spec/io/raw_logger_pair_spec.rb +20 -20
  68. data/spec/io/raw_logger_spec.rb +3 -3
  69. data/spec/io/tcpip_server_spec.rb +9 -9
  70. data/spec/io/udp_sockets_spec.rb +2 -2
  71. data/spec/io/win32_serial_driver_spec.rb +2 -2
  72. data/spec/packets/binary_accessor_spec.rb +143 -6
  73. data/spec/packets/commands_spec.rb +5 -5
  74. data/spec/packets/limits_spec.rb +15 -15
  75. data/spec/packets/packet_config_spec.rb +19 -19
  76. data/spec/packets/packet_item_limits_spec.rb +3 -3
  77. data/spec/packets/packet_item_spec.rb +4 -4
  78. data/spec/packets/packet_spec.rb +33 -33
  79. data/spec/packets/structure_item_spec.rb +19 -19
  80. data/spec/packets/telemetry_spec.rb +6 -6
  81. data/spec/script/cmd_tlm_server_spec.rb +110 -0
  82. data/spec/script/commands_disconnect_spec.rb +270 -0
  83. data/spec/script/commands_spec.rb +288 -0
  84. data/spec/script/limits_spec.rb +153 -0
  85. data/spec/script/script_spec.rb +32 -696
  86. data/spec/script/scripting_spec.rb +436 -0
  87. data/spec/script/telemetry_spec.rb +130 -0
  88. data/spec/script/tools_spec.rb +117 -0
  89. data/spec/spec_helper.rb +10 -5
  90. data/spec/streams/preidentified_stream_protocol_spec.rb +4 -4
  91. data/spec/streams/serial_stream_spec.rb +8 -8
  92. data/spec/streams/stream_protocol_spec.rb +4 -4
  93. data/spec/streams/tcpip_client_stream_spec.rb +3 -3
  94. data/spec/streams/tcpip_socket_stream_spec.rb +7 -7
  95. data/spec/streams/template_stream_protocol_spec.rb +1 -1
  96. data/spec/system/system_spec.rb +6 -6
  97. data/spec/system/target_spec.rb +2 -0
  98. data/spec/tools/cmd_tlm_server/api_spec.rb +17 -17
  99. data/spec/tools/cmd_tlm_server/cmd_tlm_server_config_spec.rb +5 -5
  100. data/spec/tools/cmd_tlm_server/interface_thread_spec.rb +3 -3
  101. data/spec/top_level/top_level_spec.rb +8 -8
  102. data/spec/utilities/csv_spec.rb +3 -3
  103. data/spec/utilities/message_log_spec.rb +3 -3
  104. data/spec/utilities/ruby_lex_utils_spec.rb +7 -7
  105. data/test/performance/config/tools/launcher/launcher_threads.txt +8 -1
  106. data/test/performance/tools/CmdTlmServerMemProf +1 -1
  107. data/test/performance/tools/TlmGrapherMemProf +19 -0
  108. data/test/performance/tools/TlmGrapherMemProf.bat +59 -0
  109. metadata +38 -2
@@ -106,8 +106,8 @@ module Cosmos
106
106
  tf.close
107
107
  config = CmdTlmServerConfig.new(tf.path)
108
108
  expect(config.packet_log_writer_pairs.keys).to eql ["DEFAULT","MY_WRITER"]
109
- expect(config.packet_log_writer_pairs["DEFAULT"].cmd_log_writer.logging_enabled).to be_truthy
110
- expect(config.packet_log_writer_pairs["MY_WRITER"].cmd_log_writer.logging_enabled).to be_falsey
109
+ expect(config.packet_log_writer_pairs["DEFAULT"].cmd_log_writer.logging_enabled).to be true
110
+ expect(config.packet_log_writer_pairs["MY_WRITER"].cmd_log_writer.logging_enabled).to be false
111
111
  tf.unlink
112
112
  config.packet_log_writer_pairs.each do |name, plwp|
113
113
  plwp.cmd_log_writer.shutdown
@@ -191,7 +191,7 @@ module Cosmos
191
191
  tf.puts 'DONT_CONNECT'
192
192
  tf.close
193
193
  config = CmdTlmServerConfig.new(tf.path)
194
- expect(config.interfaces['CTSCONFIGTESTINTERFACE'].connect_on_startup).to be_falsey
194
+ expect(config.interfaces['CTSCONFIGTESTINTERFACE'].connect_on_startup).to be false
195
195
  tf.unlink
196
196
  end
197
197
  end
@@ -212,7 +212,7 @@ module Cosmos
212
212
  tf.puts 'DONT_RECONNECT'
213
213
  tf.close
214
214
  config = CmdTlmServerConfig.new(tf.path)
215
- expect(config.interfaces['CTSCONFIGTESTINTERFACE'].auto_reconnect).to be_falsey
215
+ expect(config.interfaces['CTSCONFIGTESTINTERFACE'].auto_reconnect).to be false
216
216
  tf.unlink
217
217
  end
218
218
  end
@@ -254,7 +254,7 @@ module Cosmos
254
254
  tf.puts 'DISABLE_DISCONNECT'
255
255
  tf.close
256
256
  config = CmdTlmServerConfig.new(tf.path)
257
- expect(config.interfaces['CTSCONFIGTESTINTERFACE'].disable_disconnect).to be_truthy
257
+ expect(config.interfaces['CTSCONFIGTESTINTERFACE'].disable_disconnect).to be true
258
258
  tf.unlink
259
259
  end
260
260
  end
@@ -121,7 +121,7 @@ module Cosmos
121
121
  thread.stop
122
122
  sleep 0.2
123
123
  expect(Thread.list.length).to eql(1)
124
- expect(callback_called).to be_truthy
124
+ expect(callback_called).to be true
125
125
 
126
126
  expect(stdout.string).not_to match "Connection Success"
127
127
  end
@@ -163,7 +163,7 @@ module Cosmos
163
163
  thread.stop
164
164
  sleep 0.2
165
165
  expect(Thread.list.length).to eql(1)
166
- expect(callback_called).to be_truthy
166
+ expect(callback_called).to be true
167
167
 
168
168
  expect(stdout.string).not_to match "Connection Lost"
169
169
  end
@@ -229,7 +229,7 @@ module Cosmos
229
229
  sleep 0.1
230
230
  thread.stop
231
231
  sleep 0.2
232
- expect(callback_called).to be_truthy
232
+ expect(callback_called).to be true
233
233
 
234
234
  expect(stdout.string).not_to match "Packet reading thread unexpectedly died"
235
235
  end
@@ -116,7 +116,7 @@ module Cosmos
116
116
  array = [1,2,3,4]
117
117
  Cosmos.marshal_dump('marshal_test', array)
118
118
  array_load = Cosmos.marshal_load('marshal_test')
119
- expect(File.exist?(File.join(Cosmos::USERPATH,'marshal_test'))).to be_truthy
119
+ expect(File.exist?(File.join(Cosmos::USERPATH,'marshal_test'))).to be true
120
120
  expect(array).to eql array_load
121
121
  File.delete(File.join(Cosmos::USERPATH,'marshal_test'))
122
122
  end
@@ -161,9 +161,9 @@ module Cosmos
161
161
  thread = Cosmos.run_process("ping 192.0.0.234 -n 1 -w 1000 > nul")
162
162
  sleep 0.1
163
163
  expect(thread).to be_a Thread
164
- expect(thread.alive?).to be_truthy
164
+ expect(thread.alive?).to be true
165
165
  sleep 2
166
- expect(thread.alive?).to be_falsey
166
+ expect(thread.alive?).to be false
167
167
  end
168
168
  end
169
169
  end
@@ -198,7 +198,7 @@ module Cosmos
198
198
  describe "create_log_file" do
199
199
  it "creates a log file even if System LOGS doesn't exist" do
200
200
  filename = Cosmos.create_log_file('test', 'X:/directory/which/does/not/exit')
201
- expect(File.exist?(filename)).to be_truthy
201
+ expect(File.exist?(filename)).to be true
202
202
  File.delete(filename)
203
203
 
204
204
  Cosmos.set_working_dir do
@@ -220,13 +220,13 @@ module Cosmos
220
220
  # Create a logs directory as the first order backup
221
221
  FileUtils.mkdir('logs')
222
222
  filename = Cosmos.create_log_file('test', 'X:/directory/which/does/not/exit')
223
- expect(File.exist?(filename)).to be_truthy
223
+ expect(File.exist?(filename)).to be true
224
224
  File.delete(filename)
225
225
 
226
226
  # Delete logs and see if we still get a log file
227
227
  FileUtils.rm_rf('logs')
228
228
  filename = Cosmos.create_log_file('test', 'X:/directory/which/does/not/exit')
229
- expect(File.exist?(filename)).to be_truthy
229
+ expect(File.exist?(filename)).to be true
230
230
  File.delete(filename)
231
231
 
232
232
  # Restore outputs
@@ -238,9 +238,9 @@ module Cosmos
238
238
  describe "write_exception_file" do
239
239
  it "writes an exception file" do
240
240
  file = Cosmos.write_exception_file(nil, 'test1_exception', File.dirname(__FILE__))
241
- expect(File.exist?(file)).to be_truthy
241
+ expect(File.exist?(file)).to be true
242
242
  file = Cosmos.write_exception_file(RuntimeError.new, 'test2_exception', File.dirname(__FILE__))
243
- expect(File.exist?(file)).to be_truthy
243
+ expect(File.exist?(file)).to be true
244
244
  Cosmos.cleanup_exceptions()
245
245
  end
246
246
  end
@@ -54,7 +54,7 @@ module Cosmos
54
54
  describe "create_archive" do
55
55
  it "creates a default archive file" do
56
56
  @csv.create_archive
57
- expect(File.exist?(@csv.archive_file)).to be_truthy
57
+ expect(File.exist?(@csv.archive_file)).to be true
58
58
  @csv.close_archive
59
59
  end
60
60
 
@@ -62,7 +62,7 @@ module Cosmos
62
62
  if Kernel.is_windows?
63
63
  Dir.mkdir("C:/temp") unless File.directory?("C:/temp")
64
64
  @csv.create_archive("C:/temp")
65
- expect(File.exist?(@csv.archive_file)).to be_truthy
65
+ expect(File.exist?(@csv.archive_file)).to be true
66
66
  @csv.close_archive
67
67
  end
68
68
  end
@@ -74,7 +74,7 @@ module Cosmos
74
74
  @csv.write_archive(%w(HI a b c))
75
75
  @csv.close_archive
76
76
  data = File.read @csv.archive_file
77
- expect(data.include?("HI,a,b,c")).to be_truthy
77
+ expect(data.include?("HI,a,b,c")).to be true
78
78
  end
79
79
 
80
80
  it "raises an exception if writing to an unopened archive" do
@@ -27,7 +27,7 @@ module Cosmos
27
27
  log.start
28
28
  log.stop
29
29
  Cosmos.set_working_dir do
30
- expect(File.exist?(log.filename)).to be_truthy
30
+ expect(File.exist?(log.filename)).to be true
31
31
  expect(log.filename).to match 'TEST'
32
32
  expect(log.filename).to match 'logs'
33
33
  File.delete log.filename
@@ -38,7 +38,7 @@ module Cosmos
38
38
  log = MessageLog.new('TEST', File.expand_path(File.dirname(__FILE__)))
39
39
  log.start
40
40
  log.stop
41
- expect(File.exist?(log.filename)).to be_truthy
41
+ expect(File.exist?(log.filename)).to be true
42
42
  expect(log.filename).to match File.expand_path(File.dirname(__FILE__))
43
43
  File.delete log.filename
44
44
  end
@@ -79,7 +79,7 @@ module Cosmos
79
79
  log.start
80
80
  log.stop
81
81
  Cosmos.set_working_dir do
82
- expect(File.stat(log.filename).writable?).to be_falsey
82
+ expect(File.stat(log.filename).writable?).to be false
83
83
  File.delete log.filename
84
84
  end
85
85
  end
@@ -19,23 +19,23 @@ module Cosmos
19
19
 
20
20
  describe "contains_begin?" do
21
21
  it "detects the begin keyword" do
22
- expect(@lex.contains_begin?(" begin ")).to be_truthy
23
- expect(@lex.contains_begin?(" begin # asdf ")).to be_truthy
22
+ expect(@lex.contains_begin?(" begin ")).to be true
23
+ expect(@lex.contains_begin?(" begin # asdf ")).to be true
24
24
  end
25
25
  end
26
26
 
27
27
  describe "contains_keyword?" do
28
28
  it "detects the ruby keywords" do
29
- expect(@lex.contains_keyword?("if something")).to be_truthy
30
- expect(@lex.contains_keyword?("obj.method = something")).to be_falsey
29
+ expect(@lex.contains_keyword?("if something")).to be true
30
+ expect(@lex.contains_keyword?("obj.method = something")).to be false
31
31
  end
32
32
  end
33
33
 
34
34
  describe "contains_block_beginning?" do
35
35
  it "detects block beginning keywords" do
36
- expect(@lex.contains_block_beginning?("do")).to be_truthy
37
- expect(@lex.contains_block_beginning?("[].each {")).to be_truthy
38
- expect(@lex.contains_block_beginning?("begin")).to be_truthy
36
+ expect(@lex.contains_block_beginning?("do")).to be true
37
+ expect(@lex.contains_block_beginning?("[].each {")).to be true
38
+ expect(@lex.contains_block_beginning?("begin")).to be true
39
39
  end
40
40
  end
41
41
 
@@ -1,9 +1,11 @@
1
1
  TITLE "Threads"
2
2
  TOOL_FONT tahoma 12
3
3
  LABEL_FONT tahoma 16
4
+ NUM_COLUMNS 5 # This is the default
4
5
 
5
- TOOL "CTS - Profiled" "ruby-prof -p call_tree -m 1 -f callgrind.profile tools\CmdTlmServerMemProf -- --config cmd_tlm_server_threads.txt --system system_threads.txt" "cts.png"
6
6
  TOOL "CTS" "LAUNCH CmdTlmServer --config cmd_tlm_server_threads.txt --system system_threads.txt" "cts.png"
7
+ TOOL "CTS - CodeProf" "ruby-prof -p call_tree -m 1 -f callgrind.cts tools\CmdTlmServer -- --config cmd_tlm_server_threads.txt --system system_threads.txt" "cts.png"
8
+ TOOL "CTS - MemProf" "LAUNCH CmdTlmServerMemProf --config cmd_tlm_server_threads.txt --system system_threads.txt" "cts.png"
7
9
  TOOL "Script Runner" "LAUNCH ScriptRunner --system system_threads.txt" "script_runner.png"
8
10
  MULTITOOL_START "Simulated Targets" NULL
9
11
  TOOL "LAUNCH_TERMINAL ExampleTarget 9999 STATUS 10 --system system_threads.txt"
@@ -68,3 +70,8 @@ MULTITOOL_START "Simulated Targets" NULL
68
70
  DONT_CAPTURE_IO # Without this you get an "Unexpected Output" dialog
69
71
  MULTITOOL_END
70
72
 
73
+ DIVIDER
74
+ TOOL "Telemetry Grapher" "LAUNCH TlmGrapher --system system_threads.txt" "tlm_grapher.png"
75
+ TOOL "Grapher - CodeProf" "ruby-prof -p call_tree -m 1 -f callgrind.grapher tools\TlmGrapher -- --system system_threads.txt" "tlm_grapher.png"
76
+ TOOL "Grapher - MemProf" "LAUNCH TlmGrapherMemProf --system system_threads.txt" "tlm_grapher.png"
77
+
@@ -16,5 +16,5 @@ require 'memory_profiler'
16
16
  report = MemoryProfiler.report do
17
17
  Cosmos::CmdTlmServerGui.run
18
18
  end
19
- File.open(File.build_timestamped_filename(%w(memory profile)),'w') {|file| report.pretty_print(file) }
19
+ File.open(File.build_timestamped_filename(%w(cts memory profile)),'w') {|file| report.pretty_print(file) }
20
20
 
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: ascii-8bit
3
+
4
+ # Copyright 2014 Ball Aerospace & Technologies Corp.
5
+ # All Rights Reserved.
6
+ #
7
+ # This program is free software; you can modify and/or redistribute it
8
+ # under the terms of the GNU General Public License
9
+ # as published by the Free Software Foundation; version 3 with
10
+ # attribution addendums as found in the LICENSE.txt
11
+
12
+ require 'cosmos'
13
+ require 'cosmos/tools/tlm_grapher/tlm_grapher'
14
+
15
+ require 'memory_profiler'
16
+ report = MemoryProfiler.report do
17
+ Cosmos::TlmGrapher.run
18
+ end
19
+ File.open(File.build_timestamped_filename(%w(grapher memory profile)),'w') {|file| report.pretty_print(file) }
@@ -0,0 +1,59 @@
1
+ @ECHO OFF
2
+
3
+ SET RUBYEXE=rubyw.exe
4
+
5
+ SET "DESTINATION_DIR=%~dp0..\..\"
6
+ IF EXIST "%DESTINATION_DIR%Vendor\Ruby" GOTO DIREND
7
+ IF "%COSMOS_DIR%" == "" GOTO DIREND
8
+ SET "DESTINATION_DIR=%COSMOS_DIR%\"
9
+ :DIREND
10
+
11
+ IF NOT EXIST "%DESTINATION_DIR%Vendor\Ruby" GOTO SYSTEMRUBY
12
+
13
+ REM Save some variables we're going to change so we can restore them later
14
+ SET "COSMOS_GEM_HOME_SAVED=%GEM_HOME%"
15
+ SET "COSMOS_GEM_PATH_SAVED=%GEM_PATH%"
16
+ SET "COSMOS_GEMRC_SAVED=%GEMRC%"
17
+ SET "COSMOS_PATH_SAVED=%PATH%"
18
+ SET "COSMOS_RUBYOPT_SAVED=%RUBYOPT%"
19
+ SET "COSMOS_RUBYLIB_SAVED=%RUBYLIB%"
20
+ SET "COSMOS_RI_DEVKIT_SAVED=%RI_DEVKIT%"
21
+
22
+ REM Set environmental variables
23
+
24
+ IF EXIST "%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.8" SET "GEM_HOME=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.8"
25
+ IF EXIST "%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.9.1" SET "GEM_HOME=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.9.1"
26
+ IF EXIST "%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\2.0.0" SET "GEM_HOME=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\2.0.0"
27
+ SET "GEM_PATH=%GEM_HOME%"
28
+ SET "GEMRC=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\etc\gemrc"
29
+
30
+ REM Prepend embedded bin to PATH so we prefer those binaries
31
+ SET "RI_DEVKIT=%DESTINATION_DIR%Vendor\Devkit\"
32
+ SET "PATH=%DESTINATION_DIR%Vendor\Ruby\bin;%RI_DEVKIT%bin;%RI_DEVKIT%mingw\bin;%DESTINATION_DIR%Vendor\wkhtmltopdf;%PATH%"
33
+
34
+ REM Remove RUBYOPT and RUBYLIB, which can cause serious problems.
35
+ SET RUBYOPT=
36
+ SET RUBYLIB=
37
+
38
+ REM Run tool using Installer Ruby
39
+ ECHO Starting tool using installer ruby in %DESTINATION_DIR%
40
+ START "COSMOS" "%DESTINATION_DIR%Vendor\Ruby\bin\%RUBYEXE%" "%~dp0%~n0" %*
41
+
42
+ REM Restore some environmental variables we changed
43
+ SET "GEM_HOME=%COSMOS_GEM_HOME_SAVED%"
44
+ SET "GEM_PATH=%COSMOS_GEM_PATH_SAVED%"
45
+ SET "GEMRC=%COSMOS_GEMRC_SAVED%"
46
+ SET "PATH=%COSMOS_PATH_SAVED%"
47
+ SET "RUBYOPT=%COSMOS_RUBYOPT_SAVED%"
48
+ SET "RUBYLIB=%COSMOS_RUBYLIB_SAVED%"
49
+ SET "RI_DEVKIT=%COSMOS_RI_DEVKIT_SAVED%"
50
+
51
+ GOTO END
52
+ :SYSTEMRUBY
53
+
54
+ REM Use System Ruby and Environment
55
+ ECHO Starting tool using system ruby and environment
56
+ START "COSMOS" "%RUBYEXE%" "%~dp0%~n0" %*
57
+
58
+ GOTO END
59
+ :END
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: 3.3.3
4
+ version: 3.4.0
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: 2015-03-23 00:00:00.000000000 Z
12
+ date: 2015-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -395,6 +395,20 @@ dependencies:
395
395
  - - "~>"
396
396
  - !ruby/object:Gem::Version
397
397
  version: '0.7'
398
+ - !ruby/object:Gem::Dependency
399
+ name: benchmark-ips
400
+ requirement: !ruby/object:Gem::Requirement
401
+ requirements:
402
+ - - "~>"
403
+ - !ruby/object:Gem::Version
404
+ version: '2'
405
+ type: :development
406
+ prerelease: false
407
+ version_requirements: !ruby/object:Gem::Requirement
408
+ requirements:
409
+ - - "~>"
410
+ - !ruby/object:Gem::Version
411
+ version: '2'
398
412
  description: |2
399
413
  Ball Aerospace COSMOS provides all the functionality needed to send
400
414
  commands to and receive data from one or more embedded systems
@@ -426,6 +440,7 @@ extensions:
426
440
  extra_rdoc_files: []
427
441
  files:
428
442
  - ".coveralls.yml"
443
+ - ".gitattributes"
429
444
  - ".gitignore"
430
445
  - ".travis.yml"
431
446
  - CONTRIBUTING.txt
@@ -608,8 +623,13 @@ files:
608
623
  - autohotkey/userpath.txt
609
624
  - bin/cosmos
610
625
  - bin/cstol_converter
626
+ - bin/exchndl20-x64.dll
611
627
  - bin/exchndl20.dll
628
+ - bin/exchndl21-x64.dll
612
629
  - bin/exchndl21.dll
630
+ - bin/exchndl22-x64.dll
631
+ - bin/exchndl22.dll
632
+ - bin/mgwhelp-x64.dll
613
633
  - bin/mgwhelp.dll
614
634
  - bin/rubysloc
615
635
  - cosmos.gemspec
@@ -1252,8 +1272,14 @@ files:
1252
1272
  - lib/cosmos/processors/statistics_processor.rb
1253
1273
  - lib/cosmos/processors/watermark_processor.rb
1254
1274
  - lib/cosmos/script.rb
1275
+ - lib/cosmos/script/cmd_tlm_server.rb
1276
+ - lib/cosmos/script/commands.rb
1255
1277
  - lib/cosmos/script/extract.rb
1278
+ - lib/cosmos/script/limits.rb
1256
1279
  - lib/cosmos/script/script.rb
1280
+ - lib/cosmos/script/scripting.rb
1281
+ - lib/cosmos/script/telemetry.rb
1282
+ - lib/cosmos/script/tools.rb
1257
1283
  - lib/cosmos/streams/burst_stream_protocol.rb
1258
1284
  - lib/cosmos/streams/fixed_stream_protocol.rb
1259
1285
  - lib/cosmos/streams/length_stream_protocol.rb
@@ -1459,6 +1485,7 @@ files:
1459
1485
  - spec/core_ext/stringio_spec.rb
1460
1486
  - spec/core_ext/time_spec.rb
1461
1487
  - spec/gui/line_graph/line_clip_spec.rb
1488
+ - spec/gui/qt_spec.rb
1462
1489
  - spec/install/config/system/system.txt
1463
1490
  - spec/install/config/targets/COSMOS/cmd_tlm/cosmos_server_cmds.txt
1464
1491
  - spec/install/config/targets/COSMOS/cmd_tlm/cosmos_server_tlm.txt
@@ -1527,7 +1554,14 @@ files:
1527
1554
  - spec/processors/processor_spec.rb
1528
1555
  - spec/processors/statistics_processor_spec.rb
1529
1556
  - spec/processors/watermark_processor_spec.rb
1557
+ - spec/script/cmd_tlm_server_spec.rb
1558
+ - spec/script/commands_disconnect_spec.rb
1559
+ - spec/script/commands_spec.rb
1560
+ - spec/script/limits_spec.rb
1530
1561
  - spec/script/script_spec.rb
1562
+ - spec/script/scripting_spec.rb
1563
+ - spec/script/telemetry_spec.rb
1564
+ - spec/script/tools_spec.rb
1531
1565
  - spec/spec_helper.rb
1532
1566
  - spec/streams/burst_stream_protocol_spec.rb
1533
1567
  - spec/streams/fixed_stream_protocol_spec.rb
@@ -1692,6 +1726,8 @@ files:
1692
1726
  - test/performance/tools/TlmExtractor.bat
1693
1727
  - test/performance/tools/TlmGrapher
1694
1728
  - test/performance/tools/TlmGrapher.bat
1729
+ - test/performance/tools/TlmGrapherMemProf
1730
+ - test/performance/tools/TlmGrapherMemProf.bat
1695
1731
  - test/performance/tools/TlmViewer
1696
1732
  - test/performance/tools/TlmViewer.bat
1697
1733
  - test/performance/tools/mac/CmdExtractor.app/Contents/Info.plist