Commit Graph

3249 Commits

Author SHA1 Message Date
Ben Fry
1849ab76bc iterators for JSONArray types 2023-09-27 20:14:12 -04:00
Jim
ad9d86dde5 fix get material bugs 2023-09-16 13:29:49 -04:00
Jim
4a967e3198 fix #643 2023-08-27 10:01:49 -04:00
Ben Fry
adbcf0f0c4 as with #739, use calculated ascent/descent instead of native metrics (fixes #768) 2023-08-10 18:05:36 -04:00
Matthew Russell
f260a11a0f Fix copyBufferFromSource throwing an exception
If usedBuffers was null and the buffer cache reached its maximum size, copyBufferFromSource would throw a null reference error. This adds a null check to that case to instantiate the usedBuffers list as is done elsewhere in this file.
2023-07-30 15:32:56 -05:00
Ben Fry
963df15ee1 Merge pull request #728 from mvaladas/main
Fix for Issue #641
2023-07-26 06:21:19 -04:00
Ben Fry
adfabbd50f update app icon while running sketch 2023-07-25 19:13:17 -04:00
Ben Fry
866b3cf467 remove errant (commented out) references to old icons 2023-07-25 18:58:07 -04:00
Ben Fry
c57069fdca Use calculated text height instead of OS ascent for better vertical centering (fixes #739) 2023-07-16 12:56:08 -04:00
Ben Fry
fb20a176ee fix pdf colors outside the range causing NPE (resolves #740) 2023-07-16 12:40:21 -04:00
Miguel Valadas
0d3130d9ea Fix for Issue #641 2023-06-05 17:34:10 +02:00
Ben Fry
011b64b3bf fix StackOverFlowError when calling getDouble() (#671) 2023-02-20 05:02:49 -05:00
Ben Fry
4c901a30e5 clean up a few warnings 2023-02-18 19:43:03 -05:00
Ben Fry
4cf2348854 new-style switch statements 2023-02-18 19:38:14 -05:00
Ben Fry
93ef0648a7 change to uiScale when getting display bounds 2023-02-18 18:28:29 -05:00
Ben Fry
0882da0654 tweak sketch sizing, prevent double-resize 2023-02-18 18:02:44 -05:00
Ben Fry
f7978cc31c multiply by ui scale when setting screen rectangle 2023-02-18 17:59:00 -05:00
Ben Fry
daf3859398 trying to figure out what is going on with bounds 2023-02-18 16:53:21 -05:00
Ben Fry
3bd7ffed17 more work on resolutions and full screen 2023-02-18 16:33:27 -05:00
Ben Fry
4c2b834e0b Merge branch 'main' of github.com:processing/processing4 2023-02-18 14:47:06 -05:00
Ben Fry
361268e768 disabling windowScaleFactor makes everything behave 2023-02-18 14:46:40 -05:00
Ben Fry
3d463e9784 clarifying language for window manager resize 2023-02-18 14:45:35 -05:00
Ben Fry
6b624152a1 Merge pull request #659 from bsapozhnikov/main
Support chained decimals during SVG Parsing
2023-02-18 06:38:50 -05:00
Ben Fry
ff2face09f minor rearrangement 2023-02-14 20:55:21 -05:00
Ben Fry
941b5c1d66 updates to include activateIgnoringOtherApps() for Python Mode 2023-02-14 20:09:10 -05:00
Ben Fry
cb17589f7a Python Mode support: add activateIgnoringOtherApps() to ThinkDifferent 2023-02-14 20:03:29 -05:00
Brian Sapozhnikov
080cb3de75 address issue 515 2023-01-29 21:22:54 -05:00
Arya Gupta
4ef700f81d Update PApplet.java
Signed-off-by: Arya Gupta <arya.gupta99999@gmail.com>
2023-01-26 23:39:04 +05:30
Ben Fry
5d27b21cc9 oops, remove debug change 2023-01-13 07:37:54 -05:00
Ben Fry
2120274868 show a warning when calling clear() on the primary drawing surface (#627) 2023-01-13 06:47:46 -05:00
Ben Fry
683a86563d fix class cast by pulling image data separately (resolves #624) 2023-01-10 22:17:59 -05:00
Ben Fry
8cddc67816 updates and clarifications for the size() reference 2022-11-25 11:47:42 -05:00
Raphaël de Courville
13976bba8b fix reference for mousePressed variable
Related to https://github.com/processing/processing-website/issues/343
2022-11-25 16:11:59 +01:00
Ben Fry
85a93b083c notes about #592 and pull #597 2022-11-24 18:15:10 -05:00
Ben Fry
52995b35cf Merge branch 'main' of github.com:processing/processing4 2022-11-24 18:10:38 -05:00
Ben Fry
19317ecfb4 Merge pull request #599 from vepo/main 2022-11-24 18:10:12 -05:00
Ben Fry
1e27600cfa adding choice() as an int alternative to random() 2022-11-24 18:08:22 -05:00
Ben Fry
27d0a51b46 replace random() with choice(), add removeChoice(), remove PApplet param 2022-11-24 16:09:38 -05:00
Victor Osório
f52b90070b Fix #592 2022-11-13 16:13:14 -03:00
Ben Fry
9e3522ad2a fix for P3D & P2D window not showing on MacOS Ventura (resolves #544 2022-11-04 13:47:15 -04:00
Ben Fry
b0cd253dad fix a pixelDensity() issue w/ default display 2022-10-30 18:38:00 -04:00
Ben Fry
5e20b8a6fb throw an exception when calling random() on empty XxxList (from 221006) 2022-10-25 06:25:56 -04:00
Ben Fry
a50d659779 text change pulled in from PGraphics 2022-10-04 09:34:45 -04:00
Ben Fry
8ad8b2df51 Merge pull request #542 from SableRaf/master 2022-09-23 15:46:22 -04:00
Ben Fry
0c02c66f9e cleaning up more complaints from IntelliJ 2022-08-28 15:53:43 -04:00
Ben Fry
15d257ec99 cleaning more warnings and language in PImage 2022-08-28 15:47:26 -04:00
Ben Fry
abc7964f8d copying cleanups from PGraphics into PApplet 2022-08-28 15:38:47 -04:00
Ben Fry
4db81d6488 clean up 100s of warnings and fix some typos 2022-08-28 15:37:18 -04:00
Ben Fry
a3a90ef07e moving to Java 17 and cleaning up hundreds of warnings 2022-08-28 14:46:10 -04:00
Raphaël de Courville
f824137843 Updated popStyle() webBrief 2022-08-24 12:12:28 +02:00