summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge updates for macOS 10.15 CatalinaKevin Walzer2019-08-161-115/+102
|\
| * Fix typos in variable names for panel objects.culler2019-08-141-10/+10
| |
| * Revert color dialog; do not use sheets for NSOpenSavePanels on Catalina; create culler2019-08-141-144/+118
| | | | | | an explicit NSOpenSavePanelDelegate; remove -prebind on macOS.
| * Remove import of Carbon headersKevin Walzer2019-08-141-1/+0
| |
| * Begin branch to remove deprecated API calls on CatalinaKevin Walzer2019-08-141-24/+38
| |
| * Add missing INT2PTR (doesn't cause warning with Tcl8.x, but does with Tcl ↵jan.nijtmans2019-05-171-1/+1
| | | | | | | | 9.0). One None -> NULL change which was still missing. Backported from trunk.
* | Merge 8.6jan.nijtmans2019-05-091-1/+1
|\ \ | |/
| * Whitespace cleanup, syncronize a little with "trunk" version.jan.nijtmans2019-05-091-1/+1
| |
| * Mitigate future merge conflict headaches.culler2019-04-171-139/+269
| |
* | Source readability run: macosx/*dkf2019-04-161-139/+269
| |
* | Change (internal) signature of ↵jan.nijtmans2019-03-311-2/+2
| | | | | | | | | | TkMenuConfigureEntryDrawOptions/TkActivateMenuEntry such that - if compiled with Tcl 9.0 headers - indexes > 2G can be used. Also, change a lot of Tcl_NewIntObj()/Tcl_NewBooleanObj() calls to Tcl_NewWideIntObj().
* | Fixed one more None -> NULL compiler warning.culler2019-03-071-1/+1
|/
* Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-101-2/+2
| | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing.
* Mac code cleanup. Move interfaces for subclasses of AppKit classes toculler2018-11-261-4/+0
| | | tkMacOSXPrivate.h when possible. Also Utility windows cannot go fullscreen.
* Restore the list of contributors to the new About dialog.culler2018-11-081-7/+30
|
* Tweak title of about dialogKevin Walzer2018-11-081-1/+1
|
* One more fix for about dialogKevin Walzer2018-11-081-1/+1
|
* Replace old about dialog with standard alert that displays correctly on 10.14Kevin Walzer2018-11-081-30/+13
|
* Fix [66db98f30d] regarding error messages spit by messageboxes in the test ↵fvogel2018-08-211-5/+5
|\ | | | | | | suite, while still not regress as described in [98dce84781] (yes and no answers were swapped)
| * Fix [66db98f30d] regarding error messages spit by messageboxes in the test ↵fvogel2018-08-191-5/+5
| | | | | | | | suite, while still not regress as described in [98dce84781] (yes and no answers were swapped)
* | Fix [98dce84781]: yesno messageBoxes on macOS return wrong valuesfvogel2018-08-151-1/+1
|\ \ | |/
| * Fix [98dce84781] by partial revert of previous commit.fvogel2018-08-151-1/+1
| |
* | Fix a few MacOSX compiler warningsjan.nijtmans2018-08-141-2/+2
|/
* Unify further error messages for tk_messageBox optionsfvogel2018-05-011-4/+4
|
* Remove all conditional code which requires a minimum deployment targetculler2017-11-271-48/+3
| | | | | of OSX 10.5. Currently the build fails for 10.5 and it seems pointless to try fixing it now, more than 8 years after Apple declared it obsolete.
* Simultaneously with the previous commit Christian Gollwitzer provided culler2017-11-251-57/+113
| | | | this more complete patch that deals with *.* and compilation problems with gcc.
* Pass nil for allowedFileTypes rather than an empty array to select all files.culler2017-11-251-7/+15
|
* Added some #ifdef __clang__ sections to allow building with gcc on OSX 10.6.culler2017-11-091-0/+18
| | | | Tk now builds and runs on Snow Leopard, but does not support retina displays or filtering in file dialogs, and generates some errors about colorspaces.
* Fix for colorspace issues and regression in drawing on macOS; thanks to Marc ↵Kevin Walzer2017-10-121-1/+1
| | | | Culler for patches
* remove some end-of-line spacingjan.nijtmans2017-10-121-1/+0
|
* Numerous fixes for Tk on macOS 10.13; eliminate memory leaks, override ↵Kevin Walzer2017-10-111-2/+3
| | | | system fullscreen API that confuses window geometry, improve implementation of Tk fullscreen API. Thanks to Marc Culler for patches to address memory leaks.
* [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 ↵jan.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
| |