Commit Graph

16490 Commits

Author SHA1 Message Date
Stef Tervelde 05bc755557 Dir permissions (#1400)
Set dir permission to fix an issue for the nix packagemanager
2026-02-06 09:29:55 -05:00
Stef Tervelde 870d1160d7 Publish org.processing.core.dxf to Maven Central (Publish libraries to maven central) (#1403)
* publish dxf library

* different naming

* Naming

* Remove unused itext dependency from dxf module
2026-02-06 09:29:27 -05:00
Avinash Kumar Deepak 8b049efab6 Publish pdf library: add coordinates and simplify signing (#1407) 2026-02-05 19:16:25 -05:00
Avinash Kumar Deepak 81e1d562a8 Port Net and SVG libraries from Ant to Gradle with Maven publishing (#1411) 2026-02-05 19:16:21 -05:00
harsh kumar afd1d98739 Fix ArrayIndexOutOfBoundsException with compact SVG arc notation (#1282)
* Enhance PShapeSVG to support compact arc notation and add corresponding unit tests

* add suggested changes

* add comments

* chore: retrigger CI
2026-02-05 14:18:53 -05:00
Moon 451b399ff4 Remove Welcome Survey link, and unused function (#1408) 2026-02-05 13:06:07 -05:00
Stef Tervelde 5790327f49 Remove PR workflow and disable PR comments (#1413)
Delete the standalone .github/workflows/pr.yml workflow and comment out the sticky PR comment steps in .github/workflows/build.yml. Artifact upload and build steps remain unchanged; only the actions that post/update pull request comments (marocchino/sticky-pull-request-comment) and associated PR_PAT usage were disabled.
2026-02-05 12:11:33 -05:00
Stef Tervelde 75926c871b Add PR artifact uploads and comments (#1401)
* Add PR artifact uploads and comments

Update the build workflow to handle pull request runs: make the main artifact upload conditional (skip for pull_request), add a separate upload step for PR artifacts with longer retention, and post a sticky PR comment containing a download link. Also adjust workflow permissions to allow pull-request write access and include updated artifact paths.

* Update build workflow: PR comments and artifacts

Add PR-facing comments and artifact wiring to the CI workflow. Post a sticky comment after Gradle tests to indicate artifacts availability, add an upload-artifact step with an id, and update the sticky-comment step to use the artifact output URL (steps.upload-artifact.outputs.artifact-url) and a consistent header. These changes make build artifacts discoverable on pull requests.

* Switch to a table

* update messaging

* Use `processing-bot`
2026-02-05 09:11:29 -05:00
Stef Tervelde f34498acea Reset defaults by setting value rather than remove (#1385)
Initially reset to defaults was set up by removing the key from the preferences but that didn't work well upstream, changing the value to default instead.
2026-02-04 18:56:16 -05:00
jSdCool 5317234c98 allow exported apps on windows to be run from anywhere on the system instead of requiring it to be in the same folder as the executable (#1314) 2026-02-04 17:58:54 -05:00
Stef Tervelde 735bfa637f Update install script to create 'processing' instead of 'processing-java' on macOS (#1377)
* Update install script to use 'processing' instead of 'processing-java'

Changed references from 'processing-java' to 'processing' in the install script and related file paths for consistency and clarity. Also updated import statements for better organization.

* Fixed the language files and install message
2026-02-02 14:39:28 +01:00
Stef Tervelde 6948a34387 Merge pull request #1204 from Stefterv/release-revisit
Revisiting the GitHub Actions Release system (.flatpak + .deb)
2026-02-02 14:33:14 +01:00
Stef Tervelde 7c520c067d Adding File associastions on macOS and Windows through the same system as Linux 2026-02-02 14:14:26 +01:00
Stef Tervelde f717403552 Github actions simplification 2026-02-02 14:14:26 +01:00
Stef Tervelde 699b0f3278 Rename action files 2026-02-02 14:14:26 +01:00
Stef Tervelde ff8e0ead11 delete legacy build system 2026-02-02 14:14:26 +01:00
Stef Tervelde 62af87b26d file association fix 2026-02-02 14:14:25 +01:00
stefterv 144e8b4f3a Flatpak configuration file 2026-02-02 14:14:25 +01:00
Stef Tervelde d796996f33 Fixing file associations 2026-02-02 14:14:25 +01:00
Stef Tervelde 46cd04c393 file-associations 2026-02-02 14:14:25 +01:00
stefterv 4be3f17a53 Flatpak configuration file 2026-02-02 14:14:25 +01:00
Stef Tervelde 12ad815ad5 Merge pull request #1347 from Stefterv/library-plugin
Gradle Plugin for creating Processing Libraries
2026-02-02 13:42:05 +01:00
Stef Tervelde c81cda7671 Only set Newt window icons on Windows (#1398)
Wrap the NewtFactory.setWindowIcons(res) call in a platform check so icons are only set when PApplet.platform == PConstants.WINDOWS. This avoids invoking the icon-setting behavior on non-Windows platforms. Also reorganize and consolidate import statements (add missing AWT/Swing, JOGL and Processing imports) to fix compilation and include required classes.
2026-02-02 06:57:28 +01:00
allcontributors[bot] 00cb62381b docs: add Sumamasonia as a contributor for code (#1396)
* docs: update CONTRIBUTORS.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-30 12:02:14 +01:00
Moon 27d235fb3a fix syntax error in all-contributors (#1395) 2026-01-30 11:59:49 +01:00
Sumama Sonia e03e31b218 Added print() method to PMatrix (Fixes #811) (#1355)
* Add print method to PMatrix interface

Added a default method to print matrix data.

* docs: add print() method declaration to PMatrix interface

* refactor: implement toString and override print in PMatrix2D

* refactor: implement toString and override print in PMatrix3D
2026-01-30 05:05:18 -05:00
Raphaël de Courville dd3dce2817 Update README to welcome new contributors (#1394)
Removed the announcement for Processing 4.4 and added a welcome message for new contributors. Added the Discord link.
2026-01-30 05:04:45 -05:00
allcontributors[bot] c5fec0554a docs: add DinoWw as a contributor for doc (#1389)
* docs: update CONTRIBUTORS.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Moon <catilac@users.noreply.github.com>
processing-1313-4.5.2
2026-01-29 07:53:01 -05:00
allcontributors[bot] a05d254a28 docs: add avinxshKD as a contributor for code (#1390)
* docs: update CONTRIBUTORS.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-01-29 07:51:00 -05:00
Moon 56deae8fa3 Read preferences txt, if fails, read defaults, else really break (#1393) 2026-01-29 07:42:32 -05:00
Stef Tervelde 2bea632f76 Upgrade to jogl 2.6 on maven (#1391) 2026-01-28 14:34:41 -05:00
Dino_Ww 0e4736da61 fix: update cli help link to relevant wiki (#1378) 2026-01-27 20:18:45 -05:00
Avinash Kumar Deepak fa85cd48e8 fix(cli): support sketches with custom main file names (#1329)
* fix(cli): support sketches with custom main file names

Previously, the CLI only accepted sketches where the main .pde file
matched the sketch folder name (e.g., sketch/sketch.pde). This caused
issues when users renamed their main file in the IDE, which stores
the custom filename in sketch.properties.

Now the CLI checks sketch.properties for a 'main' property before
falling back to the default naming convention, matching the IDE's
behavior implemented in Sketch.findMain().

Fixes #1219

* test: add CLI test for custom main file support

Added testSketchWithCustomMainFile() to CLITest.kt as requested by maintainer. This test provides a placeholder for manual testing of sketches with custom main files specified in sketch.properties.

Follows the same pattern as existing CLI tests (testLSP, testLegacyCLI) and is intended to be run manually in IntelliJ IDEA.

* test: convert to automated CLI test with temp directory

Converted testSketchWithCustomMainFile() from manual to automated test. Now creates a temporary sketch folder with custom main file and sketch.properties, then tests the CLI build command.

Follows the pattern from SchemaTest.kt using Files.createTempDirectory() and automatic cleanup.
2026-01-27 19:43:24 -05:00
Raphaël de Courville 0a113f7c9e Merge pull request #1387 from processing/all-contributors/add-madhav2348
docs: add madhav2348 as a contributor for code
2026-01-20 14:45:41 +01:00
allcontributors[bot] 4727d6c277 docs: update .all-contributorsrc [skip ci] 2026-01-20 13:45:13 +00:00
allcontributors[bot] 422ac5afe5 docs: update CONTRIBUTORS.md [skip ci] 2026-01-20 13:45:12 +00:00
Stef Tervelde df585defc6 Added rebuildToolList() to fix nullpointer in contributions check (#1381) processing-1312-4.5.1 2026-01-16 09:55:14 -05:00
Stef Tervelde 02f8b39c1c use starting to fully remove the window (#1382) 2026-01-16 09:53:44 -05:00
Stef Tervelde 1af2eb7348 Make CapturePreferences only keep track of changes (#1383)
Before `CapturePreferences` would override `LocalPreferences` and halt any changes upstream until `apply` was called, now it will let those changes slip through so we get immediate feedback on changes made in the preferences screen.
2026-01-16 09:53:16 -05:00
Stef Tervelde aaa3f75362 Create PreferencesEvents to glue into base and other deps (#1386)
To avoid creating dependencies within Preferences.kt, create an event structure that will listen to changes triggered by saving the Preferences.
2026-01-16 09:52:40 -05:00
Stef Tervelde 8466ee1ee0 Instant Locale Updatee (#1384)
Keep track of locale updates within the Process so that when the user changes the locale, that is immediately reflected within the app and later within other instances of Processing when the watch file kicks off the reload
2026-01-16 09:51:52 -05:00
Stef Tervelde 4edb29ad10 Refactor Other preferences registration logic (#1379)
Made sure the logic for displaying experimental settings runs regardless of the visibility of the toggle
2026-01-14 16:57:39 -05:00
Stef Tervelde ac09bfe79e Fixed an issue where the stream was left open (#1380) 2026-01-14 16:56:03 -05:00
Madhav Majumdar 621d9900b5 Migration of the svg library to Gradle (#1289)
* Update svg build.gradle.kts

* update variable legacyLibraries and libraries
2026-01-14 16:54:27 -05:00
Stef Tervelde 76b9bae923 Refactor locale resource loading logic (#1364)
Read the locale strings as UTF-8
2026-01-08 13:31:18 -05:00
Stef Tervelde edaf153ba4 Fix tabbing issue with textfields (#1367) 2025-12-23 08:34:56 -08:00
Stef Tervelde 9290fe9cff Refactor splash screen launch logic in Start.kt (#1357)
Simplifies the splash screen logic by removing coroutine delays and instead using a LaunchedEffect to trigger Base.main after the splash animation completes. The splash window now closes automatically when a new window is opened, improving startup flow and reliability.
2025-12-20 09:14:41 -08:00
Stef Tervelde 26c53c9656 Welcome Screen + Prefs QA (#1362)
Set the default editor theme to automatic in defaults.txt. Added a slight delay in file watching to reduce CPU usage. Enhanced the WelcomeSurvey UI with a border for better visual feedback. Refactored zoom preference handling in Interface.kt to use lambdas for up-to-date values.
processing-1311-4.5.0
2025-12-18 06:59:56 -08:00
Stef Tervelde f85e3bc73d Load supported locales from locales.txt file (#1360)
Refactors Language.listSupported() to read supported language codes from a new locales.txt resource file instead of scanning available locales.
2025-12-16 08:49:54 -08:00
Stef Tervelde f8e1d97652 Merge pull request #1356 from Stefterv/fix-save-on-quit
Reload legacy Preferences after saving
2025-12-12 15:38:31 +01:00