Alexander Makarov
3bb73e54f9
more tests
12 years ago
Alexander Makarov
aa3d92f715
more tests for Vector
12 years ago
Alexander Makarov
79859238b4
more tests for Dictionary
12 years ago
Alexander Makarov
411a1b84d5
more tests for Object
12 years ago
Alexander Makarov
4c7bd953a1
added test for calling unknown method of Component
12 years ago
Alexander Makarov
695fd37e23
Merge remote-tracking branch 'refs/remotes/origin/master'
12 years ago
Alexander Makarov
f0676a8038
more tests for Behavior and Component
12 years ago
Qiang Xue
e31fa4ec1e
Merge branch 'master' of git.yiisoft.com:yii2
12 years ago
Qiang Xue
1eb1809aa4
finished URL testing.
12 years ago
Alexander Makarov
3f6704b8d7
Added contructor test for Object, adjusted test itself
12 years ago
Alexander Makarov
8878fb912f
Merge branch 'refs/heads/yii-style-fatal-errors'
12 years ago
Alexander Makarov
37d286ef94
Merge branch 'refs/heads/yii-style-fatal-errors'
12 years ago
Alexander Makarov
2c9918338a
added todo about console
12 years ago
Alexander Makarov
418299ad15
fixed namespace
12 years ago
Alexander Makarov
c00c2dcb1a
renamed yiic webapp -> yiic app
12 years ago
Qiang Xue
a5fe4a6af2
Fixed URLManager bugs.
12 years ago
Qiang Xue
448fa79bb3
added url manager test
12 years ago
Qiang Xue
8037514ed6
finished url manager
12 years ago
Qiang Xue
e26188b34f
URL wip
12 years ago
Alexander Makarov
e5be686849
create command template cleanup
12 years ago
Alexander Makarov
a25f870090
renamed create -> webapp/create, specified global options
12 years ago
Alexander Makarov
7f1f1b7767
- Moved handling fatal errors into handleFatalError() method.
...
- Refactored checking for fatal error.
- Suppressed errors in exception handler in case of fatal errors.
12 years ago
Alexander Makarov
97eda21ab6
ErrorException now extends from Exception
12 years ago
Alexander Makarov
63cb47e1f5
fixed assignment
12 years ago
Alexander Makarov
989b95a95b
used imports
12 years ago
Qiang Xue
0093d53432
url wip
12 years ago
Qiang Xue
c08c2e8b72
url wip
12 years ago
Alexander Makarov
2d5db95149
More on error handling:
...
- Correct exit code for require errors in CLI mode. It was 0 even in case of error.
- Solved handling fatals and displaying custom error template w/o output buffering.
- If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette).
- Added ErrorException to store/display type of the error and user-friendly messages.
- Fatals are still logged in PHP log.
- Turned off native display_errors since we're now catching all errors.
- Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory.
- Properly handled errors in __toString (exception can't be thrown in this case).
- In the YII_DEBUG===false mode it's bad to display exception name even in page title.
- In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
12 years ago
Qiang Xue
12fbb0f71d
url WIP
12 years ago
Qiang Xue
f65a0bd9ac
url wip
12 years ago
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
12 years ago
Qiang Xue
e25ad4bc88
URL wip.
12 years ago
Qiang Xue
a946a86386
fixed parseUrl.
12 years ago
Qiang Xue
f31369e7c1
url wip
12 years ago
Qiang Xue
712f4dae0d
url wip
12 years ago
Qiang Xue
ab42ab2d52
url wip
12 years ago
Qiang Xue
379fddfec3
URL manager WIP
12 years ago
Alexander Makarov
1d6b8d856c
twig: ability to specify options
12 years ago
Alexander Makarov
45020ebc72
autoloader draft docs
12 years ago
Alexander Makarov
bb5962f9f5
Basic Smarty and Twig view renderers, docs
12 years ago
Alexander Makarov
066734ccf4
Merge remote-tracking branch 'refs/remotes/origin/master'
12 years ago
Alexander Makarov
80e29130dc
more todos
12 years ago
Qiang Xue
54c539dd51
Fixed buildInCondition bug.
12 years ago
Alexander Makarov
137d472838
console command to flush cache
12 years ago
Alexander Makarov
64fb2a815c
added tests for cache
12 years ago
Alexander Makarov
811880031c
fixed YII_DEBUG exception view
12 years ago
Qiang Xue
e26a9ff4f5
...
12 years ago
Qiang Xue
1c375b9097
bug fixes.
12 years ago
Qiang Xue
a07a67ad8d
minor fix of console commands.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago