Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-15 | reduce performance impact of deprecation warnings | Jesse Plamondon-Willard | |
Creating a stack is *very* slow, so it should be avoided if possible until after the duplicate-warning check. | |||
2022-05-11 | replace event.HasListeners() with property | Jesse Plamondon-Willard | |
2022-05-11 | move filtering only used in one place out of managed event | Jesse Plamondon-Willard | |
2022-05-11 | optimize raising events for the most common cases | Jesse Plamondon-Willard | |
2022-05-10 | remove unused IsPerformanceCritical event field | Jesse Plamondon-Willard | |
2022-04-13 | enable nullable annotations in SMAPI where no logic changes are needed (#837) | Jesse Plamondon-Willard | |
2022-04-06 | enable nullable annotations by default (#837) | Jesse Plamondon-Willard | |
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally. | |||
2022-04-06 | use target-typed new | Jesse Plamondon-Willard | |
2022-03-23 | add initial AssetRequested content event (#766) | Jesse Plamondon-Willard | |
2022-03-22 | reduce duplicated doc blocks | Jesse Plamondon-Willard | |
2022-02-11 | use Array.Empty to avoid unneeded array allocations | Jesse Plamondon-Willard | |
2021-07-30 | migrate to the new Harmony patch pattern used in my mods | Jesse Plamondon-Willard | |
That improves validation and error-handling. | |||
2021-01-06 | remove experimental performance counters | Jesse Plamondon-Willard | |
Unfortunately this impacted SMAPI's memory usage and the data was often misinterpreted by players. | |||
2020-08-09 | fix error when mods add/remove events asynchronously | Jesse Plamondon-Willard | |
2020-07-21 | fix error when a mod adds/remove an event handler while handling the event | Jesse Plamondon-Willard | |
2020-06-16 | improve new event code | Jesse Plamondon-Willard | |
This commit... * debounces the has-custom-priorities check; * fixes collection-modified-during-enumeration errors if an event handler is added or removed while the event is being raised; * fixes Remove(handler) removing all instances of the handler instead of the last one. | |||
2020-06-15 | merge inconsistent event raise methods | Jesse Plamondon-Willard | |
2020-06-15 | refactor & optimize event code a bit, drop old support for unknown event ↵ | Jesse Plamondon-Willard | |
handlers | |||
2020-06-15 | Implemented event priority attribute | Chase W | |
2020-01-26 | tweak namespace | Jesse Plamondon-Willard | |
2020-01-26 | refactor performance counter code | Jesse Plamondon-Willard | |
This commit performs some general refactoring, including... - avoid manually duplicating the event list; - rework the 'is important' event flag; - remove the new packages (Cyotek.Collections can be replaced with built-in types, and System.ValueTuple won't work in the Mono version used on Linux/Mac); - improve performance; - minor cleanup. | |||
2020-01-15 | Added documentation for all commands. Renamed the "monitor" command to ↵ | Drachenkaetzchen | |
"trigger". Method name refactoring to be more consistent. | |||
2020-01-11 | Reworked the console implementation, added monitoring. Some internal ↵ | Drachenkaetzchen | |
refactoring. | |||
2020-01-10 | Moved most PerformanceCounter logic out of SCore into the new ↵ | Drachenkaetzchen | |
PerformanceCounterManager, some namespace refactoring | |||
2020-01-10 | Initial commit of the performance counters | Drachenkaetzchen | |
2019-09-14 | remove deprecated APIs (#606) | Jesse Plamondon-Willard | |
2018-12-27 | tweak comment header convention | Jesse Plamondon-Willard | |
2018-12-25 | minor performance optimisation | Jesse Plamondon-Willard | |
2018-11-03 | add APIs to send/receive messages in multiplayer (#480) | Jesse Plamondon-Willard | |
2018-05-31 | move location events into new event system (#310) | Jesse Plamondon-Willard | |
2018-02-23 | overhaul events to track the mod which added each handler, and log errors ↵ | Jesse Plamondon-Willard | |
under their name (#451) |