aboutsummaryrefslogtreecommitdiff
path: root/win
Commit message (Expand)AuthorAgeFilesLines
* Don't CoreExport reference, fixes m_dnsbl on Windows•••The explicit instantiations of reference are now useless; remove Gravatar attilamolnar2013-08-301-7/+0
* Fix inet_pton on Windows with IPv6 addresses•••Code from Anope win32/socket.cpp by @Adam- Gravatar attilamolnar2013-06-041-10/+30
* Fix logfile path on Windows•••Fixes issue #510 reported by @JDowny Gravatar Adam2013-05-021-5/+5
* Win32: Rewrite the service wrapper•••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 Gravatar ChrisTX2013-03-254-278/+208
* win: Made config, modules, data, and log paths configurable.•••Update win/README with instructions on how to use cmake-gui. Always build m_regex_stdlib, since all VS versions we support support it. Gravatar Adam2013-03-236-13/+32
* 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:•••- 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. Gravatar Peter Powell2013-03-021-1/+1
* Fix thread handle leak in StartServiceThread()Gravatar attilamolnar2012-12-031-2/+3
* Fix broken RetrieveLastError()•••- 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 Gravatar attilamolnar2012-12-031-1/+3
* Replace printf(_c) with iostreamGravatar ChrisTX2012-10-147-176/+69
* 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-1212-1121/+255
* Windows: Fix broken build•••Resolves a mistake made in c2f7fc047c2e5bbb899c820590ce07fee593b28f Gravatar ChrisTX2012-10-051-0/+4
* Merge pull request #314 from ChrisTX/insp20+DnsQueryConfig•••Windows: Replace the old DNS server find mechanism with the proper one, the appropriate APIGravatar Adam2012-10-042-94/+26
|\
| * Windows: Use the WinAPI for DNS server retrievalGravatar ChrisTX2012-10-042-94/+26
* | Windows: Remove modules.conf.charybdis and modules.conf.unreal with the unins...Gravatar attilamolnar2012-10-041-0/+4
* | Replace hardcoded paths with configurable ones•••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. Gravatar ChrisTX2012-10-041-0/+4
* | 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.•••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. Gravatar Adam2012-07-093-1/+26
* 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 have...Gravatar Adam2012-04-097-2951/+6
* 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 ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-231-2/+0
* Remove excessive gettimeofday system calls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-182-3/+4
* Remove IOCP socket engine•••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 Gravatar danieldg2009-10-241-15/+2
* Fix for memory leak when gui is attached, submitted and fixed by GreenReaper,...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11936 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-10-211-6/+9
* comment fix..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11935 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-211-1/+1
* Update VC project file for latest changes to sources.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11903 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-181-144/+340
* Text fix.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11893 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-171-1/+1
* Fix up finding dns server to use for windows to match latest configreader cha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-172-20/+29
* change vc70.pdb to vc90.pdb.. just cosmetic..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-121-9/+9
* Clean up the compile flags a little. BTW windows now builds again.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11860 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-121-9/+9
* Add mode headers.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11854 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-121-0/+68
* Define DISABLE_WRITEV and use the IOHook single-copy method for Windows send()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11848 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-122-32/+1
* More adds, now I should have all the new stuff down.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-111-0/+8
* Re-enable removal of a tmp file that was left out for debug.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-111-1/+1