[Repoze-dev] [issue107] Percentage and pixel img tags mangled when they shouldn't be

2009-11-12 Thread Brian Sutherland
New submission from Brian Sutherland br...@vanguardistas.net: Image tags like this: img src=pixels.png width=640px height=480px/ img src=percentage.png width=50% height=50%/ Are re-written resulting in bitblt containing URLs which miss the regular expression. This means broken images

[Repoze-dev] [issue107] Percentage and pixel img tags mangled when they shouldn't be

2009-11-12 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: Second patch for img tags like: img src=pixels.png width=640px height=480px/ -- status: unread - chatting __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue107

[Repoze-dev] [issue103] repoze.bitblt removes doctype

2009-11-13 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: I also was bitten by this. Attached is the patch I am using, it includes and expands on the originally posted patches using dbaty's more complex than it should be method to keep the doctype out of html that didn't already have

[Repoze-dev] [issue103] repoze.bitblt removes doctype

2009-11-13 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: You're right on the slowness of beautifulsoup compared to lxml: http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/ __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue103

[Repoze-dev] [issue107] Percentage and pixel img tags mangled when they shouldn't be

2009-11-16 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: Patches committed in 7224 and 7225. -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue107

[Repoze-dev] [issue106] repoze.bitblt mangles the encoding of HTML

2009-11-16 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: committed in r7088. -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue106

[Repoze-dev] [issue115] repoze.bitblt does not maintain GIF transparency

2009-12-21 Thread Brian Sutherland
New submission from Brian Sutherland br...@vanguardistas.net: Resized gif lose their transparency. It seems that this is the way to do it: http://nadiana.com/pil-tips-converting-png-gif#Saving_GIF_with_transparency http://www.velocityreviews.com/forums/t354000-pil-and-transparent

[Repoze-dev] [issue115] repoze.bitblt does not maintain GIF transparency

2009-12-21 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: revision 7678 -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue115

[Repoze-dev] Licensing of sourcecodegen and Chameleon

2010-01-12 Thread Brian Sutherland
objections to me adding a LICENSE.txt similar to both of sourcecodegen and chameleon? Would someone with upload access to pypi be able to upload new releases once I've done this? -- Brian Sutherland ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http

Re: [Repoze-dev] Licensing of sourcecodegen and Chameleon

2010-01-12 Thread Brian Sutherland
and Chris got to Chameleon before I could. (Chris: If I did it badly, don't hesitate to fix) If I'm wrong, please anybody, commit necessary changes. It's enough for me, but unfortunately it's not enough for some people I need to please :( -- Brian Sutherland

[Repoze-dev] [issue103] repoze.bitblt removes doctype

2010-01-27 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: I've just discovered yet another way in which lxml is mangling my HTML. I'm fed up with fixing around the edges. So in the next week or so, I will try re-implement regular expressions to find and replace the img tags. Given

[Repoze-dev] [issue103] repoze.bitblt removes doctype

2010-01-28 Thread Brian Sutherland
Brian Sutherland br...@vanguardistas.net added the comment: Fixed in revision 8095 by using regexes instead of lxml to parse img tags. -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue103

[Repoze-dev] repoze.bitblt 0.8 released

2010-03-01 Thread Brian Sutherland
Hi, I've just uploaded a new release of repoze.bitblt to pypi. As noted in the changelog, it's quite a big change but resolves all the open issues with repoze.bitblt. For the lazy among us: http://pypi.python.org/pypi/repoze.bitblt -- Brian Sutherland

[Repoze-dev] [issue170] repoze.who's auth_tkt plugin gives paste a string list of tokens

2010-11-30 Thread Brian Sutherland
New submission from Brian Sutherland br...@vanguardistas.net: Looking here it seems obvious that tokens is meant to be passed as a list/tuple: http://bitbucket.org/ianb/paste/src/4f5cfde87603/paste/auth/auth_tkt.py However the auth_tkt plugin passes it as a string. The resulting cookie

Re: [Repoze-dev] [issue170] repoze.who's auth_tkt plugin gives paste a string list of tokens

2010-11-30 Thread Brian Sutherland
-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Brian Sutherland ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] Chameleon and Genshi Text Templates

2011-02-14 Thread Brian Sutherland
something obvious? I've attached a test that I would have expected to have worked, should I commit that? -- Brian Sutherland import unittest class TestExplicitDoctypes(unittest.TestCase): def test_for(self): from chameleon.genshi.template import GenshiTextTemplate template = u

Re: [Repoze-dev] Chameleon and Genshi Text Templates

2011-02-14 Thread Brian Sutherland
going on to have a look. Also what we're doing is not performance critical so I guess we'll go back to using the original genshi for the time being... \malthe On 14 February 2011 17:20, Brian Sutherland br...@vanguardistas.net wrote: Hi, The genshi text template language doesn't seem

Re: [Repoze-dev] Migration to Github

2011-02-22 Thread Brian Sutherland
On Tue, Feb 22, 2011 at 09:40:38AM -0500, Tres Seaver wrote: We have chosen to leave dormant projects in SVN for the indefinite future.. Please let us know if there is an existing 'repoze.*' project which you think needs to be migrated: repoze.bitblt is also used and maintained. -- Brian

Re: [Repoze-dev] Migration to Github

2011-03-24 Thread Brian Sutherland
of repoze.bitblt (when my pull request is accepted). Is there any documentation anywhere about how releases should be tagged/created within the Repoze github repository? -- Brian Sutherland ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http