Commit Graph

5009 Commits

Author SHA1 Message Date
Avinash Kumar Deepak
2e41a29143 Add visual tests for blendMode() across renderers (#1440)
* Add visual tests for blendMode() (#1434)

* add clarifying comments to BlendModeTest
2026-02-24 10:07:47 -05:00
Vaivaswat Dubey
ed3d1e47bf pr05 Visual Regression Testing #2: Adding More Tests (#1315)
* Update README.md

* added the image comparator which is the pixel matching algorithm

* added build.gradle file

* added the test runner

* added the simple test

* Revise README for Jetpack Compose migration strategy

Updated README to reflect migration to Jetpack Compose and strategy for replacing JEditTextArea with RSyntaxTextArea. Added insights on LSP-based editor research and the need for user feedback on Tweak Mode and autocompletion features.

* fixing the build issues

* added junit as dependency

* removing custom class implementation

* inclding visual-tests in settings

* fixed the overlapping cmd

* cleaning

* adding packages

* added updated screenshot structure

* refactoring

* added tests in suits

* removed simple test

* deleting earlier files

* updated the core/gradle file

* added the infrastructure

* added some tests ported by p5js

* removing test rendering suite and its test file

* added screenshots

* config files

* fixed the pixeldensity to 1

* Revert "fixed the pixeldensity to 1"

This reverts commit 66071ac191.

* fixed pixeldensity to 1

* Configure dependencyUpdates task in build.gradle.kts

Add configuration for dependencyUpdates task to manage non-stable versions.

* removing rendering gradient screenshot

* added font alignment size leading and width tests

* added complex pfont tests

* added screenshots for the tests

* added typography screenshots

* shape-modes screenshots

* added shapemodes cases

* changed resolutions of some tests

* trying to fix arc issue

---------

Co-authored-by: Stef Tervelde <stef@steftervelde.nl>
Co-authored-by: Raphaël de Courville <raphael@processingfoundation.org>
2026-01-27 20:19:55 -05:00
Vaivaswat Dubey
1723bd3e90 pr05 Visual Regression Testing #1: Initial Visual Testing Framework (#1261)
* Update README.md

* added the image comparator which is the pixel matching algorithm

* added build.gradle file

* added the test runner

* added the simple test

* Revise README for Jetpack Compose migration strategy

Updated README to reflect migration to Jetpack Compose and strategy for replacing JEditTextArea with RSyntaxTextArea. Added insights on LSP-based editor research and the need for user feedback on Tweak Mode and autocompletion features.

* fixing the build issues

* added junit as dependency

* removing custom class implementation

* inclding visual-tests in settings

* fixed the overlapping cmd

* cleaning

* adding packages

* added updated screenshot structure

* refactoring

* added tests in suits

* removed simple test

* deleting earlier files

* updated the core/gradle file

* added the infrastructure

* added some tests ported by p5js

* removing test rendering suite and its test file

* added screenshots

* config files

* fixed the pixeldensity to 1

* Revert "fixed the pixeldensity to 1"

This reverts commit 66071ac191.

* fixed pixeldensity to 1

* Configure dependencyUpdates task in build.gradle.kts

Add configuration for dependencyUpdates task to manage non-stable versions.

* removing rendering gradient screenshot

* General cleanup of `Base`

I started cleaning up some of `Base`'s startup sequence for clarity of what is being started when. Nowhere near completion and I think a lot of this class will need to be refactored in the future.

Also removed some of the timing measurement comments

Added some comments to the Processing CLI class

* Move contributor list to CONTRIBUTORS.md (#1313)

Created CONTRIBUTORS.md and updated .all-contributorsrc to reference the new file instead of README.md. This will reduce the size of the README and improve loading times.

* Update BUILD.md with build failure troubleshooting

Added troubleshooting steps for build failures related to permissions.

* fixing the build issues

* inclding visual-tests in settings

* updated the core/gradle file

* config files

* Configure dependencyUpdates task in build.gradle.kts

Add configuration for dependencyUpdates task to manage non-stable versions.

* fix rebasing

---------

Co-authored-by: Stef Tervelde <stef@steftervelde.nl>
Co-authored-by: Raphaël de Courville <raphael@processingfoundation.org>
2025-11-10 17:15:44 -05:00
Stef Tervelde
7283c99271 Enable automatic release for Maven Central publishing (#1286)
Sets 'automaticRelease' to true in the publishToMavenCentral configuration to automate the release process when publishing to Maven Central.
2025-10-15 16:56:23 -04:00
Raphaël de Courville
38143079c1 Update the warning message for pixelDensity
Made the warning message more helpful
2025-09-12 14:42:36 +02:00
Stef Tervelde
906ab17264 Add warning for default pixelDensity behavior
Introduces a warning message when pixelDensity defaults to 2x to match the display's pixel density. The warning prompts users to explicitly set pixelDensity in settings() to avoid the message.
2025-09-04 10:34:45 +02:00
Raphaël de Courville
2de754af8f Merge pull request #1107 from pnngocdoan/fix-mask
Add error check for pixelDensity in mask()
2025-07-11 12:33:16 +02:00
Raphaël de Courville
489c7e98c3 Merge pull request #1057 from jSdCool/interpilate
Add the ability to choose the interpolation mode when resizing an image
2025-07-11 12:29:12 +02:00
Stef Tervelde
30bc274e36 Merge pull request #1033 from Rishab87/shift-page-keys
Fixed `SHIFT` and `PAGE_UP` keys using the same keyCode
2025-07-11 12:23:27 +02:00
Raphaël de Courville
96d6392d47 Merge pull request #959 from Stefterv/gradle-cleanup
Cleanup pass
2025-07-11 12:11:01 +02:00
Raphaël de Courville
4fc1c5d4d4 Merge pull request #1015 from babaissarkar/update_set_heading
Update docs for setHeading
2025-07-11 12:03:12 +02:00
Ngoc Doan
bf58dc198e Remove an extra line 2025-05-27 22:17:10 -07:00
jSdCool
5d67bfd8a6 use the constant 2025-05-26 19:33:00 -04:00
Ngoc Doan
a201a71442 Add error check for pixelDesity in mask() 2025-05-17 04:01:48 -07:00
Stef Tervelde
7bb7662c0c Merge branch 'main' into gradle-cleanup 2025-05-05 12:39:59 +02:00
jSdCool
06453b801b Reapply clean changes for PR 2025-04-27 12:57:16 -04:00
Stef Tervelde
c83f44c9d8 Update PGraphicsOpenGL.java 2025-04-25 13:57:18 +02:00
Raphaël de Courville
637997c336 Merge pull request #1050 from Stefterv/feat-command-line
Setup a Command Line Interface
2025-04-25 11:42:06 +02:00
Raphaël de Courville
732b20c94a Merge pull request #1038 from Stefterv/default-display-density
Change the default display density
2025-04-25 11:23:40 +02:00
Raphaël de Courville
6f5e5ba78a Merge pull request #1034 from Konsl/patch-1
Update PGraphics.java: fix typos in documentation
2025-04-25 11:06:50 +02:00
Stef Tervelde
fd571d13d5 Initial Command Line structure 2025-04-18 17:42:31 +02:00
Stef Tervelde
9b34964ff6 Merge pull request #987 from Rishab87/PVector-unit-tests
Added Unit Tests for `PVector` in `processing:core`
2025-04-15 18:19:55 +02:00
Stef Tervelde
73d3aeb050 Change the default display density 2025-04-15 18:05:52 +02:00
Konsl
056b88b671 Update PGraphics.java: fix swapped html tags 2025-04-14 18:31:37 +02:00
Konsl
b342feba9a Update PApplet.java: remove unmatched closing tag 2025-04-14 18:26:44 +02:00
Konsl
4924605c8d Update PGraphics.java: fix more typos 2025-04-14 18:18:54 +02:00
Konsl
36945e71e3 Update PGraphics.java: fix typos in documentation 2025-04-14 18:09:15 +02:00
rishab
abc39e935e fixed page-up key code and added tests 2025-04-13 23:25:14 +05:30
rishab
5751b50c41 Revert "added unit tests for Pmatrix 3D"
This reverts commit 105bc9603e.
2025-04-05 17:01:46 +05:30
rishab
105bc9603e added unit tests for Pmatrix 3D 2025-04-05 16:59:03 +05:30
Subhraman Sarkar
5c1278a91b PVector doc update 2025-03-26 09:48:17 +05:30
rishab
1a0e52a8d8 added unit tests for PMatrix2D 2025-03-25 19:53:52 +05:30
Stef Tervelde
9cd63b6c80 Merge pull request #954 from Rishab87/unexpected-y-axis
Fixed unexpected Y-axis translation when using ```ortho()``` and ```resetMatrix()```
2025-03-24 18:36:31 +01:00
Raphaël de Courville
0ace79650c Merge pull request #966 from Rishab87/unit-tests-key-event
Added unit tests for handling key events in ```processing:core```
2025-03-21 11:55:15 +01:00
Raphaël de Courville
ff78d909c2 Merge pull request #972 from Rishab87/blur-filter-exception
Fixed blur filter throwing exception for too large values relative to image
2025-03-21 11:53:24 +01:00
rishab
df8b732c3f added unit tests for PVector 2025-03-20 11:40:22 +05:30
Stef Tervelde
c5c35334ed Merge branch 'main' into main 2025-03-14 14:52:20 +01:00
rishab
bafcd54dce minor changes 2025-03-14 14:34:09 +05:30
rishab
e6ac72b2cc fixes 779 2025-03-14 00:20:33 +05:30
rishab
3e6d159fa7 Merge branch 'main' of https://github.com/processing/processing4 into HEAD 2025-03-13 23:23:17 +05:30
Stef Tervelde
b67f9707c4 Enable tests on core 2025-03-13 13:06:52 +01:00
rishab
7c42504a95 clamping radius and added a safeDivide check 2025-03-13 13:04:45 +05:30
Stef Tervelde
0674c247e0 Workflow improvements 2025-03-12 09:47:46 +01:00
Stef Tervelde
448ee16e1f Merge branch 'processing:main' into main 2025-03-11 12:15:11 +01:00
Raphaël de Courville
dacc37539a Fix typo in core/README.md
Remove that sad and lonely "In"
2025-03-10 21:30:19 +01:00
Stef Tervelde
34b90c7cbe Windows Packaging 2025-03-09 23:58:43 +01:00
rishab
be9e6b8fac minor changes 2025-03-08 21:08:33 +05:30
rishab
801b02b52b added keyEvent tests 2025-03-08 20:40:09 +05:30
Stef Tervelde
8de4575c6d Merge branch 'processing:main' into gradle-cleanup 2025-03-07 15:05:18 +01:00
Stef Tervelde
fe152b752d Merge pull request #888 from Stefterv/main-gradle
Adding a Gradle Build system to the Processing IDE
2025-03-07 09:35:05 +01:00