Commit Graph

12662 Commits

Author SHA1 Message Date
George Bateman cd7430fc10 Handle curly quotes in error checker
Also now prioritizes error messages on a single line for display to the
user, since ECJ doesn't always get that right, reported mismatched
argument lists when there's a syntax error and so on.
2017-06-24 14:35:18 +01:00
George Bateman 96a042f873 Add handler for Antlr "unexpected char"
There's a special message for curly quotes.
2017-06-22 19:19:29 +01:00
George Bateman 42f48475b7 Autoformatter: fix curly quotes.
Also it now doesn't destroy the rest of the file if a string is left
unterminated. Will never fix "content” since curly quotes are valid
string content.
2017-06-22 12:37:43 +01:00
Ben Fry 13381ddf2a Merge pull request #5141 from JakubValtar/fix-display-arg
Fix "Could not parse -1 for --dsiplay" error
2017-06-19 20:11:28 -04:00
Jakub Valtar 5e6a147896 Fix "Could not parse -1 for --dsiplay" error
When runDisplay was set to -1 no display detection happened. Fixed it so
that editor display is used.

Regression introduced in d960fd1cba

Fixes #5118
2017-06-20 01:24:05 +02:00
Ben Fry e0ad02cab4 Merge pull request #5138 from GKFX/bugfix-opengltextwidth
Add defaultFontOrDeath to OpenGL textWidth.
2017-06-19 18:30:49 -04:00
George Bateman 404e23a9a8 Add defaultFontOrDeath to OpenGL textWidth. 2017-06-17 09:50:25 +01:00
Ben Fry 1974a49790 rename console lines pref to avoid name collision (fixes #5110) 2017-06-15 12:10:11 -04:00
Ben Fry 18a64d1b30 default to using native file selector on all platforms (#5122) 2017-06-12 15:44:11 -04:00
Ben Fry 1872211d12 misc todo notes 2017-06-12 15:40:04 -04:00
Ben Fry 4a9c9e9217 starting the next release 2017-06-03 11:07:16 -04:00
Ben Fry 48b5247ec7 finishing release notes for 3.3.4 processing-0261-3.3.4 2017-06-03 10:08:13 -04:00
Ben Fry 99083756a6 who who who left the taaaaabs out 2017-06-03 09:56:16 -04:00
Ben Fry f09832dd80 working on release notes and preparing 3.3.4 2017-06-03 09:55:32 -04:00
Ben Fry a577d152ca incorporate slight edits to Linux install scripts from the Arduino guys 2017-06-03 09:55:17 -04:00
Ben Fry 46037001f5 Merge pull request #5106 from abierto-cc/master
add install / uninstall scripts for linux a-la-Arduino + correct mime types for IDE
2017-06-03 09:47:45 -04:00
dcuartielles 2eabb3640a modified linux part of ant to add install files 2017-06-02 19:19:37 +02:00
Carlos Rodriguez de1229926b add install.sh uninstall.sh desktop.template processing-processing.xml appdata.xml 2017-06-02 18:42:08 +02:00
Ben Fry d1bf8b3936 handle edge case for set(2D vector) on a 3D vector (fixes #5092) 2017-06-01 09:55:37 -04:00
Ben Fry eb6d719a16 Merge pull request #5077 from GKFX/feature-warnlongsuffix
Prompt the user to give the L suffix on numbers
2017-05-20 12:02:39 -04:00
George Bateman e3c822c1d2 Prompt the user to give the L suffix on numbers
Fixes #4878
2017-05-20 12:33:22 +01:00
Ben Fry 1f6b4d342f note about the change detector fix from Jakub 2017-05-19 15:48:24 -04:00
Ben Fry f32f6698ec Merge pull request #5075 from JakubValtar/change-detector-amendments
Change Detector amendments
2017-05-19 15:45:45 -04:00
Jakub Valtar 17b9a6480d PPS: fall back to sketchcode.program if sketchcode.document is null 2017-05-19 17:34:49 +02:00
Jakub Valtar 9c2352fa03 Notify Editor from Change Detector to run error check 2017-05-19 17:33:40 +02:00
Jakub Valtar 382d23f97e Remove old code from change detector 2017-05-19 17:01:59 +02:00
Jakub Valtar a26c155b43 Run change detector on EDT 2017-05-19 13:49:28 +02:00
Ben Fry 92d1d39dbb recent todo items 2017-05-19 07:37:46 -04:00
Ben Fry dbc4e7b9e7 minor re-org 2017-05-19 07:37:33 -04:00
Ben Fry 6f5720cfe2 Merge pull request #5021 from GKFX/feature-safechangedetect2
Make the change detector not reload the sketch
2017-05-19 07:36:27 -04:00
George Bateman 2a619b7869 Change Detector: fix typos and don't save on keep
UI text has not been updated
2017-05-11 20:02:29 +01:00
Ben Fry 11758b3f5a add exec() with StringList, also start work on shell() 2017-05-09 10:25:58 -04:00
Ben Fry 199eabc488 integrate sudo patch and a couple cleanups 2017-05-08 07:21:42 -04:00
Ben Fry 6a91acc1aa Merge pull request #5055 from gohai/linux-sudo-2
Consider $SUDO_USER on Linux for locating the sketchbook folder
2017-05-08 07:15:35 -04:00
gohai d8b316dfe4 Use $SUDO_USER instead of $HOME
This seems to be set even when executing "sudo" without any special flags like "-E" or "-H".
2017-05-08 04:48:27 +02:00
gohai 269847fcf4 Also overwrite getSettingsFolder() and make settings world-writable 2017-05-06 09:21:20 +02:00
gohai f8add972d8 Consider the $HOME on Linux for locating the sketchbook folder
The aim of this change is to make "sudo -E processing{,-java}" work with custom libraries installed in the invoking user's home directory.
2017-05-05 22:37:28 +02:00
Ben Fry 7393e6961e Merge pull request #5050 from JakubValtar/fix-keypressed
Fix keyPressed for multiple keys
2017-05-04 20:22:07 -04:00
Jakub Valtar cb229d3f92 Fix keyPressed for multiple keys
Java2D and FX2D send multiple PRESSED and only one RELEASE event (at
least on Windows). Therefore we have to keep track of what is pressed
and what not. Most keyboards do not support pressing more than ~10 keys
simultaneously, so this should not cause any performance problems.

Fixes #5049
2017-05-05 01:16:50 +02:00
Ben Fry 1813737321 updates to contributing guidelines 2017-05-04 15:35:40 -04:00
Ben Fry 50cdb44081 add null check to sketch loading 2017-05-04 15:31:21 -04:00
Ben Fry 97ce4e66d6 add contributing guidelines 2017-05-04 14:29:25 -04:00
Ben Fry 8c90a87c82 add "ant app" version that launches w/ os launcher 2017-05-04 13:44:56 -04:00
Ben Fry 3210bd202e look into dock name issue, find that it is a Java bug... 2017-05-04 11:59:38 -04:00
Ben Fry d960fd1cba prevent "run sketches on display" message from showing up on startup 2017-05-04 11:29:12 -04:00
Ben Fry 10bd76d099 working on macOS Sierra signing issues seen in #4705 2017-05-04 07:07:50 -04:00
Ben Fry 4ae2cdcdbc Merge pull request #5044 from gohai/io-fixes
IO library updates
2017-05-04 05:45:04 -04:00
Ben Fry 39efe327a1 more notes for things to fix 2017-05-03 22:59:36 -04:00
Ben Fry 57b221d389 clean up error message about sketchbook folder (fixes #4942) 2017-05-03 21:28:31 -04:00
Ben Fry a9de2e3d53 lots of work to clean up console lockup issues (fixes #4825) 2017-05-03 20:40:36 -04:00