RUIC 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +207 -201
- data/bin/ruic +22 -14
- data/gui/TODO +2 -2
- data/gui/appattributesmodel.rb +51 -51
- data/gui/appelementsmodel.rb +126 -126
- data/gui/launch.rb +19 -19
- data/gui/makefile +14 -14
- data/gui/resources/style/dark.qss +459 -459
- data/gui/window.rb +90 -90
- data/gui/window.ui +753 -753
- data/lib/ruic.rb +45 -9
- data/lib/ruic/application.rb +4 -0
- data/lib/ruic/{asset_classes.rb → assets.rb} +281 -447
- data/lib/ruic/attributes.rb +164 -0
- data/lib/ruic/behaviors.rb +0 -0
- data/lib/ruic/interfaces.rb +5 -5
- data/lib/ruic/presentation.rb +13 -11
- data/lib/ruic/statemachine.rb +0 -0
- data/lib/ruic/version.rb +2 -2
- data/ruic.gemspec +24 -22
- data/test/customclasses.ruic +0 -0
- data/test/filtering.ruic +38 -38
- data/test/nonmaster.ruic +0 -0
- data/test/properties.ruic +0 -0
- data/test/referencematerials.ruic +52 -53
- data/test/usage.ruic +20 -20
- metadata +33 -20
data/test/usage.ruic
CHANGED
@@ -1,20 +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
|
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RUIC
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Kistner
|
@@ -24,6 +24,34 @@ dependencies:
|
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ripl
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ripl-multi_line
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
27
55
|
description: RUIC is a library that understands the XML formats used by NVIDIA's "UI
|
28
56
|
Composer" tool suite. In addition to APIs for analyzing and manipulating these files—the
|
29
57
|
UIC portion of the library—it also includes a mini DSL for writing scripts that
|
@@ -100,7 +128,8 @@ files:
|
|
100
128
|
- gui/window.ui
|
101
129
|
- lib/ruic.rb
|
102
130
|
- lib/ruic/application.rb
|
103
|
-
- lib/ruic/
|
131
|
+
- lib/ruic/assets.rb
|
132
|
+
- lib/ruic/attributes.rb
|
104
133
|
- lib/ruic/behaviors.rb
|
105
134
|
- lib/ruic/interfaces.rb
|
106
135
|
- lib/ruic/presentation.rb
|
@@ -143,24 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
172
|
version: '0'
|
144
173
|
requirements: []
|
145
174
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
175
|
+
rubygems_version: 2.0.14
|
147
176
|
signing_key:
|
148
177
|
specification_version: 4
|
149
178
|
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
|
179
|
+
test_files: []
|