Changeset 10324

Show
Ignore:
Timestamp:
01/27/10 17:40:01 (7 months ago)
Author:
adamk
Message:

Add a ->set method to ORLite to avoid the need to write to specific numeric keys

Location:
trunk/Padre
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/Padre/Changes

    r10322 r10324  
    5050    - Added a fast ascii shortcut to the very slow encode detector. Opening 
    5151      files all of a sudden gets much faster if you have ascii files (ADAMK) 
    52     - Bumped ORLite to 1.37 to get ARRAY object support and 
     52    - Bumped ORLite to 1.38 to get faster ARRAY object support and 
    5353      Class::XSAccessor acceleration support. If they cause problems, 
    5454      these changes can be safely backed out. (ADAMK) 
  • trunk/Padre/Makefile.PL

    r10321 r10324  
    101101requires 'Module::Refresh' => '0.13'; 
    102102requires 'Module::Starter' => '1.50'; 
    103 requires 'ORLite'          => '1.37'; 
     103requires 'ORLite'          => '1.38'; 
    104104 
    105105# Temporarily disabled as we have cloned a private copy 
  • trunk/Padre/lib/Padre/PluginManager.pm

    r10323 r10324  
    574574        # Should we try to enable the plug-in 
    575575        my $config = $self->plugin_db( $plugin->class ); 
    576         unless ( defined $config->[2] ) { 
    577  
     576        unless ( defined $config->enabled ) { 
    578577                # Do not enable by default 
    579                 $config->[2] = 0; 
    580         } 
    581         unless ( $config->[2] ) { 
     578                $config->set( enabled => 0 ); 
     579        } 
     580        unless ( $config->enabled ) { 
    582581                $plugin->status('disabled'); 
    583582                return;