The Mac changes are in progress. I should have those
tonight, hopefully. Question: currently tk_getSaveFile
ignores the filtertypes on Mac, but this enhancement makes
filtertypes useful on a Mac. Should I try and get this in also?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here's the macosx flavor. Later I'll try to add filetypes filtering to
tk_getSaveFile (currently disabled). It now makes sense now since users
can read the selected format.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I fixed a coding problem pointed out by Jim Ingham. I also cleaned up
warnings and two spots, lines 1013, 1037 where the warnings look like
coding errors. Someone should look at these and verify.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Updated filebox.test to reflect changes and add test for new option.
The new test uncovered a quirk (bug?) in the tkfbox that I've also fixed
(new tkfbox.tcl to follow).
quirk: call tk_getOpenFile with a filetypes list. On the next call, use an
empty filetypes list. The filter menu is disabled, but the grayed text still
displays the last filter setting, even though this call contains no filters.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was trying to implement this, but it turns out that changes in tkfbox.tcl since the patch have affected it's applicability. Please review - if we can get it done in the next week, it can go in. If you diff against 8.5a3 you get the relevant actual changes. That works for xmfbox.tcl, but not tkfbox.tcl (didn't check the .c as I was stymied by tkfbox.tcl).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patches to implement -initialtype
Unix final implementation
Logged In: YES
user_id=22949
Here's the modified tkfbox.tcl for Unix as per the approved TIP. I'm still
working on Windows and Mac OS X, and the documentation.
Windows final implementation
Logged In: YES
user_id=22949
Here's the Windows implementation.
Logged In: YES
user_id=72656
Is OS X far behind? I'd like to not add them to 8.5a3
unless there are symmetric implementations
Man page with new switch added.
Logged In: YES
user_id=22949
Here's the man page.
The Mac changes are in progress. I should have those
tonight, hopefully. Question: currently tk_getSaveFile
ignores the filtertypes on Mac, but this enhancement makes
filtertypes useful on a Mac. Should I try and get this in also?
Logged In: YES
user_id=72656
I think that would be useful, but not a requirement to finish.
Logged In: YES
user_id=22949
Here's the macosx flavor. Later I'll try to add filetypes filtering to
tk_getSaveFile (currently disabled). It now makes sense now since users
can read the selected format.
Logged In: YES
user_id=22949
Here's the Strict Motif version for this TIP.
Strict Motif version
Logged In: YES
user_id=22949
I fixed a coding problem pointed out by Jim Ingham. I also cleaned up
warnings and two spots, lines 1013, 1037 where the warnings look like
coding errors. Someone should look at these and verify.
MacOSX impl. + bug fixes
Logged In: YES
user_id=22949
Removing previous mac implementation.
Test updated to cover -typevariable
Logged In: YES
user_id=22949
Updated filebox.test to reflect changes and add test for new option.
The new test uncovered a quirk (bug?) in the tkfbox that I've also fixed
(new tkfbox.tcl to follow).
quirk: call tk_getOpenFile with a filetypes list. On the next call, use an
empty filetypes list. The filter menu is disabled, but the grayed text still
displays the last filter setting, even though this call contains no filters.
Unix implementation + bug fix.
Logged In: YES
user_id=22949
Updated tkfbox.tcl to clear filter menubutton when filetypes is empty.
Logged In: YES
user_id=72656
Originator: NO
I was trying to implement this, but it turns out that changes in tkfbox.tcl since the patch have affected it's applicability. Please review - if we can get it done in the next week, it can go in. If you diff against 8.5a3 you get the relevant actual changes. That works for xmfbox.tcl, but not tkfbox.tcl (didn't check the .c as I was stymied by tkfbox.tcl).
integrated patch for 8.5b2
Logged In: YES
user_id=72656
Originator: NO
Attached is 8.5 patch contributed by Brian, massaged by me and integrated into head for 8.5b2.
File Added: tip242.diff