aboutsummaryrefslogtreecommitdiff
path: root/src/dynamic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-6/+5
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-2/+2
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-251-9/+4
|\|
| * Deduplicate retrieving error messages on Windows.Gravatar Sadie Powell2022-12-131-9/+4
| |
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-6/+6
| |
* | Make dynamic a non-default header.Gravatar Sadie Powell2022-06-261-0/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
| |
* | Initial support for platform-specific module file extensions.Gravatar Sadie Powell2020-11-041-4/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-191-0/+3
|\|
| * Fix CallInit overriding the error from dlopen.Gravatar Sadie Powell2020-05-191-0/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-141-1/+1
|\|
| * Add a missing ';'.Gravatar Matt Schatz2020-04-121-1/+1
| |
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-2/+1
|/
* Include the ABI version with the incompatible module error message.Gravatar Sadie Powell2020-02-041-4/+4
|
* Make loading modules considerably more robust and user friendly.Gravatar Sadie Powell2020-02-021-25/+52
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+7
|
* DLLManager: add a function for retrieving a symbol.Gravatar Peter Powell2019-02-041-21/+15
|
* Merge branch 'insp20' into master.Gravatar Peter Powell2018-07-151-1/+1
|\
| * Fix invalid conversion from 'const char*' to 'char*' on FreeBSD.Gravatar Peter Powell2018-06-081-1/+1
| |
* | Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-10/+5
|\|
| * Use DLLManager::RetrieveLastError() on all platforms.Gravatar Peter Powell2017-08-261-10/+5
| | | | | | | | | | | | | | | | | | | | | | This prevents a bug where we send malformed messages to the client when dlerror() returns an error message containing more than one line. This has been observed on macOS but probably will happen on other UNIX systems too. This also fixes a potential problem where dlerror() returns NULL and converting it to std::string causes a crash. I can't see any way that this might happen but it is better to be safe than sorry.
* | Improve the /MODULES output.Gravatar Peter Powell2017-09-061-1/+1
| |
* | Merge insp20Gravatar Attila Molnar2014-07-251-2/+8
|\|
| * Change FormatMessage() usage in DLLManager::RetrieveLastError() to match ↵Gravatar Attila Molnar2014-04-121-2/+4
| | | | | | | | | | | | SocketEngine::LastError() See 4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b
| * Filter out newlines from error messages on WindowsGravatar Attila Molnar2014-04-121-0/+4
| |
* | Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-1/+1
|/
* Windows: In-depth cleanup (see details)Gravatar ChrisTX2012-10-121-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Fix x64 builds for Windows. Now all configurations compile. -Remove the non-working rebase stuff. -Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now. -Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2 -Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need. -Enable optimizations for release builds. -De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure -Add the VC++ specific bad files in .gitignore -Disable PID writing on Windows. This is only making sense for *nix builds. -Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working) -Removed certain unused functions and variables -Remove stdint defines from the windows wrapper -Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds. -Re-evaluated the warnings list, commented it. -Moved inspircd_config/_version to include/ to match *nix -Removed the creation of inspircd_se_config, as it isn't used at all. -Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out) -Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly. -Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down) -Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded. -Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways) -Removed the unused ClearConsole() -Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate. -Made inet_aton an inline function for increased performance -C4800, performance warning about bool forcing, resolved at all occurrences. -C4701, uninitialized variable 'cached', resolved at all occurrences. -dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance. -Removed the wrong CRT debug flags. This drains a lot of performance. -Removed the clock_gettime/gettimeofday wrappers -Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function. -Added a block of C4355 for < VS2012 -Update project files for c870714
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+18
|
* Move revision information from Version object to a static symbolGravatar danieldg2010-01-141-1/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12256 e03df62e-2008-0410-955e-edbf42e46eb7
* ...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
* Fix module unmapping with culled Module objectsGravatar danieldg2009-10-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7
* Encode module API version in the init_module symbol; fixes conflic with ↵Gravatar danieldg2009-10-121-3/+1
| | | | | | glibc-exported init_module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11863 e03df62e-2008-0410-955e-edbf42e46eb7
* DLLFactory--Gravatar danieldg2009-10-121-16/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11861 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Cast rework: use C++ style static_cast<> instead of C-style castsGravatar danieldg2009-09-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Nuke trailing spacesGravatar peavey2009-02-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove last vestige of libircdfoo, by changing tag into a single ↵Gravatar w00t2008-07-291-1/+1
| | | | | | identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Pedantic safeGravatar brain2007-10-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the ↵Gravatar brain2007-10-221-0/+2
| | | | | | src/ dir for tag comments, like in modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove compiler warnings in windows buildGravatar brain2007-09-251-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8082 e03df62e-2008-0410-955e-edbf42e46eb7
* First step on the road of module loader rewriting. So far this only really ↵Gravatar om2007-08-281-19/+1
| | | | | | removes module factories. Any modules not updated to use MODULE_INIT() yet will now fail to compile \o/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7971 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more unnecessary header trafficGravatar w00t2007-08-271-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7