Commit Graph

1374 Commits

Author SHA1 Message Date
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
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
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
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
kiwistrongis
e94b2e8c7d Fixed processing.mode.java.runner.Runner's exception trace for when the file name of a StackTraceElement is not known. Fixes issue #2346 2014-03-04 12:54:17 -05:00
Ben Fry
35a7b14f93 starting the next release 2014-01-22 00:18:07 -05:00
Ben Fry
9f3839b898 hopefully the last word on popup triggers on Windows 2014-01-21 23:28:33 -05:00
Ben Fry
9fcdffebf8 another attempt with the popup triggers 2014-01-21 23:20:42 -05:00
Ben Fry
911de44f7d attempt to fix Windows popup (issue #2210) 2014-01-21 23:18:02 -05:00
Ben Fry
aa78d72534 possible windows export fix 2014-01-21 22:40:56 -05:00
Ben Fry
f8f76ca156 fix typo in Commander arg 2014-01-21 21:46:04 -05:00
Ben Fry
fdc5cf5a54 Merge pull request #2313 from GKFX/patch-3
Backtrack after / so that it's not skipped on bracket handling
2014-01-21 18:19:18 -08:00
Ben Fry
fd9a417246 Merge pull request #2188 from Manindra29/findReplaceILfix
Fixes #2082, Find Replace infinite loop
2014-01-21 17:05:47 -08:00
Ben Fry
0339fae08c additional notes and updates 2014-01-21 18:29:31 -05:00
George Bateman
be28e4d220 Update Brackets.java
Fixed bug first spotted at http://code.google.com/p/processing/issues/detail?id=1032 where brackets aren't seen directly after a slash.
An example that failed:
min(1, x/(1.0));
min(1, x /(1.0));
2014-01-10 17:48:20 +00:00
Manindra Moharana
2cf37e4911 Fixes #2082, Find Replace inf loop 2013-10-30 23:48:59 +05:30
Ben Fry
732452564e starting the next revision after 2.1 2013-10-27 17:42:46 -04:00
Ben Fry
935c509abc get Commander working on OS X, addl updates 2013-10-25 15:43:33 -04:00
Ben Fry
b2bd2c4217 Add option to not embed the Java runtime 2013-10-24 21:50:51 -04:00