Commit graph

4617 commits

Author SHA1 Message Date
Soreepeong
e7c7cdaa29 Update docs and exposed API 2024-01-03 23:37:00 +09:00
Soreepeong
7eb4bf8ab4 Add some more examples to doc comments 2024-01-03 23:37:00 +09:00
Soreepeong
47902f9770 Guarantee rounding advanceX/kerning pair distances 2024-01-03 23:37:00 +09:00
Soreepeong
aa3b991932 Minor fix 2024-01-03 23:37:00 +09:00
Soreepeong
e86c5458a2 Remove font gamma configuration 2024-01-03 23:37:00 +09:00
Soreepeong
701d006db8 Fix AddDalamudDefaultFont on not using lodestone symbol fonts file 2024-01-03 23:37:00 +09:00
Soreepeong
f8e6df1172 Add font build status display to Settings window 2024-01-03 23:36:59 +09:00
Soreepeong
8bdab4d2c8 Implement DalamudFontAtlas 2024-01-03 23:36:08 +09:00
KazWolfe
01cde50a46
chore: Suppress expected load errors (#1593)
- Add new `PluginPreconditionFailedException` to track cases where a plugin could not be loaded due to a precondition not being met.
  - Make `BannedPluginException` inherit from this
- Make `PluginPreconditionFailedException`s show as warnings in the log.
2024-01-01 16:11:09 +01:00
marzent
69096c440a
Allow plugins to load Dalamud dependency assemblies (#1580) 2023-12-31 16:20:00 -08:00
MidoriKami
02b1f6e426
[AddonEventManager] Actually Ensure Thread Safety (#1589)
* Actually make AddonEventManager thread safe

* Ensure AddonEventHandlers are also thread safe

Additionally, use Guid instead of strings

* Make DalamudInternalKey readonly

* Properly use ConcurrentDict features

Fixes GUID not working
2023-12-31 14:30:21 -08:00
bleatbot
a6b802b577
Update ClientStructs (#1586)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-12-24 14:05:13 -08:00
marzent
c17897c6fb
Mark DalamudIme as BlockingEarlyLoadedService (#1579) 2023-12-23 11:27:24 +01:00
KazWolfe
b558752558
chore: Consolidate on ImGuiColors (#1585)
Uses ImGuiColors over KnownColor in most places so that themes override things properly.
2023-12-23 11:25:08 +01:00
srkizer
c0bb3aebc2
Fix crashes from Ctrl+Z when having IME activated (#1587) 2023-12-23 11:24:41 +01:00
MidoriKami
e015da0447
Improve Dalamud ConsoleWindow plugin search (#1582)
* Improve Dalamud ConsoleWindow plugin search

* Improve Dalamud ConsoleWindow plugin search

* Add `no results` message to plugin filter
2023-12-21 18:10:44 -08:00
srkizer
6eb8153a99
Add missing EmptyClipboard (#1584)
* Add missing EmptyClipboard

* Fix missing GlobalUnlock
2023-12-21 17:56:01 -08:00
bleatbot
9ca2d34f95
Update ClientStructs (#1577)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-12-19 00:07:45 -08:00
goat
b16ba879b1
Merge pull request #1564 from Soreepeong/fix/ime 2023-12-17 15:11:47 +01:00
Soreepeong
6fefc3bee0 Safer unload 2023-12-17 15:21:45 +09:00
Soreepeong
0afb3d2c8a Better WndProc handling 2023-12-17 13:59:47 +09:00
Soreepeong
4be635be67 Remove ClearState log 2023-12-17 12:41:44 +09:00
Soreepeong
b910ebc014 Auto-enable fonts depending on the character input 2023-12-17 11:59:11 +09:00
Soreepeong
806ecc0faf Use RenderChar instead of AddText 2023-12-17 11:59:11 +09:00
Soreepeong
2c3139d8b7 Ensure borders on IME mode foreground icon 2023-12-17 11:59:11 +09:00
Soreepeong
01b45c98ac w 2023-12-17 11:59:11 +09:00
Soreepeong
f03552a2ab Prevent Tab key from breaking input 2023-12-17 11:59:11 +09:00
Soreepeong
e089949a72 fix minor things 2023-12-17 11:59:11 +09:00
Soreepeong
b6d88f798a Make CJK imes work better 2023-12-17 11:59:11 +09:00
goat
280a9d6b05
build: 9.0.0.14 2023-12-16 21:05:49 +01:00
srkizer
5998fc687f
Fix DataShare race condition, and add debug features (#1573) 2023-12-16 21:05:13 +01:00
MidoriKami
df1cdff1a5
AddonEventManager fix thread safety (#1576)
Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2023-12-16 21:01:40 +01:00
bleatbot
fb864dd56d
Update ClientStructs (#1565)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-12-15 17:15:24 +00:00
MidoriKami
5a5cc5701a
Hotfix for AddonArgs infinite loop (#1571) 2023-12-10 04:30:58 +00:00
srkizer
4d0cce134f
Fix AddonLifecycle ABI; deprecate arg class public ctors (#1570) 2023-12-09 19:35:40 -08:00
goat
3611785357
Merge pull request #1567 from Soreepeong/fix/imgui-clipboard
Fix ImGui clipboard copy/paste normalization
2023-12-09 18:59:39 +01:00
Soreepeong
06938509e7 Just use win32 APIs 2023-12-09 15:25:50 +09:00
Haselnussbomber
8f243762cc
ChatGui: fix for new message sounds and interactable links (#1568)
* Change PrintMessage parameters type to byte

* Use Utf8String.AsSpan

* Fix InteractableLinkClickedDetour using the wrong variable
2023-12-08 16:23:04 -08:00
Soreepeong
f6d16d5624 Do operations that may throw first 2023-12-09 02:04:04 +09:00
Soreepeong
6b65ee9940 Extract functions to ImVectorWrapper 2023-12-09 01:40:54 +09:00
Soreepeong
ca321e59e4 Make logic clearer 2023-12-09 00:15:13 +09:00
Soreepeong
3d51f88a33 fix 2023-12-09 00:03:10 +09:00
Soreepeong
ddee969d88 Rename service 2023-12-09 00:00:28 +09:00
Soreepeong
a0b7f53b01 Remove finalizer; cannot be finalized due to the use of GCHandle 2023-12-08 23:45:07 +09:00
Soreepeong
683464ed2d Fix normalization buffer offsetting 2023-12-08 23:42:11 +09:00
Soreepeong
2521658a98 Better cleanup logic 2023-12-08 23:33:35 +09:00
Soreepeong
8967174cd9 Reimplement clipboard text normalizer to use the correct buffers 2023-12-08 23:28:12 +09:00
Soreepeong
0c3ebd4b5b Fix missing length modification in ImVectorWrapper.Insert 2023-12-08 23:20:25 +09:00
Soreepeong
b89df8b130 Prevent end comment aligning (Resharper/SA conflict) 2023-12-08 23:20:05 +09:00
srkizer
0bfcc55774
Reduce heap allocation every frame in AddonLifecycle (#1555) 2023-12-08 00:49:09 +01:00