summaryrefslogtreecommitdiff
path: root/win
AgeCommit message (Collapse)Author
2015-06-14Fix various issues with the nationalchars module.Peter Powell
- Strip the directory name in the default casemapping value. - Error out if the casemapping value contains a space. - Error out if the locale file failed to load. - Fix relative file path when building on Windows. - Install nationalchars files on Windows.
2015-01-17Update year in resource file for WindowsAttila Molnar
2014-10-22Check the return value of getnameinfo() on Windows in insp_inet_ntop() and ↵Attila Molnar
return NULL if it fails
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
2013-08-30Don't CoreExport reference, fixes m_dnsbl on Windowsattilamolnar
The explicit instantiations of reference are now useless; remove
2013-06-04Fix inet_pton on Windows with IPv6 addressesattilamolnar
Code from Anope win32/socket.cpp by @Adam-
2013-05-02Fix logfile path on WindowsAdam
Fixes issue #510 reported by @JDowny
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
2012-09-28Fixed issue #303 - fixed Windows buildAdam
2012-08-14Fix Windows build that was broken by 9b66dd6.Peter Powell
2012-07-27Don't hard code the branch version.Peter Powell
2012-07-17Fixed Windows buildAdam
2012-07-09Fixed Windows build, int32_t is already defined in stdint.h.Adam
Add GnuTLS support for Windows. Made NSIS script include extra DLL files if supplied and include the conf/aliases and conf/modules example configuration files. Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows. Fixed typo in gnutlscert.pm.
2012-07-01Updated example config path in Windows NSI scriptAdam
2012-06-30Remove unused channelmanagerattilamolnar
2012-06-12fgets(): refer to the buffer size (no literals)Sir Poggles
2012-04-20resource.rc: update copyright to 2012Robby-
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-14Fixes for bug #12Justin Crawford
2012-04-09Remove some unused filesAdam
2012-04-09Removed old VC90 project files, renamed the VC 2010 project files to not ↵Adam
have VC90 in them
2012-04-09Remove outdated references to SVN.Peter Powell
2011-06-18Fix extras compilation under WindowsAdam
2011-06-08Final fixups for a working Windows buildAdam
2011-05-21Fix timers never being ticked on windowsAdam
2011-04-10Fixed Windows build on VS 2010Adam
2010-02-23Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ↵danieldg
specified git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Remove excessive gettimeofday system callsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-24Remove IOCP socket enginedanieldg
IOCP has been experimental since its introduction, and has not worked correctly for some time. Since we have no windows developer, remove the dead code. Most of the advantages of IOCP are not used by an ircd process regardless: we do not use threads for our client processing, and we add an extra copy operation that eliminates any gain from OS-level buffer reuse. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11970 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Fix for memory leak when gui is attached, submitted and fixed by ↵brain
GreenReaper, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11936 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21comment fix..peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11935 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-18Update VC project file for latest changes to sources.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11903 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Text fix.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11893 e03df62e-2008-0410-955e-edbf42e46eb7