summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * library/console.tcl: added more smarts extracted from tkcon tohobbs2001-10-091-125/+566
| | | | the default console.
* Added labelframe widget. TIP#18.pspjuth2001-09-263-4/+89
|
* Fixed string/list confusion in directory browser, and a typo in ChangeLogdkf2001-09-172-15/+17
|
* Fix a problem in the Unix tk_getOpenFile dialog box. An error dialog box useddrh2001-09-121-1/+7
| | | | | to appear when you would point the file browser box at an empty directory and click on the canvas.
* * Corrected TIP 44 typodgp2001-08-271-2/+2
| | | | | that broke binding. Thanks to "Michal" for the fix. [Bug 455468]
* [#450020] Messages for czech languagebagnonm2001-08-241-0/+67
| | | | from http://web.telecom.cz/WoodPrint/cs.msg.gz
* * library/dialog.tcl (tk_dialog): changed dialog to show bar onhobbs2001-08-221-3/+4
| | | | | Windows as well and added some y padding between the buttons and the bar. [Patch #442835] (harrismh)
* Converted [glob [file join]] to [glob -directory] (Bug #223313)dkf2001-08-101-2/+2
| | | | | Also cleaned up a few space/tab issues in the ChangeLog which make a difference if you're using a highlighting editor like emacs...
* Corrections to problems introduced bydgp2001-08-092-8/+7
| | | | the TIP 44 changes. [Bug 449261]
* * TIP 44 changes specific to the Mac anddgp2001-08-064-8/+11
| | | | | | Windows platforms that were overlooked before: tkOpenDocument, tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: . Thanks to Vince Darley for prompting another look.
* Correction to TIP 44 implementation.dgp2001-08-011-3/+3
|
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-0124-1886/+2207
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* The new tk_chooseDirectory dialog box implementation was sometimes givingdrh2001-07-191-1/+2
| | | | | an error like this: can't read "data(list)": no such element in array. The problem is a race condition. This patch should fix the problem.
* Added missing backslash in Motif File Selector code.dkf2001-07-031-2/+2
|
* * library/console.tcl:hobbs2001-07-035-16/+48
| | | | | | | | | | | | | | | | | | | | | * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command. * tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283] * generic/tkInt.h: added utf8Atom to TkDisplay structure.
* Added braces to expressions.dkf2001-06-1417-138/+142
|
* * tests/safe.test: added note about correcting failures inhobbs2001-03-311-6/+3
| | | | | | safe.test. * library/tk.tcl: moved package require msgcat inside if case to not be used in safe interps.
* * library/bgerror.tcl (bgerror): allow focus into details windowhobbs2001-03-301-2/+3
| | | | for Windows C&P to work. [Bug #220929]
* * library/tk.tcl: put a catch around adding <hpBackTab> to thehobbs2001-03-301-2/+5
| | | | | <<PrevWindow>> virtual event as it doesn't seem to work on all HP systems. [Bug #411669]
* * library/tkfbox.tcl: fixed selecting directories and single fileshobbs2001-03-301-9/+15
| | | | with spaces using tk_getOpenFile -multiple 1. [Bug #411640]
* * library/msgs/de.msg: fixed translations. [Patch #403525]hobbs2001-03-301-3/+3
|
* * library/entry.tcl (tkEntryMouseSelect):mdejong2001-03-292-10/+7
| | | | | | | | | | * library/text.tcl (tkTextSelectTo): When the mouse is dragged with the button down, move the insertion cursor to the current mouse position. * tests/event.test: Add a series of tests for event generation. Add tests for selection, check the position of the insertion cursor.
* updated copyrighthobbs2000-11-021-3/+3
|
* threw catch around tk useinputmethods call for safe interpshobbs2000-10-311-3/+4
|
* simplified tk_library path normalization callhobbs2000-10-311-2/+2
|
* * tests/tk.test:hobbs2000-10-311-1/+5
| | | | | | | | * doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time.
* * library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365],ericm2000-10-191-4/+3
| | | | | which adds safety for directory names containing spaces or which are non-lists.
* When a dialog box (ex: tk_messageBox) pops up whiledrh2000-09-301-2/+4
| | | | | another application is holding the grab, the "grab" command fails and the dialog box is inoperative. "catch" the "grab" to prevent this.
* * library/tkfbox.tcl (::tk::dialog::file::Update): Correctedericm2000-08-291-3/+6
| | | | | handling of multi-pattern filters (eg, "* *.*"), which was broken by the getOpenFile performance patches applied earlier.
* * library/safetk.tcl: rationalized the setting of tk_library whenhobbs2000-08-061-1/+6
| | | | initialized Tk in a safe interpreter.
* * library/text.tcl: Enhanced <Tab> binding to behave like normalericm2000-07-191-6/+11
| | | | | <Tab> bindings when the text widget is disabled (ie, it advances focus to the next widget).
* * library/tkfbox.tcl: Fixed keyboard navigation in the iconlist.ericm2000-07-191-37/+38
|
* Updated Greek message catalog.ericm2000-07-181-68/+67
|
* Updated German message catalog.ericm2000-07-181-16/+16
|
* * library/bgerror.tcl: Fixed a typo in one of the bgerror dialogericm2000-07-171-3/+3
| | | | label.
* * library/msgs/it.msg: Italian message catalog, from Paoloericm2000-07-171-0/+68
| | | | Brutti. [RFE: 6012].
* Greek message catalog from George Petasis.ericm2000-07-081-0/+84
|
* Updated Spanish message catalog.ericm2000-07-061-9/+9
|
* Duth message catalog, from Jan Nijtmans.ericm2000-07-051-0/+103
|
* * tests/filebox.test: Adjusted tests to accomodate -multiple.ericm2000-06-302-4/+9
| | | | | | | | | | | * library/xmfbox.tcl: Adjusted arguments list construction such that -multiple is not presented as an option for tk_getSaveFile. * library/tk.tcl: Added test for safe interpreter status before attempting to load message catalogs (which is impossible in a standard safe interpreter). This means that SafeTk will not have localized dialogs, unless a means is found for loading the message catalog files.
* * library/msgs/de.msg: German message catalog.ericm2000-06-3012-130/+464
| | | | | | | | | | | | | | | | | | | | * library/msgs/en.msg: English message catalog. * library/msgs/es.msg: Spanish message catalog. * library/msgs/fr.msg: French message catalog. * unix/Makefile.in: * unix/configure.in: * library/tk.tcl: * library/clrpick.tcl: * library/choosedir.tcl: * library/console.tcl: * library/msgbox.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl: * library/bgerror.tcl: Applied patches from Laurent Duperval to provide localization of Tk dialogs. [RFE: 2671].
* * doc/getOpenFile.n: Updated with information about -multiple.ericm2000-06-233-224/+595
| | | | | | | | | | | * library/choosedir.tcl: Tweaked to handle modified tkIconList API's. * library/tkfbox.tcl: Preliminary implementation of multiple selection; based on patch from [RFE: 604]. Some of the tkIconList functions changed to support this and to make the dialog faster. * library/xmfbox.tcl: Added support for multiple selection, from patch in [RFE: 4999].
* * library/bgerror.tcl: Added auto-truncation for long errorericm2000-06-191-4/+24
| | | | | messages (more than 30 characters wide, or more than 4 lines long), so that the dialog remains a manageable size. [RFE: 5782]
* *** empty log message ***ericm2000-06-051-7/+4
|
* * library/bgerror.tcl: Improved bgerror based on work by Donalericm2000-05-311-66/+226
| | | | | | | K. Fellows; no longer dependant on tk_dialog; features a Windows-esque "Details" button, and a customizable extra function button that allows the user to (for example) save the stack trace to a file.
* * doc/spinbox.n: (new file) docs for spinbox widgethobbs2000-05-293-4/+751
| | | | | | | | | | | * generic/tkInt.h: added Tk_SpinboxObjCmd declaration * generic/tkEntry.c: added 'spinbox' widget - an extension of the entry widget type. * generic/tkWindow.c: added 'spinbox' to core Tk commands * library/spinbox.tcl: (new file) binding and helper procs for spinbox * library/tk.tcl: added spinbox.tcl to list of files to source * tests/entry.test: updated changed error messages * tests/spinbox.test: (new file) test suite for spinbox
* * library/button.tcl: Tweaks for -overrelief handling on Windows.ericm2000-05-251-5/+9
|
* * doc/radiobutton.n: Added documentation for -overrelief option.ericm2000-05-251-5/+11
| | | | | | | | | | | | | | | | | * doc/checkbutton.n: Added documentation for -overrelief option. * doc/label.n: Added documentation for -state option. * generic/tkButton.c: Added -overrelief option for checkbuttons, and radiobuttons. * library/button.tcl (tkButtonDown, macintosh version): Added protection against querying the -repeatdelay option from a widget that doesn't support it (ie, checkbuttons, radiobuttons, etc). Other platforms use a different binding script for checkbuttons and radiobuttons, so they don't have this issue. (tkCheckRadioEnter, windows version): Added code to handle -overrelief for check/radiobuttons on windows.
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-171-11/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TK_OPTION_RELIEF. * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK. * tests/button.test: Added tests for -overrelief; removed tests for -relief link. * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK. * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK. * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF. * library/button.tcl: Added binding support for -overrelief. * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL. * generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers. * generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK. * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option.
* * library/entry.tcl: Adjusted Button-1 binding to set focus to theericm2000-05-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | entry when it is readonly or normal. * doc/entry.n: Added documentation for readonly state, -disabledforeground, -disabledbackground. * tests/entry.test: Added tests for readonly state. * generic/tkEntry.c: Added support for "readonly" state, and redefined "disabled" state. A disabled entry will display its text in a dimmed color and possibly with a different background, and will be completely unusable (no selection, no editing). A readonly entry will look like a normal entry, but it will not be editable; selection is still allowed. [RFE: 4239]. To support the new disabled state properly, "-disabledforeground" and "-disabledbackground" options were added. *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE *** * win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.