257 Commits

Author SHA1 Message Date
peavey
9b35fab349 Fix our getops implementation on windows. Have optind available, and make sure it always points to the next entry in the argv list as described by POSIX.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11466 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 22:36:45 +00:00
peavey
fdcdf7c1c0 Forget to remove a #endif
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11461 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 18:13:08 +00:00
peavey
1a9b84820c No forget using windows' broken inet_pton and inet_ntop, they are not POSIX compliant and just causes more compile errors. We use our own, period.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11460 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 18:08:49 +00:00
peavey
2f1466ee94 Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >= NTDDI_LONGHORN). I found a similar fix in pythons socketcode and thus think this is fine.
Fixes the breakage Brain mentions in r11407.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11459 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-02 17:42:31 +00:00
special
2523818db5 Use correct behavior (as per C++) for 'delete NULL' on windows; found by Adam and CyberBotX
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11443 e03df62e-2008-0410-955e-edbf42e46eb7
2009-07-19 07:27:30 +00:00
brain
2bb40c5b23 more fixes. inet_pton is now in error, this is because the windows 6.0 sdk defines it, we need some kind of ifdef or something around this to not define our own if we have the 6.0 SDK. Again i will check this if i have chance, otherwise... :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11407 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-12 16:34:23 +00:00
peavey
15b51c2ecc rollback r11326, we're going to make vc9 the officially supported windows build methods since the few of us doing win dev can't keep up maintaining the others.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-23 22:21:35 +00:00
brain
c275233c7c Heres the beef so far
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-23 19:03:40 +00:00
brain
1db1a40c09 more of the fix but it still doesnt build. I know we said this might be unstable, but when writing *windows* code can you all please make sure it BUILDS on windows???
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11261 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-25 11:39:57 +00:00
danieldg
85a787b92b usleep() is no longer needed, and should not be needed in the future
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11252 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23 18:48:58 +00:00
brain
87a4eb739f This is a nicer fix, and we are seen to be explicitly freeing the BSTR values, which explicitly shows any reader of the code that this is a leak prevention measure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11239 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20 00:40:24 +00:00
brain
e0856f1221 Remove an old class member here that is no longer used and has been commented out for months
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11238 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20 00:30:25 +00:00
brain
c70c31c7b7 This needs a test compile, i do not have my laptop to hand to do this. May break win32 build.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11237 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20 00:06:21 +00:00
psychon
b6dbd6caab Update all wiki links to point to the new wiki. This was done automatically with the following command, only .Makefile.inc got some indent fixups by hand.
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
2009-03-15 12:42:35 +00:00
w00t
56d0bc899d Fix win32 build issue.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11204 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-10 23:49:55 +00:00
brain
7df379d61e Allow this to handle RC style names
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11063 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 18:22:41 +00:00
brain
2841f55d4b Fix some stuff for nationalchars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11058 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08 16:56:07 +00:00
peavey
a8e90d2305 Update headers for 2009
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11021 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-01 07:10:40 +00:00
w00t
43847ec9c7 Update copyrights for 2009.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02 18:16:05 +00:00
w00t
97cc4bf672 Place CRT debug defines in win32wrapper.h, so they are defined everywhere. This was also incorrectly inside an ifndef WINDOWS, and hadbeen for a while. (oops.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10917 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-27 03:18:51 +00:00
brain
e56fad4840 Update solutions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10816 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23 20:42:59 +00:00
brain
30ce3ec004 Fix installer to work with the new name for the test confs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10815 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23 20:42:10 +00:00
brain
ad9ef2fe6c start upload in a seperate dos window
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10814 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 23:48:44 +00:00
brain
0c024eeffd I have managed to do this without giving away any hostnames or usernames, so this is secure enough to be part of subversion. still wont release unless you have the correctly named winscp and putty profiles set to the right places, though
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10813 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 23:46:04 +00:00
brain
11d0ad57d5 Add auto build step for site release. The actual batch file that does this wont be included in the build as it contains information relating to the webservers, users who want to do their own site release can roll their own batchfile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10812 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22 22:09:11 +00:00
w00t
8d513f8a47 Redo removal of m_services crap.. temp/ dir readded per jdhore..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10764 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31 17:14:18 +00:00
w00t
2eb2ac95fd Revert "Remove m_services and documentation relating to it. Also remove conf/temp/ (??)"
This reverts commit 500fec7ed0c02df7f4086f1827eaae1167a9ecd9.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10763 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31 17:14:14 +00:00
w00t
f01b480e65 Remove m_services and documentation relating to it. Also remove conf/temp/ (??)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10762 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-31 16:44:37 +00:00
brain
e54f28adaf Update nsis installer scripts with new example confs and test.conf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10681 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-19 12:59:42 +00:00
brain
edef3ac92b Windows compile fixes for RLine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-22 08:38:45 +00:00
brain
8a04f13c86 Merge vc90 update patch from IronLegend, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10555 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-17 22:08:50 +00:00
special
1b290edc9c Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ behavior (and silly, since we have sepstream)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14 03:30:39 +00:00
brain
4b80e90c76 fixed a /MT to be /MD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10484 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09 09:37:41 +00:00
brain
66b1ab1f4d Fix windows project files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10461 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 22:28:24 +00:00
brain
5e4b7f9c2c fixes so m_sqloper builds on win
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10421 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 21:27:15 +00:00
brain
8a14e1223d Auto update modules from src/modules/extra by recopying them in configure if they exist also in src/modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10420 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 20:42:36 +00:00
brain
d27af79ee0 sql api and m_mysql compile fixes for windows
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-05 08:42:41 +00:00
brain
1fd22793d1 Windows compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10343 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 20:30:32 +00:00
brain
b844b70a0f this new stuff in m_ssl_gnutls is NOT in our spec! probably shouldnt be either, because it adds confusion and its clearly documented that initialising tls is done via STARTTLS and CAP advertises it (not to mention clients are already doing it this way)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10334 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28 15:50:43 +00:00
w00t
4608413eb8 s/ /\t/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10315 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:37:04 +00:00
w00t
423481c43e Fix retarded windows linefeeds (brain >:()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10314 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 15:35:53 +00:00
brain
097e19291f remove the testing debug setting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10311 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-27 11:04:19 +00:00
brain
f94a7ed598 Tidy up in the nsis scripts, how it installs the service and removes it (hide the dos box, display informational text in the installer window)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10283 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25 16:11:01 +00:00
brain
d807048fc6 Some comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10261 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:47:20 +00:00
brain
2e9a32349f EWW windows linefeeds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10260 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:45:09 +00:00
brain
b708dff6d2 Use the error name constants here now rather than magic numbers. magic numbers blow goats.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10253 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:05:51 +00:00
brain
50fb079808 Properly name the windows service error constants and put proper descriptions in the error strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10251 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 23:02:03 +00:00
brain
3229dee5bb No names for the service specific errors, probably wont ever name them as theyre never shown in linux
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10245 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 21:05:15 +00:00
brain
a539875ecc Properly give the service specific exit code on failure to start. Now we just need to find out how to retrieve this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10240 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 19:19:57 +00:00
brain
7eb54577bb Move
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10239 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-24 19:08:54 +00:00