summaryrefslogtreecommitdiffstats
path: root/tests/choosedir.test
Commit message (Collapse)AuthorAgeFilesLines
* * tests/event.test: Added test for [event generate $widgetericm2000-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | <Alt-z>] [Bug: 4611]. * tests/choosedir.test: Changed "namespace import ::tcltest" to "namespace import -force ::tcltest". * win/tkWinKey.c: * unix/tkUnixKey.c: * mac/tkMacKeyboard.c: Changed InitKeymapInfo to TkpInitKeymapInfo. [Bug: 4611]. * generic/tkStubInit.c: * generic/tkIntDecls.h: Re-gen'd from tkInt.decls. * generic/tkInt.decls: Added TkpInitKeymapInfo to list of function decls. * generic/tkBind.c (HandleEventGenerate): Added code to initialize keymap info if necessary, and to correctly set modifier bits in XEvent structure create to handle [event generate] calls. Previously, the alt/meta bits were not set correctly, so [event generate $widget <Alt-z>] would always fail. [Bug: 4611] FossilOrigin-Name: cd4fc3780f76c12099288725bea9ffac8c1477dd
* * tests/filebox.test:ericm2000-03-241-35/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/choosedir.test: Updated tests. * library/xmfbox.tcl: Updated to stash data array in ::tk::dialog::file namespace instead of in global namespace. * library/tkfbox.tcl: Extended some functions to support creation of a choosedir dialog, to allow greater code reuse between the two dialogs. Moved tkFDialog* functions into a namespace (::tk::dialog::file). Because these are private Tk functions (and should thus not be used directly by users), this should not impact anybody (the tk_getOpenFile and tk_getSaveFile commands still exist at the global scope). * library/tk.tcl: * library/tclIndex: Updated function names for tkFDialog* functions and choosedir functions. * library/choosedir.tcl: New and improved implementation of tk_chooseDirectory dialog. Based on tk_getOpenFile dialog. * library/listbox.tcl: (tkListboxCancel) Added a check for empty string value for tkPriv(listboxPrev). Without this check, it's possible to get a stack trace under certain conditions. [Bug: 4373]. FossilOrigin-Name: 507a9fe0e822d879c18e4d215b8bb2275ed0aad0
* * tests/choosedir.test: Marked test 3.1 and 3.2 as bad until theericm2000-03-141-6/+6
| | | | | | issue with those tests on IRIX can be determined. FossilOrigin-Name: f1a502f34eecfb42e6ece5a642b8e691fc765a7b
* * tests/choosedir.test: Modified test 3.1 (-mustexist works) to beericm2000-03-081-6/+9
| | | | | | | more careful about cleaning up its potentially troublesome after events. FossilOrigin-Name: 2e735aabd25603fd12c5e024d07c1ce83bd733b8
* Unset err at the end because some other tests use it.ericm2000-03-071-8/+8
| | | FossilOrigin-Name: 63f27e98cf2cf7574f67a1459864abf4eabd928f
* Added more tests.ericm2000-03-031-16/+43
| | | FossilOrigin-Name: 8f6a4431d133c2cacc0cfd61203a6b48bf66eb1f
* fixed var set problemhobbs2000-03-021-2/+2
| | | FossilOrigin-Name: 11511c7f2837ee58e1dfc9954f53a52c0c47bc9e
* * generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (theericm2000-02-261-2/+2
| | | | | | | | submitted patch was more complicated than necessary and did not extend to writing GIF's, only reading), to allow reading/writing of GIF files on EBCDIC and other non-ASCII based systems. FossilOrigin-Name: 4264008b3df63ee70d20d1a78dcf423b898d854e
* Fixed handling of -mustexist flag for tk_chooseDirectory.ericm2000-02-141-0/+122
FossilOrigin-Name: b4a3ebbf8a9f27bce3d14ac8ae97b31938879b40