summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-07-18 19:28:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-07-18 19:28:43 (GMT)
commitd2d5dbf16bcb9a1ff56a5537b5501dff4997ea3a (patch)
treef7a0e6b6d356e4edcc3483befb1c991868e9dfd7
parent65ae2fbaa37ac797eb9852c6c34361f0d26e4197 (diff)
downloadtk-d2d5dbf16bcb9a1ff56a5537b5501dff4997ea3a.zip
tk-d2d5dbf16bcb9a1ff56a5537b5501dff4997ea3a.tar.gz
tk-d2d5dbf16bcb9a1ff56a5537b5501dff4997ea3a.tar.bz2
Fix the transfer of large binary data. I hate INCR selections transfers...
-rw-r--r--ChangeLog24
-rw-r--r--unix/tkUnixSelect.c4
2 files changed, 18 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index cfa22d9..db9e434 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,21 +1,27 @@
+2009-07-18 Donal K. Fellows <dkf@users.sf.net>
+
+ * unix/tkUnixSelect.c (SelCvtFromX32, SelCvtFromX8): Make the
+ incremental transfer of binary selections work get deserialized
+ correctly. Thanks to Emiliano Gavilan for detecting.
+
2009-07-18 Daniel Steffen <das@users.sourceforge.net>
* unix/Makefile.in: Define NDEBUG in optimized (non-
symbols) build to disable assert()s.
- * macosx/tkMacOSXBitmap.c: Fix tk::mac::iconBitmap crash due to
- off-by-one ckalloc error. [Bug 2821318]
+ * macosx/tkMacOSXBitmap.c: [Bug 2821318]: Fix tk::mac::iconBitmap
+ crash due to off-by-one ckalloc error.
2009-07-15 Daniel Steffen <das@users.sourceforge.net>
- * macosx/ttkMacOSXTheme.c: Update notebook tab appearance to
- * library/ttk/aquaTheme.tcl: modern L&F; adjust tab & notebook
- padding and tabmargins; correct
- appearance of selected tree header; add
- support for native tree header sort
- arrows via user1 state. [Patch 2819620]
+ * macosx/ttkMacOSXTheme.c: [Patch 2819620]: Update notebook tab
+ * library/ttk/aquaTheme.tcl: appearance to modern L&F; adjust tab &
+ notebook padding and tabmargins;
+ correct appearance of selected tree
+ header; add support for native tree
+ header sort arrows via user1 state.
- * library/demos/mclist.tcl: use native sort arrows with aqua theme.
+ * library/demos/mclist.tcl: Use native sort arrows with aqua theme
2009-07-15 Donal K. Fellows <dkf@users.sf.net>
diff --git a/unix/tkUnixSelect.c b/unix/tkUnixSelect.c
index 9476e4e..6e458c3 100644
--- a/unix/tkUnixSelect.c
+++ b/unix/tkUnixSelect.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixSelect.c,v 1.23 2009/07/15 20:56:49 dkf Exp $
+ * RCS: @(#) $Id: tkUnixSelect.c,v 1.24 2009/07/18 19:28:43 dkf Exp $
*/
#include "tkInt.h"
@@ -1503,6 +1503,7 @@ SelCvtFromX32(
sprintf(buf, "0x%x", (unsigned int) *propPtr);
Tcl_DStringAppendElement(dsPtr, buf);
}
+ Tcl_DStringAppend(dsPtr, " ", 1);
}
}
@@ -1527,6 +1528,7 @@ SelCvtFromX8(
sprintf(buf, "0x%x", (unsigned char) *propPtr);
Tcl_DStringAppendElement(dsPtr, buf);
+ Tcl_DStringAppend(dsPtr, " ", 1);
}
}