summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.c
Commit message (Collapse)AuthorAgeFilesLines
* [9eab541213] Fix OSX file dialog handling of -initialdir.dgp2017-08-031-28/+44
| | | Thanks to Christian Gollwitzer.
* Fix last crashing bug for save dialogs on macOSKevin Walzer2017-07-031-1/+0
|
* Fix for 8afc6c9ebe, crashes in save and open dialogs on macOS; thanks to ↵Kevin Walzer2017-07-031-3/+29
| | | | Marc Simpson for bug report
* Fix for 9eab541213, tk_getSave on macOS; thanks to Christian Gollwitzer for ↵Kevin Walzer2017-06-051-24/+20
| | | | patch
* Cherry-pick [http://core.tcl.tk/tclconfig/info/18e79736d236d15d|All the ↵jan.nijtmans2017-05-181-25/+25
| | | | | world was a VAX] for OpenBSD. Also fix [84a27b1c67]: Tcl and Tk's tcl.m4 not synced? (configure script not re-generated yet, I'm sure Don will do that in the rc branch)
* Major reworking of tkMacOSXDialog.c to support -typevariable, improve file ↵Kevin Walzer2017-05-131-180/+310
| | | | filtering, fix for 3588462; thanks to Christian Gollwitzer for patch
* unnecessary Tcl_DStringInit(), since Tcl_WinUtfToTChar() already does that.jan.nijtmans2017-05-091-3/+3
|
* tk_getSaveFile now correctly displays multiple file types with filtering on ↵Kevin Walzer2017-05-061-2/+3
| | | | macOS
* Add support for file filters in tk_getSaveFile on macOS/CocoaKevin Walzer2017-05-061-24/+50
|
* various end-of-line spacesjan.nijtmans2017-05-011-4/+4
|
* tk_getSaveFile now correctly displays file name on macOS when -initialfile ↵Kevin Walzer2017-05-011-22/+58
| | | | flag used; this functionality broke after Tk 8.6.5. The filetypes filter also now works correctly in tk_getOpenFile on macOS; this functionality was mostly broken after the transition to Cocoa. Thanks to Torsten Reincke and Christian Gollwitzer for the bug reports on c.l.t.
* Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-04-211-4/+4
| | | | unsafe
* Bring back DEF_TEXT_SPACING[123], since "0" is not exactly equal to NULL ↵bug_2049429fffjan.nijtmans2016-01-121-2/+2
| | | | (just to be 100% sure there will not be a behavioral change)
* Merge trunk. jan.nijtmans2016-01-111-2/+20
|\ | | | | | | ttkButton.c: Invalid use of TK_OPTION_DONT_SET_DEFAULT, should have been TK_OPTION_NULL_OK as in normal button. tkTextTag.c: Use of TK_OPTION_DONT_SET_DEFAULT means that the default value "0" is ignored, so better use NULL.
| * Additional tweaks for dialogKevin Walzer2016-01-111-2/+15
| |
| * Fix for 63c3542c06, messageboxes in Tk-Cocoa; thanks to Marc Culler for patchKevin Walzer2016-01-111-1/+6
|/
* Fix for some redraw issues on Tk-Cocoa on OS X 10.11; further refinement of ↵Kevin Walzer2015-12-151-2/+0
| | | | memory management; thanks to Marc Culler for patches
* merge-mark. Remove unnecessary end-of-line spacingjan.nijtmans2015-12-071-3/+3
|\
| * Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patchKevin Walzer2015-12-071-1/+1
| |
| * Remove multiple deprecated internal API calls on OS X; streamline Apple ↵Kevin Walzer2015-11-251-142/+244
| | | | | | | | Events implementation; thanks to Marc Culler for extensive patches
| * Additional copyright noticesKevin Walzer2015-03-211-0/+3
| |
| * Back out changes not pertaining to private API; those files should not have ↵Kevin Walzer2014-11-181-1/+1
| | | | | | | | been updated.
* | Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patchKevin Walzer2015-12-071-1/+1
| |
* | Remove multiple deprecated internal API calls on OS X; streamline Apple ↵Kevin Walzer2015-11-251-46/+133
| | | | | | | | Events implementation; thanks to Marc Culler for extensive patches
* | Additional copyright noticesKevin Walzer2015-03-211-0/+3
| |
* | Remove unnecessary end-of-line spacingjan.nijtmans2014-11-211-1/+1
| |
* | Back out changes not pertaining to private API; those files should not have ↵Kevin Walzer2014-11-201-61/+3
| | | | | | | | been updated.
* | Remove residual private API calls from Tk/Mac after Mac App Store review ↵Kevin Walzer2014-11-181-2/+60
| | | | | | | | flagged them as being present.
* | Merge core-8-5-branchjan.nijtmans2013-01-241-18/+18
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
| * make TkBackgroundEvalObjv a static function, and eliminate the use of the ↵jan.nijtmans2013-01-231-0/+65
| | | | | | | | deprecated SaveResult API from it.
* | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-2/+2
| | | | | | | | around other functions, to call the wrapped function directly.
* | consistant use of mode: objc for OSX, strip spaces from the end of linesjan.nijtmans2012-10-231-1/+1
|\ \ | |/
| * remove RCS keywords, use mode: objc consistantlyjan.nijtmans2012-10-231-3/+1
| |
| * Review branch for merge of Tk-Cocoa into Tk 8.5 main branchKevin Walzer2012-09-121-1340/+648
| |
| * Implementation for Carbon.dgp2011-10-171-5/+19
| |
* | Ttk and Aqua donedkf2012-07-241-93/+97
| |
* | TIP 382: Existence and argument validation for -confirmoverwrite on Cocoa.dgp2011-10-241-1/+10
| | | | | | Option is ignored for now.
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * Fix potential use of uninitialized variable flagged by clang static analyzerdas2008-12-071-3/+4
| | |
| | * Fix leaks flagged by clang static analyzerdas2008-12-071-1/+25
| | |
| | * Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-16/+69
| | |
| | * * macosx/tkMacOSXDialog.c: sync with HEAD.das2007-10-261-12/+13
| | |
| | * cleanupdas2007-09-111-11/+7
| | |
| | * * macosx/tkMacOSXDialog.c (Tk_ChooseColorObjCmd): correct setting ofdas2007-08-271-35/+27
| | | | | | | | | | | | | | | interp result [Bug 1782105]; fix -initialcolor overwriting last color selection; style cleanup.
| | * * macosx/tkMacOSXDialog.c (NavServicesGetFile): reset interp result ondas2007-07-251-1/+2
| | | | | | | | | | | | nav dialog cancel. [Bug 1743786]
| | * * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-291-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and sync formatting with HEAD. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c:
| | * * macosx/tkMacOSXXStubs.c (XCreateImage, DestroyImage): correct XImagedas2007-06-231-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | bytes_per_line/bitmap_pad calculations and endianness setting; free image data and XImage structure at destruction; formatting cleanup. * macosx/tkMacOSXDialog.c (NavServicesGetFile): disable app-modal sheet variant of nav dialog on OS versions where it causes problems.
| | * * macosx/tkMacOSXWindowEvent.c: ensure window is brought to the frontdas2007-05-091-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXMouseEvent.c: at the start of a window drag (except * macosx/tkMacOSXInt.h: when cmd key is down); formatting and whitespace fixes. * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): add -filetypes option processing. * macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): fix sending of Visibility event for embedded windows (fixes frame-3.9 hang). * macosx/tkMacOSXScrlbr.c (ScrollbarBindProc): fix testsuite * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): crashes by adding sanity checks. * macosx/tkMacOSXButton.c: fix debug msg typo.