|
From: <br...@us...> - 2007-12-03 16:35:39
|
Revision: 365
http://libirc.svn.sourceforge.net/libirc/?rev=365&view=rev
Author: brlcad
Date: 2007-12-03 08:35:36 -0800 (Mon, 03 Dec 2007)
Log Message:
-----------
accept pelya's sf patch [ 1843257 ] "MSVC 6 project files" -- thanks\!
Modified Paths:
--------------
trunk/libirc/include/IRCTextUtils.h
trunk/libirc/src/IRCServer.cpp
Added Paths:
-----------
trunk/libirc/vc6/
trunk/libirc/vc6/libirc.dsp
trunk/libirc/vc6/libirc.dsw
Modified: trunk/libirc/include/IRCTextUtils.h
===================================================================
--- trunk/libirc/include/IRCTextUtils.h 2007-12-03 16:29:41 UTC (rev 364)
+++ trunk/libirc/include/IRCTextUtils.h 2007-12-03 16:35:36 UTC (rev 365)
@@ -443,7 +443,7 @@
std::string x;
x+=f;
- return find_first_of(text.begin(),text.end(),x.begin(),x.end());
+ return std::find_first_of(text.begin(),text.end(),x.begin(),x.end());
}
inline void eraseFirstOf ( std::string &text, char f )
Modified: trunk/libirc/src/IRCServer.cpp
===================================================================
--- trunk/libirc/src/IRCServer.cpp 2007-12-03 16:29:41 UTC (rev 364)
+++ trunk/libirc/src/IRCServer.cpp 2007-12-03 16:35:36 UTC (rev 365)
@@ -265,11 +265,12 @@
tcpServer->disconnect();
tcpConnection.deleteServerConnection(tcpServer);
tcpServer = NULL;
+ unsigned int i;
- for (unsigned int i = 0; i < (unsigned int)clients.size(); i++ )
+ for ( i = 0; i < (unsigned int)clients.size(); i++ )
deleteClient(clients[i]);
- for (unsigned int i = 0; i < (unsigned int)channels.size(); i++ )
+ for ( i = 0; i < (unsigned int)channels.size(); i++ )
deleteClient(clients[i]);
clients.clear();
Added: trunk/libirc/vc6/libirc.dsp
===================================================================
--- trunk/libirc/vc6/libirc.dsp (rev 0)
+++ trunk/libirc/vc6/libirc.dsp 2007-12-03 16:35:36 UTC (rev 365)
@@ -0,0 +1,202 @@
+# Microsoft Developer Studio Project File - Name="libirc" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Static Library" 0x0104
+
+CFG=libirc - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "libirc.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "libirc.mak" CFG="libirc - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "libirc - Win32 Release" (based on "Win32 (x86) Static Library")
+!MESSAGE "libirc - Win32 Debug" (based on "Win32 (x86) Static Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "libirc - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
+# ADD CPP /nologo /MT /w /W0 /GX /O2 /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo
+
+!ELSEIF "$(CFG)" == "libirc - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
+# ADD CPP /nologo /MTd /w /W0 /Gm /GX /ZI /Od /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FD /GZ /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo
+
+!ENDIF
+
+# Begin Target
+
+# Name "libirc - Win32 Release"
+# Name "libirc - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\src\ircBasicCommands.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\IRCClient.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\ircCommands.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\irClientCommands.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\irClientEvents.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\IRCServer.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\IRCTextUtils.cxx
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\IRCUserManager.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\libIRC.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\net.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\src\TCPConnection.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Group "commandHandlers"
+
+# PROP Default_Filter ".h"
+# Begin Source File
+
+SOURCE=..\src\ircBasicCommands.h
+# End Source File
+# End Group
+# Begin Group "networking"
+
+# PROP Default_Filter ".h"
+# Begin Source File
+
+SOURCE=..\include\net.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\TCPConnection.h
+# End Source File
+# End Group
+# Begin Group "utils"
+
+# PROP Default_Filter ".h"
+# Begin Source File
+
+SOURCE=..\include\IRCTextUtils.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\Singleton.h
+# End Source File
+# End Group
+# Begin Group "IRC spec"
+
+# PROP Default_Filter ".h"
+# Begin Source File
+
+SOURCE=..\include\ircCommands.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\IRCNumerics.h
+# End Source File
+# End Group
+# Begin Source File
+
+SOURCE=..\include\IRCClient.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\IRCEvents.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\IRCServer.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\IRCUserManager.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\libIRC.h
+# End Source File
+# End Group
+# End Target
+# End Project
Property changes on: trunk/libirc/vc6/libirc.dsp
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:eol-style
+ CRLF
Added: trunk/libirc/vc6/libirc.dsw
===================================================================
--- trunk/libirc/vc6/libirc.dsw (rev 0)
+++ trunk/libirc/vc6/libirc.dsw 2007-12-03 16:35:36 UTC (rev 365)
@@ -0,0 +1,29 @@
+Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "libirc"=.\libirc.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
Property changes on: trunk/libirc/vc6/libirc.dsw
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:eol-style
+ CRLF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|