kannibalox
f33c2560a3
Default to an empty list when not passed explicit <params>
2024-12-07 19:26:29 +09:00
kannibalox
db1e78fa9d
Update tests to fix typo
2024-12-07 19:26:29 +09:00
kannibalox
48c40ee0c6
Fix typo: methodReponse -> methodResponse
2024-12-07 19:26:29 +09:00
kannibalox
3aeb213dc4
Avoid <int> in tinyxml2 responses
...
It's part of the XML-RPC spec, but some clients only accept i4/i8, which
should be supported nearly universally.
Fixes #1330
2024-12-07 19:26:29 +09:00
kannibalox
036916fd9f
Fix typo in method name
2024-11-25 18:44:28 +09:00
kannibalox
4768eb8356
Fix test to match case change
2024-11-25 18:44:28 +09:00
kannibalox
d6dcbc4a69
Add size limit to XML-RPC documents, defaulting to max SCGI size
2024-11-25 18:44:28 +09:00
kannibalox
902de0b258
Add test for empty int text
2024-11-25 18:44:28 +09:00
kannibalox
01e5df4167
Remove title printing from test
2024-11-25 18:44:28 +09:00
kannibalox
8d85ce5857
Add test case for empty integer
2024-11-25 18:44:28 +09:00
kannibalox
0c2f0b7715
Add test case for invalid floats
2024-11-25 18:44:28 +09:00
kannibalox
fd1d5dbdb2
Add test case for bad boolean value
2024-11-25 18:44:28 +09:00
kannibalox
b360a734f1
Use std::strtoll instead of std::stol
2024-11-25 18:44:28 +09:00
kannibalox
87c6422052
Allow using vendored tinyxml2 for XMLRPC
...
By default, builds will still not have XMLRPC enabled at all and the
configure flag `--with-xmlrpc-tinyxml2` must be specified. If both
xmlrpc-c and tinyxml2 are specified, xmlrpc-c takes precedence.
Basic benchmarks indicate tinyxml2 is 2x faster for small
requests/responses, and that only increases as response sizes get
larger.
2024-11-25 18:44:28 +09:00
rakshasa
a88cab6d2e
Released v0.9.0.
2024-09-29 11:06:14 +00:00
Jari Sundell
8cc1d8f2c5
Optimize build by using a single makefile file. ( #941 )
2019-12-06 00:35:47 +09:00
Jari Sundell
7659cd0ec0
Backport changes from feature-bind.
2019-08-23 23:25:24 +09:00
rakshasa
3b39f37f49
C++11 compatibility fixes.
2014-05-13 23:36:37 +09:00
rakshasa
aa93404278
Added subdirs option to suppress warnings.
2013-08-26 23:47:31 +09:00
skydrome
b113a02584
Fix warning on automake-1.12.4
...
warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2013-05-09 14:00:09 -04:00
rakshasa
bb75f06c6d
Replaced std::placeholders with tr1::placholders.
2012-03-21 01:24:35 +09:00
rakshasa
04acc8a0af
Converted std::bind calls to tr1::bind.
2012-03-21 01:22:25 +09:00
rakshasa
78abb7fed1
Reorder libraries for the unit test.
2012-02-18 02:21:17 +09:00
Jari Sundell
58727fe7fd
Fixed compiler issues with gcc-4.6 c++0x.
2011-11-18 17:28:50 +09:00
rakshasa
6f71a8c1b1
* Added 'p.is_unwanted' and 'p.is_preferred' commands.
...
* Removed std::tr1:: in favor of std:: using namespace.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1202 e378c898-3ddf-0310-93e7-cc216c733640
2011-04-07 08:41:16 +00:00
rakshasa
d9f409b223
* Changed command_base stored in CommandMap from a pointer to an instance.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1169 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-30 12:16:45 +00:00
rakshasa
8b03988612
* Added 'rpc/fixed_key.h' header.
...
* Replaced Command with command_base.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1168 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-30 04:36:02 +00:00
rakshasa
b530d35d94
* More work on rpc::object_storage and moving simple functions over to it.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1165 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-28 15:19:18 +00:00
rakshasa
9362453391
* Added a missing READ_PORT case to a switch in handshake.cc.
...
* Stuff.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1164 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-19 19:52:42 +00:00
rakshasa
d17fa0c684
* Renamed 'check_hash' and added a redirect.
...
* Added proper torrent::Object stack type in rpc::Command.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1160 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-07 08:49:12 +00:00
rakshasa
90da65f8a1
* Cleanup of old command code.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1156 e378c898-3ddf-0310-93e7-cc216c733640
2010-04-04 04:44:45 +00:00
rakshasa
83e993a1eb
* Added missing command_new_slot.{cc,h} files.
...
* Converted more commands.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1150 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-21 09:45:45 +00:00
rakshasa
8622100e09
* Added a new Command type based on std::tr1::function aimed at replacing the current ones.
...
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1149 e378c898-3ddf-0310-93e7-cc216c733640
2010-03-19 09:33:25 +00:00