New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Third bunch of arm patches #3622

Merged
merged 3 commits into from Aug 15, 2015

Conversation

Projects
None yet
3 participants
@gohai
Contributor

gohai commented Aug 15, 2015

The remaining patches that I carried in my branch.

gohai added some commits Aug 15, 2015

Copy Jakub's shader changes to the quirky vc4 version
We want to make it easy to diff between the two. Still works on the Pi's VC IV driver.
Make processing-java return an error code if the VM failed
This still doesn't seem to return anything for exceptions inside a sketch, but a start. Error codes could be helpful for automatic regression testing of all examples.
Linux people are used to confusion and misery
Let them know what's wrong when an UnsatisfiedLinkError hits. This could also be a missing external dependency that library's dynamic library requests, for example.

benfry added a commit that referenced this pull request Aug 15, 2015

@benfry benfry merged commit 49c6968 into processing:master Aug 15, 2015

@gohai gohai deleted the gohai:arm-3.0-for-ben8 branch Aug 15, 2015

@@ -659,6 +670,9 @@ public static boolean handleCommonErrors(final String exceptionClass,
}
} else if (exceptionClass.equals("java.lang.UnsatisfiedLinkError")) {
listener.statusError("A library used by this sketch is not installed properly.");
if (PApplet.platform == PConstants.LINUX) {
System.out.println(message);

This comment has been minimized.

@aengelke

aengelke Aug 16, 2015

Contributor

Related to #158 and #2827: It might be better to use err.println to write the output to the window of the sketch and not to the active window.

@aengelke

aengelke Aug 16, 2015

Contributor

Related to #158 and #2827: It might be better to use err.println to write the output to the window of the sketch and not to the active window.

This comment has been minimized.

@gohai

gohai Aug 16, 2015

Contributor

@aengelke Good point, fixing.

@gohai

gohai Aug 16, 2015

Contributor

@aengelke Good point, fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment