Show
Ignore:
Timestamp:
07/16/08 16:11:05 (4 months ago)
Author:
pmoura
Message:

When sending a message to an object using the ::/2 control construct, also check if the sender matches the scope container when the message does not correspond to a public predicate. This is necessary in order to allow calling a protected or a private predicate in "this" from within a category.

Updated the Logtalk compiler to throw an error when detecting a call to a dynamic predicate in the body of a predicate clause defined in a category.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/RELEASE_NOTES.txt

    r4383 r4384  
    2424    predicate declarations and predicate definitions. 
    2525 
     26    When sending a message to an object using the ::/2 control construct,  
     27    also check if the sender matches the scope container when the message  
     28    does not correspond to a public predicate. This is necessary in order  
     29    to allow calling a protected or a private predicate in "this" from  
     30    within a category. 
     31 
     32    Updated the Logtalk compiler to throw an error when detecting a call  
     33    to a dynamic predicate in the body of a predicate clause defined in a  
     34    category. 
     35 
    2636    Optimized the implementation of the ^^/1 control construct. The Logtalk  
    2737    compiler now requires an instantiated, callable argument that must have  
     
    4454    Changed the format of the Logtalk compiler informative messages for  
    4555    better readability. 
     56 
     57    Improved simplification of the clauses generated by the compilation of  
     58    object and category predicate clauses. 
     59 
     60    Corrected a bug that prevented asserting and retracting clauses in "this"  
     61    from within a category. 
    4662 
    4763    Corrected a bug in the config files hooks used in handling proprietary  
     
    5066    predicate indicators for compiled entity predicates that simplifies the  
    5167    config files hooks used in handling proprietary Prolog directives. 
    52  
    53     Improved simplification of the clauses generated by the compilation of  
    54     object and category predicate clauses. 
    55  
    56     Corrected a bug that prevented asserting and retracting clauses in "this"  
    57     from within a category. 
    5868 
    5969    Changed the valid values of the read-only compiler flag "break_predicate"