Commit 64b5ae97 authored by Mathieu ROY's avatar Mathieu ROY

New prerelease 1 (on top of 3.512)

parent 76100b24

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

changelog.releases
\ No newline at end of file
changelog.full
\ No newline at end of file
stalag13-utils (3.512+1-20190101) unstable; urgency=low
* Upstream prerelease
-- Mathieu Roy <klink@localhost> Tue, 01 Jan 2019 12:33:29 +0100
stalag13-utils (3.512-20181129) unstable; urgency=low
* Cosmetics/trivial fixes
1.11.3
\ No newline at end of file
1.12.1
\ No newline at end of file
1.11.3
\ No newline at end of file
1.12.1
\ No newline at end of file
......@@ -2,7 +2,7 @@
if (!defined('APP_VERSION'))
{
define('APP_VERSION', '1.11.3');
define('APP_VERSION', '1.12.1');
define('APP_VERSION_TYPE', 'community');
define('APP_INDEX_ROOT_FILE', __FILE__);
define('APP_INDEX_ROOT_PATH', str_replace('\\', '/', rtrim(dirname(__FILE__), '\\/').'/'));
......
<?php
if (!\defined('RAINLOOP_APP_LIBRARIES_PATH'))
{
\define('RAINLOOP_APP_PATH', \rtrim(\realpath(__DIR__), '\\/').'/');
\define('RAINLOOP_APP_LIBRARIES_PATH', RAINLOOP_APP_PATH.'libraries/');
\define('RAINLOOP_MB_SUPPORTED', \function_exists('mb_strtoupper'));
\define('RAINLOOP_INCLUDE_AS_API_DEF', isset($_ENV['RAINLOOP_INCLUDE_AS_API']) && $_ENV['RAINLOOP_INCLUDE_AS_API']);
if (!defined('RL_BACKWARD_CAPABILITY'))
{
\define('RL_BACKWARD_CAPABILITY', true);
include_once RAINLOOP_APP_LIBRARIES_PATH.'RainLoop/Common/BackwardCapability/Account.php';
}
/**
* @param string $sClassName
*
* @return mixed
*/
function rainLoopSplAutoloadNamespaces()
{
return RAINLOOP_INCLUDE_AS_API_DEF ? array('RainLoop', 'Predis') :
array('RainLoop', 'Facebook', 'GuzzleHttp', 'PHPThumb', 'Predis', 'SabreForRainLoop', 'Imagine', 'Detection');
}
/**
* @param string $sClassName
*
* @return mixed
*/
function rainLoopSplAutoloadRegisterFunction($sClassName)
{
if ($sClassName && '\\' === $sClassName[0])
{
$sClassName = \substr($sClassName, 1);
}
foreach (rainLoopSplAutoloadNamespaces() as $sNamespaceName)
{
if (0 === \strpos($sClassName, $sNamespaceName.'\\'))
{
$sPrefix = '';
if ('Detection' === $sNamespaceName)
{
$sPrefix = 'Mobile_Detect/namespaced/';
}
if ('SabreForRainLoop' === $sNamespaceName && !RAINLOOP_MB_SUPPORTED && !defined('RL_MB_FIXED'))
{
\define('RL_MB_FIXED', true);
include_once RAINLOOP_APP_LIBRARIES_PATH.'RainLoop/Common/MbStringFix.php';
}
return include RAINLOOP_APP_LIBRARIES_PATH.$sPrefix.\strtr($sClassName, '\\', '/').'.php';
}
}
return false;
}
\spl_autoload_register('rainLoopSplAutoloadRegisterFunction', false);
}
if (\class_exists('RainLoop\Api'))
{
if (!\class_exists('MailSo\Version', false))
{
include APP_VERSION_ROOT_PATH.'app/libraries/MailSo/MailSo.php';
}
if (!\function_exists('spyc_load_file'))
{
include APP_VERSION_ROOT_PATH.'app/libraries/spyc/Spyc.php';
}
if (\class_exists('MailSo\Version'))
{
if (RAINLOOP_INCLUDE_AS_API_DEF)
{
if (!\defined('APP_API_STARTED'))
{
\define('APP_API_STARTED', true);
\RainLoop\Api::Handle();
}
}
else if (!\defined('APP_STARTED'))
{
\define('APP_STARTED', true);
\RainLoop\Api::Handle();
\RainLoop\Service::Handle();
\RainLoop\Api::ExitOnEnd();
}
}
}
else if (\function_exists('rainLoopSplAutoloadRegisterFunction'))
{
\spl_autoload_unregister('rainLoopSplAutoloadRegisterFunction');
}
<?php
namespace GuzzleHttp\Adapter;
use GuzzleHttp\Message\ResponseInterface;
/**
* Adapter interface used to transfer HTTP requests.
*
* @link http://docs.guzzlephp.org/en/guzzle4/adapters.html for a full
* explanation of adapters and their responsibilities.
*/
interface AdapterInterface
{
/**
* Transfers an HTTP request and populates a response
*
* @param TransactionInterface $transaction Transaction abject to populate
*
* @return ResponseInterface
*/
public function send(TransactionInterface $transaction);
}
<?php
namespace GuzzleHttp\Adapter\Curl;
use GuzzleHttp\Adapter\TransactionInterface;
use GuzzleHttp\Exception\AdapterException;
/**
* Provides context for a Curl transaction, including active handles,
* pending transactions, and whether or not this is a batch or single
* transaction.
*/
class BatchContext
{
/** @var resource Curl multi resource */
private $multi;
/** @var \SplObjectStorage Map of transactions to curl resources */
private $handles;
/** @var \Iterator Yields pending transactions */
private $pending;