From 993925b47a0bfb08e79961c47bcc3d247a03a5dd Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Thu, 21 Aug 2008 12:43:31 +0000
Subject: whitespace fixes a minor re-ordering of the changelog
---
system/application/config/config.php | 2 +-
system/application/config/constants.php | 2 +-
system/application/config/user_agents.php | 6 +-
system/codeigniter/Common.php | 10 +-
system/database/DB.php | 3 +-
system/database/DB_driver.php | 24 +-
system/database/DB_result.php | 2 +-
system/database/drivers/mysql/mysql_driver.php | 18 +-
system/database/drivers/oci8/oci8_result.php | 10 +-
system/helpers/file_helper.php | 104 ++++-----
system/helpers/form_helper.php | 12 +-
system/helpers/inflector_helper.php | 84 +++----
system/helpers/smiley_helper.php | 34 +--
system/helpers/string_helper.php | 4 +-
system/libraries/Controller.php | 12 +-
system/libraries/Email.php | 6 +-
system/libraries/Session.php | 158 ++++++-------
system/libraries/Upload.php | 2 +-
system/libraries/Validation.php | 22 +-
system/libraries/Zip.php | 30 +--
user_guide/changelog.html | 299 ++++++++++++-------------
21 files changed, 422 insertions(+), 422 deletions(-)
diff --git a/system/application/config/config.php b/system/application/config/config.php
index f8fd9c809..da7979788 100644
--- a/system/application/config/config.php
+++ b/system/application/config/config.php
@@ -149,7 +149,7 @@ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
*/
$config['enable_query_strings'] = FALSE;
-$config['directory_trigger'] = 'd'; // experimental not currently in use
+$config['directory_trigger'] = 'd'; // experimental not currently in use
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
diff --git a/system/application/config/constants.php b/system/application/config/constants.php
index 55dc6b777..3d317f58e 100644
--- a/system/application/config/constants.php
+++ b/system/application/config/constants.php
@@ -29,7 +29,7 @@ define('DIR_WRITE_MODE', 0777);
define('FOPEN_READ', 'rb');
define('FOPEN_READ_WRITE', 'r+b');
-define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
+define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
define('FOPEN_WRITE_CREATE', 'ab');
define('FOPEN_READ_WRITE_CREATE', 'a+b');
diff --git a/system/application/config/user_agents.php b/system/application/config/user_agents.php
index d350af3aa..38bfc1f72 100644
--- a/system/application/config/user_agents.php
+++ b/system/application/config/user_agents.php
@@ -163,12 +163,12 @@ $mobiles = array(
$robots = array(
'googlebot' => 'Googlebot',
'msnbot' => 'MSNBot',
- 'slurp' => 'Inktomi Slurp',
- 'yahoo' => 'Yahoo',
+ 'slurp' => 'Inktomi Slurp',
+ 'yahoo' => 'Yahoo',
'askjeeves' => 'AskJeeves',
'fastcrawler' => 'FastCrawler',
'infoseek' => 'InfoSeek Robot 1.0',
- 'lycos' => 'Lycos'
+ 'lycos' => 'Lycos'
);
/* End of file user_agents.php */
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index b0df52921..8f4f9a941 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -93,16 +93,16 @@ function &load_class($class, $instantiate = TRUE)
// folder we'll load the native class from the system/libraries folder.
if (file_exists(APPPATH.'libraries/'.config_item('subclass_prefix').$class.EXT))
{
- require(BASEPATH.'libraries/'.$class.EXT);
+ require(BASEPATH.'libraries/'.$class.EXT);
require(APPPATH.'libraries/'.config_item('subclass_prefix').$class.EXT);
- $is_subclass = TRUE;
+ $is_subclass = TRUE;
}
else
{
if (file_exists(APPPATH.'libraries/'.$class.EXT))
{
- require(APPPATH.'libraries/'.$class.EXT);
- $is_subclass = FALSE;
+ require(APPPATH.'libraries/'.$class.EXT);
+ $is_subclass = FALSE;
}
else
{
@@ -241,7 +241,7 @@ function log_message($level = 'error', $message, $php_error = FALSE)
return;
}
- $LOG =& load_class('Log');
+ $LOG =& load_class('Log');
$LOG->write_log($level, $message, $php_error);
}
diff --git a/system/database/DB.php b/system/database/DB.php
index eb25273a1..ef67c80c8 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -44,8 +44,7 @@ function &DB($params = '', $active_record_override = FALSE)
show_error('You have specified an invalid database connection group.');
}
- $params = $db[$active_group];
- }
+ $params = $db[$active_group] }
elseif (is_string($params))
{
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 60f51d757..1678cffd5 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -142,7 +142,7 @@ class CI_DB_driver {
{
$this->display_error('db_unable_to_create', $this->database);
}
- return FALSE;
+ return FALSE;
}
else
{
@@ -221,7 +221,7 @@ class CI_DB_driver {
{
return $this->display_error('db_unsupported_function');
}
- return FALSE;
+ return FALSE;
}
if ($this->dbdriver == 'oci8')
@@ -258,7 +258,7 @@ class CI_DB_driver {
log_message('error', 'Invalid query: '.$sql);
return $this->display_error('db_invalid_query');
}
- return FALSE;
+ return FALSE;
}
// Verify table prefix and replace if necessary
@@ -543,12 +543,12 @@ class CI_DB_driver {
$this->_trans_status = TRUE;
}
- log_message('debug', 'DB Transaction Failure');
- return FALSE;
+ log_message('debug', 'DB Transaction Failure');
+ return FALSE;
}
$this->trans_commit();
- return TRUE;
+ return TRUE;
}
// --------------------------------------------------------------------
@@ -755,7 +755,7 @@ class CI_DB_driver {
{
return $this->display_error('db_unsupported_function');
}
- return FALSE;
+ return FALSE;
}
$retval = array();
@@ -815,7 +815,7 @@ class CI_DB_driver {
{
return $this->display_error('db_field_param_missing');
}
- return FALSE;
+ return FALSE;
}
if (FALSE === ($sql = $this->_list_columns($this->prep_tablename($table))))
@@ -824,7 +824,7 @@ class CI_DB_driver {
{
return $this->display_error('db_unsupported_function');
}
- return FALSE;
+ return FALSE;
}
$query = $this->query($sql);
@@ -887,7 +887,7 @@ class CI_DB_driver {
{
return $this->display_error('db_field_param_missing');
}
- return FALSE;
+ return FALSE;
}
$query = $this->query($this->_field_data($this->prep_tablename($table)));
@@ -906,7 +906,7 @@ class CI_DB_driver {
*/
function insert_string($table, $data)
{
- $fields = array();
+ $fields = array();
$values = array();
foreach($data as $key => $val)
@@ -1039,7 +1039,7 @@ class CI_DB_driver {
{
return $this->display_error('db_unsupported_function');
}
- return FALSE;
+ return FALSE;
}
else
{
diff --git a/system/database/DB_result.php b/system/database/DB_result.php
index d8d0d0d97..2a7824ff5 100644
--- a/system/database/DB_result.php
+++ b/system/database/DB_result.php
@@ -104,7 +104,7 @@ class CI_DB_result {
return array();
}
- $this->_data_seek(0);
+ $this->_data_seek(0);
while ($row = $this->_fetch_assoc())
{
$this->result_array[] = $row;
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
index 8df6c1b70..889ea17fb 100644
--- a/system/database/drivers/mysql/mysql_driver.php
+++ b/system/database/drivers/mysql/mysql_driver.php
@@ -246,15 +246,15 @@ class CI_DB_mysql_driver extends CI_DB {
function escape_str($str)
{
if (is_array($str))
- {
- foreach($str as $key => $val)
- {
- $str[$key] = $this->escape_str($val);
- }
-
- return $str;
- }
-
+ {
+ foreach($str as $key => $val)
+ {
+ $str[$key] = $this->escape_str($val);
+ }
+
+ return $str;
+ }
+
if (function_exists('mysql_real_escape_string') AND is_resource($this->conn_id))
{
return mysql_real_escape_string($str, $this->conn_id);
diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php
index 73373c882..20ab925fd 100644
--- a/system/database/drivers/oci8/oci8_result.php
+++ b/system/database/drivers/oci8/oci8_result.php
@@ -42,13 +42,15 @@ class CI_DB_oci8_result extends CI_DB_result {
*/
function num_rows()
{
- $rowcount = count($this->result_array());
- @ociexecute($this->stmt_id);
- if ($this->curs_id)
+ $rowcount = count($this->result_array());
+ @ociexecute($this->stmt_id);
+
+ if ($this->curs_id)
{
@ociexecute($this->curs_id);
}
- return $rowcount;
+
+ return $rowcount;
}
// --------------------------------------------------------------------
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index 86c5c09db..b59443c0e 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -262,60 +262,60 @@ if ( ! function_exists('get_dir_file_info'))
* Options are: name, server_path, size, date, readable, writable, executable, fileperms
* Returns FALSE if the file cannot be found.
*
-* @access public
-* @param string path to file
-* @param mixed array or comma separated string of information returned
-* @return array
-*/
+* @access public
+* @param string path to file
+* @param mixed array or comma separated string of information returned
+* @return array
+*/
if ( ! function_exists('get_file_info'))
{
- function get_file_info($file, $returned_values = array('name', 'server_path', 'size', 'date'))
- {
-
- if ( ! file_exists($file))
- {
- return FALSE;
- }
-
- if (is_string($returned_values))
- {
- $returned_values = explode(',', $returned_values);
- }
-
- foreach ($returned_values as $key)
- {
- switch ($key)
- {
- case 'name':
- $fileinfo['name'] = substr(strrchr($file, '/'), 1);
- break;
- case 'server_path':
- $fileinfo['server_path'] = $file;
- break;
- case 'size':
- $fileinfo['size'] = filesize($file);
- break;
- case 'date':
- $fileinfo['date'] = filectime($file);
- break;
- case 'readable':
- $fileinfo['readable'] = is_readable($file);
- break;
- case 'writable':
- // There are known problems using is_weritable on IIS. It may not be reliable - consider fileperms()
- $fileinfo['writable'] = is_writable($file);
- break;
- case 'executable':
- $fileinfo['executable'] = is_executable($file);
- break;
- case 'fileperms':
- $fileinfo['fileperms'] = fileperms($file);
- break;
- }
- }
-
- return $fileinfo;
- }
+ function get_file_info($file, $returned_values = array('name', 'server_path', 'size', 'date'))
+ {
+
+ if ( ! file_exists($file))
+ {
+ return FALSE;
+ }
+
+ if (is_string($returned_values))
+ {
+ $returned_values = explode(',', $returned_values);
+ }
+
+ foreach ($returned_values as $key)
+ {
+ switch ($key)
+ {
+ case 'name':
+ $fileinfo['name'] = substr(strrchr($file, '/'), 1);
+ break;
+ case 'server_path':
+ $fileinfo['server_path'] = $file;
+ break;
+ case 'size':
+ $fileinfo['size'] = filesize($file);
+ break;
+ case 'date':
+ $fileinfo['date'] = filectime($file);
+ break;
+ case 'readable':
+ $fileinfo['readable'] = is_readable($file);
+ break;
+ case 'writable':
+ // There are known problems using is_weritable on IIS. It may not be reliable - consider fileperms()
+ $fileinfo['writable'] = is_writable($file);
+ break;
+ case 'executable':
+ $fileinfo['executable'] = is_executable($file);
+ break;
+ case 'fileperms':
+ $fileinfo['fileperms'] = fileperms($file);
+ break;
+ }
+ }
+
+ return $fileinfo;
+ }
}
// --------------------------------------------------------------------
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 0ad57d532..0c74ac0ff 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -53,7 +53,7 @@ if ( ! function_exists('form_open'))
$form = '
+ - Libraries
+
+ - Updated the Sessions class so that any custom data being saved gets stored to a database rather than the session cookie (assuming you are using a database to store session data), permitting much more data to be saved.
+ - Added the ability to store libraries in subdirectories within either the main "libraries" or the local application "libraries" folder. Please see the Loader class for more info.
+ - Changed the output of the profiler to use style attribute rather then clear, and added the id "codeigniter_profiler" to the container div
+ - Added is_natural() and is_natural_no_zero() to the Validation class.
+
+
- Helpers
- Added current_url() and uri_segments() to URL helper.
@@ -72,15 +80,6 @@ SVN Revision: XXXX
- Updated Date Helper to match the world's current time zones and offsets.
- - Libraries
-
- - Updated the Sessions class so that any custom data being saved gets stored to a database rather than the session cookie (assuming you are using a database to store session data), permitting much more data to be saved.
- - Added the ability to store libraries in subdirectories within either the main "libraries" or the local application "libraries" folder. Please see the Loader class for more info.
- - Changed the output of the profiler to use style attribute rather then clear, and added the id "codeigniter_profiler" to the container div
- - Added is_natural() and is_natural_no_zero() to the Validation class.
-
-
-
- Other changes
- Improved performance and accuracy of xss_clean(), including reduction of false positives on image/file tests.
@@ -155,39 +154,39 @@ SVN Revision: 1238
- Fixed assorted user guide typos or examples (#4574, #4706).
- Added quoted-printable headers to Email class when the multi-part override is used.
- Fixed a double opening <p> tag in the index pages of each system directory.
-
+
Version 1.6.2
Release Date: May 13, 2008
SVN Revision: 1155
- - Active Record
-
- - Added the ability to prevent escaping in having() clauses.
- - Added rename_table() into DBForge.
- - Fixed a bug that wasn't allowing escaping to be turned off if the value of a query was NULL.
- - DB Forge is now assigned to any models that exist after loading (#3457).
-
-
- - Database
-
- - Added Strict Mode to database transactions.
+ - Active Record
+
+ - Added the ability to prevent escaping in having() clauses.
+ - Added rename_table() into DBForge.
+ - Fixed a bug that wasn't allowing escaping to be turned off if the value of a query was NULL.
+ - DB Forge is now assigned to any models that exist after loading (#3457).
+
+
+ - Database
+
+ - Added Strict Mode to database transactions.
- Escape behaviour in where() clauses has changed; values in those with the "FALSE" argument are no longer escaped (ie: quoted).
-
+
- - Config
-
- - Added 'application/vnd.ms-powerpoint' to list of mime types.
- - Added 'audio/mpg' to list of mime types.
+ - Config
+
+ - Added 'application/vnd.ms-powerpoint' to list of mime types.
+ - Added 'audio/mpg' to list of mime types.
- Added new user-modifiable file constants.php containing file mode and fopen constants.
- - Added the ability to set CRLF settings via config in the Email class.
-
-
+ - Added the ability to set CRLF settings via config in the Email class.
+
+
- Libraries
- Added increased security for filename handling in the Upload library.
- Added increased security for sessions for client-side data tampering.
- - The MySQLi forge class is now in sync with MySQL forge.
+ - The MySQLi forge class is now in sync with MySQL forge.
- Added the ability to set CRLF settings via config in the Email class.
- Unit Testing results are now colour coded, and a change was made to the default template of results.
- Added a valid_emails rule to the Validation class.
@@ -195,7 +194,7 @@ SVN Revision: 1155
- The Zip class has undergone a substantial re-write for speed and clarity (thanks stanleyxu for the hard work and code contribution in bug report #3425!)
- - Helpers
+
- Helpers
- Added a Compatibility Helper for using some common PHP 5 functions safely in applications that might run on PHP 4 servers (thanks Seppo for the hard work and code contribution!)
- Added form_button() in the Form helper.
@@ -207,7 +206,7 @@ SVN Revision: 1155
- Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper.
- Added symbolic_permissions() and octal_permissions() to the File helper.
-
+
- Plugins
- Modified captcha generation to first look for the function imagecreatetruecolor, and fallback to imagecreate if it isn't available (#4226).
@@ -257,7 +256,7 @@ SVN Revision: 1155
- Fixed an array to string conversion error in the Validation library (#4425)
- Fixed bug (#4451, #4299, #4339) where failed transactions will not rollback when debug mode is enabled.
- Fixed a bug (#4506) with overlay_watermark() in the Image library preventing support for PNG-24s with alpha transparency
- - Fixed assorted user guide typos (#3453, #4364, #4379, #4399, #4408, #4412, #4448, #4488).
+ - Fixed assorted user guide typos (#3453, #4364, #4379, #4399, #4408, #4412, #4448, #4488).
Version 1.6.1
@@ -279,7 +278,7 @@ SVN Revision: 1155
- Modified xss_clean() to be more intelligent with its handling of URL encoded strings.
- Added $_SERVER, $_FILES, $_ENV, and $_SESSION to sanitization of globals.
- - Added a Path Helper.
+ - Added a Path Helper.
- Simplified _reindex_segments() in the URI class.
- Escaped the '-' in the default 'permitted_uri_chars' config item, to prevent errors if developers just try to add additional characters to the end of the default expression.
- Modified method calling to controllers to show a 404 when a private or protected method is accessed via a URL.
@@ -301,8 +300,8 @@ SVN Revision: 1155
- Made Active Record fully database prefix aware (#3384).
- Fixed a bug where DBForge was outputting invalid SQL in Postgres by adding brackets around the tables in FROM.
- Changed the behaviour of Active Record's update() to make the WHERE clause optional (#3395).
- - Fixed a bug (#3396) where certain POST variables would cause a PHP warning.
- - Fixed a bug in query binding (#3402).
+ - Fixed a bug (#3396) where certain POST variables would cause a PHP warning.
+ - Fixed a bug in query binding (#3402).
- Changed order of SQL keywords in the Profiler $highlight array so OR would not be highlighted before ORDER BY.
- Fixed a bug (#3404) where the MySQLi driver was testing if $this->conn_id was a resource instead of an object.
- Fixed a bug (#3419) connecting to a database via a DSN string.
@@ -317,7 +316,7 @@ SVN Revision: 1155
- DBForge
- - Added DBForge to the database tools.
+ - Added DBForge to the database tools.
- Moved create_database() and drop_database() into DBForge.
- Added add_field(), add_key(), create_table(), drop_table(), add_column(), drop_column(), modify_column() into DBForge.
@@ -326,16 +325,16 @@ SVN Revision: 1155
- Active Record
- Added protect_identifiers() in Active Record.
- - All AR queries are backticked if appropriate to the database.
+ - All AR queries are backticked if appropriate to the database.
- Added where_in(), or_where_in(), where_not_in(), or_where_not_in(), not_like() and or_not_like() to Active Record.
- Added support for limit() into update() and delete() statements in Active Record.
- - Added empty_table() and truncate_table() to Active Record.
- - Added the ability to pass an array of tables to the delete() statement in Active Record.
- - Added count_all_results() function to Active Record.
- - Added select_max(), select_min(), select_avg() and select_sum() to Active Record.
- - Added the ability to use aliases with joins in Active Record.
- - Added a third parameter to Active Record's like() clause to control where the wildcard goes.
- - Added a third parameter to set() in Active Record that withholds escaping data.
+ - Added empty_table() and truncate_table() to Active Record.
+ - Added the ability to pass an array of tables to the delete() statement in Active Record.
+ - Added count_all_results() function to Active Record.
+ - Added select_max(), select_min(), select_avg() and select_sum() to Active Record.
+ - Added the ability to use aliases with joins in Active Record.
+ - Added a third parameter to Active Record's like() clause to control where the wildcard goes.
+ - Added a third parameter to set() in Active Record that withholds escaping data.
- Changed the behaviour of variables submitted to the where() clause with no values to auto set "IS NULL"
@@ -347,8 +346,8 @@ SVN Revision: 1155
- Added $this->db->dbprefix() to manually add database prefixes.
- Added 'random' as an order_by() option , and removed "rand()" as a listed option as it was MySQL only.
- Added a check for NULL fields in the MySQL database backup utility.
- - Added "constrain_by_prefix" parameter to db->list_table() function. If set to TRUE it will limit the result to only table names with the current prefix.
- - Deprecated from Active Record; getwhere() for get_where(); groupby() for group_by(); havingor() for having_or(); orderby() for order_by; orwhere() for or_where(); and orlike() for or_like().
+ - Added "constrain_by_prefix" parameter to db->list_table() function. If set to TRUE it will limit the result to only table names with the current prefix.
+ - Deprecated from Active Record; getwhere() for get_where(); groupby() for group_by(); havingor() for having_or(); orderby() for order_by; orwhere() for or_where(); and orlike() for or_like().
- Modified csv_from_result() to output CSV data more in the spirit of basic rules of RFC 4180.
- Added 'char_set' and 'dbcollat' database configuration settings, to explicitly set the client communication properly.
- Removed 'active_r' configuration setting and replaced with a global $active_record setting, which is more
@@ -375,11 +374,11 @@ SVN Revision: 1155
- Added Flashdata variables, session_id regeneration and configurable session update times to the Session class.
- Removed 'last_visit' from the Session class.
- Added a language entry for valid_ip validation error.
- - Modified prep_for_form() in the Validation class to accept arrays, adding support for POST array validation (via callbacks only)
- - Added an "integer" rule into the Validation library.
+ - Modified prep_for_form() in the Validation class to accept arrays, adding support for POST array validation (via callbacks only)
+ - Added an "integer" rule into the Validation library.
- Added valid_base64() to the Validation library.
- - Documented clear() in the Image Processing library.
- - Changed the behaviour of custom callbacks so that they no longer trigger the "required" rule.
+ - Documented clear() in the Image Processing library.
+ - Changed the behaviour of custom callbacks so that they no longer trigger the "required" rule.
- Modified Upload class $_FILES error messages to be more precise.
- Moved the safe mode and auth checks for the Email library into the constructor.
- Modified variable names in _ci_load() method of Loader class to avoid conflicts with view variables.
@@ -394,18 +393,18 @@ SVN Revision: 1155
- Added img() to the HTML helper.
- Added ability to "extend" Helpers.
- Added an email helper into core helpers.
- - Added strip_quotes() function to string helper.
- - Added reduce_multiples() function to string helper.
- - Added quotes_to_entities() function to string helper.
- - Added form_fieldset(), form_fieldset_close(), form_label(), and form_reset() function to form helper.
- - Added support for external urls in form_open().
- - Removed support for db_backup in MySQLi due to incompatible functions.
- - Javascript Calendar plugin now uses the months and days from the calendar language file, instead of hard-coded values, internationalizing it.
+ - Added strip_quotes() function to string helper.
+ - Added reduce_multiples() function to string helper.
+ - Added quotes_to_entities() function to string helper.
+ - Added form_fieldset(), form_fieldset_close(), form_label(), and form_reset() function to form helper.
+ - Added support for external urls in form_open().
+ - Removed support for db_backup in MySQLi due to incompatible functions.
+ - Javascript Calendar plugin now uses the months and days from the calendar language file, instead of hard-coded values, internationalizing it.
-
- - Documentation Changes
+
+
- Documentation Changes
@@ -430,62 +429,62 @@ SVN Revision: 1155
Fixed a bug (#2542)in the clean_email() method of the Email class to allow for non-numeric / non-sequential array keys.
Fixed a bug (#2545) in _html_entity_decode_callback() when 'global_xss_filtering' is enabled.
Fixed a bug (#2668) in the parser class where numeric data was ignored.
- Fixed a bug (#2679) where the "previous" pagination link would get drawn on the first page.
+ Fixed a bug (#2679) where the "previous" pagination link would get drawn on the first page.
Fixed a bug (#2702) in _object_to_array that broke some types of inserts and updates.
- Fixed a bug (#2732) in the SQLite driver for PHP 4.
- Fixed a bug (#2754) in Pagination to scan for non-positive num_links.
- Fixed a bug (#2762) in the Session library where user agent matching would fail on user agents ending with a space.
- Fixed a bug (#2784) $field_names[] vs $Ffield_names[] in postgre and sqlite drivers.
- Fixed a bug (#2810) in the typography helper causing extraneous paragraph tags when string contains tags.
+ Fixed a bug (#2732) in the SQLite driver for PHP 4.
+ Fixed a bug (#2754) in Pagination to scan for non-positive num_links.
+ Fixed a bug (#2762) in the Session library where user agent matching would fail on user agents ending with a space.
+ Fixed a bug (#2784) $field_names[] vs $Ffield_names[] in postgre and sqlite drivers.
+ Fixed a bug (#2810) in the typography helper causing extraneous paragraph tags when string contains tags.
Fixed a bug (#2849) where arguments passed to a subfolder controller method would be incorrectly shifted, dropping the 3rd segment value.
- Fixed a bug (#2858) which referenced a wrong variable in the Image class.
- Fixed a bug (#2875)when loading plugin files as _plugin. and not _pi.
- Fixed a bug (#2912) in get_filenames() in the File Helper where the array wasn't cleared after each call.
- Fixed a bug (#2974) in highlight_phrase() that caused an error with slashes.
- Fixed a bug (#3003) in the Encryption Library to support modes other than MCRYPT_MODE_ECB
- Fixed a bug (#3015) in the User Agent library where more then 2 languages where not reported with languages().
- Fixed a bug (#3017) in the Email library where some timezones were calculated incorrectly.
- Fixed a bug (#3024) in which master_dim wasn't getting reset by clear() in the Image library.
- Fixed a bug (#3156) in Text Helper highlight_code() causing PHP tags to be handled incorrectly.
- Fixed a bug (#3166) that prevented num_rows from working in Oracle.
- Fixed a bug (#3175) preventing certain libraries from working properly when autoloaded in PHP 4.
- Fixed a bug (#3267) in the Typography Helper where unordered list was listed "un.
- Fixed a bug (#3268) where the Router could leave '/' as the path.
- Fixed a bug (#3279) where the Email class was sending the wrong Content-Transfer-Encoding for some character sets.
- Fixed a bug (#3284) where the rsegment array would not be set properly if the requested URI contained more segments than the routed URI.
- Removed extraneous load of $CFG in _display_cache() of the Output class (#3285).
- Removed an extraneous call to loading models (#3286).
- Fixed a bug (#3310) with sanitization of globals in the Input class that could unset CI's global variables.
- Fixed a bug (#3314) which would cause the top level path to be deleted in delete_files() of the File helper.
- Fixed a bug (#3328) where the smiley helper might return an undefined variable.
- Fixed a bug (#3330) in the FTP class where a comparison wasn't getting made.
- Removed an unused parameter from Profiler (#3332).
- Fixed a bug in database driver where num_rows property wasn't getting updated.
+ Fixed a bug (#2858) which referenced a wrong variable in the Image class.
+ Fixed a bug (#2875)when loading plugin files as _plugin. and not _pi.
+ Fixed a bug (#2912) in get_filenames() in the File Helper where the array wasn't cleared after each call.
+ Fixed a bug (#2974) in highlight_phrase() that caused an error with slashes.
+ Fixed a bug (#3003) in the Encryption Library to support modes other than MCRYPT_MODE_ECB
+ Fixed a bug (#3015) in the User Agent library where more then 2 languages where not reported with languages().
+ Fixed a bug (#3017) in the Email library where some timezones were calculated incorrectly.
+ Fixed a bug (#3024) in which master_dim wasn't getting reset by clear() in the Image library.
+ Fixed a bug (#3156) in Text Helper highlight_code() causing PHP tags to be handled incorrectly.
+ Fixed a bug (#3166) that prevented num_rows from working in Oracle.
+ Fixed a bug (#3175) preventing certain libraries from working properly when autoloaded in PHP 4.
+ Fixed a bug (#3267) in the Typography Helper where unordered list was listed "un.
+ Fixed a bug (#3268) where the Router could leave '/' as the path.
+ Fixed a bug (#3279) where the Email class was sending the wrong Content-Transfer-Encoding for some character sets.
+ Fixed a bug (#3284) where the rsegment array would not be set properly if the requested URI contained more segments than the routed URI.
+ Removed extraneous load of $CFG in _display_cache() of the Output class (#3285).
+ Removed an extraneous call to loading models (#3286).
+ Fixed a bug (#3310) with sanitization of globals in the Input class that could unset CI's global variables.
+ Fixed a bug (#3314) which would cause the top level path to be deleted in delete_files() of the File helper.
+ Fixed a bug (#3328) where the smiley helper might return an undefined variable.
+ Fixed a bug (#3330) in the FTP class where a comparison wasn't getting made.
+ Removed an unused parameter from Profiler (#3332).
+ Fixed a bug in database driver where num_rows property wasn't getting updated.
Fixed a bug in the upload library when allowed_files wasn't defined.
- Fixed a bug in word_wrap() of the Text Helper that incorrectly referenced an object.
- Fixed a bug in Validation where valid_ip() wasn't called properly.
- Fixed a bug in Validation where individual error messages for checkboxes wasn't supported.
- Fixed a bug in captcha calling an invalid PHP function.
- Fixed a bug in the cookie helper "set_cookie" function. It was not honoring the config settings.
- Fixed a bug that was making validation callbacks required even when not set as such.
- Fixed a bug in the XML-RPC library so if a type is specified, a more intelligent decision is made as to the default type.
- Fixed an example of comma-separated emails in the email library documentation.
- Fixed an example in the Calendar library for Showing Next/Previous Month Links.
- Fixed a typo in the database language file.
- Fixed a typo in the image language file "suppor" to "support".
- Fixed an example for XML RPC.
- Fixed an example of accept_charset() in the User Agent Library.
- Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.
- Fixed a typo in the String Helper (uniquid changed to uniqid).
- Fixed typos in the email Language class (email_attachment_unredable, email_filed_smtp_login), and FTP Class (ftp_unable_to_remame).
- Added a stripslashes() into the Upload Library.
- Fixed a series of grammatical and spelling errors in the language files.
- Fixed assorted user guide typos.
+ Fixed a bug in word_wrap() of the Text Helper that incorrectly referenced an object.
+ Fixed a bug in Validation where valid_ip() wasn't called properly.
+ Fixed a bug in Validation where individual error messages for checkboxes wasn't supported.
+ Fixed a bug in captcha calling an invalid PHP function.
+ Fixed a bug in the cookie helper "set_cookie" function. It was not honoring the config settings.
+ Fixed a bug that was making validation callbacks required even when not set as such.
+ Fixed a bug in the XML-RPC library so if a type is specified, a more intelligent decision is made as to the default type.
+ Fixed an example of comma-separated emails in the email library documentation.
+ Fixed an example in the Calendar library for Showing Next/Previous Month Links.
+ Fixed a typo in the database language file.
+ Fixed a typo in the image language file "suppor" to "support".
+ Fixed an example for XML RPC.
+ Fixed an example of accept_charset() in the User Agent Library.
+ Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.
+ Fixed a typo in the String Helper (uniquid changed to uniqid).
+ Fixed typos in the email Language class (email_attachment_unredable, email_filed_smtp_login), and FTP Class (ftp_unable_to_remame).
+ Added a stripslashes() into the Upload Library.
+ Fixed a series of grammatical and spelling errors in the language files.
+ Fixed assorted user guide typos.
Version 1.5.4
Release Date: July 12, 2007
- - Added custom Language files to the autoload options.
+ - Added custom Language files to the autoload options.
- Added stripslashes() to the _clean_input_data() function in the Input class when magic quotes is on so that data will always be un-slashed within the framework.
- Added array to string into the profiler.
- Added some additional mime types in application/config/mimes.php.
@@ -497,10 +496,10 @@ SVN Revision: 1155
- Fixed a bug that was allowing multiple load attempts on extended classes.
- Fixed a bug in the bootstrap file that was incorrectly attempting to discern the full server path even when it was explicity set by the user.
- Fixed a bug in the escape_str() function in the MySQL driver.
- - Fixed a typo in the Calendar library
- - Fixed a typo in rpcs.php library
- - Fixed a bug in the Zip library, providing PC Zip file compatibility with Mac OS X
- - Fixed a bug in router that was ignoring the scaffolding route for optimization
+ - Fixed a typo in the Calendar library
+ - Fixed a typo in rpcs.php library
+ - Fixed a bug in the Zip library, providing PC Zip file compatibility with Mac OS X
+ - Fixed a bug in router that was ignoring the scaffolding route for optimization
- Fixed an IP validation bug.
- Fixed a bug in display of POST keys in the Profiler output
- Fixed a bug in display of queries with characters that would be interpreted as HTML in the Profiler output
@@ -511,59 +510,59 @@ SVN Revision: 1155
- Fixed various doc typos.
- Documented two functions from the String helper that were missing from the user guide: trim_slashes() and reduce_double_slashes().
- Docs now validate to XHTML 1 transitional
- - Updated the XSS Filtering to take into account the IE expression() ability and improved certain deletions to prevent possible exploits
- - Modified the Router so that when Query Strings are Enabled, the controller trigger and function trigger values are sanitized for filename include security.
- - Modified the is_image() method in the Upload library to take into account Windows IE 6/7 eccentricities when dealing with MIMEs
- - Modified XSS Cleaning routine to be more performance friendly and compatible with PHP 5.2's new PCRE backtrack and recursion limits.
+ - Updated the XSS Filtering to take into account the IE expression() ability and improved certain deletions to prevent possible exploits
+ - Modified the Router so that when Query Strings are Enabled, the controller trigger and function trigger values are sanitized for filename include security.
+ - Modified the is_image() method in the Upload library to take into account Windows IE 6/7 eccentricities when dealing with MIMEs
+ - Modified XSS Cleaning routine to be more performance friendly and compatible with PHP 5.2's new PCRE backtrack and recursion limits.
- Modified the URL Helper to type cast the $title as a string in case a numeric value is supplied
- Modified Form Helper form_dropdown() to type cast the keys and values of the options array as strings, allowing numeric values to be properly set as 'selected'
- Deprecated the use if is_numeric() in various places since it allows periods. Due to compatibility problems with ctype_digit(), making it unreliable in some installations, the following regular expression was used instead: preg_match("/[^0-9]/", $n)
- - Deprecated: APPVER has been deprecated and replaced with CI_VERSION for clarity.
+ - Deprecated: APPVER has been deprecated and replaced with CI_VERSION for clarity.
Version 1.5.3
Release Date: April 15, 2007
- - Added array to string into the profiler
- - Code Igniter references updated to CodeIgniter
- - pMachine references updated to EllisLab
- - Fixed a bug in the repeater function of string helper.
- - Fixed a bug in ODBC driver
- - Fixed a bug in result_array() that was returning an empty array when no result is produced.
- - Fixed a bug in the redirect function of the url helper.
- - Fixed an undefined variable in Loader
- - Fixed a version bug in the Postgre driver
- - Fixed a bug in the textarea function of the form helper for use with strings
- - Fixed doc typos.
+ - Added array to string into the profiler
+ - Code Igniter references updated to CodeIgniter
+ - pMachine references updated to EllisLab
+ - Fixed a bug in the repeater function of string helper.
+ - Fixed a bug in ODBC driver
+ - Fixed a bug in result_array() that was returning an empty array when no result is produced.
+ - Fixed a bug in the redirect function of the url helper.
+ - Fixed an undefined variable in Loader
+ - Fixed a version bug in the Postgre driver
+ - Fixed a bug in the textarea function of the form helper for use with strings
+ - Fixed doc typos.
Version 1.5.2
Release Date: February 13, 2007
- - Added subversion information to the downloads page.
+ - Added subversion information to the downloads page.
- Added support for captions in the Table Library
- Fixed a bug in the download_helper that was causing Internet Explorer to load rather then download
- - Fixed a bug in the Active Record Join function that was not taking table prefixes into consideration.
- - Removed unescaped variables in error messages of Input and Router classes
- - Fixed a bug in the Loader that was causing errors on Libraries loaded twice. A debug message is now silently made in the log.
- - Fixed a bug in the form helper that gave textarea a value attribute
- - Fixed a bug in the Image Library that was ignoring resizing the same size image
- - Fixed some doc typos.
+ - Fixed a bug in the Active Record Join function that was not taking table prefixes into consideration.
+ - Removed unescaped variables in error messages of Input and Router classes
+ - Fixed a bug in the Loader that was causing errors on Libraries loaded twice. A debug message is now silently made in the log.
+ - Fixed a bug in the form helper that gave textarea a value attribute
+ - Fixed a bug in the Image Library that was ignoring resizing the same size image
+ - Fixed some doc typos.
Version 1.5.1
Release Date: November 23, 2006
- - Added support for submitting arrays of libraries in the $this->load->library function.
- - Added support for naming custom library files in lower or uppercase.
- - Fixed a bug related to output buffering.
- - Fixed a bug in the active record class that was not resetting query data after a completed query.
- - Fixed a bug that was suppressing errors in controllers.
- - Fixed a problem that can cause a loop to occur when the config file is missing.
- - Fixed a bug that occurred when multiple models were loaded with the third parameter set to TRUE.
- - Fixed an oversight that was not unsetting globals properly in the input sanitize function.
- - Fixed some bugs in the Oracle DB driver.
- - Fixed an incorrectly named variable in the MySQLi result driver.
- - Fixed some doc typos.
+ - Added support for submitting arrays of libraries in the $this->load->library function.
+ - Added support for naming custom library files in lower or uppercase.
+ - Fixed a bug related to output buffering.
+ - Fixed a bug in the active record class that was not resetting query data after a completed query.
+ - Fixed a bug that was suppressing errors in controllers.
+ - Fixed a problem that can cause a loop to occur when the config file is missing.
+ - Fixed a bug that occurred when multiple models were loaded with the third parameter set to TRUE.
+ - Fixed an oversight that was not unsetting globals properly in the input sanitize function.
+ - Fixed some bugs in the Oracle DB driver.
+ - Fixed an incorrectly named variable in the MySQLi result driver.
+ - Fixed some doc typos.
Version 1.5.0.1
Release Date: October 31, 2006
--
cgit v1.2.3-24-g4f1b