summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSelect.c
Commit message (Collapse)AuthorAgeFilesLines
* Purge RCS Keywords.dgp2011-06-081-2/+0
|\ | | | | FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| | | | | | FossilOrigin-Name: a74f32bb6369d3e66e661145c81a98a14ed79b3a
| * Backport of fixes for [Bug 1353414]dkf2005-11-221-98/+68
| | | | | | FossilOrigin-Name: 2ec30a4b5bc3f503838bfb75ed3128d4323643be
* | Fix the transfer of large binary data. I hate INCR selections transfers...dkf2009-07-181-1/+3
| | | | | | FossilOrigin-Name: 19601c917c7b0e2663e2526d29533c5b0a5d8c6b
* | Apply patch from [Bug 2821962] to make binary byte selection transfers work.dkf2009-07-151-20/+54
| | | | | | FossilOrigin-Name: 6575508c9b8eb980ddce481b7b66f42571a40c6b
* | Fix more type pun warnings (those not found by my local version of GCC)dkf2007-05-031-3/+3
| | | | | | FossilOrigin-Name: 3ca7875ba095ca07b0e1dfbe433830ca8513b229
* | Squelch some warnings from GCC.dkf2007-04-171-6/+6
| | | | | | FossilOrigin-Name: e11a6443d5cbc86869a1ad22b8e3eda41610899c
* | Less of that K&R or wrongly indented function header style!dkf2007-02-221-16/+15
| | | | | | FossilOrigin-Name: 9b0470e090f9e2ece65f8399b3c318ab16e668d9
* | Oops! Very stupid typo.dkf2005-11-141-13/+16
| | | | | | FossilOrigin-Name: d46880c9d29ce88d008a97c7f6ed287d08cf7da3
* | Quell warningdkf2005-11-131-2/+2
| | | | | | FossilOrigin-Name: 8c9b875e87726f23a86431a0d26671b15553b032
* | Glurk, SelCvtToX was just as broken as SelCvtFromX when atoms contain spaces.dkf2005-11-131-45/+38
| | | | | | FossilOrigin-Name: ec0ce5cdee8ccf41be014d92a21cea7fefd8d54a
* | Fix [Bug 1353414] by doing the list generation using standard Tcl utilities.dkf2005-11-131-54/+31
| | | | | | | | | | | | | | Also simplifies the code quite a bit (at the expense of an OUT parameter instead of a return value). FossilOrigin-Name: 33f2f1f33e34146774a71ec96ced095f80310934
* | Whitespace/style/ANSI improvementsdkf2005-10-211-320/+307
| | | | | | FossilOrigin-Name: 23cd5ae479540fb2712bb6c0b0433860ae54e324
* | fix cast warningshobbs2004-03-161-3/+4
| | | | | | FossilOrigin-Name: b7e23043a58a2bb600f113c9787987916bff7151
* | * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-4/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c: FossilOrigin-Name: a08e5aacfc9f6c5a344c2d05454773dac90710c2
* 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