9938 Commits

Author SHA1 Message Date
peavey
f1a2b6b478 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
2009-10-11 22:19:20 +00:00
peavey
db3d6ae62d 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
2009-10-11 22:07:24 +00:00
peavey
228c2b2e58 More CoreExport.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11843 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 21:49:18 +00:00
peavey
a20fd5ec0c Remove some redundant headers from VS project file.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11842 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 21:48:44 +00:00
peavey
b84eb454c5 Add new files and headers recently introduced.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11841 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 20:42:14 +00:00
peavey
60664afca1 Include psapi.h to fix stats.cpp compiling.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11840 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 20:39:47 +00:00
peavey
4fa4afe580 CoreExport Membership since windows needs this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11839 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 19:12:23 +00:00
peavey
e4839dc443 Move 2 static extensibles from user class to inspircd class for global access in an attempt to further fix windows build.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11838 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 18:03:17 +00:00
danieldg
deb81c1745 Octets in an IPv4 address are unsigned
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11837 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 17:28:56 +00:00
peavey
74066e0f56 Remove the -Dssize_t declaration now its typedeffed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11836 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 17:10:54 +00:00
peavey
16b1b2681a Ugly-ish hack to select SocketEngine on windows until I or someone else finds a better way.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11835 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 15:30:59 +00:00
peavey
c0922e936a Some fixes to the VS project file.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11834 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 15:25:24 +00:00
peavey
c049a4a0f5 Use CoreExport for the ServerInstance extern. Fixes unresolved symbol error for windows DLLs like modules and commands.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11833 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 15:23:33 +00:00
peavey
9530692eb0 Fixes for SocketThread, missing overload, and a left in deprecated variable.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11832 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 10:17:10 +00:00
peavey
3d005f6b57 Compile fixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11831 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 10:02:53 +00:00
peavey
0725e9bfb0 Fix some signedness.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11830 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 09:59:59 +00:00
peavey
74fcd3830d Some fixes for the VS project file. Spanningtree builds again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11829 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 01:19:15 +00:00
peavey
a59fa8660f Fix Extend usage and a few other things for latest API. Compiles but not tested.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11828 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-11 01:17:29 +00:00
danieldg
df0bdf3908 Fix double dot in half-cloaked resolved hosts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11827 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 21:14:26 +00:00
peavey
5eff6e24a9 Compile fixes, these too take char* on windows and not void*.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11826 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 20:05:36 +00:00
peavey
64904b639d 3rd time lucky? Fix again for setsockopt.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11825 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 19:59:04 +00:00
peavey
bfa2a19d96 Slight tweak to setsockopt fix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11824 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 19:53:18 +00:00
peavey
76b40d554b Compile fixes for windows.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11823 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 19:32:34 +00:00
peavey
1312f2db8e * Fix inspsocket to not include uio.h on windows.
* Wrap writev and some structs to fix inspsocket compile on win.
* Fix a few compile errors due to latest trunk changes in win32wrapper code.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11822 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 17:48:04 +00:00
peavey
3151262b41 Compile fixes for latest changes to trunk.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11821 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 17:30:13 +00:00
danieldg
26cd5393c9 Update m_cloaking to use free-form keys instead of weakening the hash IV
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 17:06:52 +00:00
peavey
892b3fde2f uhm, remove my debug output :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11819 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 14:13:49 +00:00
peavey
72f1e30cb3 Add building of inspircd_version.h to windows port and remove the overlapping values from inspircd_config.h. Use a similar uname-ish build of SYSTEM info string as well as using the same exact info for VERSION and REVISION as the *nixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11818 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 14:06:35 +00:00
psychon
027668741c m_cloaking: Error out on "wrong" cloaking keys
Cloaking keys above 0x80000000 result in different hashes on 64-bit and 32-bit
boxes due to different integer overflow behavior. This means it should make
sense to catch those key and error out on them.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11817 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 12:15:06 +00:00
peavey
57e908f8ce Update Event and Request APIs for this module too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11816 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 10:27:07 +00:00
danieldg
6c8961f569 Update example configs for SSL changes [dKingston]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11815 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 22:41:05 +00:00
danieldg
67b53b588e private, who needs private...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11814 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 22:09:39 +00:00
danieldg
5815ca219e Fix hook finding code and error reporting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11813 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 22:07:46 +00:00
danieldg
611eda9412 Whoops, forgot to commit this file
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11812 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 21:33:50 +00:00
danieldg
ae4c387422 Move autoconnect next-server to TreeSocket::cull, and drop autoconnect reference once a connection is complete
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11811 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 21:31:50 +00:00
danieldg
b6a5e2bd14 Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11810 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 19:00:09 +00:00
danieldg
c4d6ce8c5e Add names for all modes (part 1 of named channel mode list)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08 23:34:01 +00:00
danieldg
7e843c22e1 Update Event and Request APIs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08 23:29:21 +00:00
peavey
c440038736 Make mssql module compile, untested for now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11807 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 19:27:53 +00:00
danieldg
e2ccd93b0f Correctly ignore dummy argument to Version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11806 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 17:50:59 +00:00
danieldg
f9717e35ca Take advantage of link errors to check API_VERSION at module load time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11805 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 16:50:48 +00:00
danieldg
2fabf1ccd1 Clean up m_chanprotect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11804 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 16:47:06 +00:00
danieldg
f6f5e6c55b Counting should not be a programmer's job, I'm apparently bad at it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11803 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 05:07:24 +00:00
danieldg
085a8bc660 Add OnBuildNeighborList hook, replaces all uses of OnHostCycle
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11802 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 23:27:46 +00:00
danieldg
a082f5a323 Make builtin modes static to eliminate confusing destructor exception
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11801 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 20:18:45 +00:00
danieldg
b4a39a0cf7 Deny TR_NICK mode changes with an invalid nick parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11800 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 20:03:28 +00:00
danieldg
9336468f5b Run DelMode and DelModeWatcher in RemoveModule
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 15:43:28 +00:00
danieldg
98b2525070 Fix backwards HideWhoisServer check
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11798 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 14:06:03 +00:00
danieldg
8ed74be517 Fix crash due to null address in DNS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11797 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03 04:08:20 +00:00
danieldg
de25d94673 Get rid of a bunch of memory-wasting C-style strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03 01:52:59 +00:00