weisj
0282f04a58
Test: Suppress unchecked cast warnings
3 years ago
weisj
12f68839df
Test: More tests about library packaging
3 years ago
weisj
92e544c4d7
Test: Prevent initializing the `editor` variable in the shared ui
3 years ago
weisj
eaddd25f56
Test: Test switching laf
...
Test whether it is possible to switch the laf without causing an error.
To do this we need to test demos, which require Darklaf to be installed last.
3 years ago
weisj
660e2f3ab4
Test: Clean up custom init tasks after tests have run
3 years ago
weisj
ff9c871ada
Build+Test: Open test resources for property loader
3 years ago
weisj
c43cbbc62e
Parser: Change inline prefix from `#` to '%'
...
Previously inline color declarations would need to be declared with two leading `#` being error prone to forgetting the second `#`.
3 years ago
weisj
e0bd43dc06
Icons: Fix url discrepancy when running on module path
...
When running on the module path the url returned by `Class::getResource` would start with jar:file:/// instead of the jar:file:/ from the class loader. This messes up the uri resolving for patched icons.
3 years ago
weisj
5976fa837d
Build: Run tests and demos on the module path
3 years ago
weisj
774e4fea4d
Modules: Fix resource loading when running on the module path.
3 years ago
weisj
9cb82105e8
Build: Extract compatibility code into separate project
...
This allows us to limit the scope where '--release' can't be used for compilation.
3 years ago
weisj
7ca3405acc
Actions: Adjust java versions
...
With the compilation of the module-info a java toolchain with version at least 11 is required.
3 years ago
weisj
c3e88f3156
Build: Add option to skip module info compilation
3 years ago
weisj
4283d52422
NativeUtils: Rename package from platform to nativeutil
3 years ago
weisj
ed1a162f42
SwingUtils: Convert grab/ungrab methods to MethodHandles.
3 years ago
weisj
666f5f67e6
Remove debug painting.
3 years ago
weisj
be6fa54058
Modules: Move utils in darklaf to ui.utils to avoid split packages. Move classes in property-loader to the properties subpackage to avoid split packages.
3 years ago
weisj
e716522288
Build: Add and compile module info
...
We add a custom task to compile the module-info with a newer java version.
To ensure the module-info is correct we need to compile it together with all other project sources.
3 years ago
weisj
838bf39224
Remove unused class
3 years ago
weisj
aab96b6471
API: Move ColorUtil into util project as it is referenced there.
3 years ago
weisj
f1e1db4549
API: Move color package from utils project to property-loader project to avoid split packages.
3 years ago
weisj
0617fca3c5
Release version 2.7.2
3 years ago
weisj
29e45dabf4
Stabilize swingDsl dependency version to 0.1.3
3 years ago
weisj
5d4c691729
Build: Prevent snapshot dependencies when building release versions
3 years ago
weisj
f20ad1d1bd
Release version 2.7.1
3 years ago
weisj
b6d7c68f3a
NumberingPane: Respect icon width when calculating numbering position
...
This also improves the font choice for numbering panes on windows.
Fixes #251
3 years ago
weisj
39dfba2e39
Remove accidentally introduced usage of SwingUtilities2 api.
3 years ago
weisj
fabb420e77
Prepare next development round
3 years ago
weisj
1163664e29
Painting: Use SynthGraphicsUtil for text painting.
...
SynthGraphicsUtil actually exposes SwingUtilities2#drawString which we can use the replace our copy implementation in UIUtilities.
Relates to #256
3 years ago
weisj
865e8e9a68
Make sure propertyChangeListener is called when dirty is set to true
3 years ago
weisj
135684790b
Remove unused method
3 years ago
weisj
4361ab3d59
Set version to 2.7.0
...
This is due to the M1 support on macOS.
3 years ago
weisj
6e91b0274d
TransformUI: Allow for general wrapped RepaintManagers
3 years ago
Pabilo8
c9593dced0
Update Polish translation
3 years ago
weisj
d80a42efdd
Native: Fix loading jawt.dll failing on some jdks
3 years ago
Jannis Weis
c46bbb2491
CI: Use release token for branch snapshot action
3 years ago
weisj
1b0752e160
Font: Fix font replacement predicate
3 years ago
weisj
8775cbc482
ToggleButtonList: Update ui of renderers in updateUI
...
Closes #250
3 years ago
weisj
2c10d41bdb
Table: Ensure custom renderers/editors are uninstalled
...
Closes #249
3 years ago
weisj
a2c3af4d86
Windows: Remove dependency on JNA
3 years ago
weisj
34326de0b8
TransformUI: Be more lenient when rejecting the better repainting approach
...
Instead of rejecting with all java version that support the module system we only do it for versions >= 16 as those actually enforce the encapsulation. We also offer an option to opt-in to the better version by passing appropriate jvm flags.
3 years ago
weisj
6b4fb826d6
Properties: Fix parsing system flags with default value = false
3 years ago
weisj
60e2221090
Logging: Fix formatting for detached loggers
3 years ago
weisj
ea877561c2
TransformUI: Replace JXLayer with JLayer
3 years ago
weisj
7cf3520be7
Installation: Don't update uis when changing decorations if LaF isn't installed.
3 years ago
weisj
4382249baf
Menu: Safely check type of 'checkIconFactory' factory property
...
As the type can only mismatch when darklaf is being uninstalled we don't care what happens in this case. Simply don't crash. Moreover this only happens on windows where the window decorations may change the component hierarchy during uninstallation to return the menu bar to the root pane.
Currently we don't make use of this property at all, but to keep the implementation close to the swing internal one we keep the method for now.
Relates to #234
3 years ago
weisj
bd23c170ef
Menu: Remove unused method
3 years ago
Jannis Weis
181f1489a6
Actions: Use separate token for creating release tags
3 years ago
weisj
54bd006ad2
Parser: Fix insets test.
...
We should check whether insets.top is a valid color instead of checking insets.right twice.
3 years ago
weisj
a005d5224a
Popup: Assume popups are opaque by default.
3 years ago