Commit Graph

13390 Commits

Author SHA1 Message Date
A Pottinger 926c4587d5 Made preprocService and debugger visibility consistent in JavaEditor. 2020-03-08 10:44:14 -07:00
A Pottinger 18653e2d93 Made JavaEditor debugger private. 2020-03-08 10:21:39 -07:00
A Pottinger 86b92bcc03 Require JavaEditor subclass use getDebugger(). 2020-03-08 10:06:28 -07:00
A Pottinger 507e7fae54 Fix uninitalized debugger in JavaEditor.
Looks like constructor in Editor called from from JavaEditor is calling an overloaded method back in JavaEditor that expects debugger to have been initialized which is not possible since the parent constructor has not returned. This switches to loading debugger on demand (upon calling getDebugger) which allows for the Editor to use overloaded methods that expect debugger to be initialized.
2020-03-07 17:28:00 -08:00
Ben Fry 3d56960fff reorganize Java Mode, get rid of PDEX split, merge/clean a few cl… (#70)
reorganize Java Mode, get rid of PDEX split, merge/clean a few classes
2020-01-29 12:31:36 -05:00
Ben Fry fcc36e1b2f note about pdexEnabled 2020-01-29 12:30:10 -05:00
Ben Fry 3d026fb046 replace return with if 2020-01-28 20:08:51 -05:00
Ben Fry 39e90bb930 remove methods not doing any transformations, and only doubling the number of lines of code 2020-01-28 20:05:58 -05:00
Ben Fry 432c3f2387 get rid of util class only used by one caller 2020-01-28 19:55:43 -05:00
Ben Fry 11a9164fc9 move Debugger and VariableInspector into the debug package 2020-01-28 19:49:52 -05:00
Ben Fry ef06746e57 move the one function from SyntaxUtil into SourceUtils, drop its "s" 2020-01-28 19:35:15 -05:00
Ben Fry 27e6ee6c41 a little cleaner 2020-01-28 19:27:10 -05:00
Ben Fry 167010fe74 two new methods is a ton of overhead for three lines of code 2020-01-28 19:26:31 -05:00
Ben Fry 707419ae36 cleaning up weirdo syntax 2020-01-28 19:23:41 -05:00
Ben Fry 0b4f80c656 move more of debugger logic out of JavaEditor and into Debugger class 2020-01-28 19:08:07 -05:00
Ben Fry b13ae99b34 shorten names a little, move Interval out b/c used elsewhere 2020-01-28 14:31:44 -05:00
Ben Fry b612d578f3 finish merging PDEX into Editor and untangling refs 2020-01-28 14:17:22 -05:00
Ben Fry 117e3f9516 more untying of PDEX 2020-01-28 10:48:34 -05:00
Ben Fry 69718c6f29 rename DebugTree for clarity, move out of PDEX 2020-01-28 10:34:24 -05:00
Ben Fry 06f7a18429 getting rid of the pdex package 2020-01-28 10:19:44 -05:00
Ben Fry 1a3d2e3cbf change some wording a bit 2020-01-28 09:48:54 -05:00
Ben Fry d214112c7e a couple todo notes 2020-01-22 12:16:24 -05:00
Ben Fry 113b3c20b3 Resolve PDF renderer parse issue in preproc. (#68)
Resolve PDF renderer parse issue in preproc.
2020-01-22 07:22:24 -05:00
Sam Pottinger 6fe274f89b Resolve PDF renderer parse issue in preproc.
Resolve moving the PDF renderer information provided in size into settings as part of preproc. Resolves #66.
2020-01-21 17:15:57 -08:00
Ben Fry 3b0ff8f70a whups, wrong todo list 2020-01-20 17:25:08 -05:00
Ben Fry 01cac348b5 Merge branch 'master' of github.com:processing/processing4 2020-01-20 17:23:41 -05:00
Ben Fry a51ec2477b recent updates and bugs 2020-01-20 17:23:20 -05:00
Ben Fry 50f06bf707 Merge pull request #60 from processing/fix_static_pixel_density
Resolve rewrite of pixelDensity to settings.
2020-01-20 14:59:05 -05:00
Ben Fry 624e9074ae deal with deprecation changes in PDF 2020-01-20 14:54:38 -05:00
Ben Fry 1cbdd36ec7 replace MACOSX constant with MACOS 2020-01-20 14:49:05 -05:00
Ben Fry 6979ece6f3 using ShimAWT for selectFolder() and selectOutput() calls 2020-01-20 14:48:45 -05:00
Ben Fry a7f04ce238 move this method near the other menu methods 2020-01-20 14:48:23 -05:00
Ben Fry c30bb6e34f was using the wrong version of core for linking 2020-01-20 14:47:54 -05:00
A Pottinger 17e28256f5 Resolve rewrite of pixelDensity to settings.
Per https://github.com/processing/processing4/issues/58, pixelDensity should run in settings and currently results in failure if used in static context. This will rewrite pixelDensity into the setting section if found in static or settings context. Adds unit tests for both scenarios.
2020-01-20 09:16:11 -08:00
Ben Fry 6964f39f1f more tweaks to the release 2020-01-20 08:59:12 -05:00
Ben Fry 576876f0a0 update notes about changes 2020-01-20 08:57:27 -05:00
Ben Fry 53c1278f0c remove the last usages of AWT in PApplet (fixes #55) 2020-01-20 08:45:10 -05:00
Ben Fry 273bdb4c74 clarify error message for displayDensity() 2020-01-20 07:58:09 -05:00
Ben Fry 04b8a75d50 close the issue associated with getModifiersEx() 2020-01-20 07:54:29 -05:00
Ben Fry 26d04aed77 swap getModifiers() for getModifiersEx() to deal with deprecation (fixes #4) 2020-01-20 07:51:23 -05:00
Ben Fry 4a6cdf5252 remove redundant boxing and casting (#51)
remove redundant boxing and casting
2020-01-20 07:29:44 -05:00
Ben Fry d259373553 moving more things through PImageAWT 2020-01-19 21:40:20 -05:00
Ben Fry e46eceab96 a little scarier: moving java.awt and javax.imageio out of PImage 2020-01-19 21:24:35 -05:00
Ben Fry 753c5996a7 move loadImage() into PSurface 2020-01-19 21:04:15 -05:00
Ben Fry 05f3cb0b2d move link() calls that use Desktop into PSurface 2020-01-19 20:50:04 -05:00
Ben Fry b27d971aca move loadImage() and parts of getDesktopFile() into ShimAWT 2020-01-19 17:51:01 -05:00
Ben Fry 164bba9d6f remove "frame" field from PApplet 2020-01-19 16:32:43 -05:00
Ben Fry 8535a462f0 move runSketch() init code into ShimAWT 2020-01-19 16:28:37 -05:00
Ben Fry d3feb64237 introduce ShimAWT, moving selectInput/OutputFolder to PSurface, being AWT purge 2020-01-19 16:24:16 -05:00
Ben Fry 85d03ccbb2 notes on display fixes, also moving things around a bit 2020-01-19 16:18:18 -05:00