*** empty log message ***
authorroot <root>
Fri, 10 Mar 2006 21:36:16 +0000 (21:36 +0000)
committerroot <root>
Fri, 10 Mar 2006 21:36:16 +0000 (21:36 +0000)
Changes
src/perl/selection-pastebin

diff --git a/Changes b/Changes
index ef5e250bcf3445acb2a33ba13c87b086b2df896b..ddbead20ce5fb066d710bc29474fa15ce262f624 100644 (file)
--- a/Changes
+++ b/Changes
@@ -18,6 +18,8 @@ WISH: anyevent mouse notification / manage MotionMask better.
 WISH: http://www120.pair.com/mccarthy/nextstep/intro.htmld/Workspace.html is the correct nextstep look.
 DUMB: support tex fonts
 
+TODO: zero scorllback buffer should free memory
+TODO: kuake
        - add FORCE_UNBUFFERED_XFT define to features.h.
        - moved on_osc_seq to on_osc_seq_perl and added a more
           generic osc_seq.
@@ -25,6 +27,7 @@ DUMB: support tex fonts
           were invoked recursively.
         - the automove-background extension now properly works when the
           pixmap gets reset with an osc sequence (sqweek).
+        - selection-pastebin did not work properly with non-latin1-characters.
 
 7.7  Tue Feb 21 12:32:49 CET 2006
        - use double-buffered drawing (xft fonts only). On many driver/hardware
index f9ef7f1fc611de9e56d644f254a237d7a5d3ca94..5d57a9aaf9c4ec49a3763648cd6f7c63157be98d 100644 (file)
@@ -6,7 +6,10 @@ sub upload_paste {
    require Digest::MD5;
 
    my $txt = $self->selection;
-   my $filename = Digest::MD5::md5_hex ($txt) . ".txt";
+
+   my $filename = $txt;
+   utf8::encode $filename;
+   $filename = Digest::MD5::md5_hex ($filename) . ".txt";
 
    my $tmpfile = "/tmp/$filename";