Commit Graph

80 Commits

Author SHA1 Message Date
martin 3fc38bc645 Fixed TextRenderer memory leak 2022-11-29 16:10:44 +01:00
martin 787e9c27be Add exporter to swing and awt native canvas. Let drawable text have a point on the value and smart layout according to camera 2022-10-02 00:02:58 +02:00
martin 5e805bd021 Simplify controller to let them target a single chart at a time. Disabled CI 2022-09-15 15:17:49 +02:00
Martin Pernollet 7980ee8a54 [maven-release-plugin] prepare for next development iteration 2022-08-08 15:39:22 +02:00
Martin Pernollet 0f84c95630 [maven-release-plugin] prepare release jzy3d-all-2.2.0 2022-08-08 15:37:30 +02:00
Martin Pernollet 8acc40ac5b Add experimental code (commented) to deal with tooltip position on
Windows 10 and AWT.
2022-08-06 19:26:46 +02:00
Martin Pernollet a63309497c Better canvas pixel scale getters. Add checks to view pixel scale listener to check consistent values and avoid layout glitches 2022-06-17 13:32:08 +02:00
martin bd4baa7fd1 . 2022-06-01 17:54:43 +02:00
Martin Pernollet f278777f6c Bump to version 2.1.1-SNAPSHOT 2022-05-24 17:31:19 +02:00
Martin Pernollet f88693859d [maven-release-plugin] prepare release jzy3d-all-2.1.0 2022-05-24 16:51:35 +02:00
Martin Pernollet dd56f3762b Applying @HannesWell recommandations for Gitignore cleanup 2022-05-24 12:28:30 +02:00
Martin Pernollet ca2cdd2a54 merge 2022-05-24 11:56:06 +02:00
Martin Pernollet 692703c428 merge 2022-05-24 11:33:51 +02:00
Martin Pernollet cc3bbfff74 Fixed OverlayImageRenderer not displaying images of right side of chart with HiDPI 2022-05-23 17:20:35 +02:00
Martin Pernollet 429b9d090a speed up swing test 2022-05-09 12:38:54 +02:00
Martin Pernollet 6234f255e4 minor change to testing 2022-04-29 16:35:15 +02:00
Martin Pernollet d5311e6633 Update baseline image with new text renderer 2022-04-29 15:53:16 +02:00
Martin Pernollet b3656361f0 Improve Windows support and add manual tests 2022-04-28 15:08:15 +02:00
Martin Pernollet e8f3307ce0 Expose helpers for testing GL versions. Add JVM args so that tests on
windows still work.
2022-03-21 18:23:19 +01:00
Martin Pernollet 342f3e41d8 add timing info on add/remove/add to understand Ubuntu problem 2022-02-28 18:08:13 +01:00
Martin Pernollet 7a9ab1a065 Ignore one of the add/remove/add test that is freezing my Ubuntu. 2022-02-28 17:06:46 +01:00
martin 41d19528b8 Allow rebuilding a native TextRenderer for each new text to draw to prevent caching 2022-02-28 16:34:07 +01:00
jzy3d 72ca168043
Merge branch 'master' into bug/addRemoveChartWithoutNPE 2022-02-28 10:18:48 +01:00
Martin Pernollet ec163c2f09 Removing useless code for debug & tracing on swing canvas. 2022-02-22 15:59:32 +01:00
jzy3d 93db3fa4e1
Merge pull request #241 from jzy3d/bug/swingChartBlack_238
Swing chart display correctly and have an ITTest to verify screenshots
2022-02-22 12:21:35 +01:00
martin 80c46f0c77 Fixes #238 and #240: Provide an ITTest to ensure no regression on Swing charts 2022-02-22 12:08:58 +01:00
martin 6e243b9860 Add tests for the add/remove/add canvas to frame/jframe scenario 2022-02-21 19:22:43 +01:00
Martin Pernollet 60c8234742 Rename test so that surefire report of different modules do not collide 2022-02-21 18:55:30 +01:00
Martin Pernollet 2083d63dfa Ensure Windows HiDPI only applies in the case of AWT 2022-02-21 17:04:10 +01:00
martin 44ea5d2f92 Test uses another text renderer to avoid crash 2022-02-18 15:26:03 +01:00
martin a538367ae6 Test uses another text renderer to avoid crash 2022-02-18 14:38:13 +01:00
martin 829ec18f81 Add a test to reproduce NPE on adding/removing component from a frame, and fix NPE 2022-02-17 17:09:55 +01:00
Martin Pernollet 49ac8a5f3a Candidate fix for Windows 10 HiDPI - to be tested on macOS/Linux 2022-02-15 13:13:27 +01:00
Martin Pernollet 4ad662c2fa Patch 2.0.0 release version to bump log4j to 2.17 and adress CVE-2021-44228 + CVE-2021-45046 2021-12-20 19:00:57 +01:00
martin 3956ce447c Allow configuration of Debug GL flag from painter factory to trigger exception upon Open GL error 2021-11-23 13:17:57 +01:00
Marcono1234 022b11f7ae Use HTTPS URLs 2021-11-20 17:16:17 +01:00
Martin Pernollet f50232fbc7 [maven-release-plugin] prepare for next development iteration 2021-05-28 01:40:29 +02:00
Martin Pernollet 0ebddbe541 [maven-release-plugin] prepare release jzy3d-all-2.0.0 2021-05-28 01:40:20 +02:00
Hannes Wellmann 6b127faa05 [Build] improve dependency management
+ introduce a dependencyManagement-section to manage all dependency
versions from the root POM

+ provide junit, mockito and hamcrest for all modules as test dependency

+ use the official Eclipse-SWT artifacts published to Maven central
	- update the SWT dependency to the oldest artifacts available on
	maven-central. The version schema is different. Previously the SWT
	version released at the 5 Jun 2013 was required, now it is the official
	version 3.105.3 released at 30 Mar 2017.

+ down-grade the dependency to JFace to the oldest version possible to
increase consumer flexibility.
2021-05-26 00:38:11 +02:00
Hannes Wellmann f6a6611857 [Build] Remove redundant elements and change to recommended order
- Remove redundant groupIds, properties and descriptions
- Change the order of elements to comply with the order recommended by
Maven:
https://maven.apache.org/developers/conventions/code.html
2021-05-26 00:38:08 +02:00
Hannes Wellmann e999a64172 [Build] Format POMs, remove empty elements and update xsi:schemaLocation 2021-05-26 00:38:06 +02:00
Martin Pernollet f249d9479e Left Horizontal.LEFT layout work properly for any font size 2021-04-24 13:42:50 +02:00
Martin Pernollet 9dcb6de60d Allow defining different fonts for major/minor ticks and for HiDPI/NoHiDPI case 2021-04-24 11:28:20 +02:00
Martin Pernollet 2dac900bd1 Font refactor to a class rather than an enum in IPainter 2021-04-22 20:19:43 +02:00
Martin Pernollet 638d372497 Change quality instance to methods. Edit Adaptive mouse to support animated charts 2021-04-22 16:43:40 +02:00
Martin Pernollet 45a26a6c65 Watch pixel scale in native canvas 2021-04-20 00:26:35 +02:00
Martin Pernollet 6e669bcd6c Generalize time based rate limiter and use new camera thread for native charts to keep same behaviour for all charts 2021-04-19 21:19:59 +02:00
Martin Pernollet f4fc69b8e9 fixed first image not HiDPI and ensure profiling info displayed are those of the ccurrent rendering (and not previous one) 2021-04-18 19:43:11 +02:00
Martin Pernollet 736fcc619c exit frames without crashing background threads 2021-04-17 18:13:36 +02:00
Martin Pernollet 2819ac3bfb Cleanup 2021-04-11 22:15:57 +02:00