Alexander Makarov
97eda21ab6
ErrorException now extends from Exception
2013-02-20 00:00:25 +04: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
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
2013-02-12 00:08:28 +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
8b2b7915b4
Renamed application to app.
2013-02-05 16:12:22 -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
b2662c0cd9
clean up help command.
2013-02-02 23:36:20 -05:00
Qiang Xue
7aa80d86f5
refactored execute() and query() methods in db/Command.
2013-02-01 17:18:49 -05:00
Qiang Xue
e3c85b478e
Finished ViewRenderer.
2013-02-01 14:55:37 -05:00
Qiang Xue
25e82b3d1a
ViewRenderer WIP
2013-02-01 12:46:08 -05:00
Qiang Xue
761a9f4472
exception cleanup.
2013-02-01 07:53:32 -05:00
Qiang Xue
6fcac32410
error handling cleanup.
2013-01-31 23:50:53 -05:00
Qiang Xue
e09a791c92
MVC cleanup
2013-01-31 15:05:49 -05:00
Qiang Xue
4402073d97
MVC WIP
2013-01-31 08:51:30 -05:00
Qiang Xue
311f876b7b
MVC WIP
2013-01-30 23:34:04 -05:00
Qiang Xue
bd320533ab
MVC WIP
2013-01-30 19:49:38 -05:00
Qiang Xue
9165a1592a
cleanup.
2013-01-29 09:01:38 -05:00
Qiang Xue
0d21ee67cb
MVC WIP
2013-01-28 18:51:36 -05:00
Qiang Xue
3fa22483c1
refactored logging.
...
MVC WIP
2013-01-27 17:11:06 -05:00
Qiang Xue
77e0be5c69
Merge branch 'master' of git.yiisoft.com:yii2
...
Conflicts:
framework/base/Application.php
2013-01-25 19:08:48 -05:00
Qiang Xue
ceac41b250
MVC WIP
2013-01-25 18:56:56 -05:00
Alexander Makarov
a6961f3404
patched controller and action creation
2013-01-26 00:21:04 +01:00
Qiang Xue
29398f4c22
MVC WIP
2013-01-25 08:44:09 -05:00
Qiang Xue
78396afb02
validator cleanup.
2013-01-20 19:39:56 -05:00
Qiang Xue
76b153a368
fixed event doc.
2013-01-20 13:37:16 -05:00
Qiang Xue
edc48dc9c7
removed ApplicationComponent.
2013-01-20 11:26:15 -05:00
Qiang Xue
fb75c95813
refactored logging.
2013-01-19 22:08:12 -05:00
Qiang Xue
373e6a705e
refactored event declaration convention.
2013-01-18 22:01:08 -05:00
Qiang Xue
6ed01e9645
DB cleanup.
2013-01-18 08:35:09 -05:00
Qiang Xue
6dd495b65f
Added init and afterFind events to AR.
...
Implemented scope support.
2013-01-17 20:58:50 -05:00
Qiang Xue
ed8b795295
renamed exception classes.
2013-01-17 19:55:10 -05:00
Qiang Xue
ebecc09839
DB refactoring.
2013-01-17 16:15:12 -05:00
Qiang Xue
9b62fb6786
DB cleanup.
2013-01-17 08:46:08 -05:00
Qiang Xue
3ca50f3043
clean up AR
2013-01-13 10:23:03 -05:00
Qiang Xue
c72d7dc96b
cleanup WIP
2013-01-08 17:31:03 -05:00
Qiang Xue
04cf537394
move back api docs.
2013-01-08 10:52:35 -05:00
Qiang Xue
88672ed1da
furnishing base classes.
2013-01-07 15:24:47 -05:00
Qiang Xue
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00
Qiang Xue
e5cefb0133
moved api docs.
2013-01-07 11:29:49 -05:00
Qiang Xue
faef457f2c
Fixed Object class.
2013-01-07 11:21:30 -05:00
Qiang Xue
8517ee9e50
reorganized DB classes.
2013-01-05 16:46:53 -05:00
Alexander Makarov
476266a25b
moved UrlManager from web to base
2012-12-26 19:34:41 +04:00
Alexander Makarov
a7abcb0ff0
fixed constructors chain in base Application
2012-12-26 18:49:00 +04:00
Alexander Makarov
5dbf1e49fa
fixed inconsistent return types for View::resolveBasePath
2012-12-26 17:02:22 +04:00
Alexander Makarov
32f34b60b8
error handler now works properly with @
2012-12-26 16:40:25 +04:00