Commit Graph

199 Commits

Author SHA1 Message Date
Konstantin Kovalenko
e86ce73f28 Fixes #4133: Fixed PHP 7 usage of the func_get_args() functions in YiiBase.php 2017-02-02 17:51:44 +03:00
Carsten Brandt
d8e716449c prepare for next release 2016-01-13 17:26:56 +01:00
Carsten Brandt
467ff50a77 1.1.17 release. 2016-01-13 17:23:58 +01:00
Max
e0745481a9 Fixes #3872: Added database-based StatePersister implementation 2015-12-05 12:56:40 +03:00
Alexander Nestorov
b23b41babe Fixes #3776: Autoloader now doesn't error in case of non-existing namespaced classes so other autoloaders have chance to handle these
Calls to `class_exists` will, by default, call to `__autoload`, which is actually handled by Yii's `autoload`. Anyways, in PHP 5.3 namespace classes, Yii will try to include a file that could not exist, and thus causing warnings like `include(): Failed opening <path> for inclusion`.

A simple check if the file exists before actually trying to include seems like a good idea and is avoiding all those warnings.
2015-03-05 18:20:05 +03:00
Qiang Xue
7b0281b4f0 prepare for next release. 2014-12-21 14:31:45 -05:00
Qiang Xue
bca0420b67 1.1.16 release. 2014-12-21 14:30:17 -05:00
Carsten Brandt
945a30a302 Revert "Fixes #3465: Added ability to override system path"
This reverts commit e08e47ce3c.

Fix is not complete. To be discussed in https://github.com/yiisoft/yii2/issues/4501
2014-07-29 01:28:50 +02:00
Veaceslav Medvedev
e08e47ce3c Fixes #3465: Added ability to override system path 2014-07-25 16:16:16 +04:00
Qiang Xue
ba4c943039 Renamed the next release to be 1.1.16. 2014-06-29 20:22:19 -04:00
Carsten Brandt
cf1ada15ef Merge branch 'master' into kadishmal-cubrid-database-support
* master: (789 commits)
  'summaryTagName' and 'emptyCssClass' options added to CBaseListView
  Missing entries added to CHANGELOG
  'cli' mode detection at 'CConsoleApplication' fixed
  Eager loading note added to 'Relational Query Options' docs
  Fix CSysLogRoute.php file comment
  Fixes #3324: add syslog support
  CDbConnection ODBC related fixes before merging
  Add ODBC to the requirements checker
  Fix #132: CDbConnection now supports ODBC
  Better fix for <script async="false"
  Fixed #3258
  Fixed #3283
  Remove async from list of Special Attributes so that it is possible to use async=false per issue: #3314
  typo fix in guide
  COciSchema: read column comments from another schema
  Update yii.php
  Add changes #3298 to CHANGELOG
  Added check for the existence of a link href attribute pager
  Added check for the existence of a link href attribute pager
  Update yii.php
  ...
2014-04-22 23:12:34 +02:00
Carsten Brandt
5b82c9dcd0 finished review on cubrid 2014-04-22 23:12:03 +02:00
Carsten Brandt
5513075ce2 Re-added call to Yii::autoload to import() to keep speed
import will check for classmap first before triggering autoloader stack.

issue #2777
2013-09-04 14:42:40 +02:00
Carsten Brandt
045b38ff45 Replaced explicit call to Yii::autoload() with call to autoloader stack
This allows usage of normal class names to be loaded by autoloaders
prepended to the Yii::autoloader()

Should be BC if there is only Yii autoloader and not cause much trouble
when other autoloaders are properly implemented. Works fine with
composer autoloader.

fixes #2777
2013-09-04 13:49:22 +02:00
Qiang Xue
58be961fd4 prepare for next release. 2013-08-11 20:13:46 -04:00
Qiang Xue
f0fee98ee8 1.1.14 release. 2013-08-11 20:12:08 -04:00
Carsten Brandt
18294cffc6 Better fix for #2642
changes made after discussion in #2723
2013-08-06 00:34:13 +02:00
Carsten Brandt
af76e1b632 Add alias to imports when returning
addition to #2723 fixing issue #2642
2013-08-03 11:09:22 +02:00
Charles Pick
597a32c0dc Support third party autoloaders in Yii::import()
This commit adds support for loading namespaced classes
with third party autoloaders when using `Yii::import()`
and `Yii::createComponent()`. It means that you no longer
need to explicitly set aliases for each and every root
namespace you want to use in your app, which makes working
with composer much easier.

It uses reflection to autoload the class, preserving backwards
compatibility.

Fixes #2642.
2013-08-02 19:46:34 +01:00
Carsten Brandt
6b0eb1c117 added warning about appending autoloader
include path will be disable so use with care!
fixes #2638
2013-07-16 13:38:00 +02:00
Qiang Xue
45f4e4a5b3 prepare for next release. 2013-07-14 09:19:34 -04:00
Qiang Xue
2d9982d74a 1.1.14 release candidate. 2013-07-14 09:17:41 -04:00
resurtm
c1161ad73e Merge branch 'master' of github.com:yiisoft/yii into fixes-2336
Conflicts:
	CHANGELOG
	tests/framework/db/ar/CActiveRecord2Test.php
2013-05-28 21:06:37 +06:00
Carsten Brandt
24dd2792f7 Merge pull request #2054 branch '1818-localized-formatter'
* 1818-localized-formatter:
  documentation and changelog for localized formatter
  Created a LocalizedFormatter class

Conflicts:
	CHANGELOG
2013-05-27 01:22:30 +02:00
Carsten Brandt
f076a9e81e Created CRedisCache (backport from yii2)
redis cache uses http://redis.io/ as storage backend.
Feature was requested in discussion in #1302
2013-05-01 20:08:35 +02:00
resurtm
bd0483cfc5 Fixes #2336: PostgreSQL: CDbCommandBuilder uses NULL instead of DEFAULT as default value for the primary keys of serial type. 2013-04-15 18:42:41 +06:00
Carsten Brandt
cc4cb1ff7e Merge branch 'cubrid-database-support' of https://github.com/kadishmal/yii into kadishmal-cubrid-database-support
* 'cubrid-database-support' of https://github.com/kadishmal/yii:
  Ref: converted spaces to tabs.
  Ref: converted spaces to tabs according to Yii coding conventions.
  CUBRID Database 9.0 Support.
2013-03-27 01:29:59 +01:00
Carsten Brandt
9630a882a1 Created a LocalizedFormatter class
issue #1818
2013-01-30 16:59:04 +01:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Alexander Makarov
fd4707d2e5 updated classmap 2013-01-08 13:09:59 +04:00
Esen Sagynov
a9976307f7 Ref: converted spaces to tabs. 2013-01-04 18:57:04 +09:00
Esen Sagynov
eb84b2dab1 Ref: converted spaces to tabs according to Yii coding conventions. 2013-01-04 18:55:14 +09:00
Qiang Xue
8afee6565d prepare for next release 2012-12-30 13:50:04 -05:00
Qiang Xue
e9e4a0d5be Prepare for 1.1.13 release. 2012-12-30 13:45:45 -05:00
Esen Sagynov
c0b90c73bb CUBRID Database 9.0 Support. 2012-12-26 21:30:30 +09:00
Qiang Xue
c538071429 prepare for next release. 2012-12-02 20:01:33 -05:00
Qiang Xue
0f7bee1f5a prepare for 1.1.13 RC release. 2012-12-02 19:56:02 -05:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
resurtm
5112f34a77 Fixes #1481. 2012-09-27 11:51:15 +06:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
Brett Zamir
8b2c61507c Update framework/YiiBase.php
Some grammar fixes
2012-08-31 18:01:55 +08:00
resurtm
62d0119cce Bug #112: MSSQL: database abstraction layer now uses native transaction support of the SQLSRV driver. 2012-08-29 23:52:27 +06:00
Carsten Brandt
d77234b1e7 Merge branch 'master' of https://github.com/yiisoft/yii into issue-124
* 'master' of https://github.com/yiisoft/yii: (651 commits)
  Updated guide Gii Model Generator page screenshot.
  adjusted CHANGELOG
  Requirements checking slightly improved.
  Enhanced CHANGELOG description
  Requirements checker: added support of the Oracle database (pdo_oci extension)
  MSSQL driver types refinements.
  Requirements checker: added support of the MSSQL (pdo_dblib and pdo_sqlsrv extensions).
  Language fixes.
  Preparations for merging fixes of the #556 into 1.1.13 codebase.
  [docs][blog] 'yiic' to 'Gii'
  ajaxUpdate is never false in jquery.yiilistview.js
  Added /docs/guide/fr/caching.overview.twt
  Added /docs/guide/fr/basics.controller.txt
  Added /docs/guide/fr/basics.mvc.txt
  Update framework/web/filters/CHttpCacheFilter.php
  Update docs/guide/fr/toc.txt
  [NL] Dutch messages translation updated
  added history.js license
  prepare for next release.
  prepare for 1.1.12 release.
  ...

Conflicts:
	CHANGELOG
2012-08-28 21:21:27 +02:00
Qiang Xue
bebece36ed prepare for next release. 2012-08-19 08:30:32 -04:00
Qiang Xue
b600af6313 prepare for 1.1.12 release. 2012-08-19 08:27:23 -04:00
Qiang Xue
8118a618ee prepare for next release. 2012-07-29 21:10:59 -04:00
Qiang Xue
bc956f4636 prepare for 1.1.11 release. 2012-07-29 16:07:21 -04:00
Alexander Makarov
7b79e8e3d7 fixed classmap 2012-07-28 03:00:18 +04:00
Alexander Makarov
3ae52c7694 Added CJavaScriptExpression to $_coreClasses class map 2012-07-28 02:11:22 +04:00