You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,20 @@
1
+
**v1.2.6** Update to processing-3.2.3 and jruby-9.1.6.0-complete, re-factor to use a Command class to create argument array and exec.
2
+
3
+
**v1.2.5** Change gemspec description, trying to get people not to ignore changes to documentation?
4
+
5
+
**v1.2.4** Update to jruby-9.1.5.0-complete.
6
+
7
+
**v1.2.3** Further refactored sketchwriter.rb. Update to jruby-9.1.4.0-complete.
8
+
9
+
**v1.2.2** Refactored sketchwriter.rb (adding unit tests) to be more open to change and removing string_extra.rb on the way. Remove sketchbook.rb, because we no-longer guess sketchbook location at runtime (depends on `config.yml`), could pave the way for independent (from processing ide) location of java libraries (and freedom from the tyranny of prisoner john). Update to jruby-9.1.3.0-complete.
10
+
11
+
12
+
**v1.2.1** Use optparse to parse command line options, and related re-factoring. Avoid casting to java Double and Integer and using `to_java` for primitives in jruby extensions. Includes important changes to CLI, `run` becomes `--run` etc and one stop `--install` replacing `setup --install` etc.
13
+
Also `--nojruby` is dropped in favor of `config.yml`.
1
14
2
15
**v1.1.3** Revert using String refinements in `creator.rb`. Refactor java options to `java_opts.rb`.
3
16
4
-
**v1.1.2** Refactor `runner.rb` to `runner.rb`, `args.rb` and `installer.rb`. The `Installer` classes have the role of installing `jruby-complete`, the examples and providing `setup check` functionality. Refactored and improved default `config.yml` tool, all should make it easier for `collaborators/successors` to follow the code. Refactored `Vec2D` and `Vec3D``==` and `eql?` methods. New `chooser` library makes it possible to use `select_input` reflection method.
17
+
**v1.1.2** Refactor `runner.rb` to `runner.rb`, `args.rb` and `installer.rb`. The `Installer` classes have the role of installing `jruby-complete`, the examples and providing `setup check` functionality. Refactored and improved default `config.yml` tool, all should make it easier for `collaborators/successors` to follow the code. Refactored `Vec2D` and `Vec3D``==` and `eql?` methods. New `chooser` library makes it possible to use `select_input`using vanilla processing reflection method.
5
18
6
19
**v1.1.1** Even more `data_path` fixes in examples, update to jruby-complete-9.1.2.0
Versions before JRubyArt-1.2.0, are unsupported, please update, preferably to latest version...
6
+
7
+
_Note the main reason for the current build to fail on travis is when the current version of [processing is not available from maven central][testing], it has only ever been available by third parties (I am eternally hopeful that one day processing.org will see the light), actually rvm with jruby as used by travis-ci is also pretty crap as judged by the build traces._
5
8
6
9
## Requirements
7
-
A clean start for `jruby_art` that works best with the latest version of [processing-3.1.1](https://github.com/processing/processing/releases) and [jruby-9.1.2.0](http://jruby.org/download) see [wiki](https://github.com/ruby-processing/JRubyArt/wiki/Building-latest-gem) for building gem from this repo. Changes from processing- 2.0 to [processing-3.0 here](https://github.com/processing/processing/wiki/Changes-in-3.0). Should work on same platforms as vanilla processing (windows, mac, linux) for Android see Yuki Morohoshi [rubuto-processing3][].
10
+
A clean start for `jruby_art` that works best with the latest version of [processing-3.2.3](https://github.com/processing/processing/releases) and [jruby-9.1.6.0](http://jruby.org/download) see [wiki](https://github.com/ruby-processing/JRubyArt/wiki/Building-latest-gem) for building gem from this repo. Changes from processing- 2.0 to [processing-3.0 here](https://github.com/processing/processing/wiki/Changes-in-3.0). Should work on same platforms as vanilla processing (windows, mac, linux) for Android see Yuki Morohoshi [rubuto-processing3][].
8
11
## Requirements
9
-
10
-
A suitable version of ruby (MRI ruby > 2.2 or `jruby-9.1.2.0+`) to download gem.
11
12
12
-
`processing-3.1.1`
13
+
A suitable version of ruby (MRI ruby > 2.3 or `jruby-9.1.6.0+`) to download gem.
14
+
15
+
`processing-3.2.3`
13
16
14
-
`jdk1.8.0_92+` can be openjdk with OpenJFX _a separate download works on ArchLinux_, currently FX2D is experimental is expected to replace JAVA2D in the near future see changes above...
17
+
`jdk1.8.0_111+` can be openjdk with OpenJFX _a separate download works on ArchLinux_, currently FX2D is experimental is expected to replace JAVA2D in the near future see changes above...
15
18
16
19
### recommended installs (JRubyArt is currently hard-coded to expect them)
17
20
18
-
processing `video` and `sound-1.3.2+` libraries _best installed from the processing-3.1 ide_
21
+
processing `video` and `sound-1.3.2+` libraries _best installed from the processing-3.2.2 ide_
19
22
20
23
21
24
## Configuration
22
25
23
-
You can if you wish leave configuration to the `new` autoconfig tool (delete existing config to do this). The config file is `config.yml` in the `~/.jruby_art folder`, the autoconfig gets run on `k9 setup install` expected to just work on `macosx`, output may need tuning on `windows` / `linux` check with `k9 setup check` (run both after gem install for both)
26
+
You can if you wish leave configuration to the `new` autoconfig tool (delete existing config to do this). The config file is `config.yml` in the `~/.jruby_art folder`, the autoconfig gets run on `k9 --install` expected to just work on `macOS`, output may need tuning on `windows` / `linux` check with `k9 --check` (run both after gem install for both)
24
27
25
28
```yaml
26
29
# YAML configuration file for jruby_art
27
-
# K9_HOME: "/home/ruby2.3.0 ... /jruby_art" #windows users may need to set this
28
-
PROCESSING_ROOT: /home/tux/processing-3.1.1# typical linux shown
30
+
# K9_HOME: "/home/ruby2.3.0 ... /jruby_art" #windows users may need to set this
31
+
PROCESSING_ROOT: "/home/tux/processing-3.2.3"# typical linux shown
29
32
# important sketch_book path may be different for processing-3.0
30
-
sketchbook_path: /home/tux/sketchbook
33
+
sketchbook_path: "/home/tux/sketchbook"
34
+
template: bare
31
35
```
32
36
33
-
## Install Steps (assumes you have requirements above)
37
+
## Install Steps (assumes you have requirements above)
To create either a `class` wrapped sketch or `emacs` sketch set `template: class` or `template: emacs` in config.yml
52
52
53
53
## Simple Sketch
54
54
```ruby
55
-
# :sketch_title belongs in setup it is a convenience method of jruby_art-3.0+
55
+
# :sketch_title belongs in --it is a convenience method of jruby_art-3.0+
56
56
defsetup
57
57
sketch_title 'My Sketch'
58
58
end
@@ -64,10 +64,10 @@ def draw
64
64
end
65
65
66
66
# NB: changes for processing-3.0+
67
-
# size, full_screen, pixel_density and smooth should all be moved to settings (this is hidden
68
-
# to users of processing ide, but not for JRubyArt, or for Eclipse NetBeans users). The FX2D
69
-
# rendering mode was introduced, and was expected to replace JAVA2D (as default rendering mode)
70
-
# but may not now happen, and not for processing-3.1.1 in any case.
67
+
# size, full_screen, pixel_density and smooth should all be moved to settings (this is hidden
68
+
# to users of processing ide, but not for JRubyArt, or for Eclipse NetBeans users). The FX2D
69
+
# rendering mode was introduced, and was expected to replace JAVA2D (as default rendering mode)
70
+
# but may not now happen, and not for processing-3.2.3 in any case.
71
71
defsettings
72
72
size 400, 300
73
73
end
@@ -78,15 +78,15 @@ be prepared to `KILL` the odd java process (ie when sketch does not exit cleanly
78
78
79
79
## Watch sketches
80
80
```bash
81
-
k9 watch sketch.rb # don't try and change render mode, or use FX2D render mode during watch yet
81
+
k9 --watch sketch.rb # don't try and change render mode, or use FX2D render mode during watch yet
82
82
```
83
83
## Open pry console on sketch
84
84
```bash
85
-
k9 live sketch.rb # pry is bound to $app # needs `jruby -S gem install pry`
85
+
k9 --live sketch.rb # pry is bound to $app # needs `jruby -S gem install pry`
86
86
```
87
87
## Example sketches
88
88
89
-
[Worked Examples](https://github.com/ruby-processing/JRubyArt-examples) more to follow, feel free to add your own, especially ruby-2.2+ syntax now we can. These can now be downloaded using `k9 setup unpack_samples` please move existing k9_samples.
89
+
[Worked Examples](https://github.com/ruby-processing/JRubyArt-examples) more to follow, feel free to add your own, especially ruby-2.2+ syntax now we can. These can now be downloaded using `k9 --install` please move existing `k9_samples` if you wish to keep them.
90
90
91
91
## Conversion Tool
92
92
@@ -95,3 +95,4 @@ I wrote this little script to convert sketches from ruby-processing (processing-
95
95
See The-Nature-of-Code-Examples-in-Ruby converted to [The-Nature-of-Code-Examples-for-JRubyArt](https://github.com/ruby-processing/The-Nature-of-Code-for-JRubyArt) using the script.
0 commit comments