aboutsummaryrefslogtreecommitdiff
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update VC project file for latest changes to sources.Gravatar peavey2009-10-181-144/+340
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11903 e03df62e-2008-0410-955e-edbf42e46eb7
* Text fix.Gravatar peavey2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11893 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix up finding dns server to use for windows to match latest configreader ↵Gravatar peavey2009-10-172-20/+29
| | | | | | changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11892 e03df62e-2008-0410-955e-edbf42e46eb7
* change vc70.pdb to vc90.pdb.. just cosmetic..Gravatar peavey2009-10-121-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11862 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up the compile flags a little. BTW windows now builds again.Gravatar peavey2009-10-121-9/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11860 e03df62e-2008-0410-955e-edbf42e46eb7
* Add mode headers.Gravatar peavey2009-10-121-0/+68
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11854 e03df62e-2008-0410-955e-edbf42e46eb7
* Define DISABLE_WRITEV and use the IOHook single-copy method for Windows send()Gravatar danieldg2009-10-122-32/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11848 e03df62e-2008-0410-955e-edbf42e46eb7
* More adds, now I should have all the new stuff down.Gravatar peavey2009-10-111-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11845 e03df62e-2008-0410-955e-edbf42e46eb7
* Re-enable removal of a tmp file that was left out for debug.Gravatar peavey2009-10-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11844 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some redundant headers from VS project file.Gravatar peavey2009-10-111-208/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11842 e03df62e-2008-0410-955e-edbf42e46eb7
* Add new files and headers recently introduced.Gravatar peavey2009-10-111-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11841 e03df62e-2008-0410-955e-edbf42e46eb7
* Include psapi.h to fix stats.cpp compiling.Gravatar peavey2009-10-111-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11840 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the -Dssize_t declaration now its typedeffed.Gravatar peavey2009-10-111-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11836 e03df62e-2008-0410-955e-edbf42e46eb7
* Some fixes to the VS project file.Gravatar peavey2009-10-111-132/+104
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11834 e03df62e-2008-0410-955e-edbf42e46eb7
* Some fixes for the VS project file. Spanningtree builds again.Gravatar peavey2009-10-111-73/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11829 e03df62e-2008-0410-955e-edbf42e46eb7
* 3rd time lucky? Fix again for setsockopt.Gravatar peavey2009-10-102-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11825 e03df62e-2008-0410-955e-edbf42e46eb7
* Slight tweak to setsockopt fix.Gravatar peavey2009-10-102-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11824 e03df62e-2008-0410-955e-edbf42e46eb7