summaryrefslogtreecommitdiff
path: root/src/modules/m_rpc_json.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Finally change all the Version() objectsGravatar brain2008-03-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9185 e03df62e-2008-0410-955e-edbf42e46eb7
* Last of the -Wshadow fixes.Gravatar w00t2008-02-111-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8894 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove Implements() method from every module. booya.Gravatar brain2007-11-041-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert all to new Attach() system. The Implements() method needs removing ↵Gravatar brain2007-11-041-0/+2
| | | | | | | | | 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
* All of insp now builds with -pedantic (theres some warnings to squash in ↵Gravatar brain2007-10-231-1/+1
| | | | | | | | | | | 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
* Seems nobody tested this in windows at all, Module::Module(Inst) is not ↵Gravatar brain2007-09-231-2/+1
| | | | | | 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
* Redesigned m_rpc_json to work properly in a modular environment, and added ↵Gravatar special2007-09-131-2050/+324
| | | | | | 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
* Move everything module-related out of InspIRCd and into ModuleManager, there ↵Gravatar om2007-08-281-2/+2
| | | | | | | | 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
* Remove unnecessary header trafficGravatar w00t2007-08-271-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
* Added proper header handling, persistant connections, and working timeouts ↵Gravatar special2007-08-191-2/+4
| | | | | | to m_httpd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7743 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved compatibility with the JSON-RPC specification; beware, major ↵Gravatar special2007-08-191-3/+9
| | | | | | overhauls are afoot. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7742 e03df62e-2008-0410-955e-edbf42e46eb7
* there were two.. yes, you're right SpecialGravatar pippijn2007-07-181-35/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7472 e03df62e-2008-0410-955e-edbf42e46eb7
* untested fix for "unused functions"Gravatar pippijn2007-07-181-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7471 e03df62e-2008-0410-955e-edbf42e46eb7
* publish "JSON-RPC" interfaceGravatar pippijn2007-07-171-28/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7465 e03df62e-2008-0410-955e-edbf42e46eb7
* Now, json-rpc _ONLY_ supports member function pointers. An example is given inGravatar pippijn2007-07-171-30/+35
| | | | | | | | 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
* provide feedback to the user if json throws an exceptionGravatar pippijn2007-07-171-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7462 e03df62e-2008-0410-955e-edbf42e46eb7
* Ignore all exceptions for now.. m_rpc_json is rather willing to throwGravatar pippijn2007-07-171-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7461 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a JSON-RPC module that can be used by other modules to provide a remoteGravatar pippijn2007-07-171-0/+2109
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