diff --git authorize.php authorize.php
index 20e4396..4283d6b 100644
--- authorize.php
+++ authorize.php
@@ -134,7 +134,7 @@ if (authorize_access_allowed()) {
     }
 
     $output = theme('authorize_report', array('messages' => $results['messages']));
-    
+
     $links = array();
     if (is_array($results['tasks'])) {
       $links += $results['tasks'];
diff --git includes/ajax.inc includes/ajax.inc
index 6cfba7c..87bb16c 100644
--- includes/ajax.inc
+++ includes/ajax.inc
@@ -328,7 +328,7 @@ function ajax_deliver($page_callback_result) {
   }
   elseif (is_array($page_callback_result) && isset($page_callback_result['#type']) && ($page_callback_result['#type'] == 'ajax_commands')) {
     // Complex AJAX callbacks can return a result that contains a specific
-    // set of commands to send to the browser. 
+    // set of commands to send to the browser.
     if (isset($page_callback_result['#ajax_commands'])) {
       $commands = $page_callback_result['#ajax_commands'];
     }
diff --git includes/authorize.inc includes/authorize.inc
index 1889db4..e160dfc 100644
--- includes/authorize.inc
+++ includes/authorize.inc
@@ -19,7 +19,7 @@ function authorize_filetransfer_form($form_state) {
   // CSS we depend on lives in modules/system/maintenance.css, which is loaded
   // via the default maintenance theme.
   $form['#attached']['js'][] = $base_url . '/misc/authorize.js';
-  
+
   // Get all the available ways to transfer files.
   if (empty($_SESSION['authorize_filetransfer_backends'])) {
     drupal_set_message(t('Unable to continue, no available methods of file transfer'), 'error');
@@ -182,7 +182,7 @@ function authorize_filetransfer_form_submit($form, &$form_state) {
         variable_set('authorize_filetransfer_connection_settings_' . $filetransfer_backend, $connection_settings);
 
         $filetransfer = authorize_get_filetransfer($filetransfer_backend, $form_state['values']['connection_settings'][$filetransfer_backend]);
-        
+
         // Now run the operation.
         authorize_run_operation($filetransfer);
       }
diff --git includes/common.inc includes/common.inc
index 0e291e2..f705974 100644
--- includes/common.inc
+++ includes/common.inc
@@ -3069,7 +3069,7 @@ function base_path() {
  * which on normal pages is up through the preprocess step of theme('html').
  * Adding a link will overwrite a prior link with the exact same 'rel' and
  * 'href' attributes.
- * 
+ *
  * @param $attributes
  *   Associative array of element attributes including 'href' and 'rel'.
  * @param $header
@@ -3475,7 +3475,7 @@ function drupal_load_stylesheet_content($contents, $optimize = FALSE) {
     $contents = preg_replace('{
       (?<=\\\\\*/)([^/\*]+/\*)([^\*/]+\*/)  # Add a backslash also at the end ie-mac hack comment, so the next pass will not touch it.
                                             # The added backshlash does not affect the effectiveness of the hack.
-      }x', '\1\\\\\2', $contents);    
+      }x', '\1\\\\\2', $contents);
     $contents = preg_replace('<
       \s*([@{}:;,]|\)\s|\s\()\s* |          # Remove whitespace around separators, but keep space around parentheses.
       /\*[^*\\\\]*\*+([^/*][^*]*\*+)*/ |    # Remove comments that are not CSS hacks.
diff --git includes/database/database.inc includes/database/database.inc
index 8770f20..eef32e8 100644
--- includes/database/database.inc
+++ includes/database/database.inc
@@ -888,7 +888,7 @@ abstract class DatabaseConnection extends PDO {
         $severity = $logging['default_severity'];
       }
     }
-    
+
     // Record in an array to send to the log after transaction rollback. Messages written
     // directly to a log (with a database back-end) will roll back during the following
     // transaction rollback. This is an array because rollback could be requested multiple
@@ -973,11 +973,11 @@ abstract class DatabaseConnection extends PDO {
             // Log the failed rollback.
             $logging_callback('database', 'Explicit rollback failed: not supported on active connection.', array(), $logging['error_severity']);
           }
-          
+
           // It would be nice to throw an exception here if logging failed,
           // but throwing exceptions in destructors is not supported.
         }
-        
+
         if (isset($logging_callback)) {
           // Play back the logged errors to the specified logging callback post-rollback.
           foreach ($this->rollbackLogs as $log_item) {
@@ -987,7 +987,7 @@ abstract class DatabaseConnection extends PDO {
 
         // Reset any scheduled rollback.
         $this->willRollback = FALSE;
-  
+
         // Reset the error logs.
         $this->rollbackLogs = array();
       }
@@ -1297,7 +1297,7 @@ abstract class Database {
       'error_severity' => $error_severity,
     );
   }
-  
+
   /**
    * Get the logging callback for notices and errors.
    *
@@ -1309,7 +1309,7 @@ abstract class Database {
   final public static function getLoggingCallback() {
     return self::$logging_callback;
   }
-  
+
   /**
    * Retrieve the queries logged on for given logging key.
    *
diff --git includes/database/pgsql/database.inc includes/database/pgsql/database.inc
index bf14ad3..f19c058 100644
--- includes/database/pgsql/database.inc
+++ includes/database/pgsql/database.inc
@@ -47,10 +47,10 @@ class DatabaseConnection_pgsql extends DatabaseConnection {
 
     $options += $this->defaultOptions();
 
-    // The PDO PostgreSQL driver has a bug which 
+    // The PDO PostgreSQL driver has a bug which
     // doesn't type cast booleans correctly when
-    // parameters are bound using associative 
-    // arrays. 
+    // parameters are bound using associative
+    // arrays.
     // See http://bugs.php.net/bug.php?id=48383
     foreach ($args as &$value) {
       if (is_bool($value)) {
diff --git includes/database/pgsql/install.inc includes/database/pgsql/install.inc
index b049b47..bf5f536 100644
--- includes/database/pgsql/install.inc
+++ includes/database/pgsql/install.inc
@@ -32,13 +32,13 @@ class DatabaseTasks_pgsql extends DatabaseTasks {
    */
   protected function checkEncoding() {
     try {
-      if (db_query('SHOW server_encoding')->fetchField() == 'UTF8') { 
+      if (db_query('SHOW server_encoding')->fetchField() == 'UTF8') {
         $this->pass(st('Database is encoded in UTF-8'));
       }
       else {
         $replacements = array(
-          '%encoding' => 'UTF8', 
-          '%driver' => $this->name(), 
+          '%encoding' => 'UTF8',
+          '%driver' => $this->name(),
           '!link' => '<a href="INSTALL.pgsql.txt">INSTALL.pgsql.txt</a>'
         );
         $text  = 'The %driver database must use %encoding encoding to work with Drupal.';
diff --git includes/database/query.inc includes/database/query.inc
index e502e24..a093ab0 100644
--- includes/database/query.inc
+++ includes/database/query.inc
@@ -1353,7 +1353,7 @@ class DatabaseCondition implements QueryConditionInterface, Countable {
 
 /**
  * Returns a new DatabaseCondition, set to "OR" all conditions together.
- * 
+ *
  * @return DatabaseCondition
  */
 function db_or() {
@@ -1362,7 +1362,7 @@ function db_or() {
 
 /**
  * Returns a new DatabaseCondition, set to "AND" all conditions together.
- * 
+ *
  * @return DatabaseCondition
  */
 function db_and() {
@@ -1371,7 +1371,7 @@ function db_and() {
 
 /**
  * Returns a new DatabaseCondition, set to "XOR" all conditions together.
- * 
+ *
  * @return DatabaseCondition
  */
 function db_xor() {
diff --git includes/filetransfer/filetransfer.inc includes/filetransfer/filetransfer.inc
index af8b0e8..98f3d17 100644
--- includes/filetransfer/filetransfer.inc
+++ includes/filetransfer/filetransfer.inc
@@ -80,7 +80,7 @@ abstract class FileTransfer {
     $this->checkPath($path);
     $this->chmodJailed($path, $mode, $recursive);
   }
-  
+
   /**
    * Creates a directory.
    *
diff --git includes/filetransfer/ftp.inc includes/filetransfer/ftp.inc
index 1c2f5c7..af368ad 100644
--- includes/filetransfer/ftp.inc
+++ includes/filetransfer/ftp.inc
@@ -5,7 +5,7 @@
  * Base class for FTP implementations.
  */
 abstract class FileTransferFTP extends FileTransfer {
-  
+
   public function __construct($jail, $username, $password, $hostname, $port) {
     $this->username = $username;
     $this->password = $password;
@@ -27,7 +27,7 @@ abstract class FileTransferFTP extends FileTransfer {
   static function factory($jail, $settings) {
     $settings['hostname'] = empty($settings['hostname']) ? 'localhost' : $settings['hostname'];
     $settings['port'] = empty($settings['port']) ? 21 : $settings['port'];
-    
+
     if (function_exists('ftp_connect')) {
       $class = 'FileTransferFTPExtension';
     }
@@ -46,7 +46,7 @@ abstract class FileTransferFTP extends FileTransfer {
  * Connection class using the FTP URL wrapper.
  */
 class FileTransferFTPWrapper extends FileTransferFTP {
-  
+
   function connect() {
     $this->connection = 'ftp://' . urlencode($this->username) . ':' . urlencode($this->password) . '@' . $this->hostname . ':' . $this->port . '/';
     if (!is_dir($this->connection)) {
diff --git includes/filetransfer/local.inc includes/filetransfer/local.inc
index 7d6392c..fe21019 100644
--- includes/filetransfer/local.inc
+++ includes/filetransfer/local.inc
@@ -53,7 +53,7 @@ class FileTransferLocal extends FileTransfer implements FileTransferChmodInterfa
       throw new FileTransferException('Cannot remove file %file.', NULL, array('%file' => $file));
     }
   }
-  
+
   public function isDirectory($path) {
     return is_dir($path);
   }
diff --git includes/filetransfer/ssh.inc includes/filetransfer/ssh.inc
index 2cee170..9e1b5bd 100644
--- includes/filetransfer/ssh.inc
+++ includes/filetransfer/ssh.inc
@@ -59,7 +59,7 @@ class FileTransferSSH extends FileTransfer implements FileTransferChmodInterface
       throw new FileTransferException('Cannot remove @directory.', NULL, array('@directory' => $destination));
     }
   }
-  
+
   /**
    * WARNING: This is untested.  It is not currently used, but should do the trick.
    */
diff --git includes/form.inc includes/form.inc
index f62159b..7e1fc6b 100644
--- includes/form.inc
+++ includes/form.inc
@@ -3233,7 +3233,7 @@ function batch_process($redirect = NULL, $url = 'batch', $redirect_callback = 'd
   $batch =& batch_get();
 
   drupal_theme_initialize();
-  
+
   if (isset($batch)) {
     // Add process information
     $process_info = array(
@@ -3248,7 +3248,7 @@ function batch_process($redirect = NULL, $url = 'batch', $redirect_callback = 'd
     );
     $batch += $process_info;
 
-    // The batch is now completely built. Allow other modules to make changes to the 
+    // The batch is now completely built. Allow other modules to make changes to the
     // batch so that it is easier to reuse batch processes in other enviroments.
     drupal_alter('batch', $batch);
 
diff --git includes/locale.inc includes/locale.inc
index 993e9bd..5e5c452 100644
--- includes/locale.inc
+++ includes/locale.inc
@@ -473,7 +473,7 @@ function locale_languages_delete_form_submit($form, &$form_state) {
       ->condition('language', $form_state['values']['langcode'])
       ->execute();
     module_invoke_all('multilingual_settings_changed');
-    $variables = array('%locale' => $languages[$form_state['values']['langcode']]->name);    
+    $variables = array('%locale' => $languages[$form_state['values']['langcode']]->name);
     drupal_set_message(t('The language %locale has been removed.', $variables));
     watchdog('locale', 'The language %locale has been removed.', $variables);
   }
diff --git includes/mail.inc includes/mail.inc
index c6584ba..df64309 100644
--- includes/mail.inc
+++ includes/mail.inc
@@ -183,7 +183,7 @@ function drupal_mail($module, $key, $to, $language, $params = array(), $from = N
  * default. To specificy a different class for all mail sent by one module, set
  * the class name as the value for the key corresponding to the module name. To
  * specificy a class for a particular message sent by one module, set the class
- * name as the value for the array key that is the message id, which is 
+ * name as the value for the array key that is the message id, which is
  * "${module}_${key}".
  *
  * For example to debug all mail sent by the user module by logging it to a
diff --git includes/menu.inc includes/menu.inc
index adfafb4..a21203d 100644
--- includes/menu.inc
+++ includes/menu.inc
@@ -430,7 +430,7 @@ function menu_get_item($path = NULL, $router_item = NULL) {
 
 /**
  * Execute the page callback associated with the current path.
- * 
+ *
  * @param $path
  *   The drupal path whose handler is to be be executed. If set to NULL, then
  *   the current path is used.
diff --git includes/updater.inc includes/updater.inc
index 1256860..c80ffe7 100644
--- includes/updater.inc
+++ includes/updater.inc
@@ -8,7 +8,7 @@
  * Normally, the FileTransfer is provided when the site owner is redirected to
  * authorize.php as part of a multistep process.
  */
- 
+
 /**
  * Interface for a class which can update a Drupal project.
  *
@@ -71,7 +71,7 @@ class Updater {
    * @var string $source Directory to install from.
    */
   public $source;
-  
+
   public function __construct($source) {
     $this->source = $source;
     $this->name = self::getProjectName($source);
@@ -214,7 +214,7 @@ class Updater {
       if ($args['make_backup']) {
         $this->makeBackup($args['install_dir'], $args['backup_dir']);
       }
-      
+
       if (!$this->name) {
         // This is bad, don't want to delete the install directory.
         throw new UpdaterException(t('Fatal error in update, cowardly refusing to wipe out the install directory.'));
diff --git install.php install.php
index 6522ad6..53eabe4 100644
--- install.php
+++ install.php
@@ -973,7 +973,7 @@ function install_database_errors($database, $settings_file) {
 
     try {
       db_run_tasks($database['driver']);
-    } 
+    }
     catch (DatabaseTaskException $e) {
       // These are generic errors, so we do not have any specific key of the
       // database connection array to attach them to; therefore, we just put
@@ -1094,7 +1094,7 @@ function install_select_profile_form($form, &$form_state, $profile_files) {
   foreach ($profile_files as $profile) {
     // TODO: is this right?
     include_once DRUPAL_ROOT . '/' . $profile->uri;
-    
+
     $details = install_profile_info($profile->name);
     $profiles[$profile->name] = $details;
 
@@ -1700,7 +1700,7 @@ function install_configure_form_submit($form, &$form_state) {
   // Enable update.module if this option was selected.
   if ($form_state['values']['update_status_module'][1]) {
     drupal_install_modules(array('update'));
- 
+
     // Add the site maintenance account's email address to the list of
     // addresses to be notified when updates are available, if selected.
     if ($form_state['values']['update_status_module'][2]) {
diff --git misc/contextual_links.css misc/contextual_links.css
index 7b95153..5b4fd0e 100644
--- misc/contextual_links.css
+++ misc/contextual_links.css
@@ -51,7 +51,7 @@ div.contextual-links-wrapper ul.contextual-links {
 .contextual-links-region:hover a.contextual-links-trigger,
 div.contextual-links-active a.contextual-links-trigger,
 div.contextual-links-active ul.contextual-links {
-  display: block;	
+  display: block;
 }
 ul.contextual-links li {
   line-height: 100%;
diff --git modules/aggregator/aggregator.api.php modules/aggregator/aggregator.api.php
index 7cab1e2..684dcbe 100644
--- modules/aggregator/aggregator.api.php
+++ modules/aggregator/aggregator.api.php
@@ -82,12 +82,12 @@ function hook_aggregator_fetch_info() {
  *   $feed->source_string contains the raw feed data as a string. Parse data
  *   from $feed->source_string and expose it to other modules as an array of
  *   data items on $feed->items.
- * 
+ *
  *   Feed format:
  *   - $feed->description (string) - description of the feed
  *   - $feed->image (string) - image for the feed
  *   - $feed->etag (string) - value of feed's entity tag header field
- *   - $feed->modified (UNIX timestamp) - value of feed's last modified header 
+ *   - $feed->modified (UNIX timestamp) - value of feed's last modified header
  *     field
  *   - $feed->items (Array) - array of feed items.
  *
@@ -101,8 +101,8 @@ function hook_aggregator_fetch_info() {
  *   AUTHOR (string) - the feed item's author
  *   GUID (string) - RSS/Atom global unique identifier
  *   LINK (string) - the feed item's URL
- * 
- * @return 
+ *
+ * @return
  *   TRUE if parsing was successful, FALSE otherwise.
  *
  * @see hook_aggregator_parse_info()
@@ -116,7 +116,7 @@ function hook_aggregator_parse($feed) {
     $feed->items = $items;
     return TRUE;
   }
-  return FALSE;  
+  return FALSE;
 }
 
 /**
diff --git modules/aggregator/aggregator.parser.inc modules/aggregator/aggregator.parser.inc
index 24d6066..c09507b 100644
--- modules/aggregator/aggregator.parser.inc
+++ modules/aggregator/aggregator.parser.inc
@@ -157,7 +157,7 @@ function aggregator_parse_feed(&$data, $feed) {
     if (empty($item['author']) && !empty($item['dc:creator'])) {
       $item['author'] = $item['dc:creator'];
     }
-     
+
     $item += array('author' => '', 'description' => '');
 
     // Store on $feed object. This is where processors will look for parsed items.
diff --git modules/block/block.admin.inc modules/block/block.admin.inc
index 8cdf6dc..0406711 100644
--- modules/block/block.admin.inc
+++ modules/block/block.admin.inc
@@ -23,7 +23,7 @@ function block_admin_demo($theme = NULL) {
  */
 function block_admin_display($theme = NULL) {
   global $theme_key;
-  
+
   drupal_theme_initialize();
 
   if (!isset($theme)) {
@@ -142,14 +142,14 @@ function block_admin_display_form_submit($form, &$form_state) {
  */
 function _block_compare($a, $b) {
   global $theme_key;
-  
+
   // Theme should be set before calling this function, or the current theme
   // is being used.
   $theme = &drupal_static(__FUNCTION__ . ':theme');
   if (!isset($theme)) {
     $theme = $theme_key;
   }
-  
+
   $regions = &drupal_static(__FUNCTION__ . ':regions');
   // We need the region list to correctly order by region.
   if (!isset($regions)) {
@@ -224,7 +224,7 @@ function block_admin_configure($form, &$form_state, $module, $delta) {
         ':delta' => $block->delta,
         ':theme' => $key,
       ))->fetchField();
-  
+
       $form['regions'][$key] = array(
         '#type' => 'select',
         '#title' => t('!theme region', array('!theme' => $theme->info['name'])),
@@ -461,12 +461,12 @@ function block_add_block_form_submit($form, &$form_state) {
         'visibility' => (int) $form_state['values']['visibility'],
         'pages' => trim($form_state['values']['pages']),
         'custom' => (int) $form_state['values']['custom'],
-        'title' => $form_state['values']['title'], 
+        'title' => $form_state['values']['title'],
         'module' => $form_state['values']['module'],
-        'theme' => $theme->name, 
+        'theme' => $theme->name,
         'status' => 0,
         'weight' => 0,
-        'delta' => $delta, 
+        'delta' => $delta,
         'cache' => DRUPAL_NO_CACHE,
       ));
     }
@@ -492,7 +492,7 @@ function block_add_block_form_submit($form, &$form_state) {
     ));
   }
   $query->execute();
-  
+
   // Store regions per theme for this block
   foreach ($form_state['values']['regions'] as $theme => $region) {
     db_merge('block')
diff --git modules/block/block.tpl.php modules/block/block.tpl.php
index 8243252..d2e8074 100644
--- modules/block/block.tpl.php
+++ modules/block/block.tpl.php
@@ -37,11 +37,11 @@
  */
 ?>
 <div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
- 
+
 <?php if ($contextual_links): ?>
   <?php print render($contextual_links); ?>
 <?php endif; ?>
- 
+
 <?php if ($block->subject): ?>
   <h2<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
 <?php endif;?>
diff --git modules/book/book-all-books-block.tpl.php modules/book/book-all-books-block.tpl.php
index c0bea14..3ef3e76 100644
--- modules/book/book-all-books-block.tpl.php
+++ modules/book/book-all-books-block.tpl.php
@@ -9,7 +9,7 @@
  *
  * Available variables:
  * - $book_menus: Array of book outlines keyed to the parent book ID. Call
- *   render() on each to print it as an unordered list. 
+ *   render() on each to print it as an unordered list.
  */
 ?>
 <?php foreach ($book_menus as $book_id => $menu) : ?>
diff --git modules/color/color.module modules/color/color.module
index 3aaa37c..72e0355 100644
--- modules/color/color.module
+++ modules/color/color.module
@@ -11,7 +11,7 @@ function color_help($path, $arg) {
       $output .= '<p>' . t('The Color module allows users with the <em>Administer site configuration</em> permission to quickly and easily change the color scheme of themes that have been built to be compatible with it. For more information, see the online handbook entry for <a href="@color">Color module</a>.', array('@color' => 'http://drupal.org/handbook/modules/color')) . '</p>';
       $output .= '<h3>' . t('Uses') . '</h3>';
       $output .= '<dl>';
-      $output .= '<dt>' . t('Changing colors') . '</dt>'; 
+      $output .= '<dt>' . t('Changing colors') . '</dt>';
       $output .= '<dd>' . t("Using the Color module allows you to easily change the color of links, backgrounds, text, and other theme elements. To change the color settings for a compatible theme, select the <em>configure</em> link for your theme on the <a href='@configure'>Themes administration page</a>. If you don't see a color picker on that page, then your theme is not compatible with the color module. If you are sure that the theme does indeed support the color module, but the color picker does not appear, then <a href='@troubleshoot'>follow these troubleshooting procedures</a>.", array('@configure' => url('admin/appearance'), '@troubleshoot' => 'http://drupal.org/node/109457')) . '</dd>';
       $output .= '<dd>' . t("The Color module saves a modified copy of the theme's specified stylesheets in the files directory. This means that if you make any manual changes to your theme's stylesheet, <em>you must save your color settings again, even if they haven't changed</em>. This step is required because the module stylesheets (in the files directory) need to be recreated to include your changes.") . '</dd>';
       $output .= '</dl>';
diff --git modules/comment/comment.module modules/comment/comment.module
index 932c77e..c7873f7 100644
--- modules/comment/comment.module
+++ modules/comment/comment.module
@@ -1393,7 +1393,7 @@ function comment_save($comment) {
   catch (Exception $e) {
     $transaction->rollback('comment', $e->getMessage(), array(), WATCHDOG_ERROR);
   }
-  
+
 }
 
 /**
diff --git modules/field/modules/list/list.test modules/field/modules/list/list.test
index c14d74a..27e462f 100644
--- modules/field/modules/list/list.test
+++ modules/field/modules/list/list.test
@@ -85,7 +85,7 @@ class ListFieldTestCase extends DrupalWebTestCase {
     $this->assertTrue(!empty($form['card_1'][LANGUAGE_NONE][2]), t('Option 2 exists'));
     $this->assertTrue(!empty($form['card_1'][LANGUAGE_NONE][3]), t('Option 3 exists'));
   }
-  
+
 }
 
 /**
@@ -99,24 +99,24 @@ class ListFieldUITestCase extends DrupalWebTestCase {
       'group' => 'Field types',
     );
   }
-  
+
   function setUp() {
     FieldUITestCase::setUp();
   }
-   
+
   /**
    * Tests that allowed values are properly validated in the UI.
    */
   function testAllowedValues() {
     $element_name = "field[settings][allowed_values]";
-    
+
     //Test 'List' field type.
     $admin_path = $this->createListFieldAndEdit('list');
     //Check that non-integer keys are rejected.
     $edit = array($element_name => "1.1|one\n");
     $this->drupalPost($admin_path, $edit, t('Save settings'));
     $this->assertText("keys must be integers", t('Form vaildation failed.'));
-    
+
     // Test 'List (number)' field type.
     $admin_path = $this->createListFieldAndEdit('list_number');
     //Check that non-numeric keys are rejected.
@@ -130,23 +130,23 @@ class ListFieldUITestCase extends DrupalWebTestCase {
     $edit = array($element_name => "1|one\n" . $this->randomName(255) . "|two");
     $this->drupalPost($admin_path, $edit, t('Save settings'));
     $this->assertText("each key must be a string less than 255 characters", t('Form vaildation failed.'));
-    
+
     // Test 'List (boolean)' field type.
-    $admin_path = $this->createListFieldAndEdit('list_boolean');    
+    $admin_path = $this->createListFieldAndEdit('list_boolean');
     // Check that invalid option keys are rejected.
     $edit = array($element_name => "1|one\n2|two");
     $this->drupalPost($admin_path, $edit, t('Save settings'));
     $this->assertText("keys must be either 0 or 1", t('Form vaildation failed.'));
-    
+
     //Check that missing option causes failure.
     $edit = array($element_name => "1|one");
     $this->drupalPost($admin_path, $edit, t('Save settings'));
-    $this->assertText("two values are required", t('Form vaildation failed.'));    
+    $this->assertText("two values are required", t('Form vaildation failed.'));
   }
-  
+
   /**
    * Helper function to create list field of a given type and get the edit page.
-   * 
+   *
    * @param string $type
    *   'list', 'list_boolean', 'list_number', or 'list_text'
    */
@@ -168,6 +168,6 @@ class ListFieldUITestCase extends DrupalWebTestCase {
     $admin_path = 'admin/structure/types/manage/' . $this->hyphen_type . '/fields/' . $field_name;
     return $admin_path;
   }
-  
+
 }
 
diff --git modules/help/help.api.php modules/help/help.api.php
index 1fd0e38..ae15b70 100644
--- modules/help/help.api.php
+++ modules/help/help.api.php
@@ -26,7 +26,7 @@
  *   is being requested; e.g., 'admin/node' or 'user/edit'. If the router path
  *   includes a % wildcard, then this will appear in $path; for example,
  *   node pages would have $path equal to 'node/%' or 'node/%/view'. Your hook
- *   implementation may also be called with special descriptors after a 
+ *   implementation may also be called with special descriptors after a
  *   "#" sign. Some examples:
  *   - admin/help#modulename
  *     The main module help text, displayed on the admin/help/modulename
@@ -41,7 +41,7 @@
  *   array should always be used rather than directly invoking arg(), because
  *   your hook implementation may be called for other purposes besides building
  *   the current page's help. Note that depending on which module is invoking
- *   hook_help, $arg may contain only empty strings. Regardless, $arg[0] to 
+ *   hook_help, $arg may contain only empty strings. Regardless, $arg[0] to
  *   $arg[11] will always be set.
  * @return
  *   A localized string containing the help text.
diff --git modules/menu/menu.api.php modules/menu/menu.api.php
index 1f975f2..b3eb652 100644
--- modules/menu/menu.api.php
+++ modules/menu/menu.api.php
@@ -163,7 +163,7 @@
  *     instead.
  *   - "page arguments": An array of arguments to pass to the page callback
  *     function, with path component substitution as described above.
- *   - "delivery callback": The function to call to package the result of the 
+ *   - "delivery callback": The function to call to package the result of the
  *     page callback function and send it to the browser. Defaults to
  *     drupal_deliver_html_page() unless a value is inherited from a parent menu
  *     item.
diff --git modules/node/node.module modules/node/node.module
index d13131c..859dfcf 100644
--- modules/node/node.module
+++ modules/node/node.module
@@ -95,7 +95,7 @@ function node_help($path, $arg) {
       $output .= '<dd>' . t('The Node module also enables you to create multiple versions of any content, and revert to older versions using the <em>Revision information</em> settings.') . '</dd>';
       $output .= '<dt>' . t('User permissions') . '</dt>';
       $output .= '<dd>' . t('The Node module makes a number of permissions available for each content type, which can be set by role on the <a href="@permissions">permissions page</a>.', array('@permissions' => url('admin/settings/permissions'))) . '</dd>';
-      $output .= '</dl>'; 
+      $output .= '</dl>';
       return $output;
 
     case 'admin/content':
@@ -997,7 +997,7 @@ function node_save($node) {
     }
     // The changed timestamp is always updated for bookkeeping purposes (revisions, searching, ...)
     $node->changed = REQUEST_TIME;
-  
+
     $node->timestamp = REQUEST_TIME;
     $update_node = TRUE;
 
@@ -1032,30 +1032,30 @@ function node_save($node) {
         ->condition('nid', $node->nid)
         ->execute();
     }
-  
+
     // Restore the title field data structure after db storage.
     $node->title = $title_field;
-  
+
     // Call the node specific callback (if any). This can be
     // node_invoke($node, 'insert') or
     // node_invoke($node, 'update').
     node_invoke($node, $op);
-  
+
     // Save fields.
     $function = "field_attach_$op";
     $function('node', $node);
-  
+
     module_invoke_all('node_' . $op, $node);
-  
+
     // Update the node access table for this node.
     node_access_acquire_grants($node);
-  
+
     // Clear internal properties.
     unset($node->is_new);
-  
+
     // Clear the page and block caches.
     cache_clear_all();
-  
+
     // Ignore slave server temporarily to give time for the
     // saved node to be propagated to the slave.
     db_ignore_slave();
diff --git modules/node/node.pages.inc modules/node/node.pages.inc
index ae7b630..b7af72c 100644
--- modules/node/node.pages.inc
+++ modules/node/node.pages.inc
@@ -535,7 +535,7 @@ function node_revision_overview($node) {
     }
     $rows[] = array_merge($row, $operations);
   }
-  
+
   $build['node_revisions_table'] = array(
     '#theme' => 'table',
     '#rows' => $rows,
diff --git modules/node/node.test modules/node/node.test
index 69194b0..c60dafb 100644
--- modules/node/node.test
+++ modules/node/node.test
@@ -378,7 +378,7 @@ class PageCreationTestCase extends DrupalWebTestCase {
 
       // Check that the failed rollback was logged.
       $records = db_query("SELECT wid FROM {watchdog} WHERE message LIKE 'Explicit rollback failed%'")->fetchAll();
-      $this->assertTrue(count($records) > 0, t('Transactions not supported, and rollback error logged to watchdog.'));      
+      $this->assertTrue(count($records) > 0, t('Transactions not supported, and rollback error logged to watchdog.'));
     }
 
     // Check that the rollback error was logged.
diff --git modules/openid/openid.pages.inc modules/openid/openid.pages.inc
index 0cda23e..b5074d4 100644
--- modules/openid/openid.pages.inc
+++ modules/openid/openid.pages.inc
@@ -54,8 +54,8 @@ function openid_user_identities($account) {
   }
 
   $build['openid_table'] = array(
-    '#theme' => 'table', 
-    '#header' => $header, 
+    '#theme' => 'table',
+    '#header' => $header,
     '#rows' => $rows,
   );
   $build['openid_user_add'] = drupal_get_form('openid_user_add');
diff --git modules/openid/openid.test modules/openid/openid.test
index b972e0d..e2309f7 100644
--- modules/openid/openid.test
+++ modules/openid/openid.test
@@ -154,7 +154,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
     // Use a User-supplied Identity that is the URL of an XRDS document.
     $identity = url('openid-test/yadis/xrds', array('absolute' => TRUE));
 
-    // Tell openid_test.module to respond with these SREG fields. 
+    // Tell openid_test.module to respond with these SREG fields.
     variable_set('openid_test_response', array('openid.sreg.nickname' => 'john', 'openid.sreg.email' => 'john@example.com'));
 
     // Fill out and submit the login form.
@@ -163,7 +163,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
 
     // Check we are on the OpenID redirect form.
     $this->assertTitle(t('OpenID redirect'), t('OpenID redirect page was displayed.'));
-        
+
     // Submit form to the OpenID Provider Endpoint.
     $this->drupalPost(NULL, array(), t('Send'));
     $this->assertText('john', t('User was logged in.'));
@@ -184,7 +184,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
     // Use a User-supplied Identity that is the URL of an XRDS document.
     $identity = url('openid-test/yadis/xrds', array('absolute' => TRUE));
 
-    // Tell openid_test.module to respond with these SREG fields. 
+    // Tell openid_test.module to respond with these SREG fields.
     variable_set('openid_test_response', array('openid.sreg.nickname' => $this->web_user->name, 'openid.sreg.email' => 'mail@invalid#'));
 
     // Fill out and submit the login form.
@@ -193,7 +193,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
 
     // Check we are on the OpenID redirect form.
     $this->assertTitle(t('OpenID redirect'), t('OpenID redirect page was displayed.'));
-        
+
     // Submit form to the OpenID Provider Endpoint.
     $this->drupalPost(NULL, array(), t('Send'));
 
@@ -237,7 +237,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
 
     // Check we are on the OpenID redirect form.
     $this->assertTitle(t('OpenID redirect'), t('OpenID redirect page was displayed.'));
-        
+
     // Submit form to the OpenID Provider Endpoint.
     $this->drupalPost(NULL, array(), t('Send'));
 
diff --git modules/search/search.api.php modules/search/search.api.php
index 5ee9167..0db73a9 100644
--- modules/search/search.api.php
+++ modules/search/search.api.php
@@ -16,7 +16,7 @@
  *
  * This hook allows a module to perform searches on content it defines
  * (custom node types, users, or comments, for example) when a site search
- * is performed. 
+ * is performed.
  *
  * Note that you can use form API to extend the search. You will need to use
  * hook_form_alter() to add any additional required form elements. You can
diff --git modules/shortcut/shortcut.admin.inc modules/shortcut/shortcut.admin.inc
index 34659d4..949f064 100644
--- modules/shortcut/shortcut.admin.inc
+++ modules/shortcut/shortcut.admin.inc
@@ -79,7 +79,7 @@ function shortcut_set_switch($form, &$form_state, $account = NULL) {
   );
 
   $form['submit'] = array(
-    '#type' => 'submit', 
+    '#type' => 'submit',
     '#value' => t('Save configuration'),
   );
 
@@ -185,7 +185,7 @@ function shortcut_set_customize($form, &$form_state, $shortcut_set) {
       '#default_value' => $status,
       '#attributes' => array('class' => array('shortcut-status-select')),
     );
-    
+
     $form['shortcuts'][$status][$mlid]['edit']['#markup'] = l(t('edit'), 'admin/config/system/shortcut/link/' . $mlid);
     $form['shortcuts'][$status][$mlid]['delete']['#markup'] = l(t('delete'), 'admin/config/system/shortcut/link/' . $mlid . '/delete');
   }
@@ -196,7 +196,7 @@ function shortcut_set_customize($form, &$form_state, $shortcut_set) {
   );
 
   $form['submit'] = array(
-    '#type' => 'submit', 
+    '#type' => 'submit',
     '#value' => t('Save Changes'),
   );
 
diff --git modules/shortcut/shortcut.module modules/shortcut/shortcut.module
index 552d44d..7cc96eb 100644
--- modules/shortcut/shortcut.module
+++ modules/shortcut/shortcut.module
@@ -380,7 +380,7 @@ function shortcut_current_displayed_set($account = NULL) {
     $shortcut_set = shortcut_set_load($shortcut_set_name);
   }
   // Otherwise, use the default set.
-  else { 
+  else {
     $shortcut_set = shortcut_default_set($account);
   }
 
diff --git modules/simpletest/tests/bootstrap.test modules/simpletest/tests/bootstrap.test
index 412bad5..6ed872a 100644
--- modules/simpletest/tests/bootstrap.test
+++ modules/simpletest/tests/bootstrap.test
@@ -390,7 +390,7 @@ class BootstrapResettableStaticTestCase extends DrupalUnitTestCase {
 
   /**
    * Test that a variable reference returned by drupal_static() gets reset when
-   * drupal_static_reset() is called. 
+   * drupal_static_reset() is called.
    */
   function testDrupalStatic() {
     $name = __CLASS__ . '_' . __METHOD__;
diff --git modules/simpletest/tests/common_test_info.txt modules/simpletest/tests/common_test_info.txt
index a8cbf8e..6f684fc 100644
--- modules/simpletest/tests/common_test_info.txt
+++ modules/simpletest/tests/common_test_info.txt
@@ -2,9 +2,9 @@
 ; Test parsing with a simple string.
 simple_string = A simple string
 
-; Test that constants can be used as values. 
+; Test that constants can be used as values.
 simple_constant = WATCHDOG_INFO
 
 ; After parsing the .info file, 'double_colon' should hold the literal value.
 ; Parsing should not throw a fatal error or try to access a class constant.
-double_colon = dummyClassName::  
+double_colon = dummyClassName::
diff --git modules/system/image.gd.inc modules/system/image.gd.inc
index 0ea150a..935b84f 100644
--- modules/system/image.gd.inc
+++ modules/system/image.gd.inc
@@ -257,7 +257,7 @@ function image_gd_save(stdClass $image, $destination) {
   if ($wrapper = file_stream_wrapper_get_instance_by_uri($destination)) {
     $destination = $wrapper->realpath();
   }
-  
+
   $extension = str_replace('jpg', 'jpeg', $image->info['extension']);
   $function = 'image' . $extension;
   if (!function_exists($function)) {
diff --git modules/system/page.tpl.php modules/system/page.tpl.php
index d91a054..98fc844 100644
--- modules/system/page.tpl.php
+++ modules/system/page.tpl.php
@@ -55,7 +55,7 @@
  * - $page['sidebar_second']: Items for the second sidebar.
  * - $page['header']: Items for the header region.
  * - $page['footer']: Items for the footer region.
- * 
+ *
  * @see template_preprocess()
  * @see template_preprocess_page()
  * @see template_process()
diff --git modules/system/system.tar.inc modules/system/system.tar.inc
index ebd225c..170e952 100644
--- modules/system/system.tar.inc
+++ modules/system/system.tar.inc
@@ -51,7 +51,7 @@ define ('ARCHIVE_TAR_END_BLOCK', pack("a512", ''));
 * @license  http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @package  Archive_Tar
 */
-class Archive_Tar 
+class Archive_Tar
 {
     /**
     * @var string Name of the Tar
diff --git modules/system/system.tokens.inc modules/system/system.tokens.inc
index f81f074..e7b2e9e 100644
--- modules/system/system.tokens.inc
+++ modules/system/system.tokens.inc
@@ -51,7 +51,7 @@ function system_token_info() {
   $site['url-brief'] = array(
     'name' => t("URL (brief)"),
     'description' => t("The URL of the site's front page without the protocol."),
-  );  
+  );
   $site['login-url'] = array(
     'name' => t("Login page"),
     'description' => t("The URL of the site's login page."),
@@ -186,7 +186,7 @@ function system_tokens($type, $tokens, array $data = array(), array $options = a
           break;
 
         case 'url-brief':
-          $replacements[$original] = preg_replace('!^https?://!', '', url('<front>', $url_options)); 
+          $replacements[$original] = preg_replace('!^https?://!', '', url('<front>', $url_options));
           break;
 
         case 'login-url':
diff --git modules/system/system.updater.inc modules/system/system.updater.inc
index c9eddb9..7df282a 100644
--- modules/system/system.updater.inc
+++ modules/system/system.updater.inc
@@ -6,7 +6,7 @@
  * Subclasses of the Updater class to update Drupal core knows how to update.
  * At this time, only modules and themes are supported.
  */
- 
+
 /**
  * Class for updating modules using FileTransfer classes via authorize.php.
  */
@@ -127,7 +127,7 @@ class ThemeUpdater extends Updater implements DrupalUpdaterInterface {
       ->condition('name', $this->name)
       ->execute();
   }
-  
+
   public function postInstallTasks() {
     return array(
       l(t('Set the !project theme as default', array('!project' => $this->title)), 'admin/appearance'),
diff --git modules/toolbar/toolbar.js modules/toolbar/toolbar.js
index 7284a66..aab92ab 100644
--- modules/toolbar/toolbar.js
+++ modules/toolbar/toolbar.js
@@ -62,8 +62,8 @@ Drupal.admin.toolbar.collapse = function() {
     .html(toggle_text);
   $('body').removeClass('toolbar-drawer');
   $.cookie(
-    'Drupal.admin.toolbar.collapsed', 
-    1, 
+    'Drupal.admin.toolbar.collapsed',
+    1,
     {
       path: Drupal.settings.basePath,
       // The cookie should "never" expire.
@@ -84,8 +84,8 @@ Drupal.admin.toolbar.expand = function() {
     .html(toggle_text);
   $('body').addClass('toolbar-drawer');
   $.cookie(
-    'Drupal.admin.toolbar.collapsed', 
-    0, 
+    'Drupal.admin.toolbar.collapsed',
+    0,
     {
       path: Drupal.settings.basePath,
       // The cookie should "never" expire.
diff --git modules/toolbar/toolbar.module modules/toolbar/toolbar.module
index bb92de5..154692a 100644
--- modules/toolbar/toolbar.module
+++ modules/toolbar/toolbar.module
@@ -61,7 +61,7 @@ function toolbar_toggle_page() {
 
 /**
  * Formats an element used to toggle the toolbar drawer's visibility.
- * 
+ *
  * @param $variables
  *   An associative array containing:
  *   - collapsed: A boolean value representing the toolbar drawer's visibility.
@@ -85,7 +85,7 @@ function theme_toolbar_toggle($variables) {
 
 /**
  * Determines the current state of the toolbar drawer's visibility.
- * 
+ *
  * @return
  *   TRUE when drawer is collapsed, FALSE when it is expanded.
  */
diff --git modules/translation/translation.pages.inc modules/translation/translation.pages.inc
index 8cb311f..fce8df4 100644
--- modules/translation/translation.pages.inc
+++ modules/translation/translation.pages.inc
@@ -55,12 +55,12 @@ function translation_node_overview($node) {
   }
 
   drupal_set_title(t('Translations of %title', array('%title' => $node->title[LANGUAGE_NONE][0]['value'])), PASS_THROUGH);
-  
+
   $build['translation_node_overview'] = array(
-    '#theme' => 'table', 
-    '#header' => $header, 
+    '#theme' => 'table',
+    '#header' => $header,
     '#rows' => $rows,
   );
-  
+
   return $build;
 }
diff --git modules/update/update.manager.inc modules/update/update.manager.inc
index d1bce5b..a7446fd 100644
--- modules/update/update.manager.inc
+++ modules/update/update.manager.inc
@@ -35,7 +35,7 @@
  * sets up a batch to copy each extracted update from the temporary location
  * into the live web root.
  */
- 
+
 /**
  * @defgroup update_manager_update Update manager for updating existing code.
  * @{
@@ -180,7 +180,7 @@ function update_manager_update_form($form, $form_state = array(), $context) {
         // Core needs manual updates at this time.
         $projects['manual'][$name] = $entry;
         break;
-        
+
       case 'module':
       case 'theme':
         $projects['enabled'][$name] = $entry;
@@ -565,7 +565,7 @@ function update_manager_install_form_submit($form, &$form_state) {
     // @todo: find out if the module is already instealled, if so, throw an error.
     $local_cache = $finfo->uri;
   }
-  
+
   $directory = _update_manager_extract_directory();
   try {
     $archive = update_manager_archive_extract($local_cache, $directory);
@@ -601,12 +601,12 @@ function update_manager_install_form_submit($form, &$form_state) {
   if (!$project_title) {
     form_set_error($field, t('Unable to determine %project name.', array('%project' => $project)));
   }
-  
+
   if ($updater->isInstalled()) {
     form_set_error($field, t('%project is already installed.', array('%project' => $project_title)));
     return;
   }
-  
+
   $project_real_location = drupal_realpath($project_location);
   $arguments = array(
     'project' => $project,
@@ -733,7 +733,7 @@ function update_manager_file_get($url) {
   if (!file_exists($cache_directory)) {
     mkdir($cache_directory);
   }
-  
+
   if (!file_exists($local)) {
     return system_retrieve_file($url, $local);
   }
diff --git modules/update/update.report.inc modules/update/update.report.inc
index be14d93..31b3c43 100644
--- modules/update/update.report.inc
+++ modules/update/update.report.inc
@@ -197,7 +197,7 @@ function theme_update_report($variables) {
           case UPDATE_NOT_SUPPORTED:
             $base_themes[] = t('%base_theme (!base_label)', array('%base_theme' => $base_theme, '!base_label' => theme('update_status_label', array('status' => $status[$base_key]))));
             break;
-            
+
           default:
             $base_themes[] = theme('placeholder', array('text' => $base_theme));
         }
diff --git modules/user/user.api.php modules/user/user.api.php
index eda3478..c1bd190 100644
--- modules/user/user.api.php
+++ modules/user/user.api.php
@@ -402,7 +402,7 @@ function hook_user_role_update($role) {
  * Inform other modules that a user role has been deleted.
  *
  * This hook allows you act when a user role has been deleted.
- * If your module stores references to roles, it's recommended that you 
+ * If your module stores references to roles, it's recommended that you
  * implement this hook and delete existing instances of the deleted role
  * in your module database tables.
  *
diff --git sites/default/default.settings.php sites/default/default.settings.php
index c90d2f5..4e9f7cc 100644
--- sites/default/default.settings.php
+++ sites/default/default.settings.php
@@ -67,8 +67,8 @@
  * connection should use.  This is usually the same as the name of the
  * database type, such as mysql or sqlite, but not always.  The other
  * properties will vary depending on the driver.  For SQLite, you must
- * specify a database file name in a directory that is writable by the 
- * webserver.  For most other drivers, you must specify a 
+ * specify a database file name in a directory that is writable by the
+ * webserver.  For most other drivers, you must specify a
  * username, password, host, and database name.
  *
  * Some database engines support transactions.  In order to enable
diff --git themes/garland/maintenance-page.tpl.php themes/garland/maintenance-page.tpl.php
index e6a1d1f..e6e14e7 100644
--- themes/garland/maintenance-page.tpl.php
+++ themes/garland/maintenance-page.tpl.php
@@ -50,7 +50,7 @@
           $site_html = implode(' ', $site_fields);
 
           if ($logo || $site_title) {
-            print '<h1 id="branding"><a href="' . $base_path . '" title="' . $site_title . '">';            
+            print '<h1 id="branding"><a href="' . $base_path . '" title="' . $site_title . '">';
             if ($logo) {
               print '<img src="' . $logo . '" alt="' . $site_title . '" id="logo" />';
             }
diff --git themes/garland/page.tpl.php themes/garland/page.tpl.php
index bed596f..71d516e 100644
--- themes/garland/page.tpl.php
+++ themes/garland/page.tpl.php
@@ -15,8 +15,8 @@
               <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" id="logo" />
             <?php endif; ?>
             <?php print $site_html ?>
-            </a></strong></div>           
-          <?php else: /* Use h1 when the content title is empty */ ?>  
+            </a></strong></div>
+          <?php else: /* Use h1 when the content title is empty */ ?>
             <h1 id="branding"><a href="<?php print $front_page ?>" title="<?php print $site_name_and_slogan ?>">
             <?php if ($logo): ?>
               <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" id="logo" />
diff --git themes/garland/style.css themes/garland/style.css
index 5fcde64..6a4170e 100644
--- themes/garland/style.css
+++ themes/garland/style.css
@@ -294,8 +294,8 @@ table .form-button, table .form-submit {
  * Skip link
  */
 #skip-link a:link, #skip-link a:visited {
-  font-weight: bold; 
-  background: #fff; 
+  font-weight: bold;
+  background: #fff;
   padding: 0px 5px;
   text-decoration: none;
   font-size: 80%;
diff --git themes/garland/template.php themes/garland/template.php
index 27d5aab..ffee1f5 100644
--- themes/garland/template.php
+++ themes/garland/template.php
@@ -103,7 +103,7 @@ function garland_preprocess_page(&$vars) {
     $site_fields[0] = '<span>' . $site_fields[0] . '</span>';
   }
   $vars['site_html'] = implode(' ', $site_fields);
-  
+
   // Set a variable for the site name title and logo alt attributes text.
   $slogan_text = filter_xss_admin(variable_get('site_slogan', ''));
   $site_name_text = filter_xss_admin(variable_get('site_name', 'Drupal'));
diff --git themes/seven/style.css themes/seven/style.css
index 418abd4..8e63749 100644
--- themes/seven/style.css
+++ themes/seven/style.css
@@ -677,7 +677,7 @@ select.form-select:focus {
 }
 
 .resizable-textarea .grippie {
-  width: 100%; 
+  width: 100%;
   padding: 0 2px;
 }
 
