Bwidget Source Code
Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

174 check-ins using file separator.tcl version 60efccd3fb

2003-08-06
23:37
* listbox.tcl: Correct Listbox selection drawing [Bug #781652]
check-in: b9e13bfb56 user: hobbs tags: trunk
2003-07-17
23:45
Fix for bug #720032 "BWidget breaks Tk entry behaviour" check-in: bb7a1f845a user: jenglish tags: trunk
20:00
* listbox.tcl (_multiple_select): correct shift-selection when selectmode is multiple. [Bug 653266] Use lsearch -exact instead of default -glob in all uses. Use list with eval for safety.
check-in: 8e2dd9b45a user: hobbs tags: trunk
19:59
* notebook.tcl: Use list with eval for safety. Use lsearch -exact instead of default -glob in all uses.
check-in: ce3ff258fa user: hobbs tags: trunk
16:41
clarify management of embedded widget check-in: 5aa0ec2611 user: hobbs tags: trunk
2003-06-23
20:27
* combobox.tcl: Added a little better handling of keys in the auto-complete. check-in: 5cb54da8ad user: damonc tags: trunk
2003-06-06
23:02
* combobox.tcl: Added a rudimentary auto-complete function with option (-autocomplete) that is turned off by default. Over time, I'm sure this function can be improved, but I think it works pretty well for now.

* BWman/ComboBox.tcl: Added documentation for -autocomplete. check-in: 6c5562c1f7 user: damonc tags: trunk

00:50
* listbox.tcl: Liberal use of list where appropriate to make the code safe for space-containing node names. check-in: ebe3ea42a0 user: damonc tags: trunk
2003-05-23
12:47
updated version number to 1.6.0 check-in: 8018d81385 user: techentin tags: trunk, bwidget-1-6-0
12:46
* README.txt: updated version number to 1.6.0
check-in: 3919e357f0 user: techentin tags: trunk
2003-05-18
23:07
* progressbar.tcl: correctly handle progressbar being quickly created and deleted by deleting afters and checking var existence.
check-in: 146a1b8e71 user: hobbs tags: trunk
17:26
Widget::focusOK: Don't assume that '-editable' option is always 1 or 0 for all widgets. [Bug 710658] check-in: 61b5694e0b user: jenglish tags: trunk
2003-05-15
00:09
* demo/tree.tcl: make the tree scrollview make sense in demo. [Bug 684462]
check-in: fcf32fa827 user: hobbs tags: trunk
00:09
* tree.tcl: correct node lsearch'ing to use -exact to allow for [] containing nodes [Bug 628041] (decoster)
check-in: 26989afe66 user: hobbs tags: trunk
00:09
* notebook.tcl: ensure that bd is min 1 at all times. [Bug 688227] Correct use of eval with list.
check-in: c901fb6c6f user: hobbs tags: trunk
2003-05-07
08:24
* dynhelp.tcl (DynamicHelp::_motion_balloon): correctly listify after delayed _show_help callback.
check-in: 63e01075ed user: hobbs tags: trunk
06:26
* scrollw.tcl (ScrolledWindow::setwidget): remove any existing widget before setting the next.
check-in: 28c841c470 user: hobbs tags: trunk
2003-05-02
01:07
* tree.tcl (Tree::configure, Tree::_draw_node): add a full-width box underneath the text and image/window that will react to the node binding if -selectfill is true. It is an empty box that is overly wide, but it could be improved to resize on Configure to just the window width and replace the sel box.
check-in: 16aef283ae user: hobbs tags: trunk
2003-04-24
01:03
(Tree::_redraw_selection): correct -selectfill to include the image, in any, in the bbox calculation since it may be larger.
check-in: aec83cd20a user: hobbs tags: trunk
00:53
* tree.tcl: liberal use of list where appropriate to make the code safe for space-containing node names. Make use of string equal instead of !string compare.
check-in: 3f4eb85d05 user: hobbs tags: trunk
2003-04-16
03:41
* listbox.tcl * tree.tcl: Added a #auto substitution for inserting new items into a tree or listbox.

* BWman/ListBox.html * BWman/Tree.html: Added documentation for #auto substitution. check-in: 106735c26c user: damonc tags: trunk

2003-04-15
01:21
* utils.tcl (BWidget::focus): add optional refocus arg * combobox.tcl: make droplist use solid 1-pixel relief more in accordance with Windows style. Set topmost attribute on droplist. Add bindings that unmap the droplist if we lose focus to another application (where [focus] == ""), without refocusing to the entry.
check-in: fa48aa6dee user: hobbs tags: trunk
2003-04-12
01:33
* combobox.tcl (ComboBox::_expand): add tab expansion behavior when -expand tab is specified (ComboBox::_focus_in): autohighlight full contents only when no existing selection exists. [Bug #720024]
* BWman/ComboBox.html: doc -expand none|tab
check-in: 21a522aaec user: hobbs tags: trunk
2003-03-13
06:59
* listbox.tcl: Added dynamic help support to listbox items.

* tree.tcl: Fixed a little inconsistency in the tree dynamic help. We don't need to save the whole path in the help array, just the node. check-in: 2068922661 user: damonc tags: trunk

2003-02-25
22:02
* scrollw.tcl: add lock around grid remove scrollbar to prevent infinite loop in small window situations. (kienzle)
check-in: 7d8f06c9a4 user: hobbs tags: trunk
21:56
bumped to v1.6 check-in: 25ea388b96 user: hobbs tags: trunk
10:13
bumped to v1.6 check-in: 598623983d user: hobbs tags: trunk
09:51
* scrollw.tcl: complete rewrite of ScrolledWindow widget to address infinite loop scrollbar problems. This one is much simpler and does not suffer the infinite loop. There still seems to be an issue with shrinking smaller than one scrollbar width / height in size, but that's not common (nor fatal). Addresses [Patch #671821, #520903] [Bug #472718, #564691]
check-in: 08508ddc5a user: hobbs tags: trunk
09:47
code cleanup check-in: a69dbc6278 user: hobbs tags: trunk
07:52
* panedw.tcl (_realize): only allow _realize to be called once the Configure binding has triggered once. [Bug #613134] [Patch #63500] (decoster)
check-in: e14bab597e user: hobbs tags: trunk
07:43
typo fix check-in: 987a93c858 user: hobbs tags: trunk
2003-02-18
01:54
* font.tcl: comment out the adding of default style bits for bold and italic. The allows setting the font to something like "Courier 8", clicking B on and off and getting "Courier 8" back again (otherwise gave "Courier 8 normal roman").
check-in: 1951f74ec2 user: hobbs tags: trunk
2003-02-08
10:21
* BWman/SelectColor.html * color.tcl: Cleaned up some of the documentation of SelectColor and made it actually work like the documentation says it does.

* BWman/DynamicHelp.html * dynhelp.tcl: Added -topbackground, -padx and -pady options to allow a little more flexibility in the look-and-feel of balloons.

Added the ability to bind dynamic help to individual items or tags on a canvas.

* BWman/Tree.html * tree.tcl: Added -padx and -deltax options to individual nodes within a tree. Each option defaults to -1, meaning to take its value from the global option of the same name.

Added dynamic help to nodes within a tree. Adds the following options: -helptext, -helptype and -helpvar to each node.

* BWman/BWidget.html * utils.tcl: Added BWidget::badOptionString utility to return a standard error string when a given option doesn't match a list.

* BWman/Widget.html * widget.tcl: Added Widget::getVariable proc to create a reference to a variable relative to the given widget path. check-in: ecd5aec25e user: damonc tags: trunk

2003-01-26
10:55
* BWman/DynamicHelp.html: * dynhelp.tcl: Added -state option to disable help balloons on a global scale.

* BWman/Tree.html: * tree.tcl: Added -crossfill option to allow the + / - bitmap to be filled with a different color than the connecting node lines. -linesfill is now accurate in its help entry and only adjusts the foreground color of the lines between the nodes. check-in: 56196186a5 user: damonc tags: trunk

2003-01-24
22:17
* tree.tcl (Tree::delete, Tree::_subdelete): remove all deleted nodes from the the selection [Bug #621178]. check-in: e50950f7c9 user: jenglish tags: trunk
2003-01-17
22:06
fixed -textvariable option [bug #649383] check-in: 48afad9c03 user: patthoyts tags: trunk
2002-10-14
20:56
* pkgIndex.tcl: * configure.in: bump version to 1.5
check-in: 0c25286c24 user: hobbs tags: trunk
20:56
code cleanup check-in: bf6ed377fa user: hobbs tags: trunk
20:55
* progressbar.tcl (_modify): use updated idletasks instead of update. [Patch #622927] (decoster)
check-in: 398edca30b user: hobbs tags: trunk
20:54
* widget.tcl (_get_tkwidget_options): withdraw toplevel if it is the TkResource base widget. [Patch #620754] (decoster)
check-in: 5ce7bed34c user: hobbs tags: trunk
20:54
* BWman/LabelFrame.html: * labelframe.tcl: allow -bitmap -image and -textvariable options of the BWLabel component of a LabelFrame. [Patch #620753] (decoster)
check-in: 8a47540795 user: hobbs tags: trunk
20:54
* dynhelp.tcl: allow variable and balloon help simultaneously. [Patch #567982] (decoster)
check-in: 03782bd383 user: hobbs tags: trunk
20:54
* tree.tcl (_see): change to always show left edge of requested item. [Patch #556077] (english)
check-in: d4829f8387 user: hobbs tags: trunk
20:54
* combobox.tcl: make -entrybg also control the listbox background. [Bug #519189] (chevreux)
check-in: c4f57dc7ac user: hobbs tags: trunk
20:53
* button.tcl: remove -repeatdelay and -repeatinterval for 8.4 to allow Button to override them. [Bug #620103]
check-in: 1cdb02035f user: hobbs tags: trunk
2002-09-25
22:55
better DESTDIR/libdir support (steffen) check-in: 3038836bdf user: hobbs tags: trunk
2002-09-11
19:33
* color.tcl (SelectColor::menu): added tkwait and update to make sure that the grab doesn't fail on Unix.
check-in: 3ad83c2251 user: hobbs tags: trunk
19:33
* listbox.tcl: corrected multiple selectmode bindings. [Patch #483838, Bug #594853] (decoster)
check-in: 37705c89d2 user: hobbs tags: trunk
2002-08-23
20:12
* tree.tcl: Modified subcommand 'includes' of the method 'selection to properly extract its argument. ... Revamped the whole subcommand to properly extract and check its arguments.
(create) Added Control-Button-1 bindings to allow toggling the selection of a node. I will do no bindings for shift-selecting and/or drag-selecting ranges. To complex for me right now.
Moved the code executing the -selectcommand callback to an internal procedure, and added calls to that procedure to all subcommands which change the selection. This fixes SF Bwidget Bug #547245.
* BWman/Tree.html: Documented the 'includes' and 'range' subcommands of the method 'selection' of tree widgets. Documented the node option '-selectable'. Documented that the subcommands extending or setting the selection silently ignore unselectable nodes. Documented new 'toggle' subcommand of method 'selection'. Documented option --slectcommand'. Fixed bogus table html in option lists.
check-in: 155e59d7ed user: andreas_kupries tags: trunk
2002-08-07
22:10
reverted panedwindow class change - this was really a core name problem check-in: 358a9bc466 user: hobbs tags: trunk
22:04
* panedw.tcl: changed class from PanedWindow to BwPanedWindow to not conflict with 8.4 panedwindow.
check-in: 440b5c10d6 user: hobbs tags: trunk
2002-06-04
22:27
correction to chevreux patch to handle no parent specified check-in: c34013ef9f user: hobbs tags: trunk, tcllib-1-3-0, bwidget-1-4-1
22:11
noted tag date of 1.4.1 check-in: 0b9d48e5ec user: hobbs tags: trunk
22:09
uped version to 1.4.1 check-in: 031c28da0a user: hobbs tags: trunk
22:05
comment cleanup check-in: 11fc8fa88a user: hobbs tags: trunk
22:04
* listbox.tcl: corrected use of 'end' as move index. [Bug #561391] * buttonbox.tcl: * tree.tcl: force frame -padx/-pady to 0 to handle 8.4+ frame padding options. [Bug #545119]
check-in: 0149086be5 user: hobbs tags: trunk
22:03
* dialog.tcl: prevent dialog from freezing on Windows with tkwait visibility on withdrawn toplevels. [Patch #521386] (chevreux)
check-in: 33df5b59fd user: hobbs tags: trunk
22:03
* font.tcl: reworked loadfont to not sort font names unless requested. [Patch #524353] (kienzle, hobbs)
check-in: 7a9a373b6d user: hobbs tags: trunk
22:03
* panedw.tcl: corrected handling of weighted panes following a Configure event. [Patch #513320] (decoster)
check-in: f03b3e6de4 user: hobbs tags: trunk
22:02
* progressbar.tcl: Fixed display of vertical progressbar. [Patch #561403]
check-in: 42ecc7a8ca user: hobbs tags: trunk
2002-05-29
22:02
* combobox.tcl: Changed relief of popup list to ridge, for Win* platforms. check-in: 31049255f2 user: andreas_kupries tags: trunk
2002-05-09
21:01
* dynhelp.tcl: Accepted patch for bug 528929. Reported by <[email protected]>, patch also by him. check-in: f58f549e7a user: andreas_kupries tags: trunk
2002-04-25
18:11
* notebook.tcl: Accepted patch for bug #532246, fixing the appearance of the tabs so that text is always visible completely. check-in: 044c516f24 user: andreas_kupries tags: trunk
2002-01-28
21:56
Support for multiple screens under Windows OS check-in: c4352baa1c user: patthoyts tags: trunk
2002-01-23
00:38
updated for 1.4.0 tag release check-in: 84eda1311f user: hobbs tags: trunk, bwidget-1-4-0
00:37
updated copyright dates check-in: 7af53b61b9 user: hobbs tags: trunk
00:36
* widget.tcl: added Color as an optional type, with _test_color test. [RFE #443124].
check-in: 8df09802d4 user: hobbs tags: trunk
2002-01-16
02:20
see ChangeLog check-in: 041d2b879a user: hobbs tags: trunk
02:19
* BWman/ComboBox.html: removed reference to label options that were removed when the LabelFrame was dropped. [Bug #477130]
check-in: c2627c0036 user: hobbs tags: trunk
02:19
* listbox.tcl: allowed drop handler to work in empty listbox. [Bug #456883]
check-in: b3b6913380 user: hobbs tags: trunk
2002-01-15
18:51
* mainframe.tcl: correct unprotected eval calls. [Patch #501210] (chevreux)
check-in: b29891b0fe user: hobbs tags: trunk
2001-12-29
02:06
see ChangeLog check-in: be1ce2e200 user: hobbs tags: trunk
02:06
* widget.tcl: Select element 4 (was 3) from the config-options to get value from optiondb. [Patch #483838] (decoster)
check-in: 5ab2c913b3 user: hobbs tags: trunk
02:06
* mainframe.tcl: added options -menubarfont, -menuentryfont and -statusbarfont at creation time of the widget as well as subsequent configures. [Patch #479935] (chevreux)
check-in: 5f381ab362 user: hobbs tags: trunk
02:06
* utils.tcl: added else case to place is called with location different from 'at' and 'center' and without a parent. [Patch #484123] (decoster)
check-in: 0cfe507567 user: hobbs tags: trunk
02:06
* BWman/ListBox.html: * listbox.tcl: Added '-selectmode' flag and 2 possible select-modes: single and multiple. [Patch #483838] (decoster)
check-in: 513fac1226 user: hobbs tags: trunk
02:05
* BWman/PanedWindow.html: * panedw.tcl: Added '-weights' flag with possible value 'extra' or 'available'. Since BWidget-1.3.1, the meaning of the '-weight' flag for the 'PanedWindow::add' command was changed. This made it difficult to create a layout where the panes occupy a certain amount of the screen. When using the '-weights extra' flag when creating a PanedWindow widget, the >=1.3.1 behavior is used: the weights for the different panes are only used for extra space. When using the '-weights available' flag, the weights for the different panes are used to set the size of each panes relative to the total available space. [Patch #483838] (decoster)
check-in: a09ea2424c user: hobbs tags: trunk
02:05
* BWman/ProgressBar.html: * progressbar.tcl: Added new type 'nonincremental_infinite' and modified movement of progressbar when in 'infinite' or 'nonincremental_infinite' mode. The 'nonincremental_infinite' can be used when a certain process monitored by a ProgressBar returns a total count and not an increment count. [Patch #483838] (decoster)
check-in: 44910f5251 user: hobbs tags: trunk
02:05
* BWman/Tree.html: * tree.tcl: Added a 'recursive' argument to 'Tree::opentree' and 'Tree::closetree'. [Patch #483838] (decoster)
check-in: fb00672cdf user: hobbs tags: trunk
02:04
* BWman/Dialog.html: * dialog.tcl: Added '-transient' and '-place' flags. [Patch #483838] (decoster)
check-in: 54c7f1716d user: hobbs tags: trunk
01:41
* configure.in: * pkgIndex.tcl: * README.txt: bumped version to 1.4.0 (not released)
check-in: 053e2f358e user: hobbs tags: trunk
01:40
* widget.tcl: added Widget::copyinit. [Patch #458446] (chevreux)
check-in: 6d692f3145 user: hobbs tags: trunk
01:40
* listbox.tcl: added multipleinsert command to allow faster inserts of multiple items. [Patch #458446] (chevreux)
check-in: 37e7e5b746 user: hobbs tags: trunk
01:40
* BWman/NoteBook.html: * notebook.tcl: added options for enhanced tab shape in notebooks. [Patch #402466] (haneef)
check-in: d148d6af34 user: hobbs tags: trunk
01:39
* mainframe.tcl (_create_menubar): start tagstate initially on. [Patch #470273] (chevreux) (_parse_accelerator): improve F* function key accelerator support. [Patch #444172] (venski)
check-in: f61b67b637 user: hobbs tags: trunk
2001-10-14
19:32
Creating branch bwidget-1-3-1-branch Leaf check-in: d9d4b51a08 user: cvs tags: tcllib-1-1-0, bwidget-1-3-1-branch
19:32
reverted fix of 2001-10-11 - it was bogus check-in: 5e9a1f54f1 user: hobbs tags: trunk
2001-10-11
16:34
added ability to specify page by name, not just number check-in: 4e3e9128fe user: hobbs tags: trunk
2001-09-24
19:18
Pack the toolbar with -expand yes -fill x so that it extends all the way across the mainframe, as per SF patch #445675. check-in: 450bf73c24 user: jenglish tags: trunk
2001-09-13
17:28
* notebook.tcl: Removed 'Canvas' from the list of bindtags for the internal canvas to prevent interference from application specific bindings with our special widget. [459033]. check-in: 1e811050b9 user: andreas_kupries tags: trunk
2001-09-06
19:50
* passwddlg.tcl: Accepted change by Bastien Chevreux <[email protected]> adding a -logineditable option to the password dialog. [436340]. check-in: b2016e6dcc user: andreas_kupries tags: trunk
00:22
* panedw.tcl: Added option -activator to allow user to choose sash activator. Reduced minimum allowed sash width. [442474]. Request made by Bastien Chevreux <[email protected]>. check-in: 9ee4b29d70 user: andreas_kupries tags: trunk
00:08
* label.tcl: Corrected typo in BWlabel::configure [454505], report and fix by Bastien Chevreux <[email protected]>. check-in: 4f1d86572b user: andreas_kupries tags: trunk
00:02
* arrow.tcl: Changed containing frame to be more invisible (borderwidth 0). Fixes [458301], by Georgios Petasis <[email protected]>. check-in: d98d02d0d5 user: andreas_kupries tags: trunk
2001-08-16
18:46
correct minor html error check-in: ba1f00ff4b user: hobbs tags: trunk
2001-08-08
20:58
2001-08-08 Andreas Kupries <[email protected]>
* tree.tcl (Tree::_keynav): Added code to call the open and close commands when the open-status of a node is toggled with the space bar. Bug [449284].
check-in: 1ee1206401 user: andreas_kupries tags: trunk
20:42
2001-08-08 Andreas Kupries <[email protected]>
* color.tcl: Added the missing definition of the main 'SelectColor' procedure. This prevented users from creating these widgets in the documented way. Bug [449276].
check-in: f545019fec user: andreas_kupries tags: trunk
2001-07-19
22:03
Updated with 1.3.1 information check-in: e223c48505 user: techentin tags: trunk, bwidget-1-3-1
2001-06-22
01:56
* tree.tcl: Corrected keyboard navigation so that open/close commands are invoked when right/left arrows are used to open/close nodes, patch from [Bug #435097]. Also corrected keyboard navigation on right arrow press; previously only opened closed nodes that had children, but should always open nodes, regardless of whether it has children. check-in: e7f424c3f6 user: ericm tags: trunk
2001-06-11
23:58
* passwddlg.tcl: * xpm2image.tcl: * mainframe.tcl: * panedw.tcl: * utils.tcl: * entry.tcl: * dynhelp.tcl: * dragsite.tcl: * color.tcl: added braces to expr where appropriate
check-in: ce9f3f3ee8 user: hobbs tags: trunk
23:58
* demo/demo.tcl: fixed demo script to run when called from another directory
check-in: c8076bb3f4 user: hobbs tags: trunk
23:58
* pkgIndex.tcl: bumped version to 1.3.1 and added Tk 8.1.1 package require as Tcl 8.1.1 is needed in certain core areas for the new string methods.
check-in: 6e599ef1b2 user: hobbs tags: trunk
23:57
* mainframe.tcl: corrected state interpretation. It doesn't do exact argument matching, but it is consistent with the rest of BWidget. [Bug #224476]
check-in: 6f242c1873 user: hobbs tags: trunk
23:57
combobox.tcl: added package require Tk 8.3. check-in: c536955b68 user: hobbs tags: trunk
23:57
messagedlg.tcl: corrected winfo exists call check-in: f35ea2b0c8 user: hobbs tags: trunk
23:57
listbox.tcl: fixed string compare call check-in: 12554f70af user: hobbs tags: trunk
2001-05-31
20:01
Fix for bug #225308 "tk8.4 breaks Entry widget state option" check-in: c7da3c6232 user: jenglish tags: trunk
2000-10-31
15:48
Fixed a bug by changing the 'lsearch' commands to 'lsearch -exact' so that glob characters in the combobox don't cause the 'getvalue' to break. check-in: 189b1d8467 user: kuchler tags: trunk
2000-10-10
21:17
* dynhelp.tcl: Added the '-screen' option to the toplevel that is created to display the help text to fix a bug reported by Tupone Alfredo. check-in: f3f468f9b4 user: kuchler tags: trunk
2000-10-01
17:36
* notebook.tcl: Fixed typo in _draw_page that incorrectly placed images on tabs. check-in: ee4634d029 user: ericm tags: trunk
2000-09-17
23:39
* widget.tcl (_test_boolean): Altered to return strictly 0 or 1 (for false and true, respectively), rather than allowing the string booleans (false, true, off, on, etc). check-in: e4d33c5e75 user: ericm tags: trunk
2000-09-07
16:20
*** empty log message *** check-in: d0472fc76a user: sven tags: trunk, ajuba-ajuba3-3-0-beta-base
16:20
* mainframe.tcl: Fixed the typo of Alt (Atl) as reported in bug # 6079. check-in: 49dfcedd22 user: sven tags: trunk
2000-09-06
21:47
Typo correction. check-in: 8c9f6b03af user: ericm tags: trunk
21:35
Fixed bad destroy binding to apply to container frame, not to component label. check-in: ca4ca7542d user: ericm tags: trunk
2000-09-05
21:18
* label.tcl: Corrected bindtags for BWidgets Label components: primary component widget now includes the megawidget pathname in its bindtags list, so that bindings on the megawidget pathname are applied properly. check-in: 9b41d3588c user: ericm tags: trunk
2000-08-24
00:16
Converted files to LF termination check-in: 056d3ac6b3 user: stanton tags: trunk
2000-08-10
22:55
* widget.tcl: Corrected a problem caused by the destruction of the special .#BWidget* widgets, which are used by BWidgets for some option value validations; formerly, if these were destroyed, it could confuse the BWidgets system's internal state, and creating BWidgets after destroying these helper widgets would throw an error. check-in: ae3d513853 user: ericm tags: trunk
2000-06-15
00:45
* dialog.tcl * dropsite.tcl * dynhelp.tcl * scrollview.tcl: Replaced several catch {unset varname} calls with if {[info exists varname]} {unset varname}. This avoids using the catch, and also prevents the ::errorInfo corruption that was happening in BWidgets. check-in: cf328aa97c user: kuchler tags: trunk, ajuba-ajuba2-2-1-base
2000-06-13
18:36
Removed stray "puts" check-in: 6a0616dae0 user: ericm tags: trunk
2000-05-30
23:44
Updated copyright strings. check-in: 2523376288 user: ericm tags: trunk, ajuba-ajuba2-2-0
2000-05-14
20:39
Fixed a typing error in the Tree::find procedure. The procedure wouldn't work because there was a 'llengh' where there should have been a 'llength'. check-in: 6a88a69100 user: kuchler tags: trunk
2000-05-09
03:48
* titleframe.tcl: Added a '-state' flag that is associated to the state of the label. Now that labels can be disabled (in 8.3 and beyond) this allows for the titleframe to have a disabled appearence. check-in: a550e31ae1 user: kuchler tags: trunk
01:53
Fixing some fallout from focus work. check-in: 01176d7fa8 user: ericm tags: trunk
00:01
Another crack at the cursed tree focus problem. check-in: ede99c1cd2 user: ericm tags: trunk
2000-05-05
21:15
Undo focus footwork changes from a few days ago. check-in: 9d590d4280 user: ericm tags: trunk
2000-05-03
01:22
* tree.tcl: Did some fancy focus footwork [Bug: 4491]. Now you can do this: "Tree .t ; bind .t <Button-1> foo", and it will do the right thing. This will enable the use of proper focus-on-mouse-click bindings for trees, which in turn will fix the focus problem described in 4491. In addition, I added a binding to the canvas widget in the tree that redirects focus when it leaves the canvas and goes to the frame, just in case.

* dialog.tcl: Added a -geometry option, to allow the specification of geometry for the dialog. No particular care is taken to validate the geometry string, so if it is bogus, you lose. [RFE: 5188]. check-in: 96fd99fedc user: ericm tags: trunk

2000-04-27
15:39
* entry.tcl: Added smarts to handle Copy for non-editable entries (it should be allowed, but was not previously) [Bug: 3755].

* notebook.tcl: Small tweaks for placement of images on tabs.

* combobox.tcl: Added code to ensure that non-editable (but enabled) comboboxes could still be tabbed in to. check-in: 4053c67e25 user: ericm tags: trunk

2000-04-26
21:07
*** empty log message *** check-in: 43e193a5ed user: kuchler tags: trunk
21:05
Fixed the bindings for the underline character to be case insensitive for alphabet characters. check-in: cd911af8d8 user: kuchler tags: trunk
2000-04-25
23:37
Fixed default return value for _get_current_node so that _keynav wouldn't choke when nothing was selected. check-in: 2debbd54d7 user: ericm tags: trunk
2000-03-30
05:21
*** empty log message *** check-in: e8ee979e23 user: sven tags: trunk, scriptics-sc-2-0-b5
2000-03-29
20:57
* tree.tcl: Added protection for the left arrow key click in case we are already at the root node. This used to throw a Tcl error (fixes bug # 4619). check-in: b1d0ba62c9 user: sven tags: trunk
2000-03-27
21:52
*** empty log message *** Leaf check-in: b4dff7da83 user: sven tags: scriptics-sc-2-0-beta-branch
21:51
* tree.tcl: Added protection for the left arrow key click in case we are already at the root node. This used to throw a Tcl error (fixes bug # 4619). check-in: 9e54948e6a user: sven tags: scriptics-sc-2-0-beta-branch
2000-03-20
22:35
* progressbar.tcl: (configure) Added test for change to -maximum value, so that bar is redrawn if maximum changes. [Bug: 4399]. check-in: 03371c78c0 user: ericm tags: trunk, scriptics-sc-2-0-beta-base, scriptics-sc-2-0-b1, scriptics-sc-2-0-b2
22:22
* BWman/SpinBox.html: Removed references to -label* options.

* demo/select.tcl: Removed use of -label* options on ComboBox and SpinBox. [Bug: 4394]. check-in: 04caf798b9 user: ericm tags: trunk

2000-03-14
20:20
* button.tcl: (configure) replaced several hasChanged calls with one hasChangedX call.

* dynhelp.tcl: (sethelp) replaced several hasChanged calls with one hasChangedX call.

* entry.tcl: Replaced stack of hasChanged calls with one hasChangedX (in configure); replaced a couple cget's with getMegawidgetOption's.

* spinbox.tcl: Updated _test_options to use setMegawidgetOption, and to only do that if it has to, instead of always doing it.

* tree.tcl: Worked on itemcget; instead of upvar'ing the one-time-use variable, just refer to it directly.

* widget.tcl: One problem with [set ${class}::${path}:opt($option)] -- if path contains "foo(foo)", the command will choke. Removed that particular micro-optimization. Added setMegawidgetOption to compliment getMegawidgetOption; extended hasChangedX to accept multiple options to check. This allows us to compress stacks of hasChanged calls into a single call (so there's a single function call, and a single upvar...). check-in: 6492bbaf6a user: ericm tags: trunk

03:25
Rollback problematic change. check-in: ea76b043b6 user: ericm tags: trunk
01:45
* combobox.tcl: Tweaked bg/background options so that button didn't pick up entry background. check-in: 790b606531 user: ericm tags: trunk
01:23
* widget.tcl: Removed dead code; micro-optimizations to initFromODB.

* tree.tcl: Added option for default -fill of tree nodes on windows.

* notebook.tcl: Removed commented code.

* button.tcl: * entry.tcl: Replaced selected cget/getoption calls with getMegawidgetOption calls. check-in: 8f3c969d9b user: ericm tags: trunk

00:22
Undid a bad change. check-in: fe40b9229a user: ericm tags: trunk
2000-03-13
18:21
* tree.tcl: * spinbox.tcl: * entry.tcl: * dropsite.tcl: * dragsite.tcl: * arrow.tcl: Replaced selected cget/getoption calls with getMegawidgetOption calls.

* combobox.tcl: Removed LabelFrame from ComboBox (30% faster). check-in: 8ba51986ce user: ericm tags: trunk

17:21
* widget.tcl: Added getMegawidgetOption function, which allows direct access to megawidget-specific options (those that do not map to a component widget option). This is dangerous, because it bypasses some checks, and it will only work with options that are specific to the megawidget. However, it is much faster, and enables some functions (like visiblenodes) to be much faster.

* tree.tcl: Reworked visiblenodes function to do a tree walk to find visible nodes. This is faster and more correct than the previous implementation, which queried all the nodes in the tree for their open bit. check-in: a0170bdaf0 user: ericm tags: trunk

2000-03-11
02:19
*** empty log message *** check-in: af0ae685f5 user: sven tags: trunk
02:19
* tree.tcl: Changed the allnodes procedure to visiblenodes, and also the mechanism of retrieving those nodes. This took care of the previously required update. check-in: ba225828c0 user: sven tags: trunk
2000-03-10
16:58
* widget.tcl: Replaced an upvar with a direct reference to the variable in initFromODB.

* dynhelp.tcl: Changed sethelp function to use new hasChangedX function instead of hasChanged, which avoids an unneeded upvar, for a little better speed.

* button.tcl: Changed to parseArgs/initFromODB format for a small (25%) speedup in creation time. check-in: 26a9e9b23a user: ericm tags: trunk

00:49
* entry.tcl: Added code to re-sync the -text option with the contents of the entry widget before doing configuration; this fixes [Bug: 4304]. check-in: c37d8b3a34 user: ericm tags: trunk
2000-03-09
19:41
*** empty log message *** check-in: d3409f6e69 user: sven tags: trunk
19:41
* tree.tcl: Disabled the update before the find withtag in the allnodes procedure. The nodes are apparently created delayed, so before this procedure is called, the program has to do an update. I don't do this in the procedure anymore, because it caused multiple updates, making the app slower. check-in: a4a2ddb7f9 user: sven tags: trunk
2000-03-08
23:49
Changed the allnodes procedure. check-in: f74f07e33b user: sven tags: trunk
23:49
* tree.tcl: The new allnodes procedure was not handling the "current" tag correctly. This is now stripped of. check-in: 59d7527d59 user: sven tags: trunk
03:26
* button.tcl: Added check for -state flag, to initialize it properly.

* entry.tcl: Changed to parseArgs/initFromODB format; added check for -text flag to initialize it properly.

* labelentry.tcl: Changed to use parseArgs/initFromODB format. check-in: 9933dd2412 user: ericm tags: trunk

01:55
* spinbox.tcl: Added a call in setvalue to scan the current value into a float to trim out any 0 padding on the number (otherwise the zero's make it look like octal to tcl, which chokes on numbers > 8) check-in: 5c9f801de6 user: ericm tags: trunk
00:18
*** empty log message *** check-in: 41327cfc32 user: sven tags: trunk
00:17
* passwddlg.tcl: Reenabled the <Return> binding to activate the ok button. check-in: 65d0d8a6f1 user: sven tags: trunk
2000-03-07
23:18
* dragsite.tcl: I added an extra protection into the _begin_drag procedure to guard against a motion event that (sometimes) arrives before the press event. This fixes bug # 4324. check-in: 76927de528 user: sven tags: trunk
2000-03-03
23:54
* spinbox.tcl: Removed LabelFrame from SpinBox (BACKWARDS INCOMPATIBLE) to speed creation; updated configure proc to use hasChangedX instead of hasChanged, as it didn't really need the values of the options it was checking. check-in: d0f8f323d9 user: ericm tags: trunk
2000-03-02
00:19
Updated version number in configure.in; added SpinBoxEntry to bindtags for SpinBox entry component. check-in: e8a9147a37 user: ericm tags: trunk
2000-03-01
20:16
* pkgIndex.tcl: Bumped version to 1.3.0.

* tree.tcl: Changed focus redirect to use {after idle} to avoid focus loops.

* label.tcl: Added -bd 0 -highlight... etc to wrapper frame; moved class bindings to the frame instead of the component label.

* utils.tcl: Added helper function BWidget::refocus, to handle focus redirection calls.

* spinbox.tcl: Changed focus redirect to use {after idle} to avoid focus loops.

* combobox.tcl: Changed init to parseArgs/initFromODB style; changed focus redirect to use {after idle} to avoid focus loops. check-in: 790e86ec6a user: ericm tags: trunk

18:49
Fixed typo ProgessDlg => ProgressDlg check-in: 580ca7f9f5 user: ericm tags: trunk
02:12
* widget.tcl: Added bits to handle $path#subclass_that_inherits_from_other_bw_class megawidget names.

* passwddlg.tcl: * progressdlg.tcl: * progressbar.tcl: Changed init to parseArgs/initFromODB style.

* pkgIndex.tcl: Changed Label -> BWLabel

* messagedlg.tcl: Changed initialization to parseArgs/initFromODB style. Changed to use tk_messageBox on UNIX.

* labelframe.tcl: Updated to use BWLabel instead of Label.

* labelentry.tcl: Added -class LabelEntry to widget.

* label.tcl: Changed class name to BWLabel (to avoid option db clashes with tk labels), changed initialization to parseArgs/initFromODB style.

* init.tcl: dropped obsolete Tree option from init.

* dialog.tcl: changed initialization to parseArgs/initFromODB style.

* dialog.tcl: added a -class option to the dialog, to allow the class of the dialog to be set (this enables proper optiondb use for things like the PasswdDlg). check-in: 45d35a6ade user: ericm tags: trunk

2000-02-29
23:04
* entry.tcl: Fixed a conflict with configuring the Entry -text and textvariables. check-in: 67cb79fdbc user: ericm tags: trunk
22:05
* notebook.tcl: Added -bd 0 -highlightthickness 0 -relief flat to the notebook container frame so geometries are correct.

* entry.tcl: Fixed a conflict with configuring the Entry -text and textvariables.

* dialog.tcl: added a -class option to the dialog, to allow the class of the dialog to be set (this enables proper optiondb use for things like the PasswdDlg). check-in: c2380ca81c user: ericm tags: trunk

02:41
* widget.tcl: Added Widget::varForOption function, which returns a variable name that can be used to trace changes to an option for a particular megawidget (such as the -values option of a combobox).

* entry.tcl: Made cget -text a little more efficient by shortcircuiting in that case.

* combobox.tcl: Fixed bug #4248 by making the listbox use a -listvariable instead of trying to micromanage the listbox contents. check-in: 6f11528113 user: ericm tags: trunk

2000-02-28
18:37
* tree.tcl: Fixed focus issue. check-in: f30440abdc user: ericm tags: trunk
18:06
* tests/entry.test: tests for the Entry widget.

* widget.tcl: minor code cleanup.

* tree.tcl: Was not getting proper default bg color on Windows, and keyboard navigation was goofy because of internal structure changes.

* entry.tcl: Fixed an issue with initial foreground color not being picked up correctly. check-in: ffceb11fde user: ericm tags: trunk

16:48
*** empty log message *** check-in: 85bdc24db0 user: sven tags: trunk
16:46
* tree.tcl: Apparently the internal widget structure of tree was changed recently. I adjusted the "allnodes" procedure to that. check-in: e8bac5f7a5 user: sven tags: trunk
16:20
*** empty log message *** check-in: 597a04b1a9 user: sven tags: trunk
16:19
* tree.tcl: Added a procedure called "allnodes" to retrieve the names of all currently defined treenodes. check-in: 2d821a754a user: sven tags: trunk
2000-02-27
20:22
ComboBox was setting -state flag of its entry instead of -editable flag when changing the -editable flag of the combobox. check-in: c7456a9d0f user: ericm tags: trunk
2000-02-26
03:51
* combobox.tcl: Fixed a problem with non-editable comboboxes and selecting values.

* arrow.tcl: Fixed a problem with the invoke method (doing one too many winfo parents in some cases) check-in: 8e57b113e0 user: ericm tags: trunk

01:56
* arrow.tcl: * button.tcl: * buttonbox.tcl: * combobox.tcl: * dialog.tcl: * dynhelp.tcl: * entry.tcl: (also fixed validation) * label.tcl: * labelframe.tcl: * listbox.tcl: * mainframe.tcl: * notebook.tcl: * pagesmgr.tcl: * panedw.tcl: * progressbar.tcl: * scrollview.tcl: * scrollw.tcl: * separator.tcl: * spinbox.tcl: * titleframe.tcl: * tree.tcl: Updated to new megawidget architecture.

* widget.tcl: Changed internal architecture. When possible, megawidget options are stored in component widgets instead of in an intermediary array. Also, made use of option database to make megawidget creation more efficient. check-in: fb6cf15d1c user: ericm tags: trunk