Alexander Makarov
3f6704b8d7
Added contructor test for Object, adjusted test itself
2013-02-25 00:51:48 +04:00
Alexander Makarov
8878fb912f
Merge branch 'refs/heads/yii-style-fatal-errors'
2013-02-24 12:13:02 +04:00
Alexander Makarov
37d286ef94
Merge branch 'refs/heads/yii-style-fatal-errors'
2013-02-24 12:12:15 +04:00
Alexander Makarov
2c9918338a
added todo about console
2013-02-21 16:12:50 +04:00
Alexander Makarov
418299ad15
fixed namespace
2013-02-21 16:12:49 +04:00
Alexander Makarov
c00c2dcb1a
renamed yiic webapp -> yiic app
2013-02-21 16:12:49 +04:00
Qiang Xue
a5fe4a6af2
Fixed URLManager bugs.
2013-02-20 08:25:06 -05:00
Qiang Xue
448fa79bb3
added url manager test
2013-02-19 22:06:45 -05:00
Qiang Xue
8037514ed6
finished url manager
2013-02-19 22:06:08 -05:00
Qiang Xue
e26188b34f
URL wip
2013-02-19 19:08:45 -05:00
Alexander Makarov
e5be686849
create command template cleanup
2013-02-20 00:34:02 +04:00
Alexander Makarov
a25f870090
renamed create -> webapp/create, specified global options
2013-02-20 00:30:02 +04:00
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.
2013-02-20 00:14:30 +04:00
Alexander Makarov
97eda21ab6
ErrorException now extends from Exception
2013-02-20 00:00:25 +04:00
Alexander Makarov
63cb47e1f5
fixed assignment
2013-02-19 23:27:29 +04:00
Alexander Makarov
989b95a95b
used imports
2013-02-19 23:27:28 +04:00
Qiang Xue
0093d53432
url wip
2013-02-19 09:22:12 -05:00
Qiang Xue
c08c2e8b72
url wip
2013-02-17 12:50:03 -05:00
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.
2013-02-13 03:51:29 +04:00
Qiang Xue
12fbb0f71d
url WIP
2013-02-11 19:51:18 -05:00
Qiang Xue
f65a0bd9ac
url wip
2013-02-11 16:34:02 -05:00
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
2013-02-12 00:08:28 +04:00
Qiang Xue
e25ad4bc88
URL wip.
2013-02-11 13:29:53 -05:00
Qiang Xue
a946a86386
fixed parseUrl.
2013-02-11 08:49:44 -05:00
Qiang Xue
f31369e7c1
url wip
2013-02-10 21:55:15 -05:00
Qiang Xue
712f4dae0d
url wip
2013-02-10 14:53:35 -05:00
Qiang Xue
ab42ab2d52
url wip
2013-02-08 16:32:43 -05:00
Qiang Xue
379fddfec3
URL manager WIP
2013-02-08 08:41:22 -05:00
Alexander Makarov
1d6b8d856c
twig: ability to specify options
2013-02-08 03:38:08 +04:00
Alexander Makarov
45020ebc72
autoloader draft docs
2013-02-08 03:23:48 +04:00
Alexander Makarov
bb5962f9f5
Basic Smarty and Twig view renderers, docs
2013-02-08 03:23:20 +04:00
Alexander Makarov
066734ccf4
Merge remote-tracking branch 'refs/remotes/origin/master'
2013-02-08 01:37:49 +04:00
Alexander Makarov
80e29130dc
more todos
2013-02-08 01:37:07 +04:00
Qiang Xue
54c539dd51
Fixed buildInCondition bug.
2013-02-07 15:46:15 -05:00
Alexander Makarov
137d472838
console command to flush cache
2013-02-08 00:29:03 +04:00
Alexander Makarov
64fb2a815c
added tests for cache
2013-02-07 23:48:55 +04:00
Alexander Makarov
811880031c
fixed YII_DEBUG exception view
2013-02-07 16:13:57 +04:00
Qiang Xue
e26a9ff4f5
...
2013-02-06 11:06:21 -05:00
Qiang Xue
1c375b9097
bug fixes.
2013-02-06 10:47:40 -05:00
Qiang Xue
a07a67ad8d
minor fix of console commands.
2013-02-05 16:17:07 -05:00
Qiang Xue
8b2b7915b4
Renamed application to app.
2013-02-05 16:12:22 -05:00
Qiang Xue
fcf3f2c893
i18n WIP
2013-02-05 15:21:12 -05:00
Qiang Xue
3c1452e84b
Changed the separator of message category.
2013-02-05 11:48:35 -05:00
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
2013-02-04 16:39:19 -05:00
Qiang Xue
398ac25456
added UserException.
2013-02-03 19:45:44 -05:00
Qiang Xue
af4455eb03
Finished console support.
...
Finished migrate command.
2013-02-03 19:37:29 -05:00
Qiang Xue
6a595de4be
refactored MVC.
2013-02-03 13:54:27 -05:00
Qiang Xue
225d2bb1b3
help cleanup
2013-02-03 09:52:10 -05:00
Qiang Xue
b2662c0cd9
clean up help command.
2013-02-02 23:36:20 -05:00
Qiang Xue
2d7f048b74
Refactored usage error in console commands.
2013-02-01 19:28:38 -05:00