Karl Tauber
edda52048c
System File Chooser: update current filter before invoking approve callback and after closing dialog (issue #1065 )
2026-01-06 14:00:58 +01:00
Karl Tauber
10677d469f
flatlaf-natives-windows: fixed link error on GitHub Actions
...
for some unknown reason (maybe newer Visual C++ version),
MSVC on GitHub Actions no longer inlines methods `wcscpy` and `wcslen`,
which results in linker error:
`error LNK2019: unresolved external symbol wcscpy/wcslen`
2025-10-31 12:01:20 +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
3e8b213367
System File Chooser: fixed font in message dialog on Windows
2025-03-20 19:12:10 +01:00
Karl Tauber
d513ec497b
System File Chooser: support system message dialog with custom buttons on Windows (not yet used in SystemFileChooser
2025-01-15 18:51:37 +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
d49282dfe8
System File Chooser: support "approve" callback and system message dialog on Windows and Linux (not yet used in SystemFileChooser
2025-01-12 01:40:12 +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
91e8d04a9f
System File Chooser: introduced class SystemFileChooser as replacement for JFileChooser
2025-01-06 18:01:50 +01:00
Karl Tauber
9453d55abd
System File Chooser: fixes for Windows
2025-01-04 12:33:18 +01:00
Karl Tauber
49a0a83eca
System File Chooser: implemented native bindings for IFileOpenDialog and IFileSaveDialog on Windows
2024-12-31 17:39:44 +01:00
Karl Tauber
e064c934cb
Windows: fixed detection of Windows 11 if custom exe launcher does not specify Windows 10+ compatibility in application manifest (issue #916 )
...
Windows binaries built and signed locally in clean workspace
2024-11-28 14:12:56 +01:00
Karl Tauber
c37712b0f0
Windows: fixed wrong layout in maximized frame after changing screen scale factor (issue #904 )
...
Windows binaries built and signed locally in clean workspace
2024-11-17 19:41:54 +01:00
Karl Tauber
72a4c00e72
Window decorations: fixed black line sometimes painted on top of (native) window border on Windows 11 (issue #852 )
...
Windows binaries built and signed locally in clean workspace
2024-06-21 19:58:36 +02: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
c85baf4dc6
flatlaf-natives-windows: fixed invocation of GetMonitorInfo() (issue #798 )
...
also removed unnecessary setting `mii.fType`
2024-01-23 15:54:44 +01:00
Karl Tauber
7f6f366744
flatlaf-natives-windows: support DWM attributes DWMWA_USE_IMMERSIVE_DARK_MODE, DWMWA_CAPTION_COLOR and DWMWA_TEXT_COLOR (all unused in FlatLaf core)
2023-12-07 18:53:45 +01:00
Karl Tauber
98f8557392
flatlaf-natives-windows: reworked linking/loading of jawt.dll; now loading jawt.dll when first used (issue #673 )
2023-07-01 18:16:59 +02:00
Karl Tauber
07ad467c73
Windows 11: use rounded popups with system border and system drop shadow
2023-01-26 18:13:26 +01:00
Karl Tauber
c9b5274ccf
flatlaf-natives-windows: reworked memory allocation error handling
2022-11-26 19:05:24 +01:00
Karl Tauber
c3adadfe2f
flatlaf-natives-windows: fixed compile and link errors
2022-11-23 21:27:55 +01:00
John Platts
f7be12df67
Add AllocRoutines.h include
2022-09-19 14:23:51 -05:00
John Platts
a1d1e221ae
Remove operator new and operator delete overloads from Runtime.cpp
...
The ```operator new``` and ```operator delete``` overloads in Runtime.cpp are replaced by placement ```operator new``` and ```operator delete``` operators in AllocRoutines.h that take a const FlatLafNoThrowT& placement parameter.
Using ```new (FlatLafNoThrow) FlatWndProc``` instead of ```new FlatWndProc``` also allows for inlining by the C++ compiler.
2022-09-19 14:23:16 -05:00
John Platts
0a4dc54fb9
Update put and ensureCapacity routines
2022-09-19 14:17:37 -05:00
John Platts
b8c7801365
Change ensureCapacity method to return a bool
2022-09-19 14:06:26 -05:00
John Platts
a7099c039f
Rename allocation functions
2022-09-19 13:57:25 -05:00
John Platts
a4d2d347e3
Change put method to return a bool
2022-09-19 13:56:28 -05:00
John Platts
829c537fd3
Add checks for allocation failure
2022-09-19 13:55:33 -05:00
John Platts
28437f99cf
Update new and delete FlatWndProc.cpp
2022-09-19 13:53:33 -05:00
John Platts
c1402d85e1
Update HWNDMap.h
2022-09-19 13:39:47 -05:00
John Platts
32e071ab89
Update AllocRoutines.h
2022-09-19 13:36:10 -05:00
John Platts
01125e030e
Create AllocRoutines.h
2022-09-19 13:26:33 -05:00
Karl Tauber
2e222bcdea
Native window decorations (Windows 10/11 only): fixed rendering artifacts on HiDPI screens when dragging window partly offscreen and back into screen bounds (issue #477 )
2022-02-18 22:24:36 +01:00
Karl Tauber
fb37be5734
Native window decorations: show (system) tooltips for minimize/maximize/close buttons on Windows 10 and for minimize/close buttons on Windows 11 (issues #397 and #407 )
2021-11-09 18:21:17 +01:00
Karl Tauber
54e6cefa67
Native window decorations: show Windows 11 snap layouts menu when hovering the mouse over the maximize button (issues #397 and #407 )
2021-11-09 15:36:21 +01:00
Karl Tauber
7f02eb9cf0
Native window decorations: when window is initially shown, fill background with window background color (instead of white), which avoids flickering in dark themes (issue #339 )
2021-07-31 21:05:01 +02:00
Karl Tauber
4ab90065dc
Native window decorations: when resizing a window to the right or to the bottom, then first fill the new space with the window background color (instead of black) before the layout is updated (issue #339 )
2021-07-31 18:02:10 +02:00
Karl Tauber
d3e39a1359
Native window decorations: fixed occasional application crash on Windows 10 in flatlaf-windows.dll (issue #357 )
2021-07-30 23:06:09 +02:00
Karl Tauber
eea341fb33
Native window decorations: fixed broken maximizing window (under special conditions) when restoring frame state at startup (issue #283 )
2021-05-13 12:10:11 +02:00
Karl Tauber
9d0823038e
Native window decorations: fixed occasional double window title bar when creating many frames or dialogs (issue #315 )
2021-04-23 18:14:00 +02:00
Karl Tauber
c24ce7c5bc
Native window decorations: fixed broken maximizing window when restoring frame state at startup (issue #283 )
2021-03-25 10:32:24 +01:00
Karl Tauber
8a6a0c7971
Native window decorations: fixed missing animations when minimizing, maximizing or restoring a window using window title bar buttons (issue #282 )
2021-03-24 23:59:59 +01:00
Karl Tauber
cbcf66df7f
Native window decorations: fixed enabled items is system menu
2021-03-06 16:23:10 +01:00
Karl Tauber
8734b062dc
Native window decorations: avoid using C-runtime, which reduces the DLL size from 100kb to 8kb
2021-03-06 12:01:49 +01:00
Karl Tauber
144d65c776
Native window decorations: initial implementation in C++ using JNI
2021-03-05 10:31:31 +01:00