Commit Graph

2235 Commits

Author SHA1 Message Date
Ben Fry
f06d3620bc Merge branch 'master' of github.com:processing/processing 2014-05-10 19:06:33 -04:00
Ben Fry
09366bcc4c file choosing misc 2014-05-10 19:06:31 -04:00
Ben Fry
17abccd9a1 Merge pull request #2366 from jdeisenberg/filechooser2
Create a JFileChooser as a field in order to remember current directory.
2014-05-10 19:05:12 -04:00
Ben Fry
246cffe580 better error handling with bad Tools (github #2229) 2014-05-10 17:52:42 -04:00
Ben Fry
747f0700a6 Merge pull request #2273 from GKFX/patch-2
implement "import static"
2014-05-10 17:33:05 -04:00
Ben Fry
755096c4db Linux export w/ JNA option, other todo list updates 2014-05-10 16:32:53 -04:00
Ben Fry
8c301cd4b4 JNA fix for OS X command line 2014-05-10 15:09:58 -04:00
Ben Fry
e9d835b331 update config, use external config to make icons work in export, turn off stdout from launch4j ant 2014-05-10 11:38:12 -04:00
Ben Fry
6817687514 adding ico file for Windows and other todo notes 2014-05-10 10:40:19 -04:00
Ben Fry
fae27d4354 cleaning out unused code, old comments 2014-05-10 10:21:57 -04:00
Ben Fry
4a379cfbe9 more launch4j fixes 2014-05-10 09:53:49 -04:00
Ben Fry
3513a01c59 working on launch4j builder 2014-05-10 09:27:38 -04:00
Ben Fry
bf9b7137d0 tweak 64- and 32-bit export on Windows to include JNA switch 2014-05-08 16:14:52 -04:00
Ben Fry
b8d4b62158 fix for #2349, use embedded Java with Linux 2014-05-04 17:03:41 -04:00
Ben Fry
a700862f4c looking into embedded Java issue w/ 64-bit Windows batch script 2014-05-04 16:25:58 -04:00
Ben Fry
d1a181a4a7 cleanups and format fixes 2014-05-04 16:16:12 -04:00
Ben Fry
88a5071423 clearing things up a bit 2014-05-04 16:15:29 -04:00
Ben Fry
179eda39e9 fix for #2463 and other todo notes 2014-05-04 16:06:40 -04:00
Ben Fry
24446524da minor edits 2014-05-04 15:55:32 -04:00
Ben Fry
0d0c7275a7 Merge pull request #2492 from jdf/master
Add methods for reading and manipulating horizontal scollbars in text editor.
2014-05-04 15:43:32 -04:00
Jonathan Feinberg
035cb6e7a4 Add methods for reading and manipulating horizontal scollbars in text editor.
Deprecate old methods to prefer methods with Vertical/Horizontal in their names.
2014-05-04 12:38:29 -04:00
codeanticode
29e034fbc1 added limit=2 parameter to split() so Windows paths are properly parsed. 2014-04-30 10:09:06 -04:00
Ben Fry
e3bcb85b19 Merge pull request #2455 from davidfokkema/fix-not-starting
Do not wait for debugger to start running sketch
2014-04-19 04:47:54 -04:00
David Fokkema
e3090697e4 Wait for VMStartEvent before resuming VM
Fixes processing#2402

(Oh, yes!)
2014-04-19 10:36:00 +02:00
David Fokkema
c46c34c033 Another 'fix': added a timeout before vm.resume()
I think we have a race condition: vm.resume() is called *before* the VM is
actually ready to resume.  That is strange, since the debugger is
attached, eventQueues are set up and ready...  Still, waiting for a bit
ensures that the VM actually resumes.  This behavior was not present when
Java 1.6 was still used.  Is this a bug in Java 1.7? Or is it simply that
the VM in 1.6 started up quickly enough to hide the race condition?

I'll continue looking...
2014-04-19 10:09:10 +02:00
David Fokkema
fd40dbfb31 Revert "Do not wait for debugger to start running sketch"
This reverts commit 5d5a5841c8.
2014-04-18 21:11:05 +02:00
Jonathan Feinberg
406f2c3ffa Roll back introduction of enum for handleClose param. 2014-04-17 13:14:04 -04:00
Jonathan Feinberg
f42d4e6742 Fix "switch mode" to edit current code in new mode when compatible. 2014-04-16 09:45:43 -04:00
Ben Fry
20ce7605e3 starting the next revision 2014-04-15 15:58:23 -04:00
David Fokkema
5d5a5841c8 Do not wait for debugger to start running sketch
By default, the java VM is started with options for attaching a remote
debugger.  The sketch is suspended until the remote debugger connects.
This always succeeds the first time a sketch is run.  At least on OS X
10.9, this seems to be very fragile, and successive runs of the sketch
often fail to start.  This commit tells the VM to *not* wait for the
debugger before starting the sketch.

Fixes processing#2402
2014-04-15 20:50:30 +02:00
Ben Fry
57547e0aa2 Merge pull request #2452 from jdf/master
Permit Modes to specify different default file extension for auxilliary (not main pde) files created in new tabs.
2014-04-15 12:54:10 -04:00
Jonathan Feinberg
34b1eef4f8 Permit Modes to specify different default file extension for auxilliary (not main pde) files created in new tabs. 2014-04-15 09:34:12 -04:00
Ben Fry
a9503b56a2 additional fix for #1561 2014-04-14 17:27:54 -04:00
David Fokkema
b05c59c27c Do not set indeterminate state on progress bars
The progress bars for installing third-party libraries were initialized
with indeterminate mode.  This results in a pretty *I'm doing something*
animation which slows down the system.  Furthermore, the progress bars are
not even visible, so there is no need for any animation.

Fixes processing#1561
2014-04-14 11:15:39 +02:00
Ben Fry
9b94c26057 not really on 1.7 yet until we update ecj.jar 2014-04-13 09:19:38 -04:00
Ben Fry
10e5072450 cleaning up the commit to fit style, deal with #2449 2014-04-13 09:18:28 -04:00
Ben Fry
3cb16702a3 fighting with code signing, change source version 2014-04-13 09:12:28 -04:00
Jonathan Feinberg
882dfa9ccb Prompt user to select a Mode when no sketch.properties are present. 2014-04-11 12:23:18 -04:00
Jonathan Feinberg
f8b72be222 Merge branch 'master' of github.com:jdf/processing 2014-04-10 14:26:04 -04:00
Jonathan Feinberg
6573e25361 Allow modes to have default extensions other than "pde".
Aside from not crashing anymore, this patch changes mode-switch behavior as follows:
If you're in FooMode, and you're in an unmodified, empty sketch, the FooMode editor
is closed, and a BarMode editor is created. If you're in an unmodified, non-empty
sketch, it remains on-screen, and a new BarMode editor is created.

Fixes #2419 and #2420.
2014-04-10 14:22:10 -04:00
Ben Fry
ee417dc726 fix formatting to conventions 2014-04-08 12:02:56 -04:00
Manindra Moharana
ad19f1d80f added accessor methods for editor status properties 2014-04-08 15:59:10 +05:30
Jonathan Feinberg
a3e8adfa80 Permit modes to provide their own TokenMarker implementation while still using the keywords.txt file. 2014-04-07 15:06:32 -04:00
Jonathan Feinberg
e08eb3c0f6 Merge with upstream. 2014-04-07 14:02:01 -04:00
Ben Fry
71d6d7bf78 slightly more informative update message in console (to differentiate from version) 2014-04-07 13:59:30 -04:00
Ben Fry
cc890e79a0 override keyword loading for Python 2014-04-07 13:59:03 -04:00
Jonathan Feinberg
f493e04687 Permit Mode developers to run their Modes in Eclipse (or however they like) during development. 2014-04-02 16:09:04 -04:00
Ben Fry
804bbce04d removing deps from eclipse project 2014-03-31 14:33:33 -04:00
Ben Fry
cb130c4273 Merge branch 'master' of github.com:processing/processing 2014-03-30 10:25:15 -04:00
Ben Fry
1930f29626 discussing imports with Andres 2014-03-30 10:05:46 -04:00