Changeset 1153

Show
Ignore:
Timestamp:
08/18/06 11:43:09 (2 years ago)
Author:
pkropf
Message:

GraphvizPlugin:

Added processor options when calculating the sha hash key used as the image file name. Fixes #575.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • graphvizplugin/branches/v0.6/graphviz/graphviz.py

    r1134 r1153  
    148148            return buf.getvalue() 
    149149 
    150         sha_key  = sha.new(self.processor + content).hexdigest() 
     150        sha_key  = sha.new(self.processor + self.processor_options + content).hexdigest() 
    151151        img_name = '%s.%s.%s' % (sha_key, self.processor, self.out_format) # cache: hash.<dot>.<png> 
    152152        img_path = os.path.join(self.cache_dir, img_name) 
  • graphvizplugin/branches/v0.6/ReleaseNotes.txt

    r1134 r1153  
    11Trac Graphviz Plugin v0.6.5 Release Notes 
    22========================================= 
    3 August 17, 2006 
     3August 18, 2006 
    44 
    55Graphviz plugin v0.6.5 for Trac is now available. The Graphviz wiki 
     
    1313-------------------------- 
    1414 
     15* Included the processor options when calculating the sha key used for 
     16  the image file name. This should help in testing various graphviz 
     17  settings in trac.ini. Resolves issue 
     18  http://trac-hacks.org/ticket/575. 
     19 
    1520* Fixed expand_wiki_links to allow for javascript URL 
    1621  references. Resolves issue http://trac-hacks.org/ticket/559.