picrate 0.0.2-java → 0.0.3-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/Rakefile +1 -1
  4. data/docs/_classes/aabb/aabb.md +28 -0
  5. data/docs/_classes/app/app.md +38 -0
  6. data/docs/_classes/app_render/app_render.md +93 -0
  7. data/docs/_classes/arc_ball/arc_ball.md +33 -0
  8. data/docs/_classes/chooser/chooser.md +56 -0
  9. data/docs/_classes/deglut/deglut.md +20 -0
  10. data/docs/_classes/library_proxy/library_proxy.md +76 -0
  11. data/docs/_classes/vec2d/vec2d.md +53 -0
  12. data/docs/_classes/vec3d/vec3d.md +53 -0
  13. data/docs/_config.yml +36 -7
  14. data/docs/_editors/vim.md +63 -0
  15. data/docs/_gems/gems/gems.md +29 -0
  16. data/docs/_gems/other_gems/other_gems.md +198 -0
  17. data/docs/_layouts/post.html +6 -6
  18. data/docs/_libraries/control_panel.md +137 -0
  19. data/docs/_libraries/custom.md +126 -0
  20. data/docs/_libraries/custom_java.md +162 -0
  21. data/docs/_libraries/gems.md +57 -0
  22. data/docs/_libraries/library_proxy.md +9 -0
  23. data/docs/_libraries/picrate.md +511 -0
  24. data/docs/_libraries/processing.md +126 -0
  25. data/docs/_libraries/vector_utils.md +126 -0
  26. data/docs/_magic/java.md +30 -0
  27. data/docs/_magic/jruby.md +105 -0
  28. data/docs/_magic/processing.md +297 -0
  29. data/docs/_magic/ruby.md +31 -0
  30. data/docs/_methods/alternative_methods.md +66 -0
  31. data/docs/_methods/color.md +109 -0
  32. data/docs/_methods/data_path.md +109 -0
  33. data/docs/_methods/draw.md +20 -0
  34. data/docs/_methods/key_pressed.md +27 -0
  35. data/docs/_methods/library_loader.md +49 -0
  36. data/docs/_methods/map1d.md +77 -0
  37. data/docs/_methods/methods_summary.md +103 -0
  38. data/docs/_methods/mouse_pressed.md +25 -0
  39. data/docs/_methods/post_initialize.md +9 -0
  40. data/docs/_methods/processing_api.md +46 -0
  41. data/docs/_methods/settings.md +48 -0
  42. data/docs/_methods/setup.md +36 -0
  43. data/docs/_methods/sketch_title.md +24 -0
  44. data/docs/_modules/custom.md +61 -0
  45. data/docs/_modules/helper_methods.md +10 -0
  46. data/docs/_modules/interface.md +66 -0
  47. data/docs/_modules/processing.md +7 -0
  48. data/docs/_modules/processing_proxy.md +28 -0
  49. data/docs/_objects/class/class.md +7 -0
  50. data/docs/_objects/global/global.md +7 -0
  51. data/docs/_objects/instance/instance.md +74 -0
  52. data/docs/_objects/numeric/numeric.md +37 -0
  53. data/docs/_posts/2018-05-06-getting_started.md +60 -0
  54. data/docs/_posts/2018-05-06-processing-api.md +68 -0
  55. data/docs/_posts/2018-05-11-arch-linux-arm.md +17 -0
  56. data/docs/about.md +7 -1
  57. data/docs/classes.md +10 -0
  58. data/docs/editors.md +10 -0
  59. data/docs/gems.md +11 -0
  60. data/docs/libraries.md +20 -0
  61. data/docs/magic.md +11 -0
  62. data/docs/methods.md +10 -0
  63. data/docs/modules.md +12 -0
  64. data/docs/objects.md +9 -0
  65. data/lib/picrate/version.rb +1 -1
  66. data/lib/picrate-0.0.3.jar +0 -0
  67. data/picrate.gemspec +2 -2
  68. data/pom.rb +1 -1
  69. data/pom.xml +7 -7
  70. data/src/main/java/monkstone/MathToolModule.java +2 -2
  71. data/src/main/java/monkstone/videoevent/VideoInterface.java +1 -1
  72. data/src/main/java/processing/core/PApplet.java +3 -3
  73. data/src/main/java/processing/javafx/PGraphicsFX2D.java +1 -1
  74. data/test/respond_to_test.rb +4 -4
  75. data/test/sketches/key_event.rb +3 -3
  76. data/vendors/Rakefile +1 -1
  77. metadata +61 -4
  78. data/lib/picrate-0.0.2.jar +0 -0
data/pom.xml CHANGED
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>ruby-processing</groupId>
13
13
  <artifactId>picrate</artifactId>
14
- <version>0.0.2</version>
14
+ <version>0.0.3</version>
15
15
  <name>picrate</name>
16
16
  <description>An integrated processing-core (somewhat hacked), with additional java code for a jruby version of processing.</description>
17
17
  <url>http://maven.apache.org</url>
@@ -64,15 +64,15 @@ DO NOT MODIFIY - GENERATED CODE
64
64
  <url>https://github.com/ruby-processing/PiCrate/issues</url>
65
65
  </issueManagement>
66
66
  <properties>
67
+ <jogl.version>2.3.2</jogl.version>
68
+ <jruby.api>http://jruby.org/apidocs/</jruby.api>
69
+ <source.directory>src</source.directory>
67
70
  <maven.compiler.target>1.8</maven.compiler.target>
68
71
  <processing.api>http://processing.github.io/processing-javadocs/core/</processing.api>
69
- <source.directory>src</source.directory>
70
- <picrate.basedir>${project.basedir}</picrate.basedir>
71
- <maven.compiler.source>1.8</maven.compiler.source>
72
- <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
73
72
  <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
74
- <jogl.version>2.3.2</jogl.version>
75
- <jruby.api>http://jruby.org/apidocs/</jruby.api>
73
+ <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
74
+ <maven.compiler.source>1.8</maven.compiler.source>
75
+ <picrate.basedir>${project.basedir}</picrate.basedir>
76
76
  </properties>
77
77
  <dependencies>
78
78
  <dependency>
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The purpose of this tool is to allow propane users to use an alternative
2
+ * The purpose of this tool is to allow picrate users to use an alternative
3
3
  * to processing.org map, lerp and norm methods in their sketches
4
4
  * Copyright (c) 2018 Martin Prout. This tool is free software; you can
5
5
  * redistribute it and/or modify it under the terms of the GNU Lesser General
@@ -204,7 +204,7 @@ public class MathToolModule {
204
204
  }
205
205
 
206
206
  /**
207
- * Provides propane grid method as a ruby module method
207
+ * Provides picrate grid method as a ruby module method
208
208
  *
209
209
  * @param context ThreadContext
210
210
  * @param recv IRubyObject
@@ -23,7 +23,7 @@ import processing.video.Movie;
23
23
  import processing.video.Capture;
24
24
  /**
25
25
  * This interface makes it easier/possible to use the reflection methods
26
- * from Movie and Capture classes in Propane::App in propane
26
+ * from Movie and Capture classes in Processing::App in picrate
27
27
  *
28
28
  */
29
29
  public interface VideoInterface {
@@ -2371,7 +2371,7 @@ public class PApplet implements PConstants {
2371
2371
  } else {
2372
2372
  printStackTrace(e);
2373
2373
  String msg = renderer + " may need to be updated "
2374
- + "for the current release of propane.";
2374
+ + "for the current release of picrate.";
2375
2375
  throw new RuntimeException(msg);
2376
2376
  }
2377
2377
  } else {
@@ -12270,7 +12270,7 @@ public class PApplet implements PConstants {
12270
12270
  }
12271
12271
 
12272
12272
  /**
12273
- * Convenience method for propane to run an already-constructed sketch.
12273
+ * Convenience method for picrate to run an already-constructed sketch.
12274
12274
  * This makes it makes it easy to launch a sketch in jruby:
12275
12275
  *
12276
12276
  * <pre>class MySketch(PApplet):
@@ -12295,7 +12295,7 @@ public class PApplet implements PConstants {
12295
12295
  }
12296
12296
 
12297
12297
  /**
12298
- * Convenience method for propane with public access for jdk9
12298
+ * Convenience method for picrate with public access for jdk9
12299
12299
  */
12300
12300
  public void runPicrate() {
12301
12301
  runSketch(new String[0]);
@@ -9,7 +9,7 @@ import processing.core.PShape;
9
9
  import processing.core.PSurface;
10
10
 
11
11
  public class PGraphicsFX2D extends PGraphics{
12
- final String message = "FX2D renderer not supported in this version of propane";
12
+ final String message = "FX2D renderer not supported in this version of picrate";
13
13
  public PGraphicsFX2D(){
14
14
  }
15
15
 
@@ -184,7 +184,7 @@ METHODS = %i(
184
184
  width
185
185
  )
186
186
 
187
- class TestSketch < Propane::App
187
+ class TestSketch < Processing::App
188
188
  def settings
189
189
  size 100, 100
190
190
  end
@@ -200,16 +200,16 @@ end
200
200
 
201
201
  class SpecTest < Minitest::Test
202
202
  def setup
203
- @propane_sketch = TestSketch.new
203
+ @picrate_sketch = TestSketch.new
204
204
  end
205
205
 
206
206
  def test_respond
207
207
  METHODS.each do |method_string|
208
- assert_respond_to @propane_sketch, method_string
208
+ assert_respond_to @picrate_sketch, method_string
209
209
  end
210
210
  end
211
211
 
212
212
  def tear_down
213
- @propane_sketch = nil?
213
+ @picrate_sketch = nil?
214
214
  end
215
215
  end
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env jruby
2
- require 'propane'
2
+ require 'picrate'
3
3
 
4
4
 
5
- class CustomProxySketch < Propane::App
5
+ class CustomProxySketch < Processing::App
6
6
 
7
7
  # A simple demonstration of vanilla processing 'reflection' methods using
8
- # propane :library_proxy. See my_library.rb code for the guts.
8
+ # picrate :library_proxy. See my_library.rb code for the guts.
9
9
  load_libraries :library_proxy, :my_library
10
10
 
11
11
  attr_reader :visible
data/vendors/Rakefile CHANGED
@@ -10,7 +10,7 @@ SOUND_VERSION = 'v1.3.2' # version 1.3.2
10
10
  GLVIDEO = 'processing-glvideo.zip'
11
11
  VIDEO = 'video-2.zip'
12
12
  VIDEO_VERSION = '2' # version 1.0.1
13
- EXAMPLES = '0.0.2'.freeze
13
+ EXAMPLES = '0.0.3'.freeze
14
14
  HOME_DIR = ENV['HOME']
15
15
  PI_OR_LINUX = /linux|arm/ =~ RbConfig::CONFIG['host_os']
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - monkstone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-06 00:00:00.000000000 Z
11
+ date: 2018-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -77,7 +77,19 @@ files:
77
77
  - Rakefile
78
78
  - bin/picrate
79
79
  - docs/.gitignore
80
+ - docs/_classes/aabb/aabb.md
81
+ - docs/_classes/app/app.md
82
+ - docs/_classes/app_render/app_render.md
83
+ - docs/_classes/arc_ball/arc_ball.md
84
+ - docs/_classes/chooser/chooser.md
85
+ - docs/_classes/deglut/deglut.md
86
+ - docs/_classes/library_proxy/library_proxy.md
87
+ - docs/_classes/vec2d/vec2d.md
88
+ - docs/_classes/vec3d/vec3d.md
80
89
  - docs/_config.yml
90
+ - docs/_editors/vim.md
91
+ - docs/_gems/gems/gems.md
92
+ - docs/_gems/other_gems/other_gems.md
81
93
  - docs/_includes/footer.html
82
94
  - docs/_includes/head.html
83
95
  - docs/_includes/header.html
@@ -89,23 +101,68 @@ files:
89
101
  - docs/_layouts/default.html
90
102
  - docs/_layouts/page.html
91
103
  - docs/_layouts/post.html
104
+ - docs/_libraries/control_panel.md
105
+ - docs/_libraries/custom.md
106
+ - docs/_libraries/custom_java.md
107
+ - docs/_libraries/gems.md
108
+ - docs/_libraries/library_proxy.md
109
+ - docs/_libraries/picrate.md
110
+ - docs/_libraries/processing.md
111
+ - docs/_libraries/vector_utils.md
112
+ - docs/_magic/java.md
113
+ - docs/_magic/jruby.md
114
+ - docs/_magic/processing.md
115
+ - docs/_magic/ruby.md
116
+ - docs/_methods/alternative_methods.md
117
+ - docs/_methods/color.md
118
+ - docs/_methods/data_path.md
119
+ - docs/_methods/draw.md
120
+ - docs/_methods/key_pressed.md
121
+ - docs/_methods/library_loader.md
122
+ - docs/_methods/map1d.md
123
+ - docs/_methods/methods_summary.md
124
+ - docs/_methods/mouse_pressed.md
125
+ - docs/_methods/post_initialize.md
126
+ - docs/_methods/processing_api.md
127
+ - docs/_methods/settings.md
128
+ - docs/_methods/setup.md
129
+ - docs/_methods/sketch_title.md
130
+ - docs/_modules/custom.md
131
+ - docs/_modules/helper_methods.md
132
+ - docs/_modules/interface.md
133
+ - docs/_modules/processing.md
134
+ - docs/_modules/processing_proxy.md
135
+ - docs/_objects/class/class.md
136
+ - docs/_objects/global/global.md
137
+ - docs/_objects/instance/instance.md
138
+ - docs/_objects/numeric/numeric.md
92
139
  - docs/_posts/2018-05-06-getting_started.md
93
140
  - docs/_posts/2018-05-06-install_jruby.md
141
+ - docs/_posts/2018-05-06-processing-api.md
142
+ - docs/_posts/2018-05-11-arch-linux-arm.md
94
143
  - docs/_sass/_base.scss
95
144
  - docs/_sass/_layout.scss
96
145
  - docs/_sass/_syntax-highlighting.scss
97
146
  - docs/about.md
147
+ - docs/classes.md
98
148
  - docs/css/main.scss
149
+ - docs/editors.md
99
150
  - docs/favicon.ico
100
151
  - docs/feed.xml
152
+ - docs/gems.md
101
153
  - docs/index.html
154
+ - docs/libraries.md
155
+ - docs/magic.md
156
+ - docs/methods.md
157
+ - docs/modules.md
158
+ - docs/objects.md
102
159
  - lib/gluegen-rt-2.3.2-natives-linux-amd64.jar
103
160
  - lib/gluegen-rt-2.3.2-natives-linux-armv6hf.jar
104
161
  - lib/gluegen-rt-2.3.2.jar
105
162
  - lib/jogl-all-2.3.2-natives-linux-amd64.jar
106
163
  - lib/jogl-all-2.3.2-natives-linux-armv6hf.jar
107
164
  - lib/jogl-all-2.3.2.jar
108
- - lib/picrate-0.0.2.jar
165
+ - lib/picrate-0.0.3.jar
109
166
  - lib/picrate.rb
110
167
  - lib/picrate/app.rb
111
168
  - lib/picrate/creators/sketch_class.rb
@@ -271,7 +328,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
328
  - !ruby/object:Gem::Version
272
329
  version: '0'
273
330
  requirements:
274
- - java runtime >= 1.8.0_151+
331
+ - java runtime >= 1.8.0_161+
275
332
  rubyforge_project:
276
333
  rubygems_version: 2.7.6
277
334
  signing_key:
Binary file