aboutsummaryrefslogtreecommitdiff
path: root/include/command.h
Commit message (Expand)AuthorAgeFilesLines
* Make CommandBase::Params final.Gravatar Sadie Powell2026-05-061-1/+2
* Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-311-1/+1
* Move service types to their own namespace.•••- ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them. Gravatar Sadie Powell2026-03-291-3/+3
* Switch modules from reference<> to shared_ptr<> and weak_ptr<>.Gravatar Sadie Powell2026-03-291-3/+3
* Clean up the casemapping checking and comparison code.Gravatar Sadie Powell2026-03-131-1/+1
* Rework sending server protocol messages.•••- Replace CmdBuilder with MessageBuilder. This has a less footgun API. All message building has to go through this now so we can implement other message formats in the future. - Replace the message parsing in WriteLine with an analogue to PreProcessOldProtocolMessage. This should be much faster. - Move parameter translation from the core to spanningtree. - Change EncodeParameter to return the value instead of updating in place. - Replace the OnBuild*Message events with one OnServerMessage that can now access all parts of the message and change them. Gravatar Sadie Powell2026-03-121-20/+2
* Fix various minor Doxygen issues.Gravatar Sadie Powell2026-03-081-3/+3
* Convert TranslateType to an enum class.Gravatar Sadie Powell2026-03-061-13/+15
* Deduplicate command usability checks into Command::IsUsableBy.Gravatar Sadie Powell2026-03-051-0/+5
* Switch parameter count fields to use size_t.Gravatar Sadie Powell2026-03-021-8/+8
* Massive rework of how internal service providers work.•••- ServiceType is dead. All modules use RegisterService now. - Modules can implement UnregisterService which is called from DelService now. - Split the service type prefix into its own field. - Renamed Service::name to Service::service_name. This revealed a few bugs. Gravatar Sadie Powell2026-03-021-1/+4
* Merge branch 'insp4' into master.Gravatar Sadie Powell2026-02-281-0/+3
* Implement support for per-command maximum targets.•••Closes #2157. Gravatar Sadie Powell2026-02-271-2/+15
* Unify command_parse and ctables.Gravatar Sadie Powell2026-02-151-0/+442