summaryrefslogtreecommitdiff
path: root/src/modules/m_rpc_json.cpp
AgeCommit message (Collapse)Author
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11fixed some indentation and spacing in modulespippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Finally change all the Version() objectsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9185 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Last of the -Wshadow fixes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8894 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Remove Implements() method from every module. booya.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Convert all to new Attach() system. The Implements() method needs removing ↵brain
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-10-23All of insp now builds with -pedantic (theres some warnings to squash in ↵brain
modules, and in spanningtree, but its all 'unused parameter'). I suggest we actually go through and satisfy these unused parameter errors for two reasons: (1) it acts as a strong compiler hint leading to better optimization (2) it will give us a good clue of what parameters are NEVER used and should therefore be removed from use (like i just did with AddMode) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8323 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-23Seems nobody tested this in windows at all, Module::Module(Inst) is not ↵brain
valid in msvc 8, Module(Inst) must be used in the constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8063 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-13Redesigned m_rpc_json to work properly in a modular environment, and added ↵special
the beginnings of a framework-inspecific RPC interface for modules. Be warned, this WILL change some - this can be considered an alpha :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8033 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Move everything module-related out of InspIRCd and into ModuleManager, there ↵om
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-27Remove unnecessary header trafficw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Added proper header handling, persistant connections, and working timeouts ↵special
to m_httpd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7743 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19Improved compatibility with the JSON-RPC specification; beware, major ↵special
overhauls are afoot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7742 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-18there were two.. yes, you're right Specialpippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7472 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-18untested fix for "unused functions"pippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7471 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17publish "JSON-RPC" interfacepippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7465 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17Now, json-rpc _ONLY_ supports member function pointers. An example is given inpippijn
ModuleRpcJson::ModuleRpcJson. I must admit that it is kind of ugly but it is the only way I can see right now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7464 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17provide feedback to the user if json throws an exceptionpippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7462 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17Ignore all exceptions for now.. m_rpc_json is rather willing to throwpippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17Added a JSON-RPC module that can be used by other modules to provide a remotepippijn
procedure call interface. This should work in theory, but does not for me. But then, neither does m_httpd_stats so it's probably me... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7460 e03df62e-2008-0410-955e-edbf42e46eb7