Commit Graph

21 Commits

Author SHA1 Message Date
psychon e72c445694 Clean up includes
All the headers are now self-contained (g++ Header.h -o /dev/null).

Some system headers where moved to the .cpp they are actually needed in,
some of our own headers are includes less. (Especially MD5.h)

Headers are sorted alphabetically while in e.g. FileUtils.cpp FileUtils.h
is the first file included.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@915 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:31:16 +00:00
psychon eeec633e30 Update copyright header for 2008
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@910 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:13:07 +00:00
psychon b490b12058 Fix some gcc 4.3 warnings
These are mostly string casts, handling function's return value and some
weird warning about missing spaces on empty while loops.

These were reported by and fixed with Marcus Rueckert <darix@opensu.se>.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@904 726aef4b-f618-498e-8847-2d620e286838
2007-12-20 18:31:48 +00:00
psychon a09a7e79f6 Switch to the copyright headers the GPLv2 wants us to have
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@843 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 18:55:33 +00:00
prozacx 0a62274975 Committing patches from crox/psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@790 726aef4b-f618-498e-8847-2d620e286838
2007-03-12 06:26:54 +00:00
imaginos e522c7f22d check to see whats remaining in buffer and return true
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@782 726aef4b-f618-498e-8847-2d620e286838
2006-09-23 17:58:49 +00:00
imaginos c2b8b7c685 added delimiter support and fixed an eof bug
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@781 726aef4b-f618-498e-8847-2d620e286838
2006-09-23 14:05:18 +00:00
prozacx 6dcacaa79e Added contact info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@752 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:39:48 +00:00
imaginos 365912693c fix initialization for execvp to const type
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@741 726aef4b-f618-498e-8847-2d620e286838
2006-07-10 02:48:57 +00:00
imaginos 775df4f8cf switch to execvp, as system() does its own fork and can cause process to detach completely if parent process dies
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@677 726aef4b-f618-498e-8847-2d620e286838
2006-03-04 09:25:27 +00:00
imaginos d456374e80 made CExecSock into a base class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@675 726aef4b-f618-498e-8847-2d620e286838
2006-03-04 05:21:07 +00:00
prozacx 81eef38929 Made some helper funcs const
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@619 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 08:41:45 +00:00
prozacx a4ca68f6f4 Init fd to -1
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@608 726aef4b-f618-498e-8847-2d620e286838
2006-02-06 02:10:21 +00:00
prozacx ecf431f246 Added CTemplate support which included upgrading String.cpp/h and FileUtils.cpp/h and fixing some issues
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@603 726aef4b-f618-498e-8847-2d620e286838
2006-02-05 05:01:53 +00:00
prozacx 6b4b543808 Upped buffer to 8192 in Copy()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@448 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 04:12:09 +00:00
prozacx 6be9f989cb Added Copy()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@447 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 04:11:09 +00:00
prozacx 653fe468f0 Renamed RightTrim() to TrimRight()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@408 726aef4b-f618-498e-8847-2d620e286838
2005-07-04 23:27:08 +00:00
prozacx 9db44ab1fe Added SetFileName()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@401 726aef4b-f618-498e-8847-2d620e286838
2005-07-01 18:50:53 +00:00
prozacx 078bbcf019 Moved some more functions from CUtils into CString
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@246 726aef4b-f618-498e-8847-2d620e286838
2005-05-07 11:42:10 +00:00
prozacx beb5b49b3f Changed all references to std::string over to CString
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@240 726aef4b-f618-498e-8847-2d620e286838
2005-05-05 18:11:04 +00:00
prozacx b58cb3c8b3 Added CDir and split CFile out from Utils.cpp/h
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@232 726aef4b-f618-498e-8847-2d620e286838
2005-05-02 22:34:11 +00:00