| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix some Doxygen comment issues. | 2023-01-21 | 1 | -1/+1 | |
| | | |||||
| * | Replace SocketEngine::SetReuse with SocketEngine::SetOption. | 2023-01-17 | 1 | -2/+24 | |
| | | |||||
| * | Merge branch 'insp3' into master. | 2023-01-01 | 1 | -1/+0 | |
| |\ | |||||
| | * | Update copyright headers. | 2022-12-30 | 1 | -1/+0 | |
| | | | |||||
| * | | Refactor SocketEngine slightly. | 2022-12-25 | 1 | -38/+27 | |
| | | | | | | | | | | | | | | | - Remove pointless shutdown() wrapper. - Remove pointless bounds checking function. - Make Bind and Listen take an EventHandler instead of a fd. - Add nullability attributes to every method. | ||||
| * | | More const correctness work. | 2022-12-08 | 1 | -1/+1 | |
| | | | |||||
| * | | Clean up various socket-related code. | 2022-10-12 | 1 | -7/+2 | |
| | | | |||||
| * | | Fix various cases of the &* being next to the name instead of type. | 2022-09-29 | 1 | -4/+4 | |
| | | | |||||
| * | | Abolish the infernal space before accessibility keywords. | 2022-01-25 | 1 | -6/+6 | |
| | | | |||||
| * | | Add the final keyword to all remaining classes that can have it. | 2021-12-20 | 1 | -2/+3 | |
| | | | |||||
| * | | Merge branch 'insp3' into master. | 2021-07-01 | 1 | -1/+1 | |
| |\| | |||||
| | * | Fix various spelling issues (#1883). | 2021-06-21 | 1 | -1/+1 | |
| | | | | | | | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> | ||||
| * | | Added -Wshorten-64-to-32 and fixed all warnings. | 2021-05-30 | 1 | -7/+7 | |
| | | | |||||
| * | | Rip out the SwapInternals method. | 2021-04-19 | 1 | -5/+0 | |
| | | | | | | | | | | | This never really worked correctly and will now be replaced with something better. | ||||
| * | | Fix a ton of pedantic compiler warnings. | 2021-04-04 | 1 | -4/+1 | |
| | | | |||||
| * | | Merge branch 'insp3' into master. | 2021-03-31 | 1 | -4/+0 | |
| |\| | |||||
| | * | Fix various documentation comments. | 2021-03-31 | 1 | -4/+0 | |
| | | | |||||
| * | | Merge branch 'insp3' into master. | 2021-03-05 | 1 | -3/+0 | |
| |\| | |||||
| | * | Fix a bunch of really obvious unnecessary includes. | 2021-03-05 | 1 | -3/+0 | |
| | | | |||||
| * | | Merge branch 'insp3' into master. | 2021-03-05 | 1 | -3/+2 | |
| |\| | |||||
| | * | Update copyright headers. | 2021-03-05 | 1 | -3/+2 | |
| | | | |||||
| * | | Refactor classbase/CullResult into Cullable/Cullable::Result. | 2021-03-02 | 1 | -1/+1 | |
| | | | |||||
| * | | Clean up a bunch of contructors and destructors. | 2020-11-01 | 1 | -1/+1 | |
| | | | |||||
| * | | Merge branch 'insp3' into master. | 2020-05-05 | 1 | -4/+4 | |
| |\| | |||||
| | * | Update copyright headers. | 2020-04-24 | 1 | -1/+1 | |
| | | | |||||
| | * | Fixes by misspell-fixer | 2020-04-21 | 1 | -3/+3 | |
| | | | |||||
| * | | Merge branch 'insp3' into master. | 2020-02-19 | 1 | -0/+3 | |
| |\| | |||||
| | * | Add HasFd to EventHandler and switch code to use it. | 2020-02-15 | 1 | -0/+3 | |
| | | | |||||
| * | | Use C++11 inline initialisation for class members. | 2020-02-06 | 1 | -12/+7 | |
| |/ | |||||
| * | Update copyright headers. | 2020-01-11 | 1 | -2/+8 | |
| | | |||||
| * | Add a method for swapping user I/O handlers. | 2019-07-21 | 1 | -0/+6 | |
| | | |||||
| * | Resize the event sets to 2x the CurrentSetSize in ResizeDouble(). | 2019-05-14 | 1 | -1/+1 | |
| | | |||||
| * | Pass an irc::socket::sockaddrs to SocketEngine::SendTo(). | 2018-01-20 | 1 | -3/+2 | |
| | | |||||
| * | Pass an irc::socket::sockaddrs to SocketEngine::Connect(). | 2018-01-20 | 1 | -3/+2 | |
| | | |||||
| * | Deduplicate error handling in the socket engines. | 2017-10-22 | 1 | -0/+3 | |
| | | |||||
| * | Convert GetMaxFds() to size_t and deduplicate setting code. | 2017-10-22 | 1 | -8/+11 | |
| | | |||||
| * | Remove some outdated documentation from the SocketEngine class. | 2017-08-26 | 1 | -11/+1 | |
| | | |||||
| * | Fix a bunch of Doxygen warnings. | 2017-08-26 | 1 | -3/+3 | |
| | | |||||
| * | Improve and centralize socket engine event counters. | 2017-07-11 | 1 | -4/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The write counters were close to useless because they were only incremented on a write "event" which is only triggered when writing would block. Read handling was a little more useful in that all reads must happen through the socket engine, so these were happening at the correct time, but we can clean this up by doing it in the SE itself rather than each platform port. This means that both read and write events are now easily and usefully defined as "a syscall of either read or write was attempted". We also count empty read and write events as being an event, because they still were an attempt to poll a socket in some way. This may help to identify "bad" code which is repeatedly trying to read a socket for some reason. Lastly, we check for failed read/write calls, and log them as an error event. A lot of the time, this is how sockets are determined as being disconnected (ie. at read/write time). While we're at it, split Update() in two to make the calls more self-describing. This has no real impact since only one call is made at a time anyway. | ||||
| * | Update description of class EventHandler | 2016-08-11 | 1 | -7/+4 | |
| | | | | | Readable() and Writeable() was removed long ago | ||||
| * | Replace HandleEvent() references in the SocketEngine documentation with ↵ | 2016-08-11 | 1 | -11/+10 | |
| | | | | | OnEventHandler*() | ||||
| * | Dispatch EventHandler events to dedicated virtual functions | 2015-04-12 | 1 | -26/+13 | |
| | | | | | Remove enum EventType | ||||
| * | Add SocketEngine::WriteV() | 2015-03-04 | 1 | -0/+35 | |
| | | |||||
| * | Change the number reported by SocketEngine::GetMaxFds() to be informal | 2014-06-07 | 1 | -2/+4 | |
| | | | | | Do not exit if we can't determine it | ||||
| * | Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*) | 2014-02-09 | 1 | -5/+4 | |
| | | |||||
| * | Change all socketengine methods to be static | 2014-02-08 | 1 | -31/+33 | |
| | | |||||
| * | Move socketengine stats into a new class | 2014-02-08 | 1 | -13/+44 | |
| | | |||||
| * | Rename SocketEngine::AddFd() and DelFd() to AddFdRef() and DelFdRef() | 2014-02-08 | 1 | -2/+4 | |
| | | |||||
| * | Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME define | 2014-02-08 | 1 | -6/+0 | |
| | | |||||
| * | Change SocketEngine functions that do not require an instance to be static | 2014-02-08 | 1 | -11/+11 | |
| | | |||||
