weisj
eaae0d17b2
Replace LinkedList with ArrayList
3 years ago
weisj
ef9d4f55e0
Everywhere: Address errorprone warnings
3 years ago
weisj
0a90720a3b
Make fallthrough explicit
3 years ago
weisj
c51f58379b
ComboBox: Make narrowing conversion explicit
3 years ago
weisj
06e4b32a6f
Everywhere: Allow subclasses in #equals implementations
3 years ago
weisj
833ee1b021
TabFrame: Handle missing switch cases
3 years ago
weisj
4dfbd8e399
Everywhere: Convert reference equality checks with Objects.equals where applicable
3 years ago
weisj
b970fa0e3c
Animations: Make Interpolator @Immutable
3 years ago
weisj
66fdf9a6c2
Everywhere: Clarify boolean expressions
3 years ago
weisj
257e996f44
Everywhere: Keep `synchronized` in overwritten methods
3 years ago
weisj
b441e722dc
Don't reinitialize static Actions in constructor
3 years ago
weisj
883088cb1d
Everywhere: Remove unused fields/variables
3 years ago
weisj
2b74e8ede8
Everywhere: Resolve shadowing member fields
...
They are either removed or renamed for clarity.
3 years ago
weisj
b2c80213bb
Everywhere: Remove unnecessary parenthesis
3 years ago
weisj
8ec52a7c26
Everywhere: Make protected members in final class private
3 years ago
weisj
1c0fdfc9c8
Everywhere: Add missing @Overwrite annotations
3 years ago
weisj
b171d72d1b
Build: Ignore 'MissingSummary' errorprone warning
3 years ago
weisj
7d07d4a9f8
Mark ThemedDarkLafProvider as @Immutable
3 years ago
weisj
81fc63ff10
Windows: Fix errorprone warnings
3 years ago
weisj
2d53cc269f
MacOS: Fix errorprone warnings
3 years ago
weisj
c04e386bd0
MacOS: Make argument order consistent
3 years ago
weisj
87726ff7be
Annotations: Annotate generated classes as @Generated
3 years ago
weisj
2491bda23e
IconSet: Annotate generated classes as @Generated
3 years ago
weisj
048dbd4087
PropertyLoader: Fix errorprone warnings
3 years ago
weisj
e2ae7812d3
Compatibility: Fix errorprone warnings
3 years ago
weisj
9db99c8c18
NativeUtil: Fix errorprone warnings
3 years ago
weisj
488b3b31e2
Annotations: Fix errorprone warnings
3 years ago
weisj
db26ca6bfa
Theme: Fix errorprone warnings
3 years ago
weisj
8dd0e958d3
Utils: Fix errorprone warnings
3 years ago
weisj
94929e5cda
Build: Setup errorprone
3 years ago
weisj
3a97adec97
IconSet: Fix icon path for revert
3 years ago
weisj
b5e9da0aec
Test: Report which test failed
3 years ago
weisj
f8bf001609
Test: Disable flaky tests
3 years ago
weisj
fe7ecce73e
Always return sensible insets for table borders
3 years ago
weisj
34278b7202
Spinner: Disable buttons on boundaries
3 years ago
weisj
d03e010650
IconSet: Create missing disabled variants for +/- icons
3 years ago
weisj
f685afca0f
Build: Make library file names unique across target machines
...
This allows us to flatten the library directory. It also
enables the possibility of having all libraries inside the
same directory
Relates to #262
3 years ago
weisj
55cc5116ce
Icon: Break early if no value match is found
3 years ago
weisj
db947a94c7
IconSet: Fix incorrect icon path
3 years ago
weisj
9884275d4f
Tests: Fix failing tests blocking execution
3 years ago
weisj
98d398ba5c
Abstract usage of IconLoader away into an interface
...
This opens up the possibility of providing custom icons
through themes.
3 years ago
weisj
07e4162c96
Replace usage of DarkUIUtil.ICON_LOADER with AllIcons api
3 years ago
weisj
ccf1743467
IconLoader: Cleanup
3 years ago
weisj
c7cb00cfef
IconLoader: Clear cache when caching is disabled
3 years ago
weisj
d90247ca5b
Tests: Only check that the cache size can shrink
3 years ago
weisj
cb7eb13b5f
Tests: Ensure expected state of icon loader
3 years ago
weisj
b1e18d6df3
Tests: Test icons loaded by themes are reclaimed
3 years ago
weisj
126670c6d9
IconLoader: Replace hard cache with SoftCache
3 years ago
weisj
2577a5a168
Util: Add cache which keeps a soft reference on the values
...
The values need to implement the SoftCache.Cacheable<K> interface
where K is the key type. By doing this they promise to keep a
reference to the key. Not doing so will eventually cause the value
from being removed from the cache.
3 years ago
weisj
ae1a208220
Decorations: Remove non jni install path
...
The client-property approach for java >= 12 resulted in window resizing failing
if it causes the window to be realized. Setting the 'fullSizeContentView' and
'transparentTitleBar' client-properties resulted in a native resize happening
inside 'Component#reshape' causing unexpected resize results.
We replace it with our jni approach to have better control over what happens to the window sizes.
Fixes #230
3 years ago