Commit Graph

1005 Commits

Author SHA1 Message Date
WerWolv e18275c1c0 fix: Division by zero when setting page size to 0 2023-11-08 11:14:56 +01:00
WerWolv ef320b74b0 impr: Handle showing popups when closing unsaved providers better 2023-11-07 15:31:54 +01:00
WerWolv 924b4a9436 impr: Replace various fixed-size boxes with dynamic ones 2023-11-07 00:46:44 +01:00
WerWolv f49b5efac4 fix: UI issues in the data information view 2023-11-07 00:46:17 +01:00
WerWolv 8581ab9eb3 feat: Added simple data access graph to pattern editor 2023-11-06 15:15:35 +01:00
WerWolv 7efe9acefb fix: Warnings about missing theme/style handlers being printed on launch 2023-11-06 15:15:18 +01:00
WerWolv 713ce86e24 build: Updated libwolv 2023-11-05 21:17:44 +01:00
WerWolv 4e4cdcdf61 feat: Added release notes and commits to about page 2023-11-05 19:57:29 +01:00
WerWolv 0388bbdc6d build: Updated libwolv 2023-11-05 18:44:18 +01:00
WerWolv 30d47fd51b build: Updated libwolv 2023-11-05 18:39:48 +01:00
WerWolv 3b2cf5b851 build: Updated libromfs 2023-11-05 01:03:19 +01:00
WerWolv c9a728c318 fix: Rare crash when monitor connection status changes 2023-11-05 00:04:32 +01:00
WerWolv e7eaa2b194 build: Updated libwolv 2023-11-04 23:35:34 +01:00
WerWolv 45fb046a9a impr: Make events thread safe 2023-11-04 23:16:38 +01:00
WerWolv c7c01c1f24 build: Removed old jthread search 2023-11-02 20:48:34 +01:00
WerWolv 615596dfe9 fix: Standard jthread detection 2023-11-02 20:41:47 +01:00
WerWolv 407ec1ceb6 build: Use custom jthread implementation if standard one is not available 2023-11-02 20:21:38 +01:00
WerWolv eefdbe7ef1 patterns: Updated pattern language 2023-11-02 09:37:14 +01:00
WerWolv 4e6af607e8 fix: Crash when clicking on the welcome screen 2023-11-02 08:54:02 +01:00
WerWolv 363b07fc0c impr: Switch to custom std::expected implementation 2023-11-02 08:53:46 +01:00
WerWolv a719627be6 build: Updated dependencies 2023-11-01 11:07:11 +01:00
WerWolv a92aa58be8 build: Updated libromfs 2023-10-31 21:59:22 +01:00
WerWolv 9617212ef1 impr: Allow visualizers to have optional parameters 2023-10-31 10:56:20 +01:00
WerWolv c37c53369b impr: Dock newly opened windows by default 2023-10-30 21:53:44 +01:00
WerWolv 94ad6e6072 fix: Crash on exit 2023-10-30 16:39:57 +01:00
WerWolv b2774bf472 build: Updated libromfs 2023-10-30 13:28:07 +01:00
WerWolv 44ce81211e build: Updated libromfs 2023-10-29 21:05:11 +01:00
WerWolv c444ad9280 impr: Bundle default magic file with application 2023-10-29 19:43:45 +01:00
WerWolv a0178ebab9 fix: File picker not handling supported extensions correctly
Fixes #1367
2023-10-26 17:28:36 +02:00
iTrooz 4f2d14e220
fix: fix forwarding multiple arguments to subcommands (#1388) 2023-10-24 07:59:23 +00:00
Nik 58189e5403
impr: Allow console output to work when debugging (#1382) 2023-10-22 21:39:14 +00:00
WerWolv cb2aee0ed7 fix: Various TCP tool issues 2023-10-22 21:52:55 +02:00
WerWolv 73d7cc7c12 patterns: Updated pattern language 2023-10-22 21:22:50 +02:00
WerWolv c3825fff65 fix: Actually fix dropdown default values 2023-10-22 17:51:00 +02:00
WerWolv c51db87c34 fix: Language setting not defaulting to English anymore 2023-10-22 17:31:53 +02:00
Nik 7fe9a768d4
impr: Rewrote entire settings API and UI (#1378) 2023-10-21 21:07:33 +00:00
Nik f114239f51
feat: Added Auto Updater for Windows, macOS and Ubuntu (#1377) 2023-10-21 18:40:24 +00:00
WerWolv c46e445a04 impr: Store achievement progress immediately when unlocking one 2023-10-20 13:34:45 +02:00
WerWolv d91334abcd patterns: Updated pattern language 2023-10-20 12:39:34 +02:00
WerWolv 5227887dbf impr: Added more fine-grained colors to themes 2023-10-20 12:30:21 +02:00
WerWolv c9cd7ad4a6 fix: Data processor recursion detector triggering too soon 2023-10-19 23:34:05 +02:00
WerWolv da1b53420f feat: Added debug variables to aid with development 2023-10-13 23:46:48 +02:00
WerWolv afa149f2db patterns: Updated pattern language
Fixes #1361
2023-10-11 22:20:25 +02:00
lomekragow 7fc2ff3002
fix: Event unsubscribe not working correcetly when using same key for multiple events (#1309)
<!--
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
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->

Fixed possible bug of  `EventManager::unsubscribe`

`std::map` only allows unique key, but the same token can subscribe to
multiple events.

1a2a926b77/lib/libimhex/include/hex/api/event.hpp (L104-L107)

If the previous token has already subscribed to an event, then when
subscribing again, `getTokenStore().insert` will not do anything
(Because its type is `std::map`)


1a2a926b77/lib/libimhex/include/hex/api/event.hpp (L122-L134)

At this point in `unsubscribe`, the `iter` may not be able to find the
correct event and erase it



### Implementation description
<!-- Explain what you did to correct the problem -->

Change `tokenStore` to `std::multimap` instead of `std::map`, which
cannot unsubscribe multiple events correctly

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->

### Additional things
<!-- Anything else you would like to say -->
2023-10-07 23:35:35 +02:00
WerWolv 23e1c714d6 patterns: Updated pattern language 2023-10-06 19:31:48 +02:00
WerWolv e57c9ff4f6 build: Updated libwolv 2023-10-04 16:13:40 +02:00
WerWolv ed8c0794bb fix: Querying default folder paths not working right on the web 2023-10-04 16:10:14 +02:00
WerWolv a06752b349 build: Updated libwolv 2023-10-04 13:41:21 +02:00
iTrooz d15bd4771d
feat: Support for building ImHex for the web (#1328)
Co-authored-by: WerWolv <werwolv98@gmail.com>
Co-authored-by: AnnsAnn <git@annsann.eu>
2023-10-04 12:00:32 +02:00
WerWolv a62ede7840 fix: Properly fix possibility of no provider being selected when closing one 2023-10-01 20:56:25 +02:00