summaryrefslogtreecommitdiff
path: root/win
AgeCommit message (Collapse)Author
2015-04-20Merge insp20Attila Molnar
2015-03-04Remove DISABLE_WRITEV and StreamSocket code for platforms lacking writev() ↵Attila Molnar
support
2015-03-04Add SocketEngine::WriteV()Attila Molnar
2015-03-04Add writev() wrapper for WindowsAttila Molnar
2015-02-20Change all occurrences of Inspire to InspIRCdAttila Molnar
2015-01-17Update year in resource file for WindowsAttila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-22Check the return value of getnameinfo() on Windows in insp_inet_ntop() and ↵Attila Molnar
return NULL if it fails
2014-07-25Merge insp20Attila Molnar
2014-07-23Update Windows build scripts for the recent build sys changesAdam
2014-05-10Update year in resource file for WindowsAttila Molnar
2014-04-13Compress the Windows installer with zlib to reduce AV false positivesAttila Molnar
2014-04-13Change Windows libraries to be dynamically linkedAdam
2014-04-12Filter out newlines from error messages on WindowsAttila Molnar
2014-03-29Build coremods on Windows, add general support to the cmake script for ↵Attila Molnar
building modules consisting of multiple compilation units Instead of special casing m_spanningtree create one project for each subdir in src/modules/ and src/coremods/
2014-02-08Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME defineAttila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-23Globally #undef min and max on WindowsAttila Molnar
2013-08-30Merge insp20attilamolnar
2013-08-30Don't CoreExport reference, fixes m_dnsbl on Windowsattilamolnar
The explicit instantiations of reference are now useless; remove
2013-08-27Fix Windows build and a few more problemsattilamolnar
2013-08-08Fix a couple of issuesattilamolnar
- Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown
2013-06-18Use exit code EXIT_STATUS_SERVICE on Windows when exiting because of a ↵attilamolnar
service error
2013-06-11Build with multiple processes on Windows (/MP)attilamolnar
2013-06-06Fix Windowsattilamolnar
2013-06-06Remove hardcoded MAXBUF constant.Peter Powell
2013-06-06Use iostream instead of C-style file operations.Peter Powell
2013-06-06Merge insp20attilamolnar
2013-06-04Fix inet_pton on Windows with IPv6 addressesattilamolnar
Code from Anope win32/socket.cpp by @Adam-
2013-05-23Add a va_copy define for WindowsAdam
2013-05-07Clean up cross-platform compatibility.Peter Powell
- Move compatibility macros to a new header file. - Sort system include files in alphabetical order. - Clean up signal handling (thanks to Adam).
2013-05-02Fix logfile path on WindowsAdam
Fixes issue #510 reported by @JDowny
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2013-04-10Update Window's .gitignoreAdam
2013-04-05Merge inspircd_{config,version}.h into a single header file.Peter Powell
2013-03-25Win32: Rewrite the service wrapperChrisTX
Edited original commit to pass MAX_PATH as nSize to GetModuleFileNameA() instead of 101 after approval from author @ChrisTX (Attila Molnar) Fixes #404 reported by @crchauffe
2013-03-23win: Made config, modules, data, and log paths configurable.Adam
Update win/README with instructions on how to use cmake-gui. Always build m_regex_stdlib, since all VS versions we support support it.
2013-03-15Link win32_memory too inspircd tooAdam
2013-03-14Replace Windows build system and installer with cmakeAdam
2013-03-02Reorganise configuration files:Peter Powell
- Example config files now end with .conf.example. - Example text files now end with .txt.example. - Removed 'inspircd' from the name of multiple example files. - Added missing oper motd example file.
2012-12-03Fix thread handle leak in StartServiceThread()attilamolnar
2012-12-03Fix broken RetrieveLastError()attilamolnar
- FORMAT_MESSAGE_IGNORE_INSERTS flag wasn't used and we never pass insertion parameters, this could cause FormatMessage() to fail - The return value of FormatMessage() wasn't checked, if it returned zero (failure) then RetrieveLastError() returned garbage if err[] wasn't initialized previously
2012-10-14Replace printf(_c) with iostreamChrisTX
2012-10-12Windows: In-depth cleanup (see details)ChrisTX
-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
2012-10-05Windows: Fix broken buildChrisTX
Resolves a mistake made in c2f7fc047c2e5bbb899c820590ce07fee593b28f
2012-10-04Merge pull request #314 from ChrisTX/insp20+DnsQueryConfigAdam
Windows: Replace the old DNS server find mechanism with the proper one, the appropriate API
2012-10-04Windows: Remove modules.conf.charybdis and modules.conf.unreal with the ↵attilamolnar
uninstaller
2012-10-04Replace hardcoded paths with configurable onesChrisTX
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario. Changes in detail: configure: Add the options --log-path and --data-path m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be changed using the configuration files.
2012-10-04Windows: Use the WinAPI for DNS server retrievalChrisTX
2012-10-04Windows: Replace the unused function hack with explicit instantiationChrisTX