Commit graph

42 commits

Author SHA1 Message Date
Haselnussbomber
a3d930b8e2
Use RentedSeStringBuilder more 2025-12-19 17:34:42 +01:00
Haselnussbomber
9e5723359a
Remove obsolete casts from Lumina.Text.SeString 2025-12-07 15:35:38 +01:00
Kaz Wolfe
2f9363b9cc
chore: clean up lumina obsoletes and warnings 2025-08-04 23:24:37 -07:00
Haselnussbomber
b425ee0a2a
Move ItemKind to Dalamud.Utility (#2324) 2025-07-26 12:51:20 -07:00
Haselnussbomber
fdbfdbb2cd
Add SeStringEvaluator service (#2188)
* Add SeStringEvaluator service

* Move DrawCopyableText into WidgetUtil

* Use Icon2RemapTable in SeStringRenderer

* Beautify some code

* Make sure to use the correct language

* Add SeString Creator widget

* Fix getting local parameters

* Update expressionNames

* misc changes

* Use InvariantCulture in TryResolveSheet

* Add SeStringEvaluatorAgingStep

* Fix item id comparisons

* Add SheetRedirectResolverAgingStep

* Add NounProcessorAgingStep

* Update SeString.CreateItemLink

This also adds the internal ItemUtil class.

* Fix name of SeStringCreator widget

* Add Global Parameters tab to SeStringCreatorWidget

* Load widgets on demand

* Update SeStringCreatorWidget

* Resizable SeStringCreatorWidget panels

* Update GamepadStateAgingStep

* Experimental status was removed in #2144

* Update SheetRedirectResolver, rewrite Noun params

* Fixes for 4 am code

* Remove incorrect column offset

I have no idea how that happened.

* Draw names of linked things

---------

Co-authored-by: Soreepeong <3614868+Soreepeong@users.noreply.github.com>
Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2025-03-24 09:00:27 -07:00
srkizer
d19b7d70d5
Move UtfEnumerator from Dalamud to Lumina (#2111)
* Move UtfEnumerator from Dalamud to Lumina

Comes with some trivial cleanups.

* Update Lumina to 5.5.0
2024-11-20 09:32:49 -08:00
Asriel Camora
0b9af0e3f4
Update to Lumina 5 (new Excel parsing) (#2022)
* Refactor and upgrade to new excel design

* Obsolete ExcelResolver<T> and use only RowRef<T>

* Better benchmarking for Lumina

* Add custom game-supported RSV provider

* Refactor and move Lazy<T> and nullable/cached row objects to RowRefs

* Convert IRSVProvider to delegate, resolve strings by default

* Split IExcelRow into IExcelSubrow

* Extra lumina documentation

* Minor RSV CS fixes

* Fix UIGlowPayload warning

* Fix rebase

* Update to Lumina 5
2024-10-20 19:59:03 -07:00
Haselnussbomber
378ef0a052
Add SeString.Parse(byte*) (#1937) 2024-07-16 18:41:41 +00:00
Haselnussbomber
f7f52ddc77
Respect null terminator in SeString.Parse(ReadOnlySpan<byte>) (#1936) 2024-07-16 18:37:36 +00:00
MidoriKami
7f6bbafbbf
SeString add EncodeWithNullTerminator (#1931) 2024-07-16 20:32:08 +02:00
goat
b212b4e00a Revert "api10 todo: only use ClientLanguage from Dalamud.Common, move ToLumina() extension into Dalamud.Util"
This reverts commit 2e731b1eab.
2024-06-29 01:23:29 +02:00
goat
2e731b1eab api10 todo: only use ClientLanguage from Dalamud.Common, move ToLumina() extension into Dalamud.Util 2024-06-29 00:29:51 +02:00
goat
448b0d16ea
Add "loading dialog" for service init, unify blocking logic (#1779)
* wip

* hacky fix for overlapping event text in profiler

* move IsResumeGameAfterPluginLoad logic to PluginManager

* fix some warnings

* handle exceptions properly

* remove ability to cancel, rename button to "hide" instead

* undo Dalamud.Service refactor for now

* warnings

* add explainer, show which plugins are still loading

* add some text if loading takes more than 3 minutes

* undo wrong CS merge
2024-04-21 17:28:37 +02:00
Ridan Vandenbergh
0656a524b1
Add missing space in cross-world PF links (#1717) 2024-03-16 16:45:19 +01:00
KazWolfe
e538763f20
chore: Fix most 6.51 warnings (#1514) 2023-10-31 21:21:55 +01:00
ditzy
fdbdf26da6
add support for area instance to SeString.CreateMapLink() (#1490)
* add support for area instance to SeString.CreateMapLink()

---------

Co-authored-by: ditzy <ditzy.zy@pm.me>
2023-10-24 04:57:16 +00:00
Haselnussbomber
a6ed6dabe4
refactor: use IEnumerable instead of List in SeString.Append 2023-08-10 02:10:45 +02:00
Haselnussbomber
a78007b05d fix: null check item rarity 2023-08-03 00:35:43 +02:00
Haselnussbomber
d6555007ce fix: adjust TextArrowPayloads based on language 2023-08-01 20:56:11 +02:00
Haselnussbomber
dd845a30f0 fix: correct order of CreateItemLink payloads 2023-08-01 20:40:42 +02:00
Haselnussbomber
08100ef572 fix: add a full item link to SeStringBuilder
This changes the behaviour of `AddItemLink` functions.
Previously it just added an `ItemPayload`.
Now, it adds a full item link, as one would expect.
2023-08-01 19:00:22 +02:00
Haselnussbomber
3f78df23e3 feat: item rarity color in SeString.CreateItemLink 2023-08-01 19:00:17 +02:00
Haselnussbomber
982755c4a2 fix: reset colors in SeString.CreateItemLink 2023-08-01 19:00:12 +02:00
shakdar
d3c44080b5 implemented everything 2023-02-11 04:39:32 -07:00
Infi
d7893115d0
Prevent Territory with ID 0 being returned 2023-01-24 00:16:59 +01:00
goat
987ff8dc8f
chore: convert Dalamud to file-scoped namespaces 2022-10-29 15:23:22 +02:00
goaaats
c232befd83
fix(ItemPayload): thorough clean up, collectibles, eventitems, aging 2022-01-27 01:21:29 +01:00
goat
1561fbac00
Revert "refactor(Dalamud): switch to file-scoped namespaces"
This reverts commit b5f34c3199.
2021-11-18 15:23:40 +01:00
goat
b5f34c3199
refactor(Dalamud): switch to file-scoped namespaces 2021-11-17 19:42:32 +01:00
goat
49345847a5
fix: return empty SeString if ptr == null 2021-08-28 21:27:20 +02:00
goat
fc9ef07005
feat: add explicit conversions for Lumina SeStrings 2021-08-28 20:19:48 +02:00
goat
5efe65a655
fix: explain when null in CreateMapLink doc 2021-08-28 19:21:16 +02:00
goat
c8566fc9b2
refactor: make Lumina=>Dalamud conversion explicit extension method 2021-08-28 19:05:48 +02:00
goat
ca201e1a14
refactor: obsolete SeStringManager, move into SeString 2021-08-28 19:02:18 +02:00
goat
ef60d29ae0
feat: add implicit conversion from Lumina SeString => Dalamud SeString 2021-08-28 18:26:55 +02:00
Raymond
ff1d7f2829 Implement service locator 2021-08-21 14:03:06 -04:00
goaaats
9d9a80e75d
Merge pull request #413 from daemitus/italics 2021-07-16 14:36:45 +02:00
Raymond
5c4ed3f715 XivChatEntry should use SeString 2021-07-15 22:09:33 -04:00
Raymond
57a87296cc Expose MakeItalics as a helper method, add params to SeString ctor 2021-07-15 21:03:14 -04:00
Raymond Lynch
595fd3f1e4 StyleCop: everything else 2021-05-30 07:15:47 -04:00
Anna Clemens
be9847f898
feat: add implicit SeString construction 2021-04-10 17:56:04 -04:00
goat
3decb57b2c refactor: Dalamud.Game.Chat => Dalamud.Game.Text, move Sanitizer 2021-04-04 21:54:24 +02:00
Renamed from Dalamud/Game/Chat/SeStringHandling/SeString.cs (Browse further)