aboutsummaryrefslogtreecommitdiff
path: root/win/configure.cpp
Commit message (Expand)AuthorAgeFilesLines
* Replace printf(_c) with iostreamGravatar ChrisTX2012-10-141-44/+59
* 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-121-129/+64
* Windows: Fix broken build•••Resolves a mistake made in c2f7fc047c2e5bbb899c820590ce07fee593b28f Gravatar ChrisTX2012-10-051-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
* 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
* fgets(): refer to the buffer size (no literals)Gravatar Sir Poggles2012-06-121-5/+5
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+19
* Remove outdated references to SVN.Gravatar Peter Powell2012-04-091-1/+1
* Fix extras compilation under WindowsGravatar Adam2011-06-181-125/+86
* Final fixups for a working Windows buildGravatar Adam2011-06-081-73/+44
* 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 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
* 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
* 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
* Remove the -Dssize_t declaration now its typedeffed.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11836 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-111-3/+3
* uhm, remove my debug output :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-101-1/+0
* Add building of inspircd_version.h to windows port and remove the overlapping...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11818 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-101-11/+51
* Strip SUPPORT_IP6LINKS #define•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-8/+0
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Merge vc90 update patch from IronLegend, thanks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10555 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-171-8/+8
* fixed a /MT to be /MD•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10484 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-091-1/+1
* Auto update modules from src/modules/extra by recopying them in configure if ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10420 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-061-0/+40
* Properly give the service specific exit code on failure to start. Now we just...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10240 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-241-0/+1
* Base stuff for named pipe IPC•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-151-2/+3
* Win32 compilation fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-131-8/+0
* Remove the limits from here too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9803 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-251-38/+1
* Backport fix for stripcolour not stripping colour codes, reported by jackmcba...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9592 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-291-6/+0
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-2/+10
* Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, lo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-181-8/+24
* Revert back to /MT, this shit isnt working and its too late to think straight•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9523 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-161-8/+8
* /MT -> /MD•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9522 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-161-8/+8
* Rebase modules a meg higher than command objects so they dont collide•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9520 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-161-1/+1
* Automatic rebasing of load addresses for .so files on windows, thanks to Gree...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9519 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-161-0/+58
* Correct indentation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9486 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-131-14/+14
* Eliminate now-pointless label•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9483 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-131-5/+0
* Whack code duplication•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9481 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-131-4/+3
* Whack gotos here too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9480 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-131-9/+12
* Fix 4-space indents :<•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9479 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-131-26/+26
* Remove MAXCLIENTS, this is supported at runtime by the softlimit anyway.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-021-11/+0
* Support IPV6 links in configure•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9100 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-151-3/+10
* Now compiles with win32thread and testsuite•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8993 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-221-1/+1
* Add extra stuff to compile threadengine_win32.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8989 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-221-0/+1
* Change defaults to ones that match our stable build•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-181-7/+7
* remove m_ssl_openssl from modules directory when rerunning configure•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8775 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar fez2008-02-011-2/+5
* Added OpenSSL scriptage.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8774 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar fez2008-02-011-1/+49
* Remove duplicate calls (thanks fez)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-281-2/+0
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1