| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
circumstances. Backported some formatting from trunk.
|
|
|
|
| |
Assure modern style dialogs where available
|
| |
|
|
|
|
| |
dialog
|
|
|
|
| |
with global variables (the only way it *can* work...)
|
|
|
|
| |
cwd on selchange. Prevents delete of selected folder in dialog.
|
|
|
|
|
| |
style choosedir that has a "New Folder" button, with
::tk::winChooseDirFlags override for new behavior. [Bug 2779910]
|
| |
|
|
|
|
| |
when -title isn't set. [Bug #1881892]
|
| |
|
|
|
|
|
| |
* win/tkWinScrlbr.c, win/tkWinWm.c: GetWindowLongPtr only.
* win/ttkWinMonitor.c:
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
|
|
|
|
|
|
| |
'testgetwindowinfo'
and extended 'testwinevent' for WM_COMMAND support to enable testing native messagebox
dialogs and added a new test file to use these functions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
path to "" if it doesn't exist and -mustexist is true. [Bug 1309218]
Remove old-style dir chooser (no longer used).
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
* win/tkWinInt.h: the -parent window for
* win/tkWinWm.c (TkWinGetIcon): the MessageBox.
|
| |
|
|
|
|
|
| |
for -initialdir if we have a UNC path because BFFM_SETSELECTION
doesn't support UNC paths in strings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
| |
problem with double clicks in file dialogs falling through to the
window underneath in win32.
|
|
|
|
|
| |
This is a short-term solution until the -multiple option is
extended. [Bug 641261]
|
|
|
|
|
|
|
|
| |
ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd):
Remove unused tsdPtr variable. Use TEXT macro
instead of _T macro since _T does not work
under Cygwin. Declare flags as UINT to avoid
compiler warning when compiling with mingw.
|
| |
|
|
|
|
|
| |
directory browser (tk_chooseDirectory). This does require
shell32.dll v4.71 or greater. [Patch #468139]
|
|
|
|
|
| |
utfTitle to NULL, add a few more notes about limitations of
possible new Tk_ChooseDirectoryObjCmd function.
|
|
|
|
|
|
|
| |
* win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding
* win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding
* win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static
unicodeEncoding.
|
|
|
|
| |
were restored to return (char *) pointing into Tcl_DStrings.
|
| |
|
|
|
|
|
|
|
|
| |
proper display of unicode errors.
Added patch which uses new OLE based directory chooser. This
still has some issues, so is disabled by default. [Patch #468139]
(ColorDlgHookProc) Corrected ability to use unicode chars in
tk_chooseColor -title.
|
| |
|
|
|
|
|
| |
bug that caused crashing in tk_chooseDirectory on Win95.
[Bug #224936] (baker)
|
| |
|
|
|
|
|
|
| |
ascii-based tk_getOpenFile (Win9*). (haneef) [Patch #403047]
(GetFileNameW): increased number of files that could be returned
by tk_getOpenFile -multiple. [Patch #412042]
|
|
|
|
|
|
|
| |
* win/tkWinDialog.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c: fixed up code for Win64 support. This mostly
remains in _WIN64 #ifdef's, until updated compilers are standard.
|
|
|
|
|
|
|
|
|
| |
tests (5.2, 5.5) to include -multiple option.
* win/tkWinDialog.c:
Removed CommDlgExtendedError() checks for color and choosedir
dialogs, and removed all except the explicit invalid filename
checks for the file dialogs.
|
|
|
|
|
|
| |
Tk_ChooseDirectoryObjCmd): created work-around for change in
NT5.0/98 that caused no initialdir setting to open the browser up
in the user's documents dir.
|
|
|
|
|
|
|
|
| |
CommDlgExtendedError() switches; this was formerly treated as an
error, but it actually is not, since it just means the user hit
cancel or closed the dialog. (GetFileNameW): Added better smarts
such that -multiple is not considered a valid option for
tk_getSaveFile.
|
|
|
|
|
|
|
| |
Tk_ChooseColorObjCmd, Tk_ChooseDirectoryObjCmd): Added error
checking for the return value from the common dialog functions, so
that the commands will not silently fail if the common dialog
returns an error. [Bug: 6369].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
Remove unused declarations.
* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
function declarations.
* win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration.
* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype.
* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration.
* win/tkWinWindow.c (StackWindow): Remove unused declaration.
* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
* win/tkWinX.c (winXMutex): Remove unused declaration.
* xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
|
| |
|
| |
|