Permalink
Switch branches/tags
Commits on Jul 17, 2017
  1. Fix log level selection for CLI client

    committed Jul 17, 2017
Commits on Jul 16, 2017
  1. Update the documentation on type juggling

    committed Jul 16, 2017
  2. Rewrite integer types to make GMP optionnal

    Try to use PHP's native integer type instead of GMP resources/objets whenever
    possible and mark the GMP extension as suggested rather than required.
    
    The GMP extension is only required when dealing with the following types:
    * "i8" on 32-bit PHP (on 64-bit PHP, PHP integers are used instead)
    * "biginteger" on both 32-bit and 64-bit PHP
    committed Jul 16, 2017
  3. Fix to comply with CS

    committed Jul 16, 2017
  4. Remove dependency on PCRE

    This also replaces the regex used to check for UTF-8 correctness with
    a loop.
    
    The new implementation is more tolerant and can distinguish between
    invalid UTF-8 sequences & valid UTF-8 sequences containing invalid
    characters / reserved characters (which should not be sent anyway).
    
    Such sequences will be sent as binary strings instead of regular strings.
    committed Jul 16, 2017
Commits on Jul 15, 2017
  1. Fix link to compound date/time formats

    Also fix grammar mistake in usage instructions
    committed Jul 15, 2017
  2. Merge tag '3.0.1' into develop

    XRL 3.0.1
    
    Bugfixes:
    
    * The format used for the dateTime.iso3601 XML-RPC data type has been fixed.
      Preiously, it was assumed the same format used by XSD was valid here, when
      in fact, it is not.
    
    * The pattern for the "double" data type has been made stricter.
      This change does not have any impact since valid clients did not emit
      invalid values.
    
    * Fix array vs. struct data type selection. Associative arrays should now
      be properly encoded as XML-RPC structs rather than as XML-RPC arrays.
    
    * Fix download URL in the documentation.
    
    Improvements:
    
    * Improvements have been made in error reporting, so it should be easier
      to diagnose errors stemming from buggy client/server implementations.
    
    * The clients now add a "User-Agent" HTTP header to their XML-RPC requests.
      This improves interoperability because some XML-RPC servers reject
      otherwise valid requests when this header is missing.
    
    Other changes:
    
    * The tests have been updated to be compatible with PHPUnit >= 5.0
      (using actual PHP namespaces instead of the old "_"-based classes).
    committed Jul 15, 2017
  3. Merge branch 'release/3.0.1'

    committed Jul 15, 2017
  4. Update dependencies

    committed Jul 15, 2017
  5. Add a User-Agent to XML-RPC calls

    PHP does not add one automatically and some servers refuse to serve the
    request if this header is not present (usually with a "400 Bad request"
    error message).
    committed Jul 15, 2017
  6. Fix detection of associative arrays in ArrayType

    The "!=" operator returns true as long as both arrays share the same keys,
    despite them having totally different values. Hence the use of "!==" instead.
    committed Jul 15, 2017
  7. Cache the version in the CLI

    The client now calls getVersion() for each RPC call to properly fill
    the User-Agent HTTP header.
    Since getVersion() may need to call external scripts using a shell
    and is therefore costly, the version information is now cached.
    committed Jul 15, 2017
  8. Fix patterns for dateTime.iso3601 & double types

    The XML-RPC type for dateTime.iso3601 uses a format which is slightly
    different from that of XSD.
    
    Also make the pattern for the "double" type stricter (we now properly
    reject +Inf/-Inf/NaN & values expressed using scientific notation).
    committed Jul 15, 2017
Commits on Jul 9, 2017
  1. PHP 5.3 is not supported anymore

    committed Jul 9, 2017
  2. Update distro requirements on travis

    committed Jul 9, 2017
  3. Update dependencies

    committed Jul 9, 2017
Commits on May 9, 2017
  1. Update dependencies

    committed May 9, 2017
  2. Use Composer on RTD

    committed May 9, 2017
Commits on May 7, 2017
  1. Fix URL to phar archive download

    committed May 7, 2017
Commits on Apr 30, 2017
  1. Update dependencies

    committed Apr 30, 2017
Commits on Apr 17, 2017
  1. Update dependencies

    committed Apr 17, 2017
Commits on Apr 16, 2017
  1. Update dependencies

    committed Apr 16, 2017
Commits on Mar 12, 2017
  1. Update dependencies

    committed Mar 12, 2017
Commits on Feb 25, 2017
  1. Update dependencies

    committed Feb 25, 2017
Commits on Feb 6, 2017
  1. Forward compat with phpunit

    committed Feb 6, 2017
  2. Update dependencies

    committed Feb 6, 2017
Commits on Feb 5, 2017
  1. More compat

    committed Feb 5, 2017
  2. Add compat layer

    committed Feb 5, 2017
  3. Update dependencies

    committed Feb 5, 2017