aboutsummaryrefslogtreecommitdiff
path: root/src/base.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up a bunch of contructors and destructors.Gravatar Sadie Powell2020-11-011-8/+0
|
* Pascalize ExtensionItem::{get,set,unset}_raw.Gravatar Sadie Powell2020-07-201-3/+3
|
* Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+5
|\
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-12-081-7/+8
|\|
| * Only show classbase ctor/dtor/cull messages in debug builds.Gravatar Peter Powell2019-11-161-7/+8
| |
* | Replace LocalIntExt with IntExtItem.Gravatar Sadie Powell2019-08-131-36/+0
| |
* | Rewrite and merge LocalStringExt, StringExtItem.Gravatar Sadie Powell2019-08-131-63/+0
| |
* | Move the Module parameter of ExtensionItem et al to the start.Gravatar Sadie Powell2019-08-131-11/+7
| | | | | | | | This matches what other ServiceProvider types do.
* | Rename ExtensionItem::free to ExtensionItem::Delete.Gravatar Sadie Powell2019-08-131-6/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-08-131-2/+2
|\|
| * Free StringExtItem and SimpleExtItem values correctly.Gravatar Peter Powell2019-08-131-2/+2
| |
| * Convert LocalExtItem to a typedef and deprecate it.Gravatar Peter Powell2019-08-131-10/+1
| |
* | Remove remnants of the old ExtensionItem serialisation system.Gravatar Sadie Powell2019-08-091-44/+1
| | | | | | | | Also rm LocalExtItem whilst we are at it as it is now obsolete.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-08-091-21/+71
|\|
| * Convert all core ExtensionItem code away from {un,}serialize.Gravatar Peter Powell2019-08-071-25/+10
| |
| * Add {To,From}{Human,Internal,Network} to ExtensionItem.Gravatar Peter Powell2019-08-071-0/+65
| | | | | | | | Also, deprecate the old SerializeFormat/serialize/unserialise API.
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-7/+7
|/
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Gravatar Peter Powell2018-12-121-1/+1
| | | | | | | The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
* Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-121-4/+4
|
* Merge branch 'master+serviceinit'Gravatar Attila Molnar2015-12-021-0/+10
|\
| * Implement ExtensionItem::RegisterService()Gravatar Attila Molnar2015-11-231-0/+6
| |
| * Add ServiceProvider::RegisterService(), call it from ModuleManager::AddService()Gravatar Attila Molnar2015-11-231-0/+4
| |
* | Add LocalIntExt and LocalStringExt::unserialize() for non-FORMAT_NETWORKGravatar Attila Molnar2015-11-261-0/+12
| |
* | Fix FORMAT_INTERNAL handling in LocalIntExt::serialize() and ↵Gravatar Attila Molnar2015-11-261-2/+2
| | | | | | | | LocalStringExt::serialize()
* | Add typedef ExtensionManager::ExtMapGravatar Attila Molnar2015-11-261-3/+3
|/
* Merge branch 'master+exttype' into master+no-rttiGravatar Attila Molnar2015-01-221-6/+13
|\
| * Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-6/+13
| |
* | Disable typeid() calls unless INSPIRCD_ENABLE_RTTI is definedGravatar Attila Molnar2015-01-221-0/+6
|/
* Change allocation of InspIRCd::Logs to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-6/+6
| | | | containing it using fakederef
* Replace DummyExtItem with a flag in ExtensibleGravatar Attila Molnar2014-02-101-8/+3
|
* Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+0
|
* Unset all extensions and the topic when lowering TS on a channelGravatar Attila Molnar2014-01-061-1/+6
|
* Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-2/+1
|
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-6/+6
|
* Throw an exception when attempting to register an extension with a name that ↵Gravatar attilamolnar2012-12-021-2/+2
| | | | | | already exists Previously this silently failed
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-291-2/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ServiceProvider for inter-module dependenciesGravatar danieldg2009-11-161-2/+2
| | | | | | | | | | | This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Inspircd::AddServicesGravatar danieldg2009-11-151-3/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12135 e03df62e-2008-0410-955e-edbf42e46eb7
* Force heap allocation of refcountbase, create usecountbase for ↵Gravatar danieldg2009-10-251-17/+12
| | | | | | non-allocation reference counting git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11978 e03df62e-2008-0410-955e-edbf42e46eb7
* Use custom allocater to decide if refcountbase was allocated on the heap and ↵Gravatar danieldg2009-10-201-3/+24
| | | | | | should be deleted when refcount reaches zero git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11928 e03df62e-2008-0410-955e-edbf42e46eb7
* Maintain refcount of Module objects to complain about leaked pointersGravatar danieldg2009-10-191-0/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11925 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix implementation of reference to const, use reference counting for ↵Gravatar danieldg2009-10-191-6/+9
| | | | | | ExtensibleItem git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11924 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up some log messagesGravatar danieldg2009-10-191-4/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11917 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix null dereference caused by tracking dummyGravatar danieldg2009-10-181-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11902 e03df62e-2008-0410-955e-edbf42e46eb7
* Cull channels, warn when Extensible objects are not culled as they must beGravatar danieldg2009-10-181-1/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11901 e03df62e-2008-0410-955e-edbf42e46eb7
* Add more debug logging of object lifetimesGravatar danieldg2009-10-181-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11900 e03df62e-2008-0410-955e-edbf42e46eb7