arcadia 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. data/README +126 -123
  2. data/arcadia.rb +770 -756
  3. data/base/a-contracts.rb +130 -93
  4. data/base/a-ext.rb +280 -280
  5. data/base/a-libs.rb +5 -11
  6. data/base/a-utils.rb +235 -44
  7. data/conf/arcadia.conf +20 -16
  8. data/conf/arcadia.init.rb +0 -0
  9. data/conf/arcadia.res.rb +74 -0
  10. data/ext/ae-complete-code/ae-complete-code.conf +0 -0
  11. data/ext/ae-complete-code/ae-complete-code.rb +80 -79
  12. data/ext/ae-debug/ae-debug.conf +0 -0
  13. data/ext/ae-debug/ae-debug.rb +2 -6
  14. data/ext/ae-debug/debug1.57.rb +0 -0
  15. data/ext/ae-doc-code/ae-doc-code.conf +15 -0
  16. data/ext/ae-doc-code/ae-doc-code.rb +289 -0
  17. data/ext/ae-editor/ae-editor.conf +17 -8
  18. data/ext/ae-editor/ae-editor.rb +738 -396
  19. data/ext/ae-event-log/ae-event-log.conf +0 -0
  20. data/ext/ae-event-log/ae-event-log.rb +0 -0
  21. data/ext/ae-file-history/ae-file-history.conf +2 -2
  22. data/ext/ae-file-history/ae-file-history.rb +286 -290
  23. data/ext/ae-inspector/ae-inspector.conf +0 -0
  24. data/ext/ae-inspector/ae-inspector.rb +0 -0
  25. data/ext/ae-output-event/ae-output-event.conf +2 -2
  26. data/ext/ae-output/ae-output.conf +2 -2
  27. data/ext/ae-output/ae-output.rb +173 -178
  28. data/ext/ae-palette/ae-palette.conf +0 -0
  29. data/ext/ae-palette/ae-palette.rb +0 -0
  30. data/ext/ae-shell/ae-shell.conf +0 -0
  31. data/ext/ae-shell/ae-shell.rb +54 -54
  32. data/lib/tk/al-tk.rb +3076 -3082
  33. data/lib/tk/al-tk.res.rb +0 -0
  34. data/lib/tk/al-tkarcadia.rb +0 -0
  35. data/lib/tk/al-tkcustom.rb +0 -0
  36. data/lib/tkext/al-bwidget.rb +0 -0
  37. data/lib/tkext/al-iwidgets.rb +0 -0
  38. data/lib/tkext/al-tile.rb +0 -0
  39. data/lib/tkext/al-tktable.rb +0 -0
  40. data/tcl/BWidget-1.8.0/BWman/ArrowButton.html +276 -0
  41. data/tcl/BWidget-1.8.0/BWman/BWidget.html +228 -0
  42. data/tcl/BWidget-1.8.0/BWman/Button.html +273 -0
  43. data/tcl/BWidget-1.8.0/BWman/ButtonBox.html +264 -0
  44. data/tcl/BWidget-1.8.0/BWman/ComboBox.html +402 -0
  45. data/tcl/BWidget-1.8.0/BWman/Dialog.html +314 -0
  46. data/tcl/BWidget-1.8.0/BWman/DragSite.html +139 -0
  47. data/tcl/BWidget-1.8.0/BWman/DropSite.html +254 -0
  48. data/tcl/BWidget-1.8.0/BWman/DynamicHelp.html +248 -0
  49. data/tcl/BWidget-1.8.0/BWman/Entry.html +341 -0
  50. data/tcl/BWidget-1.8.0/BWman/Label.html +331 -0
  51. data/tcl/BWidget-1.8.0/BWman/LabelEntry.html +194 -0
  52. data/tcl/BWidget-1.8.0/BWman/LabelFrame.html +144 -0
  53. data/tcl/BWidget-1.8.0/BWman/ListBox.html +678 -0
  54. data/tcl/BWidget-1.8.0/BWman/MainFrame.html +283 -0
  55. data/tcl/BWidget-1.8.0/BWman/MessageDlg.html +218 -0
  56. data/tcl/BWidget-1.8.0/BWman/NoteBook.html +374 -0
  57. data/tcl/BWidget-1.8.0/BWman/PagesManager.html +180 -0
  58. data/tcl/BWidget-1.8.0/BWman/PanedWindow.html +142 -0
  59. data/tcl/BWidget-1.8.0/BWman/PanelFrame.html +153 -0
  60. data/tcl/BWidget-1.8.0/BWman/PasswdDlg.html +214 -0
  61. data/tcl/BWidget-1.8.0/BWman/ProgressBar.html +152 -0
  62. data/tcl/BWidget-1.8.0/BWman/ProgressDlg.html +145 -0
  63. data/tcl/BWidget-1.8.0/BWman/ScrollView.html +130 -0
  64. data/tcl/BWidget-1.8.0/BWman/ScrollableFrame.html +191 -0
  65. data/tcl/BWidget-1.8.0/BWman/ScrolledWindow.html +116 -0
  66. data/tcl/BWidget-1.8.0/BWman/SelectColor.html +164 -0
  67. data/tcl/BWidget-1.8.0/BWman/SelectFont.html +152 -0
  68. data/tcl/BWidget-1.8.0/BWman/Separator.html +77 -0
  69. data/tcl/BWidget-1.8.0/BWman/SpinBox.html +250 -0
  70. data/tcl/BWidget-1.8.0/BWman/StatusBar.html +147 -0
  71. data/tcl/BWidget-1.8.0/BWman/TitleFrame.html +107 -0
  72. data/tcl/BWidget-1.8.0/BWman/Tree.html +947 -0
  73. data/tcl/BWidget-1.8.0/BWman/Widget.html +502 -0
  74. data/tcl/BWidget-1.8.0/BWman/contents.html +84 -0
  75. data/tcl/BWidget-1.8.0/BWman/index.html +7 -0
  76. data/tcl/BWidget-1.8.0/BWman/navtree.html +41 -0
  77. data/tcl/BWidget-1.8.0/BWman/options.htm +458 -0
  78. data/tcl/BWidget-1.8.0/CHANGES.txt +266 -0
  79. data/tcl/BWidget-1.8.0/ChangeLog +1641 -0
  80. data/tcl/BWidget-1.8.0/LICENSE.txt +41 -0
  81. data/tcl/BWidget-1.8.0/README.txt +127 -0
  82. data/tcl/BWidget-1.8.0/arrow.tcl +551 -0
  83. data/tcl/BWidget-1.8.0/bitmap.tcl +94 -0
  84. data/tcl/BWidget-1.8.0/button.tcl +324 -0
  85. data/tcl/BWidget-1.8.0/buttonbox.tcl +403 -0
  86. data/tcl/BWidget-1.8.0/color.tcl +493 -0
  87. data/tcl/BWidget-1.8.0/combobox.tcl +809 -0
  88. data/tcl/BWidget-1.8.0/demo/basic.tcl +199 -0
  89. data/tcl/BWidget-1.8.0/demo/bwidget.xbm +46 -0
  90. data/tcl/BWidget-1.8.0/demo/demo.tcl +212 -0
  91. data/tcl/BWidget-1.8.0/demo/dnd.tcl +42 -0
  92. data/tcl/BWidget-1.8.0/demo/manager.tcl +141 -0
  93. data/tcl/BWidget-1.8.0/demo/select.tcl +59 -0
  94. data/tcl/BWidget-1.8.0/demo/tmpldlg.tcl +214 -0
  95. data/tcl/BWidget-1.8.0/demo/tree.tcl +260 -0
  96. data/tcl/BWidget-1.8.0/demo/x1.xbm +2258 -0
  97. data/tcl/BWidget-1.8.0/dialog.tcl +345 -0
  98. data/tcl/BWidget-1.8.0/dragsite.tcl +197 -0
  99. data/tcl/BWidget-1.8.0/dropsite.tcl +455 -0
  100. data/tcl/BWidget-1.8.0/dynhelp.tcl +625 -0
  101. data/tcl/BWidget-1.8.0/entry.tcl +469 -0
  102. data/tcl/BWidget-1.8.0/font.tcl +566 -0
  103. data/tcl/BWidget-1.8.0/images/bold.gif +0 -0
  104. data/tcl/BWidget-1.8.0/images/copy.gif +0 -0
  105. data/tcl/BWidget-1.8.0/images/cut.gif +0 -0
  106. data/tcl/BWidget-1.8.0/images/dragfile.gif +0 -0
  107. data/tcl/BWidget-1.8.0/images/dragicon.gif +0 -0
  108. data/tcl/BWidget-1.8.0/images/error.gif +0 -0
  109. data/tcl/BWidget-1.8.0/images/file.gif +0 -0
  110. data/tcl/BWidget-1.8.0/images/folder.gif +0 -0
  111. data/tcl/BWidget-1.8.0/images/hourglass.gif +0 -0
  112. data/tcl/BWidget-1.8.0/images/info.gif +0 -0
  113. data/tcl/BWidget-1.8.0/images/italic.gif +0 -0
  114. data/tcl/BWidget-1.8.0/images/minus.xbm +5 -0
  115. data/tcl/BWidget-1.8.0/images/new.gif +0 -0
  116. data/tcl/BWidget-1.8.0/images/opcopy.xbm +5 -0
  117. data/tcl/BWidget-1.8.0/images/open.gif +0 -0
  118. data/tcl/BWidget-1.8.0/images/openfold.gif +0 -0
  119. data/tcl/BWidget-1.8.0/images/oplink.xbm +5 -0
  120. data/tcl/BWidget-1.8.0/images/opmove.xbm +5 -0
  121. data/tcl/BWidget-1.8.0/images/overstrike.gif +0 -0
  122. data/tcl/BWidget-1.8.0/images/palette.gif +0 -0
  123. data/tcl/BWidget-1.8.0/images/passwd.gif +0 -0
  124. data/tcl/BWidget-1.8.0/images/paste.gif +0 -0
  125. data/tcl/BWidget-1.8.0/images/plus.xbm +5 -0
  126. data/tcl/BWidget-1.8.0/images/print.gif +0 -0
  127. data/tcl/BWidget-1.8.0/images/question.gif +0 -0
  128. data/tcl/BWidget-1.8.0/images/redo.gif +0 -0
  129. data/tcl/BWidget-1.8.0/images/save.gif +0 -0
  130. data/tcl/BWidget-1.8.0/images/target.xbm +9 -0
  131. data/tcl/BWidget-1.8.0/images/underline.gif +0 -0
  132. data/tcl/BWidget-1.8.0/images/undo.gif +0 -0
  133. data/tcl/BWidget-1.8.0/images/warning.gif +0 -0
  134. data/tcl/BWidget-1.8.0/init.tcl +40 -0
  135. data/tcl/BWidget-1.8.0/label.tcl +271 -0
  136. data/tcl/BWidget-1.8.0/labelentry.tcl +100 -0
  137. data/tcl/BWidget-1.8.0/labelframe.tcl +160 -0
  138. data/tcl/BWidget-1.8.0/lang/da.rc +52 -0
  139. data/tcl/BWidget-1.8.0/lang/de.rc +52 -0
  140. data/tcl/BWidget-1.8.0/lang/en.rc +52 -0
  141. data/tcl/BWidget-1.8.0/lang/es.rc +53 -0
  142. data/tcl/BWidget-1.8.0/lang/fr.rc +52 -0
  143. data/tcl/BWidget-1.8.0/listbox.tcl +1638 -0
  144. data/tcl/BWidget-1.8.0/mainframe.tcl +711 -0
  145. data/tcl/BWidget-1.8.0/messagedlg.tcl +128 -0
  146. data/tcl/BWidget-1.8.0/notebook.tcl +1164 -0
  147. data/tcl/BWidget-1.8.0/pagesmgr.tcl +294 -0
  148. data/tcl/BWidget-1.8.0/panedw.tcl +381 -0
  149. data/tcl/BWidget-1.8.0/panelframe.tcl +246 -0
  150. data/tcl/BWidget-1.8.0/passwddlg.tcl +178 -0
  151. data/tcl/BWidget-1.8.0/pkgIndex.tcl +47 -0
  152. data/tcl/BWidget-1.8.0/progressbar.tcl +208 -0
  153. data/tcl/BWidget-1.8.0/progressdlg.tcl +87 -0
  154. data/tcl/BWidget-1.8.0/scrollframe.tcl +226 -0
  155. data/tcl/BWidget-1.8.0/scrollview.tcl +254 -0
  156. data/tcl/BWidget-1.8.0/scrollw.tcl +280 -0
  157. data/tcl/BWidget-1.8.0/separator.tcl +75 -0
  158. data/tcl/BWidget-1.8.0/spinbox.tcl +331 -0
  159. data/tcl/BWidget-1.8.0/statusbar.tcl +422 -0
  160. data/tcl/BWidget-1.8.0/tests/entry.test +173 -0
  161. data/tcl/BWidget-1.8.0/titleframe.tcl +170 -0
  162. data/tcl/BWidget-1.8.0/tree.tcl +2228 -0
  163. data/tcl/BWidget-1.8.0/utils.tcl +645 -0
  164. data/tcl/BWidget-1.8.0/widget.tcl +1576 -0
  165. data/tcl/BWidget-1.8.0/wizard.tcl +1028 -0
  166. data/tcl/BWidget-1.8.0/xpm2image.tcl +115 -0
  167. metadata +141 -5
@@ -0,0 +1,266 @@
1
+ ____________________________________________________________
2
+ BWidget 1.2.1 (07/09/1999)
3
+
4
+ CHANGES FROM 1.2 TO 1.2.1
5
+
6
+ This version is the first patch of 1.2. It does not introduce
7
+ incompatibilites.
8
+ This patch include some new requested features, that I think
9
+ can't wait for 1.3:
10
+ - special menu handling (see MainFrame)
11
+ - tabs bindings in NoteBook
12
+ - label alignment of LabelFrame
13
+ - -repeatdelay and -repeatinterval options on SpinBox
14
+
15
+
16
+ * Entry
17
+ - <Destroy> event added to tag BwDisabledEntry
18
+ - fixed bug when -textvariable use a variable containing space
19
+
20
+ * MainFrame
21
+ - fixed bug when -textvariable use a variable containing space
22
+ - menubar entry creation modified to use the menuid as the
23
+ subpathname to permit special menu (help, system, apple)
24
+
25
+ * LabelFrame
26
+ - LabelFrame::align command added
27
+
28
+ * ScrollableFrame
29
+ - fixed typo bug
30
+
31
+ * PagesManager
32
+ - fixed bug of window size
33
+ - 'pages' modified to optionally include first and last indices.
34
+ ('page' is still available but deprecated)
35
+
36
+ * NoteBook
37
+ - new command 'bindtabs'
38
+ - fixed bug in handling result of -leavecmd command
39
+ - 'pages' modified to optionally include first and last indices.
40
+ ('page' is still available but deprecated)
41
+
42
+ * ComboBox
43
+ - little border added around the popdown list, which appeared
44
+ to have no border under windows when popped above a widget
45
+ with the same background color.
46
+
47
+ * SpinBox
48
+ - options -repeatdelay and -repeatinterval added.
49
+
50
+ * Tree
51
+ - fixed strange behaviour when editing: 'selection range'
52
+ replaced by 'selection from'/'selection to'
53
+ - widget is redrawn if needed in 'edit' and 'see'
54
+ - fixed bug in see
55
+ - nodes modified to optionally include first and last indices.
56
+ - _subdelete modified to iterative method
57
+
58
+ * ListBox
59
+ - fixed strange behaviour when editing: 'selection range'
60
+ replaced by 'selection from'/'selection to'
61
+ - ListBox is redrawn if needed in 'edit' and 'see'
62
+ - fixed bug in see
63
+ - 'items' modified to optionally include first and last indices.
64
+ ('item' is still available but deprecated)
65
+
66
+ * SelectColor
67
+ - fixed bug in call to GlobalVar::trace renamed GlobalVar::tracevar
68
+
69
+ * DragSite and DropSite
70
+ - fixed bug introduced by new button event.
71
+
72
+ * DynamicHelp
73
+ - restored version of 1.1, due to the bug under windows
74
+
75
+ * BWidget::place
76
+ - fixed bug when x or y is 0.
77
+
78
+ * es.rc resource file included
79
+
80
+
81
+ ____________________________________________________________
82
+ BWidget 1.2 (05/21/1999)
83
+
84
+ CHANGES FROM 1.1 TO 1.2
85
+
86
+
87
+ * 4 new widget:
88
+ - ScrollableFrame
89
+ - ScrollView
90
+ - PagesManager
91
+ - PasswdDlg (contributed by Stephane Lavirotte)
92
+
93
+ * Widget:
94
+ - Flag option type added
95
+ - option resource database read while widget creation,
96
+ not while widget class creation.
97
+ - better handling of BWidget definition using another BWidget as a top pathname.
98
+
99
+ * MainFrame
100
+ - more options included for ProgressBar
101
+ (INCOMPATIBILITY: option -variable renamed -progressvar)
102
+ - -menu option modified to have tags on entries and menu id on cascad menu
103
+ (INCOMPATIBILITY of option -menu)
104
+ - new command: getmenu
105
+ - new command: setmenustate
106
+
107
+ * DropSite
108
+ - operations completly reworked
109
+ - option -droptypes modified (INCOMPATIBILITY)
110
+ - return code of -dropovercmd modified
111
+ bit 'ok' and bit 'recall' reverted
112
+ (INCOMPATIBILITY in -dropovercmd command)
113
+ - new command: setoperation
114
+
115
+ * DragSite:
116
+ - Drag now initiates while <ButtonPress-x> followed by <Bx-Motion> of
117
+ 4 pixels, so it is possible to have a <ButtonPress-x> event and
118
+ drag event on the same button.
119
+ - -dragevent option modified: must be the number of the button: 1, 2 or 3
120
+ Option is now defaulted to 1, but Entry widget keep it to 3.
121
+ (INCOMPATIBILITY)
122
+ - return result of -draginitcmd modified (INCOMPATIBILITY)
123
+
124
+ * ListBox:
125
+ - edit command improved.
126
+ new arguments: initial text, and command to verify the text before accept it.
127
+ (INCOMPATIBILITY in call to edit)
128
+ - Drag and Drop modified
129
+ (INCOMPATIBILITY in -dropovercmd command)
130
+ - new command: reorder
131
+
132
+ * Tree:
133
+ - edit command improved.
134
+ new arguments: initial text, and command to verify the text before accept it.
135
+ (INCOMPATIBILITY in call to edit)
136
+ - Drag and Drop modified
137
+ (INCOMPATIBILITY in -dropovercmd command)
138
+ - new command: reorder
139
+ - new command: visible
140
+ - less full-redraw
141
+
142
+ * NoteBook:
143
+ - relief reworked
144
+ - added option -leavecmd on pages
145
+ - option -image implemented
146
+ - new command: move
147
+ - delete command now accept an optionnal argument specifying
148
+ whether the frame of the page should be destroyed or not.
149
+ If not, this frame is reused by insert command for the same page.
150
+
151
+ * Entry and LabelEntry:
152
+ - direct access to entry command
153
+ - bind command added on the entry subwidget
154
+
155
+ * ComboBox:
156
+ - option -postcommand added
157
+ - bind command added on the entry subwidget
158
+
159
+ * SpinBox:
160
+ - bind command added on the entry subwidget
161
+ - floating point fixed - work needed
162
+
163
+ * ProgressBar:
164
+ - now can be incremental or not limited ('unknow-time' processing)
165
+
166
+ * Bitmap:
167
+ - xpm image type added with use of xpm-to-image by Roger E. Critchlow Jr.
168
+
169
+ * Lots of focus problem solved
170
+
171
+ * ...and bugs corrected.
172
+
173
+
174
+ INCOMPATIBILITIES
175
+
176
+ Incompatibilities are very localized, so we hope that it will
177
+ not be painfull to upgrade to 1.2.
178
+
179
+ * MainFrame related imcompatibilities
180
+ - Upgrade MainFrame -menu option and change -variable option
181
+ by -progressvar.
182
+
183
+ * Drag and drop related imcompatibilities
184
+ - Upgrade -dragevent option, and command associated to -draginitcmd
185
+ and -dropovercmd.
186
+ - Upgrade -dragendcmd/-dragovercmd command of Tree and ListBox widget
187
+
188
+ * Edition in Tree and ListBox
189
+ - Verify arguments passed in call to edit command of
190
+ Tree and ListBox
191
+
192
+
193
+ ____________________________________________________________
194
+ BWidget 1.1 (03/12/1999)
195
+
196
+ CHANGES FROM 1.0 TO 1.1
197
+
198
+ WHAT'S NEW
199
+
200
+ The most important change in BWidget 1.1 is the support
201
+ of tk path command, but the old syntax is always available.
202
+ configure command now returns a valid configuration information list.
203
+
204
+ (I hope that) All submitted bugs have been corrected.
205
+
206
+ Following widget have been reworked:
207
+
208
+ * ListBox:
209
+ - ListBox items have now a -indent option.
210
+ - insert command modified to look more as a tk
211
+ listbox insert command (see INCOMPATIBILITIES)
212
+ - item command added to retreive one or more items
213
+
214
+ * Tree:
215
+ - insert command modified to look more as a
216
+ listbox insert command (see INCOMPATIBILITIES)
217
+
218
+ * LabelEntry:
219
+ - -value and -variable options renamed to -text and -textvariable
220
+ (see INCOMPATIBILITIES)
221
+
222
+ * SpinBox and ComboBox:
223
+ - -value and -variable options renamed to -text and -textvariable
224
+ (see INCOMPATIBILITIES)
225
+ - New command getvalue and setvalue added to manipulate
226
+ current value by index.
227
+
228
+ * NoteBook:
229
+ - Pages have now an identifier.
230
+ - insert command modififed (see INCOMPATIBILITIES)
231
+ - page command added to retreive one or more pages
232
+ - getframe command added
233
+
234
+
235
+ INCOMPATIBILITIES (sorry for this)
236
+
237
+ * LabelEntry, SpinBox and ComboBox:
238
+ - -value and -variable options renamed to -text and -textvariable
239
+
240
+ * Entry and LabelEntry:
241
+ - setfocus doesn't exist anymore. Directly use tk command focus.
242
+
243
+ * NoteBook:
244
+ - Pages have now an identifier, which modifies insert command:
245
+ NoteBook::insert $nb index ?option value ...?
246
+ is now
247
+ $nb insert index page ?option value ...?
248
+
249
+ * Tree:
250
+ - insert command modified:
251
+ Tree::insert $nb $parent $node $index ?option value ...?
252
+ becomes
253
+ $tree insert $index $parent $node ?option value ...?
254
+
255
+ * ListBox:
256
+ - insert command modified:
257
+ ListBox::insert $list $item $index ?option value ...?
258
+ becomes
259
+ $list insert $index $item ?option value ...?
260
+
261
+
262
+ ____________________________________________________________
263
+ BWidget 1.0 (02/19/1999)
264
+
265
+ First release.
266
+
@@ -0,0 +1,1641 @@
1
+ 2006-09-28 J. Tang <tang@jtang.org>
2
+
3
+ **** BWIDGET 1.8.0 TAGGED ****
4
+
5
+ * removed Makefile.in
6
+
7
+ * font.tcl: correctly handle code path when user cancels dialog
8
+
9
+ * passwd.tcl: fixed Dialog::enddialog error; fixed ordering error
10
+
11
+ * pkgIndex.tcl, README.txt: updated to BWidget 1.8
12
+
13
+ * removed configure.in and aclocal.m4
14
+
15
+ * messagedlg.tcl: explicitly marked the 'Abort' button upon -type
16
+ abortretryignore to be the default button [bug 970199]
17
+
18
+ * Tree.html: documented [find] and [line] commands [bug 626819];
19
+ noted bug with %W binding [bug 1224203]
20
+
21
+ * tree.tcl: added [bindArea] procedure; updated man page [patch
22
+ 839066]
23
+
24
+ * combobox.tcl: added [clearvalue] proc to explicitly clear a
25
+ ComboBox value, updated man page [patch 780704]
26
+
27
+ 2006-09-26 J. Tang <tang@jtang.org>
28
+
29
+ * passwd.tcl: don't ignore -labelwidth when calculating label
30
+ widths; return key moves through subwidgets like most login
31
+ managers [patch 922877, with slight change]
32
+
33
+ * font.tcl: add options to select font color and to disable font
34
+ sizes; updated man pages [patch 1531199]
35
+
36
+ * font.tcl: using arrow keys to browse font family / font size
37
+ will cause an update to the shown sample font [patch 947109]
38
+
39
+ * demo/basic.tcl: fixed Entry's enter command callback [bug
40
+ 1400838]
41
+
42
+ 2006-08-21 J. Tang <tang@jtang.org>
43
+
44
+ * combobox.tcl: unpost after autoposting when another Tk window
45
+ gets the focus; unpost upon hitting the enter key
46
+
47
+ * scrollw.tcl: allow toggling of scrollbars [bug 1488712]
48
+
49
+ * Tree.html: corrected documentation for Tree::opencmd (callback
50
+ does not append the path to the tree to the command) [bug 1507713]
51
+
52
+ * tree.tcl: disable keyboard navigation for empty trees [bug 1514855]
53
+
54
+ * tree.tcl: changed '-drawcross allways' to be '-drawcross
55
+ always'; updated documentation
56
+
57
+ 2006-06-29 Jeff Hobbs <jeffh@ActiveState.com>
58
+
59
+ * statusbar.tcl (StatusBar::remove): remove neighboring separator
60
+ when removing the first item. [Bug 1512671]
61
+
62
+ 2006-03-24 J. Tang <tang@jtang.org>
63
+
64
+ * pkgIndex.tcl: removed bogus "ControlFrame" entry [bug 1429405]
65
+
66
+ * MainFrame man page: fixed some typos on man page
67
+
68
+ * mainframe.tcl: fixed status bar placement when it is re-shown
69
+ after a [showstatusbar none] command [bug 1027568]
70
+
71
+ 2006-03-23 J. Tang <tang@jtang.org>
72
+
73
+ * dynhelp.tcl: if a widget's help balloon is being displayed when
74
+ that widget is destroyed, also destroy the associated balloon [bug
75
+ 1448424]
76
+
77
+ * listbox.tcl: when deleting an item from the ListBox that has
78
+ dynamic help text, also remove its entry from the help array [bug
79
+ 1443461]
80
+
81
+ 2006-02-10 J. Tang <tang@jtang.org>
82
+
83
+ * ProgressDlg man page: note that caller must invoke [update], the
84
+ progressbar will not do it automatically [bug 1105778]
85
+
86
+ * progressbar.tcl: -maximum value must now be non-zero, else
87
+ divide by 0 occurs [bug 1145523]; use double() calculations to
88
+ prevent integer overflow with very large -maximum values [bug
89
+ 900165]
90
+
91
+ * PagesManager man page: clarified [add] behavior and default
92
+ state [bug 1305988]
93
+
94
+ 2006-02-08 J. Tang <tang@jtang.org>
95
+
96
+ * combobox.tcl: allow -autocomplete with uppercase chars [bug
97
+ 996569]; added -autopost option [patch 1359041]
98
+
99
+ * dynamic help man page: added clarification to -variable
100
+
101
+ 2006-01-25 J. Tang <tang@jtang.org>
102
+
103
+ * buttonbox.tcl: fixed -homogeneous calculation [bug 1362899]
104
+
105
+ 2005-11-01 Jeff Hobbs <jeffh@ActiveState.com>
106
+
107
+ * color.tcl (SelectColor::menu): use native dialog for palette
108
+ menu item where possible (and Widget::theme is used).
109
+
110
+ 2005-10-31 Jeff Hobbs <jeffh@ActiveState.com>
111
+
112
+ * statusbar.tcl: correct Widget::theme typos
113
+
114
+ 2005-10-12 Jeff Hobbs <jeffh@ActiveState.com>
115
+
116
+ * mainframe.tcl (MainFrame::configure): need to ignore -bg change
117
+ check when themed.
118
+
119
+ 2005-09-28 Jeff Hobbs <jeffh@ActiveState.com>
120
+
121
+ * mainframe.tcl (MainFrame::_create_menubar): ignore -bg -bd opts
122
+ when themed
123
+
124
+ 2005-09-22 Jeff Hobbs <jeffh@ActiveState.com>
125
+
126
+ * font.tcl (SelectFont::_getfont): fix tile compat to still set
127
+ data(family) and data(size) in any case.
128
+
129
+ 2005-09-19 Jeff Hobbs <jeffh@ActiveState.com>
130
+
131
+ * mainframe.tcl:
132
+ * font.tcl: remove tile compat options that aren't valid.
133
+
134
+ 2005-08-23 Jeff Hobbs <jeffh@ActiveState.com>
135
+
136
+ * mainframe.tcl: extend ttk theme awareness to subframes/separators
137
+
138
+ 2005-08-10 Jeff Hobbs <jeffh@ActiveState.com>
139
+
140
+ * mainframe.tcl (MainFrame::create): make ttk theme aware
141
+
142
+ 2005-07-27 Jeff Hobbs <jeffh@ActiveState.com>
143
+
144
+ * statusbar.tcl: if themed, use ttk::separator
145
+ * scrollframe.tcl: if themed, use ttk::frame
146
+ * font.tcl: if themed, use ttk::comboboxes and ttk::checkbuttons
147
+ * widget.tcl: encapsulate all .#BWidget* hidden widgets into a
148
+ single frame .#BWidget to clean up main '.' childspace.
149
+ Add 'Widget::theme ?boolean?' that, if enabled, has BWidgets try
150
+ to use some ttk themed widgets (*very* incomplete).
151
+
152
+ * init.tcl (Widget::_opt_defaults): make a proc for opt defaults,
153
+ recognize aqua as a platform
154
+
155
+ 2005-02-25 Jeff Hobbs <jeffh@ActiveState.com>
156
+
157
+ * lang/da.rc (new): Danish language file [Bug 1151534] (elhaard)
158
+
159
+ 2005-01-25 Jeff Hobbs <jeffh@ActiveState.com>
160
+
161
+ * notebook.tcl: reverted lester patch - too many bugs related to
162
+ deleting and reinsertion of tabs.
163
+
164
+ 2004-12-01 Jeff Hobbs <jeffh@ActiveState.com>
165
+
166
+ * notebook.tcl: speed improvements via array hashing for many tabs
167
+ (lester).
168
+
169
+ 2004-10-09 Rolf Ade <pointsman@users.sourceforge.net>
170
+
171
+ * mainframe.tcl: (MainFrame::_parse_accelerator) made
172
+ accelerator Ctrl-f in -menu definitions work. [Bug 1043107]
173
+
174
+ 2004-09-24 Jeff Hobbs <jeffh@ActiveState.com>
175
+
176
+ * color.tcl: use toplevel instead of menu for dropdown color menu
177
+ and do better focus/grab restoration.
178
+
179
+ * utils.tcl (BWidget::RestoreFocusGrab,SetFocusGrab): add BWidget
180
+ equivalents of what Tk uses for better stacked grab/focus mgmt.
181
+
182
+ * dialog.tcl (Dialog::create): withdraw topleve immediately after
183
+ creation.
184
+
185
+ 2004-09-14 Jeff Hobbs <jeffh@ActiveState.com>
186
+
187
+ * listbox.tcl: add FocusIn redirector to %W.c, add explicit
188
+ -takefocus 0 to the frame parent.
189
+
190
+ * widget.tcl (Widget::focusPrev): hack to avoid focus into direct
191
+ parent when it is a megawidget. [Bug 765667]
192
+
193
+ * notebook.tcl (NoteBook::_draw_page): adjust height for bottom
194
+ drawn tabs. [Bug 988628]
195
+
196
+ 2004-09-09 Jeff Hobbs <jeffh@ActiveState.com>
197
+
198
+ * panelframe.tcl (new): new PanelFrame widget which creates a
199
+ * pkgIndex.tcl: frame with boxed title area that accepts
200
+ * Makefile.in: additional widgets.
201
+ * BWman/contents.html:
202
+ * BWman/navtree.html:
203
+ * BWman/PanelFrame.html (new):
204
+
205
+ * statusbar.tcl: improve init to use bwidget's automated arg
206
+ passing for subwidgets. Simplify delete subcommand to call remove.
207
+
208
+ * xpm2image.tcl (xpm-to-image): correctly recognize None with
209
+ -nocase
210
+
211
+ 2004-09-02 Jeff Hobbs <jeffh@ActiveState.com>
212
+
213
+ * buttonbox.tcl, combobox.tcl: code safety fixes
214
+
215
+ * dialog.tcl: default button width to -11 on Win8.4, 8 otherwise
216
+
217
+ * color.tcl, font.tcl, messagedlg.tcl:
218
+ * passwddlg.tcl, progressdlg.tcl: change dialogs to anchor buttons e
219
+
220
+ * statusbar.tcl: better -bg handling (configure too), and tighten
221
+ up spacing on resize control to place it flush bottom right
222
+
223
+ 2004-09-01 Jeff Hobbs <jeffh@ActiveState.com>
224
+
225
+ * statusbar.tcl: add -showseparator optional horizontal separator.
226
+
227
+ 2004-08-31 Jeff Hobbs <jeffh@ActiveState.com>
228
+
229
+ * statusbar.tcl: correct name of image for use on unix.
230
+ Try to use of PNG image at each create (it just looks better).
231
+
232
+ 2004-08-26 Jeff Hobbs <jeffh@ActiveState.com>
233
+
234
+ * tree.tcl (Tree::delete): call -selectcommand if we delete
235
+ something that was selected.
236
+
237
+ 2004-08-25 Jeff Hobbs <jeffh@ActiveState.com>
238
+
239
+ * statusbar.tcl: correct use of PNG vs. GIF image.
240
+ Don't abort creation of statusbar when gridded - just don't try
241
+ to resize.
242
+ Correct example to use label -width 1
243
+
244
+ 2004-08-20 Jeff Hobbs <jeffh@ActiveState.com>
245
+
246
+ * statusbar.tcl (new): Addition of a statusbar container widget
247
+ * pkgIndex.tcl: with resize control
248
+ * Makefile.in:
249
+ * BWman/contents.html:
250
+ * BWman/navtree.html:
251
+ * BWman/StatusBar.html (new):
252
+
253
+ 2004-05-12 Jeff Hobbs <jeffh@ActiveState.com>
254
+
255
+ * font.tcl (SelectFont::create): don't hardcode -bd 2 when
256
+ creating the style selectbuttons.
257
+
258
+ * dynhelp.tcl (_show_help): account for OS X help style
259
+
260
+ 2004-05-04 Jeff Hobbs <jeffh@ActiveState.com>
261
+
262
+ * listbox.tcl (_keyboard_navigation): make sure you can see the
263
+ item that you key navigate to. (aas)
264
+
265
+ 2004-04-26 Jeff Hobbs <jeffh@ActiveState.com>
266
+
267
+ * tree.tcl (_update_nodes): align with _draw_nodes code,
268
+ specifically correcting placement of cross on new nodes and anchor
269
+ of changed window/image.
270
+
271
+ 2004-04-23 Jeff Hobbs <jeffh@ActiveState.com>
272
+
273
+ * listbox.tcl (create): don't force -highlightthickness 1 as it
274
+ prevents the user changing it on creation.
275
+ (_draw_item): pass more cached info from _redraw_items for speed.
276
+ (_redraw_selection): correct drawing of selfill for items that
277
+ extend beyond the width of the window.
278
+
279
+ 2004-04-22 Jeff Hobbs <jeffh@ActiveState.com>
280
+
281
+ * tree.tcl (edit): correct inversion of verifycmd emptiness test.
282
+ * listbox.tcl: correct eval/after/lists usage.
283
+ (_redraw_listbox): call _update_select_fill on redraw, otherwise
284
+ the insert of items causes wonkiness.
285
+ (_redraw_items): call update idle after changing cursor.
286
+ (create): Insert $path into the canvas bindings, so that anyone
287
+ binding directly onto the widget will see their bindings activated
288
+ when the canvas has focus. Add slightly modified up/down bindings
289
+ to the canvas, in case it gets the focus (like with -autofocus).
290
+
291
+ 2004-04-21 Jeff Hobbs <jeffh@ActiveState.com>
292
+
293
+ * tree.tcl (_draw_subnodes): Adjust the drawing of the line to the
294
+ first root node to start at the vertical point (not go up).
295
+
296
+ * entry.tcl, arrow.tcl, combobox.tcl: better space/list handling
297
+
298
+ * entry.tcl: make the icursor not appear for non-editable and/or
299
+ state disabled comboboxes.
300
+
301
+ 2004-03-08 Joe English <jenglish@users.sourceforge.net>
302
+
303
+ * init.tcl: (bugfix) Use <<PrevWindow>> virtual event instead
304
+ of <Shift-Tab> event for back-tab binding.
305
+
306
+ 2004-02-07 Jeff Hobbs <jeffh@ActiveState.com>
307
+
308
+ * progressbar.tcl (ProgressBar::_modify): convert rect coords to
309
+ ints to prevent left-over lines that are likely due to a bug in
310
+ core Tk related to fractional coord refresh.
311
+
312
+ 2004-02-03 Jeff Hobbs <jeffh@ActiveState.com>
313
+
314
+ * scrollw.tcl (ScrolledWindow::create): correctly set -relief and
315
+ -bd at creation time. [Bug #873666]
316
+
317
+ * init.tcl: don't modify *Listbox.background and *Button.padY
318
+ options - leave core widgets alone.
319
+
320
+ * mainframe.tcl (MainFrame::_create_menubar): set the bg for menus
321
+ only on unix (otherwise disturbs menu native L&F)
322
+ Correct some eval/list issues.
323
+
324
+ * BWman/MainFrame.html:
325
+ * mainframe.tcl (MainFrame::_create_entries): correct 'cascade'
326
+ spelling, but support old 'cascad' as well.
327
+
328
+ 2004-01-28 Reinhard Max <max@suse.de>
329
+
330
+ * configure.in: bumped to v1.7.
331
+ This should have happened before releasing 1.7.0.
332
+
333
+ * Makefile.in: fixed support for DESTDIR.
334
+
335
+ 2004-01-05 Damon Courtney <damon@unreality.com>
336
+
337
+ * init.tcl: Added a binding to the Tk spinbox to handle
338
+ traversal as loading BWidgets seems to screw up the default
339
+ handling for Tk. [Bug #867604]
340
+
341
+ * utils.tcl: Fixed a bug that would cause some geometry calculations
342
+ in BWidget::place to behave incorrectly. This would occasionally
343
+ make it appear as though a drawn dialog would freeze the application.
344
+ [Bug #868315]
345
+
346
+ 2003-12-18 Bob Techentin <techentin@sourceforge.net>
347
+
348
+ **** BWIDGET 1.7.0 TAGGED ****
349
+
350
+ * README.txt: Changed revision to 1.7.0. Note that
351
+ 1.7.0 does not include 2003-11-26 mod to notebook.tcl.
352
+
353
+ 2003-11-26 Jeff Hobbs <jeffh@ActiveState.com>
354
+
355
+ * notebook.tcl (NoteBook::bindtabs): correct tab name returned. (groth)
356
+
357
+ 2003-11-17 Jeff Hobbs <jeffh@ActiveState.com>
358
+
359
+ * entry.tcl (Entry::create): add missing line continuation.
360
+ [Patch #843932] (oehlmann)
361
+
362
+ 2003-11-10 Damon Courtney <damon@unreality.com>
363
+
364
+ * entry.tcl: Use a button widget for -disabled options if
365
+ we're using 8.3 [Bug 839469]
366
+
367
+ 2003-11-05 Damon Courtney <damon@unreality.com>
368
+
369
+ * combobox.tcl: Fixed dropdown listbox selection for
370
+ standard Tk listbox [Bug 831496].
371
+
372
+ 2003-11-05 Jeff Hobbs <jeffh@ActiveState.com>
373
+
374
+ * scrollview.tcl (ScrollView::_set_view): correct :canvas to
375
+ renamed :cmd.
376
+
377
+ 2003-10-30 Jeff Hobbs <jeffh@ActiveState.com>
378
+
379
+ * scrollw.tcl (ScrolledWindow::setwidget): check that the old
380
+ widget associated still exists before unconfiguring it. [Bug #833034]
381
+
382
+ 2003-10-27 Damon Courtney <damon@unreality.com>
383
+
384
+ * combobox.tcl, listbox.tcl: Fixed keyboard navigation in the
385
+ combobox drop down [Bug 831496].
386
+
387
+ * listbox.tcl: Added curselection subcommand to mimic Tk listbox
388
+ behavior.
389
+
390
+ Added keyboard navigation to the listbox.
391
+
392
+ * widget.tcl: Added Widget::exists command to return whether a
393
+ widget is a BWidget (based on whether it exists in the _class array).
394
+
395
+ Widget::destroy now properly unsets the widget's variable in
396
+ the _class array.
397
+
398
+ 2003-10-27 Joe English <jenglish@users.sourceforge.net>
399
+ * DragSite.html, DropSite.html: Fix markup errors [Bug #740484]
400
+
401
+ 2003-10-20 Damon Courtney <damon@unreality.com>
402
+ * arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl,
403
+ * combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl
404
+ * font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl
405
+ * mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl
406
+ * panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl
407
+ * scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl
408
+ * spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl
409
+ * xpm2image.tcl: Revamp again to let core Widget commands handle
410
+ most of the esoteric work of creating and destroying widgets
411
+ properly in the BWidget environment.
412
+
413
+ The command Widget::define defines a class, its filename and a
414
+ list of classes which it uses. This command handles creating
415
+ the command to create new widgets, creates a ::use command for
416
+ the class and calls the ::use command for each class included.
417
+
418
+ The command Widget::create does the renaming of the widget to
419
+ $path:cmd and creates the proc to redirect the widget commands.
420
+
421
+ Widget::destroy now does the rename $path "" that almost all
422
+ widgets do.
423
+
424
+ * button.tcl: Added a -state option to configure the state of the
425
+ entire box at once.
426
+
427
+ Added new insert and delete subcommands.
428
+
429
+ Added an after cancel to stop button repeat upon release.
430
+ [Bug 697022]
431
+
432
+ * combobox.tcl: Added -bwlistbox, -listboxwidth and -hottrack options.
433
+ -images option already existed, but now it actually does something.
434
+
435
+ Added getlistbox, get, icursor, post and unpost subcommands.
436
+
437
+ * dynhelp.tcl: Added add subcommand to replace the (now) deprecated
438
+ register command. The new command adds for a lot more flexibility
439
+ in applying dynamic help.
440
+
441
+ Help popup now comes up -topmost 1 on Windows if available.
442
+
443
+ * entry.tcl: Added -disabledbackground option so that the BWidget
444
+ entry more closely resembles the standard Tk entry.
445
+ [Bug 638236].
446
+
447
+ * init.tcl: Moved Widget::traverseTo into widget.tcl.
448
+
449
+ * label.tcl: Renamed BWLabel class to just Label.
450
+
451
+ * listbox.tcl: Added a default -dropcmd so that if -dragenabled
452
+ and -dropenabled are true, drag-and-drop within the same widget
453
+ is possible without any other options.
454
+
455
+ Added -autofocus option to specify that clicking within the listbox
456
+ should draw the focus in order to handle mouse wheel events.
457
+
458
+ Added -selectfill option for drawing a full selection rectangle
459
+ around selected items instead of just around the item.
460
+
461
+ Added getcanvas subcommand. [Bug 436762].
462
+
463
+ bindImage and bindText now map %W to $path in order to get an
464
+ accurate path in events. This can probably be fixed better
465
+ when we have more control over event parameters. [Bug 607745]
466
+
467
+ Added mouse wheel bindings by default.
468
+
469
+ Added <<ListboxSelect>> event when selection changes.
470
+
471
+ * mainframe.tcl: Fixed bug for adding CTRL-F items to a mainframe
472
+ [Bug 784269]
473
+
474
+ * messagedlg.tcl: Added -buttonwidth option.
475
+
476
+ * notebook.tcl: Added dynamic help to tabs.
477
+
478
+ Added -tabpady option to specify the padding between the text and
479
+ the tab.
480
+
481
+ Notebooks now handle multi-line text properly. [Bug 565284]
482
+
483
+ * scrollview.tcl: Rewritten to use a variable per path instead of
484
+ a big array.
485
+
486
+ * tree.tcl: Added -anchor option to nodes to specify the anchor for
487
+ an image or window when displayed.
488
+
489
+ Added -crossopenimage, -crosscloseimage, -crossopenbitmap and
490
+ -crossclosebitmap options to change the open / close cross.
491
+
492
+ Added mouse wheel bindings by default.
493
+
494
+ Added toggle subcommand to toggle a single tree node.
495
+
496
+ Added <<TreeSelect>> event when selection changes.
497
+
498
+ The characters "& | ^ !" are all converted to | silently in
499
+ node names. This is to avoid errors because these characters
500
+ are special to the canvas widget. [Bug 746960]
501
+
502
+ bindImage and bindText now map %W to $path in order to get an
503
+ accurate path in events. This can probably be fixed better
504
+ when we have more control over event parameters. [Bug 607745]
505
+
506
+ * utils.tcl: Added BWidget::wrongNumArgsString command to return
507
+ a standard wrong # args error string.
508
+
509
+ Added BWidget::classes command that returns a list of all classes
510
+ required by a given class.
511
+
512
+ Added BWidget::inuse command to determine if a given class is inuse.
513
+
514
+ Added BWidget::library command to return a body of code that can
515
+ be saved into a project or other code based on the given classes.
516
+ When called with a list of classes, all the classes and code
517
+ necessary to use those classes is returned in a large string which
518
+ can then be written out to a file.
519
+
520
+ Added BWidget::write command to write to a given file the current
521
+ set of classes that are in use.
522
+
523
+ Added BWidget::bindMouseWheel command to setup default mouse
524
+ bindings on a given widget.
525
+
526
+ * widget.tcl: Added a new option type 'Padding' which will accept
527
+ the standard padding arguments in Tcl 8.4+.
528
+
529
+ Added Widget::define command to define a new BWidget class.
530
+
531
+ Added Widget::create command to create a BWidget properly.
532
+
533
+ Widget::destroy now attempts to delete a widget command created
534
+ through Widget::create.
535
+
536
+ Added Widget::options command to return the current options of
537
+ a given widget in a style that can be used to serialize a widget.
538
+
539
+ Added Widget::getOption command to get options based on children
540
+ having the same option.
541
+
542
+ * wizard.tcl: Added new Wizard widget.
543
+
544
+
545
+ 2003-10-17 Jeff Hobbs <jeffh@ActiveState.com>
546
+
547
+ * arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl,
548
+ * combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl
549
+ * font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl
550
+ * mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl
551
+ * panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl
552
+ * scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl
553
+ * spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl
554
+ * xpm2image.tcl: major revamp to reduce incorrect use of eval and
555
+ other list-safetiness evils. Also change !strcomp to streq.
556
+
557
+ 2003-08-06 Jeff Hobbs <jeffh@ActiveState.com>
558
+
559
+ * listbox.tcl: Correct Listbox selection drawing [Bug #781652]
560
+
561
+ 2003-07-17 Joe English <jenglish@users.sourceforge.net>
562
+ * init.tcl, combobox.tcl: Fix for [Bug 720032] "BWidget
563
+ breaks Tk entry behaviour". Highlight the entry
564
+ in a <<TraverseIn>> binding, instead of doing so
565
+ on every <FocusIn> event. Change the global <Tab>
566
+ and <Shift-Tab> bindings to generate <<TraverseIn>>
567
+ and <<TraverseOut>> events.
568
+
569
+ 2003-07-17 Jeff Hobbs <jeffh@ActiveState.com>
570
+
571
+ * notebook.tcl: Use list with eval for safety.
572
+ Use lsearch -exact instead of default -glob in all uses.
573
+
574
+ * listbox.tcl (_multiple_select): correct shift-selection when
575
+ selectmode is multiple. [Bug 653266]
576
+ Use lsearch -exact instead of default -glob in all uses.
577
+ Use list with eval for safety.
578
+
579
+ * BWman/ScrolledWindow.html: clarify management of embedded widget.
580
+
581
+ 2003-06-23 Damon Courtney <damon@unreality.com>
582
+ * combobox.tcl: Added a little better handling of keys in the
583
+ auto-complete.
584
+
585
+ 2003-06-06 Damon Courtney <damon@unreality.com>
586
+ * combobox.tcl: Added a rudimentary auto-complete function
587
+ with option (-autocomplete) that is turned off by default.
588
+ Over time, I'm sure this function can be improved, but I
589
+ think it works pretty well for now.
590
+
591
+ * BWman/ComboBox.tcl: Added documentation for -autocomplete.
592
+
593
+ 2003-06-05 Damon Courtney <damon@unreality.com>
594
+ * listbox.tcl: Liberal use of list where appropriate to make
595
+ the code safe for space-containing node names.
596
+
597
+ 2003-05-23 Bob Techentin <techentin@sourceforge.net>
598
+
599
+ **** BWIDGET 1.6.0 TAGGED ****
600
+
601
+ * README.txt:
602
+
603
+ 2003-05-18 Jeff Hobbs <jeffh@ActiveState.com>
604
+
605
+ * progressbar.tcl: correctly handle progressbar being quickly
606
+ created and deleted by deleting afters and checking var existence.
607
+
608
+ 2003-05-18 Joe English <jenglish@users.sourceforge.net>
609
+
610
+ * widget.tcl (Widget::focusOK): Don't assume that '-editable'
611
+ option is always 1 or 0 for all widgets. [Bug 710658]
612
+
613
+ 2003-05-14 Jeff Hobbs <jeffh@ActiveState.com>
614
+
615
+ * demo/tree.tcl: make the tree scrollview make sense in demo.
616
+ [Bug 684462]
617
+
618
+ * notebook.tcl: ensure that bd is min 1 at all times. [Bug 688227]
619
+ Correct use of eval with list.
620
+
621
+ * tree.tcl: correct node lsearch'ing to use -exact to allow for []
622
+ containing nodes [Bug 628041] (decoster)
623
+
624
+ 2003-05-07 Jeff Hobbs <jeffh@ActiveState.com>
625
+
626
+ * dynhelp.tcl (DynamicHelp::_motion_balloon): correctly listify
627
+ after delayed _show_help callback.
628
+
629
+ 2003-05-06 Jeff Hobbs <jeffh@ActiveState.com>
630
+
631
+ * scrollw.tcl (ScrolledWindow::setwidget): remove any existing
632
+ widget before setting the next.
633
+
634
+ 2003-05-01 Jeff Hobbs <jeffh@ActiveState.com>
635
+
636
+ * tree.tcl (Tree::configure, Tree::_draw_node): add a full-width
637
+ box underneath the text and image/window that will react to the
638
+ node binding if -selectfill is true. It is an empty box that is
639
+ overly wide, but it could be improved to resize on Configure to
640
+ just the window width and replace the sel box.
641
+
642
+ 2003-04-23 Jeff Hobbs <jeffh@ActiveState.com>
643
+
644
+ * tree.tcl: liberal use of list where appropriate to make the code
645
+ safe for space-containing node names.
646
+ Make use of string equal instead of !string compare.
647
+ (Tree::_redraw_selection): correct -selectfill to include the
648
+ image, in any, in the bbox calculation since it may be larger.
649
+
650
+ 2003-04-15 Damon Courtney <damon@unreality.com>
651
+
652
+ * listbox.tcl
653
+ * tree.tcl: Added a #auto substitution for inserting new items
654
+ into a tree or listbox.
655
+
656
+ * BWman/ListBox.html
657
+ * BWman/Tree.html: Added documentation for #auto substitution.
658
+
659
+ 2003-04-14 Jeff Hobbs <jeffh@ActiveState.com>
660
+
661
+ * utils.tcl (BWidget::focus): add optional refocus arg
662
+ * combobox.tcl: make droplist use solid 1-pixel relief more in
663
+ accordance with Windows style. Set topmost attribute on droplist.
664
+ Add bindings that unmap the droplist if we lose focus to another
665
+ application (where [focus] == ""), without refocusing to the entry.
666
+
667
+ 2003-04-11 Jeff Hobbs <jeffh@ActiveState.com>
668
+
669
+ * combobox.tcl (ComboBox::_expand): add tab expansion behavior
670
+ when -expand tab is specified
671
+ (ComboBox::_focus_in): autohighlight full contents only when no
672
+ existing selection exists. [Bug #720024]
673
+
674
+ * BWman/ComboBox.html: doc -expand none|tab
675
+
676
+ 2003-03-12 Damon Courtney <damon@unreality.com>
677
+
678
+ * listbox.tcl: Added dynamic help support to listbox items.
679
+
680
+ * tree.tcl: Fixed a little inconsistency in the tree dynamic help.
681
+ We don't need to save the whole path in the help array, just the
682
+ node.
683
+
684
+ 2003-02-25 Jeff Hobbs <jeffh@ActiveState.com>
685
+
686
+ * scrollw.tcl: add lock around grid remove scrollbar to prevent
687
+ infinite loop in small window situations. (kienzle)
688
+
689
+ * pkgIndex.tcl:
690
+ * configure.in: bumped to v1.6
691
+
692
+ * scrollw.tcl: complete rewrite of ScrolledWindow widget to
693
+ address infinite loop scrollbar problems. This one is much
694
+ simpler and does not suffer the infinite loop. There still seems
695
+ to be an issue with shrinking smaller than one scrollbar width /
696
+ height in size, but that's not common (nor fatal). Addresses
697
+ [Patch #671821, #520903] [Bug #472718, #564691]
698
+ This may introduce new incompatabilities, but it does work as
699
+ expected for noted bugs and in the demos.
700
+
701
+ * widget.tcl: code cleanup
702
+ * scrollframe.tcl: code cleanup
703
+
704
+ 2003-02-24 Jeff Hobbs <jeffh@ActiveState.com>
705
+
706
+ * panedw.tcl (_realize): only allow _realize to be called once the
707
+ Configure binding has triggered once. [Bug #613134]
708
+ [Patch #63500] (decoster)
709
+
710
+ 2003-02-17 Jeff Hobbs <jeffh@ActiveState.com>
711
+
712
+ * font.tcl: comment out the adding of default style bits for bold
713
+ and italic. The allows setting the font to something like
714
+ "Courier 8", clicking B on and off and getting "Courier 8" back
715
+ again (otherwise gave "Courier 8 normal roman").
716
+
717
+ 2003-02-08 Damon Courtney <damon@unreality.com>
718
+ * BWman/SelectColor.html
719
+ * color.tcl: Cleaned up some of the documentation of SelectColor
720
+ and made it actually work like the documentation says it does.
721
+
722
+ * BWman/DynamicHelp.html
723
+ * dynhelp.tcl: Added -topbackground, -padx and -pady options to
724
+ allow a little more flexibility in the look-and-feel of balloons.
725
+
726
+ Added the ability to bind dynamic help to individual items or tags
727
+ on a canvas.
728
+
729
+ * BWman/Tree.html
730
+ * tree.tcl: Added -padx and -deltax options to individual nodes
731
+ within a tree. Each option defaults to -1, meaning to take its
732
+ value from the global option of the same name.
733
+
734
+ Added dynamic help to nodes within a tree. Adds the following
735
+ options: -helptext, -helptype and -helpvar to each node.
736
+
737
+ * BWman/BWidget.html
738
+ * utils.tcl: Added BWidget::badOptionString utility to return a
739
+ standard error string when a given option doesn't match a list.
740
+
741
+ * BWman/Widget.html
742
+ * widget.tcl: Added Widget::getVariable proc to create a reference
743
+ to a variable relative to the given widget path.
744
+
745
+ 2003-01-26 Damon Courtney <damon@unreality.com>
746
+ * BWman/DynamicHelp.html:
747
+ * dynhelp.tcl: Added -state option to disable help balloons on a
748
+ global scale.
749
+
750
+ * BWman/Tree.html:
751
+ * tree.tcl: Added -crossfill option to allow the + / - bitmap to
752
+ be filled with a different color than the connecting node lines.
753
+ -linesfill is now accurate in its help entry and only adjusts
754
+ the foreground color of the lines between the nodes.
755
+
756
+ 2003-01-24 Joe English <jenglish@users.sourceforge.net>
757
+ * tree.tcl (Tree::delete, Tree::_subdelete): remove all deleted
758
+ nodes from the the selection [Bug #621178].
759
+
760
+ 2003-01-17 Pat Thoyts <patthoyts@users.sourceforge.net>
761
+
762
+ * labelentry.tcl: fixed -textvariable option [bug #649383]
763
+
764
+ 2002-10-14 Jeff Hobbs <jeffh@ActiveState.com>
765
+
766
+ * pkgIndex.tcl:
767
+ * configure.in: bump version to 1.5
768
+
769
+ * button.tcl: remove -repeatdelay and -repeatinterval for 8.4 to
770
+ allow Button to override them. [Bug #620103]
771
+
772
+ * combobox.tcl: make -entrybg also control the listbox background.
773
+ [Bug #519189] (chevreux)
774
+
775
+ * tree.tcl (_see): change to always show left edge of requested
776
+ item. [Patch #556077] (english) [NOTE: also included Patch #621331
777
+ "Allow delete of selected Tree nodes"]
778
+
779
+ * dynhelp.tcl: allow variable and balloon help simultaneously.
780
+ [Patch #567982] (decoster)
781
+
782
+ * BWman/LabelFrame.html:
783
+ * labelframe.tcl: allow -bitmap -image and -textvariable options
784
+ of the BWLabel component of a LabelFrame. [Patch #620753] (decoster)
785
+
786
+ * widget.tcl (_get_tkwidget_options): withdraw toplevel if it is
787
+ the TkResource base widget. [Patch #620754] (decoster)
788
+
789
+ * tree.tcl (delete): correct tree deletion with selected nodes.
790
+ [Patch #621331] (decoster)
791
+
792
+ * progressbar.tcl (_modify): use updated idletasks instead of
793
+ update. [Patch #622927] (decoster)
794
+
795
+ 2002-09-25 Jeff Hobbs <jeffh@ActiveState.com>
796
+
797
+ * Makefile.in: better DESTDIR/libdir support (steffen)
798
+
799
+ 2002-09-11 Jeff Hobbs <jeffh@ActiveState.com>
800
+
801
+ * color.tcl (SelectColor::menu): added tkwait and update to make
802
+ sure that the grab doesn't fail on Unix.
803
+
804
+ * listbox.tcl: corrected multiple selectmode bindings.
805
+ [Patch #483838, Bug #594853] (decoster)
806
+
807
+ 2002-08-23 Andreas Kupries <andreas_kupries@users.sourceforge.net>
808
+
809
+ * tree.tcl: Modified subcommand 'includes' of the method
810
+ 'selection to properly extract its argument. ... Revamped the
811
+ whole subcommand to properly extract and check its arguments.
812
+
813
+ (create) Added Control-Button-1 bindings to allow toggling the
814
+ selection of a node. I will do no bindings for shift-selecting
815
+ and/or drag-selecting ranges. To complex for me right now.
816
+
817
+ Moved the code executing the -selectcommand callback to an
818
+ internal procedure, and added calls to that procedure to all
819
+ subcommands which change the selection. This fixes SF Bwidget
820
+ Bug #547245.
821
+
822
+ * BWman/Tree.html: Documented the 'includes' and 'range'
823
+ subcommands of the method 'selection' of tree widgets.
824
+ Documented the node option '-selectable'. Documented that the
825
+ subcommands extending or setting the selection silently ignore
826
+ unselectable nodes. Documented new 'toggle' subcommand of method
827
+ 'selection'. Documented option --slectcommand'. Fixed bogus
828
+ table html in option lists.
829
+
830
+ 2002-06-04 Jeff Hobbs <jeffh@ActiveState.com>
831
+
832
+ **** BWIDGET 1.4.1 TAGGED ****
833
+
834
+ * README.txt:
835
+ * configure.in:
836
+ * pkgIndex.tcl: up'ed version to 1.4.1
837
+
838
+ * listbox.tcl: corrected use of 'end' as move index. [Bug #561391]
839
+ * buttonbox.tcl:
840
+ * tree.tcl: force frame -padx/-pady to 0 to handle 8.4+ frame
841
+ padding options. [Bug #545119]
842
+
843
+ * scrollframe.tcl: corrected scrollregion configuration on
844
+ Configure of frame to use full width/height of canvas when the
845
+ canvas is larger. This ensures that scrolling "anchors" properly
846
+ to topleft.
847
+
848
+ * dialog.tcl: prevent dialog from freezing on Windows with tkwait
849
+ visibility on withdrawn toplevels. [Patch #521386] (chevreux)
850
+
851
+ * font.tcl: reworked loadfont to not sort font names unless
852
+ requested. [Patch #524353] (kienzle, hobbs)
853
+
854
+ * panedw.tcl: corrected handling of weighted panes following a
855
+ Configure event. [Patch #513320] (decoster)
856
+
857
+ * progressbar.tcl: Fixed display of vertical progressbar.
858
+ [Patch #561403]
859
+
860
+ 2002-05-29 Andreas Kupries <andreas_kupries@users.sourceforge.net>
861
+
862
+ * combobox.tcl: Changed relief of popup list to ridge, for Win*
863
+ platforms.
864
+
865
+ 2002-05-09 Andreas Kupries <andreas_kupries@users.sourceforge.net>
866
+
867
+ * dynhelp.tcl: Accepted patch for bug 528929. Reported by
868
+ <bach@users.sourceforge.net>, patch also by him.
869
+
870
+ 2002-04-25 Andreas Kupries <andreas_kupries@users.sourceforge.net>
871
+
872
+ * notebook.tcl: Accepted patch for bug #532246, fixing the
873
+ appearance of the tabs so that text is always visible
874
+ completely.
875
+
876
+ 2002-01-26 Pat Thoyts <patthoyts@users.sourceforge.net>
877
+
878
+ * utils.tcl: Modified BWidget::place to support multiple screens
879
+ under Windows. Better support would require Tk modifications.
880
+ * demo/tree.tcl: Fixed for starting on secondary monitor under
881
+ windows.
882
+ * BWMan/BWidget.html: added documentation for BWidget::place.
883
+
884
+ 2002-01-22 Jeff Hobbs <jeffh@ActiveState.com>
885
+
886
+ **** BWidget 1.4.0 tagged ****
887
+
888
+ * widget.tcl: added Color as an optional type, with _test_color
889
+ test. [RFE #443124].
890
+
891
+ 2002-01-15 Jeff Hobbs <jeffh@ActiveState.com>
892
+
893
+ * BWman/ComboBox.html: removed reference to label options that
894
+ were removed when the LabelFrame was dropped. [Bug #477130]
895
+
896
+ * listbox.tcl: allowed drop handler to work in empty listbox.
897
+ [Bug #456883]
898
+
899
+ * mainframe.tcl: correct unprotected eval calls. [Patch #501210]
900
+ (chevreux)
901
+
902
+ 2001-12-28 Jeff Hobbs <jeffh@ActiveState.com>
903
+
904
+ * BWman/Dialog.html:
905
+ * dialog.tcl: Added '-transient' and '-place' flags.
906
+ [Patch #483838] (decoster)
907
+
908
+ * BWman/Tree.html:
909
+ * tree.tcl: Added a 'recursive' argument to 'Tree::opentree' and
910
+ 'Tree::closetree'. [Patch #483838] (decoster)
911
+
912
+ * BWman/ProgressBar.html:
913
+ * progressbar.tcl: Added new type 'nonincremental_infinite' and
914
+ modified movement of progressbar when in 'infinite' or
915
+ 'nonincremental_infinite' mode. The 'nonincremental_infinite' can
916
+ be used when a certain process monitored by a ProgressBar returns
917
+ a total count and not an increment count. [Patch #483838] (decoster)
918
+
919
+ * BWman/PanedWindow.html:
920
+ * panedw.tcl: Added '-weights' flag with possible value 'extra' or
921
+ 'available'. Since BWidget-1.3.1, the meaning of the '-weight'
922
+ flag for the 'PanedWindow::add' command was changed. This made it
923
+ difficult to create a layout where the panes occupy a certain
924
+ amount of the screen. When using the '-weights extra' flag when
925
+ creating a PanedWindow widget, the >=1.3.1 behavior is used: the
926
+ weights for the different panes are only used for extra space.
927
+ When using the '-weights available' flag, the weights for the
928
+ different panes are used to set the size of each panes relative to
929
+ the total available space. [Patch #483838] (decoster)
930
+
931
+ * BWman/ListBox.html:
932
+ * listbox.tcl: Added '-selectmode' flag and 2 possible
933
+ select-modes: single and multiple. [Patch #483838] (decoster)
934
+
935
+ * widget.tcl: Select element 4 (was 3) from the config-options to
936
+ get value from optiondb. [Patch #483838] (decoster)
937
+
938
+ * utils.tcl: added else case to place is called with location
939
+ different from 'at' and 'center' and without a parent.
940
+ [Patch #484123] (decoster)
941
+
942
+ * mainframe.tcl: added options -menubarfont, -menuentryfont and
943
+ -statusbarfont at creation time of the widget as well as
944
+ subsequent configures. [Patch #479935] (chevreux)
945
+
946
+ * listbox.tcl: added multipleinsert command to allow faster
947
+ inserts of multiple items. [Patch #458446] (chevreux)
948
+ * widget.tcl: added Widget::copyinit. [Patch #458446] (chevreux)
949
+
950
+ * BWman/NoteBook.html:
951
+ * notebook.tcl: added options for enhanced tab shape in notebooks.
952
+ [Patch #402466] (haneef)
953
+
954
+ * configure.in:
955
+ * pkgIndex.tcl:
956
+ * README.txt: bumped version to 1.4.0 (not released)
957
+
958
+ * mainframe.tcl (_create_menubar): start tagstate initially on.
959
+ [Patch #470273] (chevreux)
960
+ (_parse_accelerator): improve F* function key accelerator support.
961
+ [Patch #444172] (venski)
962
+
963
+ 2001-10-14 Jeff Hobbs <jeffh@ActiveState.com>
964
+
965
+ * pagesmgr.tcl: reverted fix of 2001-10-11 - it was bogus.
966
+
967
+ 2001-10-11 Jeff Hobbs <jeffh@ActiveState.com>
968
+
969
+ * pagesmgr.tcl: allowed the ability to specify page by name,
970
+ not just number.
971
+
972
+ 2001-09-11 Andreas Kupries <andreas_kupries@users.sourceforge.net>
973
+
974
+ * notebook.tcl: Removed 'Canvas' from the list of bindtags for the
975
+ internal canvas to prevent interference from application
976
+ specific bindings with our special widget. [459033].
977
+
978
+ 2001-09-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>
979
+
980
+ * passwddlg.tcl: Accepted change by Bastien Chevreux
981
+ <bach@users.sourceforge.net> adding a -logineditable option to
982
+ the password dialog. [436340].
983
+
984
+ 2001-09-05 Andreas Kupries <andreas_kupries@users.sourceforge.net>
985
+
986
+ * panedw.tcl: Added option -activator to allow user to choose sash
987
+ activator. Reduced minimum allowed sash width. [442474]. Request
988
+ made by Bastien Chevreux <bach@users.sourceforge.net>.
989
+
990
+ * label.tcl: Corrected typo in BWlabel::configure [454505], report
991
+ and fix by Bastien Chevreux <bach@users.sourceforge.net>.
992
+
993
+ * arrow.tcl: Changed containing frame to be more invisible
994
+ (borderwidth 0). Fixes [458301], by Georgios Petasis
995
+ <petasis@users.sourceforge.net>.
996
+
997
+ 2001-08-08 Andreas Kupries <andreas_kupries@users.sourceforge.net>
998
+
999
+ * tree.tcl (Tree::_keynav): Added code to call the open and close
1000
+ commands when the open-status of a node is toggled with the
1001
+ space bar. Bug [449284].
1002
+
1003
+ * color.tcl: Added the missing definition of the main
1004
+ 'SelectColor' procedure. This prevented users from creating
1005
+ these widgets in the documented way. Bug [449276].
1006
+
1007
+ 2001-06-21 eric melski <ericm@ajubasolutions.com>
1008
+
1009
+ * tree.tcl: Corrected keyboard navigation so that open/close
1010
+ commands are invoked when right/left arrows are used to open/close
1011
+ nodes, patch from [Bug #435097]. Also corrected keyboard
1012
+ navigation on right arrow press; previously only opened closed
1013
+ nodes that had children, but should always open nodes, regardless
1014
+ of whether it has children.
1015
+
1016
+ 2001-06-11 Jeff Hobbs <jeffh@ActiveState.com>
1017
+
1018
+ * pkgIndex.tcl: bumped version to 1.3.1 and added Tk 8.1.1 package
1019
+ require as Tcl 8.1.1 is needed in certain core areas for the new
1020
+ string methods.
1021
+
1022
+ * mainframe.tcl: corrected state interpretation. It doesn't do
1023
+ exact argument matching, but it is consistent with the rest of
1024
+ BWidget. [Bug #224476]
1025
+
1026
+ * demo/demo.tcl: fixed demo script to run when called from
1027
+ another directory
1028
+
1029
+ * messagedlg.tcl: corrected winfo exists call
1030
+
1031
+ * listbox.tcl: fixed string compare call
1032
+
1033
+ * combobox.tcl: added package require Tk 8.3.
1034
+
1035
+ * passwddlg.tcl:
1036
+ * xpm2image.tcl:
1037
+ * mainframe.tcl:
1038
+ * panedw.tcl:
1039
+ * utils.tcl:
1040
+ * entry.tcl:
1041
+ * dynhelp.tcl:
1042
+ * dragsite.tcl:
1043
+ * color.tcl: added braces to expr where appropriate
1044
+
1045
+ 2000-10-31 Dan Kuchler <kuchler@ajubasolutions.com>
1046
+
1047
+ * combobox.tcl: Added the '-exact' option to the 'lsearch'
1048
+ commands in the combobox code so that the correct index
1049
+ of items will be returned even when there are glob/regexp
1050
+ characters.
1051
+
1052
+ 2000-10-10 Dan Kuchler <kuchler@ajubasolutions.com>
1053
+
1054
+ * dynhelp.tcl: Added the '-screen' option to the toplevel that
1055
+ is created to display the help text to fix a bug reported by
1056
+ Tupone Alfredo.
1057
+
1058
+ 2000-10-01 Eric Melski <ericm@ajubasolutions.com>
1059
+
1060
+ * notebook.tcl: Fixed typo in _draw_page that incorrectly placed
1061
+ images on tabs.
1062
+
1063
+ 2000-09-17 Eric Melski <ericm@ajubasolutions.com>
1064
+
1065
+ * widget.tcl (_test_boolean): Altered to return strictly 0 or 1
1066
+ (for false and true, respectively), rather than allowing the
1067
+ string booleans (false, true, off, on, etc).
1068
+
1069
+ 2000-09-07 Sven Delmas <sven@scriptics.com>
1070
+
1071
+ * mainframe.tcl: Fixed the typo of Alt (Atl) as reported in bug #
1072
+ 6079.
1073
+
1074
+ 2000-09-05 Eric Melski <ericm@ajubasolutions.com>
1075
+
1076
+ * label.tcl: Corrected bindtags for BWidgets Label components:
1077
+ primary component widget now includes the megawidget pathname in
1078
+ its bindtags list, so that bindings on the megawidget pathname are
1079
+ applied properly.
1080
+
1081
+ 2000-08-10 Eric Melski <ericm@ajubasolutions.com>
1082
+
1083
+ * widget.tcl: Corrected a problem caused by the destruction of the
1084
+ special .#BWidget* widgets, which are used by BWidgets for some
1085
+ option value validations; formerly, if these were destroyed, it
1086
+ could confuse the BWidgets system's internal state, and creating
1087
+ BWidgets after destroying these helper widgets would throw an error.
1088
+
1089
+ 2000-06-14 Dan Kuchler <kuchler@scriptics.com>
1090
+
1091
+ * dialog.tcl
1092
+ * dropsite.tcl
1093
+ * dynhelp.tcl
1094
+ * scrollview.tcl: Replaced several catch {unset varname} calls with
1095
+ if {[info exists varname]} {unset varname}. This avoids using the
1096
+ catch, and also prevents the ::errorInfo corruption that was happening
1097
+ in BWidgets.
1098
+
1099
+ 2000-05-14 Dan Kuchler <kuchler@scriptics.com>
1100
+
1101
+ * tree.tcl: Fixed a typing error in the Tree::find procedure.
1102
+ The procedure wouldn't work because there was a 'llengh' where there
1103
+ should have been a 'llength'.
1104
+
1105
+ 2000-05-08 Dan Kuchler <kuchler@scriptics.com>
1106
+
1107
+ * titleframe.tcl: Added a '-state' flag that is associated to the
1108
+ state of the label. Now that labels can be disabled (in 8.3 and
1109
+ beyond) this allows for the titleframe to have a disabled appearence.
1110
+
1111
+ 2000-05-02 Eric Melski <ericm@scriptics.com>
1112
+
1113
+ * tree.tcl: Did some fancy focus footwork [Bug: 4491]. Now you
1114
+ can do this: "Tree .t ; bind .t <Button-1> foo", and it will do
1115
+ the right thing. This will enable the use of proper
1116
+ focus-on-mouse-click bindings for trees, which in turn will fix
1117
+ the focus problem described in 4491. In addition, I added a
1118
+ binding to the canvas widget in the tree that redirects focus when
1119
+ it leaves the canvas and goes to the frame, just in case.
1120
+
1121
+ * dialog.tcl: Added a -geometry option, to allow the specification
1122
+ of geometry for the dialog. No particular care is taken to
1123
+ validate the geometry string, so if it is bogus, you lose. [RFE:
1124
+ 5188].
1125
+
1126
+ 2000-04-27 Eric Melski <ericm@scriptics.com>
1127
+
1128
+ * entry.tcl: Added smarts to handle Copy for non-editable entries
1129
+ (it should be allowed, but was not previously) [Bug: 3755].
1130
+
1131
+ * notebook.tcl: Small tweaks for placement of images on tabs.
1132
+
1133
+ * combobox.tcl: Added code to ensure that non-editable (but
1134
+ enabled) comboboxes could still be tabbed in to.
1135
+
1136
+ 2000-04-26 Dan Kuchler <kuchler@scriptics.com>
1137
+
1138
+ * button.tcl: Fixed the bindings that get setup on buttons with
1139
+ an underline specified to be case insensitive (i.e if 'A' or 'a'
1140
+ was the underline character, Alt-A and Alt-a would both be bound
1141
+ to the button.
1142
+
1143
+ 2000-03-29 Sven Delmas <sven@scriptics.com>
1144
+
1145
+ * tree.tcl: Added protection for the left arrow key click in case
1146
+ we are already at the root node. This used to throw a Tcl error
1147
+ (fixes bug # 4619).
1148
+
1149
+ 2000-03-20 Eric Melski <ericm@scriptics.com>
1150
+
1151
+ * progressbar.tcl: (configure) Added test for change to -maximum
1152
+ value, so that bar is redrawn if maximum changes. [Bug: 4399].
1153
+
1154
+ * BWman/SpinBox.html: Removed references to -label* options.
1155
+
1156
+ * demo/select.tcl: Removed use of -label* options on ComboBox and
1157
+ SpinBox. [Bug: 4394].
1158
+
1159
+ 2000-03-14 Eric Melski <ericm@scriptics.com>
1160
+
1161
+ * button.tcl: (configure) replaced several hasChanged calls with
1162
+ one hasChangedX call.
1163
+
1164
+ * dynhelp.tcl: (sethelp) replaced several hasChanged calls with
1165
+ one hasChangedX call.
1166
+
1167
+ * entry.tcl: Replaced stack of hasChanged calls with one
1168
+ hasChangedX (in configure); replaced a couple cget's with
1169
+ getMegawidgetOption's.
1170
+
1171
+ * spinbox.tcl: Updated _test_options to use setMegawidgetOption,
1172
+ and to only do that if it has to, instead of always doing it.
1173
+
1174
+ * tree.tcl: Worked on itemcget; instead of upvar'ing the
1175
+ one-time-use variable, just refer to it directly.
1176
+
1177
+ * widget.tcl: One problem with [set
1178
+ ${class}::${path}:opt($option)] -- if path contains "foo(foo)",
1179
+ the command will choke. Removed that particular
1180
+ micro-optimization. Added setMegawidgetOption to compliment
1181
+ getMegawidgetOption; extended hasChangedX to accept multiple
1182
+ options to check. This allows us to compress stacks of hasChanged
1183
+ calls into a single call (so there's a single function call, and a
1184
+ single upvar...).
1185
+
1186
+ 2000-03-13 Eric Melski <ericm@scriptics.com>
1187
+
1188
+ * combobox.tcl: Tweaked bg/background options so that button
1189
+ didn't pick up entry background.
1190
+
1191
+ * widget.tcl: Removed dead code; micro-optimizations to initFromODB.
1192
+
1193
+ * tree.tcl: Added option for default -fill of tree nodes on windows.
1194
+
1195
+ * notebook.tcl: Removed commented code.
1196
+
1197
+ * button.tcl:
1198
+ * tree.tcl:
1199
+ * spinbox.tcl:
1200
+ * entry.tcl:
1201
+ * dropsite.tcl:
1202
+ * dragsite.tcl:
1203
+ * arrow.tcl: Replaced selected cget/getoption calls with
1204
+ getMegawidgetOption calls.
1205
+
1206
+ * combobox.tcl: Removed LabelFrame from ComboBox (30% faster).
1207
+
1208
+ * widget.tcl: Added getMegawidgetOption function, which allows
1209
+ direct access to megawidget-specific options (those that do not
1210
+ map to a component widget option). This is dangerous, because it
1211
+ bypasses some checks, and it will only work with options that are
1212
+ specific to the megawidget. However, it is much faster, and
1213
+ enables some functions (like visiblenodes) to be much faster.
1214
+
1215
+ * tree.tcl: Reworked visiblenodes function to do a tree walk to
1216
+ find visible nodes. This is faster and more correct than the
1217
+ previous implementation, which queried all the nodes in the tree
1218
+ for their open bit.
1219
+
1220
+
1221
+ 2000-03-10 Eric Melski <ericm@scriptics.com>
1222
+
1223
+ * widget.tcl: Replaced an upvar with a direct reference to the
1224
+ variable in initFromODB.
1225
+
1226
+ * dynhelp.tcl: Changed sethelp function to use new hasChangedX
1227
+ function instead of hasChanged, which avoids an unneeded upvar,
1228
+ for a little better speed.
1229
+
1230
+ * button.tcl: Changed to parseArgs/initFromODB format for a small
1231
+ (25%) speedup in creation time.
1232
+
1233
+ 2000-03-10 Sven Delmas <sven@scriptics.com>
1234
+
1235
+ * tree.tcl: Changed the allnodes procedure to visiblenodes, and
1236
+ also the mechanism of retrieving those nodes. This took care of
1237
+ the previously required update.
1238
+
1239
+ 2000-03-09 Eric Melski <ericm@scriptics.com>
1240
+
1241
+ * entry.tcl: Added code to re-sync the -text option with the
1242
+ contents of the entry widget before doing configuration; this
1243
+ fixes [Bug: 4304].
1244
+
1245
+ 2000-03-09 Sven Delmas <sven@scriptics.com>
1246
+
1247
+ * tree.tcl: Disabled the update before the find withtag in the
1248
+ allnodes procedure. The nodes are apparently created delayed, so
1249
+ before this procedure is called, the program has to do an
1250
+ update. I don't do this in the procedure anymore, because it
1251
+ caused multiple updates, making the app slower.
1252
+
1253
+ 2000-03-08 Sven Delmas <sven@scriptics.com>
1254
+
1255
+ * tree.tcl: The new allnodes procedure was not handling the
1256
+ "current" tag correctly. This is now stripped of.
1257
+
1258
+ 2000-03-07 Eric Melski <ericm@scriptics.com>
1259
+
1260
+ * button.tcl: Added check for -state flag, to initialize it properly.
1261
+
1262
+ * entry.tcl: Changed to parseArgs/initFromODB format; added check
1263
+ for -text flag to initialize it properly.
1264
+
1265
+ * labelentry.tcl: Changed to use parseArgs/initFromODB format.
1266
+
1267
+ 2000-03-03 Eric Melski <ericm@scriptics.com>
1268
+
1269
+ * spinbox.tcl: Added a call in setvalue to scan the current value into
1270
+ a float to trim out any 0 padding on the number (otherwise the zero's
1271
+ make it look like octal to tcl, which chokes on numbers > 8)
1272
+
1273
+ 2000-03-07 Sven Delmas <sven@scriptics.com>
1274
+
1275
+ * passwddlg.tcl: Reenabled the <Return> binding to activate the ok
1276
+ button.
1277
+
1278
+ * dragsite.tcl: I added an extra protection into the _begin_drag
1279
+ procedure to guard against a motion event that (sometimes) arrives
1280
+ before the press event. This fixes bug # 4324.
1281
+
1282
+ 2000-03-03 Eric Melski <ericm@scriptics.com>
1283
+
1284
+ * spinbox.tcl: Removed LabelFrame from SpinBox (BACKWARDS
1285
+ INCOMPATIBLE) to speed creation; updated configure proc to use
1286
+ hasChangedX instead of hasChanged, as it didn't really need the
1287
+ values of the options it was checking.
1288
+
1289
+ 2000-03-01 Eric Melski <ericm@scriptics.com>
1290
+
1291
+ * spinbox.tcl: Changed bindings to be on class SpinBox instead of
1292
+ BwSpinBox, and added class SpinBoxEntry to the bindtags of the
1293
+ SpinBox entry component.
1294
+
1295
+ * configure.in:
1296
+ * pkgIndex.tcl: Bumped version to 1.3.0.
1297
+
1298
+ * tree.tcl: Changed focus redirect to use {after idle} to avoid
1299
+ focus loops.
1300
+
1301
+ * label.tcl: Added -bd 0 -highlight... etc to wrapper frame; moved
1302
+ class bindings to the frame instead of the component label.
1303
+
1304
+ * utils.tcl: Added helper function BWidget::refocus, to handle
1305
+ focus redirection calls.
1306
+
1307
+ * spinbox.tcl: Changed focus redirect to use {after idle} to avoid
1308
+ focus loops.
1309
+
1310
+ * combobox.tcl: Changed init to parseArgs/initFromODB style;
1311
+ changed focus redirect to use {after idle} to avoid focus loops.
1312
+
1313
+ 2000-02-29 Eric Melski <ericm@scriptics.com>
1314
+
1315
+ * widget.tcl: Added bits to handle
1316
+ $path#subclass_that_inherits_from_other_bw_class megawidget names.
1317
+
1318
+ * passwddlg.tcl:
1319
+ * progressdlg.tcl:
1320
+ * progressbar.tcl: Changed init to parseArgs/initFromODB style.
1321
+
1322
+ * pkgIndex.tcl: Changed Label -> BWLabel
1323
+
1324
+ * messagedlg.tcl: Changed initialization to parseArgs/initFromODB
1325
+ style. Changed to use tk_messageBox on UNIX.
1326
+
1327
+ * labelframe.tcl: Updated to use BWLabel instead of Label.
1328
+
1329
+ * labelentry.tcl: Added -class LabelEntry to widget.
1330
+
1331
+ * label.tcl: Changed class name to BWLabel (to avoid option db
1332
+ clashes with tk labels), changed initialization to
1333
+ parseArgs/initFromODB style.
1334
+
1335
+ * init.tcl: dropped obsolete Tree option from init.
1336
+
1337
+ * dialog.tcl: changed initialization to parseArgs/initFromODB style.
1338
+
1339
+ * notebook.tcl: Added -bd 0 -highlightthickness 0 -relief flat to
1340
+ the notebook container frame so geometries are correct.
1341
+
1342
+ * entry.tcl: Fixed a conflict with configuring the Entry -text and
1343
+ textvariables.
1344
+
1345
+ * dialog.tcl: added a -class option to the dialog, to allow the
1346
+ class of the dialog to be set (this enables proper optiondb use
1347
+ for things like the PasswdDlg).
1348
+
1349
+ 2000-02-28 Eric Melski <ericm@scriptics.com>
1350
+
1351
+ * widget.tcl: Added Widget::varForOption function, which returns a
1352
+ variable name that can be used to trace changes to an option for a
1353
+ particular megawidget (such as the -values option of a combobox).
1354
+
1355
+ * entry.tcl: Made cget -text a little more efficient by
1356
+ shortcircuiting in that case.
1357
+
1358
+ * combobox.tcl: Fixed bug #4248 by making the listbox use a
1359
+ -listvariable instead of trying to micromanage the listbox contents.
1360
+
1361
+ * tests/entry.test: tests for the Entry widget.
1362
+
1363
+ * widget.tcl: minor code cleanup.
1364
+
1365
+ * tree.tcl: Was not getting proper default bg color on Windows,
1366
+ and keyboard navigation was goofy because of internal structure
1367
+ changes.
1368
+
1369
+ * entry.tcl: Fixed an issue with initial foreground color not
1370
+ being picked up correctly.
1371
+
1372
+ 2000-02-28 Sven Delmas <sven@scriptics.com>
1373
+
1374
+ * tree.tcl: Added a procedure called "allnodes" to retrieve the
1375
+ names of all currently defined treenodes. Apparently the internal
1376
+ widget structure of tree was changed recently. I adjusted the
1377
+ "allnodes" procedure to that.
1378
+
1379
+ 2000-02-25 Eric Melski <ericm@scriptics.com>
1380
+
1381
+ * combobox.tcl: Fixed a problem with non-editable comboboxes and
1382
+ selecting values.
1383
+
1384
+ * arrow.tcl:
1385
+ Fixed a problem with the invoke method (doing one too many winfo
1386
+ parents in some cases)
1387
+
1388
+ * button.tcl:
1389
+ * buttonbox.tcl:
1390
+ * combobox.tcl:
1391
+ * dialog.tcl:
1392
+ * dynhelp.tcl:
1393
+ * entry.tcl: (also fixed validation)
1394
+ * label.tcl:
1395
+ * labelframe.tcl:
1396
+ * listbox.tcl:
1397
+ * mainframe.tcl:
1398
+ * notebook.tcl:
1399
+ * pagesmgr.tcl:
1400
+ * panedw.tcl:
1401
+ * progressbar.tcl:
1402
+ * scrollview.tcl:
1403
+ * scrollw.tcl:
1404
+ * separator.tcl:
1405
+ * spinbox.tcl:
1406
+ * titleframe.tcl:
1407
+ * tree.tcl: Updated to new megawidget architecture.
1408
+
1409
+ * widget.tcl: Changed internal architecture. When possible,
1410
+ megawidget options are stored in component widgets instead of in
1411
+ an intermediary array. Also, made use of option database to make
1412
+ megawidget creation more efficient.
1413
+
1414
+ 2000-02-24 Eric Melski <ericm@scriptics.com>
1415
+
1416
+ * LICENSE.txt: Removed LGPL license; added Tcl-license terms.
1417
+
1418
+ 2000-02-23 Eric Melski <ericm@scriptics.com>
1419
+
1420
+ * widget.tcl: Replaced _test_boolean function with a more efficient
1421
+ implementation.
1422
+
1423
+ 2000-02-18 Eric Melski <ericm@scriptics.com>
1424
+
1425
+ * images/target.xbm: Placeholder for actual icon.
1426
+
1427
+ * color.tcl: Change env(BWIDGET_LIBRARY) to ::BWIDGET::LIBRARY;
1428
+ changed proc "dialogue" to "dialog"
1429
+
1430
+ * pkgIndex.tcl: Updated function spec for color.tcl.
1431
+
1432
+ * widget.tcl: Various minor speed tweaks; added a reverse mapping
1433
+ from component widget options -> mega-widget options so that
1434
+ subcget can be faster.
1435
+
1436
+ * entry.tcl:
1437
+ * dropsite.tcl:
1438
+ * dragsite.tcl:
1439
+ * arrow.tcl: Tcl list'd the specs for Widget::declare calls.
1440
+
1441
+ * combobox.tcl: Removed extraneous ListBox::use call.
1442
+
1443
+
1444
+ 2000-02-17 Eric Melski <ericm@scriptics.com>
1445
+
1446
+ * notebook.tcl: Added an extra check to move the leftmost tab a
1447
+ touch to the right when it is not selected (again, to make the
1448
+ tabs more Windows-like). Also replaced redundant [string equal]
1449
+ checks with a stored pre-check (ie, set foo [string equal ...]).
1450
+
1451
+ 2000-02-16 Eric Melski <ericm@scriptics.com>
1452
+
1453
+ * notebook.tcl: Changed appearance of tabs; leftmost tab is now
1454
+ flush with the left of the notebook, and the tabs look more
1455
+ Windows-like.
1456
+
1457
+ 2000-02-16 Sven Delmas <sven@scriptics.com>
1458
+
1459
+ * dialog.tcl: Added a new parameter to the draw procedure that
1460
+ allows me to pass in the desired geometry for the window. This was
1461
+ needed to support tracking of dialog window geometries.
1462
+
1463
+ * tree.tcl: Changed the <KeyPress-space> binding to use "+", so it
1464
+ will not overwrite existing bindings (if there are any). Also
1465
+ added some extra protection in the keynav procedure against the
1466
+ user typing <Left> on a root node (this used to cause a stack
1467
+ trace).
1468
+
1469
+ 2000-02-11 Eric Melski <ericm@scriptics.com>
1470
+
1471
+ * tree.tcl: Integrated changes from Eric Boudaillier:
1472
+ [itemconfigure -open ...]
1473
+ optimized to only call redraw_idle 3 if node has subnodes.
1474
+ _cross_event:
1475
+ itemconfigure -open called before -opencmd/closecmd; no more
1476
+ call to _redraw_idle (handled by other procedures)
1477
+ _over_cmd:
1478
+ allow position {root 0} when tree is empty
1479
+ new [find] command:
1480
+ [find @x,y ?confine?]
1481
+ if confine is "confine" returns the node at window
1482
+ coordinate x,y (x,y must be inside the bbox of the
1483
+ node) else returns the node found on the line (in
1484
+ pixel) pixel y
1485
+ [find line]
1486
+ returns the node on the line $line (in -deltay coords)
1487
+ new [line] command:
1488
+ [line node]
1489
+ returns the line where node is drawn
1490
+ -selectfill option added:
1491
+ if true, selection is draw on full width of tree (instead of
1492
+ just highlighting the bbox of the selected nodes)
1493
+
1494
+ * combobox.tcl: Integrated changes from Eric Boudaillier:
1495
+ internal widget restructuring.
1496
+
1497
+ * tree.tcl: Added "range" subcommand to selection. Given two
1498
+ nodes, node1 and node2, it will set the selection to the visible
1499
+ nodes between (and including) node1 and node2. If node1 or node2
1500
+ is not visible, it will find the first visible ancestor of the
1501
+ node and use that as the start/end point instead.
1502
+
1503
+ * listbox.tcl: Integrated changes from Eric Boudaillier:
1504
+ _over_cmd: allow position 0 when listbox is empty
1505
+ find command, similar to tree find command.
1506
+
1507
+ * spinbox.tcl: Integrated changes from Eric Boudaillier:
1508
+ cosmetic changes.
1509
+
1510
+ * color.tcl: Integrated changes from Eric Boudaillier:
1511
+ split widget into two commands: SelectColor::menu and
1512
+ SelectColor::dialog.
1513
+
1514
+ * progressbar.tcl: Integrated changes from Eric Boudaillier:
1515
+ added -idle option to prevent call to update in case where task is
1516
+ done in idle (ie, fileevents)
1517
+
1518
+ * scrollview.tcl: Integrated changes from Eric Boudaillier:
1519
+ bindings changed.
1520
+
1521
+ * scrollw.tcl: Integrated changes from Eric Boudaillier:
1522
+ -managed option: if true, scrollbar are managed during creation,
1523
+ so their size are included in the requested size of the
1524
+ ScrolledWindow. If false, they are not.
1525
+ -sides option: specifies the side of the scrollbar.
1526
+ -size option: specifies size of scrollbar.
1527
+ -ipad option: specifies pad between scrollbar and scrolled widget.
1528
+
1529
+ * mainframe.tcl: Integrated changes from Eric Boudaillier: support
1530
+ for function keys in accelerators, support for no modifier in
1531
+ accelerators.
1532
+
1533
+ * notebook.tcl: Integrated changes from Eric Boudaillier:
1534
+ -internalborderwidth (-ibd) option specifies pad around pages;
1535
+ -foreground, -background, -activeforeground, -activebackground,
1536
+ -disabledforeground options for each tab.
1537
+ Code cleanup.
1538
+
1539
+ 1999-12-23 Sven Delmas <sven@scriptics.com>
1540
+
1541
+ * scrollw.tcl: Added "update idletask" to scrollbar update to
1542
+ prevent loss of update events.
1543
+
1544
+ 1999-12-14 Sven Delmas <sven@scriptics.com>
1545
+
1546
+ * combobox.tcl: When the selected item is changed, the selection
1547
+ is now set to the entire string.
1548
+
1549
+ 1999-12-13 Eric Melski <ericm@scriptics.com>
1550
+
1551
+ * buttonbox.tcl: Added a getbuttonstate function, which retrieves
1552
+ the value of a tag used on a button in the buttonbox.
1553
+
1554
+ 1999-12-08 Eric Melski <ericm@scriptics.com>
1555
+
1556
+ * combobox.tcl: Removed code that cleared entry selection on focus out
1557
+ events, as this crippled exportselection.
1558
+
1559
+ 1999-10-29 Eric Melski <ericm@scriptics.com>
1560
+
1561
+ * buttonbox.tcl: Added a gettags function, which allows the user
1562
+ to query the tags that are used on buttons in the buttonbox.
1563
+
1564
+ 1999-10-29 Eric Melski <ericm@scriptics.com>
1565
+
1566
+ * font.tcl: Added one new flag: -querysystem. This lets the user
1567
+ control whether the font selector queries the system
1568
+ (via font families) for the list of fonts, or if it uses a preset
1569
+ list of fonts (which is much faster and less likely to crash some
1570
+ systems).
1571
+
1572
+ 1999-10-25 Eric Melski <ericm@scriptics.com>
1573
+
1574
+ * font.tcl: Added support for two new flags: -families and -styles;
1575
+ -families allows you to specify one of all, fixed, or variable, to
1576
+ limit the choice of fonts to those fonts; -styles allows you to
1577
+ specify a list of styles that can be set with the widget (ie,
1578
+ bold, italic, etc).
1579
+
1580
+ 1999-10-22 Eric Melski <ericm@scriptics.com>
1581
+
1582
+ * tree.tcl: Fixed some problems with keyboard traversal. Added
1583
+ support for left/right arrows a la MS Explorer.
1584
+ Added support for keyboard-based scrolling.
1585
+
1586
+ 1999-10-21 Sven Delmas <sven@scriptics.com>
1587
+
1588
+ * combobox.tcl: Added support for keyboard traversal. The widget
1589
+ will now tab in even when it is not editable. Also the entry
1590
+ widget content will be selected when the user tabs in. The key
1591
+ bindings now allow a traversal of the list (<Down> brings up the
1592
+ list). The arrow button no longer switches to an up button, but
1593
+ instead changes relief. The button is now more Windows NT like
1594
+ (for Windows NT). Changed keyboard bindings: down/up now
1595
+ display/hide the listbox; control-{up|down|prev|next} move through
1596
+ the options without displaying the listbox.
1597
+
1598
+ 1999-10-21 Eric Melski <ericm@scriptics.com>
1599
+
1600
+ * tree.tcl: Added a -selectable option to tree nodes, which
1601
+ controls whether or not a given node is selectable (duh). This
1602
+ works with the new -selectcommand option for the tree, and with
1603
+ keyboard traversal (also new). Now, whenever the tree gets a
1604
+ "selection set", it calls the given -selectcommand with the name
1605
+ of the tree and the list of selected nodes, which makes it easier
1606
+ to just drop in place and use.
1607
+
1608
+ 1999-10-15 Eric Melski <ericm@scriptics.com>
1609
+
1610
+ * panedw.tcl: Added a -class PanedWindow option to the main frame
1611
+ (the megawidget) of the paned window.
1612
+
1613
+ 1999-10-15 Eric Melski <ericm@scriptics.com>
1614
+
1615
+ * dialog.tcl: Added an overrideredirect option to Dialog::draw, which
1616
+ allows the user to control the overrideredirect state of the dialog.
1617
+
1618
+ 1999-09-19 Eric Melski <ericm@scriptics.com>
1619
+
1620
+ * mainframe.tcl: Fixed _destroy to unset ALL state variables, so that
1621
+ when a new MainFrame of the same name as an old one is created, it
1622
+ doesn't pick up residual state from the old one.
1623
+
1624
+ 1999-09-17 Eric Melski <ericm@scriptics.com
1625
+
1626
+ * mainframe.tcl: Modified menu creation/setmenustate functions to
1627
+ support a new model of menustate. Instead of enabling/disabling a
1628
+ menu item whenever any one of its tags changes state, now it only
1629
+ enables menu items if all of its tags are set. This makes it
1630
+ really easy to, say, only enable the "New Action" entry if both a
1631
+ project is open and an element is selected.
1632
+
1633
+ * buttonbox.tcl: Added tagging mechanism to buttonbox. When using
1634
+ $bbox add, the first parameter is a list of tags for the button. Then
1635
+ use $bbox setbuttonstate to change the state of a tag.
1636
+
1637
+ 1999-09-16 Eric Melski <ericm@scriptics.com>
1638
+
1639
+ * notebook.tcl: Added some (non-functional) code for doing
1640
+ tab-notebooks with the tabs on the bottom.
1641
+