Commit Graph

46 Commits (ca88c5f4c1b9d334aac04fb9925a84122b97790f)

Author SHA1 Message Date
Gábor Hojtsy 8e765744e8 #207991 by Rok Zlender: xmlrpc_date did not parse dates well 2008-01-09 21:52:43 +00:00
Dries Buytaert 178c28535b - Patch #204900 by webernet: code style fixes. Likely my last patch of the year. Fiew. Thanks all, and see you on the other side. :) 2007-12-31 08:54:37 +00:00
Gábor Hojtsy e08abdd252 #194946 by dmitrig01, Pasqualle: christmas cleanup (some code style issues fixed) 2007-12-23 13:17:20 +00:00
Gábor Hojtsy e6a4b82e6e #196535 by sun, chx, dww: check whether Drupal can issue HTTP requests at all, so we know that this is the cause of problems, not the remote host not responding. 2007-12-20 08:57:55 +00:00
Gábor Hojtsy 3d22fe4357 #199084 by chx: better conformance with ISO date formats in our xmlrpc code 2007-12-11 12:32:33 +00:00
Gábor Hojtsy 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Dries Buytaert 2db2c039fb - Patch #172950 by webernet: code style fixes. 2007-09-04 21:10:45 +00:00
Dries Buytaert 318ac983e2 - Patch #137138 by jvandyk: fixed problem with drupal_http_request() not setting the proper error code when a network effect occurs. Causes the XML-RPC backend to fail. 2007-04-18 20:35:45 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Dries Buytaert c2fd5a3485 - Patch #82131 by beginner: fixed typo. 2006-09-03 08:21:18 +00:00
Dries Buytaert 860f49bacb - Patch #73582 by chx: fixed glitch with return value checking in XML-RPC client. 2006-07-13 18:24:23 +00:00
Dries Buytaert 3d38b57220 - Patch #41481 by Zen, Cvbge, sun et al: bugfix: duplicate key error while editing locale strings. 2006-05-16 09:22:36 +00:00
Neil Drumm f401bea1f3 #63782 by jvandyk, More documentation for xmlrpc.inc 2006-05-16 06:56:49 +00:00
Gerhard Killesreiter 0e8a3c1344 #59513, XML-RPC struct spawns empty parameters, patch by chx 2006-04-24 10:49:38 +00:00
Dries Buytaert 4e9a12ddb8 - Patch #59513 by chx: critical bugfix: XML-RPC drops empty parameters. 2006-04-20 05:44:22 +00:00
Gerhard Killesreiter 70aae83c8e #58166, fixes for typos, patch by Uwe Herrmann 2006-04-11 11:33:15 +00:00
Steven Wittens 4c66ab52f3 - #31301: Don't escape apostrophes in XML-RPC strings.
/me looks down
OH MY GOD... I'M MELLLLTTIIINNGG NOOOOOOO.... AAARGHHHHHH.

Oh well, don't the people inside the asylum say the outside world is insane, too?
2005-12-27 18:42:49 +00:00
Dries Buytaert d52bcb63cc - Patch #37766 by Thomas Ilsche: fixed date handling in XML-RPC backend. 2005-11-21 21:35:43 +00:00
Dries Buytaert dac42f83c8 - Patch #36079 by ax/chx: various blogapi.module fixes. 2005-11-09 19:03:35 +00:00
Dries Buytaert 699df6742b - Patch #34214 by ax:
* xmlrpc_value_calculate_type() fails for empty arrays
   * PHPDoc for xmlrpc_value_calculate_type()
   * use is_*() instead of gettype() as advised in the PHP manual (and document this)
   * coding style
2005-10-28 13:13:30 +00:00
Dries Buytaert f6764cfbd8 - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings. 2005-10-22 15:14:46 +00:00
Dries Buytaert 927d98d068 - Patch #33555 by leoburd: fixed typo in XML-RPC backend. 2005-10-10 09:03:11 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert d6bcdafeed - Patch #7458 by chx: merged the XML-RPC multicall support into xmlrpc() and use lazy-loading for the XML-RPC libraries.(performance improvement). 2005-08-17 15:01:14 +00:00
Dries Buytaert 6ef678e447 - Patch #28871 by Malthus: added missing quotes. 2005-08-15 11:47:09 +00:00
Dries Buytaert 00d21d5cee - Patch #28826 by chx: make xmlrpc_multicall working. 2005-08-14 09:53:40 +00:00
Dries Buytaert b69b43d1ec - Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s.
Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
2005-08-11 12:57:41 +00:00
Steven Wittens 0c8d742283 - #28464: fix XMLRPC array vs. struct type-checking 2005-08-08 18:46:32 +00:00
Dries Buytaert ed3bf725bb - Patch #26391 by chx: replaced the old XML-RPC library with a smaller/better/working one. 2005-07-13 18:46:15 +00:00
Dries Buytaert 2c10ff4b5f - Fixed problems with filter formats and problem with XML-RPC server. 2005-06-29 19:53:14 +00:00
Dries Buytaert 7bdcba1720 - Patch #19739 by Uwe: corrected many typo's in the documentation and code comments 2005-03-31 21:18:08 +00:00
Steven Wittens 20b0e9d05d #15347: PHP5 typecasting error 2005-01-09 09:58:33 +00:00
Dries Buytaert c0ea04814a - Removed some cruft. 2004-11-15 12:00:32 +00:00
Dries Buytaert 10f329c057 - Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
2004-10-19 18:02:31 +00:00
Steven Wittens b817bdb302 - Improved XML encoding fix. There is now a function drupal_xml_parser_create():
/**
 * Wrapper around xml_parser_create() which extracts the encoding from the XML
 * data first and sets the output encoding to UTF-8. This function should be
 * used instead of xml_parser_create(), because PHP's XML parser doesn't check
 * the input encoding itself.
 *
 * This is also where unsupported encodings should be converted.
 * Callers should take this into account: $data might have been changed after
 * the call.
 *
 * @param $data The XML data which will be parsed later.
 */
2004-01-06 12:09:42 +00:00
Dries Buytaert 059e5cca08 - Fixed a weird typo introduced by the <b> -> <strong> patches and indented
the code a bit better.
2003-12-29 17:47:12 +00:00
Dries Buytaert 80f34e5ab0 - XHTML improvements: <b> -> <strong>. Patch by Stefan. 2003-12-29 17:14:27 +00:00
Dries Buytaert 337b3c9de9 - Committed a slightly modified version of Slavica's table prefix patch. 2003-07-10 17:46:44 +00:00
Dries Buytaert c2f3cb2b63 - Renamed 'xmlrpc_decode' to '_xmlrpc_decode' to avoid redeclaration when
PHP's XML-RPC library is enabled.

- Renamed 'xmlrpc_encode' to '_xmlrpc_encode' to avoid redeclaration when
  PHP's XML-RPC library is enabled.

- Removed 'if (funcion_exist("xmlrpc_encode"))' check from common.inc.
2003-04-29 22:02:02 +00:00
Dries Buytaert 4dac201e7c - Patch by Ulf: XHTML-ified the code. 2003-01-21 22:57:43 +00:00
Kjartan Mannes 9062b566b2 - applying patches from Axel Kollmorgen. See
http://list.drupal.org/drupal-devel/2002-February/thread.html#6678
  http://list.drupal.org/drupal-devel/2002-February/thread.html#6629
- removed references to $this->user() from themes.
- removed $BaseTheme->user(). It was deprecated a while back.

NOTE: this update will break custom themes, so make sure you update your
themes before updating!
2002-02-17 13:04:50 +00:00
Dries Buytaert 6f0332a741 - Upgraded the XML-RPC libraries to the latest version as suggested by
Julian.
2001-12-05 18:37:44 +00:00
Kjartan Mannes 7d0c316f82 - fixed pass by reference errors. PHP only allows declaration of &$vars, not
passing them that way.
  For more info: http://no.php.net/manual/en/language.references.pass.php
2001-11-26 18:27:34 +00:00
Dries Buytaert 4a0e498f52 - a batch of updates, including some experimental changes to the moderation
of comments and nodes.
2001-09-27 20:51:26 +00:00
Dries Buytaert 72188675d7 - Upgraded the XML-RPC libraries to version 1.01:
http://groups.yahoo.com/group/xml-rpc/message/3626
2001-09-25 21:40:46 +00:00
Dries Buytaert 1b7510eebf - Added an XML-RPC server. Modules that want to export remote procedure
calls can implement the new 'xmlrpc' hook.

  Example:

   function mymodule_xmlrpc() {
     return array("drupal.myfunction" => array("function" => "mymodule_myfunction"));
   }
2001-09-09 16:47:10 +00:00