summaryrefslogtreecommitdiffstats
path: root/tests/choosedir.test
Commit message (Collapse)AuthorAgeFilesLines
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-5/+9
|
* * 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]
* * 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].
* * 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.
* * 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.
* Unset err at the end because some other tests use it.ericm2000-03-071-8/+8
|
* Added more tests.ericm2000-03-031-16/+43
|
* fixed var set problemhobbs2000-03-021-2/+2
|
* * 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.
* Fixed handling of -mustexist flag for tk_chooseDirectory.ericm2000-02-141-0/+122