Commit Graph

13297 Commits

Author SHA1 Message Date
Ben Fry df104c03d9 NPE fix for contrib manager from 3.5.4 2020-01-17 13:50:26 -05:00
Ben Fry 806b1b9f3b bump the build to use 11.0.6 2020-01-16 22:23:00 -05:00
Ben Fry 0fa8248e92 notes on handling core.jar conflicts 2020-01-16 22:16:08 -05:00
Ben Fry 690500f4a7 check for collisions with core.jar and pde.jar 2020-01-16 22:14:37 -05:00
Ben Fry 6f195ef11f cleaning more warnings and remove empty class 2020-01-16 21:28:59 -05:00
Ben Fry 493f7fa93b removing some InputEvent deprecation 2020-01-16 21:23:41 -05:00
Ben Fry f6ec600660 move away from deprecated method (should have no impact?) 2020-01-16 21:12:27 -05:00
Ben Fry e997857e27 clean up some warnings/unused imports 2020-01-16 21:10:11 -05:00
Ben Fry 3af6bc5963 don't remove old sketch name from Recent menu on Save As 2020-01-16 19:26:20 -05:00
Ben Fry 54e487c928 lots of bug fixes for contrib install handling 2020-01-16 19:04:29 -05:00
Ben Fry 410dde0d70 get out of the library subfolder business 2020-01-16 18:57:21 -05:00
Ben Fry 71cf6a8e44 ignore __MACOSX files when unzipping 2020-01-16 18:57:08 -05:00
Ben Fry c35659c5ea ignore upper/lowercase when sorting contrib names 2020-01-16 17:34:04 -05:00
Ben Fry 875b1ab719 rotateZ() fixed elsewhere 2020-01-07 13:48:17 -05:00
Ben Fry 845691c789 JNA Windows Scaling (#45)
JNA Windows Scaling
2020-01-07 13:44:49 -05:00
A Samuel Pottinger 546b4122ad Fix typo in DefaultPlatform getSystemZoom comment 2020-01-07 08:37:28 -08:00
Ben Fry cde1a241c0 Provide build and test instructions in README (#42)
Provide build and test instructions in README
2020-01-07 10:52:08 -05:00
A Pottinger 78f79183a2 Added API changes back into root README. 2019-12-26 10:21:30 -08:00
A Pottinger 05f78c94f8 Fixed typo in WindowsPlatform var spelling. 2019-12-26 10:16:51 -08:00
A Pottinger 6ed36f7abb Responded to feedback on #42.
Responded to @benfry feedback on #42 (https://github.com/processing/processing4/pull/42), breaking the README into two files with a new README in the build directory.
2019-12-26 10:11:24 -08:00
A Samuel Pottinger 7b81085667 Provide build and test instructions in README
Resolving #26, provide build and test instructions within the project README.
2019-12-04 10:32:12 -08:00
Ben Fry 8c082293af recent updates and contribs 2019-12-03 12:07:25 -05:00
Ben Fry aa7a0d3ad9 Merge branch 'master' of github.com:processing/processing4 2019-12-03 12:07:03 -05:00
Ben Fry 157dde2072 Merge pull request #41 from StanLepunK/master
Fix RotateZ bug
2019-12-03 12:05:11 -05:00
Sam Pottinger f9df4ea6ea Attempted implementation of JNA based display scaling on windows. 2019-12-02 20:21:07 -07:00
Sam Pottinger 22e90bffd2 Refactored DPI to zoom level
Prepared to move to zoom level being calculated in the platform instead of DPI being returned. This is because zoom level may be distinct from the system DPI and operating systems may report a DPI of 96 while also requesting a display zooming of 125%. Therefore, using the system display scaling is preferred to using DPI after JEP 263.
2019-12-02 12:49:26 -05:00
Stan le Punk 1ba2a25180 Fix RotateZ bug 2019-12-01 21:58:05 +01:00
Ben Fry a83519e549 Merge branch 'master' of github.com:processing/processing4 2019-11-29 16:17:02 -05:00
Ben Fry 6c623ca5e9 Merge pull request #40 from processing/update_java_minor
Move to Java 11.0.5.
2019-11-29 16:16:46 -05:00
Sam Pottinger d0a092f27d Move to Java 11.0.5.
It looks like the LTS train is on 11.0.5 but we are currently on 11.0.2.
2019-11-27 10:39:59 -08:00
Ben Fry c030a6cff7 update link to Sam's repo 2019-11-26 09:22:43 -05:00
Ben Fry a2efd4df48 updates with Sam's changes 2019-11-26 05:45:36 -05:00
Ben Fry b05c46214b Merge pull request #38 from processing/ant_test_refactor
Removed test from the build / run targets but left in for dist.
2019-11-26 05:43:32 -05:00
Ben Fry da7fc5f366 Merge pull request #33 from processing/fix_can_access
Fixed Table's use of deprecated isAccessible
2019-11-26 05:42:10 -05:00
Ben Fry c3d6269115 Merge pull request #37 from processing/new_fullscreen
Replace mac specific fullscreen option for setResizable.
2019-11-26 05:40:49 -05:00
Ben Fry 0d151fd171 Merge pull request #34 from processing/display_density
Fix display density detection and use GraphicsConfiguration.
2019-11-26 05:35:39 -05:00
Ben Fry e45b9a33d7 Turn off swing automatic UI scaling for windows. (#30)
Turn off swing automatic UI scaling for windows.
2019-11-26 05:33:51 -05:00
Sam Pottinger 9735fb26c4 Added missing methods-build requirement for core build.
If not running tests but building, methods-build may be left off. This restores that requirement.
2019-11-25 18:23:53 -08:00
Sam Pottinger de21d68098 Add methods-build as a requirement for testingin core. 2019-11-25 18:19:03 -08:00
Sam Pottinger 388cc1677d Add test target to travis.
Now that tests are not run during typical build, add the test target to Travis explicitly.
2019-11-25 18:11:32 -08:00
Sam Pottinger 7efe9b0c85 Removed test from the build / run targets but left in for dist.
Refactored ant build chain to allow building / running without execution of tests but ensure tests are run during dist. Note that tests are still runnable under the test target itself. Resolves #8.
2019-11-25 18:09:01 -08:00
Sam Pottinger 6af511ed4a Remove the mac specific fullscreen option for setResizable.
Swing now enables the fullscreen option on Mac when a JFrame has setResizable(true). This removes the deprected com.apple.eawt.FullScreenUtilities.setWindowCanFullScreen call for setResizable instead. Resolves #36.
2019-11-25 17:29:02 -08:00
Sam Pottinger 2eea68a096 Updated display density detection to use GraphicsConfiguration.
Reflexive access is no longer allowed so we need to transition displayDensity and isRetina to GraphicsConfiguration. As part of this, it's worth noting that other displays outside of OS X may have a retina-like display.
2019-11-25 16:19:24 -08:00
Sam Pottinger 01d508afce Minor formatting fixes on PR #33. 2019-11-25 14:53:36 -08:00
Sam Pottinger 2dd098eb4b Fixed Table's use of deprecated isAccessible, finishing parseInto.
Fixed the Table's use of the deprected isAccessible, finishing the parseInto method in the process in order to test taht the new implementation is "correct". Note that there is not a published API for this method on processing.org so it is unclear if the interface's intended behavior was maintained. See https://processing.github.io/processing-javadocs/core/processing/data/Table.html#parseInto-java.lang.Object-java.lang.String-.
2019-11-25 14:47:12 -08:00
A Samuel Pottinger 003d33f951 Turn off UI scaling for windows.
Frustratingly, use of prior Processing WindowsPlatform code for detecting DPI causes UI scaling to turn off and yields a DPI of 96 regardless of windows display scaling. However, in the current WindowsPlatform, UI scaling is enabled but text size calculation within custom rendering swing elements is incorrect, possibly because there is scaling happening underneath transparently. This causes x positions to be inflated at 125% scaling, for example. On a whole, Windows itself does not recommend scaling other than 100% inside the settings UI and that UI scaling within Java itself makes the custom UI elements look bad. So, this suggests disabling the ui scaling in Java for the editor, leaving the opportunity for Processing to find a new way to detect system scaling in the future and handling it internally. At this time, sketches still seem to be calculating positions correctly though they do appear pixelated with display scaling. Therefore, they are left alone.
2019-11-22 16:53:48 -08:00
Ben Fry 9361bfc2da note about import static 2019-11-21 16:10:16 -05:00
Ben Fry e8fd52f76e Add support for static imports through pdex's ImportStatement (#18)
Add support for static imports through pdex's ImportStatement
2019-11-15 20:55:15 -05:00
Ben Fry db7fcd097c Merge branch 'master' of github.com:processing/processing4 2019-11-15 14:08:16 -05:00
Ben Fry f0125fea0e making note of recent updates and merges 2019-11-15 14:04:04 -05:00