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
| | | FossilOrigin-Name: 4f349c2e568bed62e7bf4d0a527b161f1d2e557e
* 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] FossilOrigin-Name: bdabe5ef3614ee37392cac781fe4e52b7facfc3c
* 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) FossilOrigin-Name: 5603f01aa35a127f83db9bb68f3b1ff9e5bb64de
* * unix/tkUnixSelect.c (SelRcvIncrProc): added missing Tcl_Releasehobbs2002-04-121-1/+2
| | | | | | of interp FossilOrigin-Name: a81f42d8e877fbadb3cc952006ce70c4b64e64ea
* * 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. FossilOrigin-Name: 3993717faaae94fc303c678c9c3637465ce2c0a4
* * 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] FossilOrigin-Name: 0b25ecf24d82bddbf8ea891086f2b369146793db
* * 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. FossilOrigin-Name: 78db3a09ea108dfcde31ab996191b720cfb9b4c8
* First pass at Unicode support in X selection code.stanton1999-05-251-9/+122
| | | FossilOrigin-Name: 0d8bca258bc35b49708fa4707afb57a832df91b6
* * Merged 8.1 branch into the main trunkstanton1999-04-161-34/+51
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Initial revisionrjohnson1998-04-011-0/+1189
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4