Jannis Weis
64d5b2fec2
Parser: Recognise "Font" as a font key suffix
3 years ago
Jannis Weis
3c7ec99cd6
Parser: Trim input before parsing
3 years ago
Jannis Weis
75e055f6b3
IconLoader: Print path when failing to load a file
3 years ago
Jannis Weis
92e61ac97e
Make sound.svg available in iconset
3 years ago
Jannis Weis
bcdc2f6990
Fix code style
3 years ago
Jannis Weis
a9be53454f
Tests: Fix compilation errors
3 years ago
Jannis Weis
99833fcd04
Make platform.preferences usable as a standalone module
3 years ago
Jannis Weis
fa442a8bd3
Remove darklaf.properties dependency from windows and mac module
3 years ago
Jannis Weis
63c5a1b836
Extract system preference reporting mechanism to own module
...
To do this the following restructuring is performed:
- Move decorations specific classes to darklaf-platform-decorations
- Move SystemInfo to darklaf-platform-base
- Move theme specification specific classes to darklaf-theme-spec
- Create new module darklaf-platform-preferences for the reporting related classes
3 years ago
Jannis Weis
5f69904a22
Remove refactoring artifacts
3 years ago
Jannis Weis
ce1cc67793
Don't format objective-c files
...
The formatter fails with them so don't attempt to do it.
3 years ago
Jannis Weis
3b13068470
CI: Run errorprone on Java 11
3 years ago
Jannis Weis
42506c137f
Build: Properly package module stubs
...
This allows them to be discovered during compilation.
3 years ago
Anticleiades
a439cd254a
Correct Italian translations
3 years ago
Anticleiades
b0976c04b7
Fix glitches occurring while resizing JFrame, by adding the missing "control" global property
3 years ago
Jannis Weis
59ca3502c8
Build: Stub invisible modules to avoid compiler warnings
...
Some modules explicitly export only to darklaf.core, because
they are implementation modules. To avoid compiler warnings
we stub the module definition.
3 years ago
Jannis Weis
e722048341
TabFrame: Add method to add custom buttons to the popup header
...
Managing the style of the header for buttons is non-trivial, so
we have the UI expose an api to create matching styled button for
the user.
3 years ago
Jannis Weis
1cc12259bd
Remove debug print statement
3 years ago
Jannis Weis
e40947b057
Build: Ensure test executions are patched to use module path
3 years ago
Xujiayao
a064098869
Correct Chinese and Japanese translations and add theme_settings translations for both languages
3 years ago
Jannis Weis
b4e38bd818
Windows: Use rcWork instead of rcMonitor in window bounds adjustments
...
The bottom would never be adjusted because of the taskbar.
3 years ago
Jannis Weis
4453ce13a7
Windows: Also extend client frame when running on Windows 11
...
Fixes #300
3 years ago
Jannis Weis
3e6672ca9b
Improve automatic tooltip alignment
...
Use a better guess for the initial alignment than always using SOUTH.
3 years ago
Jannis Weis
6e6cff98a2
Check that demos are running on the module path
3 years ago
Jannis Weis
59d3be81bc
Filter duplicate icons
3 years ago
Jannis Weis
d068d95675
Demo: Rename AllIcons to AllUIconsDemo
...
This avoids confusion with the AllIcons accessor class.
3 years ago
Jannis Weis
2ec19dbafd
Test: Start index counting from 1 for output
3 years ago
Jannis Weis
cd41dfec79
Modules: Export implementation classes only to darklaf.core
3 years ago
Jannis Weis
1cc0cd20f0
Build: Automatically patch execution tasks to run on module path
3 years ago
Jannis Weis
2ef0cb79be
Ignore space of shadow when aligning tooltip border
...
Relates to #298
3 years ago
Jannis Weis
ff44d37d16
Use background of component instead of first opaque parent
...
Fixes #298
3 years ago
Nico Mexis
554e0346c1
Update Gradle wrapper script
3 years ago
Jannis Weis
0f6d528542
Build+macOS: Add some extra @rpath entries to search for JavaNativeFoundation
...
Sometimes the Versions/Current folder doesn't seem to get recognized.
We now also search explicitly for Versions/A.
3 years ago
Jannis Weis
b2cec3ef34
Icons: Share complete state of SVGDocument by reference
...
If we don't do this then the following will happen:
1. Icon A is derived to icon B. This will copy a null document
to icon B. Also the loaded state is copied (which is an AtomicBoolean).
2. Icon A is loaded setting the loaded state to true. This also affects icon B.
3. Icon B thinks it is loaded but has null document.
3 years ago
Jannis Weis
56268d1115
Icons: Ensure loaded svg document isn't null
3 years ago
Jannis Weis
b43107e46f
Tests: Ensure tests fail when an exception occurs during setup
3 years ago
Jannis Weis
becd682f8c
Build+Tests: Setup test logging
3 years ago
Jannis Weis
7d8122fb73
Tests: Wait for demo window reference to be set
...
This should resolve flaky tests due to race conditions
3 years ago
Jannis Weis
212b006718
Increase tooltip border radius on macOS and Windows 11
3 years ago
Jannis Weis
37de65ddca
Properly display the background of popup components
3 years ago
Jannis Weis
b71d3c8019
Reduce overhead of painting balloon tooltip background
...
Instead of calculating the area loop over all parts (the round rect and triangle)
to fill.
3 years ago
Jannis Weis
0057e83b5c
Simplify and improve DropShadowBorder
...
We always displayed all shadows anyway so no need for the extra complexity.
Also, properly handle the corner radius property.
3 years ago
Jannis Weis
e2277918c6
Restore previous Laf when creating the base laf
...
When we instantiate a Darklaf we have to create the base laf.
For macOS this may require us to install the system laf in the
UIManager. We should restore it the way we found it to ensure
no surprises if one instantiates Darklaf without trying to install
it directly afterwards. Because this makes the instantiation heavier
we skip the restoring if we know we are installing the laf directly
afterwards e.g. when installing through the LafManager.
3 years ago
weisj
6025ebd4e8
Documentation: Increase resolution of preview images
3 years ago
weisj
aa88be95f8
Only load icons of colored radiobutton once
...
With the jsvg icon implementation we can directly modify
the property map and spare us the manual patching.
3 years ago
weisj
d24e3ba741
Icons: Replace svgSalamander with JSVG
3 years ago
weisj
8019e61d50
Demo: Only use files which have an svg extension
...
We need to require the dot or else we might try to load a folder as an icon.
3 years ago
Jannis Weis
99f98b5bf2
CI: Replace wrapper-cache-enabled with distributions-cache-enabled
3 years ago
Jannis Weis
09542de442
CI: Skip spotless when running errorprone
3 years ago
Jannis Weis
538a0f9cff
Properly fail build with Java < 9 and -Prelease=true
3 years ago