summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-8/+8
| | | using useful casts internally.
* [Bug #3071836]: Crash/Tcl_Panic on WinXP saving file to C:\nijtmans2010-11-241-2/+5
|
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-11-031-646/+78
|
* Move definitions of WINVER/_WIN32_WINNT to one place, now that we only ↵nijtmans2010-09-131-3/+1
| | | | support Win2000+
* Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-1/+7
| | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* Fix [Bug #3002230]: tk_chooseDirectory returns garbage on cancelnijtmans2010-05-171-1/+8
|
* [Patch #2999920]: Optimize Internal Virtual event string operationsnijtmans2010-05-171-3/+23
| | | | [Bug #2987995]: Tk_getOpenFile returns garbage under described circumstances
* Define OPENFILENAME_SIZE_VERSION_400 if needednijtmans2010-04-201-1/+5
|
* [Patch 2898255]: Filenames limit with Tk_GetFileName()nijtmans2010-04-191-3/+13
| | | | Assure modern style dialogs where available
* Fix [Bug 2987995]: Tk_GetOpenFile returns garbage under described circumstancesnijtmans2010-04-191-5/+5
|
* Make more internal tables "const"nijtmans2010-02-051-2/+2
| | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
* Eliminate tkpMenubuttonClassnijtmans2010-01-131-3/+3
| | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* Patch 289825: Enable unlimited multiple file selection from the open files ↵patthoyts2010-01-051-112/+304
| | | | dialog
* cast away const needed for msvc6 when calling Tcl_SetResultpatthoyts2010-01-031-2/+3
|
* Make the handling of the filter index the same as in GetFileNameW!dkf2009-10-221-33/+20
|
* Deal with [Patch 2168768], so making the -typevariable option work consistentlydkf2009-10-221-232/+239
| | | | with global variables (the only way it *can* work...)
* eliminate various gcc and msvc compiler warningsnijtmans2009-08-021-2/+4
|
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): no need to sethobbs2009-04-241-3/+2
| | | | cwd on selchange. Prevents delete of selected folder in dialog.
* * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): enable the newhobbs2009-04-231-6/+16
| | | | | style choosedir that has a "New Folder" button, with ::tk::winChooseDirFlags override for new behavior. [Bug 2779910]
* - eliminate some unnessary type castsnijtmans2009-01-281-10/+10
| | | | | - some internal const decorations - spacing
* Use task modal rather than system modal for messageboxes and use ↵patthoyts2009-01-061-2/+5
| | | | MB_SETFOREGROUND to get the user notification if the application is not the foreground application (flashing in the taskbar). [Bug 2484771]
* remove unused variablesnijtmans2008-12-161-4/+2
|
* Fix some problems running the tests on windows. As Tk tests run in ↵patthoyts2008-12-101-1/+2
| | | | -singleproc 1 we cannot do the script testing without damaging the later native tests.
* Fixed windows build glitches for tip 324patthoyts2008-12-101-3/+3
|
* TIP #324 IMPLEMENTATIONdas2008-12-101-1/+540
|
* Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-3/+2
|
* Add "const" to many internalnijtmans2008-10-171-12/+12
| | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-8/+10
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-19/+19
|
* Fixed bug #1941740: tk_chooseColor -title was broken in revision 1.40 after ↵patthoyts2008-04-141-2/+4
| | | | some code cleanup. Added tests for this windows dialog to avoid regression.
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): pass "" instead of NULLhobbs2008-01-311-2/+2
| | | | when -title isn't set. [Bug #1881892]
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr andhobbs2007-12-051-10/+1
| | | | | * win/tkWinScrlbr.c, win/tkWinWm.c: GetWindowLongPtr only. * win/ttkWinMonitor.c:
* * doc/getOpenFile.n: TIP#242 implementation of -typevariable tohobbs2007-10-251-29/+89
| | | | | | | | | * library/tkfbox.tcl: return type of selected file in file dialogs. * library/xmfbox.tcl: [Bug #1156388] * macosx/tkMacOSXDialog.c: * tests/filebox.test: * tests/winDialog.test: * win/tkWinDialog.c:
* Assorted minor cleanups.dkf2007-09-081-5/+5
|
* Fix bug #1692927 (buffer length problems). Added 'testfindwindow' and ↵patthoyts2007-08-011-32/+17
| | | | | | | 'testgetwindowinfo' and extended 'testwinevent' for WM_COMMAND support to enable testing native messagebox dialogs and added a new test file to use these functions.
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-2/+2
|
* ANSIficationdkf2005-12-021-46/+31
|
* Error fixes in GetFileNameW and GetFileNameAchengyemao2005-11-111-3/+3
|
* Fix [Bug 1353022]dkf2005-11-101-4/+13
|
* Factor out external-filename-to-internal code; the same pattern occurred a lot!dkf2005-11-101-199/+145
|
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): reset storedhobbs2005-10-051-449/+2
| | | | | path to "" if it doesn't exist and -mustexist is true. [Bug 1309218] Remove old-style dir chooser (no longer used).
* Getting more systematic about styledkf2005-08-101-818/+834
| | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
* Corrected handling of MacOS filetypes in tk_*file dialogsvincentdarley2004-12-201-10/+17
|
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon fromhobbs2004-08-201-1/+48
| | | | | * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
* Finish off the TIP#152 implementation with Win implementation, tests & docs.dkf2004-05-241-12/+29
|
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidlhobbs2004-02-131-7/+40
| | | | | for -initialdir if we have a UNC path because BFFM_SETSELECTION doesn't support UNC paths in strings.
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* * win/tkWinDialog.c: Applied patch from bug #611615 which fixes apatthoyts2003-07-281-1/+52
| | | | | problem with double clicks in file dialogs falling through to the window underneath in win32.
* * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K.hobbs2003-07-181-3/+3
| | | | | This is a short-term solution until the -multiple option is extended. [Bug 641261]