w00t
e4acbc95b8
Header update: 2007 -> 2008
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10 13:27:07 +00:00
brain
5c4b7d3003
Somehow, we missed one
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8529 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04 21:26:24 +00:00
brain
59c6dc9853
Fix non-POD passing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8528 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04 21:25:29 +00:00
brain
cadc11999e
Convert all to new Attach() system. The Implements() method needs removing from all modules as it is dead weight.
...
WARNING: there are segfaults here! HERE BE DRAGONS, i am not finished!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8510 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04 18:30:43 +00:00
w00t
b669f920ea
Another big commit, just to please all my fans out there.. cmd_* -> Command*. Muahaha.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21 21:43:48 +00:00
w00t
b57c7f4e46
In the grand tradition of huge fucking commits:
...
- chanrec -> Channel
- userrec -> User
Enjoy.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 20:59:05 +00:00
w00t
694e307c09
class command_t -> class Command. Whey :D
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15 20:55:55 +00:00
om
8394be69a0
Move everything module-related out of InspIRCd and into ModuleManager, there is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so);
...
All modules in the core distribution should also be updated in line with these changes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28 23:32:41 +00:00
w00t
2b3394855d
Add a metric assload of TRANSLATE macros to modules.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7892 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27 16:05:59 +00:00
w00t
4e7c9f5a92
Remove unnecessary header traffic
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27 14:49:08 +00:00
brain
5f17af5118
Implement bug #396 , feature request from Bricker
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7824 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-25 11:26:44 +00:00
w00t
31e2d05225
Add VF_COMMON to a lot modules which require it. Reported by danielg in bug #369 and bug #370 . Thanks, and sorry for the delay. Also fix one or two erroneous CMD_FAILURE that are more understandable as CMD_LOCALONLY. :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7641 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-03 21:22:10 +00:00
peavey
f2acdbc382
OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:30:04 +00:00
peavey
bab14f0dd2
'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
pippijn
2b8ce39c6e
Removed superfluous semicolons
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03 16:40:09 +00:00
w00t
5b3c052062
Conversions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7353 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17 13:29:37 +00:00
special
a338648303
Propagate the gunloadmodule command even if the module isn't loaded locally; bug #299
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7132 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-24 23:36:39 +00:00
brain
76d7e8a068
Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>.
...
This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21 19:13:39 +00:00
w00t
9cf56d917d
Windows support. Tested and working to compile on freebsd and linux. Next step is to make sure it actually works in windows too. ;p. Add Burlex to contributors.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19 15:56:42 +00:00
w00t
9c3a20c151
Last commit of that batch: Fix some returncodes (some stuff here really didn't need to be routed), clarify a few in comments, and also add some todos for myself next.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6978 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11 18:09:22 +00:00
w00t
3a554ef1e9
Remove global namespacing, makes modules compile FASTAH. Also massive update on headers (change to InspIRCd Development Team, extend copyright to 2007).
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15 21:33:22 +00:00
brain
7f9c6c5118
Insert massive change here.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19 16:17:06 +00:00
brain
4b0f6c610f
Now with binary versioning goodness
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01 14:59:38 +00:00
special
a35628400f
Added /greloadmodule to m_globalload.so
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5323 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25 17:35:16 +00:00
brain
7c0c957577
Annotations
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5255 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 14:25:10 +00:00
brain
71ad308979
All commands now return results CMD_FAILURE or CMD_SUCCESS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5150 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-06 17:58:59 +00:00
brain
6050df73f4
Just to mess with om's head, remove helperfuncs.h from everywhere
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 23:31:13 +00:00
brain
846fcfe452
commands.cpp:extern InspIRCd* ServerInstance;
...
helperfuncs.cpp: extern InspIRCd* ServerInstance;
xline.cpp:extern InspIRCd* ServerInstance;
The last 3 extern's in the entire program!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4866 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 01:39:21 +00:00
brain
66098d307c
(Bigger than it looks, i did this with perl inplace edit) -- commands now take an InspIRCd* param to their constructor, so that you can do stuff within them without an extern
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 00:15:07 +00:00
brain
d0b4bb3811
Last of Server:: methods moved to InspIRCd::. Server:: removed.
...
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc)
Next on the todo: Make command handlers have a ServerInstance (gank!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 23:53:48 +00:00
brain
b37a253d96
Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.
...
Changed Parameter for modules from Server* to InspIRCd*.
TODO: Move remaining Server* Modules into InspIRCd* and remove class Server.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 23:19:43 +00:00
brain
396c9ef9f7
FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, GetClass, WriteOpers, GetServerDescription -> into classes
...
ServerConfig takes InspIRCd pointer in its constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10 14:43:29 +00:00
brain
fea1a27cb9
WHEEEEE!!!!!
...
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec.
Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above
All modules updated to use new syntax, my fingers hurt :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08 18:59:13 +00:00
brain
dc8f5d02f7
Add support for syntax of commands in place of the text 'Not enough parameters' in numeric 461, where supported.
...
To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28 00:13:41 +00:00
brain
0757a4a495
mass tidyup, change A LOT of stuff to const char** which was char** (such as parameters to commands in handlers)
...
which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations
(all in all, ive added 2 casts and removed almost a hundred)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16 12:18:29 +00:00
w00t
a7b0c26a4c
Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06 02:25:20 +00:00
brain
5c1affaf21
Missing helperfuncs and someone took writeopers out of globals.h
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3830 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04 16:12:34 +00:00
brain
e2e581f0d3
Server* Srv marked static or moved to private member of module class in all modules, paves way for removal of static-build-munging-regexp that breaks +eI
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3330 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 11:48:09 +00:00
brain
78457f4c7c
Fixes for typos
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3026 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02 20:37:57 +00:00
brain
acba97b36b
Details to follow ;)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3024 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02 20:20:26 +00:00