aboutsummaryrefslogtreecommitdiff
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* win: set CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION to . so the runtime ↵Gravatar Adam2017-05-091-0/+1
| | | | libraries are not placed in bin
* Fix compilation with Microsoft Visual C++ 14.Gravatar Peter Powell2015-08-091-1/+6
|
* Fix various issues with the nationalchars module.Gravatar Peter Powell2015-06-141-0/+4
| | | | | | | | - 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.
* Update year in resource file for WindowsGravatar Attila Molnar2015-01-171-1/+1
|
* Check the return value of getnameinfo() on Windows in insp_inet_ntop() and ↵Gravatar Attila Molnar2014-10-221-4/+4
| | | | return NULL if it fails
* Update year in resource file for WindowsGravatar Attila Molnar2014-05-101-1/+1
|
* Compress the Windows installer with zlib to reduce AV false positivesGravatar Attila Molnar2014-04-131-1/+1
|
* Change Windows libraries to be dynamically linkedGravatar Adam2014-04-131-0/+2
|
* Filter out newlines from error messages on WindowsGravatar Attila Molnar2014-04-121-0/+5
|
* Don't CoreExport reference, fixes m_dnsbl on WindowsGravatar attilamolnar2013-08-301-7/+0
| | | | The explicit instantiations of reference are now useless; remove
* Fix inet_pton on Windows with IPv6 addressesGravatar attilamolnar2013-06-041-10/+30
| | | | Code from Anope win32/socket.cpp by @Adam-
* Fix logfile path on WindowsGravatar Adam2013-05-021-5/+5
| | | | Fixes issue #510 reported by @JDowny
* Win32: Rewrite the service wrapperGravatar ChrisTX2013-03-254-278/+208
| | | | | | 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
* win: Made config, modules, data, and log paths configurable.Gravatar Adam2013-03-236-13/+32
| | | | | | Update win/README with instructions on how to use cmake-gui. Always build m_regex_stdlib, since all VS versions we support support it.
* Link win32_memory too inspircd tooGravatar Adam2013-03-151-5/+11
|
* Replace Windows build system and installer with cmakeGravatar Adam2013-03-1416-1791/+1207
|
* Reorganise configuration files:Gravatar Peter Powell2013-03-021-1/+1
| | | | | | | - 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.
* Fix thread handle leak in StartServiceThread()Gravatar attilamolnar2012-12-031-2/+3
|
* Fix broken RetrieveLastError()Gravatar attilamolnar2012-12-031-1/+3
| | | | | - 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
* Replace printf(_c) with iostreamGravatar ChrisTX2012-10-147-176/+69
|
* Windows: In-depth cleanup (see details)Gravatar ChrisTX2012-10-1212-1121/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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
* Windows: Fix broken buildGravatar ChrisTX2012-10-051-0/+4
| | | | Resolves a mistake made in c2f7fc047c2e5bbb899c820590ce07fee593b28f
* Merge pull request #314 from ChrisTX/insp20+DnsQueryConfigGravatar Adam2012-10-042-94/+26
|\ | | | | Windows: Replace the old DNS server find mechanism with the proper one, the appropriate API
| * Windows: Use the WinAPI for DNS server retrievalGravatar ChrisTX2012-10-042-94/+26
| |
* | Windows: Remove modules.conf.charybdis and modules.conf.unreal with the ↵Gravatar attilamolnar2012-10-041-0/+4
| | | | | | | | uninstaller
* | Replace hardcoded paths with configurable onesGravatar ChrisTX2012-10-041-0/+4
| | | | | | | | | | | | | | | | | | | | 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.
* | Windows: Replace the unused function hack with explicit instantiationGravatar ChrisTX2012-10-041-41/+4
|/
* Fixed issue #303 - fixed Windows buildGravatar Adam2012-09-281-0/+5
|
* Fix Windows build that was broken by 9b66dd6.Gravatar Peter Powell2012-08-141-3/+4
|
* Don't hard code the branch version.Gravatar Peter Powell2012-07-271-1/+6
|
* Fixed Windows buildGravatar Adam2012-07-172-2/+8
|
* Fixed Windows build, int32_t is already defined in stdint.h.Gravatar Adam2012-07-093-1/+26
| | | | | | | | 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.
* Updated example config path in Windows NSI scriptGravatar Adam2012-07-011-1/+1
|
* Remove unused channelmanagerGravatar attilamolnar2012-06-301-2/+0
|
* fgets(): refer to the buffer size (no literals)Gravatar Sir Poggles2012-06-121-5/+5
|
* resource.rc: update copyright to 2012Gravatar Robby-2012-04-201-1/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-1910-59/+176
|
* Fixes for bug #12Gravatar Justin Crawford2012-04-142-5/+5
|
* Remove some unused filesGravatar Adam2012-04-093-43/+0
|
* Removed old VC90 project files, renamed the VC 2010 project files to not ↵Gravatar Adam2012-04-097-2951/+6
| | | | have VC90 in them
* Remove outdated references to SVN.Gravatar Peter Powell2012-04-091-1/+1
|
* Fix extras compilation under WindowsGravatar Adam2011-06-1811-7287/+2725
|
* Final fixups for a working Windows buildGravatar Adam2011-06-089-550/+90
|
* Fix timers never being ticked on windowsGravatar Adam2011-05-211-1/+1
|
* Fixed Windows build on VS 2010Gravatar Adam2011-04-106-38/+82
|
* Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ↵Gravatar danieldg2010-02-231-2/+0
| | | | | | specified git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove excessive gettimeofday system callsGravatar danieldg2010-01-182-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove IOCP socket engineGravatar danieldg2009-10-241-15/+2
| | | | | | | | | | | | 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
* Fix for memory leak when gui is attached, submitted and fixed by ↵Gravatar brain2009-10-211-6/+9
| | | | | | GreenReaper, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11936 e03df62e-2008-0410-955e-edbf42e46eb7
* comment fix..Gravatar peavey2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11935 e03df62e-2008-0410-955e-edbf42e46eb7