weisj
f44fbde515
Fail Laf installation if laf is currently being installed.
3 years ago
weisj
989854c9a4
Build: Reenable autostyle
3 years ago
weisj
a9baba753b
Demo: Make content pane wrapping opt-in
...
For now we should only delegate the creation of the content pane to the BaseComponentDemo for demos which explicitly support the Spec declarations.
3 years ago
weisj
f67275f3de
Demo: Don't add control separator if no controls are defined.
3 years ago
weisj
730147262f
Test: Iterate over all spec combinations if extensive testing is enabled.
...
For now this options is disabled as the number of combinations gets very large.
3 years ago
weisj
0d039e394a
Demo + Test: Refactor ComponentDemo
...
A ComponentDemo should be able to expose its possible
configurations such that we can test all combinations.
3 years ago
weisj
ae4ec01bca
Test: Don't set --module-path when not supported
3 years ago
weisj
3600ac7e46
Test + CI: Upload test reports
3 years ago
weisj
8d426c6648
Test: Fix NPE exception when demo is null
3 years ago
weisj
1e83634ea3
Test: Suppress unchecked cast warnings
3 years ago
weisj
5e05544b4b
Test: More tests about library packaging
3 years ago
weisj
119905e6ad
Test: Prevent initializing the `editor` variable in the shared ui
3 years ago
weisj
dd87892507
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
4179e28302
Test: Clean up custom init tasks after tests have run
3 years ago
weisj
681f8c05c7
Build+Test: Open test resources for property loader
3 years ago
weisj
bea1b8c55e
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
acb4068521
Build: Run tests and demos on the module path
3 years ago
weisj
aa75beca9b
Modules: Fix resource loading when running on the module path.
3 years ago
weisj
77a09bc117
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
aee7f75dba
SwingUtils: Convert grab/ungrab methods to MethodHandles.
3 years ago
weisj
737d7303c4
Remove debug painting.
3 years ago
weisj
6a68876b9a
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
2b3c99b229
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
ac9cffbc07
Remove unused class
3 years ago
weisj
ce15294d9e
API: Move ColorUtil into util project as it is referenced there.
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
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
6e91b0274d
TransformUI: Allow for general wrapped RepaintManagers
3 years ago
Pabilo8
c9593dced0
Update Polish translation
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
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
weisj
a005d5224a
Popup: Assume popups are opaque by default.
3 years ago
weisj
ce6f2d3e2d
Windows: Make lists non striped.
...
This property changed accidentally.
3 years ago
weisj
c206547453
Tooltip: Fix spelling error
3 years ago
Peter Lemke
b71e76968d
Update darklaf_de.properties
3 years ago
weisj
1f3d598519
PopupFactory: Add logging information
3 years ago
weisj
64dc8d5e9e
Popup: Allow specifying the bias for enabling (if possible) double-buffering or disabling it to fix transparent windows.
3 years ago
weisj
e659d6aea1
Popup [Linux]: Due to a jdk bug report the proper fix for transparent windows is to disable all double buffering on glass pane, layered pane and content pane.
3 years ago
weisj
15a2956e80
UIUtils: Cleanup UIUtilities bridge.
3 years ago
weisj
acc4aaf7c2
Memory: Further ensure no memory leaks for with shared resources and wrappers can occur.
3 years ago
weisj
7c7eea8818
Test: Add flag to toggle running all on all themes.
3 years ago