aboutsummaryrefslogtreecommitdiff
path: root/src/base.cpp
Commit message (Expand)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.•••Also, deprecate the old SerializeFormat/serialize/unserialise API. Gravatar Peter Powell2019-08-071-0/+65
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••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. Gravatar Peter Powell2018-12-121-1/+1
* 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 LocalStringExt::...Gravatar Attila Molnar2015-11-261-2/+2
* | 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 conta...Gravatar Attila Molnar2014-06-241-6/+6
* 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 ...•••Previously this silently failed Gravatar attilamolnar2012-12-021-2/+2
* 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.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Use ServiceProvider for inter-module dependencies•••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 Gravatar danieldg2009-11-161-2/+2
* Add Inspircd::AddServices•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12135 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-151-3/+7
* Force heap allocation of refcountbase, create usecountbase for non-allocation...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11978 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-251-17/+12
* Use custom allocater to decide if refcountbase was allocated on the heap and ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11928 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-3/+24
* Maintain refcount of Module objects to complain about leaked pointers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11925 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-0/+15
* Fix implementation of reference to const, use reference counting for Extensib...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11924 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-6/+9
* Clean up some log messages•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11917 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-4/+2
* Fix null dereference caused by tracking dummy•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11902 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-3/+8
* Cull channels, warn when Extensible objects are not culled as they must be•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-1/+11
* Add more debug logging of object lifetimes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-2/+10
* Make classbase and refcountbase uncopyable; expand comments on their indended...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-6/+10
* Move static map of extensions into ServerInstance, add const-correctness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-141-34/+35
* Add explicit reference-counting base class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-301-45/+6
* Fix warnings from BSD build and work around the failures of BSD make•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11771 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-281-0/+20
* Create StreamSocket for IO hooking implementation•••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 Gravatar danieldg2009-09-211-0/+8
* Remove Extensible items from user, channel, and Membership on module unload•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11730 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-151-1/+19
* Fix null ExtensionItem when unregistering hooks; fix CORE_FLAGS on darwin•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11729 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-151-1/+3
* Add SerializeFormat for easier metadata formatting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11704 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-4/+21
* Change Extensible to use strongly typed entries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-17/+138