Jannis Weis
2de68b514d
Demos: Convert FileChooserDemo to proper demo
3 years ago
Jannis Weis
b691cc0d22
Demos: Don't deadlock while instantiating a demo on the UI thread
3 years ago
Jannis Weis
cde54833f7
Remove dependency on JavaNativeFoundation framework
3 years ago
Jannis Weis
887f4cb54a
Remove debug logging
3 years ago
Jannis Weis
a45a1c5faa
Include necessary JNF code at compile time
3 years ago
Jannis Weis
5133f18d8a
Fonts: Allow setting a font prototype for the font which all fonts will be based off.
3 years ago
Jannis Weis
34f3815046
Settings: Ensure the settings dialog responds to locale changes
3 years ago
Jannis Weis
dcb94bba42
Update comment about having to disable reporting before program exit
3 years ago
Jannis Weis
98efc1ca1e
Notify listeners when reporting is enabled
...
Relates to #310
3 years ago
Jannis Weis
3180dfbc75
RootPane: Don't paint any border on operating systems with rounded corners
...
The corner would look weird as the border is painted as a rectangle.
Fixes #306
3 years ago
Jannis Weis
ef54362467
RootPane: Combine all border keys into one
...
They were all the same anyway.
3 years ago
Jannis Weis
269e854279
Decorations: Adjust windows titlepane to height of title font
3 years ago
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