Show
Ignore:
Timestamp:
12/20/07 16:53:16 (6 years ago)
Author:
nyarla
Message:

lang/perl/Class-Hookable: I modified Makefile.PL and wrote Changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Class-Hookable/trunk/Changes

    r2101 r3351  
    11Revision history for Perl extension Class::Hookable 
    22 
    3 0.03  
    4         * Substantial change * 
    5         * Change in the filtering of plugin 
    6           It was changed substantially about a way of filtering of a plugin.         
    7           It was possible to rewrite a filter only by inheriting of Class::Hookable before, 
    8           but this change could change it now every instance. 
    9           The previous filter_register_hook and filter_run_hook method 
    10           weren't used any more by this change. 
    11           added methods: 
    12             hookable_set_filter 
    13             hookable_call_filter 
    14             hookable_filter_prefix 
     30.03  Thu Dec 14:20:00 JST 2007 
     4        * Substantial Changes * 
     5        * Change in the filter method of the plugin * 
     6          Previous Class::Hookable could rewrite a filter only by inheritance, 
     7          but the filter could be changed now every instance by this change. 
     8          The previous filter_register_hook method and filter_run_hook method aren't 
     9          used by this change in default any more. 
     10        * hookable method * 
     11          Hookable method was added. 
     12          There is several difference for hook and method, 
     13          but a detailed thing see POD, please. 
     14          The registered_plugins method was moved to register_callbacks, 
     15          and the function of the delete_plugin method was changed. 
     16        * Addition and change of the utility method * 
     17          The method which operates the hook and the method for 
     18          this addition of the functions was added. 
     19        * Change in the method name * 
     20          I changed the name of several methods to avoid collision with 
     21          the method name when inheriting to Class::Hookable. 
     22          Please see the following list about the method renamed. 
     23        * bug fix * 
     24          It was corrected that a test of the registered_hooks method was failed. 
     25          The cause was that an enumerated hook name isn't being sorted. 
     26          The registered_hooks method starts always to return a sorted result by this correction. 
     27        * The method added newly 
     28          [register method] 
     29          - register_method 
     30          [call method] 
     31          - call_method 
     32          [filter method] 
     33          - hookable_set_filter 
     34          - hookable_call_filter 
     35          - hookable_filter_prefix 
     36          [utility method] 
     37          - registered_methods 
     38          - registered_function 
     39          - delete_method 
     40          - delete_function 
     41          - delete_callback 
     42          [accessor method] 
     43          - hookable_stash 
     44          - hookable_all_methods 
     45        * The method to which the function was changed 
     46          - registered_hooks 
     47            This method had just returned the hook with which a plug-in is registered, 
     48            but it came to return all hook name registered when it was called without arguments. 
     49          - delete_plugin 
     50            This method deleted only the plugin registered with a hook, 
     51            but it came also to delete the hookable method added newly. 
     52        * The method renamed 
     53          [before]                -> [after] 
     54          - context               -> hookable_context 
     55          - hooks                 -> hookable_all_hooks 
     56          - registered_plugins    -> registered_callbacks 
     57        * The abolished method 
     58          - filter_register_hook 
     59          - filter_run_hook 
    1560 
    16610.02  Wed Nov 11 13:00:00 JST 2007