Karl Tauber
c8e2e78955
Gradle: use configuration cache
2025-11-25 11:51:41 +01:00
Karl Tauber
299250a710
System File Chooser: change @since 3.6 to @since 3.7
2025-10-27 18:06:41 +01:00
Karl Tauber
5c2d8ba555
System File Chooser: fix crash on macOS 15.x
CI / build (11) (push) Has been cancelled
Native Libraries / Natives (macos-latest) (push) Has been cancelled
Native Libraries / Natives (ubuntu-24.04-arm) (push) Has been cancelled
Native Libraries / Natives (ubuntu-latest) (push) Has been cancelled
Native Libraries / Natives (windows-latest) (push) Has been cancelled
CI / build-on (17, ) (push) Has been cancelled
CI / build-on (21, ) (push) Has been cancelled
CI / build-on (23, ) (push) Has been cancelled
CI / build-on (8, ) (push) Has been cancelled
CI / snapshot (push) Has been cancelled
CI / release (push) Has been cancelled
2025-06-17 12:23:09 +02:00
Karl Tauber
112116556d
Merge main into system-file-chooser
CI / build (11) (push) Has been cancelled
Fonts / Fonts (inter) (push) Has been cancelled
Fonts / Fonts (jetbrains-mono) (push) Has been cancelled
Fonts / Fonts (roboto) (push) Has been cancelled
Fonts / Fonts (roboto-mono) (push) Has been cancelled
Native Libraries / Natives (macos-latest) (push) Has been cancelled
Native Libraries / Natives (ubuntu-24.04-arm) (push) Has been cancelled
Native Libraries / Natives (ubuntu-latest) (push) Has been cancelled
Native Libraries / Natives (windows-latest) (push) Has been cancelled
CI / build-on (17, ) (push) Has been cancelled
CI / build-on (21, ) (push) Has been cancelled
CI / build-on (23, ) (push) Has been cancelled
CI / build-on (8, ) (push) Has been cancelled
CI / snapshot (push) Has been cancelled
CI / release (push) Has been cancelled
2025-01-23 17:04:05 +01:00
Karl Tauber
3283cfe22f
System File Chooser: macOS: disable screen menu bar when file dialog is shown
...
Testing: reduced duplicate code
2025-01-23 00:07:38 +01:00
Karl Tauber
aecb496142
System File Chooser: macOS: show file dialog in dark if current FlatLaf theme is dark
2025-01-21 14:36:01 +01:00
Karl Tauber
5e78b21df7
macOS native rounded borders: (PR #772 )
...
CI / build (11, ) (push) Has been cancelled
CI / build (17, ) (push) Has been cancelled
CI / build (21, ) (push) Has been cancelled
CI / build (23, ) (push) Has been cancelled
CI / build (8, ) (push) Has been cancelled
Native Libraries / Natives (macos) (push) Has been cancelled
Native Libraries / Natives (ubuntu) (push) Has been cancelled
Native Libraries / Natives (windows) (push) Has been cancelled
CI / snapshot (push) Has been cancelled
CI / release (push) Has been cancelled
- removed opacity from contentView.layer
- catch and log exceptions
2025-01-21 11:59:40 +01:00
Karl Tauber
0a4c01cd40
Merge main into system-file-chooser
2025-01-18 17:53:04 +01:00
Karl Tauber
91f19bf94c
Native Libraries:
...
- Linux: added dumps
- macOS: replaced deprecated Gradle `exec`
2025-01-18 16:53:30 +01:00
Karl Tauber
07fc190b5f
Native Libraries: moved code to JNIUtils.cpp and *MessageDialog.cpp
2025-01-14 16:50:13 +01:00
Karl Tauber
078e59a443
System File Chooser: support "approve" callback and system message dialog on macOS (not yet used in SystemFileChooser
CI / build (11, ) (push) Has been cancelled
CI / build (17, ) (push) Has been cancelled
CI / build (21, ) (push) Has been cancelled
CI / build (23, ) (push) Has been cancelled
CI / build (8, ) (push) Has been cancelled
Native Libraries / Natives (macos) (push) Has been cancelled
Native Libraries / Natives (ubuntu) (push) Has been cancelled
Native Libraries / Natives (windows) (push) Has been cancelled
CI / snapshot (push) Has been cancelled
CI / release (push) Has been cancelled
2025-01-12 18:32:58 +01:00
Karl Tauber
251198c66d
Native Libraries:
...
- made C methods `static` (similar to `private` in Java) to avoid that they are added (exported) to shared library symbol table
- macOS and Linux: added `-fvisibility=hidden` to compiler options to mark C methods hidden by default
2025-01-08 12:59:38 +01:00
Karl Tauber
d7462bd424
System File Chooser: use Cocoa autolayout for "Format" label and combobox on macOS
2025-01-07 19:20:40 +01:00
Karl Tauber
9af7f95197
System File Chooser: added "Format" combobox on macOS (if using more than one filter)
2025-01-07 14:37:58 +01:00
Karl Tauber
2e16ded5d4
System File Chooser: support macOS in class SystemFileChooser
2025-01-06 19:22:15 +01:00
Karl Tauber
63272a03cf
System File Chooser: macOS:
...
- use `optionsSet` and `optionsClear` (as on Windows)
- delete local reference after getting Java array item
- added "or null" to javadoc
2024-12-31 18:44:06 +01:00
Karl Tauber
516bd80702
System File Chooser: implemented native bindings for NSOpenPanel and NSSavePanel on macOS
2024-12-30 12:46:28 +01:00
Karl Tauber
5f5c225300
macOS: fixed crash when running in WebSwing (issue #826 ; regression in 3.4)
2024-03-26 13:24:05 +01:00
Karl Tauber
32d102dbc9
Native Libraries: added API version to:
...
- test whether native library matches the JAR (bad builds could e.g. ship a newer JAR with an older incompatible native library)
- invoke a method (to get API version) to check whether native library works correctly
if API version do not match, or method could not invoked correctly, disable usage of FlatLaf native library
Windows and macOS binaries built and signed locally in clean workspace
Linux binary built by GitHub Actions
2024-03-24 16:37:11 +01:00
Karl Tauber
55ddac2bc7
Gradle: use simpler Kotlin DSL property assignment
...
https://blog.gradle.org/simpler-kotlin-dsl-property-assignment
2024-03-23 13:56:47 +01:00
Karl Tauber
3465fa68b4
macOS window buttons spacing:
...
- renamed client property `MACOS_WINDOW_BUTTON_STYLE` to `MACOS_WINDOW_BUTTONS_SPACING`
- no longer allow value `true` for that client property
- enable using `MACOS_WINDOW_BUTTONS_SPACING` without `apple.awt.fullWindowContent`
- remove client property `FULL_WINDOW_CONTENT_BUTTONS_BOUNDS` when `apple.awt.fullWindowContent` is set to false or null
- added placeholder options `zeroInFullScreen`, `leftToRight` and `rightToLeft`
- hide close/min/max buttons during the transition from full-screen to non-full-screen to avoid that they "jump" when the nsToolbar is made visible
- fixed: full-screen listeners where added multiple times
- updated macOS native libraries
- added `FlatMacOSTest`
2024-01-22 00:31:40 +01:00
Karl Tauber
28278a75a7
macOS fullWindowContent mode:
...
- added title bar buttons placeholder
- added client property to root pane that contains title bar buttons bounds
- undone toolbar extensions from commit ea2447dcb7
2024-01-21 19:19:46 +01:00
Karl Tauber
93d424cfe1
macOS native: added FlatNativeMacLibrary.windowToggleFullScreen() for easier testing
2024-01-12 22:49:49 +01:00
Karl Tauber
a1adde0888
macOS window button style: support NSWindowToolbarStyleUnified (availaible since macOS 11+; standard in macOS Finder, etc) to allow even larger space around close/minimize/zoom buttons
2024-01-12 22:48:31 +01:00
Karl Tauber
13528b49cb
macOS large title bar: fixed wrong "main" JToolBar height and left inset after leaving full screen
2024-01-12 22:48:31 +01:00
Karl Tauber
241fe855cc
macOS large title bar: hide NSToolbar of window title bar when window becomes full screen
2024-01-12 22:47:33 +01:00
Karl Tauber
ea2447dcb7
macOS large title bar: main JToolBar automatically:
...
- uses height of macOS window title bar
- adds left insets for close/minimize/zoom buttons (except if full screen, where those buttons are hidden)
2024-01-12 22:47:33 +01:00
Karl Tauber
f40baed65e
macOS large title bar: add NSToolbar to NSWindow
2024-01-12 22:45:54 +01:00
Karl Tauber
46de81c1c9
macOS native:
...
- removed `FlatNativeMacLibrary.getWindowPtr()` because it is too dangerous to use `windowPtr` (which is `NSWindow*`) in Java (using invalid window pointer would crash app)
- made `getNSWindow()` 20x faster
- catch exceptions in `getNSWindow()`
- digitally signed dylibs
2023-12-14 14:39:26 +01:00
Karl Tauber
6f32236fb7
macOS: native rounded borders for popups (issue #715 )
2023-12-09 16:12:35 +01:00