Jannis Weis
1cc0cd20f0
Build: Automatically patch execution tasks to run on module path
3 years ago
weisj
d24e3ba741
Icons: Replace svgSalamander with JSVG
3 years ago
Jannis Weis
25618d5fa7
Setup dependency catalog in settings.gradle.kts
...
This allows us to move the dependency versions back into
gradle.properties so version for plugins and dependencies are declared
in a centralized way.
This commit also removes the legacy macOS framework dependencies.
3 years ago
Jannis Weis
f7f2629dc2
Build: Update Gradle to version 7.3.3
3 years ago
weisj
e9625ce62d
Resources: Include resources for basic/metal laf bundles
...
Fixes #289
3 years ago
weisj
7d07d4a9f8
Mark ThemedDarkLafProvider as @Immutable
3 years ago
weisj
37607b0a8c
Build: Promote iconset to api
3 years ago
weisj
b7c2625776
Demo: Add inspector
3 years ago
weisj
0fc2d6f7f9
Build: Reenable autostyle
3 years ago
weisj
e0bfabfe7a
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
31a765b08c
Test: Don't set --module-path when not supported
3 years ago
weisj
12f68839df
Test: More tests about library packaging
3 years ago
weisj
ff9c871ada
Build+Test: Open test resources for property loader
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
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
a2c3af4d86
Windows: Remove dependency on JNA
3 years ago
weisj
ea877561c2
TransformUI: Replace JXLayer with JLayer
3 years ago
weisj
60c704d2d6
Test + CI: Disable demo test for normal test runs to reduce CI time. Run all the tests in verbose mode for JDK 16.
3 years ago
weisj
a795483c55
Remove fatJar task
3 years ago
weisj
c51d02ae2f
Test: Move test classes into com.github.weisj.darklaf package.
3 years ago
weisj
542dbf3cb7
Modules + MenuItem: Use java-compatibility.jar from intelliJ to replace swing internal api calls. Because this also replaces the MenuItemLayoutHelper we need to unify the implementation of DarkMenuItemUIBase and DarkMenuUI. This is done by extracting all functionality into the MenuItemUI interface for which the implementing classes need to provide the necessary details.
3 years ago
weisj
3457eeb694
Memory: Ensure shared static helpers don't prevent ui classes from being garbage collected.
4 years ago
weisj
9faec7ace4
Update gradle version
4 years ago
weisj
e87e43c5f5
Build: Rename swingDsl to swingDsl.lafSupport for more clarity.
4 years ago
weisj
5580656e79
Build: Update to Gradle 7
...
Upgrade gradle version to 7.0. Make use of typesafe project and library accessors. These replace the current bom project.
Handle different xCode version on macOS.
4 years ago
weisj
81ac979217
Update implementation of DarklafComponentFactory.
4 years ago
weisj
db9283d51a
SWING-DSL: Provide spacing hints for the swing-dsl library and set a ComponentFactory to provide darklaf specific components.
4 years ago
weisj
0b753bea5d
Add component to edit colors of ThemedIcons (IconEditorPanel).
...
Add IconEditor as a sample implementation of an icon editor using the IconEditorPanel
4 years ago
weisj
2b63847c4a
Promote darklaf-property-loader to api dependency.
4 years ago
weisj
f72f8f4300
Add demo for LGoodDatePicker to improve compatiblity.
...
Make semantics for button border insets and margins more clear.
- Border insets subtract from the background area (The background area is the component size minus the insets).
- Margins add to the background area (the background area is the content area plus the margin).
- For borderless variants the size of the background is enforced to comply to the margin values.
Ensure tabbed and normal popups have the same header height.
Ensure more and new tab button in tabbedpane are aligned the same way and have the same height.
4 years ago
weisj
65f84bace2
Fix broken synthesised lafs.
4 years ago
weisj
9edb1f5026
Add option to synthesise a LookAndFeel class that automatically installs a theme for better interoperability with the LookAndFeelInfo class.
...
Load available themes as Service.
4 years ago
weisj
cc6ec5e520
Move nokee version definition to root gradle.properties
...
Remove unused shadow.version
4 years ago
weisj
e3df361133
Updated rsyntaxarea version definition to use bom.
5 years ago
weisj
4bfb1c1549
Added option to supply custom scrollpane for OverlayScrollPane.
5 years ago
weisj
2016816e34
Ensure licenses are included in the jar.
5 years ago
weisj
3a337c1641
Migrated tests to JUnit.
5 years ago
weisj
861b9162b6
Setup creation of snapshot versions.
...
Made darklaf-theme and darklaf-utils be transitive dependencies to avoid confusion of classes are unavailable.
Added information about automatic library downloads and nightly builds in README.
5 years ago
Jannis Weis
deae2142da
Migrate to Nokee plugin ( #173 )
...
Migrate to Nokee plugin.
Improved dark mode detection on macOS.
Fixed issue where the native theme option wasn't available in the theme settings on macOS.
Improved scrollbars.
5 years ago
Jannis Weis
d3fd5dedab
Font test ( #170 )
...
Create font samples.
5 years ago
weisj
63e55f0f71
Autostyle setup and initial formatting.
5 years ago
weisj
b08819ed18
Removed temporary test execution.
5 years ago
Jannis Weis
6eeb813562
Theme preference support on macOS. ( #127 )
...
Theme preference support on macOS.
5 years ago
Vladimir Sitnikov
90cc7d1f53
Add gradlew runDemo task to lauch demos from the command line
...
See
$ gradlew help --task runDemo,
$ gradlew runDemo
$ gradlew runDemo --class ui.button.ButtonDemo
5 years ago
weisj
f866e503a7
Moved themes to own module.
...
Decoupled loading of ui properties from theme properties.
5 years ago
weisj
f23ccf493b
Renamed decorations-base to platform-base. This accomodates a broader use of common classes between platforms.
5 years ago
weisj
71dc77d73a
Fixed missing build directory when creating documentation.
5 years ago
weisj
65d0bb4bb9
Add action and task for creating documentation.
5 years ago