Commit Graph
25 Commits
Author SHA1 Message Date
PJB3005 a1a03d9fa1 Allow specifying tooltip in cmdlink tag 2026-06-19 22:50:15 +02:00
83c2a1be11 [Dependency] source generator part 2 (#6550)
* [Dependency] source generator

No more reflection, no more codegen at runtime

Also various changes to Roslyn helpers to make this easier to write.

Requires all types with dependencies to be partial and not have readonly dependency fields. An analyzer enforces this at warning level, the previous injection strategies have remained in the code *for now* as a fallback.

No fallback is available for [field: Dependency] properties, due to a Roslyn bug.

Code Fixes exist. We love Roslyn

* Apply dependencies generator changes to all code

* Release notes

* Preprocessor got hands

* Handle nullable dependencies

These are bad but gotta deal with it.

* Apply suggestions from code review

Co-authored-by: Moony <moony@hellomouse.net>

* Fine, let's not use collection expressions

---------

Co-authored-by: Moony <moony@hellomouse.net>
2026-05-08 12:38:33 +02:00
Leon FriedrichandGitHub 80cad0cd8f Add public control sawmill to UI Manager (#6231)
* Add public control sawmill

* Remove static IoCManager in MarkupTagManager

* very important comment

* release notes

* fix merge

* fix
2025-11-13 21:33:50 +11:00
PJB3005 ab775af7cd Added FontTagHijackHolder to replace fonts resolved by FontTag.
Existing font prototype system is extremely half-baked and unusable. This allows bypassing it entirely for upcoming content changes.
2025-10-26 20:40:39 +01:00
Leon FriedrichandGitHub a393efc87a Modify markup tag interfaces and fix some bugs (#5442)
* Modify markup tag interfaces

* Why are nullable structs like this.

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* Avoid breaking changes

* Replace IMarkupTag with IMarkupTagHandler in engine

* Its a breaking change now I guess

* cleanup
2025-05-12 14:09:18 +10:00
TayrtahnandGitHub ccc383b1bf Cleanup: Remove redundant Prototype names (#5721)
* Cleanup: Remove redundant Prototype names

* Actually this one probably should stay

* Suppress warning

* Remove warning suppression on AudioMetadataPrototype

* But wait, there's more!
2025-03-26 01:39:10 +01:00
DrSmugleafandGitHub 68888c4370 Make remaining IPrototypes partial (#5053) 2024-04-21 07:39:54 +10:00
metalgearslothandGitHub 170d192791 Revert audio rework (#4554) 2023-11-07 09:34:09 +11:00
metalgearslothandGitHub d75dbc901f Audio rework (#4421) 2023-10-29 14:58:19 +11:00
DrSmugleafandGitHub 66239d23ea Refactor serialization copying to use source generators (#4286) 2023-08-22 17:37:13 -07:00
/ʊniɹɑː/andGitHub d898b52449 more richtext (#4187) 2023-08-13 09:34:44 +10:00
Julian GiebelandGitHub f5b8c8813f Cange richtext tags to be overridable by content (#4141) 2023-06-18 03:20:43 +10:00
Julian GiebelandGitHub add8771d1f Fix richtext inline controll scaling (#4121) 2023-06-09 10:19:42 +10:00
metalgearslothandGitHub 8a6cadd38f Revert "Revert "Replace ResourcePath with ResPath (#3926)" (#3949)" (#3950) 2023-04-20 20:15:57 +10:00
metalgearslothandGitHub d646403068 Revert "Replace ResourcePath with ResPath (#3926)" (#3949) 2023-04-20 11:43:51 +10:00
Ygg01andGitHub d6a3e1e286 Replace ResourcePath with ResPath (#3926) 2023-04-19 23:37:46 +10:00
juliangiebel 5d5348abca Implement font prototype 2023-02-15 20:02:01 +01:00
juliangiebel dd3c96b81c Fix exception when markup draw context font stack is empty
Implement font tag
Implement italic tag
2023-01-31 11:46:30 +01:00
juliangiebel 1bd1409192 I fucked up amending the previous commit lol 2023-01-31 10:54:48 +01:00
juliangiebel 12980a6437 Change b tag name to bold to not clash with OpenDreams eventual html like implementation 2023-01-31 10:53:04 +01:00
juliangiebel 2bfd149fd4 Fix rich text ignoring font context
Implement the b tag for bold text
2023-01-31 00:09:48 +01:00
juliangiebel 67eeb75231 Add doc comments 2023-01-30 20:19:42 +01:00
juliangiebel b1e184bfec Implement inline controls 2023-01-30 19:19:59 +01:00
juliangiebel 893d6a7e94 Fix issues from replacing FormattedMessage
Finish implementing rendering the new FormattedMessage implementation
2023-01-28 21:34:26 +01:00
juliangiebel ae2dfdffcb Implement improved markup parser
Implement MarkupTagManager for getting markup tags
Implement IMarkupTag interface
Implement markup node classes
Prepare switching out FormattedMessage with new implementations
2023-01-28 09:15:35 -05:00