aboutsummaryrefslogtreecommitdiff
path: root/src/base.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
|
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
|
* Fix a bunch of really obvious unnecessary includes.Gravatar Sadie Powell2021-03-051-1/+1
|
* Fix various documentation and formatting issues.Gravatar Sadie Powell2020-03-301-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+5
|
* Only show classbase ctor/dtor/cull messages in debug builds.Gravatar Peter Powell2019-11-161-7/+8
|
* 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
|
* 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.
* 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
* Make classbase and refcountbase uncopyable; expand comments on their ↵Gravatar danieldg2009-10-171-6/+10
| | | | | | indended uses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7
* Move static map of extensions into ServerInstance, add const-correctnessGravatar danieldg2009-10-141-34/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
* Add explicit reference-counting base classGravatar danieldg2009-09-301-45/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix warnings from BSD build and work around the failures of BSD makeGravatar danieldg2009-09-281-0/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11771 e03df62e-2008-0410-955e-edbf42e46eb7
* Create StreamSocket for IO hooking implementationGravatar danieldg2009-09-211-0/+8
| | | | | | | | | | | | | | Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove Extensible items from user, channel, and Membership on module unloadGravatar danieldg2009-09-151-1/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11730 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix null ExtensionItem when unregistering hooks; fix CORE_FLAGS on darwinGravatar danieldg2009-09-151-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11729 e03df62e-2008-0410-955e-edbf42e46eb7
* Add SerializeFormat for easier metadata formattingGravatar danieldg2009-09-131-4/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11704 e03df62e-2008-0410-955e-edbf42e46eb7
* Change Extensible to use strongly typed entriesGravatar danieldg2009-09-131-17/+138
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7