Merge branch 'master' of git://github.com/yiisoft/yii.git
Merge branch 'master' of git://github.com/yiisoft/yii.git
Merge branch 'master' of git://github.com/yiisoft/yii.git
Changed renderHead() method for render clients scripts before </head>
Update framework/web/CClientScript.php

Changed renderHead() method for render clients scripts after </title>
Update framework/web/CClientScript.php

Changed renderHead() method for render clients scripts after </title>
Update framework/web/CClientScript.php

Сompromise solution. If we has a <head> we use him, else we use <title>
Added missing activeSearchField() method to CHtml. And searchField() to CActiveForm. For creation of HTML input field of type search, that fixes #1743
add to cache key category
Update framework/db/ar/CActiveRecord.php

Если в ActiveRecord переопределить метод getTableAlias, то будут возникать ошибки неизвестной таблицы t, а так он будет использовать текущий алиас у таблицы
Update framework/db/ar/CActiveRecord.php

method save() always returns true, even if the record does not exist in the database
Fix table alias in ar->exists method
Удалил дополнительную проверку в ar->update, которая приводила к ошибкам
Fixes #1957. Add Primary Key syntax for MySql schema. Also adds support of an Array
of columns rather than just a string
Add changelog lines
Enh #2131: Added Accept header parsing to CHttpRequest to give an array
of accepted types in order of preference
Update framework/validators/CEmailValidator.php

If fsockopen error "Connection refused" (error code: 61) is reached, yii hangs with uncatched 500 error code.

Output html code:
<h1>PHP Error [2]</h1>
<p>fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to mail.somedomain.com:25 (Connection refused)</p>
CHANGELOG line for #2146 [armab]
Update framework/web/CClientScript.php

fixed error
Added in Fileinfo PECL extension check