WerWolv
19c02be673
impr: Only store paths with forward slashes in project files
...
Fixes #1657
2024-05-08 21:30:20 +02:00
WerWolv
2994e69c08
impr: Refactor GLFW window hints into individual window files
2024-05-03 21:39:31 +02:00
daver32
6fbbf899b0
fix: Frame rate getting unlocked when inputs are being processed ( #1632 )
...
### Problem description
The framerate limiter doesn't work when inputs are being sent (eg mouse
cursor moving over the window), because `glfwWaitEventsTimeout` returns
early when it encounters an event.
### Implementation description
I made it sleep for the remaining time when that happens.
2024-05-01 20:48:41 +02:00
WerWolv
1df0eea6c6
impr: Added support for SVG loading, improved texture loading API
2024-05-01 20:36:10 +02:00
WerWolv
81982aa821
impr: Make windows always fully opaque when they're not docked
2024-04-27 20:19:45 +02:00
Nora
a7033b68f7
feat: Support DWM immersive dark mode on Windows ( #1636 )
...
### Problem description
Implements support for DWM immersive dark mode.
Closes #1635 .
### Implementation description
Uses the DwmSetWindowAttribute API to enable this feature.
Documentation can be found
[here](https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/apply-windows-themes#enable-a-dark-mode-title-bar-for-win32-applications ).
### Screenshots
Before:
![image](https://github.com/WerWolv/ImHex/assets/51166756/a2be204f-aa2d-44d7-8628-643a903d6679 )
After:
![image](https://github.com/WerWolv/ImHex/assets/51166756/f6c9ab41-c811-45f7-826f-401dd712674b )
### Additional things
Nothing.
2024-04-27 10:03:44 +02:00
WerWolv
a1ea8dfd84
fix: Build issue again when GLFW_WAYLAND_APP_ID isn't defined
2024-04-23 21:03:04 +02:00
Nik
cc7a0db35c
fix: Build issue when GLFW_WAYLAND_APP_ID isn't defined
2024-04-21 17:04:56 +02:00
Integral
6f11873d7e
fix: Missing window icon under wayland ( #1633 )
...
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->
### Problem description
When running ImHex under Wayland, the window icon is missing.
### Implementation description
Setting
[```GLFW_WAYLAND_APP_ID```](https://www.glfw.org/docs/latest/group__window.html#gafbf1ce7a4362c75e602a4df9e1bdecd3 )
to fix the issue.
### Screenshots
Before:
![Screenshot_20240420_162144](https://github.com/WerWolv/ImHex/assets/71180087/3318970f-6ed7-4161-b686-c2eaa28a0739 )
After:
![Screenshot_20240420_161920](https://github.com/WerWolv/ImHex/assets/71180087/e9e35fb6-e3c1-44a8-b7a5-b145dfe225d9 )
### Additional things
<!-- Anything else you would like to say -->
2024-04-21 12:24:20 +02:00
WerWolv
5f75c8684f
impr: Better UI for the case when no plugins could be loaded
2024-04-10 21:04:57 +02:00
WerWolv
dd5ddbcc0f
fix: Settings being overwritten sometimes on crash
2024-03-26 19:49:10 +01:00
WerWolv
f587710d1c
fix: Multiple memory corruption issues
2024-03-26 19:49:10 +01:00
WerWolv
4916e5542a
fix: Splash screen being scaled incorrectly
2024-03-22 17:52:10 +01:00
WerWolv
9236b92dc1
fix: Memory leak when closing ImHex
2024-03-21 21:39:29 +01:00
iTrooz
e56b34f174
build: Mark tryDemangle as [[maybe_unused]] ( #1606 )
2024-03-21 13:33:23 +01:00
WerWolv
ca78c4c2fc
fix: Build errors when stacktrace headers are not present
2024-03-16 14:59:05 +01:00
WerWolv
a1437658af
impr: Generate more useful stack traces on Linux
2024-03-15 17:53:12 +01:00
WerWolv
f4ec69021d
impr: Manually implement VSync because GPU manufacturers are terrible at writing drivers
2024-03-14 21:18:57 +01:00
WerWolv
95da957f73
impr: Try to improve framerate limiting once more
2024-03-14 19:56:09 +01:00
WerWolv
2c711ea206
feat: Load additional libraries from ImHex's /lib folder
2024-03-13 19:49:04 +01:00
WerWolv
9b1417f32d
fix: ImHex using a ton of CPU power on Linux
2024-03-12 09:06:58 +01:00
WerWolv
8f3f941600
impr: Prevent ImHex from getting stuck in an infinite crash loop
2024-03-02 09:52:09 +01:00
WerWolv
296af748ee
fix: Platform window not being updated when recovering from a crash
2024-03-01 20:55:03 +01:00
iTrooz
97f5175c84
impr: Better recovery from exceptions thrown in main thread ( #1577 )
...
This PR improves many things which can be seen by the commit name, but
the most important thing is the addition of a popup telling the user
when an exception is thrown
![image](https://github.com/WerWolv/ImHex/assets/42669835/db796416-9cce-4aa5-ad60-c22f05b5fc73 )
2024-03-01 18:21:15 +01:00
WerWolv
dc1a5a860c
fix: Buggy window detachment
2024-02-28 20:36:22 +01:00
WerWolv
f7b431902d
fix: Make sure glfw waits properly on Wayland
2024-02-28 20:16:15 +01:00
WerWolv
686d47a59e
fix: Frame limiting not working correctly on Linux
2024-02-28 18:48:01 +01:00
WerWolv
e1795d687f
impr: Implement a better algorithm to determine if the frame content has changed
2024-02-27 18:55:18 +01:00
Nik
ec69849749
feat: Added font picker to the settings ( #1570 )
2024-02-24 22:46:52 +01:00
WerWolv
393bea6d4b
impr: Don't pass unique_ptr by const reference
2024-02-24 15:06:28 +01:00
WerWolv
91dcfefc5c
fix: Crash when recovering from a thrown exception in the main thread
2024-02-23 17:48:23 +01:00
WerWolv
adc51d3773
fix: Crash when restarting ImHex more than once
2024-02-19 22:06:46 +01:00
WerWolv
01c934f53a
impr: Rework setting change listeners
2024-02-18 11:29:18 +01:00
WerWolv
ed292a1e7a
impr: Implement basic exception catching in main thread
2024-02-18 02:12:57 +01:00
WerWolv
5cfcca0bc4
feat: Allow switching off borderless window mode
2024-02-11 14:12:14 +01:00
WerWolv
daf4e5cad6
refactor: More cleanup of the main file
2024-02-11 13:46:06 +01:00
WerWolv
5d405b4d10
build: Updated GLFW and OpenGL3 ImGui Backends
2024-02-11 11:44:44 +01:00
Nik
bcbcb1f23c
impr: Various web build improvements, API cleanup ( #1541 )
2024-02-10 23:31:05 +01:00
WerWolv
4b20e35fd2
fix: macOS window missing decoration after restart
2024-02-10 10:17:15 +01:00
WerWolv
a5f6756659
impr: Hide window immediately after render loop finishes
2024-02-09 19:42:47 +01:00
WerWolv
4093fadcae
fix: Revert Windows title bar changes since window wasn't draggable anymore
2024-02-04 14:59:33 +01:00
WerWolv
a6f4d0cdec
impr: Unfocus ImGui windows when main window loses focus
2024-02-03 23:56:08 +01:00
WerWolv
fe3facfc95
impr: Implement borderless window mode for macOS
2024-02-03 22:39:31 +01:00
WerWolv
3555fc01c5
impr: Allow closing menus by clicking on title bar on Windows
2024-02-03 20:19:45 +01:00
WerWolv
baaf84298c
impr: Disable console color output in web version
2024-02-01 12:09:43 +01:00
WerWolv
7709f4e307
feat: Allow setting language through the command line
2024-02-01 10:58:45 +01:00
WerWolv
f4d1049be4
fix: More build errors
2024-01-30 16:32:48 +01:00
WerWolv
d584edf546
impr: Improve situation where ImHex crashes on exit when resources aren't cleared properly
2024-01-30 11:21:34 +01:00
WerWolv
0cba735eb3
impr: Discard wayland platform errors
2024-01-30 00:47:02 +01:00
WerWolv
2e74a78f46
build: Improve unity builds
2024-01-29 21:18:32 +01:00
WerWolv
cecb8b8d31
fix: Linking issues and menu bar not appearing sometimes
2024-01-29 15:44:18 +01:00
Nik
339541a56f
impr: Restructure various components much better ( #1520 )
2024-01-28 22:14:59 +01:00
iTrooz
a4d6932ed8
fix: remove TODO + show error message when reading/write in process provider ( #1516 )
2024-01-26 18:44:52 +00:00
WerWolv
b2121b25c1
fix: Set windows drop handler effect to copy
2024-01-26 00:08:15 +01:00
WerWolv
a08afcf11a
impr: Add fallback file drop handler to Windows
2024-01-25 23:53:41 +01:00
iTrooz
e61ee528ff
fix: Fix theme detection on Linux ( #1512 )
2024-01-25 19:46:12 +00:00
WerWolv
b605c463a1
impr: Further improve interfacing with external plugins
2024-01-22 23:35:00 +01:00
WerWolv
1af3bf5da7
fix: Crash on exit
2024-01-21 21:39:55 +01:00
Nik
58603ed12a
impr: Better experience when first starting ImHex ( #1510 )
2024-01-21 18:39:51 +01:00
Nik
d005b5d2d9
feat: Allow toolbar icons to be modified ( #1509 )
2024-01-21 18:39:32 +01:00
WerWolv
566147dfae
fix: Popups not always appearing when starting ImHex
2024-01-21 14:22:08 +01:00
WerWolv
3e5967c5a7
fix: Dropping files onto ImHex opening them twice
2024-01-20 21:03:46 +01:00
WerWolv
82a3017629
feat: Added always on top and fullscreen mode toggle
2024-01-15 20:52:08 +01:00
WerWolv
ea7483f9a7
impr: Get rid of the concept of built-in plugins
...
#1489
2024-01-12 23:03:13 +01:00
WerWolv
3449525ead
feat: Added drag-n-drop overlay for windows
2024-01-10 23:46:50 +01:00
WerWolv
6611c865f7
fix: Missing <codecvt> include
...
Thanks to pxd
2024-01-10 19:48:26 +01:00
WerWolv
b408baf254
impr: Make window management tools work better
2024-01-09 17:24:27 +01:00
WerWolv
179a65ed8b
fix: Crash on exit
2024-01-09 11:49:49 +01:00
WerWolv
874bac7de2
impr: Include thread name in log
2024-01-09 10:39:06 +01:00
WerWolv
a35530f63b
fix: Menu bar being hidden by default in the web version
2024-01-08 23:41:28 +01:00
WerWolv
bfafc692db
impr: Added icons to all menu items
2024-01-08 21:51:48 +01:00
WerWolv
9530100455
fix: Texture interpreting raw data as structured images
2024-01-08 09:39:01 +01:00
WerWolv
409b3ccd6c
fix: Popups not appearing at launch sometimes and crashes when exiting
2024-01-06 17:38:55 +01:00
WerWolv
ff48d37598
build: Make SDK not try to link to unbundled libraries
2024-01-04 00:37:56 +01:00
WerWolv
62093a8dd8
fix: ImHex not always going to sleep correctly
2024-01-02 17:11:52 +01:00
WerWolv
b22d90f9ca
impr: Handle hiding of main menu better
2023-12-31 11:39:06 +01:00
WerWolv
b76e7ff678
impr: Remove duplicate window name from macOS title bar
2023-12-30 23:52:25 +01:00
WerWolv
4cbd84671c
impr: Allow num keys to be interpreted as function keys if numlock isn't set
...
Closes #1475
2023-12-29 11:29:31 +01:00
WerWolv
99ba47a554
impr: Even less laggy UI
2023-12-27 21:23:54 +01:00
WerWolv
0462dab170
impr: Make the UI a bit less laggy
2023-12-27 21:11:40 +01:00
WerWolv
cb35f456ed
build: Fix building on clang
2023-12-27 17:42:44 +01:00
WerWolv
3c6f52f5ea
impr: Harden achievement progress store function
2023-12-27 16:57:44 +01:00
WerWolv
74b5c93caf
impr: Code style improvements
2023-12-27 16:33:49 +01:00
WerWolv
e414c1cf1e
impr: Implement rendering power saving using hashes
2023-12-27 13:54:00 +01:00
WerWolv
96fe608d60
impr: Switch most usages of modals over to toasts
2023-12-26 00:22:47 +01:00
Nik
61bfe10bc2
refactor: Rework features that use external libraries into optional plugins ( #1470 )
2023-12-23 21:09:41 +01:00
Nik
84bfd10416
build: Restructured entire custom plugin system ( #1469 )
2023-12-22 23:39:38 +01:00
WerWolv
6ee1e72021
impr: Disable close provider button when tasks are running
2023-12-21 16:56:12 +01:00
WerWolv
6163f6c4a0
fix: ImHex crashing when no fonts were loaded
2023-12-20 16:31:31 +01:00
WerWolv
e951359a46
feat: Add frame time graph to FPS display
2023-12-20 13:42:42 +01:00
WerWolv
bf6b2db0cb
fix: Infinite loop on crash
2023-12-20 13:38:13 +01:00
WerWolv
1ea8269dec
impr: Better frame unlock logic
2023-12-20 12:07:22 +01:00
WerWolv
9bd1970371
fix: Debug breakpoint in crash handler not being triggered at all
2023-12-20 10:50:58 +01:00
WerWolv
2b5789631f
feat: Added basic toast popups
2023-12-19 23:21:20 +01:00
WerWolv
c7ab4a4569
refactor: Get rid of this->m_
2023-12-19 13:10:25 +01:00
WerWolv
dd4be3b772
refactor: Make sure unlocalized strings are always actually unlocalized
2023-12-19 12:22:28 +01:00
WerWolv
2948e57242
fix: std::views::enumerate not being widely supported yet
2023-12-18 12:43:16 +01:00
WerWolv
1b43270ae9
fix: Don't show provider as Read Only if it's empty
2023-12-18 11:58:19 +01:00
WerWolv
d798713c60
fix: Missing includes, rename init function
2023-12-18 11:24:40 +01:00
WerWolv
c1abbfad7d
impr: Make sure welcome screen stays at the back
2023-12-18 10:14:07 +01:00