Commit graph

4830 commits

Author SHA1 Message Date
KazWolfe
de6dcb8b53
Add some small map helpers (#1756)
* feat: Add new `.GetMapCoordinates` extension method

- Used to easily resolve player-friendly map coordinates for any GameObject.

* feat: Add MapID to ClientState

- Provides easy access to the player's current map ID
2024-04-10 00:49:37 +02:00
srkizer
99d5e44c23
Sanitize IME strings to UCS-2 (#1758)
Our ImGui has ImWChar defined as ushort, and it does not support UCS-2.
ImGui would filter the input characters to UCS-2 range, but our IME
implementation would forcefully set the buffer for the text input. This
filters all candidate and composition strings to fit in UCS-2 range,
notifying the user that some candidates are not properly supported.
2024-04-10 00:48:40 +02:00
Infi
c8f65e24f0
Replace U+202F with Indent payload (#1761)
* Replace U+202F with Indent payload

* comment

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-04-09 22:33:19 +00:00
Infi
84abd23ad5
Expose manifest to plugins (#1762)
* expose manifest to plugins

* comment

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-04-09 22:27:59 +00:00
goat
9c75a9a23e
Merge pull request #1581 from Soreepeong/more-earlyloadedservices
Use EarlyLoadedService for anything that is not mandatory for kicking off plugin loader
2024-04-09 23:59:25 +02:00
bleatbot
0d365bb250
[master] Update ClientStructs (#1755)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-04-09 23:49:31 +02:00
MidoriKami
11f7ecea1f
Add proper name for BoundToDuty97 (#1760) 2024-04-09 23:45:29 +02:00
Haselnussbomber
5275d62dd5
Prevent automatic plugin updates during Duties (#1759) 2024-04-09 23:45:06 +02:00
Soreepeong
9eb4584896 Fix ServicesWidget layout 2024-04-07 21:59:47 +09:00
Soreepeong
be9216bbc5 Make ChatGui lazy dependency of PM 2024-04-07 21:57:13 +09:00
Soreepeong
7f5ef03917 Use EarlyLoadedService for anything that is not mandatory for kicking off plugin loader 2024-04-07 21:53:23 +09:00
goat
532781308d remove april fools 24 code 2024-04-03 22:53:55 +02:00
goat
d6cd410d70
build: 9.1.0.5 2024-04-02 18:26:59 +02:00
bleatbot
decdf8ef29
Update ClientStructs (#1754)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-04-02 07:38:33 -07:00
goat
935c40701c pi: reset open collapsibles if search results change 2024-04-01 19:45:09 +02:00
goat
09973fa98b only build Dalamud.LocExporter for x64
fixes warnings when linking to Dalamud
2024-04-01 19:44:49 +02:00
goat
f1c1896c82
build: 9.1.0.4 2024-03-30 13:19:46 +01:00
goaaats
0bedad240e fix name of Discord server in feedback modal 2024-03-30 03:37:23 +01:00
srkizer
05c943df69
Add FluentGlyphRangeBuilder and AttachWindowsDefaultFont (#1745)
`FluentGlyphRangeBuilder` can build glyph ranges without having to
allocate native ImGui objects, and supports adding `ReadOnlySpan` and
`IEnumerable` of `char`s and `byte`s, `UnicodeRange`s, and known glyph
ranges for select cultures (CJK for now.)

Added `IFontAtlasBuildToolkitPreBuild.AttachWindowsDefaultFont` which
has a predefined list of default Windows fonts per language.
2024-03-29 23:06:10 +01:00
goaaats
2ea89e216a April Fools 2024 2024-03-29 16:00:42 +01:00
goaaats
7d77f84fdb add LocExporter tool for CI 2024-03-29 01:55:43 +01:00
FatChocobo
34ce948bc6
Fix loc export (#1752) 2024-03-28 17:43:33 +00:00
goaaats
70e0eef5ce normalize command names for profile management 2024-03-28 14:09:24 +01:00
goaaats
a46d0bc2c3 bump default notification duration to 7 seconds 2024-03-28 13:51:25 +01:00
goaaats
0dbc76f96f pi: some more manifest validation 2024-03-28 00:14:51 +01:00
goaaats
68e0ef0b5d pi: add validations for manifest tags, description 2024-03-27 23:50:05 +01:00
goaaats
c80c561c55 expose UiBuilder.ShouldUseReducedMotion 2024-03-27 22:33:30 +01:00
goaaats
b2df6e2a2b pi: allow "dismissing" validation problems 2024-03-27 21:10:21 +01:00
goaaats
4a6faed2e2 pi: slightly improve validation messages 2024-03-27 20:58:43 +01:00
goaaats
614ea211a0 pi: add validator for DevPlugins, with basic warnings about callbacks and commands 2024-03-27 19:35:29 +01:00
goat
ba24b574d1
build: 9.1.0.3 2024-03-27 18:09:07 +01:00
srkizer
a53a77541d
Fix ime (#1750) 2024-03-27 18:08:34 +01:00
bleatbot
b9ae368401
Update ClientStructs (#1705)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-03-26 00:38:07 +00:00
goat
93c4c607b8
build: 9.1.0.2 2024-03-25 16:36:34 +01:00
KazWolfe
d36106fa30
feat: Add HelpMarker with custom icon (#1588) 2024-03-25 12:22:44 +01:00
srkizer
eb5fa24101
Use CultureInfo.GetCultureInfo for DateTimeSpanExtensions.LocAbsolute instead (#1742)
* MMmm

* Use regional culture infos instead
2024-03-25 12:07:41 +01:00
Asriel Camora
6027aaab77
Add ImPlot to ImRaii (#1741) 2024-03-25 12:07:09 +01:00
KazWolfe
9bd80ee39f
Change Chinese Language Localization Names (#1749)
* locale name standardize

* change ko back to English

* cn -> zh

* Change Chinese localization mapping

- Maps tw to zh-hant, and zh to zh-hans
- Removes explicit override for tw langcode in UI
- Makes all languages use Windows-provided name and capitalization
- Add note to ko to prevent accidental helpful PRs

---------

Co-authored-by: wozaiha <wozaiha@gmail.com>
2024-03-25 12:04:49 +01:00
nebel
3c471575af
Clear context menu callbacks when opening AddonContextMenuTitle (#1743) 2024-03-23 17:47:32 +01:00
goaaats
b3db0e78b3 pm: reign in overeager profile cleanup on install
...and remove Profile::RemoveByInternalNameAsync() because it's a footgun
2024-03-23 15:48:54 +01:00
goaaats
ba1c8cba45 console: fatal => red 2024-03-23 15:14:46 +01:00
goaaats
f1920005e5 change docs link in readme 2024-03-22 21:42:27 +01:00
goaaats
35c67650f0 remove api docs primer; now on dalamud.dev 2024-03-22 21:40:38 +01:00
goaaats
bd85a7f014 docs: remove from this repo, add redirect 2024-03-22 21:35:37 +01:00
srkizer
55bd845a63
Add IconTexture/Wrap to INotification (#1738) (#1739)
* Add IconTexture/Wrap to INotification (#1738)

Notification record and IActiveNotification interface now supports
setting or updating the texture wraps being used, and SetIconTexture has
gotten more overloads to support leaveOpen mechanism that can commonly
be found with Stream wrappers.

ImGui widget is updated to support testing setting "leaveOpen" and
updating "IconTexture" property via setter, making it possible to check
whether IDTW.Dispose is being called under given conditions.

Some changes to doccomments are made.

* typo
2024-03-22 14:47:50 +01:00
goaaats
12d70f0749 build: 9.1.0.1 2024-03-21 00:19:18 +01:00
goat
5270cddf6d
Merge pull request #1736 from Soreepeong/fix/notification-imgui-ini
Prevent notification from being saved into ui.ini
2024-03-21 00:19:04 +01:00
goaaats
3b0d4a6068 remove lazy debug msgbox 2024-03-21 00:14:22 +01:00
goaaats
0bfb1d5b50 datamanager: don't assume bad integrity status if there isn't one 2024-03-21 00:12:16 +01:00
Soreepeong
ff7dd2d0c3 Prevent notification from being saved into ui.ini 2024-03-21 07:41:25 +09:00