Commit Graph

1400 Commits

Author SHA1 Message Date
Ben Fry 012811398f moved the selector around a bit, make it a Dialog 2014-05-12 11:52:55 -04:00
Ben Fry e6506b5acd move to new home 2014-05-12 08:51:14 -04:00
Ben Fry 922ff11e0a cleanups to color selector layout 2014-05-12 08:49:59 -04:00
Ben Fry ce397e9154 more fixes for #2318 2014-05-10 23:19:42 -04:00
Ben Fry 30268618ab Merge pull request #2323 from GKFX/patch-3
TextAreaPainter.java - Chinese and tabs
2014-05-10 19:32:09 -04:00
Ben Fry 4806400cb9 Merge pull request #2477 from AmnonOwed/Fix#364-AutoFormatIfElse
Fix #364 if-else autoformatting
2014-05-10 19:25:19 -04:00
Ben Fry bbd091543e additional notes 2014-05-10 19:14:35 -04:00
Ben Fry d5e0e9faaf a little cleanup 2014-05-10 19:12:44 -04:00
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
AmnonOwed b6da3317fb Moving flag reset 2014-04-23 19:39:48 +02:00
AmnonOwed dc5571a75f Cleanup 2014-04-23 19:34:58 +02:00
AmnonOwed 6146888909 Fix if-else autoformatting 2014-04-23 18:51:47 +02: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 10e5072450 cleaning up the commit to fit style, deal with #2449 2014-04-13 09:18: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