summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Patch #2999889] TkCopyAndGlobalEval obsoletenijtmans2010-06-215-65/+16
| | | FossilOrigin-Name: 38a1e04cd18ae00b2c49656e3c18d8136757a9dc
* [Patch 3009998]: Replace binding procedures with ordinary event handlersjenglish2010-06-1912-1126/+202
| | | | | | | | | | | | | in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c. Simplifications enabled by previous change: * TkCreateBindingProcedure() and associated machinery no longer needed. * TkBindDeadWindow() no longer needed. * TK_DEFER_MODAL_LOOP and associated machinery no longer needed. * Tests related to C binding procedures no longer needed. FossilOrigin-Name: afaa6c96f6571c82b3463f325c7936825bd4312d
* [Bug 3016598] Bump dummy [package ifneeded tile] version to 0.8.6.jenglish2010-06-152-4/+12
| | | FossilOrigin-Name: 00a7db3d69bc35cf8e6ce5db21460dbc484f1540
* * library/text.tcl (TextCursorInSelection): [Patch 2585265]: Make itdkf2010-06-152-40/+59
| | | | | | | | so that pressing delete or backspace when the primary selection does not include the insertion cursor does not cause the deletion of the inserted text. FossilOrigin-Name: ddd934fe9b22f3bb9ab4c87c19fdc4123334bd46
* Terminate TkEnsemble definition with NULLnijtmans2010-06-153-8/+12
| | | FossilOrigin-Name: 207c3431f101d3e648a4d024c9b76b7d4e99c49f
* Eliminate many unnecessary (ClientData) type casts.nijtmans2010-06-1519-94/+112
| | | FossilOrigin-Name: 0d406a834b9595e63e75feebf8d48fe9915a58df
* Tk_CreateBinding): Silently ignore empty scripts (Fixes [Bug 3006842]).jenglish2010-05-312-2/+11
| | | FossilOrigin-Name: c7f50addddddb20787a9295b8b8839782085ac12
* ttk::treeview: [$tv tag bind $tag <...> {}] now removes binding completely.jenglish2010-05-273-18/+41
| | | | | | | Fixes [Bug 3006842] (although there's still a problem somewhere in Tk_CreateBinding()). FossilOrigin-Name: 77cc7217803f80b5ea3347156ae553bba72855ac
* Fix some gcc strict-aliasing warnings (discovered with "-Wstrict-aliasing=2"nijtmans2010-05-264-41/+46
| | | FossilOrigin-Name: c59d0cdd2287759cc4ef6c292012053966356454
* Fix 3 tests on Ubuntu 10.4, two of them timing dependent, one wm-dependent.nijtmans2010-05-262-7/+14
| | | FossilOrigin-Name: dc704a6b984324e9a7f2d955e5b3b65217062da0
* * win/tkWinX.c (HandleIMEComposition): [Bug 2992129]: Ensure that alldkf2010-05-202-24/+33
| | | | | | | places that generate key events zero them out first; Tk relies on that being true for the generic parts of the fix for Bug 1924761. FossilOrigin-Name: 8f6f34f95f7a7a15bb9a3f6530638ea422ca574c
* Fix [Bug #3002230]: tk_chooseDirectory returns garbage on cancelnijtmans2010-05-172-1/+13
| | | FossilOrigin-Name: 130afa52aa06d017c740deae42c28399f76e6e06
* Revert [Patch #2999920], as it entails an incompatible change to the C APIjenglish2010-05-172-7/+20
| | | | | | is and is the cause of [Bug #3002768]. FossilOrigin-Name: fab7bd71880e0429464ab81d72315bd94ddd9da5
* [Patch #2999920]: Optimize Internal Virtual event string operationsnijtmans2010-05-173-17/+37
| | | | | | [Bug #2987995]: Tk_getOpenFile returns garbage under described circumstances FossilOrigin-Name: d81586bc83928212c0137557d955ec3e4880ed86
* Consistent use of variable names in RestrictEventnijtmans2010-05-116-36/+39
| | | | | | | | API documentation and implementation: Use 'prev' in stead of 'old', and 'arg' in stead of 'clientData' everywhere, just as in tkEvent.c. FossilOrigin-Name: 053a2be8f9562476a8744d9fd89cdd0037b3d22d
* CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,nijtmans2010-05-1012-52/+67
| | | | | | | TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line. FossilOrigin-Name: 19fa0b7b2434ffa4f93664a51e136bd4238fb989
* * generic/tk.h: Bump patchlevel to 8.6b1.2 to distinguishdgp2010-05-037-16/+26
| | | | | | | | | | | * library/tk.tcl: CVS snapshots from earlier snapshots as well * unix/configure.in: as the 8.6b1 and 8.6b2 releases. * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: 2bee55264309992f05da4550abd5437ea37f2920
* * library/button.tcl (CheckInvoke, CheckEnter): [Patch 1530276 redux]:dkf2010-05-032-55/+61
| | | | | | | Apply a bit more care to ensure that things continue to work correctly even when there is no -selectcolor defined. FossilOrigin-Name: 4c150d7e36353900dbf6442adc44a58df5a2ce52
* typonijtmans2010-04-301-1/+1
| | | FossilOrigin-Name: 8605218cd03b28c7c1116f4f65477b42018e6ff9
* Unnessarary TCL_STORAGE_CLASS re-definitionsnijtmans2010-04-2911-58/+50
| | | | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char. FossilOrigin-Name: 06f10499a3021c29d06ae7910ea07da100025163
* * generic/tkImgPNG.c (ReadIDAT, DecodePNG): Move the check for overalldkf2010-04-253-37/+1088
| | | | | | | | termination of the compressed stream until after the final IDAT has been read, so that multi-segment images will work right. Reported by Andy Goth on the Wiki. FossilOrigin-Name: 9f0f17b37ad07950b247f11763ad065b1f2aad28
* Formattingnijtmans2010-04-2317-141/+37
| | | | | | | | typo fixes remove not existing tkDisplayList; Useless re-definitions of TCL_STORAGE_CLASS FossilOrigin-Name: f24475f035844b1ee4f62efe7b34d31f47aa9aa9
* Define OPENFILENAME_SIZE_VERSION_400 if needednijtmans2010-04-202-1/+6
| | | FossilOrigin-Name: 4c267ddbf7e09cd2f4bfa10f2d4cf27d58c432a5
* tkPort.h already includes tk.h, which includes tcl.hnijtmans2010-04-206-15/+14
| | | | | | Always use #include "tkInt.h", not <tkInt.h> FossilOrigin-Name: 37df37e3fe0f711636ff815a862aa3bd5da4786e
* Make sure that tkWinPort.h is always includednijtmans2010-04-206-27/+38
| | | | | | | before tcl.h, otherwise the fallback for TCHAR might go off before the inclusion of <tchar.h> FossilOrigin-Name: c4987c88c62909e6d52e4e9c2aa9f1ba203e72c8
* [Patch 2898255]: Filenames limit with Tk_GetFileName()nijtmans2010-04-191-1/+1
| | | | | | Assure modern style dialogs where available FossilOrigin-Name: 2eb2f7c7af64111c5d5e4b9f13cb6d40515b0e55
* [Patch 2898255]: Filenames limit with Tk_GetFileName()nijtmans2010-04-192-3/+15
| | | | | | Assure modern style dialogs where available FossilOrigin-Name: a8a07446836e51395926f6723bce14fa0e507117
* Fix [Bug 2987995]: Tk_GetOpenFile returns garbage under described circumstancesnijtmans2010-04-191-2/+5
| | | FossilOrigin-Name: 397929cedd59226171288cee8472df6f1109d33b
* Fix [Bug 2987995]: Tk_GetOpenFile returns garbage under described circumstancesnijtmans2010-04-192-6/+8
| | | FossilOrigin-Name: 8b2578c295dd769d960b8bbdc0e0b97591a479fb
* Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmpnijtmans2010-04-132-7/+29
| | | FossilOrigin-Name: adccfd0a83a6572adc3376dc3762d078009bd717
* * generic/tkImgPNG.c (WriteIDAT): [Bug 2984787]: Use the correctdkf2010-04-123-13/+119
| | | | | | | | | | | | flushing semantics when handling the last data from the image. Without this, many PNG readers (notably including Firefox) refuse to show the image and instead complain about errors. (ReadIDAT): Added sanity checks to ensure that when we've got bad data of the sorts of forms we were previously generating, we detect it and error out rather than silently failing. (WriteExtraChunks): New function to write in some basic metadata. FossilOrigin-Name: 356e32e6f57bd7b40d47398078e9a9f4ea54697d
* Follow-up to [Bug 2983824]: update docnijtmans2010-04-092-3/+8
| | | FossilOrigin-Name: dff536b044970ced3c5871cbc79f6192bc42d2a2
* * generic/tkImgPhoto.c (ImgPhotoCmd): [Bug 2983824]: Use the filedkf2010-04-093-27/+127
| | | | | | extension to guess the output format to use if one isn't specified. FossilOrigin-Name: 3dae8fc00516a26620b8baca6269e5e32b2bc829
* Add <wchar.h> to tkWinPort.h, andnijtmans2010-04-084-39/+39
| | | | | | | remove some earlier CYGWIN-related hacks which then are no longer necessary. FossilOrigin-Name: b9266d053e5ed38781ff7add1c3faacc9e930565
* regenerated with autoconf-2.59nijtmans2010-04-065-12/+20
| | | | | | | [Bug 2982540] configure and install* script files should always have LF FossilOrigin-Name: e7116932de3f13b815d789f340a4e1d8cef6b095
* Only test for -visibility=hidden with gccnijtmans2010-03-293-4160/+3791
| | | | | | (Second remark in [Bug 2976508]) FossilOrigin-Name: 6868fc3a20864581b716c751cc9bbfa594c7b115
* * unix/tkUnixRFont.c (GetFont): [Bug 2978410]: Do not use non-constantdkf2010-03-292-5/+19
| | | | | | initializers for structures, since HP-UX cc doesn't like it. FossilOrigin-Name: c73eca4f8f1d9d0425adeb273b9dadc6eab306b6
* ttk::treeview widget: add 'tag names', 'tag add', and 'tag remove' methods.jenglish2010-03-288-40/+380
| | | FossilOrigin-Name: 9569521c427f85d9741a3d3c9a9b59a49335c00a
* regendkf2010-03-231-3764/+4156
| | | FossilOrigin-Name: 8cd367a974c9ec1bea151a23ef722a863e81b2d0
* * unix/configure.in, unix/Makefile.in: [Bug 2965133]: Get rid of thedkf2010-03-233-3/+11
| | | | | | | spurious NONE and some pointless quotes that were causing problems with building Tk on OSX. Overall bug might not yet be solved. FossilOrigin-Name: 335a62271cc388d9fea07084ef8717e7f8cc8eb2
* * library/entry.tcl: [Bug 2971663]: Make the <Up> and <Down> keysdkf2010-03-173-6/+19
| | | | | | | | * library/ttk/entry.tcl: explicitly do nothing, since Tk-on-Cocoa will generate (invisible zero-width) characters for them otherwise. The explicitly empty bindings are harmless on other platforms. FossilOrigin-Name: 0bc3c023fc8f0a2a8b65acb9207cb9114d65299f
* Ignore .a and .so in unix/.cvsignorenijtmans2010-03-162-0/+6
| | | FossilOrigin-Name: 9092c6ec0bb8fc0ac8b79d27e6dd7c1e4c0d1995
* Fix [Tcl Bug 2967340]: Static build failurenijtmans2010-03-124-6/+16
| | | FossilOrigin-Name: 4efdb7f550a814966ed452fef9958228b82c8d8e
* Factor out some of the megawidget machinery.dkf2010-03-124-67/+179
| | | FossilOrigin-Name: 42454ce231d923c70bb0c8f18ae2f4bd87a9091b
* Removed lame reliance on the leading letters of the names of segment types whendkf2010-03-115-9/+16
| | | | | | | dumping a text widget. Entailed expanding the scope of the declarations of the types of embedded images and windows. FossilOrigin-Name: 0e0e2adf014776e656460bec41895cd7af1f4f81
* * generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,dkf2010-03-113-12/+30
| | | | | | | | there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important. FossilOrigin-Name: 652505c642bfeb47ae353de7604f8459b8722770
* * generic/tkPlatDecls.h: Correct broken 2886635 fix. [Bug 2965600]dgp2010-03-082-2/+6
| | | FossilOrigin-Name: 4ba841f1fb11ba07f7d68a001972aa806021a9e6
* [Bug 2949774]: cascade menus should popdown ofter loosing the pointer.patthoyts2010-03-062-6/+19
| | | | | | | | | When the pointer moves to another entry from a cascade entry the sub-menu should popdown. This is how other menus on X11 work today. This effect will not be used if the user has configured ClickToFocus to maintain the previous Tk menu effects. FossilOrigin-Name: 979322119024ca72e826c65b76abaa3402505c9b
* fix date in ChangeLognijtmans2010-03-041-1/+1
| | | FossilOrigin-Name: 359f838b4e49d01d4d9adb5a495d60434265b207
* Don't use -fvisibility=hidden for cygwin.nijtmans2010-03-044-38/+32
| | | | | | Make tkTestWinProcs const FossilOrigin-Name: 4ff9dc6922b7df450c15c1ea2cf4da5f55d5f801