Skip to content

Commit

Permalink
Merging with master
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Nov 14, 2011
2 parents ed4df77 + 9218fd8 commit f0552c3
Show file tree
Hide file tree
Showing 139 changed files with 4,520 additions and 175 deletions.
1 change: 0 additions & 1 deletion libraries/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/access/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion libraries/joomla/application/cli.php
Expand Up @@ -365,7 +365,7 @@ protected function fetchConfigurationData($file = '', $class = 'JConfig')
}
else
{
throw new Exception('Configuration class does not exist.');
throw new RuntimeException('Configuration class does not exist.');
}
}

Expand Down
4 changes: 2 additions & 2 deletions libraries/joomla/application/component/controller.php
Expand Up @@ -287,7 +287,7 @@ public static function getInstance($prefix, $config = array())
}
else
{
throw new Exception(JText::sprintf('JLIB_APPLICATION_ERROR_INVALID_CONTROLLER', $type, $format));
throw new InvalidArgumentException(JText::sprintf('JLIB_APPLICATION_ERROR_INVALID_CONTROLLER', $type, $format));
}
}

Expand All @@ -298,7 +298,7 @@ public static function getInstance($prefix, $config = array())
}
else
{
throw new Exception(JText::sprintf('JLIB_APPLICATION_ERROR_INVALID_CONTROLLER_CLASS', $class));
throw new InvalidArgumentException(JText::sprintf('JLIB_APPLICATION_ERROR_INVALID_CONTROLLER_CLASS', $class));
}

return self::$instance;
Expand Down
1 change: 0 additions & 1 deletion libraries/joomla/application/component/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/application/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/application/input/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/application/module/index.html

This file was deleted.

14 changes: 7 additions & 7 deletions libraries/joomla/application/web.php
Expand Up @@ -324,13 +324,13 @@ public function execute()
$this->compress();
}

// Trigger the onBeforeRender event.
// Trigger the onBeforeRespond event.
$this->triggerEvent('onBeforeRespond');

// Send the application response.
$this->respond();

// Trigger the onBeforeRender event.
// Trigger the onAfterRespond event.
$this->triggerEvent('onAfterRespond');
}

Expand Down Expand Up @@ -367,14 +367,14 @@ protected function render()
'params' => ''
);

// Handle the convention-based default case for themes path.
if (defined('JPATH_BASE'))
if ($this->get('themes.base'))
{
$options['directory'] = JPATH_BASE . '/themes';
$options['directory'] = $this->get('themes.base');
}
// Fall back to constants.
else
{
$options['directory'] = dirname(__FILE__) . '/themes';
$options['directory'] = (defined('JPATH_BASE') ? JPATH_BASE : dirname(__FILE__)) . '/themes';
}

// Parse the document.
Expand Down Expand Up @@ -1042,7 +1042,7 @@ protected function fetchConfigurationData($file = '', $class = 'JConfig')
}
else
{
throw new Exception('Configuration class does not exist.');
throw new RuntimeException('Configuration class does not exist.');
}
}

Expand Down
1 change: 0 additions & 1 deletion libraries/joomla/base/index.html

This file was deleted.

2 changes: 2 additions & 0 deletions libraries/joomla/base/object.php
Expand Up @@ -239,9 +239,11 @@ public function setError($error)
*/
function toString()
{
// @codeCoverageIgnoreStart
// Deprecation warning.
JLog::add('JObject::toString() is deprecated.', JLog::WARNING, 'deprecated');

return $this->__toString();
// @codeCoverageIgnoreEnd
}
}
1 change: 1 addition & 0 deletions libraries/joomla/base/observable.php
Expand Up @@ -16,6 +16,7 @@
* @subpackage Base
* @since 11.1
* @deprecated 12.3
* @codeCoverageIgnore
*/
class JObservable extends JObject
{
Expand Down
1 change: 1 addition & 0 deletions libraries/joomla/base/observer.php
Expand Up @@ -16,6 +16,7 @@
* @subpackage Base
* @since 11.1
* @deprecated 12.3
* @codeCoverageIgnore
*/
abstract class JObserver extends JObject
{
Expand Down
1 change: 0 additions & 1 deletion libraries/joomla/cache/controller/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/cache/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/cache/storage/helpers/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/cache/storage/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/client/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/database/database/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/database/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/database/table/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/error/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/feed/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/feed/renderer/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/html/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/html/renderer/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/json/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/opensearch/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/raw/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/document/xml/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/environment/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/error/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/event/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/filesystem/archive/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/filesystem/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/filesystem/streams/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/filesystem/support/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/filter/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/form/fields/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/form/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/form/rules/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/html/html/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/html/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/html/parameter/element/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/html/parameter/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/html/toolbar/button/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/html/toolbar/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/installer/adapters/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/installer/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/language/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/mail/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/media/filters/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/media/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/plugin/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/registry/format/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/registry/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/session/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/session/storage/index.html

This file was deleted.

4 changes: 2 additions & 2 deletions libraries/joomla/updater/adapters/collection.php
Expand Up @@ -121,13 +121,13 @@ public function _startElement($parser, $name, $attrs = array())
if (!array_key_exists($col, $attrs))
{
$attrs[$col] = '';
if ($col == 'CLIENT_ID')
if ($col == 'CLIENT')
{
$attrs[$col] = 'site';
}
}
}
$client = JApplicationHelper::getClientInfo($attrs['CLIENT_ID'], 1);
$client = JApplicationHelper::getClientInfo($attrs['CLIENT'], 1);
$attrs['CLIENT_ID'] = $client->id;
// Lower case all of the fields
foreach ($attrs as $key => $attr)
Expand Down
1 change: 0 additions & 1 deletion libraries/joomla/updater/adapters/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/updater/index.html

This file was deleted.

8 changes: 0 additions & 8 deletions libraries/joomla/user/helper.php
Expand Up @@ -531,14 +531,6 @@ public static function genRandomPassword($length = 8)
$len = strlen($salt);
$makepass = '';

$stat = @stat(__FILE__);
if (empty($stat) || !is_array($stat))
{
$stat = array(php_uname());
}

mt_srand(crc32(microtime() . implode('|', $stat)));

for ($i = 0; $i < $length; $i++)
{
$makepass .= $salt[mt_rand(0, $len - 1)];
Expand Down
1 change: 0 additions & 1 deletion libraries/joomla/user/index.html

This file was deleted.

25 changes: 0 additions & 25 deletions libraries/joomla/utilities/garbagecron.txt

This file was deleted.

1 change: 0 additions & 1 deletion libraries/joomla/utilities/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/phpmailer/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/phpmailer/language/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/phputf8/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/phputf8/mbstring/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/phputf8/native/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/phputf8/utils/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/simplepie/idn/index.html

This file was deleted.

1 change: 0 additions & 1 deletion libraries/simplepie/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion media/system/js/mootree-uncompressed.js
Expand Up @@ -629,7 +629,7 @@ var MooTreeNode = new Class({
url: url,
onSuccess: this._loaded.bind(this),
onFailure: this._load_err.bind(this)
}).send(url, vars || '');
}).send(vars || '');
}.bind(this).delay(20);

//window.setTimeout(f.bind(this), 20); // allowing a small delay for the browser to draw the loader-icon.
Expand Down

0 comments on commit f0552c3

Please sign in to comment.