aboutsummaryrefslogtreecommitdiff
path: root/src/extensible.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Slim down the protocol interface for sending metadata.Gravatar Sadie Powell2022-01-311-17/+2
|
* Refuse to set an extension on the wrong type of extensible.Gravatar Sadie Powell2022-01-311-0/+12
|
* Add the type to the Extensible class.Gravatar Sadie Powell2022-01-311-2/+3
|
* Rename the ExtensionItem::type field to extype to avoid collisions.Gravatar Sadie Powell2022-01-311-2/+2
|
* Fix various edge cases in extensible synchronisation.Gravatar Sadie Powell2022-01-211-4/+3
| | | | | | | | - Fix not forwarding the accountid extensible if it is set. - Rename the variadic Set() overload to SetFwd(). - Re-add the `const T&` overload of Set(). - Move `bool synced` to SimpleExtItem from StringExtItem. - Only sync extensibles if their instance is marked as syncable.
* Revert "Allow setting extension data on connect classes".Gravatar Sadie Powell2022-01-161-4/+0
| | | | | | | This can't reasonably be implemented safely with the current way that extensibles work. This reverts commit b867007d201b1a3b130186c54e41481c0374a7f6.
* Allow setting extension data on connect classes.Gravatar Sadie Powell2022-01-161-0/+4
|
* Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-1/+1
|
* Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-7/+7
|
* Migrate collections from insert to emplace.Gravatar Sadie Powell2021-04-181-1/+1
|
* Remove usecountbase from ExtensionItem and refer to using pointers.Gravatar Sadie Powell2021-04-091-2/+2
| | | | At one point (1.2?) this was actually useful but nowadays its not.
* Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-4/+7
|
* Add support for syncing metadata set on memberships.Gravatar Sadie Powell2021-04-011-2/+1
| | | | | No compat logic is required here as existing servers will just drop the unknown METADATA message when they can't find the target.
* Add a subclass of ExtensionItem exclusively for booleans.Gravatar Sadie Powell2021-03-171-0/+59
|
* Implement support for automatically syncing extension items.Gravatar Sadie Powell2021-03-171-5/+33
|
* Move extensible code from base.cpp to extensible.cpp and cleanup.Gravatar Sadie Powell2021-03-171-0/+140
|
* Mark {From,To}{Human,Internal,Network} as noexcept.Gravatar Sadie Powell2021-03-171-8/+8
|
* Pascalize Unset in extension item classes.Gravatar Sadie Powell2021-03-171-2/+2
|
* Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-3/+3
|
* Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-1/+1
|
* Pascalize ExtensionItem::{get,set,unset}_raw.Gravatar Sadie Powell2020-07-201-4/+4
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-011-1/+1
|
* Replace LocalIntExt with IntExtItem.Gravatar Sadie Powell2019-08-131-0/+49
|
* Rewrite and merge LocalStringExt, StringExtItem.Gravatar Sadie Powell2019-08-131-0/+51