RUIC 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +201 -0
- data/bin/ruic +52 -0
- data/gui/MetaData.xml +387 -0
- data/gui/TODO +2 -0
- data/gui/appattributesmodel.rb +51 -0
- data/gui/appelementsmodel.rb +126 -0
- data/gui/launch.rb +20 -0
- data/gui/makefile +14 -0
- data/gui/resources.qrc +37 -0
- data/gui/resources/images/Objects-Behavior-Normal.png +0 -0
- data/gui/resources/images/Objects-Camera-Normal.png +0 -0
- data/gui/resources/images/Objects-Component-Normal.png +0 -0
- data/gui/resources/images/Objects-Effect-Normal.png +0 -0
- data/gui/resources/images/Objects-Group-Normal.png +0 -0
- data/gui/resources/images/Objects-Image-Normal.png +0 -0
- data/gui/resources/images/Objects-Layer-Normal.png +0 -0
- data/gui/resources/images/Objects-Light-Normal.png +0 -0
- data/gui/resources/images/Objects-Material-Normal.png +0 -0
- data/gui/resources/images/Objects-Model-Normal.png +0 -0
- data/gui/resources/images/Objects-Music-Normal.png +0 -0
- data/gui/resources/images/Objects-Property-Normal.png +0 -0
- data/gui/resources/images/Objects-References-Normal.png +0 -0
- data/gui/resources/images/Objects-Scene-Normal.png +0 -0
- data/gui/resources/images/Objects-Sound-Normal.png +0 -0
- data/gui/resources/images/Objects-Text-Normal.png +0 -0
- data/gui/resources/images/Objects-Unknown-Normal.png +0 -0
- data/gui/resources/images/Objects-Video-Normal.png +0 -0
- data/gui/resources/images/SCXML.ico +0 -0
- data/gui/resources/images/TSCXML.ico +0 -0
- data/gui/resources/images/UIA.ico +0 -0
- data/gui/resources/images/clipboard.png +0 -0
- data/gui/resources/images/console_arrow.png +0 -0
- data/gui/resources/images/cross.png +0 -0
- data/gui/resources/images/currentline.png +0 -0
- data/gui/resources/images/disk-black.png +0 -0
- data/gui/resources/images/disks-black.png +0 -0
- data/gui/resources/images/document--plus.png +0 -0
- data/gui/resources/images/document-copy.png +0 -0
- data/gui/resources/images/executable-actions-delete-active.png +0 -0
- data/gui/resources/images/executable-actions-delete-idle.png +0 -0
- data/gui/resources/images/executable-actions-enter-badge.png +0 -0
- data/gui/resources/images/executable-actions-exit-badge.png +0 -0
- data/gui/resources/images/folder-horizontal--plus.png +0 -0
- data/gui/resources/images/folder-horizontal-open.png +0 -0
- data/gui/resources/images/gear.png +0 -0
- data/gui/resources/images/invalid_breakpoint.png +0 -0
- data/gui/resources/images/scissors-blue.png +0 -0
- data/gui/resources/images/slide-16-active.png +0 -0
- data/gui/resources/images/slide-16-master.png +0 -0
- data/gui/resources/images/slide-16-normal.png +0 -0
- data/gui/resources/images/slide-32-active.png +0 -0
- data/gui/resources/images/slide-32-master.png +0 -0
- data/gui/resources/images/slide-32-normal.png +0 -0
- data/gui/resources/images/studio_architect32.ico +0 -0
- data/gui/resources/images/studio_architect32.png +0 -0
- data/gui/resources/images/textfile_icon.png +0 -0
- data/gui/resources/style/checkbox.png +0 -0
- data/gui/resources/style/dark.qss +459 -0
- data/gui/resources/style/down_arrow.png +0 -0
- data/gui/resources/style/handle.png +0 -0
- data/gui/window.rb +90 -0
- data/gui/window.ui +753 -0
- data/lib/ruic.rb +59 -0
- data/lib/ruic/application.rb +129 -0
- data/lib/ruic/asset_classes.rb +448 -0
- data/lib/ruic/behaviors.rb +31 -0
- data/lib/ruic/interfaces.rb +36 -0
- data/lib/ruic/presentation.rb +354 -0
- data/lib/ruic/statemachine.rb +111 -0
- data/lib/ruic/version.rb +3 -0
- data/ruic.gemspec +23 -0
- data/test/MetaData.xml +387 -0
- data/test/customclasses.ruic +21 -0
- data/test/filtering.ruic +39 -0
- data/test/nonmaster.ruic +21 -0
- data/test/projects/CustomClasses/Brush Strokes.effect +38 -0
- data/test/projects/CustomClasses/CustomClasses.uia +6 -0
- data/test/projects/CustomClasses/CustomClasses.uip +34 -0
- data/test/projects/CustomClasses/copper.material +194 -0
- data/test/projects/CustomClasses/maps/UV-Checker.png +0 -0
- data/test/projects/CustomClasses/maps/effects/brushnoise.dds +0 -0
- data/test/projects/CustomClasses/maps/materials/spherical_checker.png +0 -0
- data/test/projects/ReferencedMaterials/ReferencedMaterials.uia +6 -0
- data/test/projects/ReferencedMaterials/ReferencedMaterials.uip +39 -0
- data/test/properties.ruic +81 -0
- data/test/referencematerials.ruic +53 -0
- data/test/usage.ruic +20 -0
- metadata +166 -0
data/test/usage.ruic
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
metadata 'MetaData.xml' # optional; also may be set via -m flag
|
2
|
+
# uia 'projects/CustomClasses/CustomClasses.uia' # required before other commands
|
3
|
+
uia 'projects/BMW_Cluster/BMW_Cluster.uia' # required before other commands
|
4
|
+
show app.errors if app.errors?
|
5
|
+
|
6
|
+
show app.image_usage # hash mapping image paths, relative to uia, to arrays of things referencing them: materials; scxml visual actions; effects;
|
7
|
+
show app.image_paths # Just the paths
|
8
|
+
show app.mesh_usage # mapping mesh paths (postfixed with version numbers) to referencing elements
|
9
|
+
show app.mesh_paths # Just the paths (no version number information)
|
10
|
+
show app.script_usage # hash mapping lua paths, relative to uia, to arrays of things referencing them: presentation/application behaviors
|
11
|
+
show app.script_paths # just the paths
|
12
|
+
show app.material_usage # hash mapping materials paths, relative to uia, to arrays referencing material elements
|
13
|
+
show app.material_paths # just the paths
|
14
|
+
show app.font_usage # hash mapping font paths, relative to uia, to arrays of referencing text elements
|
15
|
+
show app.font_paths # just the paths
|
16
|
+
show app.effect_usage # hash mapping effect paths, relative to uia, to arrays of referencing effect elements
|
17
|
+
show app.effect_paths # just the paths
|
18
|
+
|
19
|
+
show app.referenced_paths
|
20
|
+
show app.unused_files # Remember to check for .uip and .scxml not referenced by .uia
|
metadata
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: RUIC
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gavin Kistner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-11-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: nokogiri
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1'
|
27
|
+
description: RUIC is a library that understands the XML formats used by NVIDIA's "UI
|
28
|
+
Composer" tool suite. In addition to APIs for analyzing and manipulating these files—the
|
29
|
+
UIC portion of the library—it also includes a mini DSL for writing scripts that
|
30
|
+
can be run by the `ruic` interpreter.
|
31
|
+
email:
|
32
|
+
- gavin@phrogz.net
|
33
|
+
executables:
|
34
|
+
- ruic
|
35
|
+
extensions: []
|
36
|
+
extra_rdoc_files: []
|
37
|
+
files:
|
38
|
+
- LICENSE
|
39
|
+
- README.md
|
40
|
+
- bin/ruic
|
41
|
+
- gui/MetaData.xml
|
42
|
+
- gui/TODO
|
43
|
+
- gui/appattributesmodel.rb
|
44
|
+
- gui/appelementsmodel.rb
|
45
|
+
- gui/launch.rb
|
46
|
+
- gui/makefile
|
47
|
+
- gui/resources.qrc
|
48
|
+
- gui/resources/images/Objects-Behavior-Normal.png
|
49
|
+
- gui/resources/images/Objects-Camera-Normal.png
|
50
|
+
- gui/resources/images/Objects-Component-Normal.png
|
51
|
+
- gui/resources/images/Objects-Effect-Normal.png
|
52
|
+
- gui/resources/images/Objects-Group-Normal.png
|
53
|
+
- gui/resources/images/Objects-Image-Normal.png
|
54
|
+
- gui/resources/images/Objects-Layer-Normal.png
|
55
|
+
- gui/resources/images/Objects-Light-Normal.png
|
56
|
+
- gui/resources/images/Objects-Material-Normal.png
|
57
|
+
- gui/resources/images/Objects-Model-Normal.png
|
58
|
+
- gui/resources/images/Objects-Music-Normal.png
|
59
|
+
- gui/resources/images/Objects-Property-Normal.png
|
60
|
+
- gui/resources/images/Objects-References-Normal.png
|
61
|
+
- gui/resources/images/Objects-Scene-Normal.png
|
62
|
+
- gui/resources/images/Objects-Sound-Normal.png
|
63
|
+
- gui/resources/images/Objects-Text-Normal.png
|
64
|
+
- gui/resources/images/Objects-Unknown-Normal.png
|
65
|
+
- gui/resources/images/Objects-Video-Normal.png
|
66
|
+
- gui/resources/images/SCXML.ico
|
67
|
+
- gui/resources/images/TSCXML.ico
|
68
|
+
- gui/resources/images/UIA.ico
|
69
|
+
- gui/resources/images/clipboard.png
|
70
|
+
- gui/resources/images/console_arrow.png
|
71
|
+
- gui/resources/images/cross.png
|
72
|
+
- gui/resources/images/currentline.png
|
73
|
+
- gui/resources/images/disk-black.png
|
74
|
+
- gui/resources/images/disks-black.png
|
75
|
+
- gui/resources/images/document--plus.png
|
76
|
+
- gui/resources/images/document-copy.png
|
77
|
+
- gui/resources/images/executable-actions-delete-active.png
|
78
|
+
- gui/resources/images/executable-actions-delete-idle.png
|
79
|
+
- gui/resources/images/executable-actions-enter-badge.png
|
80
|
+
- gui/resources/images/executable-actions-exit-badge.png
|
81
|
+
- gui/resources/images/folder-horizontal--plus.png
|
82
|
+
- gui/resources/images/folder-horizontal-open.png
|
83
|
+
- gui/resources/images/gear.png
|
84
|
+
- gui/resources/images/invalid_breakpoint.png
|
85
|
+
- gui/resources/images/scissors-blue.png
|
86
|
+
- gui/resources/images/slide-16-active.png
|
87
|
+
- gui/resources/images/slide-16-master.png
|
88
|
+
- gui/resources/images/slide-16-normal.png
|
89
|
+
- gui/resources/images/slide-32-active.png
|
90
|
+
- gui/resources/images/slide-32-master.png
|
91
|
+
- gui/resources/images/slide-32-normal.png
|
92
|
+
- gui/resources/images/studio_architect32.ico
|
93
|
+
- gui/resources/images/studio_architect32.png
|
94
|
+
- gui/resources/images/textfile_icon.png
|
95
|
+
- gui/resources/style/checkbox.png
|
96
|
+
- gui/resources/style/dark.qss
|
97
|
+
- gui/resources/style/down_arrow.png
|
98
|
+
- gui/resources/style/handle.png
|
99
|
+
- gui/window.rb
|
100
|
+
- gui/window.ui
|
101
|
+
- lib/ruic.rb
|
102
|
+
- lib/ruic/application.rb
|
103
|
+
- lib/ruic/asset_classes.rb
|
104
|
+
- lib/ruic/behaviors.rb
|
105
|
+
- lib/ruic/interfaces.rb
|
106
|
+
- lib/ruic/presentation.rb
|
107
|
+
- lib/ruic/statemachine.rb
|
108
|
+
- lib/ruic/version.rb
|
109
|
+
- ruic.gemspec
|
110
|
+
- test/MetaData.xml
|
111
|
+
- test/customclasses.ruic
|
112
|
+
- test/filtering.ruic
|
113
|
+
- test/nonmaster.ruic
|
114
|
+
- test/projects/CustomClasses/Brush Strokes.effect
|
115
|
+
- test/projects/CustomClasses/CustomClasses.uia
|
116
|
+
- test/projects/CustomClasses/CustomClasses.uip
|
117
|
+
- test/projects/CustomClasses/copper.material
|
118
|
+
- test/projects/CustomClasses/maps/UV-Checker.png
|
119
|
+
- test/projects/CustomClasses/maps/effects/brushnoise.dds
|
120
|
+
- test/projects/CustomClasses/maps/materials/spherical_checker.png
|
121
|
+
- test/projects/ReferencedMaterials/ReferencedMaterials.uia
|
122
|
+
- test/projects/ReferencedMaterials/ReferencedMaterials.uip
|
123
|
+
- test/properties.ruic
|
124
|
+
- test/referencematerials.ruic
|
125
|
+
- test/usage.ruic
|
126
|
+
homepage: https://github.com/Phrogz/RUIC
|
127
|
+
licenses:
|
128
|
+
- MIT License
|
129
|
+
metadata: {}
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements: []
|
145
|
+
rubyforge_project:
|
146
|
+
rubygems_version: 2.4.2
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: Library and DSL analyzing and manipulating UI Composer applications and presentations.
|
150
|
+
test_files:
|
151
|
+
- test/MetaData.xml
|
152
|
+
- test/customclasses.ruic
|
153
|
+
- test/filtering.ruic
|
154
|
+
- test/nonmaster.ruic
|
155
|
+
- test/projects/CustomClasses/Brush Strokes.effect
|
156
|
+
- test/projects/CustomClasses/CustomClasses.uia
|
157
|
+
- test/projects/CustomClasses/CustomClasses.uip
|
158
|
+
- test/projects/CustomClasses/copper.material
|
159
|
+
- test/projects/CustomClasses/maps/UV-Checker.png
|
160
|
+
- test/projects/CustomClasses/maps/effects/brushnoise.dds
|
161
|
+
- test/projects/CustomClasses/maps/materials/spherical_checker.png
|
162
|
+
- test/projects/ReferencedMaterials/ReferencedMaterials.uia
|
163
|
+
- test/projects/ReferencedMaterials/ReferencedMaterials.uip
|
164
|
+
- test/properties.ruic
|
165
|
+
- test/referencematerials.ruic
|
166
|
+
- test/usage.ruic
|