Commit graph

620 commits

Author SHA1 Message Date
Woody Gilk 8d8ea38d9b Optimized a few minor things, added some extra comments, and changed all @package declarations to "Kohana" 2009-03-20 18:01:47 -04:00
Woody Gilk c711143fe2 Renamed Route::set() to Route::add() for better consistency, added Route::directory() to set the controller directory prefix 2009-03-20 17:58:10 -04:00
Woody Gilk bf34b744b2 Added empty extensions for Controller and i18n classes 2009-03-20 17:56:57 -04:00
Woody Gilk a596c776b4 Added a missing "static" to Kohana::load(), thanks colinmollenhour 2009-03-12 10:15:38 +00:00
Geert De Deckere 3210b4b838 Merge branch 'master' of git://github.com/shadowhand/kohana 2009-03-09 15:31:49 +01:00
Woody Gilk c651184ab1 Fixed two small bugs in remote:: helper 2009-03-09 09:56:07 +00:00
Woody Gilk 66c31ce5dc Added Kohana::config() for loading Kohana_Config instances, and fixed Kohana_Config::load() to properly handle the reverse-ordered paths (can't use += append as it will merge in the wrong order 2009-03-09 09:54:56 +00:00
Geert De Deckere 9c8e258e7e Merge branch 'master' of git://github.com/shadowhand/kohana 2009-03-09 08:57:38 +01:00
Woody Gilk 658eac9e66 Cleaned up missing end-of-file newlines and added SYSPATH checks to empty extension files 2009-03-08 23:55:13 +00:00
Geert De Deckere 5205fd8add Strings with single quotes in it will now be escaped by Kohana::debug_var().
Signed-off-by: Woody Gilk <woody.gilk@kohanaphp.com>
2009-03-09 07:41:36 +08:00
Geert De Deckere ea5f0b4ecd Fixed some comment typos in the Kohana class.
Signed-off-by: Woody Gilk <woody.gilk@kohanaphp.com>
2009-03-09 07:41:34 +08:00
Geert De Deckere 7b62845fa8 Strings with single quotes in it will now be escaped by Kohana::debug_var(). 2009-03-08 16:43:35 +01:00
Geert De Deckere b6998ef5b9 Fixed some comment typos in the Kohana class. 2009-03-08 16:39:32 +01:00
Woody Gilk c4e0ed31be Added mimes configuration file, copied from Kohana 2.4 2009-03-07 14:05:58 +00:00
Woody Gilk cb3641150f Started rebuilding Kohana_Cache, removing all fancy ArrayObject generation for values... if the config key does not exist, there will be an error 2009-03-07 14:05:18 +00:00
Woody Gilk 619893d7c0 Fixing a typo in index.php (thanks Geert_DD!) 2009-03-02 00:39:24 +00:00
Woody Gilk 044e485909 Removed some debugging code that was left behind in the welcome controller 2009-03-02 00:07:24 +00:00
Woody Gilk 4aab14fade Added missing file EOLs on several files 2009-03-02 00:06:44 +00:00
Woody Gilk 41828ce650 Updated exception handling: replaced ErrorException with Kohana_Error (due to bugs in ErrorException), added $code parameter to Kohana_Exception::__construct(), replaced the <pre> with <dl> in the error view, to prevent long lines causing horizontal scroll 2009-03-02 00:04:19 +00:00
Woody Gilk 2742517630 Added new Logger class, as the basic logging implementation and moved application/log to application/logs 2009-03-02 00:03:59 +00:00
Woody Gilk f1bfd1aad1 Added welcome controller and view to application/ 2009-03-01 13:46:45 +00:00
Woody Gilk aeab04275b Moved Kohana_Exception::handle() to Kohana::exception_handler() and added comments to Kohana::debug_var() 2009-03-01 13:46:10 +00:00
Woody Gilk 7deddf4f7c Controller:: must be public so that it can used in views and callbacks 2009-03-01 13:44:27 +00:00
Woody Gilk de7b25c5b4 Added Kohana::sanitize(), upddated Kohana::init() to take an array of settings, do Kohana::sanitize() and utf8::clean() on GPC, and properly detect the environment 2009-03-01 13:43:44 +00:00
Woody Gilk cc8ec56810 Added i18n class and initial i18n directory structure, added __() to index.php, and re-enabled translating in Kohana_Exception 2009-03-01 00:38:32 +00:00
Woody Gilk 856e2b8299 Fixed up some minor issues in Kohana::find_file() 2009-03-01 00:32:34 +00:00
Woody Gilk add298ffa8 Made Kohana::cache() generate 2 directories of 2 characters each, which make it less possible to cripple the filesystem when many cache files are present 2009-03-01 00:21:53 +00:00
Woody Gilk 8b99f2354d Added newlines to Kohana::PHP_HEADER 2009-03-01 00:17:49 +00:00
Woody Gilk 135e8133f3 Added a view to generate the Kohana logo view 2009-02-28 11:43:10 +00:00
Woody Gilk 72bac1eb4e Cleaning up several little things in various files 2009-02-28 11:42:29 +00:00
Woody Gilk 05590b9058 Deleted Router, starting work on bootstrap, updated Request and Controller, and added Request_Exception 2009-02-28 11:42:02 +00:00
Woody Gilk bb29b56448 Added Kohana_Exception class and error view and updated index.php to use exception handling 2009-02-28 11:42:01 +00:00
Woody Gilk fddf36e543 Added arr:: array helper 2009-02-28 11:42:01 +00:00
Woody Gilk 448a05b07c Correcting comments in Route 2009-02-27 18:21:52 +00:00
Woody Gilk 4e022e37cc Added basic Controller class 2009-02-24 01:23:47 -06:00
Woody Gilk 12271c68dc Updated Route, adding get/set/all methods to act as a singleton location for Route storage. Created initial Request class, the replacement for Router/Input. 2009-02-24 01:23:16 -06:00
Woody Gilk 020a5dde44 Cleaned up Kohana class, removing all unnecessary things, for better focus on the important code 2009-02-24 01:15:11 -06:00
Woody Gilk d59f66b4a8 Tweaked index.php to be more robust, added bootstrap.php in APPPATH 2009-02-24 01:13:09 -06:00
Woody Gilk 167f397de7 Adding some recommended reading links to DEVELOPERS 2009-02-23 21:26:59 -06:00
Colin Mollenhour 7338481e06 Implemented new router syntax using angle brackets rather than colons.
Signed-off-by: Woody Gilk <woody.gilk@kohanaphp.com>
2009-01-14 00:50:09 +08:00
Woody Gilk b62427c0a6 Updated Kohana::modules to fix 9c4f0ef956 2008-12-14 16:45:14 -06:00
Woody Gilk 1500d221fd Added DEVELOPERS file with git info, split from README 2008-12-14 16:30:54 -06:00
Woody Gilk 9c4f0ef956 Moved module configuration back into config/kohana.php, modified Kohana::init and Kohana::modules 2008-12-14 16:16:00 -06:00
Woody Gilk d1679e9614 Updated install.php to reflect the removal of boostrap.php and MODPATH 2008-12-11 23:50:39 -06:00
Woody Gilk 3d1970d061 Removed bootstrap file, separated into index.php code and Kohana::init() code.
Removed SERVER_UTF8 constant in favor of utf8::.
Added Kohana::i18n(, ) for gettext-like translations.
2008-12-11 23:43:18 -06:00
Woody Gilk b0d1acf0a1 Updated Route class to include __set_state and better organization of methods 2008-12-11 23:40:02 -06:00
Woody Gilk 945f8a1299 Updated new configuration classes a bit 2008-12-11 23:38:10 -06:00
Woody Gilk 1a715e60c6 Added default route 2008-12-11 22:47:15 -06:00
Woody Gilk be1df5257a Added new Kohana_Config and Kohana_Config_Loader, an extensible and poweful ArrayObject configuration loader, getter, and setter. Caching using Kohana::cache() is built in 2008-12-11 22:36:45 -06:00
Woody Gilk 4a8faa646c Cache path should not be written every request, d'oh!! 2008-12-09 23:34:22 -06:00