aboutsummaryrefslogtreecommitdiff
path: root/src/dynamic.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-1/+1
* 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.•••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. Gravatar Peter Powell2017-08-261-10/+5
* | 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 Sock...•••See 4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b Gravatar Attila Molnar2014-04-121-2/+4
| * 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)•••-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 Gravatar ChrisTX2012-10-121-1/+23
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+18
* Move revision information from Version object to a static symbol•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12256 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-1/+12
* ...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
* Fix module unmapping with culled Module objects•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-141-1/+1
* Encode module API version in the init_module symbol; fixes conflic with glibc...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-121-3/+1
* DLLFactory--•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11861 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-121-16/+13
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-1/+1
* Cast rework: use C++ style static_cast<> instead of C-style casts•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-2/+2
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Nuke trailing spaces•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-02-141-2/+2
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Remove last vestige of libircdfoo, by changing tag into a single identifier...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-1/+1
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-1/+1
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Remove compiler warnings in windows build•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8082 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-251-1/+0