Changeset 3393
- Timestamp:
- 03/18/08 14:37:09 (6 months ago)
- Files:
-
- graphvizplugin/0.11/graphviz/graphviz.py (modified) (1 diff)
- graphvizplugin/0.11/ReleaseNotes.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
graphvizplugin/0.11/graphviz/graphviz.py
r3391 r3393 287 287 def expand_wiki_links(self, match): 288 288 wiki_url = match.groups()[0] # TracLink ([1], source:file/, ...) 289 #self.log.debug('wiki_url: %s' % wiki_url) 290 #self.log.debug('self.env: %s' % str(self.env)) 291 #self.log.debug('self.formatter.req: %s' % str(self.formatter.req)) 289 292 html_url = wiki_to_oneliner(wiki_url, self.env, req=self.formatter.req) # <a href="http://someurl">...</a> 293 294 #self.log.debug('html_url: %s' % html_url) 290 295 href = re.search('href="(.*?)"', html_url) # http://someurl 296 #self.log.debug('href: %s' % href) 291 297 url = href and href.groups()[0] or html_url 298 #self.log.debug('url: %s' % url) 292 299 if self.out_format == 'svg': 293 300 format = 'URL="javascript:window.parent.location.href=\'%s\'"' 294 301 else: 295 302 format = 'URL="%s"' 303 #self.log.debug('expand_wiki_links url: %s' % str(format % url)) 296 304 return format % url 297 305 graphvizplugin/0.11/ReleaseNotes.txt
r1601 r3393 1 Trac Graphviz Plugin v0.7. 0Release Notes1 Trac Graphviz Plugin v0.7.1 Release Notes 2 2 ========================================= 3 November 25, 2006 4 5 Graphviz plugin v0.7.0 for Trac is now available. The Graphviz wiki 6 processor is a plugin for Trac that allows the the dynamic generation 7 of diagrams by the various graphviz programs. The text of a wiki page 8 can contain the source text for graphviz and the web browser will show 9 the resulting image. 3 March 18, 2008 4 5 Graphviz plugin v0.7.1 for Trac is now available. The v0.7.x series 6 provides support for Trac 0.11. The Graphviz wiki processor is a 7 plugin for Trac that allows the the dynamic generation of diagrams by 8 the various graphviz programs. The text of a wiki page can contain the 9 source text for graphviz and the web browser will show the resulting 10 image. 11 12 13 Changes for release v0.7.1 14 -------------------------- 15 16 * Changed the interfaces used to communicate w/ Trac to support Trac 17 0.11. 18 19 * Replaced the use of os.popen3 with subprocess.Popen to better 20 support running on Windows. This implies that the Graphviz plugin 21 requires Python 2.4 and above. 22 23 * Renamed GraphvizMacro to Graphviz. 24 25 * Added support for OS X when searching for the Graphviz executable 26 programs. Fixes #1999. 27 28 * Expanded the default locations used when searching for the Graphviz 29 executable programs. 30 10 31 11 32 Changes for release v0.7.0 12 33 -------------------------- 13 34 14 * 35 * Internal release. 15 36 16 37
