summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSelect.c
Commit message (Collapse)AuthorAgeFilesLines
* Finally dealt with 614650 and with a simpler solution too.dkf2002-10-011-86/+7
|
* Incremental transfers of UTF8_STRING selections should now work; Tk will nowdkf2002-09-301-41/+120
| | | | | | tag them with the right size and only transfer complete UTF8 characters. Previously, things only worked when the transfer could only happen in one go, and even then not always. [Bug 614650, reported by Reinhard Max]
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-2/+2
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* * unix/tkUnixSelect.c (SelRcvIncrProc): added missing Tcl_Releasehobbs2002-04-121-1/+2
| | | | of interp
* * library/console.tcl:hobbs2001-07-031-3/+41
| | | | | | | | | | | | | | | | | | | | | * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command. * tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283] * generic/tkInt.h: added utf8Atom to TkDisplay structure.
* * unix/tkUnixSelect.c:stanton1999-06-031-3/+13
| | | | | | * tests/unixSelect.test: * generic/tkSelect.c: Fixed selection code to handle Unicode data in COMPOUND_TEXT and STRING selections. [Bug: 1791]
* * unix/tkUnixSelect.c: Improved I18N selection support.stanton1999-06-011-94/+271
| | | | | | COMPOUND_TEXT is converted to/from iso2022, and STRING is converted to/from iso8859-1. There are still a few loose ends to tie up before this is completely done.
* First pass at Unicode support in X selection code.stanton1999-05-251-9/+122
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-34/+51
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+1189